Adding support for connecting a single ONU port to multiple clouds with different...
[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..2e4b6b6 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": "781e35fa.f2e1d4",\r
+    "type": "dgstart",\r
+    "name": "DGSTART",\r
+    "outputs": 1,\r
+    "x": 173.88333129882812,\r
+    "y": 149.88333129882812,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "9e11530a.17bcb"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9e11530a.17bcb",\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": 458.1690216064453,\r
+    "y": 211.12143993377686,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2b94c108.46c67e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2b94c108.46c67e",\r
+    "type": "method",\r
+    "name": "method cll-vnf-topology-operation-cll-modify",\r
+    "xml": "<method rpc='cll-vnf-topology-operation-cll-modify' mode='sync'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 464.3119354248047,\r
+    "y": 295.88336181640625,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "fc45d9d.aa25928"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fc45d9d.aa25928",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 813.8833312988281,\r
+    "y": 354.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "5f20119b.1c25f",\r
+        "440015de.6e018c",\r
+        "7415bdce.bb1424"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5f20119b.1c25f",\r
+    "type": "returnSuccess",\r
+    "name": "return success",\r
+    "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
+    "comments": "",\r
+    "x": 1115.2168273925781,\r
+    "y": 625.8136291503906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "440015de.6e018c",\r
+    "type": "save",\r
+    "name": "get service-instance from aai",\r
+    "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1136.6452941894531,\r
+    "y": 328.2166442871094,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "12c8110b.ec9bd7",\r
+        "bbd39d34.8832e",\r
+        "23fc32e8.f22086"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "12c8110b.ec9bd7",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1361.6452941894531,\r
+    "y": 186.21664428710938,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "61f16e51.c24158"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bbd39d34.8832e",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1357.1362609863281,\r
+    "y": 255.79067993164062,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "47248fa2.17d9d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "23fc32e8.f22086",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1345.6452941894531,\r
+    "y": 302.2166442871094,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "cdbbe291.f3553"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "493ce64.5d5d418",\r
+    "type": "comment",\r
+    "name": "new for TransportSlicing",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 1115.6452941894531,\r
+    "y": 216.21664428710938,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7415bdce.bb1424",\r
+    "type": "execute",\r
+    "name": "execute properties",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1103.6452941894531,\r
+    "y": 268.2166442871094,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "61f16e51.c24158",\r
+    "type": "switchNode",\r
+    "name": "switch allotted-resources_length != 0",\r
+    "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1601.8833312988281,\r
+    "y": 182.88333129882812,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "58e97c67.87accc",\r
+        "d2e64d43.49ac68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "47248fa2.17d9d",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 1511.9457092285156,\r
+    "y": 258.74310302734375,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cdbbe291.f3553",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 1515.8833312988281,\r
+    "y": 302.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "58e97c67.87accc",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1806.8833312988281,\r
+    "y": 219.88333129882812,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c54a8c68.c345e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d2e64d43.49ac68",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1816.8833312988281,\r
+    "y": 146.88333129882812,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c54a8c68.c345e",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1799.8833312988281,\r
+    "y": 294.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "27adf24c.af1566",\r
+        "31a766ce.e0455a",\r
+        "7436fd76.690054",\r
+        "2b9d3039.23a428",\r
+        "2f2ed9c0.e0663e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d2a449e8.f07b58",\r
+    "type": "save",\r
+    "name": "get allotted-resource from aai",\r
+    "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!--         AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2285.883331298828,\r
+    "y": 345.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "41c867c6.b55cd8",\r
+        "84c1b468.c04558",\r
+        "621effb3.a9e918"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "41c867c6.b55cd8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2501.883331298828,\r
+    "y": 412.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "821dc5ef.6d3aa8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "84c1b468.c04558",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2502.374298095703,\r
+    "y": 312.4573059082031,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "4a81091b.110a38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "621effb3.a9e918",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2497.883331298828,\r
+    "y": 361.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "6269ae05.e67ee8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "27adf24c.af1566",\r
+    "type": "for",\r
+    "name": "for each allotted-resource",\r
+    "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2002.8833312988281,\r
+    "y": 326.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2c28c5a4.c9fc4a",\r
+        "d2a449e8.f07b58",\r
+        "42097510.f58b64",\r
+        "7a55e6a1.70e4b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2c28c5a4.c9fc4a",\r
+    "type": "set",\r
+    "name": "set the current allotted-resource-id",\r
+    "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 2282.883331298828,\r
+    "y": 264.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2b9d3039.23a428",\r
+    "type": "set",\r
+    "name": "set tmp.arr",\r
+    "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
+    "comments": "",\r
+    "x": 1976.8833312988281,\r
+    "y": 276.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "31a766ce.e0455a",\r
+    "type": "get-resource",\r
+    "name": "get-resource pnfs-list",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2019.8833312988281,\r
+    "y": 135.88333129882812,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7436fd76.690054",\r
+    "type": "get-resource",\r
+    "name": "get-resource logical-links",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2031.8833312988281,\r
+    "y": 176.88333129882812,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e57021b1.8566f8",\r
+    "type": "comment",\r
+    "name": "The following two nodes are for PCE",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 2056.883331298828,\r
+    "y": 88.88333129882812,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f75cee20.f52e5",\r
+    "type": "set",\r
+    "name": "set tmp.arr",\r
+    "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",\r
+    "comments": "",\r
+    "x": 1976.8833312988281,\r
+    "y": 222.88333129882812,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4a81091b.110a38",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 2680.883331298828,\r
+    "y": 314.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6269ae05.e67ee8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 2680.820831298828,\r
+    "y": 364.0235900878906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "821dc5ef.6d3aa8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 2682.820831298828,\r
+    "y": 415.0235900878906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2337e3a2.faa61c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2337e3a2.faa61c",\r
+    "type": "save",\r
+    "name": "get allotted-resource relationship from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2975.820831298828,\r
+    "y": 362.0235900878906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "cccd155c.90e07",\r
+        "b9a7ac6e.7fea5",\r
+        "73057b22.08e1dc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b9a7ac6e.7fea5",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3249.311798095703,\r
+    "y": 254.59756469726562,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "e5cee345.1eaae"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e5cee345.1eaae",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3426.883331298828,\r
+    "y": 254.88333129882812,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "73057b22.08e1dc",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3244.820831298828,\r
+    "y": 304.0235900878906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "f16a75f9.e23598"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f16a75f9.e23598",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3426.820831298828,\r
+    "y": 304.0235900878906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cccd155c.90e07",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3248.820831298828,\r
+    "y": 355.0235900878906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "e05a51c3.eb7208"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e05a51c3.eb7208",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3428.820831298828,\r
+    "y": 355.0235900878906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a185fcaa.c01b7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a185fcaa.c01b7",\r
+    "type": "switchNode",\r
+    "name": "switch allotted-resource.relationship-list not empty",\r
+    "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2994.883331298828,\r
+    "y": 489.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "64dc3552.29da24",\r
+        "1cf4e379.2b6355"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1cf4e379.2b6355",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3304.883331298828,\r
+    "y": 496.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "64dc3552.29da24",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3303.883331298828,\r
+    "y": 550.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "49cf9d82.f3816c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "61811a9.92ccce4",\r
+    "type": "outcome",\r
+    "name": "network-policy",\r
+    "xml": "<outcome value='network-policy'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4048.883331298828,\r
+    "y": 504.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "5422df0.13119a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5422df0.13119a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4225.883209228516,\r
+    "y": 497.8832092285156,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "cc385253.b8fbd",\r
+        "2cd49ffd.326448"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "49cf9d82.f3816c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3467.883331298828,\r
+    "y": 476.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "f69edc6a.996158",\r
+        "7412251.16d085c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f69edc6a.996158",\r
+    "type": "for",\r
+    "name": "for each allotted-resource relationship",\r
+    "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3748.883331298828,\r
+    "y": 432.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "ed2a485c.4e373"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ed2a485c.4e373",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4010.883331298828,\r
+    "y": 432.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "61811a9.92ccce4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cc385253.b8fbd",\r
+    "type": "set",\r
+    "name": "set the 1st network-policy-id",\r
+    "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4468.883209228516,\r
+    "y": 454.8832092285156,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2cd49ffd.326448",\r
+    "type": "save",\r
+    "name": "get network-policy from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4457.883209228516,\r
+    "y": 509.8832092285156,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "9972e623.c70578",\r
+        "34812087.cb8a98",\r
+        "1b373493.bb5393"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1b373493.bb5393",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4710.883331298828,\r
+    "y": 395.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "f7f40cf5.3f9508"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f7f40cf5.3f9508",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4859.454864501953,\r
+    "y": 396.1690979003906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a22797f6.37b0d8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 4858.392364501953,\r
+    "y": 440.3093566894531,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "34812087.cb8a98",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4699.392364501953,\r
+    "y": 440.3093566894531,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a22797f6.37b0d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9972e623.c70578",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4706.392364501953,\r
+    "y": 519.3093566894531,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2ecc1ca4.45238c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2ecc1ca4.45238c",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4845.392364501953,\r
+    "y": 519.3093566894531,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "4189f313.1a9cd4",\r
+        "b78697ee.5ce55"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4189f313.1a9cd4",\r
+    "type": "set",\r
+    "name": "set the max bandwidth",\r
+    "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
+    "comments": "",\r
+    "x": 5050.883331298828,\r
+    "y": 516.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b78697ee.5ce55",\r
+    "type": "set",\r
+    "name": "set the max bandwidth",\r
+    "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
+    "comments": "",\r
+    "x": 5049.883331298828,\r
+    "y": 562.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7412251.16d085c",\r
+    "type": "for",\r
+    "name": "for each allotted-resource relationship",\r
+    "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3565.883331298828,\r
+    "y": 548.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "6604e9c7.0c6c6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6604e9c7.0c6c6",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3845.883331298828,\r
+    "y": 548.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "85f44348.40e85"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "85f44348.40e85",\r
+    "type": "outcome",\r
+    "name": "logical-link",\r
+    "xml": "<outcome value='logical-link'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2258.8834533691406,\r
+    "y": 801.8834533691406,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "4b9c1fcb.91dc9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4b9c1fcb.91dc9",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 2435.883331298828,\r
+    "y": 794.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "27f44efc.6f6d32",\r
+        "c7edfd64.b3753"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "27f44efc.6f6d32",\r
+    "type": "set",\r
+    "name": "set the current logical-link-name",\r
+    "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 2678.883331298828,\r
+    "y": 751.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c7edfd64.b3753",\r
+    "type": "save",\r
+    "name": "get logical-link from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2667.883331298828,\r
+    "y": 806.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "24ace19f.75b966",\r
+        "ac0fada7.2237a",\r
+        "7d46d2c9.4b5f9c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "24ace19f.75b966",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2959.374298095703,\r
+    "y": 785.4573059082031,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "d7ebe78c.3ec37"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ac0fada7.2237a",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2947.883331298828,\r
+    "y": 829.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "77d529f.fb28458"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d7ebe78c.3ec37",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3107.945831298828,\r
+    "y": 785.7430725097656,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "77d529f.fb28458",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3106.883331298828,\r
+    "y": 829.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7d46d2c9.4b5f9c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2954.883331298828,\r
+    "y": 908.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "265410a7.36ec88"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "265410a7.36ec88",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3093.883331298828,\r
+    "y": 908.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "98c1de20.9fd92",\r
+        "22cf748c.dba294",\r
+        "6d145189.478b8",\r
+        "8cce98e.0c8f3e8",\r
+        "d4009f69.0bc89",\r
+        "9190bf27.d61b08",\r
+        "1fa44b37.7a7c65",\r
+        "1ebd0160.929687",\r
+        "f7e98987.293918",\r
+        "6b01ec04.e8e8dc",\r
+        "ce90c6ec.193398",\r
+        "323cec2c.88d45c",\r
+        "fba2883c.72d2",\r
+        "abd6e7f0.9745e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ec511c6.7493e6",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for ethernet-service-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3407.883331298828,\r
+    "y": 714.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "98c1de20.9fd92",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for otn-tunnel-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3388.883331298828,\r
+    "y": 764.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "abd6e7f0.9745e8",\r
+    "type": "set",\r
+    "name": "set new ethernet-service-name",\r
+    "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3345.883331298828,\r
+    "y": 809.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "22cf748c.dba294",\r
+    "type": "set",\r
+    "name": "set network-route-one",\r
+    "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3320.883331298828,\r
+    "y": 872.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6d145189.478b8",\r
+    "type": "set",\r
+    "name": "set network-route-two",\r
+    "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 3321.883331298828,\r
+    "y": 927.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8cce98e.0c8f3e8",\r
+    "type": "save",\r
+    "name": "get network-route-one from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-one'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-one\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3337.883331298828,\r
+    "y": 975.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "909d17c4.8ebc6",\r
+        "f19af18e.9ab1b8",\r
+        "7d20c22a.cc52a4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d4009f69.0bc89",\r
+    "type": "save",\r
+    "name": "get network-route-two from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-two'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-two\">",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3326.883331298828,\r
+    "y": 1062.8832092285156,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "9444273f.3b6308",\r
+        "2c5b38f8.57c148",\r
+        "b9db8112.11ed58"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "909d17c4.8ebc6",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3538.883331298828,\r
+    "y": 859.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c14b1c12.22174"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f19af18e.9ab1b8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3534.392364501953,\r
+    "y": 909.3093566894531,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2b40f083.4de84"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7d20c22a.cc52a4",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3538.392364501953,\r
+    "y": 962.3093566894531,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "aaa35683.7d2c38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c14b1c12.22174",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3687.454864501953,\r
+    "y": 859.1690979003906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2b40f083.4de84",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3677.392364501953,\r
+    "y": 909.3093566894531,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9444273f.3b6308",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3549.883331298828,\r
+    "y": 1032.8832092285156,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "106ff1ef.63ffd6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2c5b38f8.57c148",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3545.392364501953,\r
+    "y": 1082.3092346191406,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "ce83157c.4b6778"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b9db8112.11ed58",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3546.392364501953,\r
+    "y": 1135.3092346191406,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a56ebadb.ee398"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "106ff1ef.63ffd6",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3698.454864501953,\r
+    "y": 1032.1689758300781,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ce83157c.4b6778",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3688.392364501953,\r
+    "y": 1082.3092346191406,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "aaa35683.7d2c38",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3699.883331298828,\r
+    "y": 961.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "bc98fef2.b2548"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a56ebadb.ee398",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3699.883331298828,\r
+    "y": 1134.8832092285156,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "80324f63.fa516"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bc98fef2.b2548",\r
+    "type": "switchNode",\r
+    "name": "switch nr type",\r
+    "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3871.883331298828,\r
+    "y": 961.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "49900721.03dea8",\r
+        "7a97b419.9c3254"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "80324f63.fa516",\r
+    "type": "switchNode",\r
+    "name": "switch nr type",\r
+    "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3872.883331298828,\r
+    "y": 1134.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "9dd66c65.827358",\r
+        "1559fb7e.bddfc5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "49900721.03dea8",\r
+    "type": "outcome",\r
+    "name": "ROOT",\r
+    "xml": "<outcome value='ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4047.883331298828,\r
+    "y": 940.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "9c76efc2.c7f458"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7a97b419.9c3254",\r
+    "type": "outcome",\r
+    "name": "LEAF",\r
+    "xml": "<outcome value='LEAF'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4049.883331298828,\r
+    "y": 994.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "36b200ce.3626f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9dd66c65.827358",\r
+    "type": "outcome",\r
+    "name": "ROOT",\r
+    "xml": "<outcome value='ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4048.883331298828,\r
+    "y": 1104.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "f7a8d104.b779c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1559fb7e.bddfc5",\r
+    "type": "outcome",\r
+    "name": "LEAF",\r
+    "xml": "<outcome value='LEAF'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4050.883331298828,\r
+    "y": 1158.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2781339a.2c9d8c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a64deb38.79c21",\r
+    "type": "set",\r
+    "name": "set network-route-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4357.883331298828,\r
+    "y": 892.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d00069b9.08211",\r
+    "type": "set",\r
+    "name": "set network-route-LEAF",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4350.883331298828,\r
+    "y": 990.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e2a3248.b77d4d8",\r
+    "type": "set",\r
+    "name": "set network-route-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4350.883331298828,\r
+    "y": 1077.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "69fc971e.d1c948",\r
+    "type": "set",\r
+    "name": "set network-route-LEAF",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4354.883331298828,\r
+    "y": 1170.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "79a28b11.e62b74",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3581.883331298828,\r
+    "y": 1579.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "4a634c2c.1a75ec"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "940be839.4c9f2",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3591.374298095703,\r
+    "y": 1622.4573669433594,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "87a8481c.69d658"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a420af0c.05d778",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3579.883331298828,\r
+    "y": 1668.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2583b063.d99b38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2f08f142.24c856",\r
+    "type": "comment",\r
+    "name": "Question?",\r
+    "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+    "comments": "",\r
+    "x": 3281.883331298828,\r
+    "y": 1541.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1fa44b37.7a7c65",\r
+    "type": "save",\r
+    "name": "get p-interface-src from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3324.883331298828,\r
+    "y": 1606.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "79a28b11.e62b74",\r
+        "940be839.4c9f2",\r
+        "a420af0c.05d778"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9190bf27.d61b08",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3325.883331298828,\r
+    "y": 1276.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "d3643022.187b08",\r
+        "f8e2bf22.0eeef"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f8e2bf22.0eeef",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3548.883331298828,\r
+    "y": 1262.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "624eaece.91144"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d3643022.187b08",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3550.883331298828,\r
+    "y": 1295.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c2708361.dc58a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4a634c2c.1a75ec",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3754.549835205078,\r
+    "y": 1578.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a3465897.dfb6c",\r
+        "6701a8e7.d232d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "87a8481c.69d658",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3744.9457092285156,\r
+    "y": 1625.7431030273438,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2583b063.d99b38",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3748.883331298828,\r
+    "y": 1669.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a3465897.dfb6c",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4018.883331298828,\r
+    "y": 1562.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "345ba8bf.bbff3",\r
+        "cd05726a.f82838"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cd05726a.f82838",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4241.883331298828,\r
+    "y": 1517.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2d1297aa.955328"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "345ba8bf.bbff3",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4243.883331298828,\r
+    "y": 1581.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c1965743.4c3d48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c1965743.4c3d48",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+    "comments": "",\r
+    "x": 4405.883331298828,\r
+    "y": 1577.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2d1297aa.955328",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4406.883331298828,\r
+    "y": 1514.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2cdfacb5.3a35a4",\r
+        "3e9d9121.36c9d6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8deb3478.19bbc8",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4020.883331298828,\r
+    "y": 1721.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "97704f04.65be9",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity domainA",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4065.883331298828,\r
+    "y": 1631.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d3e16022.86087",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4148.883331298828,\r
+    "y": 1769.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c2708361.dc58a8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+    "comments": "",\r
+    "x": 3693.883331298828,\r
+    "y": 1292.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "624eaece.91144",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3696.883331298828,\r
+    "y": 1255.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "72c971d0.4048b8",\r
+        "afa94a20.a982b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "72c971d0.4048b8",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n",\r
+    "comments": "",\r
+    "x": 3870.883331298828,\r
+    "y": 1211.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6701a8e7.d232d8",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3972.883331298828,\r
+    "y": 1846.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "db5b6ad5.7610d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "db5b6ad5.7610d",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4178.883331298828,\r
+    "y": 1846.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "91f60d7.c7d4bf"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "91f60d7.c7d4bf",\r
+    "type": "outcome",\r
+    "name": "tunnel-termination-point",\r
+    "xml": "<outcome value='tunnel-termination-point'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4394.168975830078,\r
+    "y": 1846.7051086425781,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "f6e4c256.99ed68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "afa94a20.a982b",\r
+    "type": "get-resource",\r
+    "name": "get-resource src pnf",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3885.883331298828,\r
+    "y": 1322.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "1979ced2.4d0299",\r
+        "9890a5f2.a73b18",\r
+        "d6c935ad.2c18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1979ced2.4d0299",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4081.3834533691406,\r
+    "y": 1274.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "d4f7d32a.177f28"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9890a5f2.a73b18",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4073.3834533691406,\r
+    "y": 1329.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "4c3f3b2.6283544"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d6c935ad.2c18",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4078.3834533691406,\r
+    "y": 1386.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "13564645.a1e6da"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "13564645.a1e6da",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4230.383453369141,\r
+    "y": 1387.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4c3f3b2.6283544",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4241.383453369141,\r
+    "y": 1332.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d4f7d32a.177f28",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4225.765777587891,\r
+    "y": 1272.5390014648438,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "755f8d33.dd06bc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "755f8d33.dd06bc",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4409.883331298828,\r
+    "y": 1286.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "910fe315.8317e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3e9d9121.36c9d6",\r
+    "type": "set",\r
+    "name": "set ltpId",\r
+    "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
+    "comments": "",\r
+    "x": 4576.883331298828,\r
+    "y": 1472.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2cdfacb5.3a35a4",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
+    "comments": "",\r
+    "x": 4577.883331298828,\r
+    "y": 1580.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "80df0a60.dec0f8",\r
+    "type": "comment",\r
+    "name": "TODO: FIXME",\r
+    "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+    "comments": "",\r
+    "x": 4578.883331298828,\r
+    "y": 1529.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f6e4c256.99ed68",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4601.000518798828,\r
+    "y": 1847.2236633300781,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a4a05745.968c7",\r
+        "d1e00a0e.d2e56",\r
+        "d1a2356d.4786a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a4a05745.968c7",\r
+    "type": "set",\r
+    "name": "set source ttp-id",\r
+    "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 4816.000518798828,\r
+    "y": 1809.2236633300781,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d1e00a0e.d2e56",\r
+    "type": "get-resource",\r
+    "name": "get-resource src TTP",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4813.000518798828,\r
+    "y": 1848.2236633300781,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "17a4f2c1.f6b375"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d1a2356d.4786a8",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 4768.500518798828,\r
+    "y": 1890.2236633300781,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "17a4f2c1.f6b375",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4993.500518798828,\r
+    "y": 1847.2236633300781,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "ba138e8e.753b68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8d6faffb.891c08",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4807.883331298828,\r
+    "y": 1290.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "17552ef5.2956f9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "17552ef5.2956f9",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4984.883331298828,\r
+    "y": 1282.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "55d02530.edc7ec",\r
+        "14cede7e.dd48aa"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "910fe315.8317e8",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4604.883331298828,\r
+    "y": 1286.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "8d6faffb.891c08",\r
+        "fe294daa.41d368"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fe294daa.41d368",\r
+    "type": "outcome",\r
+    "name": "network-resource",\r
+    "xml": "<outcome value='network-resource'>",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4810.883331298828,\r
+    "y": 1364.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "d9a2dd9b.e37c68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d9a2dd9b.e37c68",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4987.883331298828,\r
+    "y": 1356.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "7ccc9bf1.00634c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ba138e8e.753b68",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5151.500518798828,\r
+    "y": 1847.2236633300781,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "949f2da8.99048"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "949f2da8.99048",\r
+    "type": "set",\r
+    "name": "set source tunnel tp ip",\r
+    "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
+    "comments": "",\r
+    "x": 5358.500518798828,\r
+    "y": 1847.2236633300781,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "14cede7e.dd48aa",\r
+    "type": "execute",\r
+    "name": "get esr-thirdparty-sdnc",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5192.883331298828,\r
+    "y": 1289.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "b2a3145.b7edbe8",\r
+        "e74729d.3422f58",\r
+        "409c0b0b.c89e64"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "55d02530.edc7ec",\r
+    "type": "set",\r
+    "name": "set esr-thirdparty-sdnc domainA id",\r
+    "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5222.883331298828,\r
+    "y": 1237.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b2a3145.b7edbe8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5402.883331298828,\r
+    "y": 1280.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "4b8f6adb.6d0404"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e74729d.3422f58",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5394.883331298828,\r
+    "y": 1335.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "19136c8e.dcdfbb"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "409c0b0b.c89e64",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5399.883331298828,\r
+    "y": 1392.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "e2070656.8dd03"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e2070656.8dd03",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5551.883331298828,\r
+    "y": 1393.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "19136c8e.dcdfbb",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5562.883331298828,\r
+    "y": 1338.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4b8f6adb.6d0404",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5547.265655517578,\r
+    "y": 1278.5390014648438,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c2a5af15.443d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7ccc9bf1.00634c",\r
+    "type": "set",\r
+    "name": "set domainA ethernet layer network-id",\r
+    "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5222.883331298828,\r
+    "y": 1480.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c2a5af15.443d8",\r
+    "type": "set",\r
+    "name": "set controller domainA data",\r
+    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+    "comments": "",\r
+    "x": 5761.883331298828,\r
+    "y": 1274.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4eba14c8.80a994",\r
+    "type": "set",\r
+    "name": "set network-route-B",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4345.883331298828,\r
+    "y": 928.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "620253a.9c2552c",\r
+    "type": "set",\r
+    "name": "set network-route-A",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4336.883331298828,\r
+    "y": 1026.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9c76efc2.c7f458",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4170.883331298828,\r
+    "y": 934.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a64deb38.79c21",\r
+        "4eba14c8.80a994"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "36b200ce.3626f",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4176.883331298828,\r
+    "y": 998.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "d00069b9.08211",\r
+        "620253a.9c2552c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f7a8d104.b779c8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4176.883331298828,\r
+    "y": 1104.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "e2a3248.b77d4d8",\r
+        "bcbbe769.3c0e1"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2781339a.2c9d8c",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4179.883331298828,\r
+    "y": 1157.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "69fc971e.d1c948",\r
+        "6070cd17.b28d74"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bcbbe769.3c0e1",\r
+    "type": "set",\r
+    "name": "set network-route-B",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4336.883331298828,\r
+    "y": 1117.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6070cd17.b28d74",\r
+    "type": "set",\r
+    "name": "set network-route-A",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4339.883331298828,\r
+    "y": 1208.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ef6aaa0a.46635",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3711.883331298828,\r
+    "y": 2418.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a10bbf1c.524bd",\r
+        "27427337.3be9a4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a6501243.d121f",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3539.216827392578,\r
+    "y": 2419.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "ef6aaa0a.46635"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "aaec6d99.4c304",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3548.707794189453,\r
+    "y": 2462.4573669433594,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "47f8697d.df9998"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e6e0568a.7d4f68",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3537.216827392578,\r
+    "y": 2508.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2963b336.e3bc8c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "47f8697d.df9998",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 3702.2792053222656,\r
+    "y": 2465.7431030273438,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2963b336.e3bc8c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 3706.216827392578,\r
+    "y": 2509.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a10bbf1c.524bd",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3998.216827392578,\r
+    "y": 2422.8834533691406,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "b2433bfc.a285b",\r
+        "e32efd70.259f3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e32efd70.259f3",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4221.216827392578,\r
+    "y": 2377.8834533691406,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "e33d7c06.1215a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b2433bfc.a285b",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4223.216827392578,\r
+    "y": 2441.8834533691406,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "96c9f851.720ff"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "96c9f851.720ff",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+    "comments": "",\r
+    "x": 4382.216827392578,\r
+    "y": 2460.8834533691406,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e33d7c06.1215a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4386.216827392578,\r
+    "y": 2374.8834533691406,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "64140131.87f6a",\r
+        "d9669ac1.5a2d68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e5d24864.c4d21",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4000.216827392578,\r
+    "y": 2581.8834533691406,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f6b5343f.392d9",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity domainB",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4045.216827392578,\r
+    "y": 2491.8834533691406,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "cfe86ca7.011b18",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4127.216827392578,\r
+    "y": 2646.8834533691406,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f7e98987.293918",\r
+    "type": "save",\r
+    "name": "get p-interface-dst from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3311.216827392578,\r
+    "y": 2454.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a6501243.d121f",\r
+        "aaec6d99.4c304",\r
+        "e6e0568a.7d4f68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d0c5015f.630ad",\r
+    "type": "comment",\r
+    "name": "Question?",\r
+    "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+    "comments": "",\r
+    "x": 3272.216827392578,\r
+    "y": 2398.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1ebd0160.929687",\r
+    "type": "execute",\r
+    "name": "execute split tp-id to get pnf-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3329.216827392578,\r
+    "y": 2117.8832092285156,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "28ff08ce.889b38",\r
+        "1b36a02a.8e3468"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1b36a02a.8e3468",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3552.216827392578,\r
+    "y": 2103.8832092285156,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "314f424e.949456"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "28ff08ce.889b38",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3554.216827392578,\r
+    "y": 2136.8832092285156,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c351a018.b67f98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c351a018.b67f98",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+    "comments": "",\r
+    "x": 3697.216827392578,\r
+    "y": 2133.8832092285156,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "314f424e.949456",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3700.216827392578,\r
+    "y": 2096.8832092285156,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "8065ca34.19e0e",\r
+        "27c4c436.c4a394"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8065ca34.19e0e",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n",\r
+    "comments": "",\r
+    "x": 3894.216827392578,\r
+    "y": 2099.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "27427337.3be9a4",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3957.216827392578,\r
+    "y": 2731.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "b95f783a.80c45"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b95f783a.80c45",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4163.216827392578,\r
+    "y": 2731.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "fdd7c5c3.71bfe8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fdd7c5c3.71bfe8",\r
+    "type": "outcome",\r
+    "name": "tunnel-termination-point",\r
+    "xml": "<outcome value='tunnel-termination-point'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4380.502471923828,\r
+    "y": 2730.705108642578,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "240f5a27.c1a7a6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "27c4c436.c4a394",\r
+    "type": "get-resource",\r
+    "name": "get-resource src pnf",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3916.216827392578,\r
+    "y": 2167.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "47b31581.268b0c",\r
+        "43867bdb.1b0d54",\r
+        "bbdefe01.0e663"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "47b31581.268b0c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4111.716949462891,\r
+    "y": 2119.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "bdcfd968.805c18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "43867bdb.1b0d54",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4103.716949462891,\r
+    "y": 2174.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a95a4d5b.d3114"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bbdefe01.0e663",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4108.716949462891,\r
+    "y": 2231.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "64398d6f.e5c684"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "64398d6f.e5c684",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4260.716949462891,\r
+    "y": 2232.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a95a4d5b.d3114",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4271.716949462891,\r
+    "y": 2177.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "bdcfd968.805c18",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4256.099273681641,\r
+    "y": 2117.5390014648438,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "6d52f6e9.bcbf28"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "64140131.87f6a",\r
+    "type": "set",\r
+    "name": "set ltpId",\r
+    "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
+    "comments": "",\r
+    "x": 4556.216827392578,\r
+    "y": 2335.8834533691406,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d9669ac1.5a2d68",\r
+    "type": "set",\r
+    "name": "set pnf-name",\r
+    "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
+    "comments": "",\r
+    "x": 4557.216827392578,\r
+    "y": 2440.8834533691406,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9ddf3bf9.57ff3",\r
+    "type": "comment",\r
+    "name": "TODO: FIXME",\r
+    "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+    "comments": "",\r
+    "x": 4552.216827392578,\r
+    "y": 2389.8834533691406,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "240f5a27.c1a7a6",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4587.334014892578,\r
+    "y": 2720.2237854003906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "801a071e.c98f98",\r
+        "45d249d1.4a712",\r
+        "37813776.11957"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "801a071e.c98f98",\r
+    "type": "set",\r
+    "name": "set destination ttp-id",\r
+    "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 4802.334014892578,\r
+    "y": 2682.2237854003906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "45d249d1.4a712",\r
+    "type": "get-resource",\r
+    "name": "get-resource src TTP",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4799.334014892578,\r
+    "y": 2721.2237854003906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "d7c43050.0743b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "37813776.11957",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 4754.834014892578,\r
+    "y": 2763.2237854003906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d7c43050.0743b",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4979.834014892578,\r
+    "y": 2720.2237854003906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "161c6e5f.bccb42"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "161c6e5f.bccb42",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5137.834014892578,\r
+    "y": 2720.2237854003906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "268de5ce.943522"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "268de5ce.943522",\r
+    "type": "set",\r
+    "name": "set destination tunnel tp ip",\r
+    "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
+    "comments": "",\r
+    "x": 5344.834014892578,\r
+    "y": 2720.2237854003906,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5dd066fb.8bb21",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4838.216827392578,\r
+    "y": 2135.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "4dd18012.7f83e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4dd18012.7f83e",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5015.216827392578,\r
+    "y": 2127.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "cb357072.40504",\r
+        "41f4620d.06ac64"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6d52f6e9.bcbf28",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4440.216827392578,\r
+    "y": 2131.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "1558a590.3c3faa"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1558a590.3c3faa",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4635.216827392578,\r
+    "y": 2131.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "5dd066fb.8bb21",\r
+        "a026e3da.a47c68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "41f4620d.06ac64",\r
+    "type": "execute",\r
+    "name": "get esr-thirdparty-sdnc",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5223.216827392578,\r
+    "y": 2134.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "304be603.33560a",\r
+        "7b7d3ebe.8d439",\r
+        "4d809924.5591a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e13819fd.c513e8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5017.216827392578,\r
+    "y": 2200.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "b46e83ff.b91008"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a026e3da.a47c68",\r
+    "type": "outcome",\r
+    "name": "network-resource",\r
+    "xml": "<outcome value='network-resource'>",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4840.216827392578,\r
+    "y": 2208.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "e13819fd.c513e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cb357072.40504",\r
+    "type": "set",\r
+    "name": "set esr-thirdparty-sdnc domainB id",\r
+    "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5253.216827392578,\r
+    "y": 2082.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b46e83ff.b91008",\r
+    "type": "set",\r
+    "name": "set domainB ethernet layer network-id",\r
+    "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
+    "comments": "",\r
+    "x": 5252.216827392578,\r
+    "y": 2324.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "304be603.33560a",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5433.216827392578,\r
+    "y": 2125.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "d9386700.ef3558"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7b7d3ebe.8d439",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5425.216827392578,\r
+    "y": 2180.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "b1a122b9.2b3df"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4d809924.5591a8",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5430.216827392578,\r
+    "y": 2237.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "7206a51a.368f14"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7206a51a.368f14",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5582.216827392578,\r
+    "y": 2238.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b1a122b9.2b3df",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5593.216827392578,\r
+    "y": 2183.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d9386700.ef3558",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5577.599151611328,\r
+    "y": 2123.5390014648438,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c475367c.4940f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c475367c.4940f8",\r
+    "type": "set",\r
+    "name": "set controller domainB data",\r
+    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
+    "comments": "",\r
+    "x": 5792.216827392578,\r
+    "y": 2119.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6b01ec04.e8e8dc",\r
+    "type": "set",\r
+    "name": "set LEAF stuff",\r
+    "xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop + '-' + $tmp.aai.network-route-A.logical-interface-id`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",\r
+    "comments": "",\r
+    "x": 3290.883331298828,\r
+    "y": 1729.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6404a595.2767cc",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4512.883331298828,\r
+    "y": 1012.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fdf288f5.399238",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4504.883331298828,\r
+    "y": 1102.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ce90c6ec.193398",\r
+    "type": "set",\r
+    "name": "set ROOT stuff",\r
+    "xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop + '-' + $tmp.aai.network-route-B.logical-interface-id`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",\r
+    "comments": "",\r
+    "x": 3271.883331298828,\r
+    "y": 2585.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "323cec2c.88d45c",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3422.883331298828,\r
+    "y": 2833.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "fba2883c.72d2",\r
+    "type": "switchNode",\r
+    "name": "switch found-middle-man?",\r
+    "xml": "<switch test='`$found-middle-man`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3299.883331298828,\r
+    "y": 2943.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "b06a53c9.6a23c",\r
+        "52a66ca0.57e87c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b06a53c9.6a23c",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3483.883331298828,\r
+    "y": 2922.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "d4c9f2dc.11912"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "52a66ca0.57e87c",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3019.883331298828,\r
+    "y": 4508.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "7ebd19ad.940af8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d74b6b50.22dd88",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3530.883331298828,\r
+    "y": 5093.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "b3935092.c652b8",\r
+        "28b03e50.9f7992",\r
+        "980b4828.96504",\r
+        "17af28da.ceda4f",\r
+        "2c43e5ee.399d8a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d4c9f2dc.11912",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6602.883331298828,\r
+    "y": 2952.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "1d7e1faa.548828",\r
+        "85f258da.5f0598",\r
+        "4b074654.080e5",\r
+        "5d8ffada.d10fc4",\r
+        "ea403b0c.aaf7e",\r
+        "1235d80a.544f18",\r
+        "af33968a.8315c",\r
+        "9cfe0ae9.258d58",\r
+        "65dbbd5b.a49b4c",\r
+        "1d15547d.10576c",\r
+        "89a6c1ea.eb5688",\r
+        "2f9ad2ef.1013a6",\r
+        "a5dc8f9.8a79df",\r
+        "e38bf422.7c8768",\r
+        "43d0f5c9.60220c",\r
+        "2b09e0eb.8326d",\r
+        "1698c025.c5ee78",\r
+        "1d008796.234d18",\r
+        "76e889a9.7e8db8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "65dbbd5b.a49b4c",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity domainB",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6913.883331298828,\r
+    "y": 3307.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1d7e1faa.548828",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6867.883331298828,\r
+    "y": 3405.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "85f258da.5f0598",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 7003.883331298828,\r
+    "y": 3452.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7c12d148.f08d78",\r
+    "type": "comment",\r
+    "name": "Create ROOT connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6834.883331298828,\r
+    "y": 3256.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8342cd90.5a2f6",\r
+    "type": "comment",\r
+    "name": "create middle man connectivity and ...",\r
+    "info": "1- create middle man connectivity\n2- create relation with all connectivities\n   in the path\n3- put srcTtp (+dstTtp) somewhere in the\n   vpn-binding -> this is for later on to find\n   which OTN tunnel's bandwidth has to be increased.\n5- create UNIs\n4- create relationship to UNIs",\r
+    "comments": "",\r
+    "x": 7360.883331298828,\r
+    "y": 3747.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4b074654.080e5",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity middle-man",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-middle-man-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6924.883331298828,\r
+    "y": 3786.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5d8ffada.d10fc4",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-middle-man-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-middle-man-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<!--The followings are not needed for the middle-man-connectivity-->\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='mdsc' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6872.883331298828,\r
+    "y": 3837.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ea403b0c.aaf7e",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-middle-man-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-middle-man-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 7008.883331298828,\r
+    "y": 3884.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "18aaa2dc.b37a3d",\r
+    "type": "comment",\r
+    "name": "Create MIDDLE-MAN connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6865.883331298828,\r
+    "y": 3746.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b8a58f62.fd6f68",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 7295.883331298828,\r
+    "y": 3943.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1235d80a.544f18",\r
+    "type": "save",\r
+    "name": "get middle-man connectivity from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $prop.connectivity-middle-man-uuid\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"middle-man-conn\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6886.883331298828,\r
+    "y": 3990.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "caaa8d0a.a400c",\r
+        "ba918a95.063018",\r
+        "73076382.d5d394"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "caaa8d0a.a400c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 7133.883331298828,\r
+    "y": 3944.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "b8a58f62.fd6f68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ba918a95.063018",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 7134.374298095703,\r
+    "y": 3990.4573669433594,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "70335d13.df0d4c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "73076382.d5d394",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 7131.883331298828,\r
+    "y": 4033.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "3d4cb88b.ddae8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "70335d13.df0d4c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 7296.945709228516,\r
+    "y": 3990.7431030273438,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3d4cb88b.ddae8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 7300.883331298828,\r
+    "y": 4034.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "43d0f5c9.60220c",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6943.883331298828,\r
+    "y": 4269.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2b09e0eb.8326d",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to connectivity-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6946.883331298828,\r
+    "y": 4314.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1d008796.234d18",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6935.883331298828,\r
+    "y": 4105.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "76e889a9.7e8db8",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6937.883331298828,\r
+    "y": 4152.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2304ec84.74d9f4",\r
+    "type": "comment",\r
+    "name": "The following two will be done in F1",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6859.883331298828,\r
+    "y": 4222.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "175b5cd1.9f40e3",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4489.883087158203,\r
+    "y": 5373.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "b3935092.c652b8",\r
+    "type": "switchNode",\r
+    "name": "switch no-pce-call",\r
+    "xml": "<switch test='`$no-pce-call`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3745.883331298828,\r
+    "y": 5074.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "b8e9bffb.cdc88",\r
+        "256198d1.5f7cf8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "256198d1.5f7cf8",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3917.883331298828,\r
+    "y": 5071.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "30a42efe.828c8a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b8e9bffb.cdc88",\r
+    "type": "outcomeFalse",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3869.883331298828,\r
+    "y": 5918.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2ed5b6b9.722642"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9dc6e8a7.9c1158",\r
+    "type": "comment",\r
+    "name": "1 --> PCE is needed",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3930.883331298828,\r
+    "y": 5041.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e1ff48b3.343b9",\r
+    "type": "comment",\r
+    "name": "2 --> no need to call PCE",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3940.883331298828,\r
+    "y": 5876.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "af33968a.8315c",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6943.883331298828,\r
+    "y": 4378.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "30a42efe.828c8a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4093.883331298828,\r
+    "y": 5073.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2892dc09.31fadc",\r
+        "afa31c79.54acd8",\r
+        "e8807ba5.c313d8",\r
+        "f07ffbda.6acb28",\r
+        "78d94074.f38b7",\r
+        "95bef4a8.5a7ff8",\r
+        "175b5cd1.9f40e3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d52f0d8d.4208d8",\r
+    "type": "comment",\r
+    "name": "Use the middle-man-conn.eth-srv-name for the LEAF connectivity's eth srv name",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5537.883087158203,\r
+    "y": 4998.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2892dc09.31fadc",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4484.883087158203,\r
+    "y": 5676.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9cfe0ae9.258d58",\r
+    "type": "save",\r
+    "name": "save connectivityB relationship to UNI-ROOT, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6919.883331298828,\r
+    "y": 3646.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "753d3ee1.bef8a",\r
+    "type": "save",\r
+    "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3403.883331298828,\r
+    "y": 1835.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "564c1334.4c1554",\r
+    "type": "save",\r
+    "name": "save LEAF UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-p-interface-short`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3310.883331298828,\r
+    "y": 1782.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "514b6193.3ff5b",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainB-uuid=tmp.ROOT.uni-p-interface-long",\r
+    "xml": "<set>\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />\n",\r
+    "comments": "",\r
+    "x": 6969.883331298828,\r
+    "y": 3349.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1d15547d.10576c",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity domainA",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6916.883331298828,\r
+    "y": 2937.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "89a6c1ea.eb5688",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6864.883331298828,\r
+    "y": 2985.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2f9ad2ef.1013a6",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6992.883331298828,\r
+    "y": 3032.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "baf2c2db.c807d8",\r
+    "type": "comment",\r
+    "name": "Create LEAF connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6829.883331298828,\r
+    "y": 2895.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a5dc8f9.8a79df",\r
+    "type": "save",\r
+    "name": "save LEAF UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6826.883331298828,\r
+    "y": 3123.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e38bf422.7c8768",\r
+    "type": "save",\r
+    "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6919.883331298828,\r
+    "y": 3176.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5474c24a.9f6dac",\r
+    "type": "comment",\r
+    "name": "Create LEAF UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6810.883331298828,\r
+    "y": 3079.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "63adea28.503954",\r
+    "type": "comment",\r
+    "name": "Create ROOT UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6816.883331298828,\r
+    "y": 3529.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f07ffbda.6acb28",\r
+    "type": "save",\r
+    "name": "save LEAF UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4406.883087158203,\r
+    "y": 5006.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5623ebdb.1a4534",\r
+    "type": "comment",\r
+    "name": "Create LEAF UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4390.883087158203,\r
+    "y": 4962.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4b470452.112d8c",\r
+    "type": "comment",\r
+    "name": "Create LEAF connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5137.883087158203,\r
+    "y": 4993.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "effc1efd.4a1d3",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for connectivity domainA",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5224.883087158203,\r
+    "y": 5035.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5c8eea0c.68cc14",\r
+    "type": "save",\r
+    "name": "save connectivity resource in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$middle-man-conn.etht-svc-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5172.883087158203,\r
+    "y": 5083.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e7adda57.489d68",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5300.883087158203,\r
+    "y": 5130.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "95bef4a8.5a7ff8",\r
+    "type": "save",\r
+    "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4477.883087158203,\r
+    "y": 5415.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "63c65355.a8cec4",\r
+    "type": "comment",\r
+    "name": "populate connectivity-B variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4460.883087158203,\r
+    "y": 5477.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "afa31c79.54acd8",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4571.883087158203,\r
+    "y": 5519.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "be0ea96a.8229",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainB-uuid",\r
+    "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 5019.883087158203,\r
+    "y": 5572.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4ebf5b73.f18c34",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4329.883087158203,\r
+    "y": 6270.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "58b6c88a.c0b81",\r
+    "type": "save",\r
+    "name": "save LEAF UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4262.883087158203,\r
+    "y": 6224.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "cd721269.4316d8",\r
+    "type": "comment",\r
+    "name": "Create LEAF UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4211.883087158203,\r
+    "y": 6175.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "be012245.15127",\r
+    "type": "save",\r
+    "name": "save the-connectivity relationship to UNI-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4994.883331298828,\r
+    "y": 6381.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e8807ba5.c313d8",\r
+    "type": "switchNode",\r
+    "name": "switch found-root-connectivity",\r
+    "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4398.883087158203,\r
+    "y": 5576.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "572d7988.ef657",\r
+        "f53c00f0.cf63b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "572d7988.ef657",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4609.883087158203,\r
+    "y": 5576.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a96de56.d3d4f18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a96de56.d3d4f18",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4765.883087158203,\r
+    "y": 5572.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "be0ea96a.8229",\r
+        "d676c28d.645a28",\r
+        "bc2e1526.9ae628"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f53c00f0.cf63b8",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4605.883087158203,\r
+    "y": 5624.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "d258f77c.8cc748"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d258f77c.8cc748",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
+    "comments": "",\r
+    "x": 4753.883087158203,\r
+    "y": 5619.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5438b6e6.1482f8",\r
+    "type": "save",\r
+    "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5261.883087158203,\r
+    "y": 5201.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "42097510.f58b64",\r
+    "type": "execute",\r
+    "name": "execute UUID generator for ethernet-service-name",\r
+    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2428.883331298828,\r
+    "y": 160.88333129882812,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7a55e6a1.70e4b",\r
+    "type": "set",\r
+    "name": "set new ethernet-service-name",\r
+    "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 2362.883331298828,\r
+    "y": 196.88333129882812,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "bf79a82b.b4ff98",\r
+    "type": "comment",\r
+    "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 2547.883331298828,\r
+    "y": 123.88333129882812,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7675dfe3.26b5f8",\r
+    "type": "set",\r
+    "name": "set current-provider-id and current-cvlan-id",\r
+    "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
+    "comments": "",\r
+    "x": 4296.883087158203,\r
+    "y": 6336.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ce5c7ab5.bd83c8",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4429.883087158203,\r
+    "y": 6384.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "60efc6f5.6c666",\r
+    "type": "switchNode",\r
+    "name": "switch found-connectivity?",\r
+    "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4248.883087158203,\r
+    "y": 6442.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "f080a66c.4f7ec8",\r
+        "652b319b.ab8708"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f080a66c.4f7ec8",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4441.883087158203,\r
+    "y": 6443.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "10a44adb.d38a25"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "10a44adb.d38a25",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Connectivity should have been created' />\n",\r
+    "comments": "",\r
+    "x": 4597.883087158203,\r
+    "y": 6440.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "652b319b.ab8708",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4445.883087158203,\r
+    "y": 6487.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a7138657.394d98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a7138657.394d98",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4584.883087158203,\r
+    "y": 6482.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "be012245.15127",\r
+        "cc830633.a13cc",\r
+        "cd9f0573.3ee2f8",\r
+        "a5be208e.ddaeb8",\r
+        "eaad5657.8cd72",\r
+        "eb39c4f9.289008",\r
+        "f25bfca7.d75338",\r
+        "ea968dfa.497e7",\r
+        "11d506a.c6a64f9",\r
+        "d968015c.39cda8",\r
+        "54a65e87.65172",\r
+        "11c77751.f259a1",\r
+        "9efae615.dd5ab"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f25bfca7.d75338",\r
+    "type": "save",\r
+    "name": "get all-vpn-bindings from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4781.883087158203,\r
+    "y": 7161.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "3dba1ed8.091bf2",\r
+        "7f8f7997.fe796",\r
+        "d8010c15.3a2778"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3dba1ed8.091bf2",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4976.88330078125,\r
+    "y": 7137.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "1b65a6f4.4e2729"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f8f7997.fe796",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4969.374267578125,\r
+    "y": 7174.457336425781,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "403902c8.70c854"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d8010c15.3a2778",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4966.88330078125,\r
+    "y": 7217.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "ab2fcd35.01c098"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1b65a6f4.4e2729",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5148.88330078125,\r
+    "y": 7135.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c7100026.09f848"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "403902c8.70c854",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5131.9456787109375,\r
+    "y": 7174.743072509766,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ab2fcd35.01c098",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 5133.88330078125,\r
+    "y": 7216.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c7100026.09f848",\r
+    "type": "for",\r
+    "name": "for vpnidx in all-vpn-bindings",\r
+    "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5389.883087158203,\r
+    "y": 7169.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "746d723d.92756c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "746d723d.92756c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5626.883087158203,\r
+    "y": 7165.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c84e8944.ab748"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9e3ec759.f9e0d",\r
+    "type": "switchNode",\r
+    "name": "switch vpnuuid is for this slice",\r
+    "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].slice-id == $tmp.aai.service-instance.service-instance-id `\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5893.883087158203,\r
+    "y": 7131.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "4fee4c24.360bcc",\r
+        "4314046.5a68afc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4fee4c24.360bcc",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6074.883087158203,\r
+    "y": 7157.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c84e8944.ab748"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4314046.5a68afc",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6073.883087158203,\r
+    "y": 7110.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c84e8944.ab748",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4590.88330078125,\r
+    "y": 7305.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "cbf296b5.4a44d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1eeaf51a.0f85d3",\r
+    "type": "set",\r
+    "name": "set tmp.aai.the-vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
+    "comments": "",\r
+    "x": 5666.883087158203,\r
+    "y": 7337.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "75dd5c17.2526e4",\r
+    "type": "comment",\r
+    "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4879.88330078125,\r
+    "y": 7073.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "eb39c4f9.289008",\r
+    "type": "set",\r
+    "name": "set srcTtp OTN layer",\r
+    "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4763.883087158203,\r
+    "y": 6957.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5dce4a96.7e6e5c",\r
+    "type": "switchNode",\r
+    "name": "switch provider-id domainA",\r
+    "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5108.883087158203,\r
+    "y": 6788.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "f4b6cbdd.4872c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f4b6cbdd.4872c",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5328.883087158203,\r
+    "y": 6794.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "49771dd5.9b717c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "49771dd5.9b717c",\r
+    "type": "switchNode",\r
+    "name": "switch te-topo-id",\r
+    "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5513.883087158203,\r
+    "y": 6793.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "444eff53.bd878"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "444eff53.bd878",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5705.883087158203,\r
+    "y": 6796.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "149f57f1.fd7a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "149f57f1.fd7a",\r
+    "type": "set",\r
+    "name": "set otnTopoIdSrc",\r
+    "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+    "comments": "",\r
+    "x": 5914.883087158203,\r
+    "y": 6794.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ea968dfa.497e7",\r
+    "type": "for",\r
+    "name": "for netwidx..allNetworksList_length",\r
+    "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4815.883087158203,\r
+    "y": 6782.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "5dce4a96.7e6e5c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cd9f0573.3ee2f8",\r
+    "type": "get-resource",\r
+    "name": "get-resource network-resources-list",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4823.883087158203,\r
+    "y": 6675.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "e6c84893.53204",\r
+        "5e294103.3f0c78",\r
+        "8261318b.eb457"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e6c84893.53204",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5059.883087158203,\r
+    "y": 6658.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5e294103.3f0c78",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5056.883087158203,\r
+    "y": 6699.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8261318b.eb457",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5070.883087158203,\r
+    "y": 6739.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a5be208e.ddaeb8",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4759.883087158203,\r
+    "y": 6834.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "eaad5657.8cd72",\r
+    "type": "set",\r
+    "name": "set tmp.pce-src-node",\r
+    "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[1] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[2] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[3] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[4] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[5] + '-' +-->\n<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $otnTopoIdSrc + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />",\r
+    "comments": "",\r
+    "x": 4767.883087158203,\r
+    "y": 6892.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cc830633.a13cc",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4772.883087158203,\r
+    "y": 6632.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "904e1ae5.bbd558",\r
+    "type": "comment",\r
+    "name": "The following section is to find srcTtp OTN layer (its long name)",\r
+    "info": "The following section is to find srcTtp OTN layer (its long name)",\r
+    "comments": "",\r
+    "x": 4887.883087158203,\r
+    "y": 6584.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cbf296b5.4a44d",\r
+    "type": "switchNode",\r
+    "name": "switch ops-note is srcTtpOtnLayer",\r
+    "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4880.88330078125,\r
+    "y": 7300.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a993ecb7.4e75a",\r
+        "50a501d.eb089"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a993ecb7.4e75a",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5136.88330078125,\r
+    "y": 7272.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2f3de295.447b1e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "50a501d.eb089",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5136.88330078125,\r
+    "y": 7321.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ed22a86b.d791b8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5402.88330078125,\r
+    "y": 7313.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "5c9c1b49.b9b35c",\r
+        "1eeaf51a.0f85d3",\r
+        "e4035d6c.e05158"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f63796a1.344c48",\r
+    "type": "comment",\r
+    "name": "increase the bw of the-vpn-binding and change status to modified",\r
+    "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
+    "comments": "",\r
+    "x": 5794.883087158203,\r
+    "y": 7391.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e4035d6c.e05158",\r
+    "type": "save",\r
+    "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<!--<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $gfp`' />\n\n<parameter name='operational-status' value='Modified' />\n\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5764.883087158203,\r
+    "y": 7451.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5c9c1b49.b9b35c",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.the-vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
+    "comments": "",\r
+    "x": 5671.883087158203,\r
+    "y": 7279.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2ed5b6b9.722642",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4021.883331298828,\r
+    "y": 5917.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "58b6c88a.c0b81",\r
+        "7675dfe3.26b5f8",\r
+        "ce5c7ab5.bd83c8",\r
+        "60efc6f5.6c666",\r
+        "4ebf5b73.f18c34"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8e0e6c35.35f418",\r
+    "type": "set",\r
+    "name": "unset otnTopoIdSrc",\r
+    "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
+    "comments": "",\r
+    "x": 4764.883087158203,\r
+    "y": 6732.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "11d506a.c6a64f9",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4887.883331298828,\r
+    "y": 6462.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "4d39072e.34b5f8",\r
+    "type": "comment",\r
+    "name": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
+    "info": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
+    "comments": "",\r
+    "x": 5024.883331298828,\r
+    "y": 6412.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1698c025.c5ee78",\r
+    "type": "save",\r
+    "name": "save ROOT UNI in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6832.883331298828,\r
+    "y": 3588.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "63d6aa7c.b5a514",\r
+    "type": "comment",\r
+    "name": "NOT NEEDED ANYMORE?",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4038.883331298828,\r
+    "y": 1813.8833312988281,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3aa74194.8661ee",\r
+    "type": "comment",\r
+    "name": "NOT NEEDED ANYMORE?",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4016.883331298828,\r
+    "y": 2683.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b098a36d.e0c3e",\r
+    "type": "comment",\r
+    "name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6823.883331298828,\r
+    "y": 4055.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2f2ed9c0.e0663e",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3528.883331298828,\r
+    "y": 6057.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "28b03e50.9f7992",\r
+    "type": "set",\r
+    "name": "set current-provider-id and current-cvlan-id",\r
+    "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
+    "comments": "",\r
+    "x": 3739.883331298828,\r
+    "y": 4934.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "980b4828.96504",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3872.883331298828,\r
+    "y": 4982.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "78d94074.f38b7",\r
+    "type": "switchNode",\r
+    "name": "switch found-connectivity?",\r
+    "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4417.883087158203,\r
+    "y": 5062.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "bc43fa2d.411608",\r
+        "7dd6f63d.8487f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bc43fa2d.411608",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4610.883087158203,\r
+    "y": 5063.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c471dfd.f92dba"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7dd6f63d.8487f",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4614.883087158203,\r
+    "y": 5107.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a8ff6a7c.81ae98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a8ff6a7c.81ae98",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4753.883087158203,\r
+    "y": 5102.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a2ef082b.b2f048",\r
+        "fa92cb40.708c7",\r
+        "c4bba10e.ae5948"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c471dfd.f92dba",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4753.883087158203,\r
+    "y": 5059.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "effc1efd.4a1d3",\r
+        "5c8eea0c.68cc14",\r
+        "e7adda57.489d68",\r
+        "5438b6e6.1482f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a2ef082b.b2f048",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainA-uuid",\r
+    "xml": "<set>\n<parameter name='uuid.connectivity-domainA-uuid' value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 5147.883087158203,\r
+    "y": 5353.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "963dc7de.4f275",\r
+    "type": "comment",\r
+    "name": "populate connectivity-A variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5154.883087158203,\r
+    "y": 5307.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d968015c.39cda8",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4944.88330078125,\r
+    "y": 7022.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "fa92cb40.708c7",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5266.883087158203,\r
+    "y": 5406.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d676c28d.645a28",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5148.883087158203,\r
+    "y": 5624.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "3d7bbeb8.4fb6ea",\r
+    "type": "comment",\r
+    "name": "Update ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3703.883331298828,\r
+    "y": 4532.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b16bd91d.551568",\r
+    "type": "save",\r
+    "name": "update ROOT UNI in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4037.883331298828,\r
+    "y": 4715.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "17af28da.ceda4f",\r
+    "type": "save",\r
+    "name": "get root uni from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3649.883331298828,\r
+    "y": 4582.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "1c28f8e9.5cfb07",\r
+        "7bdf0726.9bbbb8",\r
+        "d03c4576.8b0b7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7bdf0726.9bbbb8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3877.374298095703,\r
+    "y": 4555.457305908203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "6a9d8f.c783f27"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d03c4576.8b0b7",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3872.883331298828,\r
+    "y": 4599.883270263672,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "732d0fc7.ef1e4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6a9d8f.c783f27",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4039.945831298828,\r
+    "y": 4554.743011474609,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "732d0fc7.ef1e4",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 4040.883331298828,\r
+    "y": 4599.883270263672,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2b632ac5.849276",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3825.883331298828,\r
+    "y": 4672.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "d3a7ff82.f011",\r
+        "b16bd91d.551568"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1c28f8e9.5cfb07",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3656.883331298828,\r
+    "y": 4672.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2b632ac5.849276"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d3a7ff82.f011",\r
+    "type": "set",\r
+    "name": "set new bw",\r
+    "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $gfp`' />\n",\r
+    "comments": "",\r
+    "x": 4014.883331298828,\r
+    "y": 4664.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2c43e5ee.399d8a",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $middle-man-conn.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$middle-man-conn.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3847.883331298828,\r
+    "y": 4810.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "97722063.27aea",\r
+    "type": "comment",\r
+    "name": "We are doing modify but middle man does not exist ==> it is definitely a new logical link",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3630.883331298828,\r
+    "y": 2893.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "65778a7a.89ed44",\r
+    "type": "comment",\r
+    "name": "We are doing modify and middle man exists, check if LEAF UNI already exists in AAI or not. If yes, consider the possible bw change. If it does not, then it is a new link needs to be added",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3485.883331298828,\r
+    "y": 4460.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a2d538df.980d68",\r
+    "type": "exists",\r
+    "name": "exists LEAF UNI",\r
+    "xml": "<exists plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3258.883331298828,\r
+    "y": 4728.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "43a12633.7a37a8",\r
+        "6d14b300.778b24"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7ebd19ad.940af8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3090.883331298828,\r
+    "y": 4731.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a2d538df.980d68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6d14b300.778b24",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3421.883331298828,\r
+    "y": 4747.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "d74b6b50.22dd88"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "43a12633.7a37a8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3457.883331298828,\r
+    "y": 3354.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "fd9ecd52.f0eec"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "58f27ca9.e6694c",\r
+    "type": "switchNode",\r
+    "name": "switch leafuni.data-source == gfp",\r
+    "xml": "<switch test='`$tmp.aai.leafuni.data-source == $gfp`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3773.883331298828,\r
+    "y": 3406.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "f8970eb9.db20d",\r
+        "767d527f.e764f4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f8970eb9.db20d",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3978.883331298828,\r
+    "y": 3402.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "767d527f.e764f4",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3980.883331298828,\r
+    "y": 3452.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "e0571d8f.b0d5c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e0571d8f.b0d5c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4136.883331298828,\r
+    "y": 3458.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "29bbf41c.92a224",\r
+        "892518e7.2c6e68",\r
+        "36c28209.5e5a0e",\r
+        "b822f518.1b138"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "29bbf41c.92a224",\r
+    "type": "set",\r
+    "name": "set bwModified",\r
+    "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4362.883575439453,\r
+    "y": 3199.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f218f6e.d910588",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4894.883056640625,\r
+    "y": 4286.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a5aad4b.a7f08a8",\r
+        "7594985d.bdad18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7594985d.bdad18",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
+    "comments": "",\r
+    "x": 5096.8828125,\r
+    "y": 4253.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a04d2a4d.17b14",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 4780.88330078125,\r
+    "y": 4463.883056640625,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3892fdc5.2518b2",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4777.9454345703125,\r
+    "y": 4412.743072509766,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "809a6f2e.e2cff",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4360.883056640625,\r
+    "y": 4286.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "663c1b4b.a64fcc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "663c1b4b.a64fcc",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4565.883056640625,\r
+    "y": 4286.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "4c765f5a.bea65"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4c765f5a.bea65",\r
+    "type": "outcome",\r
+    "name": "vpn-binding",\r
+    "xml": "<outcome value='vpn-binding'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4731.883056640625,\r
+    "y": 4286.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "f218f6e.d910588"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a5aad4b.a7f08a8",\r
+    "type": "save",\r
+    "name": "get vpn-binding from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4403.883056640625,\r
+    "y": 4364.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "6b0b4a54.7d0dd4",\r
+        "c44b1722.eadf8",\r
+        "30cd81de.fee396"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6b0b4a54.7d0dd4",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4614.883056640625,\r
+    "y": 4366.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "d1d7ad20.29b52"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c44b1722.eadf8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4615.3740234375,\r
+    "y": 4412.457336425781,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "3892fdc5.2518b2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "30cd81de.fee396",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4612.883056640625,\r
+    "y": 4455.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a04d2a4d.17b14"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fd9ecd52.f0eec",\r
+    "type": "save",\r
+    "name": "get LEAF uni from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.LEAF.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.leafuni\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3647.883331298828,\r
+    "y": 3249.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "3062cdfd.42c69a",\r
+        "db9f52e5.d7dfa8",\r
+        "aae84cfb.f1edc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "db9f52e5.d7dfa8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3875.374298095703,\r
+    "y": 3222.457305908203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "557116c4.068f88"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "aae84cfb.f1edc",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3870.883331298828,\r
+    "y": 3266.883270263672,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "270e15a6.70575a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "557116c4.068f88",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4037.945831298828,\r
+    "y": 3221.7430114746094,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "270e15a6.70575a",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 4038.883331298828,\r
+    "y": 3266.883270263672,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3062cdfd.42c69a",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3882.883331298828,\r
+    "y": 3316.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "58f27ca9.e6694c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d823dcb2.3ea1b",\r
+    "type": "comment",\r
+    "name": "Find LEAF and ROOT connectivity, then find vpn-bindings of each. adjust bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3772.7666625976562,\r
+    "y": 3507.7666625976562,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a7eccb2d.bd2018",\r
+    "type": "set",\r
+    "name": "set current-provider-id and current-cvlan-id",\r
+    "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
+    "comments": "",\r
+    "x": 3787.483428955078,\r
+    "y": 3859.566680908203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a53a5ddb.dd60f",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3925.483428955078,\r
+    "y": 3917.566680908203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "892518e7.2c6e68",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3503.483428955078,\r
+    "y": 3598.966583251953,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "b4ed3622.c08",\r
+        "c0c356fb.babc",\r
+        "67daf127.7e6a38"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fce3ea32.0915b",\r
+    "type": "switchNode",\r
+    "name": "switch found-connectivity?",\r
+    "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3744.483428955078,\r
+    "y": 4027.366729736328,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "fda5acc2.f20fe",\r
+        "e480dda8.f10d98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fda5acc2.f20fe",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3937.483428955078,\r
+    "y": 4028.366729736328,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "90393c50.c5c688"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e480dda8.f10d98",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3941.483428955078,\r
+    "y": 4072.366729736328,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c7e0a8ee.d6f32"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c7e0a8ee.d6f32",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4080.483428955078,\r
+    "y": 4067.366729736328,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "809a6f2e.e2cff"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "90393c50.c5c688",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
+    "comments": "",\r
+    "x": 4081.483428955078,\r
+    "y": 4024.566680908203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "36c28209.5e5a0e",\r
+    "type": "switchNode",\r
+    "name": "switch leafuni.data-source > gfp",\r
+    "xml": "<switch test='`$tmp.aai.leafuni.data-source > $gfp`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4396.600372314453,\r
+    "y": 3456.166778564453,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "beb5c16.4204b4",\r
+        "cf431e74.d4d548"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "beb5c16.4204b4",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4595.767364501953,\r
+    "y": 3522.766632080078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "105d466c.be1d02"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cf431e74.d4d548",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4617.767364501953,\r
+    "y": 3367.766632080078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "8c32ddc1.dc0d4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b822f518.1b138",\r
+    "type": "save",\r
+    "name": "update LEAF UNI in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4395.600372314453,\r
+    "y": 3311.366729736328,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "3f7a0e0a.9d9b82",\r
+    "type": "comment",\r
+    "name": "update LEAF UNI with the new bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4411.767364501953,\r
+    "y": 3264.766632080078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fd150e87.231aa",\r
+    "type": "comment",\r
+    "name": "Update ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5080.533966064453,\r
+    "y": 3241.766632080078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c5a29e92.7207c",\r
+    "type": "save",\r
+    "name": "update ROOT UNI in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5682.533966064453,\r
+    "y": 3346.766632080078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "be41e2f.9cfd32",\r
+    "type": "save",\r
+    "name": "get root uni from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5072.533721923828,\r
+    "y": 3287.766632080078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2e2379b.d7f7006",\r
+        "db5acda.eac92b",\r
+        "bc7f8b0.aa27df8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "db5acda.eac92b",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5300.024688720703,\r
+    "y": 3260.340606689453,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "ac17b57a.282248"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bc7f8b0.aa27df8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5295.533721923828,\r
+    "y": 3304.766571044922,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "57de8cb.81497f4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ac17b57a.282248",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5462.596221923828,\r
+    "y": 3259.6263122558594,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "57de8cb.81497f4",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 5463.533721923828,\r
+    "y": 3304.766571044922,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9014714c.903978",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5460.533721923828,\r
+    "y": 3354.766632080078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "cb023eec.a5c808",\r
+        "c5a29e92.7207c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2e2379b.d7f7006",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5291.533721923828,\r
+    "y": 3354.766632080078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "9014714c.903978"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cb023eec.a5c808",\r
+    "type": "set",\r
+    "name": "set new bw",\r
+    "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $tmp.delta`' />\n",\r
+    "comments": "",\r
+    "x": 5642.534454345703,\r
+    "y": 3296.766632080078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6d766032.1486b8",\r
+    "type": "comment",\r
+    "name": "bw+ has increased ",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4609.766662597656,\r
+    "y": 3329.7666625976562,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "56336637.740a88",\r
+    "type": "comment",\r
+    "name": "bw- has decreased",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4608.600372314453,\r
+    "y": 3486.566680908203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e142830c.8ce718",\r
+    "type": "comment",\r
+    "name": "Update ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5057.600372314453,\r
+    "y": 3444.566680908203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "253cc252.2e7476",\r
+    "type": "save",\r
+    "name": "update ROOT UNI in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5659.600372314453,\r
+    "y": 3549.566680908203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e936a38f.06f2b",\r
+    "type": "save",\r
+    "name": "get root uni from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5049.600128173828,\r
+    "y": 3490.566680908203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "6f1b7a54.b4f3a4",\r
+        "7ba2b9f4.ea954",\r
+        "c55de303.d0cb4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7ba2b9f4.ea954",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5277.091094970703,\r
+    "y": 3463.140655517578,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "426bf991.15b6a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c55de303.d0cb4",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5272.600128173828,\r
+    "y": 3507.566619873047,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "fe0c112c.8fb4f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "426bf991.15b6a8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 5439.662628173828,\r
+    "y": 3462.4263610839844,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fe0c112c.8fb4f",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 5440.600128173828,\r
+    "y": 3507.566619873047,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4702676.988cf18",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5437.600128173828,\r
+    "y": 3557.566680908203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2f82a117.e4a2be",\r
+        "253cc252.2e7476"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6f1b7a54.b4f3a4",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5268.600128173828,\r
+    "y": 3557.566680908203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "4702676.988cf18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2f82a117.e4a2be",\r
+    "type": "set",\r
+    "name": "set new bw",\r
+    "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $tmp.delta`' />\n",\r
+    "comments": "",\r
+    "x": 5619.600860595703,\r
+    "y": 3499.566680908203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f5580ce3.db6eb8",\r
+    "type": "set",\r
+    "name": "set delta",\r
+    "xml": "<set>\n<parameter name='tmp.delta' value='`$tmp.aai.leafuni.data-source - $gfp`' />\n<parameter name='tmp.realdelta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.isBwIncreased' value='false' />\n\n\n",\r
+    "comments": "",\r
+    "x": 4974.600128173828,\r
+    "y": 3403.566680908203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "105d466c.be1d02",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4767.766662597656,\r
+    "y": 3511.7666625976562,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "f5580ce3.db6eb8",\r
+        "e936a38f.06f2b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8c32ddc1.dc0d4",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4788.500030517578,\r
+    "y": 3338.566680908203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "b0b6c683.a43628",\r
+        "be41e2f.9cfd32"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b0b6c683.a43628",\r
+    "type": "set",\r
+    "name": "set delta",\r
+    "xml": "<set>\n<parameter name='tmp.delta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.realdelta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.isBwIncreased' value='true' />\n",\r
+    "comments": "",\r
+    "x": 4987.333526611328,\r
+    "y": 3156.366729736328,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c2cf98a5.f5859",\r
+    "type": "comment",\r
+    "name": "Update ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4382.649932861328,\r
+    "y": 3411.566680908203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "53815df2.f3fe8c",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3884.9833984375,\r
+    "y": 4190.3671875,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1f65c294.737a2d",\r
+    "type": "switchNode",\r
+    "name": "switch found-root-connectivity",\r
+    "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3719.9833984375,\r
+    "y": 4262.567138671875,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "d304f78f.a9e16",\r
+        "fe02c5f8.83fd58"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d304f78f.a9e16",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3930.9833984375,\r
+    "y": 4262.567138671875,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "632bbee5.d51fe8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fe02c5f8.83fd58",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3926.9833984375,\r
+    "y": 4310.567138671875,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "670f8deb.e1038c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "632bbee5.d51fe8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4086.9833984375,\r
+    "y": 4258.567138671875,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "e27123aa.cc28d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "670f8deb.e1038c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found but it should have been!' />\n",\r
+    "comments": "",\r
+    "x": 4074.9833984375,\r
+    "y": 4305.567138671875,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "88c84935.d74a7",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4927.949493408203,\r
+    "y": 4572.765899658203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c788c95c.77178",\r
+        "1fda418f.a21f6e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1fda418f.a21f6e",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
+    "comments": "",\r
+    "x": 5170.949737548828,\r
+    "y": 4541.765899658203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "bffc0dc9.a62e08",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4787.949493408203,\r
+    "y": 4682.765899658203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "1b45b5a2.80df72"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5a207984.9538",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 4775.949737548828,\r
+    "y": 4775.766143798828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ff47d1c6.a1d1",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4778.011871337891,\r
+    "y": 4730.625671386719,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e27123aa.cc28d",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.ROOT.connectivity.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4393.949493408203,\r
+    "y": 4572.765899658203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "bdd7e518.23e34"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bdd7e518.23e34",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.ROOT.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4598.949493408203,\r
+    "y": 4572.765899658203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "e5bca59.0771c58"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e5bca59.0771c58",\r
+    "type": "outcome",\r
+    "name": "vpn-binding",\r
+    "xml": "<outcome value='vpn-binding'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4764.949493408203,\r
+    "y": 4572.765899658203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "88c84935.d74a7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c788c95c.77178",\r
+    "type": "save",\r
+    "name": "get vpn-binding from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.ROOT.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4403.949493408203,\r
+    "y": 4682.765899658203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "9cbfda8d.34d6e8",\r
+        "7093291a.080b6",\r
+        "8f2c4a9c.eaf89"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9cbfda8d.34d6e8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4614.949493408203,\r
+    "y": 4684.765899658203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "bffc0dc9.a62e08"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7093291a.080b6",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4615.440460205078,\r
+    "y": 4730.339935302734,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "ff47d1c6.a1d1"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8f2c4a9c.eaf89",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4612.949493408203,\r
+    "y": 4773.765899658203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "5a207984.9538"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "31c1ab24.2782c4",\r
+    "type": "comment",\r
+    "name": "Temporary skipping this check - to support multiple instances in one slice",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6023.766387939453,\r
+    "y": 7071.966827392578,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3272cf3c.df27d8",\r
+    "type": "comment",\r
+    "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5292.2333984375,\r
+    "y": 4303.16650390625,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d1d7ad20.29b52",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4794.233642578125,\r
+    "y": 4369.16650390625,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "3f823260.f76936",\r
+    "type": "switchNode",\r
+    "name": "switch ops-note is srcTtpOtnLayer",\r
+    "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5325.2333984375,\r
+    "y": 4371.16650390625,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "de937f43.9aff7",\r
+        "af59f95b.0de0c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "de937f43.9aff7",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5450.2333984375,\r
+    "y": 4269.166259765625,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "31c7669e.9273ea"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "af59f95b.0de0c8",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5569.233428955078,\r
+    "y": 4343.166290283203,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "361b2cba.676744",\r
+    "type": "set",\r
+    "name": "set srcTtp OTN layer",\r
+    "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4537.916534423828,\r
+    "y": 3914.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "37ee69b4.cc11f6",\r
+    "type": "switchNode",\r
+    "name": "switch provider-id domainA",\r
+    "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4882.916534423828,\r
+    "y": 3776.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "35c1fec6.57172a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a8388031.3aed68",\r
+    "type": "for",\r
+    "name": "for netwidx..allNetworksList_length",\r
+    "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4589.916534423828,\r
+    "y": 3770.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "37ee69b4.cc11f6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a8458e1d.db654",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4844.916534423828,\r
+    "y": 3727.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f592965f.32c0e8",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4533.916534423828,\r
+    "y": 3822.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5ddf33c1.65a594",\r
+    "type": "set",\r
+    "name": "set tmp.pce-src-node",\r
+    "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[1] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[2] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[3] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[4] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[5] + '-' +-->\n<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $otnTopoIdSrc + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />",\r
+    "comments": "",\r
+    "x": 4541.916534423828,\r
+    "y": 3867.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "76b17a13.8ea0bc",\r
+    "type": "set",\r
+    "name": "unset otnTopoIdSrc",\r
+    "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
+    "comments": "",\r
+    "x": 4538.916534423828,\r
+    "y": 3720.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "35c1fec6.57172a",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4791.916534423828,\r
+    "y": 3844.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a725ab73.c73ac"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a725ab73.c73ac",\r
+    "type": "switchNode",\r
+    "name": "switch te-topo-id",\r
+    "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4976.916534423828,\r
+    "y": 3843.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "d15b8b2d.be0c58"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d15b8b2d.be0c58",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5168.916534423828,\r
+    "y": 3846.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "8eebb571.fd6c9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8eebb571.fd6c9",\r
+    "type": "set",\r
+    "name": "set otnTopoIdSrc",\r
+    "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
+    "comments": "",\r
+    "x": 5340.916534423828,\r
+    "y": 3842.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4b7e80ea.96d268",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4716.916534423828,\r
+    "y": 3957.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "b4ed3622.c08",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4233.916534423828,\r
+    "y": 3742.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "26ef8b2b.34003c",\r
+        "269ffcd4.c70e7c",\r
+        "f592965f.32c0e8",\r
+        "5ddf33c1.65a594",\r
+        "361b2cba.676744",\r
+        "a8388031.3aed68",\r
+        "4b7e80ea.96d268"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ce279396.ecc818",\r
+    "type": "comment",\r
+    "name": "The following section is to find srcTtp OTN layer (its long name)",\r
+    "info": "The following section is to find srcTtp OTN layer (its long name)",\r
+    "comments": "",\r
+    "x": 4218.916534423828,\r
+    "y": 3676.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "269ffcd4.c70e7c",\r
+    "type": "get-resource",\r
+    "name": "get-resource network-resources-list",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4597.916534423828,\r
+    "y": 3663.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2b1251d3.218d36",\r
+        "69b1ddc7.bc8184",\r
+        "a8458e1d.db654"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2b1251d3.218d36",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4833.916534423828,\r
+    "y": 3646.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "69b1ddc7.bc8184",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4830.916534423828,\r
+    "y": 3687.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "26ef8b2b.34003c",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4546.916534423828,\r
+    "y": 3620.883331298828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a7d12ef0.b4e948",\r
+    "type": "comment",\r
+    "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5276.316436767578,\r
+    "y": 4670.283233642578,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1b45b5a2.80df72",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5065.316436767578,\r
+    "y": 4732.283233642578,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "ed1b64d5.33faa"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ed1b64d5.33faa",\r
+    "type": "switchNode",\r
+    "name": "switch ops-note is srcTtpOtnLayer",\r
+    "xml": "<switch test=\"`$tmp.aai.vpn-binding.ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5309.316436767578,\r
+    "y": 4738.283233642578,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "230e8d7f.cf5b82",\r
+        "8c0eb7af.7df34"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "230e8d7f.cf5b82",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5540.316436767578,\r
+    "y": 4716.283233642578,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "626950bd.12ae3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8c0eb7af.7df34",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5545.316436767578,\r
+    "y": 4783.283233642578,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a8be8ed1.6d85c",\r
+    "type": "switchNode",\r
+    "name": "switch tmp.isBwIncreased",\r
+    "xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5794.2001953125,\r
+    "y": 4280.965576171875,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "5f515b8.97d0aa4",\r
+        "e3c5fe18.dd7758"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5f515b8.97d0aa4",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5949.200225830078,\r
+    "y": 4208.965850830078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "b9ddbbac.4ceb18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e3c5fe18.dd7758",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5950.200225830078,\r
+    "y": 4341.965850830078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "7f4f722.c77710c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b9ddbbac.4ceb18",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6094.200225830078,\r
+    "y": 4208.966094970703,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c99d2def.311358",\r
+        "6bec6ba7.e1cedc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c99d2def.311358",\r
+    "type": "save",\r
+    "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6387.200225830078,\r
+    "y": 4186.965850830078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "6bec6ba7.e1cedc",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6338.850128173828,\r
+    "y": 4234.282745361328,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9711fbcd.9495e8",\r
+    "type": "comment",\r
+    "name": "increase the bw of the-vpn-binding and change status to modified",\r
+    "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
+    "comments": "",\r
+    "x": 6412.2001953125,\r
+    "y": 4135.965576171875,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7f4f722.c77710c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6106.200225830078,\r
+    "y": 4340.966094970703,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "59431729.1fb158",\r
+        "1fc311b.d897f6e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "59431729.1fb158",\r
+    "type": "save",\r
+    "name": "update the-vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher - $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6399.200225830078,\r
+    "y": 4318.965850830078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1fc311b.d897f6e",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6350.850128173828,\r
+    "y": 4366.282745361328,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1617355e.191edb",\r
+    "type": "comment",\r
+    "name": "decrease the bw of the-vpn-binding and change status to modified",\r
+    "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
+    "comments": "",\r
+    "x": 6423.200225830078,\r
+    "y": 4279.965850830078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "626950bd.12ae3",\r
+    "type": "switchNode",\r
+    "name": "switch tmp.isBwIncreased",\r
+    "xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5745.433135986328,\r
+    "y": 4723.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a17c6b6f.2c879",\r
+        "a4050844.87c708"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a17c6b6f.2c879",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5940.433135986328,\r
+    "y": 4651.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "cccf95aa.d66d78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a4050844.87c708",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5941.433135986328,\r
+    "y": 4784.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "90ce4884.5c53c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cccf95aa.d66d78",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6085.433135986328,\r
+    "y": 4651.166778564453,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c37b260.db0c1d8",\r
+        "742aa3a0.c04704"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c37b260.db0c1d8",\r
+    "type": "save",\r
+    "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher + $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6378.433135986328,\r
+    "y": 4629.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "742aa3a0.c04704",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6330.083038330078,\r
+    "y": 4676.483428955078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5708f1c2.de612",\r
+    "type": "comment",\r
+    "name": "increase the bw of the-vpn-binding and change status to modified",\r
+    "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
+    "comments": "",\r
+    "x": 6402.433135986328,\r
+    "y": 4590.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "90ce4884.5c53c8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6097.433135986328,\r
+    "y": 4783.166778564453,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "9bebcf2c.a35908",\r
+        "bf7ecccc.77e158"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9bebcf2c.a35908",\r
+    "type": "save",\r
+    "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher - $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6390.433135986328,\r
+    "y": 4761.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "bf7ecccc.77e158",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6342.083038330078,\r
+    "y": 4808.483428955078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "898aa8ca.144488",\r
+    "type": "comment",\r
+    "name": "decrease the bw of the-vpn-binding and change status to modified",\r
+    "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
+    "comments": "",\r
+    "x": 6414.433135986328,\r
+    "y": 4722.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3302d733.17cb08",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5153.283233642578,\r
+    "y": 5463.366729736328,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c4bba10e.ae5948",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5151.066436767578,\r
+    "y": 5503.566925048828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "fba1ca00.18c228",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5026.316680908203,\r
+    "y": 5688.049835205078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "bc2e1526.9ae628",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5024.099884033203,\r
+    "y": 5728.250030517578,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c14b3eb1.3ce2b",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5128.433135986328,\r
+    "y": 6171.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "78d24bb0.4c8ea4",\r
+    "type": "switchNode",\r
+    "name": "switch found-root-connectivity",\r
+    "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4955.433135986328,\r
+    "y": 6228.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "8d0d07ba.6f81c8",\r
+        "4ae3fa7f.c7968c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8d0d07ba.6f81c8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5166.433135986328,\r
+    "y": 6228.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "7c55c647.3c8228"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4ae3fa7f.c7968c",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5162.433135986328,\r
+    "y": 6276.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2e757361.f3de2c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7c55c647.3c8228",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5322.433135986328,\r
+    "y": 6224.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2cbacdde.26f332",\r
+        "94ab2e80.b69ba8",\r
+        "d5533498.f6f7f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2e757361.f3de2c",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
+    "comments": "",\r
+    "x": 5310.433135986328,\r
+    "y": 6271.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "510063da.63ac6c",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5588.316925048828,\r
+    "y": 6324.049835205078,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d5533498.f6f7f",\r
+    "type": "save",\r
+    "name": "update connectivity resource in AAI",\r
+    "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5586.100128173828,\r
+    "y": 6364.250030517578,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "94ab2e80.b69ba8",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5705.433135986328,\r
+    "y": 6276.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2cbacdde.26f332",\r
+    "type": "set",\r
+    "name": "set prop.connectivity-domainB-uuid",\r
+    "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 5576.433135986328,\r
+    "y": 6224.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d8a0b134.770b1",\r
+    "type": "comment",\r
+    "name": "populate connectivity-B variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5017.433135986328,\r
+    "y": 6129.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "54a65e87.65172",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4724.766143798828,\r
+    "y": 6211.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "c14b3eb1.3ce2b",\r
+        "78d24bb0.4c8ea4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "11c77751.f259a1",\r
+    "type": "save",\r
+    "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5003.516632080078,\r
+    "y": 6526.166534423828,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7eabc766.dd7c8",\r
+    "type": "comment",\r
+    "name": "TODO: BUG -- DONE",\r
+    "info": "momkene connectivity haye vasati ke dummy hastand ham\nvpn-binding dashte bashand ke too in path involve hast pas\nbayad bw aan niz update shavad.",\r
+    "comments": "",\r
+    "x": 3708.8837890625,\r
+    "y": 3802.88330078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c0c356fb.babc",\r
+    "type": "save",\r
+    "name": "get all-vpn-bindings from aai",\r
+    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4461.4169921875,\r
+    "y": 4077,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "b8196ee9.4b3808",\r
+        "80c1418b.2150d8",\r
+        "56405931.8c65f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "eb18f7d.31abf88",\r
+    "type": "comment",\r
+    "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4569.417236328125,\r
+    "y": 4033,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b8196ee9.4b3808",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4666.4169921875,\r
+    "y": 4074,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "9aacf189.24898"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "80c1418b.2150d8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4649.907958984375,\r
+    "y": 4135.574035644531,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "de469de6.448a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "56405931.8c65f8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4647.4169921875,\r
+    "y": 4179,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "6c1db7b.a15c7c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9aacf189.24898",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4834.417236328125,\r
+    "y": 4069,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "3b0478b5.ff78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "de469de6.448a8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+    "comments": "",\r
+    "x": 4812.4793701171875,\r
+    "y": 4135.859771728516,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6c1db7b.a15c7c8",\r
+    "type": "returnFailure",\r
+    "name": "return failure",\r
+    "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+    "comments": "",\r
+    "x": 4814.4169921875,\r
+    "y": 4178,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3b0478b5.ff78",\r
+    "type": "for",\r
+    "name": "for vpnidx in all-vpn-bindings",\r
+    "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5072.417236328125,\r
+    "y": 4074,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "b59112.09635ef"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b59112.09635ef",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5306.4169921875,\r
+    "y": 4081,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "3f823260.f76936"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "67daf127.7e6a38",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.all-vpn-bindings",\r
+    "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4440.11669921875,\r
+    "y": 4003,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "11444ec1.8e4d01",\r
+    "type": "for",\r
+    "name": "for each relationship",\r
+    "xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5723.2666015625,\r
+    "y": 4091.5830078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "f98d1d31.14c4f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f98d1d31.14c4f8",\r
+    "type": "switchNode",\r
+    "name": "switch related-to",\r
+    "xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5915.2666015625,\r
+    "y": 4080.583251953125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "894c5e31.55f348"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "894c5e31.55f348",\r
+    "type": "outcome",\r
+    "name": "connectivity",\r
+    "xml": "<outcome value='connectivity'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6097.2666015625,\r
+    "y": 4059.583251953125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "2837af93.7fedb8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2837af93.7fedb8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 6259.2666015625,\r
+    "y": 4048.583251953125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "75575304.c30724",\r
+        "fb102e8c.f8d02"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "75575304.c30724",\r
+    "type": "set",\r
+    "name": "unset tmp.the-connectivity",\r
+    "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",\r
+    "comments": "",\r
+    "x": 6456.2666015625,\r
+    "y": 3977.583251953125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "812bc4de.8330d",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5630.216796875,\r
+    "y": 4206.5830078125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "a8be8ed1.6d85c",\r
+        "11444ec1.8e4d01",\r
+        "7f9cffe2.08c768",\r
+        "8c2c4043.586498"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f9cffe2.08c768",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.the-vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
+    "comments": "",\r
+    "x": 5761.783203125,\r
+    "y": 3981.800048828125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8c2c4043.586498",\r
+    "type": "set",\r
+    "name": "set tmp.aai.the-vpn-binding",\r
+    "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
+    "comments": "",\r
+    "x": 5753.783203125,\r
+    "y": 4030.800048828125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fb102e8c.f8d02",\r
+    "type": "set",\r
+    "name": "set tmp.the-connectivity.connectivity-id",\r
+    "xml": "<set>\n<parameter name='tmp.the-connectivity.connectivity-id' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",\r
+    "comments": "",\r
+    "x": 6461.7333984375,\r
+    "y": 4086.800048828125,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a9133f1b.8373c8",\r
+    "type": "set",\r
+    "name": "set vpnNameToSearch",\r
+    "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
+    "comments": "",\r
+    "x": 5755,\r
+    "y": 3805,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4b95d87b.bccc58",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5909,\r
+    "y": 3857,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "31c7669e.9273ea",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5500,\r
+    "y": 3924,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "4b95d87b.bccc58",\r
+        "26b17ecc.f40902",\r
+        "a9133f1b.8373c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "26b17ecc.f40902",\r
+    "type": "switchNode",\r
+    "name": "switch $foundVpnName",\r
+    "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5754,\r
+    "y": 3912,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "245d39b1.fcc7b6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "245d39b1.fcc7b6",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5933,\r
+    "y": 3911,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "812bc4de.8330d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2f3de295.447b1e",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4631,\r
+    "y": 7429,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "48382561.04ccdc",\r
+        "a0fe64b2.d649a",\r
+        "3a51bb36.70835c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3a51bb36.70835c",\r
+    "type": "set",\r
+    "name": "set vpnNameToSearch",\r
+    "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
+    "comments": "",\r
+    "x": 4854,\r
+    "y": 7373,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "48382561.04ccdc",\r
+    "type": "call",\r
+    "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
+    "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5033,\r
+    "y": 7416,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a0fe64b2.d649a",\r
+    "type": "switchNode",\r
+    "name": "switch $foundVpnName",\r
+    "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4878,\r
+    "y": 7471,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "e761a2b0.d43cc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e761a2b0.d43cc",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5057,\r
+    "y": 7470,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": [\r
+      [\r
+        "ed22a86b.d791b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9efae615.dd5ab",\r
+    "type": "set",\r
+    "name": "unset tmp.aai.all-vpn-bindings",\r
+    "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4788,\r
+    "y": 7109,\r
+    "z": "1854297c.6f0f4f",\r
+    "wires": []\r
+  }\r
 ]
\ No newline at end of file