Making sure not to use the same CLL instance name for all endpoints' description...
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / cloud_leased_line / GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.json
index 8f287f3..7f05d90 100644 (file)
 [\r
-    {\r
-        "id": "9eb6465b.8231d",\r
-        "type": "dgstart",\r
-        "name": "DGSTART",\r
-        "outputs": 1,\r
-        "x": 174,\r
-        "y": 129,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "c7ce6b7b.48fc18"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c7ce6b7b.48fc18",\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": 399.2856903076172,\r
-        "y": 203.23810863494873,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "5b4de938.1f507"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5b4de938.1f507",\r
-        "type": "method",\r
-        "name": "method cll-vnf-topology-operation-cll-modify",\r
-        "xml": "<method rpc='cll-vnf-topology-operation-cll-modify' mode='sync'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 405.42860412597656,\r
-        "y": 288.0000305175781,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "4dc62efc.c83c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4dc62efc.c83c",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 775.238037109375,\r
-        "y": 312.66668701171875,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "967b1057.e0a818",\r
-                "c598fe83.44b4b8",\r
-                "14de5c82.464f93"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "967b1057.e0a818",\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": 1030.571533203125,\r
-        "y": 466.59698486328125,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c598fe83.44b4b8",\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": 1098,\r
-        "y": 286,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "be5a0198.1ba518",\r
-                "d9138d20.e2fc8",\r
-                "91625785.c9ff18"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "91625785.c9ff18",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1307,\r
-        "y": 260,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "d564baab.1e6f6"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4d990b70.47f5fc",\r
-        "type": "outcome",\r
-        "name": "logical-link",\r
-        "xml": "<outcome value='logical-link'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1039.0001220703125,\r
-        "y": 766.0001220703125,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "5e1ad592.41ee24"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "5e1ad592.41ee24",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 1216,\r
-        "y": 759,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "e398aae7.45cbf8",\r
-                "a04e6833.e4988",\r
-                "5187f08e.74ac2"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d902fdae.cea3e8",\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": 814,\r
-        "y": 695,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "4648afd9.f59d38"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4648afd9.f59d38",\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": 1085,\r
-        "y": 691,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "4d990b70.47f5fc"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "14de5c82.464f93",\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": 1065,\r
-        "y": 226,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "aaa9891e.70ccc8",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 362,\r
-        "y": 671,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "d7003a6e.38b288",\r
-                "cee9d4f6.bc12e8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d7003a6e.38b288",\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": 808,\r
-        "y": 530,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "23206dde.76caa2"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "9cc7d8a0.338888",\r
-        "type": "switchNode",\r
-        "name": "switch related-to",\r
-        "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1290.33349609375,\r
-        "y": 1177,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "361c81d1.d1312e"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "cee9d4f6.bc12e8",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic='true'>",\r
-        "atomic": "true",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 781,\r
-        "y": 1176,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "80751e9a.0057d8",\r
-                "26d1ad19.58f772"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "80751e9a.0057d8",\r
-        "type": "for",\r
-        "name": "for each svc-instance relationship",\r
-        "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1055,\r
-        "y": 1176,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "9cc7d8a0.338888"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "361c81d1.d1312e",\r
-        "type": "outcome",\r
-        "name": "connectivity",\r
-        "xml": "<outcome value='connectivity'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 574.000244140625,\r
-        "y": 1330,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "eead4d83.93ec08"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "fba02c9f.91f47",\r
-        "type": "save",\r
-        "name": "get connectivity from aai",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 963,\r
-        "y": 1335,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "dbda7d85.ee895",\r
-                "4ef19f13.4e41a8",\r
-                "2ea82e0b.cdf21a"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "dbda7d85.ee895",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1159,\r
-        "y": 1300,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "8ba3755.a15c088"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "4ef19f13.4e41a8",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1159.490966796875,\r
-        "y": 1345.5740356445312,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "729746db.d253f"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2ea82e0b.cdf21a",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1124,\r
-        "y": 1391,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "4b0e29e1.6abb78"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "729746db.d253f",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 1319.0625,\r
-        "y": 1342.8597412109375,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "4b0e29e1.6abb78",\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": 1277,\r
-        "y": 1393,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "8ba3755.a15c088",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 1323,\r
-        "y": 1284,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "5032e132.b50ce8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "eead4d83.93ec08",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 746,\r
-        "y": 1330,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "fba02c9f.91f47",\r
-                "8f9d786c.56a8b8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "8f9d786c.56a8b8",\r
-        "type": "set",\r
-        "name": "unset tmp.aai.connectivity",\r
-        "xml": "<set>\n<parameter name='tmp.aai.connectivity.' value='' />\n",\r
-        "comments": "",\r
-        "x": 966,\r
-        "y": 1278,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "e398aae7.45cbf8",\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<parameter name='currLinkIsFound' value=\"false\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 1462,\r
-        "y": 669,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "a04e6833.e4988",\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": 1429,\r
-        "y": 783,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "49053c81.8b87cc",\r
-                "6a35a06.779ac6",\r
-                "64bb497.5849e38"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "49053c81.8b87cc",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1641.490966796875,\r
-        "y": 749.573974609375,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "7b3cd426.944f0c"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "6a35a06.779ac6",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1630,\r
-        "y": 794,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "715fffb0.0dd628"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7b3cd426.944f0c",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 1790.0625,\r
-        "y": 749.8597412109375,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "715fffb0.0dd628",\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": 1789,\r
-        "y": 794,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "64bb497.5849e38",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1635,\r
-        "y": 837,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "cb0d7b9d.4f62",\r
-        "type": "switchNode",\r
-        "name": "switch loglink-id exists in conn",\r
-        "xml": "<switch test='`$tmp.aai.logical-link.link-id == $tmp.aai.connectivity.etht-svc-name`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1552,\r
-        "y": 1283,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "ed843baa.4246c",\r
-                "77db6f07.dbc38"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ed843baa.4246c",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1763,\r
-        "y": 1248,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "c41e69d5.000d98"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "77db6f07.dbc38",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1760,\r
-        "y": 1309,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "c41e69d5.000d98",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 1915,\r
-        "y": 1249,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "b90808de.83d488"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c0a4cffa.883e98",\r
-        "type": "break",\r
-        "name": "break",\r
-        "xml": "<break>\n",\r
-        "comments": "",\r
-        "x": 2068,\r
-        "y": 1277,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "1190650a.0a84cb",\r
-        "type": "comment",\r
-        "name": "currLinkIsFound. Go to the next logical-link",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 2073,\r
-        "y": 1171,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "5187f08e.74ac2",\r
-        "type": "switchNode",\r
-        "name": "switch currLinkIsFound",\r
-        "xml": "<switch test='`$currLinkIsFound`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1355,\r
-        "y": 901,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "bc7d7df2.5493c",\r
-                "acacd757.221108"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "bc7d7df2.5493c",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1541,\r
-        "y": 880,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "1afa8a19.4821fe"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "acacd757.221108",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1538,\r
-        "y": 1016,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "1afa8a19.4821fe",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 1783,\r
-        "y": 875,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "790c6016.9667b8",\r
-        "type": "comment",\r
-        "name": "A new logical-link has been found: modify process should be triggered",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 1729,\r
-        "y": 979,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "5032e132.b50ce8",\r
-        "type": "switchNode",\r
-        "name": "switch connectivityBW == gfp",\r
-        "xml": "<switch test='`$tmp.aai.connectivity.bandwidth-profile-name == $gfp`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1553,\r
-        "y": 1374,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "ee0cb72e.3d8b4",\r
-                "b958be18.cec7a8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ee0cb72e.3d8b4",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1758,\r
-        "y": 1370,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "b958be18.cec7a8",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1760,\r
-        "y": 1420,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "649f93b2.4fa094"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "649f93b2.4fa094",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 1914,\r
-        "y": 1419,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "2c6dae30.c090da",\r
-                "bec6024a.522f"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b90808de.83d488",\r
-        "type": "set",\r
-        "name": "set currLinkIsFound",\r
-        "xml": "<set>\n<parameter name='currLinkIsFound' value=\"true\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 2101,\r
-        "y": 1221,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "2c6dae30.c090da",\r
-        "type": "set",\r
-        "name": "set bwModified",\r
-        "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 2109,\r
-        "y": 1398,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "bec6024a.522f",\r
-        "type": "for",\r
-        "name": "for each relationship",\r
-        "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 934,\r
-        "y": 1624,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "fa7c4190.123f5"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "fa7c4190.123f5",\r
-        "type": "switchNode",\r
-        "name": "switch related-to",\r
-        "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1139,\r
-        "y": 1624,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "15fdeaff.12dc65"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "15fdeaff.12dc65",\r
-        "type": "outcome",\r
-        "name": "vpn-binding",\r
-        "xml": "<outcome value='vpn-binding'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1305,\r
-        "y": 1624,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "23696373.a05af4"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "23696373.a05af4",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 1468,\r
-        "y": 1624,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "393b763a.3c031a",\r
-                "93b6e437.4f099"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "93b6e437.4f099",\r
-        "type": "set",\r
-        "name": "unset tmp.aai.vpn-binding",\r
-        "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
-        "comments": "",\r
-        "x": 1697,\r
-        "y": 1564,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "393b763a.3c031a",\r
-        "type": "save",\r
-        "name": "get vpn-binding from aai",\r
-        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1206,\r
-        "y": 1718,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "2f327191.83395e",\r
-                "e7652a9b.a6a5d8",\r
-                "cbe418b.f7d27e8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "8a250676.10f76",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 1590,\r
-        "y": 1718,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "c8600837.7048d8",\r
-                "6043cb08.7416ec"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "2f327191.83395e",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1417,\r
-        "y": 1720,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "8a250676.10f76"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e7652a9b.a6a5d8",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1417.490966796875,\r
-        "y": 1765.5740356445312,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "a94efe89.188bd8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "cbe418b.f7d27e8",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1415,\r
-        "y": 1809,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "f4d34be9.21913"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "f4d34be9.21913",\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": 1582,\r
-        "y": 1826,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "a94efe89.188bd8",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 1580.0623779296875,\r
-        "y": 1765.8597717285156,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c8600837.7048d8",\r
-        "type": "save",\r
-        "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
-        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1940.5,\r
-        "y": 1713,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "6043cb08.7416ec",\r
-        "type": "save",\r
-        "name": "update connectivity resource in AAI",\r
-        "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1867.5,\r
-        "y": 1777,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "be5a0198.1ba518",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1323,\r
-        "y": 144,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "acd16415.eb51f"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d9138d20.e2fc8",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1318.490966796875,\r
-        "y": 213.57403564453125,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "855114bb.d4b47"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "acd16415.eb51f",\r
-        "type": "switchNode",\r
-        "name": "switch allotted-resources_length != 0",\r
-        "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1562,\r
-        "y": 141,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "7d32da32.7e3de4",\r
-                "7d05195c.3ec52"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "855114bb.d4b47",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
-        "comments": "",\r
-        "x": 1472.0623779296875,\r
-        "y": 216.85977172851562,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d564baab.1e6f6",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
-        "comments": "",\r
-        "x": 1476,\r
-        "y": 261,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "7d32da32.7e3de4",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1775,\r
-        "y": 165,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "1771a12b.55c52f"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "7d05195c.3ec52",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1777,\r
-        "y": 105,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "1771a12b.55c52f",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1720,\r
-        "y": 347,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "e4c22eb.a2aea5",\r
-                "6160b6fc.008b48"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e4c22eb.a2aea5",\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": 1978,\r
-        "y": 300,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "fc0dfed8.0cac3",\r
-                "c57f71e8.93673"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "6160b6fc.008b48",\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<parameter name='bwModified' value='false' />\n",\r
-        "comments": "",\r
-        "x": 1937,\r
-        "y": 250,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d51caf90.a463f",\r
-        "type": "comment",\r
-        "name": "The following two nodes are for PCE",\r
-        "info": "",\r
-        "comments": "",\r
-        "x": 2012,\r
-        "y": 105,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "f6765cf8.85e25",\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/v21/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1972,\r
-        "y": 149,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "66aed450.169b54",\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/v21/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 1985,\r
-        "y": 194,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "c3532310.372288",\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": 2205,\r
-        "y": 465,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "9a292ac4.9b06e",\r
-                "35630785.237e1"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "c57f71e8.93673",\r
-        "type": "save",\r
-        "name": "get allotted-resource from aai",\r
-        "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!--         AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2246,\r
-        "y": 304,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "87b192bc.e1f0e",\r
-                "d00bb928.2d4ff",\r
-                "29adfdf9.b65b62"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "87b192bc.e1f0e",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2462,\r
-        "y": 371,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "8f69272a.fd278"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d00bb928.2d4ff",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2462.490966796875,\r
-        "y": 270.573974609375,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "b5f2de6e.0aa398"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "29adfdf9.b65b62",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2458,\r
-        "y": 320,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "8aece160.d46958"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "b5f2de6e.0aa398",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 2640.0625,\r
-        "y": 270.8597412109375,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "8aece160.d46958",\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": 2640,\r
-        "y": 320,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "8f69272a.fd278",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 2642,\r
-        "y": 371,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "a8018aed.5af3e8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "35630785.237e1",\r
-        "type": "outcomeFalse",\r
-        "name": "false",\r
-        "xml": "<outcome value='false'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2526,\r
-        "y": 447,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            []\r
-        ]\r
-    },\r
-    {\r
-        "id": "9a292ac4.9b06e",\r
-        "type": "outcomeTrue",\r
-        "name": "true",\r
-        "xml": "<outcome value='true'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 2508,\r
-        "y": 545,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "aaa9891e.70ccc8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "a8018aed.5af3e8",\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": 2935,\r
-        "y": 318,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "ee26c76e.4e13b",\r
-                "ebfa2004.002188",\r
-                "d77341f8.228578"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ebfa2004.002188",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3208.490966796875,\r
-        "y": 210.573974609375,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "c12dc61.2210b38"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "d77341f8.228578",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3204,\r
-        "y": 260,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "bd3bae8a.af124"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "ee26c76e.4e13b",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3208,\r
-        "y": 311,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "de61d430.83d478"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "23206dde.76caa2",\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": 3173,\r
-        "y": 512,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "9e627c37.4741c8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "fc0dfed8.0cac3",\r
-        "type": "set",\r
-        "name": "set the current allotted-resource-id",\r
-        "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 2243,\r
-        "y": 223,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "c12dc61.2210b38",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 3386.0625,\r
-        "y": 210.8597412109375,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "bd3bae8a.af124",\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": 3386,\r
-        "y": 260,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "de61d430.83d478",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 3388,\r
-        "y": 311,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "c3532310.372288"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "9e627c37.4741c8",\r
-        "type": "outcome",\r
-        "name": "network-policy",\r
-        "xml": "<outcome value='network-policy'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 3364,\r
-        "y": 509,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "e7f365c6.bea78"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "e7f365c6.bea78",\r
-        "type": "block",\r
-        "name": "block : atomic",\r
-        "xml": "<block atomic=\"true\">",\r
-        "atomic": "true",\r
-        "outputs": 1,\r
-        "x": 3540.9998779296875,\r
-        "y": 501.9998779296875,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "dc98dc9c.c8fc5",\r
-                "d938d57f.cf2528"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "dc98dc9c.c8fc5",\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": 3783.9998779296875,\r
-        "y": 458.9998779296875,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "d938d57f.cf2528",\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": 3772.9998779296875,\r
-        "y": 513.9998779296875,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "21724bd7.b5773c",\r
-                "86152ffd.44c928",\r
-                "acc93ab6.b56018"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "acc93ab6.b56018",\r
-        "type": "not-found",\r
-        "name": "not-found",\r
-        "xml": "<outcome value='not-found'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4026,\r
-        "y": 400,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "958f19ed.72cb28"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "958f19ed.72cb28",\r
-        "type": "returnFailure",\r
-        "name": "return failure",\r
-        "xml": "<return 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": 4174.571533203125,\r
-        "y": 400.2857666015625,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "34514989.26e926",\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": 4173.509033203125,\r
-        "y": 444.426025390625,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "86152ffd.44c928",\r
-        "type": "failure",\r
-        "name": "failure",\r
-        "xml": "<outcome value='failure'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4014.509033203125,\r
-        "y": 444.426025390625,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "34514989.26e926"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "21724bd7.b5773c",\r
-        "type": "success",\r
-        "name": "success",\r
-        "xml": "<outcome value='success'>\n",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4021.509033203125,\r
-        "y": 523.426025390625,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "9ee2f354.296c2"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "9ee2f354.296c2",\r
-        "type": "block",\r
-        "name": "block",\r
-        "xml": "<block>\n",\r
-        "atomic": "false",\r
-        "comments": "",\r
-        "outputs": 1,\r
-        "x": 4160.509033203125,\r
-        "y": 523.426025390625,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            [\r
-                "66fe28af.a13018",\r
-                "a2cba337.578da8"\r
-            ]\r
-        ]\r
-    },\r
-    {\r
-        "id": "66fe28af.a13018",\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": 4366,\r
-        "y": 521,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "a2cba337.578da8",\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": 4365,\r
-        "y": 567,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "26d1ad19.58f772",\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": 838,\r
-        "y": 2032,\r
-        "z": "7b5a733a.b08434",\r
-        "wires": [\r
-            []\r
-        ]\r
-    }\r
+  {\r
+    "id": "25755a71.e1632e",\r
+    "type": "dgstart",\r
+    "name": "DGSTART",\r
+    "outputs": 1,\r
+    "x": 123.56666564941406,\r
+    "y": 162.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "9782b41f.c0bae8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9782b41f.c0bae8",\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": 407.85235595703125,\r
+    "y": 223.32380199432373,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "aa6f3182.becc9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "aa6f3182.becc9",\r
+    "type": "method",\r
+    "name": "method cll-vnf-topology-operation-cll-modify",\r
+    "xml": "<method rpc='cll-vnf-topology-operation-cll-modify' mode='sync'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 413.9952697753906,\r
+    "y": 308.0857238769531,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "29bc2f8.db80dd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "29bc2f8.db80dd",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 763.5666656494141,\r
+    "y": 367.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "9c0eb1ca.43b71",\r
+        "3646fbaf.66abd4",\r
+        "ab0c0a1d.943358"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9c0eb1ca.43b71",\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": 1064.900161743164,\r
+    "y": 638.0159912109375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3646fbaf.66abd4",\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": 1086.328628540039,\r
+    "y": 340.41900634765625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7f13e7b9.528038",\r
+        "21855f86.1eb1c",\r
+        "8626acaa.0dcb08"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f13e7b9.528038",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1311.328628540039,\r
+    "y": 198.41900634765625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d8a6bab4.98cd48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "21855f86.1eb1c",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1306.819595336914,\r
+    "y": 267.9930419921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "2ec478eb.d4cdf8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8626acaa.0dcb08",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1295.328628540039,\r
+    "y": 314.41900634765625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7ead638e.196dac"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "250bdb2a.4b0894",\r
+    "type": "comment",\r
+    "name": "new for TransportSlicing",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 1065.328628540039,\r
+    "y": 228.41900634765625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ab0c0a1d.943358",\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": 1053.328628540039,\r
+    "y": 280.41900634765625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d8a6bab4.98cd48",\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": 1551.566665649414,\r
+    "y": 195.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ddda0f66.6b349",\r
+        "66168207.1d9724"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2ec478eb.d4cdf8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 1461.6290435791016,\r
+    "y": 270.9454650878906,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7ead638e.196dac",\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": 1465.566665649414,\r
+    "y": 315.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ddda0f66.6b349",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1756.566665649414,\r
+    "y": 232.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "5c931c3f.aba674"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "66168207.1d9724",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1766.566665649414,\r
+    "y": 159.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5c931c3f.aba674",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1749.566665649414,\r
+    "y": 307.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "b951c0d0.48c67",\r
+        "3ae502fc.de69ae",\r
+        "7554f41e.870f04",\r
+        "b94dc7e3.86f89",\r
+        "37dc60ca.62221"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fb84a849.18463",\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": 2235.566665649414,\r
+    "y": 358.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7f791be2.0d23ec",\r
+        "6090d832.b4d3b8",\r
+        "b011647e.200f58"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f791be2.0d23ec",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2451.566665649414,\r
+    "y": 425.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "f400ea8d.94bbd8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6090d832.b4d3b8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2452.057632446289,\r
+    "y": 324.65966796875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "84744d3b.9da2a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b011647e.200f58",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2447.566665649414,\r
+    "y": 374.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d7ef13e5.e943b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b951c0d0.48c67",\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": 1952.566665649414,\r
+    "y": 339.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "4b529d8b.e7269c",\r
+        "fb84a849.18463",\r
+        "4f8a0bf3.f76a6c",\r
+        "6a76544b.f753cc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4b529d8b.e7269c",\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": 2232.566665649414,\r
+    "y": 277.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b94dc7e3.86f89",\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": 1926.566665649414,\r
+    "y": 289.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3ae502fc.de69ae",\r
+    "type": "get-resource",\r
+    "name": "get-resource pnfs-list",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v25/network/pnfs?depth=0' depth = 0\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1969.566665649414,\r
+    "y": 148.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7554f41e.870f04",\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": 1981.566665649414,\r
+    "y": 189.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c4ed6feb.870ac",\r
+    "type": "comment",\r
+    "name": "The following two nodes are for PCE",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 2006.566665649414,\r
+    "y": 101.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3fa0fea5.b1a7a2",\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": 1926.566665649414,\r
+    "y": 235.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "84744d3b.9da2a",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 2630.566665649414,\r
+    "y": 327.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d7ef13e5.e943b8",\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": 2630.504165649414,\r
+    "y": 376.2259521484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f400ea8d.94bbd8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 2632.504165649414,\r
+    "y": 427.2259521484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "3f239fa1.c0b958"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3f239fa1.c0b958",\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": 2967.504165649414,\r
+    "y": 196.22596740722656,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "b38986d.d0d7878",\r
+        "824af3e9.18d3c",\r
+        "c4ad697c.ed235"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "824af3e9.18d3c",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3240.995132446289,\r
+    "y": 88.79994201660156,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "53ebc234.9c89e4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "53ebc234.9c89e4",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 3418.566665649414,\r
+    "y": 89.08570861816406,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c4ad697c.ed235",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3236.504165649414,\r
+    "y": 138.22596740722656,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d35b45c.ac75538"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d35b45c.ac75538",\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": 3418.504165649414,\r
+    "y": 138.22596740722656,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b38986d.d0d7878",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3240.504165649414,\r
+    "y": 189.22596740722656,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "cda04f1c.b5e8e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cda04f1c.b5e8e8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3420.504165649414,\r
+    "y": 189.22596740722656,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "9d21d2af.f1a338"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9d21d2af.f1a338",\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": 2986.566665649414,\r
+    "y": 324.08570861816406,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "2a81c517.5bc7ca",\r
+        "6137d6c5.a89918"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6137d6c5.a89918",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3296.566665649414,\r
+    "y": 331.08570861816406,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2a81c517.5bc7ca",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3295.566665649414,\r
+    "y": 385.08570861816406,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "5824c72f.9c5af"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "28f331ee.9053e6",\r
+    "type": "outcome",\r
+    "name": "network-policy",\r
+    "xml": "<outcome value='network-policy'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4040.566665649414,\r
+    "y": 339.08570861816406,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "75d3715b.ab7198"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "75d3715b.ab7198",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4217.566543579102,\r
+    "y": 332.08558654785156,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ae2a4fce.8a1ea",\r
+        "2c72c44.f2aec3c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5824c72f.9c5af",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3459.566665649414,\r
+    "y": 311.08570861816406,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a5e82cdc.4d956",\r
+        "b714d40c.0dac68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a5e82cdc.4d956",\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": 3740.566665649414,\r
+    "y": 267.08570861816406,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e552898d.0c1d9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e552898d.0c1d9",\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": 4002.566665649414,\r
+    "y": 267.08570861816406,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "28f331ee.9053e6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ae2a4fce.8a1ea",\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": 4460.566543579102,\r
+    "y": 289.08558654785156,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2c72c44.f2aec3c",\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": 4449.566543579102,\r
+    "y": 344.08558654785156,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "9efeb089.3f19c",\r
+        "79f2e4c0.6b947c",\r
+        "6e1f853a.2f305c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6e1f853a.2f305c",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4780.566665649414,\r
+    "y": 252.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "4cb6456e.ff636c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4cb6456e.ff636c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4929.138198852539,\r
+    "y": 252.3714599609375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7e5b3ac6.b0f59c",\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": 4928.075698852539,\r
+    "y": 296.51171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "79f2e4c0.6b947c",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4769.075698852539,\r
+    "y": 296.51171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7e5b3ac6.b0f59c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9efeb089.3f19c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4776.075698852539,\r
+    "y": 375.51171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "826c9ce5.e54c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "826c9ce5.e54c8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4915.075698852539,\r
+    "y": 375.51171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "97cd2b3d.5361c",\r
+        "b21dac06.214a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "97cd2b3d.5361c",\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": 5120.566665649414,\r
+    "y": 373.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b21dac06.214a",\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": 5119.566665649414,\r
+    "y": 419.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b714d40c.0dac68",\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": 3557.566665649414,\r
+    "y": 383.08570861816406,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "1e5b0c1.e0c2e74"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1e5b0c1.e0c2e74",\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": 3837.566665649414,\r
+    "y": 383.08570861816406,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "4e4dff53.dcf898"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4e4dff53.dcf898",\r
+    "type": "outcome",\r
+    "name": "logical-link",\r
+    "xml": "<outcome value='logical-link'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2208.5667877197266,\r
+    "y": 814.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ac446985.9d513"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ac446985.9d513",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 2385.566665649414,\r
+    "y": 807.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "8274477.dcf57b8",\r
+        "276accab.cdfa24"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8274477.dcf57b8",\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": 2628.566665649414,\r
+    "y": 764.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "276accab.cdfa24",\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": 2617.566665649414,\r
+    "y": 819.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "650f90f1.61d618",\r
+        "627e407c.cdb6e8",\r
+        "11b910a0.ac71f7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "650f90f1.61d618",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2909.057632446289,\r
+    "y": 797.65966796875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "4873b670.d0b66"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "627e407c.cdb6e8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2897.566665649414,\r
+    "y": 842.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "24b3a747.017c5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4873b670.d0b66",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 3057.629165649414,\r
+    "y": 797.9454345703125,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "24b3a747.017c5",\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": 3056.566665649414,\r
+    "y": 842.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "11b910a0.ac71f7",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2904.566665649414,\r
+    "y": 921.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "90fde557.205cd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "90fde557.205cd",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3043.566665649414,\r
+    "y": 921.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "c9c2aba8.a4026",\r
+        "ff35ed1f.a0a938",\r
+        "85e3c5ae.d3ea4",\r
+        "f6929a04.bb038",\r
+        "aab96898.397318",\r
+        "1f6e9e43.7e8d42",\r
+        "158807bc.c2dde8",\r
+        "b53436ed.4e5d8",\r
+        "8c4c723a.871028",\r
+        "af5ed41e.3d53d8",\r
+        "ad7d5348.0e5498",\r
+        "36740b66.98fa4c",\r
+        "344dee20.fc9faa",\r
+        "8b000822.1c253",\r
+        "4b552ff.dab62d",\r
+        "76a3b118.862498",\r
+        "62eac021.71055",\r
+        "fbc065ad.333e38",\r
+        "28bc0683.b68302"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e37a586.c072528",\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": 3355.566665649414,\r
+    "y": 471.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c9c2aba8.a4026",\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": 3342.5665435791016,\r
+    "y": 563.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8b000822.1c253",\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": 3299.5665435791016,\r
+    "y": 608.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ff35ed1f.a0a938",\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": 3274.5665435791016,\r
+    "y": 671.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "85e3c5ae.d3ea4",\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": 3275.5665435791016,\r
+    "y": 726.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f6929a04.bb038",\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": 3291.5665435791016,\r
+    "y": 774.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "b38ce95d.a8d8b",\r
+        "924a9986.e8ef18",\r
+        "f99ce89.2f90198"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "aab96898.397318",\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": 3286.566665649414,\r
+    "y": 841.0855712890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "84f95296.4ca828",\r
+        "1e5b7441.b6964c",\r
+        "529168b7.ab36c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b38ce95d.a8d8b",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3532.566665649414,\r
+    "y": 602.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "b93c3fb5.8aab08"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "924a9986.e8ef18",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3528.075698852539,\r
+    "y": 651.51171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e5b21304.84d3f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f99ce89.2f90198",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3532.075698852539,\r
+    "y": 704.51171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "27a2d9bd.f2416e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b93c3fb5.8aab08",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 3681.138198852539,\r
+    "y": 601.3714599609375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e5b21304.84d3f",\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": 3671.075698852539,\r
+    "y": 651.51171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "84f95296.4ca828",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3536.566665649414,\r
+    "y": 758.0855712890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "5554565c.9228c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1e5b7441.b6964c",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3532.075698852539,\r
+    "y": 807.5115966796875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "6ebd88b9.37bc78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "529168b7.ab36c8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3515.075698852539,\r
+    "y": 855.5115966796875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a79b682c.88ba1"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5554565c.9228c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3685.138198852539,\r
+    "y": 757.371337890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6ebd88b9.37bc78",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3675.075698852539,\r
+    "y": 807.5115966796875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "27a2d9bd.f2416e",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3693.566665649414,\r
+    "y": 704.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e35dbf37.07c328"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a79b682c.88ba1",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3668.566665649414,\r
+    "y": 855.0855712890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "25d6cc4d.0a0984"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e35dbf37.07c328",\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": 3865.566665649414,\r
+    "y": 704.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "df69d2ac.c94928",\r
+        "d63273d9.506ef8",\r
+        "3dcf3da2.14e88a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "25d6cc4d.0a0984",\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": 3860.566665649414,\r
+    "y": 789.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "284fe38.7ff599c",\r
+        "574139dc.c55898",\r
+        "f46ebe04.450d9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "df69d2ac.c94928",\r
+    "type": "outcome",\r
+    "name": "ROOT",\r
+    "xml": "<outcome value='ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4026.566177368164,\r
+    "y": 440.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7ce464fa.676414"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d63273d9.506ef8",\r
+    "type": "outcome",\r
+    "name": "LEAF",\r
+    "xml": "<outcome value='LEAF'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4028.566177368164,\r
+    "y": 494.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "6bd6b0d9.b558a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "284fe38.7ff599c",\r
+    "type": "outcome",\r
+    "name": "ROOT",\r
+    "xml": "<outcome value='ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4041.565933227539,\r
+    "y": 662.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "6918e709.d57e78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "574139dc.c55898",\r
+    "type": "outcome",\r
+    "name": "LEAF",\r
+    "xml": "<outcome value='LEAF'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4043.565933227539,\r
+    "y": 716.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "688d98a0.dbdc1"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "69d167e5.40c62",\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": 4336.566177368164,\r
+    "y": 392.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e079feb5.4893f8",\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": 4329.566177368164,\r
+    "y": 490.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "81aa5c4a.edfc28",\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": 4405.565933227539,\r
+    "y": 689.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3e901a8b.2e5bae",\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": 4409.565933227539,\r
+    "y": 782.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "93aaa3a6.0ddda8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3487.566665649414,\r
+    "y": 1205.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e42413be.b1fcf8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9cfab2db.ec2e9",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3497.057632446289,\r
+    "y": 1247.6597290039062,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "b6bb4e8e.b484d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "aba7aaee.8e0cf8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3485.566665649414,\r
+    "y": 1294.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "30b7412f.1199ae"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3ca3d712.007d28",\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": 3187.566665649414,\r
+    "y": 1167.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "158807bc.c2dde8",\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": 3230.566665649414,\r
+    "y": 1232.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "93aaa3a6.0ddda8",\r
+        "9cfab2db.ec2e9",\r
+        "aba7aaee.8e0cf8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1f6e9e43.7e8d42",\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": 3219.566665649414,\r
+    "y": 1082.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "aef080fa.c114b",\r
+        "ec7d5fb1.6942b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ec7d5fb1.6942b",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3442.566665649414,\r
+    "y": 1068.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "fd803677.f63638"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "aef080fa.c114b",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3444.566665649414,\r
+    "y": 1101.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "51e88d79.18cdf4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e42413be.b1fcf8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3660.233169555664,\r
+    "y": 1204.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "4ed4fbc5.711d0c",\r
+        "90207f5c.a05dd8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b6bb4e8e.b484d",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 3650.6290435791016,\r
+    "y": 1250.9454650878906,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "30b7412f.1199ae",\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": 3654.566665649414,\r
+    "y": 1295.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4ed4fbc5.711d0c",\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": 3924.566665649414,\r
+    "y": 1255.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "db4ec7c1.fb8ff8",\r
+        "8a68098.2ae2578"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8a68098.2ae2578",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4100.566665649414,\r
+    "y": 1305.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "9f8db296.d1b7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "db4ec7c1.fb8ff8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4102.566665649414,\r
+    "y": 1369.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "19ec1ce6.638d63"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "19ec1ce6.638d63",\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": 4264.566665649414,\r
+    "y": 1365.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9f8db296.d1b7",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4265.566665649414,\r
+    "y": 1302.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "5c94bd3f.3e7f94",\r
+        "fc089afb.f44ed8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "51e88d79.18cdf4",\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": 3587.566665649414,\r
+    "y": 1098.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fd803677.f63638",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3590.566665649414,\r
+    "y": 1061.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "eccb372c.34c8d",\r
+        "98d2965b.47a9d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "eccb372c.34c8d",\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": 3764.566665649414,\r
+    "y": 1017.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "90207f5c.a05dd8",\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": 3636.566665649414,\r
+    "y": 1386.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "5a97a44a.833984"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5a97a44a.833984",\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": 3917.566665649414,\r
+    "y": 1381.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "1a323487.0d80a3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1a323487.0d80a3",\r
+    "type": "outcome",\r
+    "name": "tunnel-termination-point",\r
+    "xml": "<outcome value='tunnel-termination-point'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4228.852310180664,\r
+    "y": 1455.907470703125,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "25962334.407414"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "98d2965b.47a9d8",\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": 3779.566665649414,\r
+    "y": 1128.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "3ec80c0c.a7d6a4",\r
+        "fb8be251.80b5",\r
+        "c39223e5.81b608"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3ec80c0c.a7d6a4",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3975.0667877197266,\r
+    "y": 1080.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "cee29929.100dd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fb8be251.80b5",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3967.0667877197266,\r
+    "y": 1135.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "75204f77.c3b168"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c39223e5.81b608",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3972.0667877197266,\r
+    "y": 1192.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "24e0ef02.5cfcc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "24e0ef02.5cfcc",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4124.066787719727,\r
+    "y": 1193.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "75204f77.c3b168",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4135.066787719727,\r
+    "y": 1138.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cee29929.100dd",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4119.449111938477,\r
+    "y": 1077.7413635253906,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "20e9a108.5fcefe"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "20e9a108.5fcefe",\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": 4342.566909790039,\r
+    "y": 1216.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "4c952f98.568af8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fc089afb.f44ed8",\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": 4435.566665649414,\r
+    "y": 1260.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5c94bd3f.3e7f94",\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": 4436.566665649414,\r
+    "y": 1368.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e2e3430b.441438",\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": 4437.566665649414,\r
+    "y": 1317.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "25962334.407414",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4435.683853149414,\r
+    "y": 1456.426025390625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "c4c94be4.c4e6d8",\r
+        "778cb9b9.8f8fe8",\r
+        "bf204b7b.9bfdb"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c4c94be4.c4e6d8",\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": 4650.683853149414,\r
+    "y": 1418.426025390625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "778cb9b9.8f8fe8",\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": 4647.683853149414,\r
+    "y": 1457.426025390625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ec4224f7.9e7cd8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bf204b7b.9bfdb",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 4603.183853149414,\r
+    "y": 1499.426025390625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ec4224f7.9e7cd8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4828.183853149414,\r
+    "y": 1456.426025390625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "582de34f.7fb28c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "594a82b5.27abf4",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4740.566909790039,\r
+    "y": 1220.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "66078b.852b6874"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "66078b.852b6874",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4917.566909790039,\r
+    "y": 1212.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "845ac8fd.748f28",\r
+        "83b24a05.2f8a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4c952f98.568af8",\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": 4537.566909790039,\r
+    "y": 1216.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "594a82b5.27abf4",\r
+        "5ed6730.6c8c00c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5ed6730.6c8c00c",\r
+    "type": "outcome",\r
+    "name": "network-resource",\r
+    "xml": "<outcome value='network-resource'>",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4606.566909790039,\r
+    "y": 1290.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "4c5161e.9fd722"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4c5161e.9fd722",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4802.566909790039,\r
+    "y": 1290.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "56b33693.b47598"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "582de34f.7fb28c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4986.183853149414,\r
+    "y": 1456.426025390625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "85577907.9676c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "85577907.9676c",\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": 5193.183853149414,\r
+    "y": 1456.426025390625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "83b24a05.2f8a",\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": 5142.566909790039,\r
+    "y": 1208.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "713c5be.b2c37a4",\r
+        "d56276.26041588",\r
+        "196389ff.ab755e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "845ac8fd.748f28",\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": 5172.566909790039,\r
+    "y": 1156.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "713c5be.b2c37a4",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5352.566909790039,\r
+    "y": 1199.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d0702051.0907f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d56276.26041588",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5344.566909790039,\r
+    "y": 1254.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "8b99771a.c5d7d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "196389ff.ab755e",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5349.566909790039,\r
+    "y": 1311.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a51c05da.8af508"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a51c05da.8af508",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5501.566909790039,\r
+    "y": 1312.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8b99771a.c5d7d8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5512.566909790039,\r
+    "y": 1257.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d0702051.0907f",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5496.949234008789,\r
+    "y": 1196.7413635253906,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "2f7031d3.9cf0ee"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "56b33693.b47598",\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": 5065.566909790039,\r
+    "y": 1293.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2f7031d3.9cf0ee",\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": 5683.566909790039,\r
+    "y": 1193.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f189d378.846e88",\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": 4324.566177368164,\r
+    "y": 428.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b971caad.98e088",\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": 4315.566177368164,\r
+    "y": 526.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7ce464fa.676414",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4149.566177368164,\r
+    "y": 434.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "69d167e5.40c62",\r
+        "f189d378.846e88"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6bd6b0d9.b558a",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4155.566177368164,\r
+    "y": 498.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e079feb5.4893f8",\r
+        "b971caad.98e088"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6918e709.d57e78",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4169.565933227539,\r
+    "y": 662.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "81aa5c4a.edfc28",\r
+        "94706e58.1662e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "688d98a0.dbdc1",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4172.565933227539,\r
+    "y": 715.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "3e901a8b.2e5bae",\r
+        "fa86abe3.b1432"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "94706e58.1662e",\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": 4391.565933227539,\r
+    "y": 729.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fa86abe3.b1432",\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": 4394.565933227539,\r
+    "y": 820.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "86d40228.e6791",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3550.566665649414,\r
+    "y": 1766.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "6a32c154.ba6f4",\r
+        "1782aa9f.237955"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9ec80efb.c2577",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3377.900161743164,\r
+    "y": 1767.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "86d40228.e6791"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "43e3fed6.1297b8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3387.391128540039,\r
+    "y": 1809.6597290039062,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "334a1379.e9843c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1f47b68f.a8eef1",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3375.900161743164,\r
+    "y": 1856.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "5bb133ac.e78e0c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "334a1379.e9843c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 3540.9625396728516,\r
+    "y": 1812.9454650878906,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5bb133ac.e78e0c",\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": 3544.900161743164,\r
+    "y": 1857.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6a32c154.ba6f4",\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": 3836.900161743164,\r
+    "y": 1770.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ca43a356.ba0b08",\r
+        "e66d0b8d.a97b4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e66d0b8d.a97b4",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4059.900161743164,\r
+    "y": 1725.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "fd8de530.926928"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ca43a356.ba0b08",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4061.900161743164,\r
+    "y": 1789.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ac8c9391.216608"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ac8c9391.216608",\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": 4220.900161743164,\r
+    "y": 1808.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fd8de530.926928",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4224.900161743164,\r
+    "y": 1722.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "23cc210e.ee0c06",\r
+        "6fca06b.e0d07f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8c4c723a.871028",\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": 3149.900161743164,\r
+    "y": 1802.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "9ec80efb.c2577",\r
+        "43e3fed6.1297b8",\r
+        "1f47b68f.a8eef1"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "24043c86.21d3b4",\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": 3110.900161743164,\r
+    "y": 1746.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b53436ed.4e5d8",\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": 3162.900161743164,\r
+    "y": 1548.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "b0d17fd7.22179",\r
+        "dd9d4fb5.ef81d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "dd9d4fb5.ef81d",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3385.900161743164,\r
+    "y": 1534.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "b04c1433.ec2b4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b0d17fd7.22179",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3387.900161743164,\r
+    "y": 1567.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "774ab139.4714d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "774ab139.4714d",\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": 3530.900161743164,\r
+    "y": 1564.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b04c1433.ec2b4",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3533.900161743164,\r
+    "y": 1527.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "1e9a896f.f9bc1f",\r
+        "93b99c7d.fb3988"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1e9a896f.f9bc1f",\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": 3727.900161743164,\r
+    "y": 1530.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1782aa9f.237955",\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": 3780.900161743164,\r
+    "y": 1889.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "2e3481a6.9bb10e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2e3481a6.9bb10e",\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": 3986.900161743164,\r
+    "y": 1889.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "6540c5f1.0a5994"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6540c5f1.0a5994",\r
+    "type": "outcome",\r
+    "name": "tunnel-termination-point",\r
+    "xml": "<outcome value='tunnel-termination-point'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4204.185806274414,\r
+    "y": 1887.907470703125,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "95bcf360.d32c3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "93b99c7d.fb3988",\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": 3749.900161743164,\r
+    "y": 1598.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "56130ba2.c1cf54",\r
+        "ae8939cc.fc31",\r
+        "2a03aebc.9defb2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "56130ba2.c1cf54",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3945.4002838134766,\r
+    "y": 1550.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d6a55773.4a4c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ae8939cc.fc31",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3937.4002838134766,\r
+    "y": 1605.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "9b459bcd.2098d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2a03aebc.9defb2",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3942.4002838134766,\r
+    "y": 1662.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "649fe73e.2ce088"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "649fe73e.2ce088",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4094.4002838134766,\r
+    "y": 1663.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9b459bcd.2098d",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4105.400283813477,\r
+    "y": 1608.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d6a55773.4a4c",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4089.7826080322266,\r
+    "y": 1547.7414855957031,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "bede9152.115d78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "23cc210e.ee0c06",\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": 4394.900161743164,\r
+    "y": 1683.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6fca06b.e0d07f8",\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": 4395.900161743164,\r
+    "y": 1788.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "69bceee8.94dc1",\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": 4390.900161743164,\r
+    "y": 1737.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "95bcf360.d32c3",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4411.017349243164,\r
+    "y": 1877.4261474609375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d7309d49.1473f8",\r
+        "2eed2e93.5097fa",\r
+        "930eaed5.6d5ba"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d7309d49.1473f8",\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": 4626.017349243164,\r
+    "y": 1839.4261474609375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2eed2e93.5097fa",\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": 4623.017349243164,\r
+    "y": 1878.4261474609375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "2f95459c.265a5a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "930eaed5.6d5ba",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 4578.517349243164,\r
+    "y": 1920.4261474609375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2f95459c.265a5a",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4803.517349243164,\r
+    "y": 1877.4261474609375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d078b0a.68a52d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d078b0a.68a52d",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4961.517349243164,\r
+    "y": 1877.4261474609375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "30e98951.5e07a6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "30e98951.5e07a6",\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": 5168.517349243164,\r
+    "y": 1877.4261474609375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "981701b9.ec871",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4671.900161743164,\r
+    "y": 1566.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d77b06b.6f4d6f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d77b06b.6f4d6f8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4848.900161743164,\r
+    "y": 1558.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "3a0f923c.08de3e",\r
+        "973e1032.2176f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bede9152.115d78",\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": 4273.900161743164,\r
+    "y": 1562.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "fdc36db2.a87e28"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fdc36db2.a87e28",\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": 4468.900161743164,\r
+    "y": 1562.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "981701b9.ec871",\r
+        "be6d1ad1.f19078"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "973e1032.2176f8",\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": 5056.900161743164,\r
+    "y": 1565.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ca9140fb.c087c8",\r
+        "6d0312aa.d002b4",\r
+        "f05eee5.baf501"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6e647d31.2d49bc",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4850.900161743164,\r
+    "y": 1631.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e3a19b14.5a697"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "be6d1ad1.f19078",\r
+    "type": "outcome",\r
+    "name": "network-resource",\r
+    "xml": "<outcome value='network-resource'>",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4673.900161743164,\r
+    "y": 1639.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "6e647d31.2d49bc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3a0f923c.08de3e",\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": 5086.900161743164,\r
+    "y": 1513.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e3a19b14.5a697",\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": 5032.900161743164,\r
+    "y": 1695.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ca9140fb.c087c8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5266.900161743164,\r
+    "y": 1556.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "b8d407f0.fa2f2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6d0312aa.d002b4",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5258.900161743164,\r
+    "y": 1611.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "4b944ffd.e25418"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f05eee5.baf501",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5263.900161743164,\r
+    "y": 1668.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ee8e04d7.272aa8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ee8e04d7.272aa8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5415.900161743164,\r
+    "y": 1669.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4b944ffd.e25418",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5426.900161743164,\r
+    "y": 1614.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b8d407f0.fa2f2",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5411.282485961914,\r
+    "y": 1553.7414855957031,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "6d9ea0b0.8eb598"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6d9ea0b0.8eb598",\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": 5625.900161743164,\r
+    "y": 1550.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "af5ed41e.3d53d8",\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": 3214.566665649414,\r
+    "y": 1372.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8ca11cdb.f07238",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4491.566177368164,\r
+    "y": 512.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d8ad8c3e.d0237",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4559.565933227539,\r
+    "y": 714.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ad7d5348.0e5498",\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": 3110.566665649414,\r
+    "y": 1933.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "36740b66.98fa4c",\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": 3372.566665649414,\r
+    "y": 2846.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "344dee20.fc9faa",\r
+    "type": "switchNode",\r
+    "name": "switch found-middle-man?",\r
+    "xml": "<switch test='`$found-middle-man`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3249.566665649414,\r
+    "y": 2956.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ae20b5d5.d95098",\r
+        "c9495f1c.3bc2f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ae20b5d5.d95098",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3433.566665649414,\r
+    "y": 2935.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "dbad0754.935cf"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c9495f1c.3bc2f8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2969.566665649414,\r
+    "y": 4521.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "89fb91c7.4bd6f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "10e6ecec.11b933",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3480.566665649414,\r
+    "y": 5106.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "965aea89.b04fc8",\r
+        "f18404c6.f7135",\r
+        "e65dde18.8f2e28",\r
+        "1e648504.a919f3",\r
+        "518cc181.03ac48",\r
+        "3f0ddd6.f3f1022"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "dbad0754.935cf",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6146.566665649414,\r
+    "y": 1755.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "36824bf8.d68ef4",\r
+        "2dc163c.5688f1c",\r
+        "aefc0847.3297e8",\r
+        "f9d64859.5035b",\r
+        "378565ef.1147ba",\r
+        "ea2b2456.c327d",\r
+        "41693c79.da7d5c",\r
+        "632a01d1.5b8d1",\r
+        "3ebd5a04.12a166",\r
+        "f08579e.3888c08",\r
+        "c49cd07d.45dca",\r
+        "64b31039.d88b18",\r
+        "9f309da2.930198",\r
+        "bc5b333d.5b219",\r
+        "4ee4ed66.f0512c",\r
+        "11738810.45add",\r
+        "997f20e4.966598",\r
+        "90ca3b9e.d9782",\r
+        "99bc893b.a732e",\r
+        "98d8658a.1dab08",\r
+        "d8f4cd5c.153e9",\r
+        "96928e3.987df7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3ebd5a04.12a166",\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": 6517.566665649414,\r
+    "y": 1678.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "36824bf8.d68ef4",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $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": 6471.566665649414,\r
+    "y": 1776.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2dc163c.5688f1c",\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": 6607.566665649414,\r
+    "y": 1823.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c7f7058b.2d43",\r
+    "type": "comment",\r
+    "name": "Create ROOT connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6438.566665649414,\r
+    "y": 1627.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "288fb927.99235e",\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": 6934.566665649414,\r
+    "y": 2363.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "aefc0847.3297e8",\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": 6498.566665649414,\r
+    "y": 2402.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f9d64859.5035b",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-middle-man-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-middle-man-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<!--The followings are not needed for the middle-man-connectivity-->\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='mdsc' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $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": 6446.566665649414,\r
+    "y": 2453.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "378565ef.1147ba",\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": 6582.566665649414,\r
+    "y": 2500.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "718897ce.fb3b1",\r
+    "type": "comment",\r
+    "name": "Create MIDDLE-MAN connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6439.566665649414,\r
+    "y": 2362.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "42817fe0.95098",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6869.566665649414,\r
+    "y": 2559.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ea2b2456.c327d",\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": 6460.566665649414,\r
+    "y": 2606.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7708ed16.f5264c",\r
+        "77c895d1.87f4a4",\r
+        "866d7f4e.404768"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7708ed16.f5264c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6707.566665649414,\r
+    "y": 2560.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "42817fe0.95098"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "77c895d1.87f4a4",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6708.057632446289,\r
+    "y": 2605.6597290039062,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "372888d7.b266f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "866d7f4e.404768",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6705.566665649414,\r
+    "y": 2649.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "5cb60ec5.ffb7e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "372888d7.b266f8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 6870.629043579102,\r
+    "y": 2605.9454650878906,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5cb60ec5.ffb7e8",\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": 6874.566665649414,\r
+    "y": 2650.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4ee4ed66.f0512c",\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": 6514.566665649414,\r
+    "y": 2922.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "11738810.45add",\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": 6517.566665649414,\r
+    "y": 2967.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "90ca3b9e.d9782",\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": 6509.566665649414,\r
+    "y": 2721.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "99bc893b.a732e",\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": 6511.566665649414,\r
+    "y": 2768.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ce999bfb.8752f",\r
+    "type": "comment",\r
+    "name": "The following two will be done in F1",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6430.566665649414,\r
+    "y": 2875.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "618f9b48.ad8ea4",\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": 4430.566909790039,\r
+    "y": 5268.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "965aea89.b04fc8",\r
+    "type": "switchNode",\r
+    "name": "switch no-pce-call",\r
+    "xml": "<switch test='`$no-pce-call`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3695.566665649414,\r
+    "y": 5087.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "c53bf166.c2e718",\r
+        "936c4fdb.103588"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "936c4fdb.103588",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3867.566665649414,\r
+    "y": 5084.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "8b1c5fc9.627c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c53bf166.c2e718",\r
+    "type": "outcomeFalse",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3819.566665649414,\r
+    "y": 5931.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "eab327e7.a5f748"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3f493e72.b6d702",\r
+    "type": "comment",\r
+    "name": "1 --> PCE is needed",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3880.566665649414,\r
+    "y": 5054.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4859c2db.d9b9e4",\r
+    "type": "comment",\r
+    "name": "2 --> no need to call PCE",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3890.566665649414,\r
+    "y": 5889.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "41693c79.da7d5c",\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": 6516.566665649414,\r
+    "y": 3101.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8b1c5fc9.627c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4043.566665649414,\r
+    "y": 5086.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a815fc28.26a0f",\r
+        "8b2580e9.dc4908",\r
+        "63429691.f224b",\r
+        "2532ed2.07c3292",\r
+        "d070f297.71c91",\r
+        "d66ee6cb.59aee8",\r
+        "618f9b48.ad8ea4",\r
+        "4f6ebd11.7928d4",\r
+        "53cb53b2.198aa4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7eea77d.c16dd08",\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": 5487.566421508789,\r
+    "y": 5011.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a815fc28.26a0f",\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": 4289.566909790039,\r
+    "y": 5767.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "632a01d1.5b8d1",\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": 6523.566665649414,\r
+    "y": 2017.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5eff9d93.842974",\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": 6573.566665649414,\r
+    "y": 1720.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f08579e.3888c08",\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": 6520.566665649414,\r
+    "y": 1308.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c49cd07d.45dca",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $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": 6468.566665649414,\r
+    "y": 1356.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "64b31039.d88b18",\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": 6596.566665649414,\r
+    "y": 1403.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "6013e30e.dd851c",\r
+    "type": "comment",\r
+    "name": "Create LEAF connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6433.566665649414,\r
+    "y": 1266.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9f309da2.930198",\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<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6430.566665649414,\r
+    "y": 1494.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "bc5b333d.5b219",\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": 6523.566665649414,\r
+    "y": 1547.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "cdd019be.ce295",\r
+    "type": "comment",\r
+    "name": "Create LEAF UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6414.566665649414,\r
+    "y": 1450.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "aeaa5a0f.0b3cf",\r
+    "type": "comment",\r
+    "name": "Create ROOT UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6420.566665649414,\r
+    "y": 1900.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2532ed2.07c3292",\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<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4356.566421508789,\r
+    "y": 5019.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "3a34d279.a99216",\r
+    "type": "comment",\r
+    "name": "Create LEAF UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4340.566421508789,\r
+    "y": 4975.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4c6450c4.cdb8b8",\r
+    "type": "comment",\r
+    "name": "Create LEAF connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5087.566421508789,\r
+    "y": 5006.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d6b231ff.4e48",\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": 5174.566421508789,\r
+    "y": 5048.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e479d260.5097c",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$middle-man-conn.etht-svc-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $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": 5122.566421508789,\r
+    "y": 5096.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c8a578a.1c83e08",\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": 5250.566421508789,\r
+    "y": 5143.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d66ee6cb.59aee8",\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": 4418.566909790039,\r
+    "y": 5310.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "85a1c373.0d0068",\r
+    "type": "comment",\r
+    "name": "populate connectivity-B variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4401.566909790039,\r
+    "y": 5372.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8b2580e9.dc4908",\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": 4512.566909790039,\r
+    "y": 5414.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2bc22db1.d483d2",\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": 4969.566421508789,\r
+    "y": 5585.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "47c00ee.a0fdbf",\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": 4279.566421508789,\r
+    "y": 6283.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "afc7e373.9dd788",\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<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4212.566421508789,\r
+    "y": 6237.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "13eeaed2.223169",\r
+    "type": "comment",\r
+    "name": "Create LEAF UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4161.566421508789,\r
+    "y": 6188.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9fd3ad0c.c5f0a",\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": 4944.566665649414,\r
+    "y": 6394.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "63429691.f224b",\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": 4339.566909790039,\r
+    "y": 5471.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "4766abce.851ac4",\r
+        "ca35b158.85d38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4766abce.851ac4",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4550.566909790039,\r
+    "y": 5471.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "2ab4c487.b40124"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2ab4c487.b40124",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4706.566909790039,\r
+    "y": 5467.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "2bc22db1.d483d2",\r
+        "b27ea187.400a38",\r
+        "ca1c65a6.dca85"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ca35b158.85d38",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4546.566909790039,\r
+    "y": 5519.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e1bf2cff.d57f2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e1bf2cff.d57f2",\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": 4694.566909790039,\r
+    "y": 5514.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b408049f.7933a",\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": 5211.566421508789,\r
+    "y": 5214.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "4f8a0bf3.f76a6c",\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": 2378.566665649414,\r
+    "y": 173.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "6a76544b.f753cc",\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": 2312.566665649414,\r
+    "y": 209.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "23b662d9.16701e",\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": 2497.566665649414,\r
+    "y": 136.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3d0b458a.f9a2a2",\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": 4246.566421508789,\r
+    "y": 6349.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a3e7b437.8026b",\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": 4379.566421508789,\r
+    "y": 6397.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2ab2c1b2.c4462e",\r
+    "type": "switchNode",\r
+    "name": "switch found-connectivity?",\r
+    "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4198.566421508789,\r
+    "y": 6455.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "6310145f.4f2a84",\r
+        "deaf1bfa.406858"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6310145f.4f2a84",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4391.566421508789,\r
+    "y": 6456.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "92986ec9.51c668"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "92986ec9.51c668",\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": 4547.566421508789,\r
+    "y": 6453.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "deaf1bfa.406858",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4395.566421508789,\r
+    "y": 6500.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a4ec2716.41f19"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a4ec2716.41f19",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4534.566421508789,\r
+    "y": 6495.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "9fd3ad0c.c5f0a",\r
+        "4aae1198.db26d8",\r
+        "b8ff0583.7b229",\r
+        "35f40d66.777f92",\r
+        "4c2ed97e.80e7a8",\r
+        "1d9d64e4.a08beb",\r
+        "fb131710.b3fbe",\r
+        "fa9aa1ff.8bf6e",\r
+        "c8446998.29dfe",\r
+        "a215a7d6.657bc8",\r
+        "977f17a0.9f41a",\r
+        "5d58f01d.864e08",\r
+        "ecfaffd6.100b2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fb131710.b3fbe",\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": 4731.566421508789,\r
+    "y": 7174.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "cd8a8557.f7b3c8",\r
+        "49f465a0.b6d20c",\r
+        "5fdb4c32.46cfb4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cd8a8557.f7b3c8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4926.566635131836,\r
+    "y": 7150.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7e4f80d.5c6488"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "49f465a0.b6d20c",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4919.057601928711,\r
+    "y": 7186.659698486328,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "80117652.9958b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5fdb4c32.46cfb4",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4916.566635131836,\r
+    "y": 7230.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7193c18c.ae073"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7e4f80d.5c6488",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5098.566635131836,\r
+    "y": 7148.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d9a6ee9f.5c31f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "80117652.9958b8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5081.629013061523,\r
+    "y": 7186.9454345703125,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7193c18c.ae073",\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": 5083.566635131836,\r
+    "y": 7229.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d9a6ee9f.5c31f8",\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": 5339.566421508789,\r
+    "y": 7182.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "9aea7b31.b501a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9aea7b31.b501a8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5576.566421508789,\r
+    "y": 7178.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "686e53e3.1ad1dc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2df6b745.3fe8d",\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": 5843.566421508789,\r
+    "y": 7144.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "3835a5ae.8b815a",\r
+        "a4db2f80.721418"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3835a5ae.8b815a",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6024.566421508789,\r
+    "y": 7170.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "686e53e3.1ad1dc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a4db2f80.721418",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6023.566421508789,\r
+    "y": 7123.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "686e53e3.1ad1dc",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4540.566635131836,\r
+    "y": 7318.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a6487ee6.2cb7c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "380ab70.5227a4a",\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": 5616.566421508789,\r
+    "y": 7350.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a81b3e84.443f78",\r
+    "type": "comment",\r
+    "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4829.566635131836,\r
+    "y": 7086.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1d9d64e4.a08beb",\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": 4713.566421508789,\r
+    "y": 6970.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b1c30fd3.1d3b28",\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": 5058.566421508789,\r
+    "y": 6801.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "886001f.2b8eb8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "886001f.2b8eb8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5278.566421508789,\r
+    "y": 6807.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7a4c6acb.556084"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7a4c6acb.556084",\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": 5463.566421508789,\r
+    "y": 6806.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "801921d3.c16518"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "801921d3.c16518",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5655.566421508789,\r
+    "y": 6809.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a260b342.bdfc38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a260b342.bdfc38",\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": 5864.566421508789,\r
+    "y": 6807.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fa9aa1ff.8bf6e",\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": 4765.566421508789,\r
+    "y": 6795.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "b1c30fd3.1d3b28"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b8ff0583.7b229",\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": 4773.566421508789,\r
+    "y": 6688.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "be4d0129.981f9",\r
+        "ca7acc4e.a2f178",\r
+        "e6834a18.c1bb18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "be4d0129.981f9",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5009.566421508789,\r
+    "y": 6671.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ca7acc4e.a2f178",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5006.566421508789,\r
+    "y": 6712.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e6834a18.c1bb18",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5020.566421508789,\r
+    "y": 6752.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "35f40d66.777f92",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4709.566421508789,\r
+    "y": 6847.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4c2ed97e.80e7a8",\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": 4717.566421508789,\r
+    "y": 6905.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4aae1198.db26d8",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4722.566421508789,\r
+    "y": 6645.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3d77fed3.ca6eba",\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": 4837.566421508789,\r
+    "y": 6597.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a6487ee6.2cb7c",\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": 4830.566635131836,\r
+    "y": 7313.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ae63bb37.54dac",\r
+        "b4511f5d.149aa8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ae63bb37.54dac",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5086.566635131836,\r
+    "y": 7285.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "81398bf4.473028"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b4511f5d.149aa8",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5086.566635131836,\r
+    "y": 7334.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7de65a32.2588c4",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5352.566635131836,\r
+    "y": 7326.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "f817cc8b.d031a",\r
+        "380ab70.5227a4a",\r
+        "c6c09e71.9092c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1d61af20.5c7829",\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": 5744.566421508789,\r
+    "y": 7404.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c6c09e71.9092c",\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": 5714.566421508789,\r
+    "y": 7464.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f817cc8b.d031a",\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": 5621.566421508789,\r
+    "y": 7292.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "eab327e7.a5f748",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3971.566665649414,\r
+    "y": 5930.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "afc7e373.9dd788",\r
+        "3d0b458a.f9a2a2",\r
+        "a3e7b437.8026b",\r
+        "2ab2c1b2.c4462e",\r
+        "47c00ee.a0fdbf"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b8d2a9f2.b00c88",\r
+    "type": "set",\r
+    "name": "unset otnTopoIdSrc",\r
+    "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
+    "comments": "",\r
+    "x": 4714.566421508789,\r
+    "y": 6745.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c8446998.29dfe",\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": 4837.566665649414,\r
+    "y": 6475.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "13d35835.cdbb2",\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": 4974.566665649414,\r
+    "y": 6425.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "997f20e4.966598",\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<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6436.566665649414,\r
+    "y": 1959.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5c8518bd.0a436",\r
+    "type": "comment",\r
+    "name": "NOT NEEDED ANYMORE?",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3702.566665649414,\r
+    "y": 1353.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "53a463ea.1b0834",\r
+    "type": "comment",\r
+    "name": "NOT NEEDED ANYMORE?",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3840.566665649414,\r
+    "y": 1841.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "53592f4d.08ea8",\r
+    "type": "comment",\r
+    "name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6397.566665649414,\r
+    "y": 2671.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f18404c6.f7135",\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": 3689.566665649414,\r
+    "y": 4947.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e65dde18.8f2e28",\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": 3822.566665649414,\r
+    "y": 4995.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d070f297.71c91",\r
+    "type": "switchNode",\r
+    "name": "switch found-connectivity?",\r
+    "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4367.566421508789,\r
+    "y": 5075.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "dbaff1f0.67394",\r
+        "46c5a5e9.bca6a4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "dbaff1f0.67394",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4560.566421508789,\r
+    "y": 5076.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "df79a6f0.9fe378"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "46c5a5e9.bca6a4",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4564.566421508789,\r
+    "y": 5120.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "6414d7e3.ee4fd8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6414d7e3.ee4fd8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4703.566421508789,\r
+    "y": 5115.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "49c135f9.c35534",\r
+        "bf0f6300.a67238",\r
+        "fa0dda8.0253328"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "df79a6f0.9fe378",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4703.566421508789,\r
+    "y": 5072.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d6b231ff.4e48",\r
+        "e479d260.5097c",\r
+        "c8a578a.1c83e08",\r
+        "b408049f.7933a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "49c135f9.c35534",\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": 5097.566421508789,\r
+    "y": 5366.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f2d57861.b7d18",\r
+    "type": "comment",\r
+    "name": "populate connectivity-A variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5104.566421508789,\r
+    "y": 5320.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a215a7d6.657bc8",\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": 4894.566635131836,\r
+    "y": 7035.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "bf0f6300.a67238",\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": 5216.566421508789,\r
+    "y": 5419.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "b27ea187.400a38",\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": 5098.566421508789,\r
+    "y": 5637.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "737e14df.0bf7ac",\r
+    "type": "comment",\r
+    "name": "Update ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3644.566665649414,\r
+    "y": 4396.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fe6ea6fb.83ee2",\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": 3978.566665649414,\r
+    "y": 4579.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1e648504.a919f3",\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": 3590.566665649414,\r
+    "y": 4446.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "dc9ef631.89f33",\r
+        "9e45960a.d8b928",\r
+        "febbc6eb.2448e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9e45960a.d8b928",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3818.057632446289,\r
+    "y": 4418.65966796875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "5d25632c.1d5374"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "febbc6eb.2448e",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3813.566665649414,\r
+    "y": 4463.085632324219,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e99a952e.00d7c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5d25632c.1d5374",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 3980.629165649414,\r
+    "y": 4417.945373535156,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e99a952e.00d7c",\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": 3981.566665649414,\r
+    "y": 4463.085632324219,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1d77f10f.5baf67",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3766.566665649414,\r
+    "y": 4536.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "35c9f98a.610e5e",\r
+        "fe6ea6fb.83ee2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "dc9ef631.89f33",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3597.566665649414,\r
+    "y": 4536.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "1d77f10f.5baf67"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "35c9f98a.610e5e",\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": 3955.566665649414,\r
+    "y": 4528.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "518cc181.03ac48",\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": 3797.566665649414,\r
+    "y": 4823.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5a5e18e8.ffce08",\r
+    "type": "comment",\r
+    "name": "We are doing modify but middle man does not exist ==> it is definitely a new logical link",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3580.566665649414,\r
+    "y": 2906.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "47f11a92.b8ee4c",\r
+    "type": "comment",\r
+    "name": "We are doing modify and middle man exists, check if LEAF UNI already exists in AAI or not. If yes, consider the possible bw change. If it does not, then it is a new link needs to be added",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 2785.566665649414,\r
+    "y": 4468.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a9808de.46ae97",\r
+    "type": "exists",\r
+    "name": "exists LEAF UNI",\r
+    "xml": "<exists plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3208.566665649414,\r
+    "y": 4741.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "8236161f.361ec",\r
+        "f42c8ef.5dab47"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "89fb91c7.4bd6f",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3040.566665649414,\r
+    "y": 4744.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a9808de.46ae97"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f42c8ef.5dab47",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3371.566665649414,\r
+    "y": 4760.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "10e6ecec.11b933"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8236161f.361ec",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3407.566665649414,\r
+    "y": 3367.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ac1b2d90.391b98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f9e3f20c.6b5eb8",\r
+    "type": "switchNode",\r
+    "name": "switch leafuni.data-source == gfp",\r
+    "xml": "<switch test='`$tmp.aai.leafuni.data-source == $gfp`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3756.566665649414,\r
+    "y": 3209.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "872bd81a.d26528",\r
+        "9b2249c8.bc9018"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "872bd81a.d26528",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3961.566665649414,\r
+    "y": 3205.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9b2249c8.bc9018",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3963.566665649414,\r
+    "y": 3255.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "dff51b02.8733d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "dff51b02.8733d8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4119.566665649414,\r
+    "y": 3261.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "5f4129be.00541",\r
+        "7f1b37a2.172688",\r
+        "71ab4f0e.2a007",\r
+        "8aeeffc.718ae8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5f4129be.00541",\r
+    "type": "set",\r
+    "name": "set bwModified",\r
+    "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4345.566909790039,\r
+    "y": 3002.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d8ea64.968cf5a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4844.566390991211,\r
+    "y": 4299.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "140b25e4.abc76a",\r
+        "c4a242e7.6ad35"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c4a242e7.6ad35",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
+    "comments": "",\r
+    "x": 5046.566146850586,\r
+    "y": 4266.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f3c554f9.aa8de8",\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": 4730.566635131836,\r
+    "y": 4476.085418701172,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a2deddc2.51b4b8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4727.628768920898,\r
+    "y": 4424.9454345703125,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2a1af9c0.1651de",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4310.566390991211,\r
+    "y": 4299.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "6645febe.81a0d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6645febe.81a0d",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4515.566390991211,\r
+    "y": 4299.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "1ad63798.bccb8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1ad63798.bccb8",\r
+    "type": "outcome",\r
+    "name": "vpn-binding",\r
+    "xml": "<outcome value='vpn-binding'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4681.566390991211,\r
+    "y": 4299.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d8ea64.968cf5a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "140b25e4.abc76a",\r
+    "type": "save",\r
+    "name": "get vpn-binding from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4353.566390991211,\r
+    "y": 4377.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d5aa2b23.abf14",\r
+        "b25d8065.0eeb5",\r
+        "2e5be567.2683ca"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d5aa2b23.abf14",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4564.566390991211,\r
+    "y": 4379.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "dbaf0410.536798"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b25d8065.0eeb5",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4565.057357788086,\r
+    "y": 4424.659698486328,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a2deddc2.51b4b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2e5be567.2683ca",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4562.566390991211,\r
+    "y": 4468.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "f3c554f9.aa8de8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ac1b2d90.391b98",\r
+    "type": "save",\r
+    "name": "get LEAF uni from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.LEAF.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.leafuni\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3630.566665649414,\r
+    "y": 3052.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "518020a8.e5908",\r
+        "2f37bf62.6d766",\r
+        "1d68f74a.0ce429"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2f37bf62.6d766",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3858.057632446289,\r
+    "y": 3024.65966796875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a23311e6.197e98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1d68f74a.0ce429",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3853.566665649414,\r
+    "y": 3069.0856323242188,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "1f7edc05.06419c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a23311e6.197e98",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4020.629165649414,\r
+    "y": 3023.9453735351562,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1f7edc05.06419c",\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": 4021.566665649414,\r
+    "y": 3069.0856323242188,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "518020a8.e5908",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3865.566665649414,\r
+    "y": 3119.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "f9e3f20c.6b5eb8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3597d7fb.9d9fd",\r
+    "type": "comment",\r
+    "name": "Find LEAF and ROOT connectivity, then find vpn-bindings of each. adjust bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3755.449996948242,\r
+    "y": 3309.969024658203,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8b55165.21410e8",\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": 3737.166763305664,\r
+    "y": 3871.76904296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d35d1b04.286b5",\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": 3875.166763305664,\r
+    "y": 3929.76904296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f1b37a2.172688",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3453.166763305664,\r
+    "y": 3611.1689453125,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "2d37a713.1c4278",\r
+        "c7b27212.2f5b88",\r
+        "aaa5f9ec.d9ed6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "26c98beb.9e8714",\r
+    "type": "switchNode",\r
+    "name": "switch found-connectivity?",\r
+    "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3694.166763305664,\r
+    "y": 4039.569091796875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "757df358.1ab404",\r
+        "46ca33dc.1a72ec"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "757df358.1ab404",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3887.166763305664,\r
+    "y": 4040.569091796875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "43e4ef70.2c83f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "46ca33dc.1a72ec",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3891.166763305664,\r
+    "y": 4084.569091796875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7ecc7e99.a8f718"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7ecc7e99.a8f718",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4030.166763305664,\r
+    "y": 4079.569091796875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "2a1af9c0.1651de"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "43e4ef70.2c83f",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
+    "comments": "",\r
+    "x": 4031.166763305664,\r
+    "y": 4036.76904296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "71ab4f0e.2a007",\r
+    "type": "switchNode",\r
+    "name": "switch leafuni.data-source > gfp",\r
+    "xml": "<switch test='`$tmp.aai.leafuni.data-source > $gfp`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4379.283706665039,\r
+    "y": 3258.369140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e5e20266.b6ad18",\r
+        "fa7ec0d3.484e4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e5e20266.b6ad18",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4578.450698852539,\r
+    "y": 3324.968994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "c400bc3c.ac5968"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fa7ec0d3.484e4",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4600.450698852539,\r
+    "y": 3169.968994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "f79a9470.53a4c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8aeeffc.718ae8",\r
+    "type": "save",\r
+    "name": "update LEAF UNI in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4378.283706665039,\r
+    "y": 3113.569091796875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "b6c5ddb8.eb856",\r
+    "type": "comment",\r
+    "name": "update LEAF UNI with the new bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4394.450698852539,\r
+    "y": 3066.968994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ab07d3e7.b0f788",\r
+    "type": "comment",\r
+    "name": "Update ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4949.216567993164,\r
+    "y": 2521.968994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6a6aa672.a79588",\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": 5551.216567993164,\r
+    "y": 2626.968994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "cbbe95bb.3b672",\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": 4941.216323852539,\r
+    "y": 2567.968994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "29f0d39b.7868dc",\r
+        "a9cdc9f3.565c48",\r
+        "bb4a2538.1336f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a9cdc9f3.565c48",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5168.707290649414,\r
+    "y": 2540.54296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "1908939b.bd4034"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bb4a2538.1336f8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5164.216323852539,\r
+    "y": 2584.9689331054688,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "92667393.c53a48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1908939b.bd4034",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5331.278823852539,\r
+    "y": 2539.8286743164062,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "92667393.c53a48",\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": 5332.216323852539,\r
+    "y": 2584.9689331054688,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "881aa049.c716c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5329.216323852539,\r
+    "y": 2634.968994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "462dc669.256da8",\r
+        "6a6aa672.a79588"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "29f0d39b.7868dc",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5160.216323852539,\r
+    "y": 2634.968994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "881aa049.c716c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "462dc669.256da8",\r
+    "type": "set",\r
+    "name": "set new bw",\r
+    "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $tmp.delta`' />\n",\r
+    "comments": "",\r
+    "x": 5511.217056274414,\r
+    "y": 2576.968994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cf90a66f.fda158",\r
+    "type": "comment",\r
+    "name": "bw+ has increased ",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4592.449996948242,\r
+    "y": 3131.969024658203,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "55a0d7dc.286418",\r
+    "type": "comment",\r
+    "name": "bw- has decreased",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4591.283706665039,\r
+    "y": 3288.76904296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4d5920d6.13a668",\r
+    "type": "comment",\r
+    "name": "Update ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5040.282974243164,\r
+    "y": 2861.76904296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "88d6c65c.cf7f08",\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": 5642.282974243164,\r
+    "y": 2966.76904296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d0b2cf41.bca298",\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": 5032.282730102539,\r
+    "y": 2907.76904296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "8d492b8.9c23958",\r
+        "7af8c9ac.4fdff",\r
+        "8f5e4c1.c47c63"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7af8c9ac.4fdff",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5259.773696899414,\r
+    "y": 2880.343017578125,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a556ac9c.f99378"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8f5e4c1.c47c63",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5255.282730102539,\r
+    "y": 2924.7689819335938,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "fb5f5c18.d85868"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a556ac9c.f99378",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5422.345230102539,\r
+    "y": 2879.6287231445312,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fb5f5c18.d85868",\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": 5423.282730102539,\r
+    "y": 2924.7689819335938,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1055bce3.28f203",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5420.282730102539,\r
+    "y": 2974.76904296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "67fafdaf.ff6be4",\r
+        "88d6c65c.cf7f08"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8d492b8.9c23958",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5251.282730102539,\r
+    "y": 2974.76904296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "1055bce3.28f203"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "67fafdaf.ff6be4",\r
+    "type": "set",\r
+    "name": "set new bw",\r
+    "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $tmp.delta`' />\n",\r
+    "comments": "",\r
+    "x": 5602.283462524414,\r
+    "y": 2916.76904296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "16d60a9.8d32af5",\r
+    "type": "set",\r
+    "name": "set delta",\r
+    "xml": "<set>\n<parameter name='tmp.delta' value='`$tmp.aai.leafuni.data-source - $gfp`' />\n<parameter name='tmp.realdelta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.isBwIncreased' value='false' />\n\n\n",\r
+    "comments": "",\r
+    "x": 4957.282730102539,\r
+    "y": 2820.76904296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c400bc3c.ac5968",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4750.449996948242,\r
+    "y": 3313.969024658203,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "16d60a9.8d32af5",\r
+        "d0b2cf41.bca298",\r
+        "8414e4a1.38b9c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f79a9470.53a4c8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4771.183364868164,\r
+    "y": 3140.76904296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "117ea4ef.18b79b",\r
+        "cbbe95bb.3b672",\r
+        "ba199ac4.fb848"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "117ea4ef.18b79b",\r
+    "type": "set",\r
+    "name": "set delta",\r
+    "xml": "<set>\n<parameter name='tmp.delta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.realdelta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.isBwIncreased' value='true' />\n",\r
+    "comments": "",\r
+    "x": 4906.016128540039,\r
+    "y": 2446.569091796875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c54ad09e.8bf3a",\r
+    "type": "comment",\r
+    "name": "Update ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4365.333267211914,\r
+    "y": 3213.76904296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2dd0c0ce.4b6dd8",\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": 3834.666732788086,\r
+    "y": 4202.569549560547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f75e3970.5d2918",\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": 3669.666732788086,\r
+    "y": 4274.769500732422,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "6558c3a1.aee6ec",\r
+        "615d888.e8de878"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6558c3a1.aee6ec",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3880.666732788086,\r
+    "y": 4274.769500732422,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "dbe2bb07.4ff"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "615d888.e8de878",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3876.666732788086,\r
+    "y": 4322.769500732422,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "981910a2.c0ad4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "dbe2bb07.4ff",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4036.666732788086,\r
+    "y": 4270.769500732422,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d5500d79.08788"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "981910a2.c0ad4",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found but it should have been!' />\n",\r
+    "comments": "",\r
+    "x": 4024.666732788086,\r
+    "y": 4317.769500732422,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3bc11366.fbbc34",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4877.632827758789,\r
+    "y": 4584.96826171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "dd06399c.007818",\r
+        "d4fdd67a.a817c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d4fdd67a.a817c8",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
+    "comments": "",\r
+    "x": 5120.633071899414,\r
+    "y": 4553.96826171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2be00ed8.b483fa",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4737.632827758789,\r
+    "y": 4694.96826171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "97d72fe9.69bac8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "91c8662a.32a768",\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": 4725.633071899414,\r
+    "y": 4787.968505859375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d203ac94.87b14",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4727.695205688477,\r
+    "y": 4742.828033447266,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d5500d79.08788",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.ROOT.connectivity.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4343.632827758789,\r
+    "y": 4584.96826171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "c8667f42.17971"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c8667f42.17971",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.ROOT.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4548.632827758789,\r
+    "y": 4584.96826171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "459caa2c.0e6e04"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "459caa2c.0e6e04",\r
+    "type": "outcome",\r
+    "name": "vpn-binding",\r
+    "xml": "<outcome value='vpn-binding'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4714.632827758789,\r
+    "y": 4584.96826171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "3bc11366.fbbc34"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "dd06399c.007818",\r
+    "type": "save",\r
+    "name": "get vpn-binding from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.ROOT.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4353.632827758789,\r
+    "y": 4694.96826171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "bdef323e.2e743",\r
+        "8bfc1c1b.2feb4",\r
+        "6eeff3cb.d5d2dc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bdef323e.2e743",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4564.632827758789,\r
+    "y": 4696.96826171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "2be00ed8.b483fa"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8bfc1c1b.2feb4",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4565.123794555664,\r
+    "y": 4742.542297363281,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d203ac94.87b14"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6eeff3cb.d5d2dc",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4562.632827758789,\r
+    "y": 4785.96826171875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "91c8662a.32a768"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b4556ca5.203ec",\r
+    "type": "comment",\r
+    "name": "Temporary skipping this check - to support multiple instances in one slice",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5973.449722290039,\r
+    "y": 7084.169189453125,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5b30bbfe.71d1cc",\r
+    "type": "comment",\r
+    "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5241.916732788086,\r
+    "y": 4315.368865966797,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "dbaf0410.536798",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4743.916976928711,\r
+    "y": 4381.368865966797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "817a92f2.d780d",\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": 5274.916732788086,\r
+    "y": 4383.368865966797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "9dfe7d9b.36f16",\r
+        "6633e166.0ef198"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9dfe7d9b.36f16",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5399.916732788086,\r
+    "y": 4281.368621826172,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "bef4e32d.a8f0f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6633e166.0ef198",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5518.916763305664,\r
+    "y": 4355.36865234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "13e3cfc5.6c211",\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": 4487.599868774414,\r
+    "y": 3927.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c04b322f.90f188",\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": 4832.599868774414,\r
+    "y": 3789.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "641a94ad.cf9a7c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cb16b3c1.554ca8",\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": 4539.599868774414,\r
+    "y": 3783.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "c04b322f.90f188"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "61a224f4.1490f4",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4794.599868774414,\r
+    "y": 3740.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "79714250.d2dcd4",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4483.599868774414,\r
+    "y": 3835.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "accca5a7.e8bcb",\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": 4491.599868774414,\r
+    "y": 3880.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4917ab18.c68984",\r
+    "type": "set",\r
+    "name": "unset otnTopoIdSrc",\r
+    "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
+    "comments": "",\r
+    "x": 4488.599868774414,\r
+    "y": 3733.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "641a94ad.cf9a7c",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4741.599868774414,\r
+    "y": 3857.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a41b4c9c.8533c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a41b4c9c.8533c8",\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": 4926.599868774414,\r
+    "y": 3856.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "16d0f836.5619d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "16d0f836.5619d",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5118.599868774414,\r
+    "y": 3859.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "645ca090.154ad8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "645ca090.154ad8",\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": 5290.599868774414,\r
+    "y": 3855.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "67efef93.94a62",\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": 4666.599868774414,\r
+    "y": 3970.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2d37a713.1c4278",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4183.599868774414,\r
+    "y": 3755.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "fc1ea1ac.e5e448",\r
+        "e72f0644.170c1",\r
+        "79714250.d2dcd4",\r
+        "accca5a7.e8bcb",\r
+        "13e3cfc5.6c211",\r
+        "cb16b3c1.554ca8",\r
+        "67efef93.94a62"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9d25224b.2344f8",\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": 4168.599868774414,\r
+    "y": 3689.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e72f0644.170c1",\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": 4547.599868774414,\r
+    "y": 3676.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e651547d.d99b88",\r
+        "9ee7d7c1.7baf1",\r
+        "61a224f4.1490f4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e651547d.d99b88",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4783.599868774414,\r
+    "y": 3659.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9ee7d7c1.7baf1",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4780.599868774414,\r
+    "y": 3700.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "fc1ea1ac.e5e448",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4496.599868774414,\r
+    "y": 3633.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7b5e5ce4.837894",\r
+    "type": "comment",\r
+    "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5225.999771118164,\r
+    "y": 4682.485595703125,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "97d72fe9.69bac8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5014.999771118164,\r
+    "y": 4744.485595703125,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "9a139c6f.7e9338"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9a139c6f.7e9338",\r
+    "type": "switchNode",\r
+    "name": "switch ops-note is srcTtpOtnLayer",\r
+    "xml": "<switch test=\"`$tmp.aai.vpn-binding.ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5258.999771118164,\r
+    "y": 4750.485595703125,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "f77309ba.c91088",\r
+        "14cb90c5.a4f8ff"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f77309ba.c91088",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5489.999771118164,\r
+    "y": 4728.485595703125,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d9be22a0.00a98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "14cb90c5.a4f8ff",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5494.999771118164,\r
+    "y": 4795.485595703125,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "414056d.7db8ba8",\r
+    "type": "switchNode",\r
+    "name": "switch tmp.isBwIncreased",\r
+    "xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5743.883529663086,\r
+    "y": 4293.167938232422,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7fdfcb8f.16a5bc",\r
+        "c3a97bf3.cec48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7fdfcb8f.16a5bc",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5898.883560180664,\r
+    "y": 4221.168212890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "b797878.bae0cf8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c3a97bf3.cec48",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5899.883560180664,\r
+    "y": 4354.168212890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e250ecc5.35ab28"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b797878.bae0cf8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6043.883560180664,\r
+    "y": 4221.16845703125,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "424fa95d.ed7fe",\r
+        "75e1d3fe.929f74"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "424fa95d.ed7fe",\r
+    "type": "save",\r
+    "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6336.883560180664,\r
+    "y": 4199.168212890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "75e1d3fe.929f74",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6288.533462524414,\r
+    "y": 4246.485107421875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5dd8867f.439e3",\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": 6361.883529663086,\r
+    "y": 4148.167938232422,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e250ecc5.35ab28",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6055.883560180664,\r
+    "y": 4353.16845703125,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "417900a8.821de",\r
+        "be5a71f5.125bd8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "417900a8.821de",\r
+    "type": "save",\r
+    "name": "update the-vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher - $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6348.883560180664,\r
+    "y": 4331.168212890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "be5a71f5.125bd8",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6300.533462524414,\r
+    "y": 4378.485107421875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a603f2dd.a46cd8",\r
+    "type": "comment",\r
+    "name": "decrease the bw of the-vpn-binding and change status to modified",\r
+    "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
+    "comments": "",\r
+    "x": 6372.883560180664,\r
+    "y": 4292.168212890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d9be22a0.00a98",\r
+    "type": "switchNode",\r
+    "name": "switch tmp.isBwIncreased",\r
+    "xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5695.116470336914,\r
+    "y": 4735.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "c2b73899.5086",\r
+        "f61c39ed.e925c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c2b73899.5086",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5890.116470336914,\r
+    "y": 4663.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d6c79c19.937aa"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f61c39ed.e925c8",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5891.116470336914,\r
+    "y": 4796.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "4edaf13a.b4d9f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d6c79c19.937aa",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6035.116470336914,\r
+    "y": 4663.369140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d6b8ba93.8ff92",\r
+        "f1f742e0.7a641"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d6b8ba93.8ff92",\r
+    "type": "save",\r
+    "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher + $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6328.116470336914,\r
+    "y": 4641.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f1f742e0.7a641",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6279.766372680664,\r
+    "y": 4688.685791015625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d36450e6.6d57c8",\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": 6352.116470336914,\r
+    "y": 4602.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4edaf13a.b4d9f",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6047.116470336914,\r
+    "y": 4795.369140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7a3b5a2.2e1f624",\r
+        "1ba425ad.b54daa"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7a3b5a2.2e1f624",\r
+    "type": "save",\r
+    "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher - $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6340.116470336914,\r
+    "y": 4773.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1ba425ad.b54daa",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6291.766372680664,\r
+    "y": 4820.685791015625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "22900b75.03f974",\r
+    "type": "comment",\r
+    "name": "decrease the bw of the-vpn-binding and change status to modified",\r
+    "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
+    "comments": "",\r
+    "x": 6364.116470336914,\r
+    "y": 4734.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ef554fdd.c7de28",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5102.966567993164,\r
+    "y": 5475.569091796875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fa0dda8.0253328",\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": 5100.749771118164,\r
+    "y": 5515.769287109375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f06e1df.64a1e6",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4976.000015258789,\r
+    "y": 5700.252197265625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ca1c65a6.dca85",\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": 4973.783218383789,\r
+    "y": 5740.452392578125,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a99f468d.7b18e",\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": 5073.116470336914,\r
+    "y": 6024.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8488a4f2.44d84",\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": 4900.116470336914,\r
+    "y": 6081.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7fa62708.b47fb8",\r
+        "8128360f.d5f0f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7fa62708.b47fb8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5111.116470336914,\r
+    "y": 6081.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7522288d.71e8f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8128360f.d5f0f8",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5107.116470336914,\r
+    "y": 6129.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "fb9502dd.0e71b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7522288d.71e8f8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5267.116470336914,\r
+    "y": 6077.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "9f8e58e7.89aac",\r
+        "d14d9fb3.031c",\r
+        "ade8b0f8.453b68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fb9502dd.0e71b",\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": 5255.116470336914,\r
+    "y": 6124.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "482690e8.af77d8",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5533.000259399414,\r
+    "y": 6177.252197265625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ade8b0f8.453b68",\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": 5530.783462524414,\r
+    "y": 6217.452392578125,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d14d9fb3.031c",\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": 5650.116470336914,\r
+    "y": 6129.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9f8e58e7.89aac",\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": 5521.116470336914,\r
+    "y": 6077.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b5ec42e6.8d4a38",\r
+    "type": "comment",\r
+    "name": "populate connectivity-B variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4962.116470336914,\r
+    "y": 5982.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "977f17a0.9f41a",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4609.449478149414,\r
+    "y": 6069.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a99f468d.7b18e",\r
+        "8488a4f2.44d84",\r
+        "9cfb7864.e0e548",\r
+        "98761b9f.ff6118"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5d58f01d.864e08",\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": 4953.199966430664,\r
+    "y": 6538.368896484375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "b7ab7670.8f5828",\r
+    "type": "comment",\r
+    "name": "TODO: BUG -- DONE",\r
+    "info": "momkene connectivity haye vasati ke dummy hastand ham\nvpn-binding dashte bashand ke too in path involve hast pas\nbayad bw aan niz update shavad.",\r
+    "comments": "",\r
+    "x": 3658.567123413086,\r
+    "y": 3815.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c7b27212.2f5b88",\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": 4411.100326538086,\r
+    "y": 4089.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "88440014.089508",\r
+        "6850bc1b.9b439c",\r
+        "ea9e63cb.45924"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "46e39fd1.0b23",\r
+    "type": "comment",\r
+    "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4519.100570678711,\r
+    "y": 4045.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "88440014.089508",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4616.100326538086,\r
+    "y": 4086.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "94bd21f9.ba5e08"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6850bc1b.9b439c",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4599.591293334961,\r
+    "y": 4147.776397705078,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "c061eff6.efec1"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ea9e63cb.45924",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4597.100326538086,\r
+    "y": 4191.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "302c462f.876b7a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "94bd21f9.ba5e08",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4784.100570678711,\r
+    "y": 4081.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "72fd3d1f.5c9734"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c061eff6.efec1",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4762.162704467773,\r
+    "y": 4148.0621337890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "302c462f.876b7a",\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": 4764.100326538086,\r
+    "y": 4190.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "72fd3d1f.5c9734",\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": 5022.100570678711,\r
+    "y": 4086.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e265f5c.115d288"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e265f5c.115d288",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5256.100326538086,\r
+    "y": 4093.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "817a92f2.d780d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "aaa5f9ec.d9ed6",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.all-vpn-bindings",\r
+    "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4389.800033569336,\r
+    "y": 4015.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4e4373ae.4e8254",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5672.949935913086,\r
+    "y": 4103.785369873047,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "8eac4849.2274f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8eac4849.2274f8",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5864.949935913086,\r
+    "y": 4092.785614013672,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a232365.4dda248"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a232365.4dda248",\r
+    "type": "outcome",\r
+    "name": "connectivity",\r
+    "xml": "<outcome value='connectivity'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6046.949935913086,\r
+    "y": 4071.785614013672,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "992af4aa.8e2b6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "992af4aa.8e2b6",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 6208.949935913086,\r
+    "y": 4060.785614013672,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "1e9c08fd.18a337",\r
+        "74b54acc.d82234"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1e9c08fd.18a337",\r
+    "type": "set",\r
+    "name": "unset tmp.the-connectivity",\r
+    "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",\r
+    "comments": "",\r
+    "x": 6405.949935913086,\r
+    "y": 3989.785614013672,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b0ee6567.2e3a8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5579.900131225586,\r
+    "y": 4218.785369873047,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "414056d.7db8ba8",\r
+        "4e4373ae.4e8254",\r
+        "1071a614.4e5e12",\r
+        "8f9726f3.06c69"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1071a614.4e5e12",\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": 5711.466537475586,\r
+    "y": 3994.002410888672,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8f9726f3.06c69",\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": 5703.466537475586,\r
+    "y": 4043.002410888672,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "74b54acc.d82234",\r
+    "type": "set",\r
+    "name": "set tmp.the-connectivity.connectivity-id",\r
+    "xml": "<set>\n<parameter name='tmp.the-connectivity.connectivity-id' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",\r
+    "comments": "",\r
+    "x": 6411.416732788086,\r
+    "y": 4099.002410888672,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7fff9c38.345784",\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": 5704.683334350586,\r
+    "y": 3817.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "aaa5e7eb.47b75",\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": 5858.683334350586,\r
+    "y": 3869.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "bef4e32d.a8f0f",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5449.683334350586,\r
+    "y": 3936.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "aaa5e7eb.47b75",\r
+        "1d5352b7.2fb14d",\r
+        "7fff9c38.345784"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1d5352b7.2fb14d",\r
+    "type": "switchNode",\r
+    "name": "switch $foundVpnName",\r
+    "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5703.683334350586,\r
+    "y": 3924.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "894732f.a692a5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "894732f.a692a5",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5882.683334350586,\r
+    "y": 3923.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "b0ee6567.2e3a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "81398bf4.473028",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4580.683334350586,\r
+    "y": 7441.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "6a1836f0.9e7b08",\r
+        "edfac497.39017",\r
+        "e285b49b.2789f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e285b49b.2789f8",\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": 4803.683334350586,\r
+    "y": 7385.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6a1836f0.9e7b08",\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": 4982.683334350586,\r
+    "y": 7428.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "edfac497.39017",\r
+    "type": "switchNode",\r
+    "name": "switch $foundVpnName",\r
+    "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4827.683334350586,\r
+    "y": 7483.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d5b486b.df173f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d5b486b.df173f8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5006.683334350586,\r
+    "y": 7482.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7de65a32.2588c4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ecfaffd6.100b2",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.all-vpn-bindings",\r
+    "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4737.683334350586,\r
+    "y": 7121.202362060547,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4b552ff.dab62d",\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": 3303.2999420166016,\r
+    "y": 515.65234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3dcf3da2.14e88a",\r
+    "type": "outcome",\r
+    "name": "SECONDARY-ROOT",\r
+    "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4078.399429321289,\r
+    "y": 576.65234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "bfde7d38.fed19"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bfde7d38.fed19",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4247.399429321289,\r
+    "y": 573.65234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "30447223.2437ce",\r
+        "12dff897.0ce0bf"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "30447223.2437ce",\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": 4471.399429321289,\r
+    "y": 606.65234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "12dff897.0ce0bf",\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": 4417.399429321289,\r
+    "y": 646.65234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f46ebe04.450d9",\r
+    "type": "outcome",\r
+    "name": "SECONDARY-ROOT",\r
+    "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4043.399917602539,\r
+    "y": 775.8523559570312,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "3c9b9865.e5691"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3c9b9865.e5691",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4208.399185180664,\r
+    "y": 780.8523559570312,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "4bcd87c1.d1b",\r
+        "63ed5150.d5d24"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4bcd87c1.d1b",\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": 4455.399429321289,\r
+    "y": 862.8523559570312,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "63ed5150.d5d24",\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": 4401.399429321289,\r
+    "y": 902.8523559570312,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "76a3b118.862498",\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": 3286.399917602539,\r
+    "y": 914.8523559570312,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7adb4c8f.c682bc",\r
+        "7eb8fd1a.3f3194",\r
+        "b860a47d.f11fd8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7adb4c8f.c682bc",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3528.399917602539,\r
+    "y": 907.8523559570312,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7eb8fd1a.3f3194",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3523.908981323242,\r
+    "y": 950.2784118652344,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "b860a47d.f11fd8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3527.908950805664,\r
+    "y": 998.2783813476562,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a6ff06d4.331218"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a6ff06d4.331218",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3689.399917602539,\r
+    "y": 938.8523559570312,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "32bc585c.c7728"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "32bc585c.c7728",\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": 3860.399917602539,\r
+    "y": 938.8525390625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e312a504.c3346",\r
+        "450f492a.7498d8",\r
+        "e7c48999.96bb5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e312a504.c3346",\r
+    "type": "outcome",\r
+    "name": "ROOT",\r
+    "xml": "<outcome value='ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4027.399673461914,\r
+    "y": 848.8524780273438,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e34d64db.7a9328"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "450f492a.7498d8",\r
+    "type": "outcome",\r
+    "name": "LEAF",\r
+    "xml": "<outcome value='LEAF'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4029.399673461914,\r
+    "y": 902.8524780273438,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "f1b929a4.9c9ce"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e34d64db.7a9328",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4155.399673461914,\r
+    "y": 848.8524780273438,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d0297dd0.c50e68",\r
+        "9996be1d.2ba6f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f1b929a4.9c9ce",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4158.399673461914,\r
+    "y": 901.8524780273438,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "55ecdb35.0e00cc",\r
+        "c088cd20.720bd8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9996be1d.2ba6f",\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": 4401.399429321289,\r
+    "y": 987.8524780273438,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "55ecdb35.0e00cc",\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": 4418.399429321289,\r
+    "y": 1029.8524780273438,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c088cd20.720bd8",\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": 4403.399429321289,\r
+    "y": 1067.8524780273438,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d0297dd0.c50e68",\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": 4415.399429321289,\r
+    "y": 947.8524780273438,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5eec7036.1519e8",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4580.399429321289,\r
+    "y": 963.8524780273438,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e7c48999.96bb5",\r
+    "type": "outcome",\r
+    "name": "SECONDARY-ROOT",\r
+    "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3968.399917602539,\r
+    "y": 993.852294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "6b81c811.85e0f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6b81c811.85e0f8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4142.399917602539,\r
+    "y": 988.852294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "2495f2a4.688896",\r
+        "9470a6af.62de2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9470a6af.62de2",\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": 4375.399429321289,\r
+    "y": 1157.8522338867188,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2495f2a4.688896",\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": 4429.399429321289,\r
+    "y": 1117.8522338867188,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b6c93789.479408",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4543.399429321289,\r
+    "y": 1142.8522338867188,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c1d74161.be2c8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3544.066665649414,\r
+    "y": 2223.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "855df0cd.9bb95",\r
+        "434e1396.d595c4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d130bfb5.a4da88",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3371.400161743164,\r
+    "y": 2224.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "c1d74161.be2c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bba37dac.291368",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3380.891128540039,\r
+    "y": 2266.6597290039062,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "730fab1.8beaed4",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3369.400161743164,\r
+    "y": 2313.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "855df0cd.9bb95",\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": 3830.400161743164,\r
+    "y": 2227.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "55a8020a.690a64",\r
+        "326effaf.bc448"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "326effaf.bc448",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4053.400161743164,\r
+    "y": 2182.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ab5c47c3.fcb968"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "55a8020a.690a64",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4055.400161743164,\r
+    "y": 2246.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "af7cae04.ba78a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fbc065ad.333e38",\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": 3143.400161743164,\r
+    "y": 2259.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d130bfb5.a4da88",\r
+        "bba37dac.291368",\r
+        "730fab1.8beaed4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a720f331.1ff0f",\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": 3104.400161743164,\r
+    "y": 2203.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "62eac021.71055",\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": 3163.400161743164,\r
+    "y": 1999.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "de7e4f57.82469",\r
+        "33097b2f.e0f6dc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "33097b2f.e0f6dc",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3386.400161743164,\r
+    "y": 1985.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "55022710.99c7b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "de7e4f57.82469",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3388.400161743164,\r
+    "y": 2018.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "55022710.99c7b",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3534.400161743164,\r
+    "y": 1978.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "225a6795.34ae6",\r
+        "605cb253.51882c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "225a6795.34ae6",\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": 3728.400161743164,\r
+    "y": 1981.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "434e1396.d595c4",\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": 3781.400131225586,\r
+    "y": 2350.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "6aeddc31.02af0c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6aeddc31.02af0c",\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": 3987.400131225586,\r
+    "y": 2350.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "1d98ffa3.9dac18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "605cb253.51882c",\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": 3750.400161743164,\r
+    "y": 2049.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "da783639.0ff76",\r
+        "86ac0aff.5f3f28",\r
+        "cebbe4ca.ee77e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "da783639.0ff76",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3945.9002838134766,\r
+    "y": 2001.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "812fa062.6dc7c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "86ac0aff.5f3f28",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3937.9002838134766,\r
+    "y": 2056.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "8d0439b3.358a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cebbe4ca.ee77e",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3942.9002838134766,\r
+    "y": 2113.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ca5c6f17.cf3a7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ca5c6f17.cf3a7",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4094.9002838134766,\r
+    "y": 2114.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "812fa062.6dc7c",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4090.2826080322266,\r
+    "y": 1998.7414855957031,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ad74d99d.0df72"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "28bc0683.b68302",\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": 3166.066665649414,\r
+    "y": 2338.085693359375,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9656dd17.9b3ad",\r
+    "type": "comment",\r
+    "name": "NOT NEEDED ANYMORE?",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3841.066635131836,\r
+    "y": 2302.085662841797,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "af7cae04.ba78a",\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": 4214.400161743164,\r
+    "y": 2265.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ab5c47c3.fcb968",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4218.400161743164,\r
+    "y": 2179.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "9a6b61ac.f8e22",\r
+        "26968708.bf0a2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1d98ffa3.9dac18",\r
+    "type": "outcome",\r
+    "name": "tunnel-termination-point",\r
+    "xml": "<outcome value='tunnel-termination-point'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4204.685775756836,\r
+    "y": 2348.907440185547,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e0a8c937.0da4d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8d0439b3.358a8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 4105.900283813477,\r
+    "y": 2059.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9a6b61ac.f8e22",\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": 4388.400161743164,\r
+    "y": 2140.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "26968708.bf0a2",\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": 4389.400161743164,\r
+    "y": 2245.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "826c48fa.181fa",\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": 4384.400161743164,\r
+    "y": 2194.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e0a8c937.0da4d",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4411.517318725586,\r
+    "y": 2338.4261169433594,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e11a9a35.e1ef78",\r
+        "a5abc378.a6c95",\r
+        "e2067ae4.4ae0a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e11a9a35.e1ef78",\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": 4626.517318725586,\r
+    "y": 2300.4261169433594,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a5abc378.a6c95",\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": 4623.517318725586,\r
+    "y": 2339.4261169433594,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "153d06ec.f14b19"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e2067ae4.4ae0a8",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 4579.017318725586,\r
+    "y": 2381.4261169433594,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ff2bf803.a9fa88",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4672.400161743164,\r
+    "y": 2017.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "a1443a9c.9bc758"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ad74d99d.0df72",\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": 4274.400161743164,\r
+    "y": 2013.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "aec2208e.63a7a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "aec2208e.63a7a",\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": 4469.400161743164,\r
+    "y": 2013.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ff2bf803.a9fa88",\r
+        "8efacaf4.128aa8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8efacaf4.128aa8",\r
+    "type": "outcome",\r
+    "name": "network-resource",\r
+    "xml": "<outcome value='network-resource'>",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4674.400161743164,\r
+    "y": 2090.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "2140dc16.b34c34"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "153d06ec.f14b19",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4804.017318725586,\r
+    "y": 2338.4261169433594,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "dc9300dc.915278"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "dc9300dc.915278",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4962.017318725586,\r
+    "y": 2338.4261169433594,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "1236d7b2.067398"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1236d7b2.067398",\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": 5169.017318725586,\r
+    "y": 2338.4261169433594,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a1443a9c.9bc758",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4849.400161743164,\r
+    "y": 2009.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "206cd74a.090e9",\r
+        "743406a2.17f9a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "743406a2.17f9a",\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": 5057.400161743164,\r
+    "y": 2016.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "c6f1bea4.57dda",\r
+        "1229be89.7bda19",\r
+        "b62eac2a.e73c5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2140dc16.b34c34",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4851.400161743164,\r
+    "y": 2082.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "348e5ae6.fa6196"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "206cd74a.090e9",\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": 5087.400161743164,\r
+    "y": 1964.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "348e5ae6.fa6196",\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": 5086.400161743164,\r
+    "y": 2206.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c6f1bea4.57dda",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5267.400161743164,\r
+    "y": 2007.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "55a3e51f.c94c6c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1229be89.7bda19",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5259.400161743164,\r
+    "y": 2062.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "dd96fb81.a1be5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b62eac2a.e73c5",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5264.400161743164,\r
+    "y": 2119.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "367deba0.342ae4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "367deba0.342ae4",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5416.400161743164,\r
+    "y": 2120.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "dd96fb81.a1be5",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5427.400161743164,\r
+    "y": 2065.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "55a3e51f.c94c6c",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5411.782485961914,\r
+    "y": 2004.7414855957031,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "37dd91fc.28526e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "37dd91fc.28526e",\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": 5626.400161743164,\r
+    "y": 2001.0858154296875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d0d8e8f0.a69bb8",\r
+    "type": "comment",\r
+    "name": "Create SECONDARY-ROOT UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5655.900161743164,\r
+    "y": 2123.852294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "98d8658a.1dab08",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5628.016860961914,\r
+    "y": 2172.968994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "420f2345.5b5d34"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "420f2345.5b5d34",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5819.016860961914,\r
+    "y": 2176.968994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "661df626.a6b8e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "661df626.a6b8e8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5946.016860961914,\r
+    "y": 2175.968994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "329453e7.3a09dc",\r
+        "8b47742b.726f38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8b47742b.726f38",\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<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6168.016860961914,\r
+    "y": 2064.968994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "329453e7.3a09dc",\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": 6163.900161743164,\r
+    "y": 2123.852294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7670a585.4e8fa4",\r
+        "7f78162d.05f38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7670a585.4e8fa4",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6373.900161743164,\r
+    "y": 2100.852294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "36156797.814718"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "36156797.814718",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6499.900161743164,\r
+    "y": 2100.852294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "c10b0555.a1cbe"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "802f927b.0dcdb",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6504.900161743164,\r
+    "y": 2149.852294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "2a6e1393.0f0b94",\r
+        "ec798eb.b40ea7",\r
+        "21b7fb79.312cdc",\r
+        "b8684fe1.88dea8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f78162d.05f38",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6378.900161743164,\r
+    "y": 2149.852294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "802f927b.0dcdb"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c10b0555.a1cbe",\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": 6827.900161743164,\r
+    "y": 2097.852294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2a6e1393.0f0b94",\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": 6780.900161743164,\r
+    "y": 2188.852294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ec798eb.b40ea7",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='secondary-root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $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": 6728.900161743164,\r
+    "y": 2230.852294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "21b7fb79.312cdc",\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": 6857.900161743164,\r
+    "y": 2272.852294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9b3b3d66.43cb88",\r
+    "type": "comment",\r
+    "name": "Create SECONDARY-ROOT connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6743.900161743164,\r
+    "y": 2145.852294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b8684fe1.88dea8",\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": 6835.900161743164,\r
+    "y": 2320.852294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d8f4cd5c.153e9",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6399.900161743164,\r
+    "y": 2817.65234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "1ca77427.cfd00c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1ca77427.cfd00c",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6591.900161743164,\r
+    "y": 2812.65234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d48a28e3.978788"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d48a28e3.978788",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6720.900161743164,\r
+    "y": 2812.65234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "cd4e9669.2bbe38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cd4e9669.2bbe38",\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": 7052.900161743164,\r
+    "y": 2810.65234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "96928e3.987df7",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5984.900161743164,\r
+    "y": 3029.65234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "181572ea.9107d5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "181572ea.9107d5",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6164.900161743164,\r
+    "y": 3028.65234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "8cd8419f.cb3a9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8cd8419f.cb3a9",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6293.900161743164,\r
+    "y": 3028.65234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d6cc041.8a7c3f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d6cc041.8a7c3f8",\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": 6511.783462524414,\r
+    "y": 3027.53564453125,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "b0604621.14aa3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b0604621.14aa3",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6726.783462524414,\r
+    "y": 3027.53564453125,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "1b23239.265d75c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1b23239.265d75c",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6858.783462524414,\r
+    "y": 3027.53564453125,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e0661126.3d63c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e0661126.3d63c",\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": 7222.900161743164,\r
+    "y": 3026.65234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ba199ac4.fb848",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4955.399185180664,\r
+    "y": 2677.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "3b9234ec.069ca4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3b9234ec.069ca4",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5135.399185180664,\r
+    "y": 2676.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "9eae322e.b63d4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9eae322e.b63d4",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5264.399185180664,\r
+    "y": 2676.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d93117f0.529c08"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "eef4e51b.ad8f08",\r
+    "type": "comment",\r
+    "name": "Update SECONDARY-ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5000.399185180664,\r
+    "y": 2735.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d93117f0.529c08",\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": 5030.399185180664,\r
+    "y": 2768.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "cef39c15.c2efe8",\r
+        "19cfaa23.53868e",\r
+        "3979c231.eba74e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "19cfaa23.53868e",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5211.890151977539,\r
+    "y": 2745.793212890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "11983801.6e819"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3979c231.eba74e",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5200.399185180664,\r
+    "y": 2785.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "df1ec346.4539a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "11983801.6e819",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5371.461685180664,\r
+    "y": 2744.078857421875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "df1ec346.4539a",\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": 5361.399185180664,\r
+    "y": 2786.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cef39c15.c2efe8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5205.399185180664,\r
+    "y": 2822.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ce54950d.a0123"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ce54950d.a0123",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5363.399185180664,\r
+    "y": 2830.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "f7f8d3b0.147e88",\r
+        "b341778e.b63ef8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f7f8d3b0.147e88",\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": 5524.399185180664,\r
+    "y": 2762.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b341778e.b63ef8",\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": 5566.399185180664,\r
+    "y": 2834.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8414e4a1.38b9c8",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5042.399185180664,\r
+    "y": 3035.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "671d16b.b80a7e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "671d16b.b80a7e8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5222.399185180664,\r
+    "y": 3034.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "119e2009.a17608"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "119e2009.a17608",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5351.399185180664,\r
+    "y": 3034.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "473f5087.37a1e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5e936e89.558fa8",\r
+    "type": "comment",\r
+    "name": "Update SECONDARY-ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5087.399185180664,\r
+    "y": 3093.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "473f5087.37a1e8",\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": 5117.399185180664,\r
+    "y": 3126.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d9f85915.dda38",\r
+        "24241f4e.c44408",\r
+        "225969a9.a7207e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "24241f4e.c44408",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5298.890151977539,\r
+    "y": 3103.793212890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "96c74d33.8dbf8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "225969a9.a7207e",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5287.399185180664,\r
+    "y": 3143.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "591af841.3626"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "96c74d33.8dbf8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 5458.461685180664,\r
+    "y": 3102.078857421875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "591af841.3626",\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": 5448.399185180664,\r
+    "y": 3144.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d9f85915.dda38",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5292.399185180664,\r
+    "y": 3180.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "211d205d.25f7f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "211d205d.25f7f",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5450.399185180664,\r
+    "y": 3188.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d0bfd54a.d36bc8",\r
+        "7dc2fca0.94494c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d0bfd54a.d36bc8",\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": 5611.399185180664,\r
+    "y": 3120.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7dc2fca0.94494c",\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": 5653.399185180664,\r
+    "y": 3192.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "3f0ddd6.f3f1022",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3524.066665649414,\r
+    "y": 4617.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "358e9751.c712f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "358e9751.c712f",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3704.066665649414,\r
+    "y": 4616.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "6884e019.44294"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6884e019.44294",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3833.066665649414,\r
+    "y": 4616.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "5116cf4b.8d29a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bd6b4020.6dbe8",\r
+    "type": "comment",\r
+    "name": "Update SECONDARY-ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3569.066665649414,\r
+    "y": 4675.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5116cf4b.8d29a",\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": 3599.066665649414,\r
+    "y": 4708.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "2e2530b5.6396c8",\r
+        "a3a43577.5b69d",\r
+        "ed68f855.e91bf8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a3a43577.5b69d",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3780.557632446289,\r
+    "y": 4685.793212890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "86842579.52f86"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ed68f855.e91bf8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3769.066665649414,\r
+    "y": 4725.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "73eac34a.dab10c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "86842579.52f86",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return 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": 3940.129165649414,\r
+    "y": 4684.078857421875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "73eac34a.dab10c",\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": 3930.066665649414,\r
+    "y": 4726.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2e2530b5.6396c8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3774.066665649414,\r
+    "y": 4762.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "744d2f9d.2ccba"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "744d2f9d.2ccba",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3932.066665649414,\r
+    "y": 4770.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e108af78.2fc248",\r
+        "9bbc731d.e00988"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e108af78.2fc248",\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": 4093.066665649414,\r
+    "y": 4702.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9bbc731d.e00988",\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": 4135.066665649414,\r
+    "y": 4774.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "75777f0a.fb1b9",\r
+    "type": "comment",\r
+    "name": "populate connectivity-C variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4215.733657836914,\r
+    "y": 5572.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4f6ebd11.7928d4",\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": 4370.733657836914,\r
+    "y": 5613.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "53cb53b2.198aa4",\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": 4186.733657836914,\r
+    "y": 5671.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7b1794a5.b1fc24",\r
+        "60cb3386.52366c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7b1794a5.b1fc24",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4422.733657836914,\r
+    "y": 5655.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "d1b5ec1f.66461"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "60cb3386.52366c",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4421.733657836914,\r
+    "y": 5703.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d1b5ec1f.66461",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4566.733657836914,\r
+    "y": 5657.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "2e676cc9.ce26a4",\r
+        "6e286f3d.8e0a28",\r
+        "e2964af9.ec57d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2e676cc9.ce26a4",\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": 4978.733901977539,\r
+    "y": 5792.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6e286f3d.8e0a28",\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": 5099.733901977539,\r
+    "y": 5839.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a459d12f.16fa1",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4982.617691040039,\r
+    "y": 5883.102294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e2964af9.ec57d8",\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": 4981.400894165039,\r
+    "y": 5924.302490234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f2f8d85f.c68ad8",\r
+    "type": "comment",\r
+    "name": "populate connectivity-C variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4842.066665649414,\r
+    "y": 6178.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9cfb7864.e0e548",\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": 5008.066665649414,\r
+    "y": 6217.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "98761b9f.ff6118",\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": 4847.066665649414,\r
+    "y": 6267.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "ebc03603.139de",\r
+        "22cd6c36.3aa1dc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ebc03603.139de",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5080.066665649414,\r
+    "y": 6261.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "3bf7ac87.926a04"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "22cd6c36.3aa1dc",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5081.066665649414,\r
+    "y": 6311.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "3bf7ac87.926a04",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5227.066665649414,\r
+    "y": 6269.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7682c7bc.9b0958",\r
+        "fc925053.188248",\r
+        "d17759a6.e157b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7682c7bc.9b0958",\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": 5474.066665649414,\r
+    "y": 6257.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fc925053.188248",\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": 5595.066665649414,\r
+    "y": 6304.218994140625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a868892a.829a98",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5477.950454711914,\r
+    "y": 6348.102294921875,\r
+    "z": "9718fe15.98603",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d17759a6.e157b",\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": 5476.733657836914,\r
+    "y": 6389.302490234375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "b6de4106.8135",\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": 3604.066665649414,\r
+    "y": 6162.652587890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "37dc60ca.62221",\r
+    "type": "switchNode",\r
+    "name": "switch $hasSecondary",\r
+    "xml": "<switch test='`$hasSecondary`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2941.316665649414,\r
+    "y": 6160.902587890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "196d7b7.c07cd85",\r
+        "bc377eb3.be507"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "196d7b7.c07cd85",\r
+    "type": "outcomeTrue",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3132.316665649414,\r
+    "y": 6164.902587890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "65fedbab.47a65c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "65fedbab.47a65c",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3259.316665649414,\r
+    "y": 6163.902587890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "b6de4106.8135"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bc377eb3.be507",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3128.316665649414,\r
+    "y": 6234.902587890625,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "e0efce2f.f6bfe"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7ecde40.b1b951c",\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": 3677.816665649414,\r
+    "y": 6233.986083984375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e0efce2f.f6bfe",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3261.816665649414,\r
+    "y": 6236.986083984375,\r
+    "z": "9718fe15.98603",\r
+    "wires": [\r
+      [\r
+        "7ecde40.b1b951c"\r
+      ]\r
+    ]\r
+  }\r
 ]
\ No newline at end of file