Support individual CLL deletion, and UNI removal from Ethernet Service, and
[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..ad56b54 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": "d60c3cf9.321a6",\r
+    "type": "dgstart",\r
+    "name": "DGSTART",\r
+    "outputs": 1,\r
+    "x": 205.88333129882812,\r
+    "y": 156.88333129882812,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "cce5e3d9.59223"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cce5e3d9.59223",\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": 490.1690216064453,\r
+    "y": 218.12143993377686,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "73cbe8fd.7b7b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "73cbe8fd.7b7b",\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": 496.3119354248047,\r
+    "y": 302.88336181640625,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "b5475b4e.9dc8a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b5475b4e.9dc8a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 845.8833312988281,\r
+    "y": 361.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "bacceb8f.95926",\r
+        "e0024e9e.57e7f8",\r
+        "6d19a9bc.4fa958"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bacceb8f.95926",\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": 1147.2168273925781,\r
+    "y": 632.8136291503906,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e0024e9e.57e7f8",\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": 1168.6452941894531,\r
+    "y": 335.2166442871094,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "dc9a92d7.7dd0c",\r
+        "68404646.133ac8",\r
+        "f6dee010.98fcd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "dc9a92d7.7dd0c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1393.6452941894531,\r
+    "y": 193.21664428710938,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "d1be34ef.26139"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "68404646.133ac8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1389.1362609863281,\r
+    "y": 262.7906799316406,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c39ebb83.790b68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f6dee010.98fcd",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1377.6452941894531,\r
+    "y": 309.2166442871094,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "f8b91686.4a47a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6c16fe1b.61251",\r
+    "type": "comment",\r
+    "name": "new for TransportSlicing",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 1147.6452941894531,\r
+    "y": 223.21664428710938,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6d19a9bc.4fa958",\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": 1135.6452941894531,\r
+    "y": 275.2166442871094,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d1be34ef.26139",\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": 1633.8833312988281,\r
+    "y": 189.88333129882812,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "74daedf5.b00d34",\r
+        "3ddd8ea0.9d48e2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c39ebb83.790b68",\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": 1543.9457092285156,\r
+    "y": 265.74310302734375,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f8b91686.4a47a8",\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": 1547.8833312988281,\r
+    "y": 309.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "74daedf5.b00d34",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1838.8833312988281,\r
+    "y": 226.88333129882812,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "50897ba7.acdc24"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3ddd8ea0.9d48e2",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1848.8833312988281,\r
+    "y": 153.88333129882812,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "50897ba7.acdc24",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 1831.8833312988281,\r
+    "y": 301.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "25219f6c.9cf818",\r
+        "166df7f7.8cb52",\r
+        "35f1defb.605572",\r
+        "f67d2f30.77ecd8",\r
+        "2530e84c.0abb78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e3fc1b13.141158",\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": 2317.883331298828,\r
+    "y": 352.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "792e0cb6.295efc",\r
+        "9cda4258.33c028",\r
+        "8ec312be.acb358"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "792e0cb6.295efc",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2533.883331298828,\r
+    "y": 419.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "d2a1ae9f.45e878"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9cda4258.33c028",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2534.374298095703,\r
+    "y": 319.4573059082031,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "5f00fc5b.612da4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8ec312be.acb358",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2529.883331298828,\r
+    "y": 368.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "24485e5a.4004d2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "25219f6c.9cf818",\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": 2034.8833312988281,\r
+    "y": 333.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "e97f59ea.8d55",\r
+        "e3fc1b13.141158",\r
+        "dca67cc5.30d2f8",\r
+        "ce64f5e6.94469"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e97f59ea.8d55",\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": 2314.883331298828,\r
+    "y": 271.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f67d2f30.77ecd8",\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": 2008.8833312988281,\r
+    "y": 283.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "166df7f7.8cb52",\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": 2051.883331298828,\r
+    "y": 142.88333129882812,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "35f1defb.605572",\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": 2063.883331298828,\r
+    "y": 183.88333129882812,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2302212a.18d7a6",\r
+    "type": "comment",\r
+    "name": "The following two nodes are for PCE",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 2088.883331298828,\r
+    "y": 95.88333129882812,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "67aae728.5fece",\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": 2008.8833312988281,\r
+    "y": 229.88333129882812,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5f00fc5b.612da4",\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": 2712.883331298828,\r
+    "y": 321.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "24485e5a.4004d2",\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": 2712.820831298828,\r
+    "y": 371.0235900878906,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d2a1ae9f.45e878",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 2714.820831298828,\r
+    "y": 422.0235900878906,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "61c50290.a54bf4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "61c50290.a54bf4",\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": 3007.820831298828,\r
+    "y": 369.0235900878906,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "d79412d7.a6c38",\r
+        "3f6fbc64.721af4",\r
+        "a6250e3f.f36fa"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3f6fbc64.721af4",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3281.311798095703,\r
+    "y": 261.5975646972656,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "16afc6a3.6b5401"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "16afc6a3.6b5401",\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": 3458.883331298828,\r
+    "y": 261.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a6250e3f.f36fa",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3276.820831298828,\r
+    "y": 311.0235900878906,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "5cebea40.e205d4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5cebea40.e205d4",\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": 3458.820831298828,\r
+    "y": 311.0235900878906,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d79412d7.a6c38",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3280.820831298828,\r
+    "y": 362.0235900878906,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "9ae7a072.d1e518"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9ae7a072.d1e518",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3460.820831298828,\r
+    "y": 362.0235900878906,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "360b8115.051b46"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "360b8115.051b46",\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": 3026.883331298828,\r
+    "y": 496.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "28ab4f33.316c8",\r
+        "e49a7d12.f127b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e49a7d12.f127b",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3336.883331298828,\r
+    "y": 503.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "28ab4f33.316c8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3335.883331298828,\r
+    "y": 557.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "32ff3e84.f9f78a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ac20a1c4.b5d88",\r
+    "type": "outcome",\r
+    "name": "network-policy",\r
+    "xml": "<outcome value='network-policy'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4080.883331298828,\r
+    "y": 511.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "eb5b39ae.c0eb7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "eb5b39ae.c0eb7",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4257.883209228516,\r
+    "y": 504.8832092285156,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c3ea0a96.012838",\r
+        "42443b39.66d044"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "32ff3e84.f9f78a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3499.883331298828,\r
+    "y": 483.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "6034bf74.a356a8",\r
+        "cf462c55.82"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6034bf74.a356a8",\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": 3780.883331298828,\r
+    "y": 439.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "6ceb7138.15694"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6ceb7138.15694",\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": 4042.883331298828,\r
+    "y": 439.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "ac20a1c4.b5d88"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c3ea0a96.012838",\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": 4500.883209228516,\r
+    "y": 461.8832092285156,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "42443b39.66d044",\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": 4489.883209228516,\r
+    "y": 516.8832092285156,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "cb5892f8.a134a",\r
+        "3110dc42.56e8b4",\r
+        "b948b2e1.478978"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b948b2e1.478978",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4742.883331298828,\r
+    "y": 402.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "f1bf9a6a.1a4ef8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f1bf9a6a.1a4ef8",\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": 4891.454864501953,\r
+    "y": 403.1690979003906,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e719bcf6.a15758",\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": 4890.392364501953,\r
+    "y": 447.3093566894531,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3110dc42.56e8b4",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4731.392364501953,\r
+    "y": 447.3093566894531,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "e719bcf6.a15758"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cb5892f8.a134a",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4738.392364501953,\r
+    "y": 526.3093566894531,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "f905d5a0.4b001"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f905d5a0.4b001",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4877.392364501953,\r
+    "y": 526.3093566894531,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "abc9ac08.900428",\r
+        "808b62f7.887bc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "abc9ac08.900428",\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": 5082.883331298828,\r
+    "y": 523.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "808b62f7.887bc",\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": 5081.883331298828,\r
+    "y": 569.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cf462c55.82",\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": 3597.883331298828,\r
+    "y": 555.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "d512c83a.b4f08"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d512c83a.b4f08",\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": 3877.883331298828,\r
+    "y": 555.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "7f3fc2f9.da6f6c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7f3fc2f9.da6f6c",\r
+    "type": "outcome",\r
+    "name": "logical-link",\r
+    "xml": "<outcome value='logical-link'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2290.8834533691406,\r
+    "y": 808.8834533691406,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c5194935.bd2228"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c5194935.bd2228",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 2467.883331298828,\r
+    "y": 801.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "d3179b9f.9873a8",\r
+        "b976f3f3.6f7998"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d3179b9f.9873a8",\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": 2710.883331298828,\r
+    "y": 758.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b976f3f3.6f7998",\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": 2699.883331298828,\r
+    "y": 813.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "78ac5925.ecf5a8",\r
+        "b7b22856.252df8",\r
+        "ac6d9ce2.b2e9e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "78ac5925.ecf5a8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2991.374298095703,\r
+    "y": 792.4573059082031,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "cd49934.02e89f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b7b22856.252df8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2979.883331298828,\r
+    "y": 836.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "ed06d18.02143b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cd49934.02e89f",\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": 3139.945831298828,\r
+    "y": 792.7430725097656,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ed06d18.02143b",\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": 3138.883331298828,\r
+    "y": 836.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ac6d9ce2.b2e9e",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 2986.883331298828,\r
+    "y": 915.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "87f4e9d.ba71598"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "87f4e9d.ba71598",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3125.883331298828,\r
+    "y": 915.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c2cb656b.4adff",\r
+        "148d0b0c.712fa5",\r
+        "d89221fb.e3072",\r
+        "ea9aeb3f.7f8c98",\r
+        "11e605d7.ecd0fa",\r
+        "104f2b87.41fe14",\r
+        "1a00d4a4.ff98a3",\r
+        "59b35d49.e5c194",\r
+        "52e7c1a.b628dc",\r
+        "cdada9b0.2f3a48",\r
+        "850e2800.badf2",\r
+        "2b1064a0.eade7c",\r
+        "a5bcbd5b.23b83",\r
+        "23879b91.f9cdd4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f8061145.abbc7",\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": 3439.883331298828,\r
+    "y": 721.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c2cb656b.4adff",\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": 3420.883331298828,\r
+    "y": 771.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "23879b91.f9cdd4",\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": 3377.883331298828,\r
+    "y": 816.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "148d0b0c.712fa5",\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": 3352.883331298828,\r
+    "y": 879.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d89221fb.e3072",\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": 3353.883331298828,\r
+    "y": 934.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ea9aeb3f.7f8c98",\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": 3369.883331298828,\r
+    "y": 982.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "842b0094.75a4a",\r
+        "7eb2f3df.e44f04",\r
+        "b07921bb.e3808"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "11e605d7.ecd0fa",\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": 3358.883331298828,\r
+    "y": 1069.8832092285156,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "2d5fb508.bfab52",\r
+        "cb29efc.c6f4b1",\r
+        "61b86bd0.897d5c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "842b0094.75a4a",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3570.883331298828,\r
+    "y": 866.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "20684afd.b6d766"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7eb2f3df.e44f04",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3566.392364501953,\r
+    "y": 916.3093566894531,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "d2041960.fe2c28"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b07921bb.e3808",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3570.392364501953,\r
+    "y": 969.3093566894531,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "f96f84b2.606d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "20684afd.b6d766",\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": 3719.454864501953,\r
+    "y": 866.1690979003906,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d2041960.fe2c28",\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": 3709.392364501953,\r
+    "y": 916.3093566894531,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2d5fb508.bfab52",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3581.883331298828,\r
+    "y": 1039.8832092285156,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "96baba9a.d0e19"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cb29efc.c6f4b1",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3577.392364501953,\r
+    "y": 1089.3092346191406,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "1fb34f72.484a51"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "61b86bd0.897d5c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3578.392364501953,\r
+    "y": 1142.3092346191406,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "10c44aa8.1e2ead"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "96baba9a.d0e19",\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": 3730.454864501953,\r
+    "y": 1039.1689758300781,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1fb34f72.484a51",\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": 3720.392364501953,\r
+    "y": 1089.3092346191406,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f96f84b2.606d",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3731.883331298828,\r
+    "y": 968.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c276b776.1eb8a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "10c44aa8.1e2ead",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3731.883331298828,\r
+    "y": 1141.8832092285156,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "dfc4c0e1.407a7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c276b776.1eb8a",\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": 3903.883331298828,\r
+    "y": 968.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "680276dd.9e09b8",\r
+        "fada4cff.fbd328"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "dfc4c0e1.407a7",\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": 3904.883331298828,\r
+    "y": 1141.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "1f020e0e.66975a",\r
+        "a14ce01a.56f21"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "680276dd.9e09b8",\r
+    "type": "outcome",\r
+    "name": "ROOT",\r
+    "xml": "<outcome value='ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4079.883331298828,\r
+    "y": 947.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "2d74202a.0b02c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fada4cff.fbd328",\r
+    "type": "outcome",\r
+    "name": "LEAF",\r
+    "xml": "<outcome value='LEAF'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4081.883331298828,\r
+    "y": 1001.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "7e647400.994a6c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1f020e0e.66975a",\r
+    "type": "outcome",\r
+    "name": "ROOT",\r
+    "xml": "<outcome value='ROOT'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4080.883331298828,\r
+    "y": 1111.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "45ecb3a3.4434cc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a14ce01a.56f21",\r
+    "type": "outcome",\r
+    "name": "LEAF",\r
+    "xml": "<outcome value='LEAF'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4082.883331298828,\r
+    "y": 1165.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c83b931a.caa288"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "698ac3d0.bab4ec",\r
+    "type": "set",\r
+    "name": "set network-route-ROOT",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4389.883331298828,\r
+    "y": 899.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d12533f5.293ec",\r
+    "type": "set",\r
+    "name": "set network-route-LEAF",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4382.883331298828,\r
+    "y": 997.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cfe2458d.e53598",\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": 4382.883331298828,\r
+    "y": 1084.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e0154f38.db2ba",\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": 4386.883331298828,\r
+    "y": 1177.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c5ef28c0.6623d",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3613.883331298828,\r
+    "y": 1586.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "cf149009.40de5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "892e385b.99fcd8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3623.374298095703,\r
+    "y": 1629.4573669433594,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "fcd9fb7.509ae08"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a241b92b.410968",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3611.883331298828,\r
+    "y": 1675.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "3987c181.ee8c26"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "277d69d7.fb78d6",\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": 3313.883331298828,\r
+    "y": 1548.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1a00d4a4.ff98a3",\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": 3356.883331298828,\r
+    "y": 1613.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c5ef28c0.6623d",\r
+        "892e385b.99fcd8",\r
+        "a241b92b.410968"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "104f2b87.41fe14",\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": 3357.883331298828,\r
+    "y": 1283.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "a533cbf2.9ff568",\r
+        "84397dc4.6052e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "84397dc4.6052e8",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3580.883331298828,\r
+    "y": 1269.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "a3186923.403f7"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a533cbf2.9ff568",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3582.883331298828,\r
+    "y": 1302.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "fb4a8c19.28b8c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cf149009.40de5",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3786.549835205078,\r
+    "y": 1585.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "d71c8cc2.44ee38",\r
+        "eeee90c0.e5cea8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fcd9fb7.509ae08",\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": 3776.9457092285156,\r
+    "y": 1632.7431030273438,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3987c181.ee8c26",\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": 3780.883331298828,\r
+    "y": 1676.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d71c8cc2.44ee38",\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": 4050.883331298828,\r
+    "y": 1569.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "245c145e.ebe6e4",\r
+        "5de5cc75.c2e844"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5de5cc75.c2e844",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4273.883331298828,\r
+    "y": 1524.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "a0f9be9b.313468"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "245c145e.ebe6e4",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4275.883331298828,\r
+    "y": 1588.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "911806e7.142508"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "911806e7.142508",\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": 4437.883331298828,\r
+    "y": 1584.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a0f9be9b.313468",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4438.883331298828,\r
+    "y": 1521.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "e1f125c0.caa6f",\r
+        "a1eca114.4be78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d95b965d.c926c",\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": 4052.883331298828,\r
+    "y": 1728.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "6b95fc34.5ad8b4",\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": 4097.883331298828,\r
+    "y": 1638.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8335544a.4f7eb",\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": 4180.883331298828,\r
+    "y": 1776.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "fb4a8c19.28b8c8",\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": 3725.883331298828,\r
+    "y": 1299.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a3186923.403f7",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3728.883331298828,\r
+    "y": 1262.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "df51c615.6dea38",\r
+        "42564be7.1576fc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "df51c615.6dea38",\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": 3902.883331298828,\r
+    "y": 1218.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "eeee90c0.e5cea8",\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": 4004.883331298828,\r
+    "y": 1853.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "1b697bac.74bf24"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1b697bac.74bf24",\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": 4210.883331298828,\r
+    "y": 1853.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "fad81e7.f76f06"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fad81e7.f76f06",\r
+    "type": "outcome",\r
+    "name": "tunnel-termination-point",\r
+    "xml": "<outcome value='tunnel-termination-point'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4426.168975830078,\r
+    "y": 1853.7051086425781,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "f6db1963.f8cc08"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "42564be7.1576fc",\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": 3917.883331298828,\r
+    "y": 1329.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "3d26932b.7c3bc4",\r
+        "11ea41e8.6fef1e",\r
+        "60ff709f.49eb3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3d26932b.7c3bc4",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4113.383453369141,\r
+    "y": 1281.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "e66646fd.ae97a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "11ea41e8.6fef1e",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4105.383453369141,\r
+    "y": 1336.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "6bc38e9e.a8f668"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "60ff709f.49eb3",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4110.383453369141,\r
+    "y": 1393.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "1b2700d2.65979f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1b2700d2.65979f",\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": 4262.383453369141,\r
+    "y": 1394.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6bc38e9e.a8f668",\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": 4273.383453369141,\r
+    "y": 1339.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e66646fd.ae97a8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4257.765777587891,\r
+    "y": 1279.5390014648438,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "8c7c1f5.e4db1e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8c7c1f5.e4db1e",\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": 4441.883331298828,\r
+    "y": 1293.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "9be30f1d.25d3a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a1eca114.4be78",\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": 4608.883331298828,\r
+    "y": 1479.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e1f125c0.caa6f",\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": 4609.883331298828,\r
+    "y": 1587.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b9cba76c.d9c1f8",\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": 4610.883331298828,\r
+    "y": 1536.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f6db1963.f8cc08",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4633.000518798828,\r
+    "y": 1854.2236633300781,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "7891783a.b17838",\r
+        "d094659a.049558",\r
+        "9c226fb0.3cc118"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7891783a.b17838",\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": 4848.000518798828,\r
+    "y": 1816.2236633300781,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d094659a.049558",\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": 4845.000518798828,\r
+    "y": 1855.2236633300781,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "7580173.08b9968"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9c226fb0.3cc118",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 4800.500518798828,\r
+    "y": 1897.2236633300781,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7580173.08b9968",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5025.500518798828,\r
+    "y": 1854.2236633300781,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "cbf832f4.29b03"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c301ea5d.736948",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4839.883331298828,\r
+    "y": 1297.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "82c12c36.ef82a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "82c12c36.ef82a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5016.883331298828,\r
+    "y": 1289.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "99af67bd.f0a288",\r
+        "27aaa5b6.e5d6a2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9be30f1d.25d3a8",\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": 4636.883331298828,\r
+    "y": 1293.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c301ea5d.736948",\r
+        "d642ceb0.6d61d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d642ceb0.6d61d8",\r
+    "type": "outcome",\r
+    "name": "network-resource",\r
+    "xml": "<outcome value='network-resource'>",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4842.883331298828,\r
+    "y": 1371.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "8d64b35.e02ce5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8d64b35.e02ce5",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5019.883331298828,\r
+    "y": 1363.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "b7238960.567a78"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cbf832f4.29b03",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5183.500518798828,\r
+    "y": 1854.2236633300781,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "703f7e18.3396c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "703f7e18.3396c8",\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": 5390.500518798828,\r
+    "y": 1854.2236633300781,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "27aaa5b6.e5d6a2",\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": 5224.883331298828,\r
+    "y": 1296.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "5f4852b0.deaefc",\r
+        "a3e152bc.1612f",\r
+        "6a748238.68a734"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "99af67bd.f0a288",\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": 5254.883331298828,\r
+    "y": 1244.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5f4852b0.deaefc",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5434.883331298828,\r
+    "y": 1287.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "fce8f611.8c7338"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a3e152bc.1612f",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5426.883331298828,\r
+    "y": 1342.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "23b3b244.7d6476"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6a748238.68a734",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5431.883331298828,\r
+    "y": 1399.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "a282f316.3a8968"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a282f316.3a8968",\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": 5583.883331298828,\r
+    "y": 1400.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "23b3b244.7d6476",\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": 5594.883331298828,\r
+    "y": 1345.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fce8f611.8c7338",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5579.265655517578,\r
+    "y": 1285.5390014648438,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "a440aece.fb083"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b7238960.567a78",\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": 5254.883331298828,\r
+    "y": 1487.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a440aece.fb083",\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": 5793.883331298828,\r
+    "y": 1281.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5b9ee810.250ef",\r
+    "type": "set",\r
+    "name": "set network-route-B",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4377.883331298828,\r
+    "y": 935.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "8e2d81c0.4fd7e8",\r
+    "type": "set",\r
+    "name": "set network-route-A",\r
+    "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4368.883331298828,\r
+    "y": 1033.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2d74202a.0b02c",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4202.883331298828,\r
+    "y": 941.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "698ac3d0.bab4ec",\r
+        "5b9ee810.250ef"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7e647400.994a6c",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4208.883331298828,\r
+    "y": 1005.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "d12533f5.293ec",\r
+        "8e2d81c0.4fd7e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "45ecb3a3.4434cc",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4208.883331298828,\r
+    "y": 1111.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "cfe2458d.e53598",\r
+        "1ea1c70f.8279e9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c83b931a.caa288",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4211.883331298828,\r
+    "y": 1164.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "e0154f38.db2ba",\r
+        "85671ae.a18b1e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1ea1c70f.8279e9",\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": 4368.883331298828,\r
+    "y": 1124.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "85671ae.a18b1e8",\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": 4371.883331298828,\r
+    "y": 1215.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7278edf2.b8b58c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3743.883331298828,\r
+    "y": 2425.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "3fae525c.90658e",\r
+        "13c312d5.234edd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2fa6509a.e12468",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3571.216827392578,\r
+    "y": 2426.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "7278edf2.b8b58c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2125c96e.09934e",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3580.707794189453,\r
+    "y": 2469.4573669433594,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "68c9e27f.22495c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "be5c9f7d.6c274",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3569.216827392578,\r
+    "y": 2515.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "dc663a75.10e1e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "68c9e27f.22495c",\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": 3734.2792053222656,\r
+    "y": 2472.7431030273438,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "dc663a75.10e1e",\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": 3738.216827392578,\r
+    "y": 2516.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3fae525c.90658e",\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": 4030.216827392578,\r
+    "y": 2429.8834533691406,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "f8506393.ef4d48",\r
+        "ae1a7fe2.9ff988"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ae1a7fe2.9ff988",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4253.216827392578,\r
+    "y": 2384.8834533691406,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "bd5252ed.d0e86"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f8506393.ef4d48",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4255.216827392578,\r
+    "y": 2448.8834533691406,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "7b56fdc4.718894"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7b56fdc4.718894",\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": 4414.216827392578,\r
+    "y": 2467.8834533691406,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "bd5252ed.d0e86",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4418.216827392578,\r
+    "y": 2381.8834533691406,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "a04df249.3edf9",\r
+        "4445456b.4ef0dc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "dfb0d610.c67228",\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": 4032.216827392578,\r
+    "y": 2588.8834533691406,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a9b19647.ecdf6",\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": 4077.216827392578,\r
+    "y": 2498.8834533691406,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d1080dc6.5d411",\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": 4159.216827392578,\r
+    "y": 2653.8834533691406,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "52e7c1a.b628dc",\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": 3343.216827392578,\r
+    "y": 2461.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "2fa6509a.e12468",\r
+        "2125c96e.09934e",\r
+        "be5c9f7d.6c274"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "534c4b07.5a4374",\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": 3304.216827392578,\r
+    "y": 2405.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "59b35d49.e5c194",\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": 3361.216827392578,\r
+    "y": 2124.8832092285156,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "8468812d.ab7d98",\r
+        "832feae1.441b18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "832feae1.441b18",\r
+    "type": "failure",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3584.216827392578,\r
+    "y": 2110.8832092285156,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "45b67ba7.081314"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8468812d.ab7d98",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3586.216827392578,\r
+    "y": 2143.8832092285156,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "71974a85.bc9554"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "71974a85.bc9554",\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": 3729.216827392578,\r
+    "y": 2140.8832092285156,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "45b67ba7.081314",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3732.216827392578,\r
+    "y": 2103.8832092285156,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "10560f97.9ccdb",\r
+        "fb974250.3eaa5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "10560f97.9ccdb",\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": 3926.216827392578,\r
+    "y": 2106.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "13c312d5.234edd",\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": 3989.216827392578,\r
+    "y": 2738.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "4f9cbec5.496d9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4f9cbec5.496d9",\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": 4195.216827392578,\r
+    "y": 2738.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "b238117c.f6854"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b238117c.f6854",\r
+    "type": "outcome",\r
+    "name": "tunnel-termination-point",\r
+    "xml": "<outcome value='tunnel-termination-point'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4412.502471923828,\r
+    "y": 2737.705108642578,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "3bbc3c62.de1f1c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fb974250.3eaa5",\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": 3948.216827392578,\r
+    "y": 2174.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "8b8a9b87.c8a068",\r
+        "46f3b355.657d1c",\r
+        "789bb9ae.3c411"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8b8a9b87.c8a068",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4143.716949462891,\r
+    "y": 2126.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "288864eb.075f34"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "46f3b355.657d1c",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4135.716949462891,\r
+    "y": 2181.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "f82ba322.6474e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "789bb9ae.3c411",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4140.716949462891,\r
+    "y": 2238.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "98f52488.0327b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "98f52488.0327b8",\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": 4292.716949462891,\r
+    "y": 2239.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f82ba322.6474e",\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": 4303.716949462891,\r
+    "y": 2184.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "288864eb.075f34",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4288.099273681641,\r
+    "y": 2124.5390014648438,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "ce45d16c.d5e628"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a04df249.3edf9",\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": 4588.216827392578,\r
+    "y": 2342.8834533691406,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4445456b.4ef0dc",\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": 4589.216827392578,\r
+    "y": 2447.8834533691406,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c559d0ff.64e92",\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": 4584.216827392578,\r
+    "y": 2396.8834533691406,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3bbc3c62.de1f1c",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4619.334014892578,\r
+    "y": 2727.2237854003906,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "f4fc0b3b.90cef8",\r
+        "6738a6d1.eac328",\r
+        "94eb5da4.00ce9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f4fc0b3b.90cef8",\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": 4834.334014892578,\r
+    "y": 2689.2237854003906,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6738a6d1.eac328",\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": 4831.334014892578,\r
+    "y": 2728.2237854003906,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "99dab506.61b3a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "94eb5da4.00ce9",\r
+    "type": "break",\r
+    "name": "break",\r
+    "xml": "<break>\n",\r
+    "comments": "",\r
+    "x": 4786.834014892578,\r
+    "y": 2770.2237854003906,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "99dab506.61b3a8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5011.834014892578,\r
+    "y": 2727.2237854003906,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "d09db1ae.3d50e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d09db1ae.3d50e8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5169.834014892578,\r
+    "y": 2727.2237854003906,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "b4fea58e.4d08b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b4fea58e.4d08b",\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": 5376.834014892578,\r
+    "y": 2727.2237854003906,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9cb60767.3dae68",\r
+    "type": "outcome",\r
+    "name": "esr-thirdparty-sdnc",\r
+    "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4870.216827392578,\r
+    "y": 2142.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "20305f15.4fc8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "20305f15.4fc8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5047.216827392578,\r
+    "y": 2134.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "f06ad939.b3afb8",\r
+        "eb592a74.9250f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ce45d16c.d5e628",\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": 4472.216827392578,\r
+    "y": 2138.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "836b2028.73fa6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "836b2028.73fa6",\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": 4667.216827392578,\r
+    "y": 2138.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "9cb60767.3dae68",\r
+        "1e4a18fb.74350f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "eb592a74.9250f",\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": 5255.216827392578,\r
+    "y": 2141.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "b94c1f46.28b1b8",\r
+        "73a98c16.ea7094",\r
+        "1e6cb9ce.e34866"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4be3f63c.7d65d8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5049.216827392578,\r
+    "y": 2207.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "573bcde0.7ae984"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1e4a18fb.74350f",\r
+    "type": "outcome",\r
+    "name": "network-resource",\r
+    "xml": "<outcome value='network-resource'>",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4872.216827392578,\r
+    "y": 2215.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "4be3f63c.7d65d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f06ad939.b3afb8",\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": 5285.216827392578,\r
+    "y": 2089.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "573bcde0.7ae984",\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": 5284.216827392578,\r
+    "y": 2331.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b94c1f46.28b1b8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5465.216827392578,\r
+    "y": 2132.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "9cca84a4.69e27"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "73a98c16.ea7094",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5457.216827392578,\r
+    "y": 2187.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "e1e079f9.7a9848"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1e6cb9ce.e34866",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5462.216827392578,\r
+    "y": 2244.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "9609b4db.95e4f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9609b4db.95e4f",\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": 5614.216827392578,\r
+    "y": 2245.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e1e079f9.7a9848",\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": 5625.216827392578,\r
+    "y": 2190.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9cca84a4.69e27",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5609.599151611328,\r
+    "y": 2130.5390014648438,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "b8027aff.eb46b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b8027aff.eb46b",\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": 5824.216827392578,\r
+    "y": 2126.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cdada9b0.2f3a48",\r
+    "type": "set",\r
+    "name": "set LEAF stuff",\r
+    "xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",\r
+    "comments": "",\r
+    "x": 3322.883331298828,\r
+    "y": 1736.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "95e31216.278c48",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4544.883331298828,\r
+    "y": 1019.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e1b848f1.cea8f8",\r
+    "type": "comment",\r
+    "name": "This is it (should be)",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4536.883331298828,\r
+    "y": 1109.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "850e2800.badf2",\r
+    "type": "set",\r
+    "name": "set ROOT stuff",\r
+    "xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",\r
+    "comments": "",\r
+    "x": 3303.883331298828,\r
+    "y": 2592.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2b1064a0.eade7c",\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": 3454.883331298828,\r
+    "y": 2840.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a5bcbd5b.23b83",\r
+    "type": "switchNode",\r
+    "name": "switch found-middle-man?",\r
+    "xml": "<switch test='`$found-middle-man`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3331.883331298828,\r
+    "y": 2950.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "6b05a347.83dffc",\r
+        "734dd518.f869ec"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6b05a347.83dffc",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3515.883331298828,\r
+    "y": 2929.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "81013cf2.231a08"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "734dd518.f869ec",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3051.883331298828,\r
+    "y": 4515.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "adcb6448.ea7478"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "68da37f9.05cc18",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3562.883331298828,\r
+    "y": 5100.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "d849eb29.b778b",\r
+        "fb71ca0a.fe8928",\r
+        "c01640bb.f526e8",\r
+        "298d7f45.2553b",\r
+        "4ebb86dc.a0713"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "81013cf2.231a08",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6634.883331298828,\r
+    "y": 2959.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "8a2aea1.11dcc18",\r
+        "f98cf202.f36e28",\r
+        "90c516f3.625c7",\r
+        "2f838a6e.450ff6",\r
+        "1aed0e7e.f8efea",\r
+        "c314ffe6.755b68",\r
+        "92f41cb.d6037e",\r
+        "1663311a.25772f",\r
+        "12533815.a962b",\r
+        "110e6104.d57bd7",\r
+        "9037ac75.0bc238",\r
+        "3017f19.9b8270e",\r
+        "b384a7be.8178a",\r
+        "bc57a86f.472ff",\r
+        "ca7cd34b.bc2bf",\r
+        "139339a2.2c6a06",\r
+        "3b830a4d.e803be",\r
+        "9ce39c8b.582fa",\r
+        "79c8e0a2.e2d0f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "12533815.a962b",\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": 6945.883331298828,\r
+    "y": 3314.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8a2aea1.11dcc18",\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": 6899.883331298828,\r
+    "y": 3412.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f98cf202.f36e28",\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": 7035.883331298828,\r
+    "y": 3459.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c27f6f12.2b7db",\r
+    "type": "comment",\r
+    "name": "Create ROOT connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6866.883331298828,\r
+    "y": 3263.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c8ec9937.7e8ac",\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": 7392.883331298828,\r
+    "y": 3754.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "90c516f3.625c7",\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": 6956.883331298828,\r
+    "y": 3793.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2f838a6e.450ff6",\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": 6904.883331298828,\r
+    "y": 3844.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1aed0e7e.f8efea",\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": 7040.883331298828,\r
+    "y": 3891.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "26cc918c.53f13e",\r
+    "type": "comment",\r
+    "name": "Create MIDDLE-MAN connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6897.883331298828,\r
+    "y": 3753.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4f7a1677.0cc04",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 7327.883331298828,\r
+    "y": 3950.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c314ffe6.755b68",\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": 6918.883331298828,\r
+    "y": 3997.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "b94a6109.4587b8",\r
+        "244569e0.e8b39e",\r
+        "f408fad5.acd5c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b94a6109.4587b8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 7165.883331298828,\r
+    "y": 3951.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "4f7a1677.0cc04"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "244569e0.e8b39e",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 7166.374298095703,\r
+    "y": 3997.4573669433594,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c4e6aa20.1e07c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f408fad5.acd5c",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 7163.883331298828,\r
+    "y": 4040.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "5ee0d1d0.ddd63"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c4e6aa20.1e07c8",\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": 7328.945709228516,\r
+    "y": 3997.7431030273438,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5ee0d1d0.ddd63",\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": 7332.883331298828,\r
+    "y": 4041.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ca7cd34b.bc2bf",\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": 6975.883331298828,\r
+    "y": 4276.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "139339a2.2c6a06",\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": 6978.883331298828,\r
+    "y": 4321.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9ce39c8b.582fa",\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": 6967.883331298828,\r
+    "y": 4112.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "79c8e0a2.e2d0f",\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": 6969.883331298828,\r
+    "y": 4159.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a0361928.318ac8",\r
+    "type": "comment",\r
+    "name": "The following two will be done in F1",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6891.883331298828,\r
+    "y": 4229.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d342acdf.02b8f",\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": 4521.883087158203,\r
+    "y": 5380.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d849eb29.b778b",\r
+    "type": "switchNode",\r
+    "name": "switch no-pce-call",\r
+    "xml": "<switch test='`$no-pce-call`'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3777.883331298828,\r
+    "y": 5081.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "ef9ce74a.0aa3e",\r
+        "75834f94.5997b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "75834f94.5997b",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3949.883331298828,\r
+    "y": 5078.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "f997d531.6d1e2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ef9ce74a.0aa3e",\r
+    "type": "outcomeFalse",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3901.883331298828,\r
+    "y": 5925.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "7f678eb1.f9d898"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "94fb7d78.dd39a8",\r
+    "type": "comment",\r
+    "name": "1 --> PCE is needed",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3962.883331298828,\r
+    "y": 5048.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d898a291.dc858",\r
+    "type": "comment",\r
+    "name": "2 --> no need to call PCE",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3972.883331298828,\r
+    "y": 5883.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "92f41cb.d6037e",\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": 6975.883331298828,\r
+    "y": 4385.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f997d531.6d1e2",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4125.883331298828,\r
+    "y": 5080.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "baabeea4.9ec638",\r
+        "fd2de0c3.4119c8",\r
+        "7962decb.29a4b8",\r
+        "1df2ddf.d8fc4a2",\r
+        "bb9baf34.d0edd",\r
+        "983065a0.b74e08",\r
+        "d342acdf.02b8f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4b2297b2.c2986",\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": 5569.883087158203,\r
+    "y": 5005.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "baabeea4.9ec638",\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": 4516.883087158203,\r
+    "y": 5683.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "1663311a.25772f",\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": 6951.883331298828,\r
+    "y": 3653.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ac7755ab.b0ef2",\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": 3435.883331298828,\r
+    "y": 1842.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2976ed1.40d8712",\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": 3342.883331298828,\r
+    "y": 1789.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7c3bd1f7.b32788",\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": 7001.883331298828,\r
+    "y": 3356.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "110e6104.d57bd7",\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": 6948.883331298828,\r
+    "y": 2944.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9037ac75.0bc238",\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": 6896.883331298828,\r
+    "y": 2992.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "3017f19.9b8270e",\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": 7024.883331298828,\r
+    "y": 3039.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "2b4caca8.ebe43c",\r
+    "type": "comment",\r
+    "name": "Create LEAF connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6861.883331298828,\r
+    "y": 2902.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b384a7be.8178a",\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": 6858.883331298828,\r
+    "y": 3130.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "bc57a86f.472ff",\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": 6951.883331298828,\r
+    "y": 3183.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a5d38ce2.eac838",\r
+    "type": "comment",\r
+    "name": "Create LEAF UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6842.883331298828,\r
+    "y": 3086.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "232bd10a.a8b54e",\r
+    "type": "comment",\r
+    "name": "Create ROOT UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6848.883331298828,\r
+    "y": 3536.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1df2ddf.d8fc4a2",\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": 4438.883087158203,\r
+    "y": 5013.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5696f41b.05cf84",\r
+    "type": "comment",\r
+    "name": "Create LEAF UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4422.883087158203,\r
+    "y": 4969.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "462a954a.4cebb4",\r
+    "type": "comment",\r
+    "name": "Create LEAF connectivity",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5169.883087158203,\r
+    "y": 5000.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5bab7896.e13d9",\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": 5256.883087158203,\r
+    "y": 5042.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ec708b2b.d3c6e",\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": 5204.883087158203,\r
+    "y": 5090.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "dea6b450.126ae",\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": 5332.883087158203,\r
+    "y": 5137.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "983065a0.b74e08",\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": 4509.883087158203,\r
+    "y": 5422.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e263a78e.c8cba",\r
+    "type": "comment",\r
+    "name": "populate connectivity-B variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4492.883087158203,\r
+    "y": 5484.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "fd2de0c3.4119c8",\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": 4603.883087158203,\r
+    "y": 5526.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "631f5baa.6a836c",\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": 5051.883087158203,\r
+    "y": 5579.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4505fb5a.3099fc",\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": 4361.883087158203,\r
+    "y": 6277.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "78bf173f.567498",\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": 4294.883087158203,\r
+    "y": 6231.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "79075338.970b1c",\r
+    "type": "comment",\r
+    "name": "Create LEAF UNI",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4243.883087158203,\r
+    "y": 6182.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "552d64d8.079684",\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": 5026.883331298828,\r
+    "y": 6388.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7962decb.29a4b8",\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": 4430.883087158203,\r
+    "y": 5583.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "a8868823.64a65",\r
+        "f3d79a89.da5f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a8868823.64a65",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4641.883087158203,\r
+    "y": 5583.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "8c7e9ec3.edd538"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8c7e9ec3.edd538",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4797.883087158203,\r
+    "y": 5579.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "631f5baa.6a836c",\r
+        "e719db8e.3b76c8",\r
+        "63d85a3d.4103fc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f3d79a89.da5f",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4637.883087158203,\r
+    "y": 5631.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c9509718.d9f2e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c9509718.d9f2e8",\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": 4785.883087158203,\r
+    "y": 5626.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "10f1aa00.faee3e",\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": 5293.883087158203,\r
+    "y": 5208.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "dca67cc5.30d2f8",\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": 2460.883331298828,\r
+    "y": 167.88333129882812,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ce64f5e6.94469",\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": 2394.883331298828,\r
+    "y": 203.88333129882812,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "10c1b340.47f61d",\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": 2579.883331298828,\r
+    "y": 130.88333129882812,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7299a42e.833c84",\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": 4328.883087158203,\r
+    "y": 6343.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "14b14bf.2fcb6b4",\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": 4461.883087158203,\r
+    "y": 6391.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "787fc902.6b8688",\r
+    "type": "switchNode",\r
+    "name": "switch found-connectivity?",\r
+    "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4280.883087158203,\r
+    "y": 6449.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "17a7dc18.0b8f9c",\r
+        "f762f.a378f1d18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "17a7dc18.0b8f9c",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4473.883087158203,\r
+    "y": 6450.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "22a4f0b9.5cc3f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "22a4f0b9.5cc3f",\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": 4629.883087158203,\r
+    "y": 6447.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f762f.a378f1d18",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4477.883087158203,\r
+    "y": 6494.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "82673a8f.5388f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "82673a8f.5388f",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4616.883087158203,\r
+    "y": 6489.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "552d64d8.079684",\r
+        "b152a028.0e0e48",\r
+        "df3932b1.5cfd1",\r
+        "dd853f0d.c675b",\r
+        "6a2f520.9e626b",\r
+        "4ac1ad89.6ecd0c",\r
+        "5a7c34be.0eee64",\r
+        "f8b3148.1a90a68",\r
+        "506cbb81.2befbc",\r
+        "e29af13.61a371",\r
+        "1a8fecd4.39509b",\r
+        "2374b67.d3b424a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5a7c34be.0eee64",\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": 4813.883087158203,\r
+    "y": 7168.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "8d3fe228.0e9ab8",\r
+        "92f94e1c.33687",\r
+        "710bd5c.e65692c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8d3fe228.0e9ab8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5018.883087158203,\r
+    "y": 7165.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "867b5387.a77e68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "92f94e1c.33687",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5002.374053955078,\r
+    "y": 7227.457366943359,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "32a9210e.f5a66e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "710bd5c.e65692c",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4999.883087158203,\r
+    "y": 7270.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "5f13dad2.143724"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "867b5387.a77e68",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5186.883331298828,\r
+    "y": 7160.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "a6483ec8.fd095"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "32a9210e.f5a66e",\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": 5164.945465087891,\r
+    "y": 7227.743103027344,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5f13dad2.143724",\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": 5166.883087158203,\r
+    "y": 7269.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a6483ec8.fd095",\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": 5421.883087158203,\r
+    "y": 7176.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "2bfd9e0f.b0b65a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2bfd9e0f.b0b65a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5658.883087158203,\r
+    "y": 7172.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "f7d1e8ad.4dc7b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "58dab986.f5f5a",\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": 5925.883087158203,\r
+    "y": 7138.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "25d3132f.f14084",\r
+        "88844ebd.a9a5b"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "25d3132f.f14084",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6106.883087158203,\r
+    "y": 7164.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "f7d1e8ad.4dc7b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "88844ebd.a9a5b",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6105.883087158203,\r
+    "y": 7117.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f7d1e8ad.4dc7b8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4849.883087158203,\r
+    "y": 7439.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "a21574dc.7f1048"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "da2d189.a0c85e8",\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": 5698.883087158203,\r
+    "y": 7344.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9ec2c103.e591",\r
+    "type": "comment",\r
+    "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4911.883087158203,\r
+    "y": 7115.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4ac1ad89.6ecd0c",\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": 4795.883087158203,\r
+    "y": 6964.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2add06b4.24634a",\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": 5140.883087158203,\r
+    "y": 6795.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "a410e22f.bcf42"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a410e22f.bcf42",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5360.883087158203,\r
+    "y": 6801.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "22269296.bf623e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "22269296.bf623e",\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": 5545.883087158203,\r
+    "y": 6800.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "66b1e6be.5824e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "66b1e6be.5824e",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5737.883087158203,\r
+    "y": 6803.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "19dd27ef.ab039"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "19dd27ef.ab039",\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": 5946.883087158203,\r
+    "y": 6801.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f8b3148.1a90a68",\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": 4847.883087158203,\r
+    "y": 6789.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "2add06b4.24634a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "df3932b1.5cfd1",\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": 4855.883087158203,\r
+    "y": 6682.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "6d632da3.ca2994",\r
+        "65bd7037.bc9ea",\r
+        "29b67365.cad774"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6d632da3.ca2994",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5091.883087158203,\r
+    "y": 6665.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "65bd7037.bc9ea",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5088.883087158203,\r
+    "y": 6706.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "29b67365.cad774",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5102.883087158203,\r
+    "y": 6746.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "dd853f0d.c675b",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4791.883087158203,\r
+    "y": 6841.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6a2f520.9e626b",\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": 4799.883087158203,\r
+    "y": 6899.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b152a028.0e0e48",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4804.883087158203,\r
+    "y": 6639.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3d7b7763.09cfd",\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": 4919.883087158203,\r
+    "y": 6591.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a21574dc.7f1048",\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": 5092.883087158203,\r
+    "y": 7436.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "b03df3ba.8ce8d8",\r
+        "c15c4a9f.54e778"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b03df3ba.8ce8d8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5321.883087158203,\r
+    "y": 7413.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "b68c7fcf.24567"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c15c4a9f.54e778",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5321.883087158203,\r
+    "y": 7462.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "b68c7fcf.24567",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5482.883087158203,\r
+    "y": 7418.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "57615513.3c37ac",\r
+        "da2d189.a0c85e8",\r
+        "aa5be19c.b28bd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "41927c2c.53b90c",\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": 5826.883087158203,\r
+    "y": 7398.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "aa5be19c.b28bd",\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": 5796.883087158203,\r
+    "y": 7458.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "57615513.3c37ac",\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": 5703.883087158203,\r
+    "y": 7286.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7f678eb1.f9d898",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4053.883331298828,\r
+    "y": 5924.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "78bf173f.567498",\r
+        "7299a42e.833c84",\r
+        "14b14bf.2fcb6b4",\r
+        "787fc902.6b8688",\r
+        "4505fb5a.3099fc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "950e3220.8c6648",\r
+    "type": "set",\r
+    "name": "unset otnTopoIdSrc",\r
+    "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
+    "comments": "",\r
+    "x": 4796.883087158203,\r
+    "y": 6739.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "506cbb81.2befbc",\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": 4919.883331298828,\r
+    "y": 6469.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ce6bcae6.279bf",\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": 5056.883331298828,\r
+    "y": 6419.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3b830a4d.e803be",\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": 6864.883331298828,\r
+    "y": 3595.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "debea5ca.c5efb8",\r
+    "type": "comment",\r
+    "name": "NOT NEEDED ANYMORE?",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4070.883331298828,\r
+    "y": 1820.8833312988281,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "dcf5d1.89c23a3",\r
+    "type": "comment",\r
+    "name": "NOT NEEDED ANYMORE?",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4048.883331298828,\r
+    "y": 2690.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3dc14de7.91d75a",\r
+    "type": "comment",\r
+    "name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6855.883331298828,\r
+    "y": 4062.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2530e84c.0abb78",\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": 3560.883331298828,\r
+    "y": 6064.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "fb71ca0a.fe8928",\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": 3771.883331298828,\r
+    "y": 4941.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c01640bb.f526e8",\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": 3904.883331298828,\r
+    "y": 4989.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "bb9baf34.d0edd",\r
+    "type": "switchNode",\r
+    "name": "switch found-connectivity?",\r
+    "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4449.883087158203,\r
+    "y": 5069.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "9b70cfc4.c55e3",\r
+        "fdbb8f8a.783248"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9b70cfc4.c55e3",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4642.883087158203,\r
+    "y": 5070.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c1e58440.70184"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fdbb8f8a.783248",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4646.883087158203,\r
+    "y": 5114.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "75c1affe.0ddba8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "75c1affe.0ddba8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4785.883087158203,\r
+    "y": 5109.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "4c2b44d5.f7301c",\r
+        "6ccb98db.74d4e8",\r
+        "d416487a.185998"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c1e58440.70184",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4785.883087158203,\r
+    "y": 5066.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "5bab7896.e13d9",\r
+        "ec708b2b.d3c6e",\r
+        "dea6b450.126ae",\r
+        "10f1aa00.faee3e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4c2b44d5.f7301c",\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": 5179.883087158203,\r
+    "y": 5360.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "eb20f196.54125",\r
+    "type": "comment",\r
+    "name": "populate connectivity-A variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5186.883087158203,\r
+    "y": 5314.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e29af13.61a371",\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": 4984.883087158203,\r
+    "y": 7064.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "6ccb98db.74d4e8",\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": 5298.883087158203,\r
+    "y": 5413.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e719db8e.3b76c8",\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": 5180.883087158203,\r
+    "y": 5631.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "d1afb38c.0141a8",\r
+    "type": "comment",\r
+    "name": "Update ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3735.883331298828,\r
+    "y": 4539.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "42d36cb1.4fa424",\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": 4069.883331298828,\r
+    "y": 4722.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "298d7f45.2553b",\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": 3681.883331298828,\r
+    "y": 4589.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "9ef5d43.2b0bca8",\r
+        "3ef07e30.e6e7da",\r
+        "f6dffd82.1f8af"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3ef07e30.e6e7da",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3909.374298095703,\r
+    "y": 4562.457305908203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "afd7cfee.d60a88"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f6dffd82.1f8af",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3904.883331298828,\r
+    "y": 4606.883270263672,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "718ca986.9a7a48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "afd7cfee.d60a88",\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": 4071.945831298828,\r
+    "y": 4561.743011474609,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "718ca986.9a7a48",\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": 4072.883331298828,\r
+    "y": 4606.883270263672,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "bbe16e71.3e09e8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3857.883331298828,\r
+    "y": 4679.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "2abf34d.6a0b3cc",\r
+        "42d36cb1.4fa424"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9ef5d43.2b0bca8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3688.883331298828,\r
+    "y": 4679.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "bbe16e71.3e09e8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2abf34d.6a0b3cc",\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": 4046.883331298828,\r
+    "y": 4671.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "4ebb86dc.a0713",\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": 3879.883331298828,\r
+    "y": 4817.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e230ac3e.9cb188",\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": 3662.883331298828,\r
+    "y": 2900.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3d29417.d2eee3e",\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": 3517.883331298828,\r
+    "y": 4467.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "c01a7bbf.331a48",\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": 3290.883331298828,\r
+    "y": 4735.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "19c2896c.95fdb7",\r
+        "cde01ebb.100c6"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "adcb6448.ea7478",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3122.883331298828,\r
+    "y": 4738.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c01a7bbf.331a48"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cde01ebb.100c6",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3453.883331298828,\r
+    "y": 4754.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "68da37f9.05cc18"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "19c2896c.95fdb7",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3489.883331298828,\r
+    "y": 3361.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "b19d09a1.5b2a5"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e9cce0c6.04cdf8",\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": 3805.883331298828,\r
+    "y": 3413.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "24dd4d51.dc7852",\r
+        "a81116be.6c3738"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "24dd4d51.dc7852",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4010.883331298828,\r
+    "y": 3409.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a81116be.6c3738",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4012.883331298828,\r
+    "y": 3459.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "29997430.010c94"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "29997430.010c94",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4168.883331298828,\r
+    "y": 3465.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "f4475341.93d378",\r
+        "4264dea0.b43bb8",\r
+        "5f09d2da.19bfa4",\r
+        "c71fd59.dfc0428"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f4475341.93d378",\r
+    "type": "set",\r
+    "name": "set bwModified",\r
+    "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",\r
+    "comments": "",\r
+    "x": 4394.883575439453,\r
+    "y": 3206.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5f1f0cb4.e46a84",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4926.883056640625,\r
+    "y": 4293.88330078125,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "293be2f2.0d66a6",\r
+        "898be63d.63497"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "898be63d.63497",\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": 5128.8828125,\r
+    "y": 4260.88330078125,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "853d7a8b.2e02f",\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": 4812.88330078125,\r
+    "y": 4470.883056640625,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1915e47b.7ebf64",\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": 4809.9454345703125,\r
+    "y": 4419.743072509766,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "caf66330.b1b298",\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": 4392.883056640625,\r
+    "y": 4293.88330078125,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "ee97b865.b6783"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ee97b865.b6783",\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": 4597.883056640625,\r
+    "y": 4293.88330078125,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c8ca8353.4e5678"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c8ca8353.4e5678",\r
+    "type": "outcome",\r
+    "name": "vpn-binding",\r
+    "xml": "<outcome value='vpn-binding'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4763.883056640625,\r
+    "y": 4293.88330078125,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "5f1f0cb4.e46a84"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "293be2f2.0d66a6",\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": 4435.883056640625,\r
+    "y": 4371.88330078125,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "82c1720.e28a61",\r
+        "745eb7b1.5e824",\r
+        "fa83b701.248a2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "82c1720.e28a61",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4646.883056640625,\r
+    "y": 4373.88330078125,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "74de082.69b8bf8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "745eb7b1.5e824",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4647.3740234375,\r
+    "y": 4419.457336425781,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "1915e47b.7ebf64"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fa83b701.248a2",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4644.883056640625,\r
+    "y": 4462.88330078125,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "853d7a8b.2e02f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b19d09a1.5b2a5",\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": 3679.883331298828,\r
+    "y": 3256.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "9b46823e.72756",\r
+        "35aaafce.bf5cc8",\r
+        "d1f12cfb.14a2c8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "35aaafce.bf5cc8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3907.374298095703,\r
+    "y": 3229.457305908203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c379ee48.9a04a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d1f12cfb.14a2c8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3902.883331298828,\r
+    "y": 3273.883270263672,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "7e073ce5.e1fbec"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c379ee48.9a04a",\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": 4069.945831298828,\r
+    "y": 3228.7430114746094,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7e073ce5.e1fbec",\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": 4070.883331298828,\r
+    "y": 3273.883270263672,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9b46823e.72756",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3914.883331298828,\r
+    "y": 3323.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "e9cce0c6.04cdf8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "715dcd2e.3d9a6c",\r
+    "type": "comment",\r
+    "name": "Find LEAF and ROOT connectivity, then find vpn-bindings of each. adjust bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 3804.7666625976562,\r
+    "y": 3514.7666625976562,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "b78f20d3.5b466",\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": 3819.483428955078,\r
+    "y": 3866.566680908203,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9e72dea1.067a48",\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": 3957.483428955078,\r
+    "y": 3924.566680908203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "4264dea0.b43bb8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 3535.483428955078,\r
+    "y": 3605.966583251953,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "ea9a5f5d.8f9bf8",\r
+        "1c248a70.8f6db6",\r
+        "1f0e75d7.8b5a2a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d32411c9.b56a18",\r
+    "type": "switchNode",\r
+    "name": "switch found-connectivity?",\r
+    "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3776.483428955078,\r
+    "y": 4034.366729736328,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "e283eb67.9ec4b",\r
+        "f5e18bc8.e6b668"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e283eb67.9ec4b",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3969.483428955078,\r
+    "y": 4035.366729736328,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "ead422bf.e71108"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f5e18bc8.e6b668",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3973.483428955078,\r
+    "y": 4079.366729736328,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c6dc9f70.44622"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c6dc9f70.44622",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4112.483428955078,\r
+    "y": 4074.366729736328,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "caf66330.b1b298"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ead422bf.e71108",\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": 4113.483428955078,\r
+    "y": 4031.566680908203,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5f09d2da.19bfa4",\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": 4428.600372314453,\r
+    "y": 3463.166778564453,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "d442302c.ca32e",\r
+        "7bb1b9a.4551dc8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d442302c.ca32e",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4627.767364501953,\r
+    "y": 3529.766632080078,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "7e28b551.d4ae3c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7bb1b9a.4551dc8",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4649.767364501953,\r
+    "y": 3374.766632080078,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "ff62768e.03d4d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c71fd59.dfc0428",\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": 4427.600372314453,\r
+    "y": 3318.366729736328,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5004b561.86b324",\r
+    "type": "comment",\r
+    "name": "update LEAF UNI with the new bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4443.767364501953,\r
+    "y": 3271.766632080078,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3679700e.bfb9b8",\r
+    "type": "comment",\r
+    "name": "Update ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5112.533966064453,\r
+    "y": 3248.766632080078,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "180c72db.e0ca25",\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": 5714.533966064453,\r
+    "y": 3353.766632080078,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "eaf2956b.f5da68",\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": 5104.533721923828,\r
+    "y": 3294.766632080078,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "94b5c3f.97615c",\r
+        "5f9fd4c2.f09244",\r
+        "be126d8d.81e41"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5f9fd4c2.f09244",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5332.024688720703,\r
+    "y": 3267.340606689453,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "7b864f73.0d50b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "be126d8d.81e41",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5327.533721923828,\r
+    "y": 3311.766571044922,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "20abe4f.26a359c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7b864f73.0d50b8",\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": 5494.596221923828,\r
+    "y": 3266.6263122558594,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "20abe4f.26a359c",\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": 5495.533721923828,\r
+    "y": 3311.766571044922,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "cd6b80d0.dac0d8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5492.533721923828,\r
+    "y": 3361.766632080078,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c08f6988.b1e668",\r
+        "180c72db.e0ca25"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "94b5c3f.97615c",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5323.533721923828,\r
+    "y": 3361.766632080078,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "cd6b80d0.dac0d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c08f6988.b1e668",\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": 5674.534454345703,\r
+    "y": 3303.766632080078,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "96b13181.04b1f8",\r
+    "type": "comment",\r
+    "name": "bw+ has increased ",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4641.766662597656,\r
+    "y": 3336.7666625976562,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a39bd08a.5e567",\r
+    "type": "comment",\r
+    "name": "bw- has decreased",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4640.600372314453,\r
+    "y": 3493.566680908203,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "ca05c492.e4ea9",\r
+    "type": "comment",\r
+    "name": "Update ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5089.600372314453,\r
+    "y": 3451.566680908203,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6af65c6b.88b2a4",\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": 5691.600372314453,\r
+    "y": 3556.566680908203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "e7dc732b.754658",\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": 5081.600128173828,\r
+    "y": 3497.566680908203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "5192fc04.bc79ac",\r
+        "9675a219.e39ec8",\r
+        "491e7a3e.fd6efc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9675a219.e39ec8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5309.091094970703,\r
+    "y": 3470.140655517578,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "9eb1719c.df987"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "491e7a3e.fd6efc",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5304.600128173828,\r
+    "y": 3514.566619873047,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "73d5ba80.efe18c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "9eb1719c.df987",\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": 5471.662628173828,\r
+    "y": 3469.4263610839844,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "73d5ba80.efe18c",\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": 5472.600128173828,\r
+    "y": 3514.566619873047,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "49e14e2.90e413",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 5469.600128173828,\r
+    "y": 3564.566680908203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "fc162869.747088",\r
+        "6af65c6b.88b2a4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "5192fc04.bc79ac",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5300.600128173828,\r
+    "y": 3564.566680908203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "49e14e2.90e413"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fc162869.747088",\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": 5651.600860595703,\r
+    "y": 3506.566680908203,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "af7611a6.c24d8",\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": 5006.600128173828,\r
+    "y": 3410.566680908203,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "7e28b551.d4ae3c",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4799.766662597656,\r
+    "y": 3518.7666625976562,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "af7611a6.c24d8",\r
+        "e7dc732b.754658"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ff62768e.03d4d",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4820.500030517578,\r
+    "y": 3345.566680908203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "d835bd5d.93ef8",\r
+        "eaf2956b.f5da68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d835bd5d.93ef8",\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": 5019.333526611328,\r
+    "y": 3163.366729736328,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "2025b954.4fbac6",\r
+    "type": "comment",\r
+    "name": "Update ROOT UNI's bw",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4414.649932861328,\r
+    "y": 3418.566680908203,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "976feb0e.893a98",\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": 3916.9833984375,\r
+    "y": 4197.3671875,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "a99b9bcd.cfe81",\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": 3751.9833984375,\r
+    "y": 4269.567138671875,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "98f48307.654f08",\r
+        "d531b9e1.8374e"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "98f48307.654f08",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3962.9833984375,\r
+    "y": 4269.567138671875,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c74f3bbd.636d88"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d531b9e1.8374e",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 3958.9833984375,\r
+    "y": 4317.567138671875,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "7e7563eb.7c66dc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c74f3bbd.636d88",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4118.9833984375,\r
+    "y": 4265.567138671875,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "6a777147.b443f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7e7563eb.7c66dc",\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": 4106.9833984375,\r
+    "y": 4312.567138671875,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d69512d3.73027",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4959.949493408203,\r
+    "y": 4579.765899658203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "cae5635c.9a1e2",\r
+        "6f0b5fb4.a1fb4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6f0b5fb4.a1fb4",\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": 5202.949737548828,\r
+    "y": 4548.765899658203,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e903ccd1.487f98",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4819.949493408203,\r
+    "y": 4689.765899658203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "e80670f4.672e68"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c7ea39a3.498988",\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": 4807.949737548828,\r
+    "y": 4782.766143798828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3f0dd5a.ea39aaa",\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": 4810.011871337891,\r
+    "y": 4737.625671386719,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "6a777147.b443f8",\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": 4425.949493408203,\r
+    "y": 4579.765899658203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "b25b3b22.1646d"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b25b3b22.1646d",\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": 4630.949493408203,\r
+    "y": 4579.765899658203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "e858f590.02822"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e858f590.02822",\r
+    "type": "outcome",\r
+    "name": "vpn-binding",\r
+    "xml": "<outcome value='vpn-binding'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4796.949493408203,\r
+    "y": 4579.765899658203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "d69512d3.73027"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "cae5635c.9a1e2",\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": 4435.949493408203,\r
+    "y": 4689.765899658203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "a8297a32.4725f",\r
+        "102b4f2b.1cfcf9",\r
+        "6f0b5913.92db28"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a8297a32.4725f",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4646.949493408203,\r
+    "y": 4691.765899658203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "e903ccd1.487f98"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "102b4f2b.1cfcf9",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4647.440460205078,\r
+    "y": 4737.339935302734,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "3f0dd5a.ea39aaa"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6f0b5913.92db28",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4644.949493408203,\r
+    "y": 4780.765899658203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c7ea39a3.498988"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e8e91e40.c50e3",\r
+    "type": "comment",\r
+    "name": "Temporary skipping this check - to support multiple instances in one slice",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 6055.766387939453,\r
+    "y": 7078.966827392578,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "12a072b1.a1936d",\r
+    "type": "comment",\r
+    "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5324.2333984375,\r
+    "y": 4310.16650390625,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "74de082.69b8bf8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4826.233642578125,\r
+    "y": 4376.16650390625,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ac63c59c.83048",\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": 5357.2333984375,\r
+    "y": 4378.16650390625,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "e6f065d2.aee8e",\r
+        "6b430222.42764c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e6f065d2.aee8e",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5482.2333984375,\r
+    "y": 4276.166259765625,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "3f51a421.f29684"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6b430222.42764c",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5601.233428955078,\r
+    "y": 4350.166290283203,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "b946186b.4be33",\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": 4569.916534423828,\r
+    "y": 3921.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "402f3aa1.dbe4cc",\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": 4914.916534423828,\r
+    "y": 3783.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "a579376d.bc3"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "d26cf0c5.68acc",\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": 4621.916534423828,\r
+    "y": 3777.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "402f3aa1.dbe4cc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e2cb41dc.f4c8f8",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4876.916534423828,\r
+    "y": 3734.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "72812dae.8552e4",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4565.916534423828,\r
+    "y": 3829.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "82192f60.51b328",\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": 4573.916534423828,\r
+    "y": 3874.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "37b8f0e0.bc121",\r
+    "type": "set",\r
+    "name": "unset otnTopoIdSrc",\r
+    "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
+    "comments": "",\r
+    "x": 4570.916534423828,\r
+    "y": 3727.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a579376d.bc3",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4823.916534423828,\r
+    "y": 3851.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "bcbc46d8.da70d8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bcbc46d8.da70d8",\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": 5008.916534423828,\r
+    "y": 3850.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "df0e838b.1a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "df0e838b.1a8",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5200.916534423828,\r
+    "y": 3853.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "b552c813.211c2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "b552c813.211c2",\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": 5372.916534423828,\r
+    "y": 3849.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "9806e019.ad2a",\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": 4748.916534423828,\r
+    "y": 3964.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ea9a5f5d.8f9bf8",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4265.916534423828,\r
+    "y": 3749.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "4c3bbf42.6f3d68",\r
+        "e37c29b1.ce632",\r
+        "72812dae.8552e4",\r
+        "82192f60.51b328",\r
+        "b946186b.4be33",\r
+        "d26cf0c5.68acc",\r
+        "9806e019.ad2a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "805d495b.3d6b18",\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": 4250.916534423828,\r
+    "y": 3683.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e37c29b1.ce632",\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": 4629.916534423828,\r
+    "y": 3670.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "942a4caf.d868d8",\r
+        "8905a79d.0fb76",\r
+        "e2cb41dc.f4c8f8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "942a4caf.d868d8",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4865.916534423828,\r
+    "y": 3653.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8905a79d.0fb76",\r
+    "type": "other",\r
+    "name": "other",\r
+    "xml": "<outcome value='Other'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4862.916534423828,\r
+    "y": 3694.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "4c3bbf42.6f3d68",\r
+    "type": "set",\r
+    "name": "unset parameters",\r
+    "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
+    "comments": "",\r
+    "x": 4578.916534423828,\r
+    "y": 3627.883331298828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "94da922f.c01d98",\r
+    "type": "comment",\r
+    "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5308.316436767578,\r
+    "y": 4677.283233642578,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e80670f4.672e68",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5097.316436767578,\r
+    "y": 4739.283233642578,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "ed69a679.8ddb2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "ed69a679.8ddb2",\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": 5341.316436767578,\r
+    "y": 4745.283233642578,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "90bf5e35.d23788",\r
+        "6659c466.b510dc"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "90bf5e35.d23788",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5572.316436767578,\r
+    "y": 4723.283233642578,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "5ef895fb.b1bf7c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6659c466.b510dc",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5577.316436767578,\r
+    "y": 4790.283233642578,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ef985380.75ae68",\r
+    "type": "switchNode",\r
+    "name": "switch tmp.isBwIncreased",\r
+    "xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5826.2001953125,\r
+    "y": 4287.965576171875,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "76a7bc4a.dd01dc",\r
+        "c64cf61b.17568"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "76a7bc4a.dd01dc",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5981.200225830078,\r
+    "y": 4215.965850830078,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "79b64e60.35626"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c64cf61b.17568",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5982.200225830078,\r
+    "y": 4348.965850830078,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "d1f760ec.7590a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "79b64e60.35626",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6126.200225830078,\r
+    "y": 4215.966094970703,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "a1fc801a.8dde7",\r
+        "f7199aa1.5a0618"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a1fc801a.8dde7",\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": 6419.200225830078,\r
+    "y": 4193.965850830078,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "f7199aa1.5a0618",\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": 6370.850128173828,\r
+    "y": 4241.282745361328,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "598a3c97.c62cd4",\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": 6443.200225830078,\r
+    "y": 4154.965850830078,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d1f760ec.7590a",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6138.200225830078,\r
+    "y": 4347.966094970703,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "e43682b5.56552",\r
+        "8aed809d.a72bd8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "e43682b5.56552",\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": 6431.200225830078,\r
+    "y": 4325.965850830078,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8aed809d.a72bd8",\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": 6382.850128173828,\r
+    "y": 4373.282745361328,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "3a2ab7c7.d2dab8",\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": 6455.200225830078,\r
+    "y": 4286.965850830078,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5ef895fb.b1bf7c",\r
+    "type": "switchNode",\r
+    "name": "switch tmp.isBwIncreased",\r
+    "xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5777.433135986328,\r
+    "y": 4730.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "3e55897.59031f6",\r
+        "a1d97b4a.208e4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3e55897.59031f6",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5972.433135986328,\r
+    "y": 4658.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "1661a8d0.f6d65f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "a1d97b4a.208e4",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5973.433135986328,\r
+    "y": 4791.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "5810f31a.0a9ed4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1661a8d0.f6d65f",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6117.433135986328,\r
+    "y": 4658.166778564453,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "da6580ac.af986",\r
+        "ee810baa.63495"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "da6580ac.af986",\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": 6410.433135986328,\r
+    "y": 4636.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "ee810baa.63495",\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": 6362.083038330078,\r
+    "y": 4683.483428955078,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "87cf660.a2b3f18",\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": 6434.433135986328,\r
+    "y": 4597.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5810f31a.0a9ed4",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6129.433135986328,\r
+    "y": 4790.166778564453,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "80c260b2.6af7a",\r
+        "9a874787.276bd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "80c260b2.6af7a",\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": 6422.433135986328,\r
+    "y": 4768.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "9a874787.276bd",\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": 6374.083038330078,\r
+    "y": 4815.483428955078,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "815fc293.94d2f8",\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": 6446.433135986328,\r
+    "y": 4729.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a537e9a.90f0c98",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5185.283233642578,\r
+    "y": 5470.366729736328,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "d416487a.185998",\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": 5183.066436767578,\r
+    "y": 5510.566925048828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "7898de27.66a698",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5058.316680908203,\r
+    "y": 5695.049835205078,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "63d85a3d.4103fc",\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": 5056.099884033203,\r
+    "y": 5735.250030517578,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "105ea6a7.242f79",\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": 5160.433135986328,\r
+    "y": 6178.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "8f43e7c7.1c41b8",\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": 4987.433135986328,\r
+    "y": 6235.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "4e0d7b1b.4cc2ec",\r
+        "609ed3b9.40f534"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "4e0d7b1b.4cc2ec",\r
+    "type": "outcomeTrue",\r
+    "name": "true",\r
+    "xml": "<outcome value='true'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5198.433135986328,\r
+    "y": 6235.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c2d7112c.1b117"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "609ed3b9.40f534",\r
+    "type": "outcomeFalse",\r
+    "name": "false",\r
+    "xml": "<outcome value='false'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5194.433135986328,\r
+    "y": 6283.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "fd4c4e47.075cf8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "c2d7112c.1b117",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5354.433135986328,\r
+    "y": 6231.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "c4eacefe.2b5518",\r
+        "773bf221.e0586c",\r
+        "f38f117c.80c7b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "fd4c4e47.075cf8",\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": 5342.433135986328,\r
+    "y": 6278.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "a5cbc756.e321b8",\r
+    "type": "comment",\r
+    "name": "Update connectivity status to modified",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5620.316925048828,\r
+    "y": 6331.049835205078,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "f38f117c.80c7b8",\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": 5618.100128173828,\r
+    "y": 6371.250030517578,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "773bf221.e0586c",\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": 5737.433135986328,\r
+    "y": 6283.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "c4eacefe.2b5518",\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": 5608.433135986328,\r
+    "y": 6231.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "5ff4d90f.61eca8",\r
+    "type": "comment",\r
+    "name": "populate connectivity-B variable in the context map",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 5049.433135986328,\r
+    "y": 6136.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1a8fecd4.39509b",\r
+    "type": "block",\r
+    "name": "block",\r
+    "xml": "<block>\n",\r
+    "atomic": "false",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4756.766143798828,\r
+    "y": 6218.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "105ea6a7.242f79",\r
+        "8f43e7c7.1c41b8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "2374b67.d3b424a",\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": 5035.516632080078,\r
+    "y": 6533.166534423828,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      []\r
+    ]\r
+  },\r
+  {\r
+    "id": "5d1aa304.0ec964",\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": 3740.8837890625,\r
+    "y": 3809.88330078125,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "1c248a70.8f6db6",\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": 4493.4169921875,\r
+    "y": 4084,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "e8d15ab4.54c49",\r
+        "20b8f97c.98322e",\r
+        "6302d7c5.b6ebe8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "3d05d16c.2a1566",\r
+    "type": "comment",\r
+    "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
+    "info": "",\r
+    "comments": "",\r
+    "x": 4595.4169921875,\r
+    "y": 4049,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "e8d15ab4.54c49",\r
+    "type": "success",\r
+    "name": "success",\r
+    "xml": "<outcome value='success'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4698.4169921875,\r
+    "y": 4081,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "7ec23daa.6a0bc4"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "20b8f97c.98322e",\r
+    "type": "not-found",\r
+    "name": "not-found",\r
+    "xml": "<outcome value='not-found'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4681.907958984375,\r
+    "y": 4142.574035644531,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "36ba2eea.c2f3b2"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "6302d7c5.b6ebe8",\r
+    "type": "failure",\r
+    "name": "failure",\r
+    "xml": "<outcome value='failure'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 4679.4169921875,\r
+    "y": 4186,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "949d59bf.9e67a"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "7ec23daa.6a0bc4",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 4866.417236328125,\r
+    "y": 4076,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "df77d6a9.222ef"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "36ba2eea.c2f3b2",\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": 4844.4793701171875,\r
+    "y": 4142.859771728516,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "949d59bf.9e67a",\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": 4846.4169921875,\r
+    "y": 4185,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "df77d6a9.222ef",\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": 5104.417236328125,\r
+    "y": 4081,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "abc8ebdb.52f0a8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "abc8ebdb.52f0a8",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5338.4169921875,\r
+    "y": 4088,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "ac63c59c.83048"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "1f0e75d7.8b5a2a",\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": 4472.11669921875,\r
+    "y": 4010,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "bffd072f.5e512",\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": 5755.2666015625,\r
+    "y": 4098.5830078125,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "f3f61fe0.c57dd"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "f3f61fe0.c57dd",\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": 5947.2666015625,\r
+    "y": 4087.583251953125,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "8cedd329.3f3c9"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "8cedd329.3f3c9",\r
+    "type": "outcome",\r
+    "name": "connectivity",\r
+    "xml": "<outcome value='connectivity'>\n",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 6129.2666015625,\r
+    "y": 4066.583251953125,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "86e0777f.9370f"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "86e0777f.9370f",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic=\"true\">",\r
+    "atomic": "true",\r
+    "outputs": 1,\r
+    "x": 6291.2666015625,\r
+    "y": 4055.583251953125,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "869c4324.9670f",\r
+        "bbb484a7.96add8"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "869c4324.9670f",\r
+    "type": "set",\r
+    "name": "unset tmp.the-connectivity",\r
+    "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",\r
+    "comments": "",\r
+    "x": 6488.2666015625,\r
+    "y": 3984.583251953125,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "3f51a421.f29684",\r
+    "type": "block",\r
+    "name": "block : atomic",\r
+    "xml": "<block atomic='true'>",\r
+    "atomic": "true",\r
+    "comments": "",\r
+    "outputs": 1,\r
+    "x": 5609.216796875,\r
+    "y": 4214.582763671875,\r
+    "z": "7062000.f761",\r
+    "wires": [\r
+      [\r
+        "ef985380.75ae68",\r
+        "bffd072f.5e512",\r
+        "bbf89c4c.2b2c98",\r
+        "55e59a7f.53654c"\r
+      ]\r
+    ]\r
+  },\r
+  {\r
+    "id": "bbf89c4c.2b2c98",\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": 5793.783203125,\r
+    "y": 3988.800048828125,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "55e59a7f.53654c",\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": 5785.783203125,\r
+    "y": 4037.800048828125,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  },\r
+  {\r
+    "id": "bbb484a7.96add8",\r
+    "type": "set",\r
+    "name": "set tmp.the-connectivity",\r
+    "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",\r
+    "comments": "",\r
+    "x": 6485.7333984375,\r
+    "y": 4083.800048828125,\r
+    "z": "7062000.f761",\r
+    "wires": []\r
+  }\r
 ]
\ No newline at end of file