Support for 1+1 protection path for a cloud leased-line (CLL) service.
[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..338c645 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": "eebfe6b4.36c4f8",\r
+    "type": "dgstart",\r
+    "name": "DGSTART",\r
+    "outputs": 1,\r
+    "x": 140,\r
+    "y": 119,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f39097a1.daa63"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f39097a1.daa63",\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": 424.2856903076172,\r
+    "y": 180.23810863494873,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "af444c12.6df4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "af444c12.6df4",\r
+    "type": "method",\r
+    "name": "method cll-vnf-topology-operation-cll-create-clean",\r
+    "xml": "<method rpc='cll-vnf-topology-operation-cll-create-clean' mode='sync'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 430.42860412597656,\r
+    "y": 265.0000305175781,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "cd7fb41b.b80af8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cd7fb41b.b80af8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 780,\r
+    "y": 324,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "1330d7b6.40f6",\r
+        "327e5a08.352bde",\r
+        "b36ceae.9917d98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1330d7b6.40f6",\r
+    "type": "returnSuccess",\r
+    "name": "return success",\r
+    "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
+    "comments": "",\r
+    "x": 1081.33349609375,\r
+    "y": 594.9302978515625,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "327e5a08.352bde",\r
+    "type": "save",\r
+    "name": "get service-instance from aai",\r
+    "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1102.761962890625,\r
+    "y": 297.33331298828125,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "393ddb72.9cdaac",\r
+        "27423ab.7bf7dc6",\r
+        "e70357b.8e78fa8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "393ddb72.9cdaac",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1327.761962890625,\r
+    "y": 155.33331298828125,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "db827fdb.ec8a7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "27423ab.7bf7dc6",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1323.2529296875,\r
+    "y": 224.9073486328125,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "2aba6522.745fa2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e70357b.8e78fa8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1311.761962890625,\r
+    "y": 271.33331298828125,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "85c2ab27.5d7c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d67dd652.2acc48",\r
+    "type": "comment",\r
+    "name": "new for TransportSlicing",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 1081.761962890625,\r
+    "y": 185.33331298828125,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b36ceae.9917d98",\r
+    "type": "execute",\r
+    "name": "execute properties",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1069.761962890625,\r
+    "y": 237.33331298828125,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "db827fdb.ec8a7",\r
+    "type": "switchNode",\r
+    "name": "switch allotted-resources_length != 0",\r
+    "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1568,\r
+    "y": 152,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "cb5b5e94.b15ef8",\r
+        "b997ad22.d70e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2aba6522.745fa2",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 1478.0623779296875,\r
+    "y": 227.85977172851562,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "85c2ab27.5d7c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 1482,\r
+    "y": 272,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cb5b5e94.b15ef8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1773,\r
+    "y": 189,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "3cb72715.02a808"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b997ad22.d70e8",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1783,\r
+    "y": 116,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "3cb72715.02a808",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1766,\r
+    "y": 264,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "ebf5f2d6.b4c7b8",\r
+        "490f1cae.a20b64",\r
+        "b4dd975f.8385a8",\r
+        "43a803a5.2842f4",\r
+        "651a17c0.63b678"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d707b8ba.d22b28",\r
+    "type": "save",\r
+    "name": "get allotted-resource from aai",\r
+    "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!--         AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2252,\r
+    "y": 315,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "3717142f.9eacbc",\r
+        "81f224b1.8ce278",\r
+        "360e18d9.8e8878"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3717142f.9eacbc",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2468,\r
+    "y": 382,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "90fe9f39.2d3b48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "81f224b1.8ce278",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2468.490966796875,\r
+    "y": 281.573974609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "fa7677d5.848dd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "360e18d9.8e8878",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2464,\r
+    "y": 331,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "72c2923b.56a34c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ebf5f2d6.b4c7b8",\r
+    "type": "for",\r
+    "name": "for each allotted-resource",\r
+    "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1969,\r
+    "y": 296,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "618e3f4f.a42bf",\r
+        "d707b8ba.d22b28",\r
+        "e8527008.db6228",\r
+        "a669b945.663408"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "618e3f4f.a42bf",\r
+    "type": "set",\r
+    "name": "set the current allotted-resource-id",\r
+    "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 2249,\r
+    "y": 234,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "43a803a5.2842f4",\r
+    "type": "set",\r
+    "name": "set tmp.arr",\r
+    "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
+    "comments": "",\r
+    "x": 1943,\r
+    "y": 246,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "490f1cae.a20b64",\r
+    "type": "get-resource",\r
+    "name": "get-resource pnfs-list",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1986,\r
+    "y": 105,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "b4dd975f.8385a8",\r
+    "type": "get-resource",\r
+    "name": "get-resource logical-links",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1998,\r
+    "y": 146,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d38afd8a.8bc96",\r
+    "type": "comment",\r
+    "name": "The following two nodes are for PCE",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 2023,\r
+    "y": 58,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8fedb211.a1c3d8",\r
+    "type": "set",\r
+    "name": "set tmp.arr",\r
+    "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",\r
+    "comments": "",\r
+    "x": 1943,\r
+    "y": 192,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fa7677d5.848dd",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 2647,\r
+    "y": 284,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "72c2923b.56a34c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 2646.9375,\r
+    "y": 333.1402587890625,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "90fe9f39.2d3b48",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 2648.9375,\r
+    "y": 384.1402587890625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "458d5965.a3abf"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "458d5965.a3abf",\r
+    "type": "save",\r
+    "name": "get allotted-resource relationship from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2941.9375,\r
+    "y": 331.1402587890625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9e8135ff.08a04",\r
+        "11480c56.53825c",\r
+        "c18b528b.950eb"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "11480c56.53825c",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3245.428436279297,\r
+    "y": 63.7142333984375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "fafa91c8.b89"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fafa91c8.b89",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3422.999969482422,\r
+    "y": 64,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c18b528b.950eb",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3240.937469482422,\r
+    "y": 113.1402587890625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "c9c4d95e.e78bc8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c9c4d95e.e78bc8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3422.937469482422,\r
+    "y": 113.1402587890625,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9e8135ff.08a04",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3244.937469482422,\r
+    "y": 164.1402587890625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "249c683e.fa6548"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "249c683e.fa6548",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3424.937469482422,\r
+    "y": 164.1402587890625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "8380148b.ccdda"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8380148b.ccdda",\r
+    "type": "switchNode",\r
+    "name": "switch allotted-resource.relationship-list not empty",\r
+    "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2961,\r
+    "y": 459,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f9f860ee.48ada",\r
+        "3ee71a32.7e39ae"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3ee71a32.7e39ae",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3300.999969482422,\r
+    "y": 306,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f9f860ee.48ada",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3299.999969482422,\r
+    "y": 360,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "88c3b86.63e2c48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b0fb22ca.f9ce1",\r
+    "type": "outcome",\r
+    "name": "network-policy",\r
+    "xml": "<outcome value='network-policy'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4044.999969482422,\r
+    "y": 314,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "5f3f920d.e5225c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5f3f920d.e5225c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4221.999847412109,\r
+    "y": 306.9998779296875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "8197a230.f5fc28",\r
+        "add943b3.661de"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "88c3b86.63e2c48",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3463.999969482422,\r
+    "y": 286,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b1327250.c3733",\r
+        "de9a0d51.d824a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b1327250.c3733",\r
+    "type": "for",\r
+    "name": "for each allotted-resource relationship",\r
+    "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3744.999969482422,\r
+    "y": 242,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "64d386dc.4f4038"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "64d386dc.4f4038",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4006.999969482422,\r
+    "y": 242,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b0fb22ca.f9ce1"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8197a230.f5fc28",\r
+    "type": "set",\r
+    "name": "set the 1st network-policy-id",\r
+    "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4464.999847412109,\r
+    "y": 263.9998779296875,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "add943b3.661de",\r
+    "type": "save",\r
+    "name": "get network-policy from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4453.999847412109,\r
+    "y": 318.9998779296875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "584012e4.8af54c",\r
+        "84e11e56.e2a698",\r
+        "b5114711.48fe28"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b5114711.48fe28",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4705.000213623047,\r
+    "y": 260,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "3ff18282.41fa7e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3ff18282.41fa7e",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4853.571746826172,\r
+    "y": 260.2857666015625,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "576f251.536f1dc",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 4852.509246826172,\r
+    "y": 304.426025390625,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "84e11e56.e2a698",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4693.509246826172,\r
+    "y": 304.426025390625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "576f251.536f1dc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "584012e4.8af54c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4700.509246826172,\r
+    "y": 383.426025390625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "84e0295.fec0058"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "84e0295.fec0058",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4839.509246826172,\r
+    "y": 383.426025390625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "40dc732c.a37574",\r
+        "72f9e36c.5c6004"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "40dc732c.a37574",\r
+    "type": "set",\r
+    "name": "set the max bandwidth",\r
+    "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
+    "comments": "",\r
+    "x": 5045.000213623047,\r
+    "y": 381,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "72f9e36c.5c6004",\r
+    "type": "set",\r
+    "name": "set the max bandwidth",\r
+    "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
+    "comments": "",\r
+    "x": 5044.000213623047,\r
+    "y": 427,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "de9a0d51.d824a",\r
+    "type": "for",\r
+    "name": "for each allotted-resource relationship",\r
+    "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3561.999969482422,\r
+    "y": 358,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "1f9cf648.b23842"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1f9cf648.b23842",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3841.999969482422,\r
+    "y": 358,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9a7f86a9.e4bc3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9a7f86a9.e4bc3",\r
+    "type": "outcome",\r
+    "name": "logical-link",\r
+    "xml": "<outcome value='logical-link'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2225.0001220703125,\r
+    "y": 771.0001220703125,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "a00c69ca.adce48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a00c69ca.adce48",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 2402,\r
+    "y": 764,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b1915aed.463e4",\r
+        "2d618162.692d86"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b1915aed.463e4",\r
+    "type": "set",\r
+    "name": "set the current logical-link-name",\r
+    "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 2645,\r
+    "y": 721,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2d618162.692d86",\r
+    "type": "save",\r
+    "name": "get logical-link from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2634,\r
+    "y": 776,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "e482931e.42ecd",\r
+        "ed5f6487.2f87b",\r
+        "f8d33751.7b5a4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e482931e.42ecd",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2925.490966796875,\r
+    "y": 754.573974609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "57635b4b.26640c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ed5f6487.2f87b",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2914,\r
+    "y": 799,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "a7b92e8f.8c52e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "57635b4b.26640c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3074.0625,\r
+    "y": 754.8597412109375,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a7b92e8f.8c52e8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3073,\r
+    "y": 799,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f8d33751.7b5a4",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2921,\r
+    "y": 878,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "98a40400.3efa78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "98a40400.3efa78",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3060,\r
+    "y": 878,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "71736994.8ef448",\r
+        "262a2cdd.1722ec",\r
+        "6dffa8a4.87ef28",\r
+        "19dc8ab.73ff975",\r
+        "442ee5c4.7ebc14",\r
+        "55e39af5.a2b61c",\r
+        "22efa8c9.c8576",\r
+        "d6e1611b.9ddcf",\r
+        "b18620c8.640928",\r
+        "11e0f934.faeab7",\r
+        "b71f57a7.e2a288",\r
+        "f7d11626.bd108",\r
+        "7d22810d.66642",\r
+        "5fc2699f.6720b8",\r
+        "d4db1de6.243c9",\r
+        "4c9f1a43.e137e4",\r
+        "f953800.9cf34",\r
+        "1931dff5.72d728",\r
+        "be1fed24.75522",\r
+        "3ab03c8.bdf8544",\r
+        "d566dc7.835f6a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8992052.d396a78",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for ethernet-service-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3409,\r
+    "y": 411.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "71736994.8ef448",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for otn-tunnel-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3389.9999389648438,\r
+    "y": 490.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5fc2699f.6720b8",\r
+    "type": "set",\r
+    "name": "set new ethernet-service-name",\r
+    "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3346.9999389648438,\r
+    "y": 535.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "262a2cdd.1722ec",\r
+    "type": "set",\r
+    "name": "set network-route-one",\r
+    "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3311.999969482422,\r
+    "y": 589.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6dffa8a4.87ef28",\r
+    "type": "set",\r
+    "name": "set network-route-two",\r
+    "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3312.999969482422,\r
+    "y": 644.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "19dc8ab.73ff975",\r
+    "type": "save",\r
+    "name": "get network-route-one from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-one'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-one\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3310.999969482422,\r
+    "y": 908.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "6a238476.e2fb94",\r
+        "535decdf.f72024",\r
+        "ae1cf5c7.80a6f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "442ee5c4.7ebc14",\r
+    "type": "save",\r
+    "name": "get network-route-two from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-two'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-two\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3305.999969482422,\r
+    "y": 969.9998474121094,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "3acf80af.f43f8",\r
+        "d256cf0d.9aea78",\r
+        "e101efde.aba"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6a238476.e2fb94",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3621.999969482422,\r
+    "y": 679.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "ab9f09fe.f29c98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "535decdf.f72024",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3617.509002685547,\r
+    "y": 729.4259948730469,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "e4e6f924.884bf"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ae1cf5c7.80a6f8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3621.509002685547,\r
+    "y": 782.4259948730469,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "ab5ff9c2.10c8a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ab9f09fe.f29c98",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3770.571502685547,\r
+    "y": 679.2857360839844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e4e6f924.884bf",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3760.509002685547,\r
+    "y": 729.4259948730469,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3acf80af.f43f8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3583.9999389648438,\r
+    "y": 869.9998168945312,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "87a2e14c.f364a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d256cf0d.9aea78",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3579.509002685547,\r
+    "y": 912.4258728027344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "98a18e9a.d4f5a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e101efde.aba",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3580.509002685547,\r
+    "y": 965.4258728027344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "4d45fe17.38da58"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "87a2e14c.f364a",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3732.5714721679688,\r
+    "y": 869.2855834960938,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "98a18e9a.d4f5a",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3722.509002685547,\r
+    "y": 912.4258728027344,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ab5ff9c2.10c8a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3782.999969482422,\r
+    "y": 781.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "84478c6a.6d587"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4d45fe17.38da58",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3733.999969482422,\r
+    "y": 964.9998474121094,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "2dfc998d.a2b3e6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "84478c6a.6d587",\r
+    "type": "switchNode",\r
+    "name": "switch nr type",\r
+    "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3957.999969482422,\r
+    "y": 755.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "be084505.b458",\r
+        "5b2d2057.dd8c4",\r
+        "83ce05e.7f315f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2dfc998d.a2b3e6",\r
+    "type": "switchNode",\r
+    "name": "switch nr type",\r
+    "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3917.999969482422,\r
+    "y": 872.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "27a94561.e70e32",\r
+        "e39a6c9c.1e6dd8",\r
+        "fe4b773c.0eae98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "be084505.b458",\r
+    "type": "outcome",\r
+    "name": "ROOT",\r
+    "xml": "<outcome value='ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4079.999969482422,\r
+    "y": 540.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "86b880d.ad45d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5b2d2057.dd8c4",\r
+    "type": "outcome",\r
+    "name": "LEAF",\r
+    "xml": "<outcome value='LEAF'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4081.999969482422,\r
+    "y": 594.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "10eaea8a.998afd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "27a94561.e70e32",\r
+    "type": "outcome",\r
+    "name": "ROOT",\r
+    "xml": "<outcome value='ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4099,\r
+    "y": 811,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "e84921e.f8ecce"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e39a6c9c.1e6dd8",\r
+    "type": "outcome",\r
+    "name": "LEAF",\r
+    "xml": "<outcome value='LEAF'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4101,\r
+    "y": 865,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b7ebf9b7.e2f348"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4ebe65d0.3ec92c",\r
+    "type": "set",\r
+    "name": "set network-route-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4389.999969482422,\r
+    "y": 492.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b5b3e89e.18b28",\r
+    "type": "set",\r
+    "name": "set network-route-LEAF",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4382.999969482422,\r
+    "y": 590.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "81270995.5d712",\r
+    "type": "set",\r
+    "name": "set network-route-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4401,\r
+    "y": 784,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7db54dd4.f36624",\r
+    "type": "set",\r
+    "name": "set network-route-LEAF",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4405,\r
+    "y": 877,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3464c217.ddf82e",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3548,\r
+    "y": 1549,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "5c2f3801.4eed3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e12bcc6e.caae8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3557.490966796875,\r
+    "y": 1591.5740356445312,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "fb3f4046.01bc4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a3a68564.d1334",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3546,\r
+    "y": 1638,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9f68f9be.d7aab8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8a9b7f74.e3a568",\r
+    "type": "comment",\r
+    "name": "Question?",\r
+    "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+    "comments": "",\r
+    "x": 3248,\r
+    "y": 1511,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "22efa8c9.c8576",\r
+    "type": "save",\r
+    "name": "get p-interface-src from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3291,\r
+    "y": 1576,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "3464c217.ddf82e",\r
+        "e12bcc6e.caae8",\r
+        "a3a68564.d1334"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "55e39af5.a2b61c",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3292,\r
+    "y": 1246,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "cbe70d53.b79168",\r
+        "9e0cb899.0e0f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9e0cb899.0e0f",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3512.999969482422,\r
+    "y": 1298.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "300fab87.54654c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cbe70d53.b79168",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3514.999969482422,\r
+    "y": 1331.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "ad0b83ff.4cb308"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5c2f3801.4eed3",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3720.66650390625,\r
+    "y": 1548,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "fe2c6692.47101",\r
+        "9af14a91.b12a68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fb3f4046.01bc4",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3711.0623779296875,\r
+    "y": 1594.8597717285156,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9f68f9be.d7aab8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3715,\r
+    "y": 1639,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fe2c6692.47101",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3985,\r
+    "y": 1532,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "37956c14.cf1964",\r
+        "7f26a273.a5f25c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f26a273.a5f25c",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4208,\r
+    "y": 1487,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d180abab.fe69a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "37956c14.cf1964",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4210,\r
+    "y": 1551,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "11875f6b.e538c1"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "11875f6b.e538c1",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+    "comments": "",\r
+    "x": 4372,\r
+    "y": 1547,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d180abab.fe69a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4373,\r
+    "y": 1484,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "c42ee54d.ec9ea",\r
+        "e2dee17e.90746"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ad0b83ff.4cb308",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+    "comments": "",\r
+    "x": 3657.999969482422,\r
+    "y": 1328.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "300fab87.54654c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3660.999969482422,\r
+    "y": 1291.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "844bb618.6c32e8",\r
+        "99a55ff.3057da"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "844bb618.6c32e8",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n",\r
+    "comments": "",\r
+    "x": 3834.999969482422,\r
+    "y": 1247.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9af14a91.b12a68",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3933.999969482422,\r
+    "y": 1641.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "1b19176e.822411"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1b19176e.822411",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4139.999969482422,\r
+    "y": 1641.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "c875ac48.6e9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c875ac48.6e9",\r
+    "type": "outcome",\r
+    "name": "tunnel-termination-point",\r
+    "xml": "<outcome value='tunnel-termination-point'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4355.285614013672,\r
+    "y": 1641.8217468261719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "6e0bf03.4de201"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "99a55ff.3057da",\r
+    "type": "get-resource",\r
+    "name": "get-resource src pnf",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3849.999969482422,\r
+    "y": 1358.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "26c5a31d.0e26c4",\r
+        "1dba38b8.e09647",\r
+        "703777cb.7523f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "26c5a31d.0e26c4",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4045.5000915527344,\r
+    "y": 1310.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "3f157e84.d62172"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1dba38b8.e09647",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4037.5000915527344,\r
+    "y": 1365.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "7126adde.e76d1c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "703777cb.7523f",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4042.5000915527344,\r
+    "y": 1422.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f85ce86b.434b48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f85ce86b.434b48",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4194.500091552734,\r
+    "y": 1423.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7126adde.e76d1c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4205.500091552734,\r
+    "y": 1368.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3f157e84.d62172",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4189.882415771484,\r
+    "y": 1308.6556396484375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "61a6617b.c1f918"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "61a6617b.c1f918",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4373.999969482422,\r
+    "y": 1322.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "c94ffafa.dcbd38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e2dee17e.90746",\r
+    "type": "set",\r
+    "name": "set ltpId",\r
+    "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
+    "comments": "",\r
+    "x": 4543,\r
+    "y": 1442,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c42ee54d.ec9ea",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
+    "comments": "",\r
+    "x": 4544,\r
+    "y": 1550,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a1e5e819.9ba388",\r
+    "type": "comment",\r
+    "name": "TODO: FIXME",\r
+    "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+    "comments": "",\r
+    "x": 4545,\r
+    "y": 1499,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6e0bf03.4de201",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4562.117156982422,\r
+    "y": 1642.3403015136719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "663b6226.995afc",\r
+        "dd7e9ff0.ed3a48",\r
+        "21e8d5ce.795f42"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "663b6226.995afc",\r
+    "type": "set",\r
+    "name": "set source ttp-id",\r
+    "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 4777.117156982422,\r
+    "y": 1604.3403015136719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "dd7e9ff0.ed3a48",\r
+    "type": "get-resource",\r
+    "name": "get-resource src TTP",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4774.117156982422,\r
+    "y": 1643.3403015136719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "49a01492.84fe34"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "21e8d5ce.795f42",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 4729.617156982422,\r
+    "y": 1685.3403015136719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "49a01492.84fe34",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4954.617156982422,\r
+    "y": 1642.3403015136719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "292cacf5.882694"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ccfcf164.268f1",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4774,\r
+    "y": 1260,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "c88ef5fa.00d8b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c88ef5fa.00d8b",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4951,\r
+    "y": 1252,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "889b0a64.f04af",\r
+        "b7b819bd.9ab3a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c94ffafa.dcbd38",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4568.999969482422,\r
+    "y": 1322.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "ccfcf164.268f1",\r
+        "109fb904.331fef"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "109fb904.331fef",\r
+    "type": "outcome",\r
+    "name": "network-resource",\r
+    "xml": "<outcome value='network-resource'>",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4777,\r
+    "y": 1334,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "c72b69fd.2d015"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c72b69fd.2d015",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4954,\r
+    "y": 1326,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "7fcaaf72.ffd618"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "292cacf5.882694",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5112.617156982422,\r
+    "y": 1642.3403015136719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "63e30873.d5c4b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "63e30873.d5c4b8",\r
+    "type": "set",\r
+    "name": "set source tunnel tp ip",\r
+    "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
+    "comments": "",\r
+    "x": 5319.617156982422,\r
+    "y": 1642.3403015136719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b7b819bd.9ab3a",\r
+    "type": "execute",\r
+    "name": "get esr-thirdparty-sdnc",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5159,\r
+    "y": 1259,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b062763c.d2a4c",\r
+        "54b52301.01aeac",\r
+        "c657b443.273d9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "889b0a64.f04af",\r
+    "type": "set",\r
+    "name": "set esr-thirdparty-sdnc domainA id",\r
+    "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5189,\r
+    "y": 1207,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b062763c.d2a4c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5369,\r
+    "y": 1250,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "be5642b7.4ae158"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "54b52301.01aeac",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5361,\r
+    "y": 1305,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "4c818fe4.79442"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c657b443.273d9",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5366,\r
+    "y": 1362,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "efb52045.6ba93"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "efb52045.6ba93",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5518,\r
+    "y": 1363,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4c818fe4.79442",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5529,\r
+    "y": 1308,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "be5642b7.4ae158",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5513.38232421875,\r
+    "y": 1247.6556701660156,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "6763b660.709548"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7fcaaf72.ffd618",\r
+    "type": "set",\r
+    "name": "set domainA ethernet layer network-id",\r
+    "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5189,\r
+    "y": 1450,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6763b660.709548",\r
+    "type": "set",\r
+    "name": "set controller domainA data",\r
+    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+    "comments": "",\r
+    "x": 5728,\r
+    "y": 1244,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1bc82fcd.e38b3",\r
+    "type": "set",\r
+    "name": "set network-route-B",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4377.999969482422,\r
+    "y": 528.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1ea9819.2a7577e",\r
+    "type": "set",\r
+    "name": "set network-route-A",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4368.999969482422,\r
+    "y": 626.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "86b880d.ad45d",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4202.999969482422,\r
+    "y": 534.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "4ebe65d0.3ec92c",\r
+        "1bc82fcd.e38b3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "10eaea8a.998afd",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4208.999969482422,\r
+    "y": 598.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b5b3e89e.18b28",\r
+        "1ea9819.2a7577e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e84921e.f8ecce",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4227,\r
+    "y": 811,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "81270995.5d712",\r
+        "aacd9933.603dc8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b7ebf9b7.e2f348",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4230,\r
+    "y": 864,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "7db54dd4.f36624",\r
+        "bffe7efa.872038"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "aacd9933.603dc8",\r
+    "type": "set",\r
+    "name": "set network-route-B",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4387,\r
+    "y": 824,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "bffe7efa.872038",\r
+    "type": "set",\r
+    "name": "set network-route-A",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4390,\r
+    "y": 915,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "786dd6d1.bb9f",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3681.999969482422,\r
+    "y": 2041.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "ced1d6e7.1761a",\r
+        "debfaec3.11449"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4b469f00.bbd698",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3509.333465576172,\r
+    "y": 2042.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "786dd6d1.bb9f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "abe29976.f7b82",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3518.824432373047,\r
+    "y": 2085.574005126953,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "fd5b7bb5.9eb778"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "df5e24e1.4bbfc8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3507.333465576172,\r
+    "y": 2131.999969482422,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "8efc96df.7aca9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fd5b7bb5.9eb778",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3672.3958435058594,\r
+    "y": 2088.8597412109375,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8efc96df.7aca9",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3676.333465576172,\r
+    "y": 2132.999969482422,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ced1d6e7.1761a",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3968.333465576172,\r
+    "y": 2046.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "8ff8205e.94493",\r
+        "d23599ca.696b88"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d23599ca.696b88",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4191.333465576172,\r
+    "y": 2001.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9c58fe22.c1b4f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8ff8205e.94493",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4193.333465576172,\r
+    "y": 2065.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f9f53a1b.e6879"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f9f53a1b.e6879",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+    "comments": "",\r
+    "x": 4352.333465576172,\r
+    "y": 2084.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9c58fe22.c1b4f8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4356.333465576172,\r
+    "y": 1998.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "a3891ddf.35707",\r
+        "dedb2135.03f5b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b18620c8.640928",\r
+    "type": "save",\r
+    "name": "get p-interface-dst from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3281.333465576172,\r
+    "y": 2077.999969482422,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "4b469f00.bbd698",\r
+        "abe29976.f7b82",\r
+        "df5e24e1.4bbfc8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2363f2d1.c22566",\r
+    "type": "comment",\r
+    "name": "Question?",\r
+    "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+    "comments": "",\r
+    "x": 3242.333465576172,\r
+    "y": 2021.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d6e1611b.9ddcf",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3301.333465576172,\r
+    "y": 1817.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "cf2f2f41.e3b378",\r
+        "39e668ff.f44578"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "39e668ff.f44578",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3524.333465576172,\r
+    "y": 1803.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "a19c910d.573ee"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cf2f2f41.e3b378",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3526.333465576172,\r
+    "y": 1836.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "13f310d4.058aff"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "13f310d4.058aff",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+    "comments": "",\r
+    "x": 3669.333465576172,\r
+    "y": 1833.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a19c910d.573ee",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3672.333465576172,\r
+    "y": 1796.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f7d74c47.1bc978",\r
+        "f5bac544.61fa48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f7d74c47.1bc978",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n",\r
+    "comments": "",\r
+    "x": 3866.333465576172,\r
+    "y": 1800.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "debfaec3.11449",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3919.3334350585938,\r
+    "y": 2168.9999389648438,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9615e6c.711fd18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9615e6c.711fd18",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4125.333435058594,\r
+    "y": 2168.9999389648438,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "cbe4341f.004078"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cbe4341f.004078",\r
+    "type": "outcome",\r
+    "name": "tunnel-termination-point",\r
+    "xml": "<outcome value='tunnel-termination-point'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4342.619079589844,\r
+    "y": 2167.8217163085938,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "c7f950c4.309208"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f5bac544.61fa48",\r
+    "type": "get-resource",\r
+    "name": "get-resource src pnf",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3888.333465576172,\r
+    "y": 1868.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "2c3b0cc0.e9a8bc",\r
+        "964d0d68.ea7238",\r
+        "c9fecb15.92dc4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2c3b0cc0.e9a8bc",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4083.8335876464844,\r
+    "y": 1820.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d8e08a6a.bad6c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "964d0d68.ea7238",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4075.8335876464844,\r
+    "y": 1875.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "30330606.c5c78a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c9fecb15.92dc4",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4080.8335876464844,\r
+    "y": 1932.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "7d5217b1.764cf"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7d5217b1.764cf",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4232.833587646484,\r
+    "y": 1933.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "30330606.c5c78a",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4243.833587646484,\r
+    "y": 1878.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d8e08a6a.bad6c",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4228.215911865234,\r
+    "y": 1817.65576171875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "57c065bf.a4bd5c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a3891ddf.35707",\r
+    "type": "set",\r
+    "name": "set ltpId",\r
+    "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
+    "comments": "",\r
+    "x": 4526.333465576172,\r
+    "y": 1959.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "dedb2135.03f5b8",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
+    "comments": "",\r
+    "x": 4527.333465576172,\r
+    "y": 2064.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cd4b037.d584a",\r
+    "type": "comment",\r
+    "name": "TODO: FIXME",\r
+    "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+    "comments": "",\r
+    "x": 4522.333465576172,\r
+    "y": 2013.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c7f950c4.309208",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4549.450622558594,\r
+    "y": 2157.3403930664062,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "dd90bf13.7024b8",\r
+        "71302a26.8b2194",\r
+        "1d143619.b4c942"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "dd90bf13.7024b8",\r
+    "type": "set",\r
+    "name": "set destination ttp-id",\r
+    "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 4764.450622558594,\r
+    "y": 2119.3403930664062,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "71302a26.8b2194",\r
+    "type": "get-resource",\r
+    "name": "get-resource src TTP",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4761.450622558594,\r
+    "y": 2158.3403930664062,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d8986410.1ab67"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1d143619.b4c942",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 4716.950622558594,\r
+    "y": 2200.3403930664062,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d8986410.1ab67",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4941.950622558594,\r
+    "y": 2157.3403930664062,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "ce977a1e.eca43"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ce977a1e.eca43",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5099.950622558594,\r
+    "y": 2157.3403930664062,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "fad51809.c9b758"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fad51809.c9b758",\r
+    "type": "set",\r
+    "name": "set destination tunnel tp ip",\r
+    "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
+    "comments": "",\r
+    "x": 5306.950622558594,\r
+    "y": 2157.3403930664062,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3e817052.af0e48",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4810.333465576172,\r
+    "y": 1836.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "41d964fa.bed18c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "41d964fa.bed18c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4987.333465576172,\r
+    "y": 1828.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "286abe4.161a1c2",\r
+        "51859ea0.e5a788"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "57c065bf.a4bd5c",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4412.333465576172,\r
+    "y": 1832.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "89b46226.1281f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "89b46226.1281f",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4607.333465576172,\r
+    "y": 1832.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "3e817052.af0e48",\r
+        "56bdf4f5.249c24"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "51859ea0.e5a788",\r
+    "type": "execute",\r
+    "name": "get esr-thirdparty-sdnc",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5195.333465576172,\r
+    "y": 1835.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d1ce3d2f.531928",\r
+        "ba2a8dba.a8d52",\r
+        "4ba192d1.030d84"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f8a3b14d.675a5",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4989.333465576172,\r
+    "y": 1901.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "25c16268.66f006"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "56bdf4f5.249c24",\r
+    "type": "outcome",\r
+    "name": "network-resource",\r
+    "xml": "<outcome value='network-resource'>",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4812.333465576172,\r
+    "y": 1909.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f8a3b14d.675a5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "286abe4.161a1c2",\r
+    "type": "set",\r
+    "name": "set esr-thirdparty-sdnc domainB id",\r
+    "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5225.333465576172,\r
+    "y": 1783.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "25c16268.66f006",\r
+    "type": "set",\r
+    "name": "set domainB ethernet layer network-id",\r
+    "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5224.333465576172,\r
+    "y": 2025.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d1ce3d2f.531928",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5405.333465576172,\r
+    "y": 1826.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9d788655.20f98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ba2a8dba.a8d52",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5397.333465576172,\r
+    "y": 1881.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "96363bdc.091"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4ba192d1.030d84",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5402.333465576172,\r
+    "y": 1938.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "6a0588e1.3fd2b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6a0588e1.3fd2b8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5554.333465576172,\r
+    "y": 1939.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "96363bdc.091",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5565.333465576172,\r
+    "y": 1884.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9d788655.20f98",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5549.715789794922,\r
+    "y": 1823.65576171875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f42174ac.a42b5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f42174ac.a42b5",\r
+    "type": "set",\r
+    "name": "set controller domainB data",\r
+    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+    "comments": "",\r
+    "x": 5764.333465576172,\r
+    "y": 1820.0000915527344,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "11e0f934.faeab7",\r
+    "type": "set",\r
+    "name": "set LEAF stuff",\r
+    "xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop + '-' + $tmp.aai.network-route-A.logical-interface-id`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",\r
+    "comments": "",\r
+    "x": 3248.999969482422,\r
+    "y": 1638.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "87d62238.4ede38",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4544.999969482422,\r
+    "y": 612.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "da6b2335.2cb2",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4555,\r
+    "y": 809,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b71f57a7.e2a288",\r
+    "type": "set",\r
+    "name": "set ROOT stuff",\r
+    "xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop + '-' + $tmp.aai.network-route-B.logical-interface-id`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",\r
+    "comments": "",\r
+    "x": 3251.9999389648438,\r
+    "y": 2146.9999389648438,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f7d11626.bd108",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3389,\r
+    "y": 2803,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7d22810d.66642",\r
+    "type": "switchNode",\r
+    "name": "switch found-middle-man?",\r
+    "xml": "<switch test='`$found-middle-man`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3266,\r
+    "y": 2913,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "74458dfb.e82acc",\r
+        "6d43d493.c2ab14"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "74458dfb.e82acc",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3450,\r
+    "y": 2892,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "bd8c7362.5e86a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6d43d493.c2ab14",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3342,\r
+    "y": 5070,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f235a0e0.02a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f235a0e0.02a8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3497,\r
+    "y": 5063,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "69d3ed18.577c3c",\r
+        "f2a7dc4a.68ede",\r
+        "a789852e.51cd48",\r
+        "434bd8c2.bae4f8",\r
+        "cd1fc06c.124968",\r
+        "c32fbe2a.4ce3f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bd8c7362.5e86a8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3593,\r
+    "y": 2892,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "edf6563f.502118",\r
+        "59e68189.ade8e8",\r
+        "39d89d00.a48b3c",\r
+        "f51c657e.c3fcc8",\r
+        "3b5e2d55.c49c42",\r
+        "c40c923d.ffb318",\r
+        "3d1335ab.d13122",\r
+        "441ba30c.ae2a1c",\r
+        "5bfaebb4.b0d114",\r
+        "32f3c697.c51f22",\r
+        "f60b0d1b.343218",\r
+        "51fbee04.79f4f",\r
+        "a2a5771a.032e88",\r
+        "a39c337f.4b8598",\r
+        "f9369eb9.dd61b",\r
+        "dad20130.739d78",\r
+        "124ab46d.2d752c",\r
+        "fdfcc8c4.b3e8a8",\r
+        "8b9dcfa3.01c508",\r
+        "87dcb71b.a618f",\r
+        "286f0ec8.852352",\r
+        "2bbca6cc.0ec622"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5bfaebb4.b0d114",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity domainB",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3903,\r
+    "y": 3207,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "edf6563f.502118",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3851,\r
+    "y": 3249,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "59e68189.ade8e8",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3980,\r
+    "y": 3291,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c425c4b.b5f8838",\r
+    "type": "comment",\r
+    "name": "Create ROOT connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3826,\r
+    "y": 3166,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "78e08e98.7c634",\r
+    "type": "comment",\r
+    "name": "create middle man connectivity and ...",\r
+    "info": "1- create middle man connectivity\n2- create relation with all connectivities\n   in the path\n3- put srcTtp (+dstTtp) somewhere in the\n   vpn-binding -> this is for later on to find\n   which OTN tunnel's bandwidth has to be increased.\n5- create UNIs\n4- create relationship to UNIs",\r
+    "comments": "",\r
+    "x": 4351,\r
+    "y": 3687,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "39d89d00.a48b3c",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity middle-man",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-middle-man-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3915,\r
+    "y": 3726,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f51c657e.c3fcc8",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-middle-man-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-middle-man-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<!--The followings are not needed for the middle-man-connectivity-->\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='mdsc' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3863,\r
+    "y": 3777,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "3b5e2d55.c49c42",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-middle-man-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-middle-man-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3999,\r
+    "y": 3824,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "62d7e2a.9cbc61c",\r
+    "type": "comment",\r
+    "name": "Create MIDDLE-MAN connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3856,\r
+    "y": 3686,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1f0597e7.f750d8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4286,\r
+    "y": 3883,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c40c923d.ffb318",\r
+    "type": "save",\r
+    "name": "get middle-man connectivity from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $prop.connectivity-middle-man-uuid\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"middle-man-conn\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3877,\r
+    "y": 3930,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b2dc6149.43ec28",\r
+        "f8c162ee.8e2a8",\r
+        "a8c36503.377908"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b2dc6149.43ec28",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4124,\r
+    "y": 3884,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "1f0597e7.f750d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f8c162ee.8e2a8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4124.490966796875,\r
+    "y": 3929.5740356445312,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "244505cb.7c97da"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a8c36503.377908",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4122,\r
+    "y": 3973,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "fac0a6c3.57a578"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "244505cb.7c97da",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4287.0623779296875,\r
+    "y": 3929.8597717285156,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fac0a6c3.57a578",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 4291,\r
+    "y": 3974,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f9369eb9.dd61b",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3931,\r
+    "y": 4272,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "dad20130.739d78",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to connectivity-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3934,\r
+    "y": 4317,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "fdfcc8c4.b3e8a8",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3926,\r
+    "y": 4045,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8b9dcfa3.01c508",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3928,\r
+    "y": 4092,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ed841a30.7664d",\r
+    "type": "comment",\r
+    "name": "The following two will be done in F1",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3847,\r
+    "y": 4225,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7144ff5f.c519e8",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4457,\r
+    "y": 4891,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "69d3ed18.577c3c",\r
+    "type": "switchNode",\r
+    "name": "switch no-pce-call",\r
+    "xml": "<switch test='`$no-pce-call`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3712,\r
+    "y": 5044,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "ae7574f4.3ebe3",\r
+        "8bd2d4fd.8c4f1"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8bd2d4fd.8c4f1",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3884,\r
+    "y": 5041,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "439959aa.a8d0e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ae7574f4.3ebe3",\r
+    "type": "outcomeFalse",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3836,\r
+    "y": 5888,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b05d129.ef1b1f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bbd89123.3c84c8",\r
+    "type": "comment",\r
+    "name": "1 --> PCE is needed",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3897,\r
+    "y": 5011,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "88e636e4.0ad278",\r
+    "type": "comment",\r
+    "name": "2 --> no need to call PCE",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3907,\r
+    "y": 5846,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3d1335ab.d13122",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3930,\r
+    "y": 4420,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "439959aa.a8d0e",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4060,\r
+    "y": 5043,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "398ca5b9.10ae92",\r
+        "26315d76.5ba5da",\r
+        "70413194.4e4218",\r
+        "36f7b692.fe5f9a",\r
+        "23762b83.94d65c",\r
+        "1981b041.f96778",\r
+        "7144ff5f.c519e8",\r
+        "d1a4e2c9.15ac9",\r
+        "24040f90.d6a4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9b6d23e8.2f4c1",\r
+    "type": "comment",\r
+    "name": "Use the middle-man-conn.eth-srv-name for the LEAF connectivity's eth srv name",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5505,\r
+    "y": 4516,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "398ca5b9.10ae92",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4438,\r
+    "y": 5546,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "441ba30c.ae2a1c",\r
+    "type": "save",\r
+    "name": "save connectivityB relationship to UNI-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3909,\r
+    "y": 3420,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "32f3c697.c51f22",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity domainA",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3907,\r
+    "y": 2877,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f60b0d1b.343218",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3855,\r
+    "y": 2925,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "51fbee04.79f4f",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3983,\r
+    "y": 2972,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f3326814.1ece9",\r
+    "type": "comment",\r
+    "name": "Create LEAF connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3820,\r
+    "y": 2835,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a2a5771a.032e88",\r
+    "type": "save",\r
+    "name": "save LEAF UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3817,\r
+    "y": 3063,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a39c337f.4b8598",\r
+    "type": "save",\r
+    "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3910,\r
+    "y": 3116,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "71641615.6f44c8",\r
+    "type": "comment",\r
+    "name": "Create LEAF UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3801,\r
+    "y": 3019,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "11067d29.f83e4b",\r
+    "type": "comment",\r
+    "name": "Create ROOT UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3805,\r
+    "y": 3335,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "36f7b692.fe5f9a",\r
+    "type": "save",\r
+    "name": "save LEAF UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4374,\r
+    "y": 4524,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "fa6ec7f0.b5b858",\r
+    "type": "comment",\r
+    "name": "Create LEAF UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4358,\r
+    "y": 4480,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "87e40dc2.3dae2",\r
+    "type": "comment",\r
+    "name": "Create LEAF connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5105,\r
+    "y": 4511,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a4406b4c.17bbc",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity domainA",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5192,\r
+    "y": 4553,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "18ca4a3.634f536",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$middle-man-conn.etht-svc-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5140,\r
+    "y": 4601,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "b4f57662.21d798",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5268,\r
+    "y": 4648,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1981b041.f96778",\r
+    "type": "save",\r
+    "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4445,\r
+    "y": 4933,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1ff0ab3b.554fd5",\r
+    "type": "comment",\r
+    "name": "populate connectivity-B variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4428,\r
+    "y": 4995,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "26315d76.5ba5da",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4539,\r
+    "y": 5037,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "99476299.d65948",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainB-uuid",\r
+    "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4987,\r
+    "y": 5090,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7e1b41de.44cf5",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4297,\r
+    "y": 5788,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "99207b39.65e8d8",\r
+    "type": "save",\r
+    "name": "save LEAF UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4195,\r
+    "y": 5737,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "fc9d3b48.0b961",\r
+    "type": "comment",\r
+    "name": "Create LEAF UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4179,\r
+    "y": 5693,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cdbca407.a3714",\r
+    "type": "save",\r
+    "name": "save the-connectivity relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4965,\r
+    "y": 5950,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "70413194.4e4218",\r
+    "type": "switchNode",\r
+    "name": "switch found-root-connectivity",\r
+    "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4366,\r
+    "y": 5094,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9e68e3f9.d79778",\r
+        "3f3ed24c.0decee"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9e68e3f9.d79778",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4577,\r
+    "y": 5094,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "e924e4da.1f13b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e924e4da.1f13b",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4733,\r
+    "y": 5090,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "99476299.d65948",\r
+        "259aff1b.d97a1",\r
+        "b61f1c95.4694d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3f3ed24c.0decee",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4573,\r
+    "y": 5142,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "6bc2c49e.5247fc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6bc2c49e.5247fc",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
+    "comments": "",\r
+    "x": 4721,\r
+    "y": 5137,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "540d81b.ac8608",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5229,\r
+    "y": 4719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e8527008.db6228",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for ethernet-service-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2395,\r
+    "y": 130,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a669b945.663408",\r
+    "type": "set",\r
+    "name": "set new ethernet-service-name",\r
+    "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 2329,\r
+    "y": 166,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ba20200a.599368",\r
+    "type": "comment",\r
+    "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 2514,\r
+    "y": 93,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f5cafc97.3be338",\r
+    "type": "set",\r
+    "name": "set current-provider-id and current-cvlan-id",\r
+    "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
+    "comments": "",\r
+    "x": 4264,\r
+    "y": 5854,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "433677c1.52ee48",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4397,\r
+    "y": 5902,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "fabf4cab.b217e",\r
+    "type": "switchNode",\r
+    "name": "switch found-connectivity?",\r
+    "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4216,\r
+    "y": 5960,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d58843e6.45b67",\r
+        "5480ce12.618198"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d58843e6.45b67",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4409,\r
+    "y": 5961,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "3584d606.ea3b92"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3584d606.ea3b92",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Connectivity should have been created' />\n",\r
+    "comments": "",\r
+    "x": 4565,\r
+    "y": 5958,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5480ce12.618198",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4413,\r
+    "y": 6005,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "2c5800b.fe6138"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2c5800b.fe6138",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4552,\r
+    "y": 6000,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "cdbca407.a3714",\r
+        "908326bd.db0de8",\r
+        "252b791f.9db75e",\r
+        "275b22ee.4a806e",\r
+        "331c47e0.bff598",\r
+        "cf9d9601.e8d088",\r
+        "b92b2881.bc3e18",\r
+        "19e51740.b8f8a1",\r
+        "2ded21f8.219046",\r
+        "a0a762d0.469c28",\r
+        "60c16c76.a98d34",\r
+        "8396080f.a7f6c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b92b2881.bc3e18",\r
+    "type": "save",\r
+    "name": "get all-vpn-bindings from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4749,\r
+    "y": 6679,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b068e9a3.d4db4",\r
+        "b79debc6.f268c",\r
+        "599f79e1.6940a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b068e9a3.d4db4",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4954,\r
+    "y": 6676,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "be7eb0d3.672b2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b79debc6.f268c",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4937.490966796875,\r
+    "y": 6737.574035644531,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "7384abca.e83424"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "599f79e1.6940a8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4935,\r
+    "y": 6781,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "5c72f79d.0cafa"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "be7eb0d3.672b2",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5110,\r
+    "y": 6690,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "477f7936.afbf38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7384abca.e83424",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5100.0623779296875,\r
+    "y": 6737.859771728516,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5c72f79d.0cafa",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 5102,\r
+    "y": 6780,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "477f7936.afbf38",\r
+    "type": "for",\r
+    "name": "for vpnidx in all-vpn-bindings",\r
+    "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5357,\r
+    "y": 6687,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "8d0d8dd8.5dff18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8d0d8dd8.5dff18",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5594,\r
+    "y": 6683,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "234239f1.092ec6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "af0f93b9.f63018",\r
+    "type": "switchNode",\r
+    "name": "switch vpnuuid is for this slice",\r
+    "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].slice-id == $tmp.aai.service-instance.service-instance-id `\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5837,\r
+    "y": 6655,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "1906307e.4f6708",\r
+        "7e26fbb1.9c733c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1906307e.4f6708",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6042,\r
+    "y": 6675,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "234239f1.092ec6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7e26fbb1.9c733c",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6041,\r
+    "y": 6628,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "234239f1.092ec6",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4785,\r
+    "y": 6950,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9c243a63.6beae8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7d275a16.b90c94",\r
+    "type": "set",\r
+    "name": "set tmp.aai.the-vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
+    "comments": "",\r
+    "x": 6246.999969482422,\r
+    "y": 6887.999969482422,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "62c83b20.7bb344",\r
+    "type": "comment",\r
+    "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4847,\r
+    "y": 6626,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cf9d9601.e8d088",\r
+    "type": "set",\r
+    "name": "set srcTtp OTN layer",\r
+    "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4729,\r
+    "y": 6514,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fb325d12.16a73",\r
+    "type": "switchNode",\r
+    "name": "switch provider-id domainA",\r
+    "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5074,\r
+    "y": 6345,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "2ae3447b.0a1c44"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2ae3447b.0a1c44",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5294,\r
+    "y": 6351,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "47fb23b1.c734fc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "47fb23b1.c734fc",\r
+    "type": "switchNode",\r
+    "name": "switch te-topo-id",\r
+    "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5481,\r
+    "y": 6311,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "504a47cd.0300d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "504a47cd.0300d8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5673,\r
+    "y": 6314,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "70b7cd06.f487e4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "70b7cd06.f487e4",\r
+    "type": "set",\r
+    "name": "set otnTopoIdSrc",\r
+    "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+    "comments": "",\r
+    "x": 5882,\r
+    "y": 6312,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "19e51740.b8f8a1",\r
+    "type": "for",\r
+    "name": "for netwidx..allNetworksList_length",\r
+    "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4781,\r
+    "y": 6339,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "fb325d12.16a73"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "252b791f.9db75e",\r
+    "type": "get-resource",\r
+    "name": "get-resource network-resources-list",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4789,\r
+    "y": 6232,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "ab2e0e9b.e6e2a",\r
+        "175d6a26.e8f2ae",\r
+        "30472c6d.7bfeec"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ab2e0e9b.e6e2a",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5025,\r
+    "y": 6215,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "175d6a26.e8f2ae",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5022,\r
+    "y": 6256,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "30472c6d.7bfeec",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5036,\r
+    "y": 6296,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "275b22ee.4a806e",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4725,\r
+    "y": 6391,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "331c47e0.bff598",\r
+    "type": "set",\r
+    "name": "set tmp.pce-src-node",\r
+    "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[1] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[2] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[3] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[4] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[5] + '-' +-->\n<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $otnTopoIdSrc + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />",\r
+    "comments": "",\r
+    "x": 4733,\r
+    "y": 6449,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "908326bd.db0de8",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4738,\r
+    "y": 6189,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8ef1afe7.71ad38",\r
+    "type": "comment",\r
+    "name": "The following section is to find srcTtp OTN layer (its long name)",\r
+    "info": "The following section is to find srcTtp OTN layer (its long name)",\r
+    "comments": "",\r
+    "x": 4853,\r
+    "y": 6141,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9c243a63.6beae8",\r
+    "type": "switchNode",\r
+    "name": "switch ops-note is srcTtpOtnLayer",\r
+    "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5028,\r
+    "y": 6947,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "14533561.0c5673",\r
+        "af779ea0.7fb81"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "14533561.0c5673",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5257,\r
+    "y": 6924,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "55635f65.d76ee8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "af779ea0.7fb81",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5257,\r
+    "y": 6973,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "494eed0f.99eb84",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5989.999969482422,\r
+    "y": 6978.999969482422,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "6ed262af.6482c4",\r
+        "7d275a16.b90c94",\r
+        "ea085aad.03ece"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "eb8bdae2.80aaf8",\r
+    "type": "comment",\r
+    "name": "increase the bw of the-vpn-binding and change status to modified",\r
+    "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
+    "comments": "",\r
+    "x": 6374.999969482422,\r
+    "y": 6941.999969482422,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ea085aad.03ece",\r
+    "type": "save",\r
+    "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $gfp`' />\n\n<parameter name='operational-status' value='Modified' />\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6344.999969482422,\r
+    "y": 7001.999969482422,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "6ed262af.6482c4",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.the-vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
+    "comments": "",\r
+    "x": 6251.999969482422,\r
+    "y": 6829.999969482422,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b05d129.ef1b1f",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3988,\r
+    "y": 5887,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "99207b39.65e8d8",\r
+        "f5cafc97.3be338",\r
+        "433677c1.52ee48",\r
+        "fabf4cab.b217e",\r
+        "7e1b41de.44cf5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e2f1cfff.a8b258",\r
+    "type": "set",\r
+    "name": "unset otnTopoIdSrc",\r
+    "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
+    "comments": "",\r
+    "x": 4730,\r
+    "y": 6289,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2ded21f8.219046",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4858,\r
+    "y": 6031,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "4a18264c.6d9e",\r
+    "type": "comment",\r
+    "name": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
+    "info": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
+    "comments": "",\r
+    "x": 4995,\r
+    "y": 5981,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "124ab46d.2d752c",\r
+    "type": "save",\r
+    "name": "save ROOT UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='type' value='root' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3822,\r
+    "y": 3374,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "826efc02.44c7b",\r
+    "type": "comment",\r
+    "name": "NOT NEEDED ANYMORE?",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3999.999969482422,\r
+    "y": 1608.9999694824219,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3746cfac.cfad98",\r
+    "type": "comment",\r
+    "name": "NOT NEEDED ANYMORE?",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3978.9999389648438,\r
+    "y": 2120.9999389648438,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b5ea3d16.fd41f",\r
+    "type": "comment",\r
+    "name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3814,\r
+    "y": 3995,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9d7f2116.baeda",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3904,\r
+    "y": 6375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f2a7dc4a.68ede",\r
+    "type": "set",\r
+    "name": "set current-provider-id and current-cvlan-id",\r
+    "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
+    "comments": "",\r
+    "x": 3706,\r
+    "y": 4904,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a789852e.51cd48",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3839,\r
+    "y": 4952,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "23762b83.94d65c",\r
+    "type": "switchNode",\r
+    "name": "switch found-connectivity?",\r
+    "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4385,\r
+    "y": 4580,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "e4f34350.306628",\r
+        "84eda9bb.13e58"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e4f34350.306628",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4578,\r
+    "y": 4581,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d93f9a59.274b5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "84eda9bb.13e58",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4582,\r
+    "y": 4625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "fa8add54.9c2898"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fa8add54.9c2898",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4721,\r
+    "y": 4620,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "48346123.4f10a8",\r
+        "5e210590.033b4c",\r
+        "140ccb32.dd72dd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d93f9a59.274b5",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4721,\r
+    "y": 4577,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "a4406b4c.17bbc",\r
+        "18ca4a3.634f536",\r
+        "b4f57662.21d798",\r
+        "540d81b.ac8608"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "48346123.4f10a8",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainA-uuid",\r
+    "xml": "<set>\n<parameter name='uuid.connectivity-domainA-uuid' value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 5123.000244140625,\r
+    "y": 4842,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "54a11c60.7fd1ec",\r
+    "type": "comment",\r
+    "name": "populate connectivity-A variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5130.000244140625,\r
+    "y": 4796,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a0a762d0.469c28",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4920,\r
+    "y": 6575,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5e210590.033b4c",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5241.000244140625,\r
+    "y": 4884,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "259aff1b.d97a1",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5116,\r
+    "y": 5142,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "80314ddc.393748",\r
+    "type": "comment",\r
+    "name": "Update ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3461,\r
+    "y": 4475,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d1326c21.abc33",\r
+    "type": "save",\r
+    "name": "update ROOT UNI in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3983,\r
+    "y": 4576,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "434bd8c2.bae4f8",\r
+    "type": "save",\r
+    "name": "get root uni from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3440,\r
+    "y": 4519,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "7ea7dff4.93abc",\r
+        "616c8d40.285e14",\r
+        "ffe0a536.7eaff8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "616c8d40.285e14",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3628.490966796875,\r
+    "y": 4487.57421875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "739b53.f4a4fcac"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ffe0a536.7eaff8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3617,\r
+    "y": 4527,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "68d1064e.ebb3b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "739b53.f4a4fcac",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3788.0625,\r
+    "y": 4485.85986328125,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "68d1064e.ebb3b8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3778,\r
+    "y": 4528,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "aedbd8f5.94f11",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3780,\r
+    "y": 4572,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "530f885c.d5a28",\r
+        "d1326c21.abc33"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7ea7dff4.93abc",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3622,\r
+    "y": 4564,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "aedbd8f5.94f11"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "530f885c.d5a28",\r
+    "type": "set",\r
+    "name": "set new bw",\r
+    "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $gfp`' />\n",\r
+    "comments": "",\r
+    "x": 3941,\r
+    "y": 4504,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cd1fc06c.124968",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $middle-man-conn.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$middle-man-conn.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3806,\r
+    "y": 4843,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ac8fc812.ca8b88",\r
+    "type": "comment",\r
+    "name": "Temporary skipping this check - to support multiple instances in one slice",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5920.88330078125,\r
+    "y": 6592.88330078125,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "140ccb32.dd72dd",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5120.667236328125,\r
+    "y": 4980.08349609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "60fccea7.c83a28",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5122.884033203125,\r
+    "y": 4939.88330078125,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b61f1c95.4694d",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4996.6669921875,\r
+    "y": 5230.08349609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "82a40a13.767da8",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4998.8837890625,\r
+    "y": 5189.88330078125,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "91bd4596.74f628",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5086.466796875,\r
+    "y": 5592.5166015625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f50c2a2e.93dfe8",\r
+    "type": "switchNode",\r
+    "name": "switch found-root-connectivity",\r
+    "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4913.466796875,\r
+    "y": 5649.5166015625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "8646fa93.554c38",\r
+        "a6ded94a.e3e54"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8646fa93.554c38",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5124.466796875,\r
+    "y": 5649.5166015625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "258b63bd.85fb7c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a6ded94a.e3e54",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5120.466796875,\r
+    "y": 5697.5166015625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d925f9fa.8153b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "258b63bd.85fb7c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5280.466796875,\r
+    "y": 5645.5166015625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "8d6cf51e.6059f8",\r
+        "44488697.cdb02",\r
+        "c9ce352b.46ce88"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d925f9fa.8153b8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
+    "comments": "",\r
+    "x": 5268.466796875,\r
+    "y": 5692.5166015625,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "df7464c9.77f0d",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5590.3505859375,\r
+    "y": 5746.39990234375,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c9ce352b.46ce88",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5594.1337890625,\r
+    "y": 5784.60009765625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "44488697.cdb02",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5700.466796875,\r
+    "y": 5697.5166015625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8d6cf51e.6059f8",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainB-uuid",\r
+    "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 5584.466796875,\r
+    "y": 5645.5166015625,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7e224339.ebcda4",\r
+    "type": "comment",\r
+    "name": "populate connectivity-B variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4975.466796875,\r
+    "y": 5550.5166015625,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "60c16c76.a98d34",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4687.7998046875,\r
+    "y": 5725.5166015625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "91bd4596.74f628",\r
+        "f50c2a2e.93dfe8",\r
+        "b08c7802.5d204",\r
+        "7492e58a.da53dc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8396080f.a7f6c8",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4987.8330078125,\r
+    "y": 6086.2001953125,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e07ba4bc.bfaae8",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5794.116668701172,\r
+    "y": 6923.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "55635f65.d76ee8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5413.116668701172,\r
+    "y": 6926.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "e07ba4bc.bfaae8",\r
+        "d0282e45.27576",\r
+        "be279863.754a6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d0282e45.27576",\r
+    "type": "switchNode",\r
+    "name": "switch $foundVpnName",\r
+    "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5639.116668701172,\r
+    "y": 6978.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "adb0d898.09cba8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "adb0d898.09cba8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5818.116668701172,\r
+    "y": 6977.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "494eed0f.99eb84"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "be279863.754a6",\r
+    "type": "set",\r
+    "name": "set vpnNameToSearch",\r
+    "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
+    "comments": "",\r
+    "x": 5640.116668701172,\r
+    "y": 6871.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3cd9264c.3cdbea",\r
+    "type": "notify",\r
+    "name": "notify",\r
+    "xml": "<notify plugin='' resource='' action='' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2634.116668701172,\r
+    "y": 920.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d4db1de6.243c9",\r
+    "type": "set",\r
+    "name": "set network-route-three",\r
+    "xml": "<set>\n<parameter name='network-route-three' value=\"`$tmp.aai.logical-link.segment-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3312.116668701172,\r
+    "y": 696.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b2eea3d4.d83b2",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3528.116668701172,\r
+    "y": 1024.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c92a9c74.6d8cb",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3523.625732421875,\r
+    "y": 1066.542724609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "be6d3c2.c1bdfc",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3527.625701904297,\r
+    "y": 1114.5426940917969,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "82044de7.824378"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "82044de7.824378",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3685.116668701172,\r
+    "y": 1114.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9732d3c5.76e0c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9732d3c5.76e0c8",\r
+    "type": "switchNode",\r
+    "name": "switch nr type",\r
+    "xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3855.11669921875,\r
+    "y": 1117.1168212890625,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "7d1d73b.5c3fc8c",\r
+        "8cd6f95a.d7c4d",\r
+        "68098f91.a64618"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7d1d73b.5c3fc8c",\r
+    "type": "outcome",\r
+    "name": "ROOT",\r
+    "xml": "<outcome value='ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4029.116668701172,\r
+    "y": 1055.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "a9479bec.894888"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8cd6f95a.d7c4d",\r
+    "type": "outcome",\r
+    "name": "LEAF",\r
+    "xml": "<outcome value='LEAF'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4031.116668701172,\r
+    "y": 1109.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d844935e.741748"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a9479bec.894888",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4157.116668701172,\r
+    "y": 1055.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "7a232bae.539a2c",\r
+        "19f7263a.0f2e72"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d844935e.741748",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4160.116668701172,\r
+    "y": 1108.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "e31191f4.c7e44",\r
+        "c783c2e3.52d62"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "19f7263a.0f2e72",\r
+    "type": "set",\r
+    "name": "set network-route-B",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4318.116668701172,\r
+    "y": 1079.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e31191f4.c7e44",\r
+    "type": "set",\r
+    "name": "set network-route-LEAF",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4335.116668701172,\r
+    "y": 1121.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c783c2e3.52d62",\r
+    "type": "set",\r
+    "name": "set network-route-A",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4320.116668701172,\r
+    "y": 1159.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7a232bae.539a2c",\r
+    "type": "set",\r
+    "name": "set network-route-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4332.116668701172,\r
+    "y": 1039.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5dbb2ad5.55ee04",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4497.116668701172,\r
+    "y": 1055.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4c9f1a43.e137e4",\r
+    "type": "save",\r
+    "name": "get network-route-three from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-three'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-three\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3288.116668701172,\r
+    "y": 1041.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b2eea3d4.d83b2",\r
+        "c92a9c74.6d8cb",\r
+        "be6d3c2.c1bdfc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "68098f91.a64618",\r
+    "type": "outcome",\r
+    "name": "SECONDARY-ROOT",\r
+    "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3974.116668701172,\r
+    "y": 1173.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "3baeb12d.78947e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3baeb12d.78947e",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4148.116668701172,\r
+    "y": 1168.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f32a06d7.18ee6",\r
+        "9c8c5f6f.4f4828"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9c8c5f6f.4f4828",\r
+    "type": "set",\r
+    "name": "set network-route-C",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4318.116668701172,\r
+    "y": 1241.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f32a06d7.18ee6",\r
+    "type": "set",\r
+    "name": "set network-route-SECONDARY-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4372.116668701172,\r
+    "y": 1201.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "89b3411b.fe2cb",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4486.116668701172,\r
+    "y": 1226.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fe4b773c.0eae98",\r
+    "type": "outcome",\r
+    "name": "SECONDARY-ROOT",\r
+    "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4045.116668701172,\r
+    "y": 929.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "a6d4107d.6655f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e8ae3a08.56b988",\r
+    "type": "set",\r
+    "name": "set network-route-C",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4389.116668701172,\r
+    "y": 997.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8ecb2104.b1fc58",\r
+    "type": "set",\r
+    "name": "set network-route-SECONDARY-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4443.116668701172,\r
+    "y": 957.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a817660e.e9d2",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4587.116668701172,\r
+    "y": 986.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a6d4107d.6655f",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4219.116668701172,\r
+    "y": 924.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "8ecb2104.b1fc58",\r
+        "e8ae3a08.56b988"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "83ce05e.7f315f8",\r
+    "type": "outcome",\r
+    "name": "SECONDARY-ROOT",\r
+    "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4105.116668701172,\r
+    "y": 667.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d03cb873.c57328"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2049e56d.3172ca",\r
+    "type": "set",\r
+    "name": "set network-route-C",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4449.116668701172,\r
+    "y": 735.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6995e48e.171b9c",\r
+    "type": "set",\r
+    "name": "set network-route-SECONDARY-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4503.116668701172,\r
+    "y": 695.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "80fe4b30.9273d",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4617.116668701172,\r
+    "y": 720.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d03cb873.c57328",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4279.116668701172,\r
+    "y": 662.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "6995e48e.171b9c",\r
+        "2049e56d.3172ca"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d8eb368d.7e35e8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3686.116668701172,\r
+    "y": 2544.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9d31c4f.62b63b8",\r
+        "42d540.6e2552c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4acebe87.51a2e",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3513.450164794922,\r
+    "y": 2545.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d8eb368d.7e35e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "faf79ca9.39c718",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3522.941131591797,\r
+    "y": 2587.690704345703,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "760b8826.a76aa",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3511.450164794922,\r
+    "y": 2634.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9d31c4f.62b63b8",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC\"/>\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3972.450164794922,\r
+    "y": 2548.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "beea1414.622ca8",\r
+        "e0900c85.f5153"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e0900c85.f5153",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4195.450164794922,\r
+    "y": 2503.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b1fce547.cdefa8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "beea1414.622ca8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4197.450164794922,\r
+    "y": 2567.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "1f2077c9.d2f12"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1931dff5.72d728",\r
+    "type": "save",\r
+    "name": "get p-interface-dst from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-C.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-C.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3285.450164794922,\r
+    "y": 2580.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "4acebe87.51a2e",\r
+        "faf79ca9.39c718",\r
+        "760b8826.a76aa"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "20a2805c.f7ce68",\r
+    "type": "comment",\r
+    "name": "Question?",\r
+    "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+    "comments": "",\r
+    "x": 3246.450164794922,\r
+    "y": 2524.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f953800.9cf34",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC-pnfName\"/>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3305.450164794922,\r
+    "y": 2320.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "1523d633.28a802",\r
+        "23587c7d.fbba4c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "23587c7d.fbba4c",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3528.450164794922,\r
+    "y": 2306.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "c7b4b7e7.8e8b78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1523d633.28a802",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3530.450164794922,\r
+    "y": 2339.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c7b4b7e7.8e8b78",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3676.450164794922,\r
+    "y": 2299.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "cb965cfe.67a2f",\r
+        "1a7add8d.af97ca"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cb965cfe.67a2f",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.dst.domainC.pnf-name' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n                                                   $param-prefix-domainC-pnfName[1] + '-' +\n                                                   $param-prefix-domainC-pnfName[2] + '-' +\n                                                   $param-prefix-domainC-pnfName[3] + '-' +\n                                                   $param-prefix-domainC-pnfName[4] + '-' +\n                                                   $param-prefix-domainC-pnfName[5] + '-' +\n                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n",\r
+    "comments": "",\r
+    "x": 3870.450164794922,\r
+    "y": 2302.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "42d540.6e2552c",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3923.4501342773438,\r
+    "y": 2671.1166381835938,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b84e7511.3844a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b84e7511.3844a8",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4129.450134277344,\r
+    "y": 2671.1166381835938,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "ac19c527.29aaf8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1a7add8d.af97ca",\r
+    "type": "get-resource",\r
+    "name": "get-resource src pnf",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\"\n        pfx='tmp.aai.destination-secondary-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3892.450164794922,\r
+    "y": 2370.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "c6c93f82.1aa228",\r
+        "f4da497f.0275c8",\r
+        "6e9758a5.eabec"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c6c93f82.1aa228",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4087.9502868652344,\r
+    "y": 2322.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "a1f1dc1c.4be4e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f4da497f.0275c8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4079.9502868652344,\r
+    "y": 2377.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "dd2530b3.0ce388"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6e9758a5.eabec",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4084.9502868652344,\r
+    "y": 2434.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "35cb1b46.9ab3ac"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "35cb1b46.9ab3ac",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4236.950286865234,\r
+    "y": 2435.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a1f1dc1c.4be4e8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4232.332611083984,\r
+    "y": 2319.7724609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "807e8aa5.b5f288"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "be1fed24.75522",\r
+    "type": "set",\r
+    "name": "set SECONDARY-ROOT stuff",\r
+    "xml": "<set>\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-long' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n                                                   $param-prefix-domainC-pnfName[1] + '-' +\n                                                   $param-prefix-domainC-pnfName[2] + '-' +\n                                                   $param-prefix-domainC-pnfName[3] + '-' +\n                                                   $param-prefix-domainC-pnfName[4] + '-' +\n                                                   $param-prefix-domainC-pnfName[5] + '-' +\n                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-short' value=\"`$tmp.dst-secondary.pnf-name`\" />\n\n<parameter name='tmp.SECONDARY-ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-C.next-hop + '-' + $tmp.aai.network-route-C.logical-interface-id`\" />\n<parameter name='tmp.SECONDARY-ROOT.uni-tp-id' value=\"`$tmp.dst-secondary.ltpId`\" />\n",\r
+    "comments": "",\r
+    "x": 3308.116668701172,\r
+    "y": 2659.116668701172,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "89002347.f12fb8",\r
+    "type": "comment",\r
+    "name": "NOT NEEDED ANYMORE?",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3983.1166381835938,\r
+    "y": 2623.1166381835938,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1f2077c9.d2f12",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+    "comments": "",\r
+    "x": 4356.450164794922,\r
+    "y": 2586.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b1fce547.cdefa8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4360.450164794922,\r
+    "y": 2500.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9ddcbad2.3cd968",\r
+        "a4909c74.16b3c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ac19c527.29aaf8",\r
+    "type": "outcome",\r
+    "name": "tunnel-termination-point",\r
+    "xml": "<outcome value='tunnel-termination-point'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4346.735778808594,\r
+    "y": 2669.9384155273438,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "aecc45b1.07799"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "dd2530b3.0ce388",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4247.950286865234,\r
+    "y": 2380.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9ddcbad2.3cd968",\r
+    "type": "set",\r
+    "name": "set ltpId",\r
+    "xml": "<set>\n<parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n",\r
+    "comments": "",\r
+    "x": 4530.450164794922,\r
+    "y": 2461.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a4909c74.16b3c",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n",\r
+    "comments": "",\r
+    "x": 4531.450164794922,\r
+    "y": 2566.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "90f369e0.1f5ea",\r
+    "type": "comment",\r
+    "name": "TODO: FIXME",\r
+    "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+    "comments": "",\r
+    "x": 4526.450164794922,\r
+    "y": 2515.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "aecc45b1.07799",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4553.567321777344,\r
+    "y": 2659.4570922851562,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d7d46b6.f157298",\r
+        "a76ccf28.3b019",\r
+        "6d38c2ba.e73f94"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d7d46b6.f157298",\r
+    "type": "set",\r
+    "name": "set destination ttp-id",\r
+    "xml": "<set>\n<parameter name='tmp.destination-secondary.ttp-id' value=\"`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 4768.567321777344,\r
+    "y": 2621.4570922851562,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a76ccf28.3b019",\r
+    "type": "get-resource",\r
+    "name": "get-resource src TTP",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination-secondary.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-secondary-ttp' local-only='false' >\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4765.567321777344,\r
+    "y": 2660.4570922851562,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "af66a72d.a68048"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6d38c2ba.e73f94",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 4721.067321777344,\r
+    "y": 2702.4570922851562,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "56aae750.4bf18",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4814.450164794922,\r
+    "y": 2338.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "df2c6ab5.f8c7a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "807e8aa5.b5f288",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4416.450164794922,\r
+    "y": 2334.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "83815f42.db62e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "83815f42.db62e8",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4611.450164794922,\r
+    "y": 2334.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "56aae750.4bf18",\r
+        "ace3955f.b78118"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ace3955f.b78118",\r
+    "type": "outcome",\r
+    "name": "network-resource",\r
+    "xml": "<outcome value='network-resource'>",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4816.450164794922,\r
+    "y": 2411.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "86fe5017.1c8158"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "af66a72d.a68048",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4946.067321777344,\r
+    "y": 2659.4570922851562,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "73b98dcb.d53e2c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "73b98dcb.d53e2c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5104.067321777344,\r
+    "y": 2659.4570922851562,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "35f64a50.ea71a6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "35f64a50.ea71a6",\r
+    "type": "set",\r
+    "name": "set destination tunnel tp ip",\r
+    "xml": "<set>\n<parameter name='destination-secondary.tunnel-tp-id' value=\"`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`\" />\n",\r
+    "comments": "",\r
+    "x": 5311.067321777344,\r
+    "y": 2659.4570922851562,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "df2c6ab5.f8c7a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4991.450164794922,\r
+    "y": 2330.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "b41095a1.9dd71",\r
+        "c294b821.4082d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c294b821.4082d",\r
+    "type": "execute",\r
+    "name": "get esr-thirdparty-sdnc",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainC.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainC.esr-thirdparty-sdnc' local-only='false' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5199.450164794922,\r
+    "y": 2337.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "cbd53666.7a192",\r
+        "70f8105c.8c53c8",\r
+        "d07f4c5c.e57d28"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "86fe5017.1c8158",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4993.450164794922,\r
+    "y": 2403.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "29792fa0.312a5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b41095a1.9dd71",\r
+    "type": "set",\r
+    "name": "set esr-thirdparty-sdnc domainC id",\r
+    "xml": "<set>\n<parameter name='tmp.domainC.esr-thirdparty-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5229.450164794922,\r
+    "y": 2285.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "29792fa0.312a5",\r
+    "type": "set",\r
+    "name": "set domainC ethernet layer network-id",\r
+    "xml": "<set>\n<parameter name='tmp.domainC.eth-network-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5228.450164794922,\r
+    "y": 2527.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cbd53666.7a192",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5409.450164794922,\r
+    "y": 2328.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "12fe1a85.5f5265"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "70f8105c.8c53c8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5401.450164794922,\r
+    "y": 2383.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "720591da.7ff908"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d07f4c5c.e57d28",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5406.450164794922,\r
+    "y": 2440.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "50fd00db.804e78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "50fd00db.804e78",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5558.450164794922,\r
+    "y": 2441.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "720591da.7ff908",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5569.450164794922,\r
+    "y": 2386.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "12fe1a85.5f5265",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5553.832489013672,\r
+    "y": 2325.7724609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d4fbd78f.a8b058"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d4fbd78f.a8b058",\r
+    "type": "set",\r
+    "name": "set controller domainC data",\r
+    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+    "comments": "",\r
+    "x": 5768.450164794922,\r
+    "y": 2322.1167907714844,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3ab03c8.bdf8544",\r
+    "type": "switchNode",\r
+    "name": "switch secondary empty?",\r
+    "xml": "<switch test='`length($network-route-three) == 0`'>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3282.116668701172,\r
+    "y": 795.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "7806cbe6.64ea14",\r
+        "91bd4861.b38048"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7806cbe6.64ea14",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3404.11669921875,\r
+    "y": 740.11669921875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "4d1b7d4.397bf04"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "91bd4861.b38048",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3391.11669921875,\r
+    "y": 849.11669921875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "a8d8fc87.45b9a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4d1b7d4.397bf04",\r
+    "type": "set",\r
+    "name": "set hasSecondary false",\r
+    "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3619.116668701172,\r
+    "y": 577.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a8d8fc87.45b9a",\r
+    "type": "set",\r
+    "name": "set hasSecondary true",\r
+    "xml": "<set>\n<parameter name='hasSecondary' value=\"true\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3615.116668701172,\r
+    "y": 621.1166687011719,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "87dcb71b.a618f",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3812.11669921875,\r
+    "y": 3521.11669921875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9a1c6f33.80c0c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9a1c6f33.80c0c",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4003.11669921875,\r
+    "y": 3525.11669921875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "8de09ee3.1f82b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8de09ee3.1f82b8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4130.11669921875,\r
+    "y": 3524.11669921875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "cc59ae49.952b8",\r
+        "3b72359b.f45e6a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3b72359b.f45e6a",\r
+    "type": "save",\r
+    "name": "save SECONDARY-ROOT UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.SECONDARY-ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='type' value='secondary-root' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4352.11669921875,\r
+    "y": 3413.11669921875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d566dc7.835f6a",\r
+    "type": "set",\r
+    "name": "unset secondary related variables",\r
+    "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n<parameter name='network-route-three' value=\"\" />\n<parameter name='tmp.aai.network-route-three.' value=\"\" />\n<parameter name='tmp.aai.network-route-C.' value=\"\" />\n",\r
+    "comments": "",\r
+    "x": 3357,\r
+    "y": 453,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cc59ae49.952b8",\r
+    "type": "switchNode",\r
+    "name": "switch 2-ROOTS in same domain?",\r
+    "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4348,\r
+    "y": 3472,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "e0cf290a.3bb57",\r
+        "91bee9e5.bd12c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e0cf290a.3bb57",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4558,\r
+    "y": 3449,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "2e6c4f7b.89f37"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2e6c4f7b.89f37",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4684,\r
+    "y": 3449,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "e80cf077.13626"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "eb956f81.674a8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4689,\r
+    "y": 3498,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "538ba095.13ecb8",\r
+        "a894e133.03a62",\r
+        "bbac82b0.611ad8",\r
+        "5d08bff9.d57b18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "91bee9e5.bd12c8",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4563,\r
+    "y": 3498,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "eb956f81.674a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e80cf077.13626",\r
+    "type": "save",\r
+    "name": "save connectivityB relationship to UNI-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5012,\r
+    "y": 3446,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "538ba095.13ecb8",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity domainC",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainC-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4965,\r
+    "y": 3537,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a894e133.03a62",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='secondary-root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4913,\r
+    "y": 3579,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "bbac82b0.611ad8",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5042,\r
+    "y": 3621,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7be6dab9.621efc",\r
+    "type": "comment",\r
+    "name": "Create SECONDARY-ROOT connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4928,\r
+    "y": 3494,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5d08bff9.d57b18",\r
+    "type": "save",\r
+    "name": "save connectivityC relationship to UNI-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5020,\r
+    "y": 3669,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "748bc1ca.c78678",\r
+    "type": "comment",\r
+    "name": "Create SECONDARY-ROOT UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3840,\r
+    "y": 3472,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "286f0ec8.852352",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3815,\r
+    "y": 4143,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d7543b1f.0223a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d7543b1f.0223a",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4007,\r
+    "y": 4138,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "8aacb5a.7bd82c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8aacb5a.7bd82c8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4136,\r
+    "y": 4138,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9ecf386c.da77f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9ecf386c.da77f",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4468,\r
+    "y": 4136,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2bbca6cc.0ec622",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3803,\r
+    "y": 4367,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "85f62fba.be3af8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "85f62fba.be3af8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3983,\r
+    "y": 4366,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f0b10235.e7e788"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f0b10235.e7e788",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4112,\r
+    "y": 4366,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "ccf3ecf0.96a2b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ccf3ecf0.96a2b",\r
+    "type": "switchNode",\r
+    "name": "switch 2-ROOTS in same domain?",\r
+    "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4329.88330078125,\r
+    "y": 4364.88330078125,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "cabe89a7.9d69e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cabe89a7.9d69e",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4544.88330078125,\r
+    "y": 4364.88330078125,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "760290ae.a21e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "760290ae.a21e",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4676.88330078125,\r
+    "y": 4364.88330078125,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d0b7affb.c1db2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d0b7affb.c1db2",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to connectivity-SECONDARY-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-uuid`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5041,\r
+    "y": 4364,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c32fbe2a.4ce3f",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3478,\r
+    "y": 4622,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f2b98ff2.538df8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f2b98ff2.538df8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3658,\r
+    "y": 4621,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "44866831.1c971"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "44866831.1c971",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3787,\r
+    "y": 4621,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "531a8e91.6c36e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6aa2083f.c88dc",\r
+    "type": "comment",\r
+    "name": "Update SECONDARY-ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3523,\r
+    "y": 4680,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5db121cf.f62b2",\r
+    "type": "save",\r
+    "name": "update S-ROOT UNI in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4089,\r
+    "y": 4779,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "531a8e91.6c36e8",\r
+    "type": "save",\r
+    "name": "get S-root uni from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3553,\r
+    "y": 4713,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "5ffa37b0.a29d98",\r
+        "2e65d2b6.ac2056",\r
+        "b5462b77.92e368"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2e65d2b6.ac2056",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3734.490966796875,\r
+    "y": 4690.57421875,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "5fe821cf.842878"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b5462b77.92e368",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3723,\r
+    "y": 4730,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "6ea658d1.17df7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5fe821cf.842878",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3894.0625,\r
+    "y": 4688.85986328125,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6ea658d1.17df7",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3884,\r
+    "y": 4731,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4792a0c5.aeb76",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3886,\r
+    "y": 4775,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "78930237.780be4",\r
+        "5db121cf.f62b2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5ffa37b0.a29d98",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3728,\r
+    "y": 4767,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "4792a0c5.aeb76"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "78930237.780be4",\r
+    "type": "set",\r
+    "name": "set new bw",\r
+    "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",\r
+    "comments": "",\r
+    "x": 4047,\r
+    "y": 4707,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "74408c25.ef5164",\r
+    "type": "comment",\r
+    "name": "populate connectivity-C variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4413,\r
+    "y": 5275,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d1a4e2c9.15ac9",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4568,\r
+    "y": 5316,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "748b1299.fd2144",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainC-uuid",\r
+    "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 5011,\r
+    "y": 5364,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "24040f90.d6a4",\r
+    "type": "switchNode",\r
+    "name": "switch found-secondary-root-connectivity",\r
+    "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4384,\r
+    "y": 5374,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f8d36d32.9ac71",\r
+        "9cd0c03a.a311a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f8d36d32.9ac71",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4620,\r
+    "y": 5358,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "d753b8f.12e03c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d753b8f.12e03c8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4764,\r
+    "y": 5360,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "748b1299.fd2144",\r
+        "9643625b.90e238",\r
+        "c3f4caa.3b73cb8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9cd0c03a.a311a",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4619,\r
+    "y": 5406,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9643625b.90e238",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5132,\r
+    "y": 5411,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c3f4caa.3b73cb8",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5013.6669921875,\r
+    "y": 5496.08349609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "433011d7.349ae8",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5014.8837890625,\r
+    "y": 5454.88330078125,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e2691c6e.49966",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainC-uuid",\r
+    "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 5546,\r
+    "y": 5843,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7492e58a.da53dc",\r
+    "type": "switchNode",\r
+    "name": "switch found-secondary-root-connectivity",\r
+    "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4919,\r
+    "y": 5853,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "7d7daf2e.06b168",\r
+        "1dddd00a.b82ef8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7d7daf2e.06b168",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5152,\r
+    "y": 5847,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "51e74c47.c309bc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "51e74c47.c309bc",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5299,\r
+    "y": 5855,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "e2691c6e.49966",\r
+        "f2071b27.722968",\r
+        "ce8449a1.6c0af8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1dddd00a.b82ef8",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5153,\r
+    "y": 5897,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f2071b27.722968",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5667,\r
+    "y": 5890,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ce8449a1.6c0af8",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5548.6669921875,\r
+    "y": 5975.08349609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "6cf05b70.9ecfd4",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5549.8837890625,\r
+    "y": 5933.88330078125,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b08c7802.5d204",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5080,\r
+    "y": 5803,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e97fbec2.db6de",\r
+    "type": "comment",\r
+    "name": "populate connectivity-C variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4914,\r
+    "y": 5764,\r
+    "z": "f8944603.71553",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "651a17c0.63b678",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3241.25,\r
+    "y": 6373.25,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "74077cd7.2a1a94",\r
+        "f3174188.6084b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "74077cd7.2a1a94",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3432.25,\r
+    "y": 6377.25,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "f2351c78.3536d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f2351c78.3536d",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3559.25,\r
+    "y": 6376.25,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "9d7f2116.baeda"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f3174188.6084b",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3428.25,\r
+    "y": 6447.25,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "84ee4e22.34786"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bf4fd4bd.d3efb",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate-w-Protection",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate-w-Protection' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3977.75,\r
+    "y": 6446.33349609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "84ee4e22.34786",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3561.75,\r
+    "y": 6449.33349609375,\r
+    "z": "f8944603.71553",\r
+    "wires": [\r
+      [\r
+        "bf4fd4bd.d3efb"\r
+      ]\r
+    ]\r
+  }\r
 ]
\ No newline at end of file