Adding code in oder to supporting multiple E-Line services per each Transport Slice.
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / trans_slicing / GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-allocate.json
index b9e4d5c..8c72d0c 100644 (file)
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1361.490966796875,\r
-        "y": 176.57403564453125,\r
+        "x": 1347.490966796875,\r
+        "y": 203.57403564453125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1350,\r
-        "y": 223,\r
+        "x": 1336,\r
+        "y": 250,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "id": "dfc9a5db.996c4",\r
         "type": "switchNode",\r
         "name": "switch allotted-resources_length != 0",\r
-        "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources_length != 0`'>\n",\r
+        "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
         "x": 1591,\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": 1515.0623779296875,\r
-        "y": 179.85977172851562,\r
+        "x": 1501.0623779296875,\r
+        "y": 206.85977172851562,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 1519,\r
-        "y": 224,\r
-        "z": "4d37a11.42c136",\r
-        "wires": []\r
-    },\r
-    {\r
-        "id": "ca7ed950.c4257",\r
-        "type": "set",\r
-        "name": "set the 1st allotted-resource-id",\r
-        "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[0].id`\" />\n\n\n",\r
-        "comments": "",\r
-        "x": 1990,\r
-        "y": 198,\r
+        "x": 1505,\r
+        "y": 251,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
-                "ca7ed950.c4257",\r
-                "78e29884.225c08"\r
+                "23c06925.0d2eb6",\r
+                "a5814717.4b953",\r
+                "39b144a2.fc3a7c"\r
             ]\r
         ]\r
     },\r
         "id": "50cd8b4c.3fbe34",\r
         "type": "set",\r
         "name": "set network-route-A",\r
-        "xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
+        "xml": "<set>\n<!--<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 2370,\r
-        "y": 822,\r
+        "x": 2652,\r
+        "y": 843,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "name": "set network-route-B",\r
         "xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
         "comments": "",\r
-        "x": 2371,\r
-        "y": 877,\r
+        "x": 2653,\r
+        "y": 898,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 1993,\r
-        "y": 273,\r
+        "x": 2275,\r
+        "y": 294,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2209,\r
-        "y": 340,\r
+        "x": 2491,\r
+        "y": 361,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2209.490966796875,\r
-        "y": 239.573974609375,\r
+        "x": 2491.490966796875,\r
+        "y": 260.573974609375,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2205,\r
-        "y": 289,\r
+        "x": 2487,\r
+        "y": 310,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 2387.0625,\r
-        "y": 239.8597412109375,\r
+        "x": 2669.0625,\r
+        "y": 260.8597412109375,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 2387,\r
-        "y": 289,\r
+        "x": 2669,\r
+        "y": 310,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 1728,\r
-        "y": 762,\r
+        "x": 2010,\r
+        "y": 783,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
-                "a6a55952.b90f",\r
                 "4070a4d0.4176d4",\r
-                "60c71e39.2f942"\r
+                "60c71e39.2f942",\r
+                "a6a55952.b90f"\r
             ]\r
         ]\r
     },\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2019.490966796875,\r
-        "y": 740.573974609375,\r
+        "x": 2301.490966796875,\r
+        "y": 761.573974609375,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2008,\r
-        "y": 785,\r
+        "x": 2290,\r
+        "y": 806,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 2168.0625,\r
-        "y": 740.8597412109375,\r
+        "x": 2450.0625,\r
+        "y": 761.8597412109375,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 2167,\r
-        "y": 785,\r
+        "x": 2449,\r
+        "y": 806,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2015,\r
-        "y": 864,\r
+        "x": 2297,\r
+        "y": 885,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2154,\r
-        "y": 864,\r
+        "x": 2436,\r
+        "y": 885,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
                 "260f00b5.585908",\r
                 "134248ca.e0fa77",\r
                 "fc2a7bf0.e878b",\r
-                "a5814717.4b953",\r
                 "84749d0f.3038c8",\r
-                "39b144a2.fc3a7c",\r
                 "21292318.735edc",\r
                 "ce066c5d.e7734",\r
+                "e927f664.5c872",\r
+                "29397b6c.248454",\r
                 "c19c2198.0de5c",\r
-                "303c5717.c426f"\r
+                "488403ee.0379ac"\r
             ]\r
         ]\r
     },\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-A'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-A\">",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2383,\r
-        "y": 945,\r
+        "x": 2665,\r
+        "y": 966,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-B'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-B\">",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2362,\r
-        "y": 1546.9998779296875,\r
+        "x": 2644,\r
+        "y": 1567.9998779296875,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2584,\r
-        "y": 829,\r
+        "x": 2866,\r
+        "y": 850,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2579.509033203125,\r
-        "y": 878.426025390625,\r
+        "x": 2861.509033203125,\r
+        "y": 899.426025390625,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2583.509033203125,\r
-        "y": 929.426025390625,\r
+        "x": 2865.509033203125,\r
+        "y": 950.426025390625,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 2732.571533203125,\r
-        "y": 828.2857666015625,\r
+        "x": 3014.571533203125,\r
+        "y": 849.2857666015625,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 2722.509033203125,\r
-        "y": 878.426025390625,\r
+        "x": 3004.509033203125,\r
+        "y": 899.426025390625,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2585,\r
-        "y": 1516.9998779296875,\r
+        "x": 2867,\r
+        "y": 1537.9998779296875,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2580.509033203125,\r
-        "y": 1566.4259033203125,\r
+        "x": 2862.509033203125,\r
+        "y": 1587.4259033203125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2584.509033203125,\r
-        "y": 1617.4259033203125,\r
+        "x": 2866.509033203125,\r
+        "y": 1638.4259033203125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 2733.571533203125,\r
-        "y": 1516.28564453125,\r
+        "x": 3015.571533203125,\r
+        "y": 1537.28564453125,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 2723.509033203125,\r
-        "y": 1566.4259033203125,\r
+        "x": 3005.509033203125,\r
+        "y": 1587.4259033203125,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3397.66650390625,\r
-        "y": 973,\r
+        "x": 3679.66650390625,\r
+        "y": 994,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3225,\r
-        "y": 974,\r
+        "x": 3507,\r
+        "y": 995,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3234.490966796875,\r
-        "y": 1016.5740356445312,\r
+        "x": 3516.490966796875,\r
+        "y": 1037.5740356445312,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3223,\r
-        "y": 1063,\r
+        "x": 3505,\r
+        "y": 1084,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 3388.0623779296875,\r
-        "y": 1019.8597717285156,\r
+        "x": 3670.0623779296875,\r
+        "y": 1040.8597717285156,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 3392,\r
-        "y": 1064,\r
+        "x": 3674,\r
+        "y": 1085,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2745,\r
-        "y": 931,\r
+        "x": 3027,\r
+        "y": 952,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2735,\r
-        "y": 1618.9998779296875,\r
+        "x": 3017,\r
+        "y": 1639.9998779296875,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3365.66650390625,\r
-        "y": 1809,\r
+        "x": 3647.66650390625,\r
+        "y": 1830,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3193,\r
-        "y": 1810,\r
+        "x": 3475,\r
+        "y": 1831,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3202.490966796875,\r
-        "y": 1852.5740356445312,\r
+        "x": 3484.490966796875,\r
+        "y": 1873.5740356445312,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3191,\r
-        "y": 1899,\r
+        "x": 3473,\r
+        "y": 1920,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 3356.0623779296875,\r
-        "y": 1855.8597717285156,\r
+        "x": 3638.0623779296875,\r
+        "y": 1876.8597717285156,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 3360,\r
-        "y": 1900,\r
+        "x": 3642,\r
+        "y": 1921,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 3662,\r
-        "y": 957,\r
+        "x": 3944,\r
+        "y": 978,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3885,\r
-        "y": 912,\r
+        "x": 4167,\r
+        "y": 933,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3887,\r
-        "y": 976,\r
+        "x": 4169,\r
+        "y": 997,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 4220,\r
-        "y": 870,\r
+        "x": 4502,\r
+        "y": 888,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 4049,\r
-        "y": 972,\r
+        "x": 4331,\r
+        "y": 993,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4050,\r
-        "y": 909,\r
+        "x": 4332,\r
+        "y": 930,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 4221,\r
-        "y": 975,\r
+        "x": 4503,\r
+        "y": 996,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 4222,\r
-        "y": 924,\r
+        "x": 4504,\r
+        "y": 945,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\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": 3664,\r
-        "y": 1116,\r
+        "x": 3946,\r
+        "y": 1137,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\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": 3709,\r
-        "y": 1026,\r
+        "x": 3991,\r
+        "y": 1047,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "name": "TODO: FIXME",\r
         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
         "comments": "",\r
-        "x": 3598,\r
-        "y": 1067,\r
+        "x": 3880,\r
+        "y": 1088,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 3652,\r
-        "y": 1813.0001220703125,\r
+        "x": 3934,\r
+        "y": 1834.0001220703125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3875,\r
-        "y": 1768.0001220703125,\r
+        "x": 4157,\r
+        "y": 1789.0001220703125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3877,\r
-        "y": 1832.0001220703125,\r
+        "x": 4159,\r
+        "y": 1853.0001220703125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 4210,\r
-        "y": 1726.0001220703125,\r
+        "x": 4492,\r
+        "y": 1747.0001220703125,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 4036,\r
-        "y": 1851.0001220703125,\r
+        "x": 4318,\r
+        "y": 1872.0001220703125,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4040,\r
-        "y": 1765.0001220703125,\r
+        "x": 4322,\r
+        "y": 1786.0001220703125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 4211,\r
-        "y": 1831.0001220703125,\r
+        "x": 4493,\r
+        "y": 1852.0001220703125,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 4206,\r
-        "y": 1780.0001220703125,\r
+        "x": 4488,\r
+        "y": 1801.0001220703125,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\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": 3654,\r
-        "y": 1972.0001220703125,\r
+        "x": 3936,\r
+        "y": 1993.0001220703125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\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": 3699,\r
-        "y": 1882.0001220703125,\r
+        "x": 3981,\r
+        "y": 1903.0001220703125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "name": "TODO: FIXME",\r
         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
         "comments": "",\r
-        "x": 3588,\r
-        "y": 1920.0001220703125,\r
+        "x": 3870,\r
+        "y": 1941.0001220703125,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2563,\r
-        "y": 2047,\r
+        "x": 2845,\r
+        "y": 2068,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "name": "set attachment_param",\r
         "xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n\n<!--<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />-->\n",\r
         "comments": "",\r
-        "x": 2357,\r
-        "y": 1987,\r
+        "x": 2639,\r
+        "y": 1969,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "name": "TODO: FIXME",\r
         "info": "put proper values for src topology-id, node-id, ltp-id, etc (in domain A)\nand dst topology-id, node-id, ltp-id, etc (in domain B)",\r
         "comments": "",\r
-        "x": 2331,\r
-        "y": 1940,\r
+        "x": 2613,\r
+        "y": 1922,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "id": "7ca2c5af.473d34",\r
         "type": "save",\r
         "name": "save vpn-binding A resource (aka. OTN domainA) in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='access-provider-id' value='`$domain-A.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-A.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-A.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<!--<parameter name='src-access-ltp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='src-access-ltp-id' value='' />\n<parameter name='dst-access-node-id' value='`$domain-A.node-id`' />\n<parameter name='dst-access-ltp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\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\n",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<parameter name='access-provider-id' value='`$domain-A.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-A.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-A.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<!--<parameter name='src-access-ltp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='src-access-ltp-id' value='' />\n<parameter name='dst-access-node-id' value='`$domain-A.node-id`' />\n<parameter name='dst-access-ltp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\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\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2439,\r
-        "y": 2206,\r
+        "x": 2721,\r
+        "y": 2227,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' \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": 2442.5,\r
-        "y": 2276,\r
+        "x": 2724.5,\r
+        "y": 2297,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3090.5,\r
-        "y": 2195,\r
+        "x": 3372.5,\r
+        "y": 2216,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3092.5,\r
-        "y": 2234,\r
+        "x": 3374.5,\r
+        "y": 2255,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\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": 3792,\r
-        "y": 1164,\r
+        "x": 4074,\r
+        "y": 1185,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\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": 3781,\r
-        "y": 2037.0001220703125,\r
+        "x": 4063,\r
+        "y": 2058.0001220703125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2739,\r
-        "y": 2213,\r
+        "x": 3021,\r
+        "y": 2234,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2879.500244140625,\r
-        "y": 2214.25390625,\r
+        "x": 3161.500244140625,\r
+        "y": 2235.25390625,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "name": "TODO: FIXME: do we need this relationship?",\r
         "info": "",\r
         "comments": "",\r
-        "x": 3127,\r
-        "y": 2154,\r
+        "x": 3409,\r
+        "y": 2175,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "name": "TODO: FIXME: put proper values",\r
         "info": "",\r
         "comments": "",\r
-        "x": 2406,\r
-        "y": 2166,\r
+        "x": 2688,\r
+        "y": 2187,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "id": "b46ca414.99697",\r
         "type": "save",\r
         "name": "save vpn-binding B resource (aka. OTN domainB) in AAI",\r
-        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='access-provider-id' value='`$domain-B.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-B.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-B.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$domain-B.node-id`' />\n<parameter name='src-access-ltp-id' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='dst-access-ltp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-access-ltp-id' value='' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\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\n",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<parameter name='access-provider-id' value='`$domain-B.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-B.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-B.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$domain-B.node-id`' />\n<parameter name='src-access-ltp-id' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='dst-access-ltp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-access-ltp-id' value='' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\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\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2442,\r
-        "y": 2494,\r
+        "x": 2724,\r
+        "y": 2515,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "name": "TODO: FIXME: do we need this relationship?",\r
         "info": "",\r
         "comments": "",\r
-        "x": 3130,\r
-        "y": 2434,\r
+        "x": 3412,\r
+        "y": 2455,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3093.5,\r
-        "y": 2475,\r
+        "x": 3375.5,\r
+        "y": 2496,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3095.5,\r
-        "y": 2514,\r
+        "x": 3377.5,\r
+        "y": 2535,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2882.500244140625,\r
-        "y": 2494.25390625,\r
+        "x": 3164.500244140625,\r
+        "y": 2515.25390625,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2742,\r
-        "y": 2493,\r
+        "x": 3024,\r
+        "y": 2514,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "name": "TODO: FIXME: put proper values",\r
         "info": "",\r
         "comments": "",\r
-        "x": 2422,\r
-        "y": 2454,\r
+        "x": 2704,\r
+        "y": 2475,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' \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": 2440.5,\r
-        "y": 2534,\r
+        "x": 2722.5,\r
+        "y": 2555,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "name": "TODO: FIXME:",\r
         "info": "set attachment param and send request to NCE-T\nfor bandwidth matrix\nmay require a new template for JSON body",\r
         "comments": "",\r
-        "x": 2314,\r
-        "y": 2617,\r
+        "x": 2596,\r
+        "y": 2638,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "id": "fc2a7bf0.e878b",\r
         "type": "set",\r
         "name": "set attachment_param domain A",\r
-        "xml": "<set>\n<parameter name='request-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='otn-source-node' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='otn-dest-node' value='`$domain-A.node-id`' />\n<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />\n<!--<parameter name='src-ttp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='dst-ttp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
+        "xml": "<set>\n<!--<parameter name='request-id' value='`$prop.vpn-binding-domainA-uuid`' />-->\n<!--<parameter name='otn-source-node' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='otn-dest-node' value='`$domain-A.node-id`' />-->\n<!--<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='dst-ttp-id' value='`$domain-A.tunnel-tp-id`' />-->\n<!--<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n\n\n\n<parameter name='`otn-tunnel-sliceA-list[$idx].request-id`' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].otn-source-node`' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].otn-dest-node`' value='`$domain-A.node-id`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-sliceA-list[$idx].src-ttp-id`' value='' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].dst-ttp-id`' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-sliceA-list_length`' value='`$idx + 1`' />\n\n<!--otn-tunnel-slice-list[$idx]-->\n\n",\r
         "comments": "",\r
-        "x": 2379,\r
-        "y": 2662,\r
+        "x": 2661,\r
+        "y": 2683,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 4836,\r
-        "y": 684,\r
+        "x": 5118,\r
+        "y": 705,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2389,\r
-        "y": 340,\r
+        "x": 2671,\r
+        "y": 361,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='logical-link'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1319.0001220703125,\r
-        "y": 757.0001220703125,\r
+        "x": 1601.0001220703125,\r
+        "y": 778.0001220703125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2057,\r
-        "y": 463,\r
+        "x": 2339,\r
+        "y": 484,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='false'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2367,\r
-        "y": 470,\r
+        "x": 2649,\r
+        "y": 491,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "xml": "<outcome value='true'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2366,\r
-        "y": 524,\r
+        "x": 2648,\r
+        "y": 545,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
     {\r
         "id": "badc6972.d68008",\r
         "type": "set",\r
-        "name": "set the 1st logical-link-name",\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": 1739,\r
-        "y": 707,\r
+        "x": 2021,\r
+        "y": 728,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 1496,\r
-        "y": 750,\r
+        "x": 1778,\r
+        "y": 771,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 2925,\r
-        "y": 936,\r
+        "x": 3207,\r
+        "y": 957,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 2968,\r
-        "y": 1001,\r
+        "x": 3250,\r
+        "y": 1022,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 2965,\r
-        "y": 1845,\r
+        "x": 3247,\r
+        "y": 1866,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 2926,\r
-        "y": 1789,\r
+        "x": 3208,\r
+        "y": 1810,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 2682,\r
-        "y": 287,\r
+        "x": 2964,\r
+        "y": 308,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2955.490966796875,\r
-        "y": 179.573974609375,\r
+        "x": 3237.490966796875,\r
+        "y": 200.573974609375,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 3133.0625,\r
-        "y": 179.8597412109375,\r
+        "x": 3415.0625,\r
+        "y": 200.8597412109375,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2951,\r
-        "y": 229,\r
+        "x": 3233,\r
+        "y": 250,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 3133,\r
-        "y": 229,\r
+        "x": 3415,\r
+        "y": 250,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2955,\r
-        "y": 280,\r
+        "x": 3237,\r
+        "y": 301,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3135,\r
-        "y": 280,\r
+        "x": 3417,\r
+        "y": 301,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2626,\r
-        "y": 504,\r
+        "x": 2908,\r
+        "y": 525,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2906,\r
-        "y": 504,\r
+        "x": 3188,\r
+        "y": 525,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='network-policy'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3111,\r
-        "y": 478,\r
+        "x": 3393,\r
+        "y": 499,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3287.9998779296875,\r
-        "y": 470.9998779296875,\r
+        "x": 3569.9998779296875,\r
+        "y": 491.9998779296875,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 3530.9998779296875,\r
-        "y": 427.9998779296875,\r
+        "x": 3812.9998779296875,\r
+        "y": 448.9998779296875,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 3519.9998779296875,\r
-        "y": 482.9998779296875,\r
+        "x": 3801.9998779296875,\r
+        "y": 503.9998779296875,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3773,\r
-        "y": 369,\r
+        "x": 4055,\r
+        "y": 390,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 3921.571533203125,\r
-        "y": 369.2857666015625,\r
+        "x": 4203.571533203125,\r
+        "y": 390.2857666015625,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 3920.509033203125,\r
-        "y": 413.426025390625,\r
+        "x": 4202.509033203125,\r
+        "y": 434.426025390625,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3761.509033203125,\r
-        "y": 413.426025390625,\r
+        "x": 4043.509033203125,\r
+        "y": 434.426025390625,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3768.509033203125,\r
-        "y": 492.426025390625,\r
+        "x": 4050.509033203125,\r
+        "y": 513.426025390625,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3907.509033203125,\r
-        "y": 492.426025390625,\r
+        "x": 4189.509033203125,\r
+        "y": 513.426025390625,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 4113,\r
-        "y": 490,\r
+        "x": 4395,\r
+        "y": 511,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 2969,\r
-        "y": 671,\r
+        "x": 3251,\r
+        "y": 692,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3192,\r
-        "y": 657,\r
+        "x": 3474,\r
+        "y": 678,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3194,\r
-        "y": 690,\r
+        "x": 3476,\r
+        "y": 711,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 3337,\r
-        "y": 687,\r
+        "x": 3619,\r
+        "y": 708,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3340,\r
-        "y": 650,\r
+        "x": 3622,\r
+        "y": 671,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 3502,\r
-        "y": 645,\r
+        "x": 3784,\r
+        "y": 666,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 2983,\r
-        "y": 1507.9998779296875,\r
+        "x": 3265,\r
+        "y": 1528.9998779296875,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3206,\r
-        "y": 1493.9998779296875,\r
+        "x": 3488,\r
+        "y": 1514.9998779296875,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3208,\r
-        "y": 1526.9998779296875,\r
+        "x": 3490,\r
+        "y": 1547.9998779296875,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 3351,\r
-        "y": 1523.9998779296875,\r
+        "x": 3633,\r
+        "y": 1544.9998779296875,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 3354,\r
-        "y": 1486.9998779296875,\r
+        "x": 3636,\r
+        "y": 1507.9998779296875,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 3548,\r
-        "y": 1490,\r
+        "x": 3830,\r
+        "y": 1511,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainA-uuid\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2445,\r
-        "y": 2128,\r
+        "x": 2727,\r
+        "y": 2149,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainB-uuid\"/>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2443,\r
-        "y": 2416,\r
+        "x": 2725,\r
+        "y": 2437,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\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": 3616,\r
-        "y": 1241,\r
+        "x": 3898,\r
+        "y": 1262,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 3822,\r
-        "y": 1241,\r
+        "x": 4104,\r
+        "y": 1262,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='tunnel-termination-point'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4037.28564453125,\r
-        "y": 1240.82177734375,\r
+        "x": 4319.28564453125,\r
+        "y": 1261.82177734375,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4244.1171875,\r
-        "y": 1241.34033203125,\r
+        "x": 4526.1171875,\r
+        "y": 1262.34033203125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 4459.1171875,\r
-        "y": 1203.34033203125,\r
+        "x": 4741.1171875,\r
+        "y": 1224.34033203125,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 4456.1171875,\r
-        "y": 1242.34033203125,\r
+        "x": 4738.1171875,\r
+        "y": 1263.34033203125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 4411.6171875,\r
-        "y": 1284.34033203125,\r
+        "x": 4693.6171875,\r
+        "y": 1305.34033203125,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4636.6171875,\r
-        "y": 1241.34033203125,\r
+        "x": 4918.6171875,\r
+        "y": 1262.34033203125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4794.6171875,\r
-        "y": 1241.34033203125,\r
+        "x": 5076.6171875,\r
+        "y": 1262.34033203125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 5001.6171875,\r
-        "y": 1241.34033203125,\r
+        "x": 5283.6171875,\r
+        "y": 1262.34033203125,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 3613,\r
-        "y": 2110.0001220703125,\r
+        "x": 3895,\r
+        "y": 2131.0001220703125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 3819,\r
-        "y": 2110.0001220703125,\r
+        "x": 4101,\r
+        "y": 2131.0001220703125,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='tunnel-termination-point'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4034.28564453125,\r
-        "y": 2109.8218994140625,\r
+        "x": 4316.28564453125,\r
+        "y": 2130.8218994140625,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4241.1171875,\r
-        "y": 2110.3404541015625,\r
+        "x": 4523.1171875,\r
+        "y": 2131.3404541015625,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 4456.1171875,\r
-        "y": 2072.3404541015625,\r
+        "x": 4738.1171875,\r
+        "y": 2093.3404541015625,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 4453.1171875,\r
-        "y": 2111.3404541015625,\r
+        "x": 4735.1171875,\r
+        "y": 2132.3404541015625,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "name": "break",\r
         "xml": "<break>\n",\r
         "comments": "",\r
-        "x": 4408.6171875,\r
-        "y": 2153.3404541015625,\r
+        "x": 4690.6171875,\r
+        "y": 2174.3404541015625,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4633.6171875,\r
-        "y": 2110.3404541015625,\r
+        "x": 4915.6171875,\r
+        "y": 2131.3404541015625,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4791.6171875,\r
-        "y": 2110.3404541015625,\r
+        "x": 5073.6171875,\r
+        "y": 2131.3404541015625,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 4998.6171875,\r
-        "y": 2110.3404541015625,\r
+        "x": 5280.6171875,\r
+        "y": 2131.3404541015625,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "id": "84749d0f.3038c8",\r
         "type": "set",\r
         "name": "set attachment_param domain B",\r
-        "xml": "<set>\n<parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='otn-source-node' value='`$domain-B.node-id`' />\n<parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='bw-odu' value='`$maximum-bandwidth /10`' />-->\n<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />\n<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />\n<!--<parameter name='dst-ttp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-ttp-id' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
+        "xml": "<set>\n<!--<parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />-->\n<!--<parameter name='otn-source-node' value='`$domain-B.node-id`' />-->\n<!--<parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />-->\n<!--<parameter name='dst-ttp-id' value='' />-->\n<!--<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n\n\n<parameter name='`otn-tunnel-sliceB-list[$idx].request-id`' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].otn-source-node`' value='`$domain-B.node-id`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].otn-dest-node`' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-sliceB-list[$idx].src-ttp-id`' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].dst-ttp-id`' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-sliceB-list_length`' value='`$idx + 1`' />\n",\r
         "comments": "",\r
-        "x": 2374,\r
-        "y": 3037,\r
+        "x": 2656,\r
+        "y": 3058,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 3529,\r
-        "y": 717,\r
+        "x": 3811,\r
+        "y": 738,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3724.5001220703125,\r
-        "y": 669,\r
+        "x": 4006.5001220703125,\r
+        "y": 690,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3716.5001220703125,\r
-        "y": 724,\r
+        "x": 3998.5001220703125,\r
+        "y": 745,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3721.5001220703125,\r
-        "y": 781,\r
+        "x": 4003.5001220703125,\r
+        "y": 802,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 3873.5001220703125,\r
-        "y": 782,\r
+        "x": 4155.5001220703125,\r
+        "y": 803,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 3884.5001220703125,\r
-        "y": 727,\r
+        "x": 4166.5001220703125,\r
+        "y": 748,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3868.8824462890625,\r
-        "y": 666.6556701660156,\r
+        "x": 4150.8824462890625,\r
+        "y": 687.6556701660156,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4451,\r
-        "y": 685,\r
+        "x": 4733,\r
+        "y": 706,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4628,\r
-        "y": 677,\r
+        "x": 4910,\r
+        "y": 698,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 4053,\r
-        "y": 681,\r
+        "x": 4335,\r
+        "y": 702,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4248,\r
-        "y": 681,\r
+        "x": 4530,\r
+        "y": 702,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 4866,\r
-        "y": 632,\r
+        "x": 5148,\r
+        "y": 653,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5046,\r
-        "y": 675,\r
+        "x": 5328,\r
+        "y": 696,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5038,\r
-        "y": 730,\r
+        "x": 5320,\r
+        "y": 751,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5043,\r
-        "y": 787,\r
+        "x": 5325,\r
+        "y": 808,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 5195,\r
-        "y": 788,\r
+        "x": 5477,\r
+        "y": 809,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 5206,\r
-        "y": 733,\r
+        "x": 5488,\r
+        "y": 754,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5190.38232421875,\r
-        "y": 672.6556701660156,\r
+        "x": 5472.38232421875,\r
+        "y": 693.6556701660156,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 5405,\r
-        "y": 669,\r
+        "x": 5687,\r
+        "y": 690,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 3570,\r
-        "y": 1558,\r
+        "x": 3852,\r
+        "y": 1579,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3765.5001220703125,\r
-        "y": 1510,\r
+        "x": 4047.5001220703125,\r
+        "y": 1531,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3757.5001220703125,\r
-        "y": 1565,\r
+        "x": 4039.5001220703125,\r
+        "y": 1586,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3762.5001220703125,\r
-        "y": 1622,\r
+        "x": 4044.5001220703125,\r
+        "y": 1643,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 3914.5001220703125,\r
-        "y": 1623,\r
+        "x": 4196.5001220703125,\r
+        "y": 1644,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 3925.5001220703125,\r
-        "y": 1568,\r
+        "x": 4207.5001220703125,\r
+        "y": 1589,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3909.8824462890625,\r
-        "y": 1507.6556701660156,\r
+        "x": 4191.8824462890625,\r
+        "y": 1528.6556701660156,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4492,\r
-        "y": 1526,\r
+        "x": 4774,\r
+        "y": 1547,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4669,\r
-        "y": 1518,\r
+        "x": 4951,\r
+        "y": 1539,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 4094,\r
-        "y": 1522,\r
+        "x": 4376,\r
+        "y": 1543,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4289,\r
-        "y": 1522,\r
+        "x": 4571,\r
+        "y": 1543,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 4877,\r
-        "y": 1525,\r
+        "x": 5159,\r
+        "y": 1546,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 4907,\r
-        "y": 1473,\r
+        "x": 5189,\r
+        "y": 1494,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5087,\r
-        "y": 1516,\r
+        "x": 5369,\r
+        "y": 1537,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5079,\r
-        "y": 1571,\r
+        "x": 5361,\r
+        "y": 1592,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5084,\r
-        "y": 1628,\r
+        "x": 5366,\r
+        "y": 1649,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 5236,\r
-        "y": 1629,\r
+        "x": 5518,\r
+        "y": 1650,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 5247,\r
-        "y": 1574,\r
+        "x": 5529,\r
+        "y": 1595,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 5231.38232421875,\r
-        "y": 1513.6556701660156,\r
+        "x": 5513.38232421875,\r
+        "y": 1534.6556701660156,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 5446,\r
-        "y": 1510,\r
+        "x": 5728,\r
+        "y": 1531,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "id": "a5814717.4b953",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode slice creation domainA",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceA-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2425,\r
-        "y": 2720,\r
+        "x": 1959,\r
+        "y": 2744,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2691,\r
-        "y": 2700,\r
+        "x": 2242,\r
+        "y": 2724,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2692.000213623047,\r
-        "y": 2750.99990940094,\r
+        "x": 2243.000213623047,\r
+        "y": 2774.99990940094,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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=\"Error executing slice creation api for domain A\" />\n",\r
         "comments": "",\r
-        "x": 2831.0002479553223,\r
-        "y": 2700.0000009536743,\r
+        "x": 2382.0002479553223,\r
+        "y": 2724.0000009536743,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2837.02725982666,\r
-        "y": 2748.745394706726,\r
+        "x": 2388.02725982666,\r
+        "y": 2772.745394706726,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "id": "39b144a2.fc3a7c",\r
         "type": "execute",\r
         "name": "execute RestApiCallNode slice creation domainB",\r
-        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceB-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2425,\r
-        "y": 3092,\r
+        "x": 1959,\r
+        "y": 3110,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2691,\r
-        "y": 3072,\r
+        "x": 2233,\r
+        "y": 3090,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2692.000213623047,\r
-        "y": 3122.99990940094,\r
+        "x": 2234.000213623047,\r
+        "y": 3140.99990940094,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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=\"Error executing slice creation api for domain B\" />\n",\r
         "comments": "",\r
-        "x": 2831.0002479553223,\r
-        "y": 3072.0000009536743,\r
+        "x": 2373.0002479553223,\r
+        "y": 3090.0000009536743,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2837.02725982666,\r
-        "y": 3120.745394706726,\r
+        "x": 2379.02725982666,\r
+        "y": 3138.745394706726,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 2530,\r
-        "y": 450,\r
+        "x": 2812,\r
+        "y": 471,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2811,\r
-        "y": 406,\r
+        "x": 3093,\r
+        "y": 427,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 3073,\r
-        "y": 406,\r
+        "x": 3355,\r
+        "y": 427,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='network-resource'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4454,\r
-        "y": 759,\r
+        "x": 4736,\r
+        "y": 780,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4631,\r
-        "y": 751,\r
+        "x": 4913,\r
+        "y": 772,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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": 4866,\r
-        "y": 875,\r
+        "x": 5148,\r
+        "y": 896,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 4906,\r
-        "y": 1715,\r
+        "x": 5188,\r
+        "y": 1736,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 4671,\r
-        "y": 1591,\r
+        "x": 4953,\r
+        "y": 1612,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='network-resource'>",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 4494,\r
-        "y": 1599,\r
+        "x": 4776,\r
+        "y": 1620,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2427,\r
-        "y": 2853,\r
+        "x": 2721,\r
+        "y": 2870,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2693,\r
-        "y": 2833,\r
+        "x": 2987,\r
+        "y": 2850,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2694.000213623047,\r
-        "y": 2883.99990940094,\r
+        "x": 2988.000213623047,\r
+        "y": 2900.99990940094,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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=\"Error executing UNI Coloring for domain A\" />\n",\r
         "comments": "",\r
-        "x": 2833.0002479553223,\r
-        "y": 2833.0000009536743,\r
+        "x": 3127.0002479553223,\r
+        "y": 2850.0000009536743,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2839.02725982666,\r
-        "y": 2881.745394706726,\r
+        "x": 3133.02725982666,\r
+        "y": 2898.745394706726,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\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<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2427,\r
-        "y": 3219,\r
+        "x": 2721,\r
+        "y": 3236,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2693,\r
-        "y": 3199,\r
+        "x": 2987,\r
+        "y": 3216,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\r
         "xml": "<outcome value='success'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2694.000213623047,\r
-        "y": 3249.99990940094,\r
+        "x": 2988.000213623047,\r
+        "y": 3266.99990940094,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             [\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=\"Error executing UNI coloring for domain B\" />\n",\r
         "comments": "",\r
-        "x": 2833.0002479553223,\r
-        "y": 3199.0000009536743,\r
+        "x": 3127.0002479553223,\r
+        "y": 3216.0000009536743,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 2839.02725982666,\r
-        "y": 3247.745394706726,\r
+        "x": 3133.02725982666,\r
+        "y": 3264.745394706726,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\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": 4112,\r
-        "y": 536,\r
+        "x": 4394,\r
+        "y": 557,\r
         "z": "4d37a11.42c136",\r
         "wires": []\r
     },\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": 2468,\r
-        "y": 730,\r
+        "x": 2750,\r
+        "y": 691,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\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": 2448,\r
-        "y": 770,\r
+        "x": 2731,\r
+        "y": 741,\r
         "z": "4d37a11.42c136",\r
         "wires": [\r
             []\r
         ]\r
+    },\r
+    {\r
+        "id": "23c06925.0d2eb6",\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": 1988,\r
+        "y": 243,\r
+        "z": "4d37a11.42c136",\r
+        "wires": [\r
+            [\r
+                "f805b6b.c60f548",\r
+                "78e29884.225c08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f805b6b.c60f548",\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": 2272,\r
+        "y": 213,\r
+        "z": "4d37a11.42c136",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e927f664.5c872",\r
+        "type": "set",\r
+        "name": "set query_param",\r
+        "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
+        "comments": "",\r
+        "x": 2628,\r
+        "y": 2021,\r
+        "z": "4d37a11.42c136",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "29397b6c.248454",\r
+        "type": "set",\r
+        "name": "unset parameters",\r
+        "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",\r
+        "comments": "",\r
+        "x": 2618,\r
+        "y": 3327,\r
+        "z": "4d37a11.42c136",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "488403ee.0379ac",\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\n\n",\r
+        "comments": "",\r
+        "x": 2688,\r
+        "y": 786,\r
+        "z": "4d37a11.42c136",\r
+        "wires": []\r
     }\r
 ]
\ No newline at end of file