Changing the DG param to use "_"
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sotn / GENERIC-RESOURCE-API_sotn-attachment-topology-operation-activate.json
index 6decb2f..c52930d 100644 (file)
 [\r
-  {\r
-    "id": "8d664378.cbb4f",\r
-    "type": "dgstart",\r
-    "name": "DGSTART",\r
-    "outputs": 1,\r
-    "x": 118.03125,\r
-    "y": 76.99999761581421,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "99e747dc.b38c98"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "99e747dc.b38c98",\r
-    "type": "service-logic",\r
-    "name": "GENERIC-RESOURCE-API ${project.version}",\r
-    "module": "GENERIC-RESOURCE-API",\r
-    "version": "${project.version}",\r
-    "comments": "",\r
-    "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
-    "outputs": 1,\r
-    "x": 330.03125381469727,\r
-    "y": 149.0000147819519,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "677572d7.6cd7ac"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "677572d7.6cd7ac",\r
-    "type": "method",\r
-    "name": "sotn-attachment-topology-operation-activate",\r
-    "xml": "<method rpc='sotn-attachment-topology-operation-activate' mode='sync'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 318.0313720703125,\r
-    "y": 236.9999976158142,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "10091edb.6afce1"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "10091edb.6afce1",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 334.0313720703125,\r
-    "y": 792.0002422332764,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "d8983068.d1e09",\r
-        "b09c24ef.ef1828",\r
-        "ab6f9b8e.89d568",\r
-        "2e23abdc.47fd94",\r
-        "9144dc70.a7ea8",\r
-        "4e152126.794ef",\r
-        "f5e8e1c8.46298",\r
-        "e64a37c7.f66948",\r
-        "c941958.f53f068",\r
-        "4e69710c.777f7",\r
-        "7b1a01af.62e07",\r
-        "8f0a4580.6d9e98",\r
-        "e420c4c5.b6aac8",\r
-        "9257aeaa.1b50e",\r
-        "31063248.d169de",\r
-        "f27d2f2b.5f557",\r
-        "e5693b1c.1aac88",\r
-        "625b8a7b.c27e14",\r
-        "8bb4a5cf.68ff78",\r
-        "b625537f.a1fdd"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "d8983068.d1e09",\r
-    "type": "set",\r
-    "name": "set tmp.ar.allotted-resource-id,etc",\r
-    "xml": "<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n<parameter name='tmp.ar.parent-service-instance-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />\n\n\n",\r
-    "comments": "",\r
-    "x": 731.0248107910156,\r
-    "y": 190.9934844970703,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "5f587b8.9c56784",\r
-    "type": "comment",\r
-    "name": "set tmp ar-id to fetch resource from MDSAL",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 759.9851226806641,\r
-    "y": 155.02528047561646,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "b09c24ef.ef1828",\r
-    "type": "set",\r
-    "name": "set tmp.ar.self-link",\r
-    "xml": "<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:connection-attachment-allotted-resources/connection-attachment-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/connection-attachment-topology/'` \" />\n\n",\r
-    "comments": "",\r
-    "x": 685.0247497558594,\r
-    "y": 283.99348974227905,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "9144dc70.a7ea8",\r
-    "type": "execute",\r
-    "name": "execute Properties",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 691.2866401672363,\r
-    "y": 371.6602187156677,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "ab6f9b8e.89d568",\r
-    "type": "execute",\r
-    "name": "generate allotted-resource tmp.ar-url",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 738.2866973876953,\r
-    "y": 459.660222530365,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "bdc75564.630b58",\r
-    "type": "comment",\r
-    "name": "GET connection-attachment-allotted-resource from mdsal",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 784.8396301269531,\r
-    "y": 590.5386567115784,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "79296d26.4fef24",\r
-    "type": "comment",\r
-    "name": "Used for setting output to API Handler",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 739.0247802734375,\r
-    "y": 250.99349927902222,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "b691a7f5.2ca838",\r
-    "type": "comment",\r
-    "name": "Obtain different URL, template location etc",\r
-    "info": "For saving resource information to MDSAL & for AAI",\r
-    "comments": "",\r
-    "x": 757.0247459411621,\r
-    "y": 336.8823800086975,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "ea7f6398.951af",\r
-    "type": "comment",\r
-    "name": "Used to Get AR by id to MDSAL, same as self-link",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 783.0247650146484,\r
-    "y": 423.8823390007019,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "bf04a12d.5ab3a",\r
-    "type": "success",\r
-    "name": "success",\r
-    "xml": "<outcome value='success'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1244.6980419158936,\r
-    "y": 607.9999823570251,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "e36a35e0.a85518"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "e36a35e0.a85518",\r
-    "type": "block",\r
-    "name": "block: atomic",\r
-    "xml": "<block atomic=\"true\">\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1388.6981201171875,\r
-    "y": 565.4999003410339,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "1bc51818.822678"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "1bc51818.822678",\r
-    "type": "switchNode",\r
-    "name": "switch cr length",\r
-    "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1557.5555438995361,\r
-    "y": 563.1190714836121,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "c5872f2b.0b178",\r
-        "aded6823.7e7e38"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "c5872f2b.0b178",\r
-    "type": "other",\r
-    "name": "outcome 1",\r
-    "xml": "<outcome value='1'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1712.8886795043945,\r
-    "y": 535.1189866065979,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "79a53162.640b2"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "79a53162.640b2",\r
-    "type": "block",\r
-    "name": "block: atomic",\r
-    "xml": "<block atomic='true'>\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1871.412483215332,\r
-    "y": 533.0238337516785,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "9be5dc3a.28978",\r
-        "5722f7fa.de6bf8",\r
-        "f5d4df71.72bd9"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "e3ccef9e.d8f5c",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: Connection attachment resource not exist\" />\n    \n",\r
-    "comments": "",\r
-    "x": 1811.5504150390625,\r
-    "y": 640.0660681724548,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "5803dc5e.f9b2f4",\r
-    "type": "other",\r
-    "name": "other",\r
-    "xml": "<outcome value='Other'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1236.5498447418213,\r
-    "y": 643.0660672187805,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "19f8e68c.c0f139"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "19f8e68c.c0f139",\r
-    "type": "block",\r
-    "name": "block: atomic",\r
-    "xml": "<block atomic=\"true\">\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1416.5497951507568,\r
-    "y": 643.732617855072,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "e3ccef9e.d8f5c"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "aded6823.7e7e38",\r
-    "type": "other",\r
-    "name": "other",\r
-    "xml": "<outcome value='Other'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1704.216682434082,\r
-    "y": 594.3993611335754,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "e3ccef9e.d8f5c"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "9be5dc3a.28978",\r
-    "type": "set",\r
-    "name": "set connection-attachment-ar from get",\r
-    "xml": "<set>\n<parameter name='connection-attachment-ar.' value='$mdsal-ar.connection-attachment-allotted-resource[0].' />\n",\r
-    "comments": "",\r
-    "x": 2118.4759368896484,\r
-    "y": 506.0000858306885,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "f5d4df71.72bd9",\r
-    "type": "set",\r
-    "name": "set oper-status",\r
-    "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-ar.allotted-resource-status.rpc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id`' />\n\n",\r
-    "comments": "",\r
-    "x": 2052.4759674072266,\r
-    "y": 579.4285883903503,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "5722f7fa.de6bf8",\r
-    "type": "switchNode",\r
-    "name": "switch order-status",\r
-    "xml": "<switch test='`$connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2062.475746154785,\r
-    "y": 545.0000224113464,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "f7f47d29.7c18f",\r
-        "6f0c573a.005228",\r
-        "d906524b.eeb18"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "f7f47d29.7c18f",\r
-    "type": "outcome",\r
-    "name": "outcome Created",\r
-    "xml": "<outcome value='Created'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2298.075828552246,\r
-    "y": 539.0000534057617,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "75eaa69a.304108"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "6f0c573a.005228",\r
-    "type": "outcome",\r
-    "name": "outcome Other",\r
-    "xml": "<outcome value='Other'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2291.790328979492,\r
-    "y": 619.4286880493164,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "e10d29a3.c09e38"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "75eaa69a.304108",\r
-    "type": "block",\r
-    "name": "block",\r
-    "xml": "<block>\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2456.546501159668,\r
-    "y": 539.3757090568542,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "e10d29a3.c09e38",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" \n    value=\"`'Existing connection-attachment-allotted-resource with order status of ' + $connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status + '.'`\" />\n",\r
-    "comments": "",\r
-    "x": 2467.698143005371,\r
-    "y": 618.0000872612,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "bc697557.abf938",\r
-    "type": "call",\r
-    "name": "call GENERIC-RESOURCE-API:sotn-get-saved-ar-param",\r
-    "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' >\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 955.334300994873,\r
-    "y": 690.4936022758484,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "4e152126.794ef",\r
-    "type": "block",\r
-    "name": "block: atomic",\r
-    "xml": "<block atomic=\"true\">\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 649.3404006958008,\r
-    "y": 691.499972820282,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "bc697557.abf938"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "1f3fc1a6.135f3e",\r
-    "type": "comment",\r
-    "name": "GET parent-service-data from mdsal to check existence of other End point",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 837.03173828125,\r
-    "y": 736.531750202179,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "3cf6b4b1.6a71dc",\r
-    "type": "for",\r
-    "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",\r
-    "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1728.2164459228516,\r
-    "y": 889.0042276382446,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "3bbeaaa4.0cfa26"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "2e23abdc.47fd94",\r
-    "type": "switchNode",\r
-    "name": "switch mdsal-psd.service-data.provided-allotted-resources_length",\r
-    "xml": "<switch test='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 812.2154693603516,\r
-    "y": 996.7182641029358,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "6ff9a0ff.dcfb4",\r
-        "ff1c3916.739028",\r
-        "d0c138a.b8484c8"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "6ff9a0ff.dcfb4",\r
-    "type": "other",\r
-    "name": "other",\r
-    "xml": "<outcome value='Other'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1140.3584899902344,\r
-    "y": 1069.5755381584167,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "499e037f.3c991c"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "fb95619e.dd7a7",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">",\r
-    "atomic": "true",\r
-    "outputs": 1,\r
-    "x": 1324.485752105713,\r
-    "y": 928.7015471458435,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "3cf6b4b1.6a71dc",\r
-        "ec079e89.408ea"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "3bbeaaa4.0cfa26",\r
-    "type": "switchNode",\r
-    "name": "switch allotted-resource-id",\r
-    "xml": "<switch test=\"`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2168.3277740478516,\r
-    "y": 886.004029750824,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "3cfb776.1a6dc88",\r
-        "a6d574db.37ec88"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "3cfb776.1a6dc88",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2341.1379890441895,\r
-    "y": 857.468644618988,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "4685a336.4a051c"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "fb81e999.e435b8",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">",\r
-    "atomic": "true",\r
-    "outputs": 1,\r
-    "x": 2489.8984603881836,\r
-    "y": 914.325731754303,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "7ed4750e.b1d6fc"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "7ed4750e.b1d6fc",\r
-    "type": "set",\r
-    "name": "set tmp.pidx and ptx.consumed-ar",\r
-    "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.provided-ar.' value='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].`' />\n<parameter name='tmp.found-in-ar' value='true' />\n<parameter name='tmp.ep-available' value='true' />",\r
-    "comments": "",\r
-    "x": 2724.755886077881,\r
-    "y": 912.8972640037537,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "ee9aeb2c.6677a8",\r
-    "type": "comment",\r
-    "name": "Check existence of other AR in parent service data",\r
-    "info": "Check if other allotted resource is available.",\r
-    "comments": "",\r
-    "x": 759.9939079284668,\r
-    "y": 901.8929591178894,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "ff1c3916.739028",\r
-    "type": "other",\r
-    "name": "outcome 1",\r
-    "xml": "<outcome value='1'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1155.0109596252441,\r
-    "y": 1008.6772217750549,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "d35c3b1d.717fa8"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "499e037f.3c991c",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: End points not available\" />\n    \n",\r
-    "comments": "",\r
-    "x": 1300.0108375549316,\r
-    "y": 1068.6774668693542,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "d0c138a.b8484c8",\r
-    "type": "other",\r
-    "name": "outcome 2",\r
-    "xml": "<outcome value='2'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1150.0107727050781,\r
-    "y": 929.6772475242615,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "fb95619e.dd7a7"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "4685a336.4a051c",\r
-    "type": "block",\r
-    "name": "block",\r
-    "xml": "<block>\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2499.1222038269043,\r
-    "y": 856.677387714386,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "a6d574db.37ec88",\r
-    "type": "outcomeTrue",\r
-    "name": "false",\r
-    "xml": "<outcome value='false'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2348.1218452453613,\r
-    "y": 913.6772475242615,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "fb81e999.e435b8"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "ec079e89.408ea",\r
-    "type": "switchNode",\r
-    "name": "switch tmp.found-in-ar",\r
-    "xml": "<switch test='`$tmp.found-in-ar`'>\n\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1537.0107498168945,\r
-    "y": 982.4550652503967,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "ad2dc2ca.dac11"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "ad2dc2ca.dac11",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1708.01078414917,\r
-    "y": 983.5662865638733,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "94734e1b.67d7d"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "94734e1b.67d7d",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">",\r
-    "atomic": "true",\r
-    "outputs": 1,\r
-    "x": 1857.0108795166016,\r
-    "y": 983.566285610199,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "da051cb.7908ce",\r
-        "511eded7.ee48c"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "df822a12.2f4cb8",\r
-    "type": "success",\r
-    "name": "success",\r
-    "xml": "<outcome value='success'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2603.128704071045,\r
-    "y": 999.7951397895813,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "8bd33391.e91a4"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "6d247d3c.af7454",\r
-    "type": "other",\r
-    "name": "other",\r
-    "xml": "<outcome value='Other'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2594.9805068969727,\r
-    "y": 1034.8612246513367,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "c9893a00.c28658"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "92501bf7.64e188",\r
-    "type": "switchNode",\r
-    "name": "switch mdsal-psd.service-data.networks_length",\r
-    "xml": "<switch test='`$mdsal-psd.service-data.networks.network_length`'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1600.344253540039,\r
-    "y": 1083.89990568161,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "7eda2112.68c74",\r
-        "8c5ad16c.a0bce"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "8c5ad16c.a0bce",\r
-    "type": "other",\r
-    "name": "outcome 1",\r
-    "xml": "<outcome value='1'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1864.3441009521484,\r
-    "y": 1063.7886519432068,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "c88c0702.2f3eb8"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "7eda2112.68c74",\r
-    "type": "other",\r
-    "name": "other",\r
-    "xml": "<outcome value='Other'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1854.3441619873047,\r
-    "y": 1111.7886233329773,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "4b5ebe1.f906a4"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "4b5ebe1.f906a4",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: Incorrect state found more then 1 network\" />\n    \n",\r
-    "comments": "",\r
-    "x": 1992.9965057373047,\r
-    "y": 1113.890384197235,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "8c1e1bd2.c7dff8",\r
-    "type": "set",\r
-    "name": "set tmp.network.",\r
-    "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.service-data.networks.network[0].`' />\n\n\n",\r
-    "comments": "",\r
-    "x": 2225.788959503174,\r
-    "y": 1064.788821697235,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "d35c3b1d.717fa8",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">",\r
-    "atomic": "true",\r
-    "outputs": 1,\r
-    "x": 1322.4552688598633,\r
-    "y": 1007.7884888648987,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "92501bf7.64e188"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "c88c0702.2f3eb8",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">",\r
-    "atomic": "true",\r
-    "outputs": 1,\r
-    "x": 2023.1218719482422,\r
-    "y": 1066.7884860038757,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "8c1e1bd2.c7dff8",\r
-        "57349ad5.ce57b4"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "57349ad5.ce57b4",\r
-    "type": "for",\r
-    "name": "for nidx..tmp.network.network-data.network-request-input.network...[]",\r
-    "xml": "<for index='nidx' start='0' end='`$tmp.network.network-data.network-request-input.network-input-parameters.param_length`' >",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2386.121910095215,\r
-    "y": 1112.788640499115,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "9ba86c57.e6af5"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "9ba86c57.e6af5",\r
-    "type": "block",\r
-    "name": "block",\r
-    "xml": "<block>\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2432.677978515625,\r
-    "y": 1343.7884497642517,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "919483e8.df2a",\r
-        "d15629b3.f55828",\r
-        "5656fc8f.8dd814",\r
-        "831174d3.18ba68",\r
-        "28da2331.d9adbc",\r
-        "5b35ac60.b06374",\r
-        "8c9ddaa9.6e1178",\r
-        "cc2b2a86.fe9858",\r
-        "95f6d795.6654c8",\r
-        "12d0e2b2.41538d"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "919483e8.df2a",\r
-    "type": "switchNode",\r
-    "name": "switch access-node-id",\r
-    "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'access-node-id'`\">",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2709.1881942749023,\r
-    "y": 1185.7991971969604,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "d89910f0.04363"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "d89910f0.04363",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2898.1878204345703,\r
-    "y": 1187.7990617752075,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "7fb07ab0.8731f4"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "7fb07ab0.8731f4",\r
-    "type": "set",\r
-    "name": "set tmp.found-in-network tmp.ep-available",\r
-    "xml": "<set>\n<parameter name='tmp.found-in-network' value='true' />\n<parameter name='tmp.ep-available' value='true' />",\r
-    "comments": "",\r
-    "x": 3151.1879959106445,\r
-    "y": 1187.3991079330444,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "d15629b3.f55828",\r
-    "type": "returnSuccess",\r
-    "name": "return success",\r
-    "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
-    "comments": "",\r
-    "x": 2683.177646636963,\r
-    "y": 1559.7884883880615,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "8f0a4580.6d9e98",\r
-    "type": "switchNode",\r
-    "name": "switch tmp.ep-available",\r
-    "xml": "<switch test='`$tmp.ep-available`'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 675.3440704345703,\r
-    "y": 1192.2327990531921,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "a1aab633.7afd48",\r
-        "17b3ac8c.83db93"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "17b3ac8c.83db93",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 894.0107898712158,\r
-    "y": 1241.566155910492,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "6fbe74b1.19033c"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "a1aab633.7afd48",\r
-    "type": "outcomeTrue",\r
-    "name": "false",\r
-    "xml": "<outcome value='false'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 898.8995914459229,\r
-    "y": 1150.5662169456482,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "afc8882a.f41778"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "afc8882a.f41778",\r
-    "type": "block",\r
-    "name": "block",\r
-    "xml": "<block>\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1045.8995876312256,\r
-    "y": 1152.455029964447,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "6fbe74b1.19033c",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">",\r
-    "atomic": "true",\r
-    "outputs": 1,\r
-    "x": 1064.121877670288,\r
-    "y": 1239.566113948822,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "55f0cf15.57d45",\r
-        "34353928.90fd66",\r
-        "ef27420c.8613d"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "55f0cf15.57d45",\r
-    "type": "switchNode",\r
-    "name": "switch tmp.found-in-ar",\r
-    "xml": "<switch test='`$tmp.found-in-ar`'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1290.2328910827637,\r
-    "y": 1206.566113948822,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "6afed8e9.c144d8",\r
-        "d5770178.0518a"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "6afed8e9.c144d8",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1485.6773376464844,\r
-    "y": 1184.5661749839783,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "1eed655b.bd97fb"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "d5770178.0518a",\r
-    "type": "outcomeTrue",\r
-    "name": "false",\r
-    "xml": "<outcome value='false'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1482.67724609375,\r
-    "y": 1232.5661597251892,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "b7fae121.44ba7"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "1eed655b.bd97fb",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">",\r
-    "atomic": "true",\r
-    "outputs": 1,\r
-    "x": 1673.2330017089844,\r
-    "y": 1181.5661749839783,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "f7779e2d.37621"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "b7fae121.44ba7",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">",\r
-    "atomic": "true",\r
-    "outputs": 1,\r
-    "x": 1670.23291015625,\r
-    "y": 1231.5661597251892,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "b98ba5f6.13f1f8"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "62f66369.cc0c1c",\r
-    "type": "comment",\r
-    "name": "GET connection-attachment-ar to store AR data from mdsal",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 2182.5040855407715,\r
-    "y": 468.503945350647,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "9290cc56.5053",\r
-    "type": "comment",\r
-    "name": "Set source end point",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 672.0039825439453,\r
-    "y": 557.2539653778076,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "f5e8e1c8.46298",\r
-    "type": "set",\r
-    "name": "set tmp.ar.parent-service-instance-id",\r
-    "xml": "<set>\n<parameter name='tmp.ar.parent-service-instance-id' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id` \" />\n\n",\r
-    "comments": "",\r
-    "x": 723.0000762939453,\r
-    "y": 766.0000882148743,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "d0475d22.15b97",\r
-    "type": "success",\r
-    "name": "success",\r
-    "xml": "<outcome value='success'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1083.000228881836,\r
-    "y": 837.0000748634338,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "623d8d28.212994"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "b0b29ede.9f732",\r
-    "type": "other",\r
-    "name": "other",\r
-    "xml": "<outcome value='Other'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1074.8520317077637,\r
-    "y": 872.0661597251892,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "962f738f.25f05"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "962f738f.25f05",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: Parent service data not available\" />\n    \n",\r
-    "comments": "",\r
-    "x": 1221.0008125305176,\r
-    "y": 871.3335709571838,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "623d8d28.212994",\r
-    "type": "block",\r
-    "name": "block",\r
-    "xml": "<block>\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1214.0003242492676,\r
-    "y": 837.0001358985901,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "c9893a00.c28658",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: SOTN provided attachment resource not found\" />\n    \n",\r
-    "comments": "",\r
-    "x": 2745.000556945801,\r
-    "y": 1035.0002627372742,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "8bd33391.e91a4",\r
-    "type": "block",\r
-    "name": "block",\r
-    "xml": "<block>\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2730.0006790161133,\r
-    "y": 1002.0002474784851,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "e64a37c7.f66948",\r
-    "type": "set",\r
-    "name": "set tmp.found-in-ar tmp.found-in-network tmp.ep-available to false",\r
-    "xml": "<set>\n<parameter name='tmp.found-in-ar' value='false' />\n<parameter name='tmp.found-in-network' value='false' />\n<parameter name='tmp.ep-available' value='false' />",\r
-    "comments": "",\r
-    "x": 809.0000152587891,\r
-    "y": 939.0000624656677,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "fc331758.5b2778",\r
-    "type": "comment",\r
-    "name": "If other EP exists set destination end point",\r
-    "info": "Check if other allotted resource is available.",\r
-    "comments": "",\r
-    "x": 726.0000152587891,\r
-    "y": 1117.0000109672546,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "93383afb.68afc8",\r
-    "type": "block",\r
-    "name": "block",\r
-    "xml": "<block>\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1466.0001373291016,\r
-    "y": 1444.000292301178,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "23230d18.7a6212",\r
-        "a2526066.96f0c",\r
-        "93d759ca.c80638",\r
-        "cfe2307e.244ab",\r
-        "b727775.7f84888",\r
-        "373cb481.0be6cc",\r
-        "9ebd0cde.5ee4a",\r
-        "3f0a30ad.0a05f"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "23230d18.7a6212",\r
-    "type": "switchNode",\r
-    "name": "switch access-node-id",\r
-    "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-node-id'`\">",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1708.5104389190674,\r
-    "y": 1314.0106887817383,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "6e6de50.27a681c"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "a2526066.96f0c",\r
-    "type": "returnSuccess",\r
-    "name": "return success",\r
-    "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
-    "comments": "",\r
-    "x": 1681.5003910064697,\r
-    "y": 1619.0006523132324,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "93d759ca.c80638",\r
-    "type": "switchNode",\r
-    "name": "switch access-ltp-id",\r
-    "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-ltp-id'`\">",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1700.0002689361572,\r
-    "y": 1357.7782201766968,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "4537bdaa.d5e104"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "cfe2307e.244ab",\r
-    "type": "switchNode",\r
-    "name": "switch clientSignal",\r
-    "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'clientSignal'`\">",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1694.0003070831299,\r
-    "y": 1403.7782669067383,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "7a3fa09e.aa469"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "b727775.7f84888",\r
-    "type": "switchNode",\r
-    "name": "switch cVLAN",\r
-    "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'cVLAN'`\">",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1677.9898090362549,\r
-    "y": 1442.7677688598633,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "97596f16.2d148"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "6e6de50.27a681c",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1886.2223529815674,\r
-    "y": 1314.6670608520508,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "98c866c4.5a0d58"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "98c866c4.5a0d58",\r
-    "type": "set",\r
-    "name": "set dst-access-node-id",\r
-    "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$tmp.ep.parameters.param[$idx].value`' />",\r
-    "comments": "",\r
-    "x": 2061.2223529815674,\r
-    "y": 1314.2670359611511,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "4537bdaa.d5e104",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1881.7122211456299,\r
-    "y": 1357.4345169067383,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "779f9f70.9b8e"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "7a3fa09e.aa469",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1881.7122211456299,\r
-    "y": 1403.4345169067383,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "f9bbfd69.a91aa"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "97596f16.2d148",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1881.7017230987549,\r
-    "y": 1442.4241409301758,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "9e73cdad.1270d"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "34353928.90fd66",\r
-    "type": "for",\r
-    "name": "for idx..tmp.ep.parameters[]",\r
-    "xml": "<for index='idx' start='0' end='`$tmp.ep.parameters.param_length`'>\n\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1319,\r
-    "y": 1331.9999976158142,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "93383afb.68afc8"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "f7779e2d.37621",\r
-    "type": "set",\r
-    "name": "set tmp.ep.parameters",\r
-    "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$mdsal-other-ar.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.`' />\n",\r
-    "comments": "",\r
-    "x": 1885.0000553131104,\r
-    "y": 1181.000072002411,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "b98ba5f6.13f1f8",\r
-    "type": "set",\r
-    "name": "set tmp.ep.parameters",\r
-    "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$tmp.network.network-data.network-request-input.network-input-parameters.`' />\n",\r
-    "comments": "",\r
-    "x": 1881.999963760376,\r
-    "y": 1227.0000567436218,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "779f9f70.9b8e",\r
-    "type": "set",\r
-    "name": "set dst-access-node-id",\r
-    "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$tmp.ep.parameters.param[$idx].value`' />",\r
-    "comments": "",\r
-    "x": 2059.0001850128174,\r
-    "y": 1357.0003128051758,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "f9bbfd69.a91aa",\r
-    "type": "set",\r
-    "name": "set dst-clientSignal",\r
-    "xml": "<set>\n<parameter name='prop.remote.connection-attachment.clientSignal' value='`$tmp.ep.parameters.param[$idx].value`' />",\r
-    "comments": "",\r
-    "x": 2053.0001850128174,\r
-    "y": 1401.0003128051758,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "9e73cdad.1270d",\r
-    "type": "set",\r
-    "name": "set dst-cVLAN",\r
-    "xml": "<set>\n<parameter name='prop.remote.connection-attachment.cVLAN' value='`$tmp.ep.parameters.param[$idx].value`' />",\r
-    "comments": "",\r
-    "x": 2044.0001850128174,\r
-    "y": 1440.0003128051758,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "9a68bff2.8c292",\r
-    "type": "comment",\r
-    "name": "Get controller info and send request",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 1926.000057220459,\r
-    "y": 1911.0001511573792,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "aa539917.f17c98",\r
-    "type": "execute",\r
-    "name": "execute RestApiCallNode Create ethernet Service",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\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=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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": 2464.0008239746094,\r
-    "y": 2179.0013360977173,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "129cac0c.055ac4",\r
-        "470289f4.54d198"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "129cac0c.055ac4",\r
-    "type": "success",\r
-    "name": "success",\r
-    "xml": "<outcome value='success'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2797.000648498535,\r
-    "y": 2188.0015811920166,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "540c8068.f38"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "540c8068.f38",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">",\r
-    "atomic": "true",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2945.000648498535,\r
-    "y": 2186.001459121704,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "86d52886.e02b08",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",\r
-    "comments": "",\r
-    "x": 2927.0006790161133,\r
-    "y": 2133.001519203186,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "470289f4.54d198",\r
-    "type": "failure",\r
-    "name": "failure",\r
-    "xml": "<outcome value='failure'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2788.000587463379,\r
-    "y": 2133.001519203186,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "86d52886.e02b08"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "d001a7e2.45abd8",\r
-    "type": "failure",\r
-    "name": "failure",\r
-    "xml": "<outcome value='failure'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 897.7624244689941,\r
-    "y": 2134.953706264496,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "f4c6242e.026e78"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "f4c6242e.026e78",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"AAI failed\" />\n",\r
-    "comments": "",\r
-    "x": 1064.2862453460693,\r
-    "y": 2161.5727133750916,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "5249365f.05f8c8",\r
-    "type": "failure",\r
-    "name": "not-found",\r
-    "xml": "<outcome value='not-found'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 899.8576526641846,\r
-    "y": 2182.715548992157,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "f4c6242e.026e78"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "f04e271d.103d68",\r
-    "type": "comment",\r
-    "name": "Save Resource to AAI",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 671.8100681304932,\r
-    "y": 2123.3028693199158,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "625b8a7b.c27e14",\r
-    "type": "set",\r
-    "name": "set output to api handler",\r
-    "xml": "<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='connection-attachment-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $connection-attachment-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",\r
-    "comments": "",\r
-    "x": 686.5777645111084,\r
-    "y": 2044.8283505439758,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "b625537f.a1fdd",\r
-    "type": "returnSuccess",\r
-    "name": "return success",\r
-    "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
-    "comments": "",\r
-    "x": 646.9909362792969,\r
-    "y": 2230.4441390037537,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "e5693b1c.1aac88",\r
-    "type": "execute",\r
-    "name": "execute RestApiCallNode - PUT AR by id",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.sotn-attachment.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 739.3098468780518,\r
-    "y": 1969.4692034721375,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "cfef9f3f.14c39",\r
-        "72aa50f4.96321",\r
-        "28a18b03.896b34"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "cfef9f3f.14c39",\r
-    "type": "not-found",\r
-    "name": "not-found",\r
-    "xml": "<outcome value='not-found'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 993.9512691497803,\r
-    "y": 2013.800597667694,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "492ba4ec.f6b39c"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "72aa50f4.96321",\r
-    "type": "failure",\r
-    "name": "failure",\r
-    "xml": "<outcome value='failure'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 995.9512920379639,\r
-    "y": 1972.3005618080497,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "492ba4ec.f6b39c"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "28a18b03.896b34",\r
-    "type": "success",\r
-    "name": "success",\r
-    "xml": "<outcome value='success'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 999.7013759613037,\r
-    "y": 1923.6577143669128,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "85d2ed51.1b8c4"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "492ba4ec.f6b39c",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating md-sal for connection-attachment-allotted-resource\" />\n",\r
-    "comments": "",\r
-    "x": 1154.70139503479,\r
-    "y": 1992.0506281852722,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "85d2ed51.1b8c4",\r
-    "type": "block",\r
-    "name": "block",\r
-    "xml": "<block>\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1127.3573207855225,\r
-    "y": 1925.8498826026917,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "e420c4c5.b6aac8",\r
-    "type": "set",\r
-    "name": "set ar-data",\r
-    "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-status.action' value=\"`$connection-attachment-topology-operation-input.request-information.request-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-name' value=\"connection-attachment-topology-operation\" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-action' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$connection-attachment-topology-operation-input.request-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$connection-attachment-topology-operation-input.service-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.` \" />",\r
-    "comments": "",\r
-    "x": 641.5234622955322,\r
-    "y": 1803.8501045703888,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "31063248.d169de",\r
-    "type": "execute",\r
-    "name": "execute getTime",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n    <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 658.80930519104,\r
-    "y": 1876.469702243805,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "f27d2f2b.5f557",\r
-    "type": "set",\r
-    "name": "set allotted-resource-oper-status",\r
-    "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='Active' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-topology-operation-input.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",\r
-    "comments": "",\r
-    "x": 708.7963848114014,\r
-    "y": 1913.4207825660706,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "9257aeaa.1b50e",\r
-    "type": "set",\r
-    "name": "set model-data",\r
-    "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.` \" />",\r
-    "comments": "",\r
-    "x": 655.3650035858154,\r
-    "y": 1843.0247550010681,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "32d6bb38.221fd4",\r
-    "type": "comment",\r
-    "name": "Prepare data for allotted-resource addition to MDSAL",\r
-    "info": "This will add to allotted-resource which is present inside service.",\r
-    "comments": "",\r
-    "x": 768.69846534729,\r
-    "y": 1764.0247070789337,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "8d90c1db.edb92",\r
-    "type": "comment",\r
-    "name": "Add to allotted-resources in mdsal",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 710.2782917022705,\r
-    "y": 1731.4380087852478,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "8bb4a5cf.68ff78",\r
-    "type": "update",\r
-    "name": "update AAI allotted-resource",\r
-    "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $connection-attachment-topology-operation-input.service-information.service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n        pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"description\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-type`\" />\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<parameter name=\"model-invariant-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid`\" />\n\t<parameter name=\"operational-status\" value=\"Active\" />\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 698.2543468475342,\r
-    "y": 2160.75501203537,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "d001a7e2.45abd8",\r
-        "5249365f.05f8c8"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "f242ac55.63689",\r
-    "type": "execute",\r
-    "name": "execute RestApiCallNode getPath from OOF",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"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": 1507.004306793213,\r
-    "y": 1723.2546639442444,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "8ebd53f.a1c8db",\r
-        "4a1f8620.db9dd8"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "8ebd53f.a1c8db",\r
-    "type": "success",\r
-    "name": "success",\r
-    "xml": "<outcome value='success'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1747.0044479370117,\r
-    "y": 1747.2546334266663,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "386f994c.1e59a6"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "2728f3f1.18be8c",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing OOF api\" />\n",\r
-    "comments": "",\r
-    "x": 1886.004482269287,\r
-    "y": 1696.2547249794006,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "4a1f8620.db9dd8",\r
-    "type": "failure",\r
-    "name": "failure",\r
-    "xml": "<outcome value='failure'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1746.0042343139648,\r
-    "y": 1696.2547240257263,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "2728f3f1.18be8c"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "f4212815.8844c8",\r
-    "type": "comment",\r
-    "name": "Get VPNs from OOF",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 1493.008228302002,\r
-    "y": 1690.2586636543274,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "30312f10.31bce",\r
-    "type": "for",\r
-    "name": "for vidx..oof.vpns_length[]",\r
-    "xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1447.004150390625,\r
-    "y": 1805.5043921470642,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "6a968eb5.e990c"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "50ffe7da.bf4678",\r
-    "type": "comment",\r
-    "name": "Loop through VPN and configure them",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 1493.0046005249023,\r
-    "y": 1940.0047698020935,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "5656fc8f.8dd814",\r
-    "type": "switchNode",\r
-    "name": "switch name",\r
-    "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'name'`\">\n                \n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2686.788330078125,\r
-    "y": 1277.1218237876892,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "55653cd7.ec43f4"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "55653cd7.ec43f4",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2875.788299560547,\r
-    "y": 1277.1218090057373,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "5525b0a7.6138f"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "5525b0a7.6138f",\r
-    "type": "set",\r
-    "name": "set etht-svc-name & bandwidth-profile-name",\r
-    "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name='prop.global.sotn.bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
-    "comments": "",\r
-    "x": 3116.78861618042,\r
-    "y": 1276.721863746643,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "831174d3.18ba68",\r
-    "type": "switchNode",\r
-    "name": "switch description",\r
-    "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'description'`\">\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2699.6282081604004,\r
-    "y": 1312.1219186782837,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "3b411fae.953a4"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "3b411fae.953a4",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2874.628273010254,\r
-    "y": 1314.121904373169,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "8774460.14dcdb8"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "8774460.14dcdb8",\r
-    "type": "set",\r
-    "name": "set etht-svc-descr",\r
-    "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-descr' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
-    "comments": "",\r
-    "x": 3030.9615898132324,\r
-    "y": 1311.5829792022705,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "28da2331.d9adbc",\r
-    "type": "switchNode",\r
-    "name": "switch tenantId",\r
-    "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'tenantId'`\">\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2695.010471343994,\r
-    "y": 1345.4553089141846,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "ada04353.d80d1"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "ada04353.d80d1",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2873.0104751586914,\r
-    "y": 1349.455186843872,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "cee74467.1a9228"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "cee74467.1a9228",\r
-    "type": "set",\r
-    "name": "set tenantId",\r
-    "xml": "<set>\n<parameter name='prop.global.sotn.tenantId' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
-    "comments": "",\r
-    "x": 3011.0106620788574,\r
-    "y": 1346.0551624298096,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "8c9ddaa9.6e1178",\r
-    "type": "switchNode",\r
-    "name": "switch cir",\r
-    "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'cir'`\">\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2677.850070953369,\r
-    "y": 1418.4552640914917,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "cd954fdf.ea0ed"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "cd954fdf.ea0ed",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2872.8501358032227,\r
-    "y": 1419.4552640914917,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "31bd7e24.629462"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "31bd7e24.629462",\r
-    "type": "set",\r
-    "name": "set cir",\r
-    "xml": "<set>\n<parameter name='prop.sotn.cir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
-    "comments": "",\r
-    "x": 2997.18363571167,\r
-    "y": 1417.9163389205933,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "5b35ac60.b06374",\r
-    "type": "switchNode",\r
-    "name": "switch vpnType",\r
-    "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'vpnType'`\">\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2692.158359527588,\r
-    "y": 1381.2329740524292,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "1d4c9619.a6669a"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "1d4c9619.a6669a",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2874.158546447754,\r
-    "y": 1384.2329587936401,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "bd64b5e6.539838"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "bd64b5e6.539838",\r
-    "type": "set",\r
-    "name": "set vpnType",\r
-    "xml": "<set>\n<parameter name='prop.global.sotn.vpnType' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
-    "comments": "",\r
-    "x": 3010.492290496826,\r
-    "y": 1380.694200515747,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "cc2b2a86.fe9858",\r
-    "type": "switchNode",\r
-    "name": "switch eir",\r
-    "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'eir'`\">\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2673.1404151916504,\r
-    "y": 1452.1531715393066,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "203ce537.bd8b2a"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "203ce537.bd8b2a",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2873.1406631469727,\r
-    "y": 1455.1531105041504,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "7faf1119.e88e9"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "7faf1119.e88e9",\r
-    "type": "set",\r
-    "name": "set eir",\r
-    "xml": "<set>\n<parameter name='prop.global.sotn.eir' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
-    "comments": "",\r
-    "x": 2996.4742851257324,\r
-    "y": 1454.614170074463,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "95f6d795.6654c8",\r
-    "type": "switchNode",\r
-    "name": "switch colorAware",\r
-    "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'colorAware'`\">\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2698.141025543213,\r
-    "y": 1486.1530504226685,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "b60ea4bb.5cc238"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "b60ea4bb.5cc238",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2869.1408462524414,\r
-    "y": 1492.152988910675,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "6d5c307a.1a01c"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "6d5c307a.1a01c",\r
-    "type": "set",\r
-    "name": "set colorAware",\r
-    "xml": "<set>\n<parameter name='prop.global.sotn.colorAware' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
-    "comments": "",\r
-    "x": 3017.47416305542,\r
-    "y": 1492.6142015457153,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "12d0e2b2.41538d",\r
-    "type": "switchNode",\r
-    "name": "switch couplingFlag",\r
-    "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'couplingFlag'`\">\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2700.1409645080566,\r
-    "y": 1522.153112411499,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "9768f5df.e54b58"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "9768f5df.e54b58",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2872.1408462524414,\r
-    "y": 1531.153081893921,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "9d447a7c.f87728"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "9d447a7c.f87728",\r
-    "type": "set",\r
-    "name": "set couplingFlag",\r
-    "xml": "<set>\n<parameter name='prop.global.sotn.couplingFlag' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
-    "comments": "",\r
-    "x": 3025.47416305542,\r
-    "y": 1531.6142024993896,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "23c26849.b1be88",\r
-    "type": "comment",\r
-    "name": "Check if other EP exists in SOTNConnectionResource",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 2831.343994140625,\r
-    "y": 1140.7884497642517,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "1c7f6b36.0dde35",\r
-    "type": "comment",\r
-    "name": "Get other global parameters from network",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 2767.34375,\r
-    "y": 1226.7884497642517,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "373cb481.0be6cc",\r
-    "type": "switchNode",\r
-    "name": "switch access-provider-id",\r
-    "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-provider-id'`\">",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1715.5661029815674,\r
-    "y": 1488.2329788208008,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "ff1ef452.ac6398"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "ff1ef452.ac6398",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1902.5661029815674,\r
-    "y": 1484.2329788208008,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "ed2e9db3.52782"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "ed2e9db3.52782",\r
-    "type": "set",\r
-    "name": "set access-provider-id",\r
-    "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",\r
-    "comments": "",\r
-    "x": 2070.5661029815674,\r
-    "y": 1484.8329849243164,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "9ebd0cde.5ee4a",\r
-    "type": "switchNode",\r
-    "name": "switch access-client-id",\r
-    "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-client-id'`\">",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1706.5661182403564,\r
-    "y": 1531.2434272766113,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "6a1f9494.a9099c"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "6a1f9494.a9099c",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1893.5661182403564,\r
-    "y": 1527.2434272766113,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "5c104369.10385c"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "5c104369.10385c",\r
-    "type": "set",\r
-    "name": "set access-client-id",\r
-    "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",\r
-    "comments": "",\r
-    "x": 2061.5661182403564,\r
-    "y": 1527.843433380127,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "3f0a30ad.0a05f",\r
-    "type": "switchNode",\r
-    "name": "switch access-topology-id",\r
-    "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-topology-id'`\">",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1719.566062927246,\r
-    "y": 1573.2434582710266,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "b8481b61.974128"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "b8481b61.974128",\r
-    "type": "outcomeTrue",\r
-    "name": "true",\r
-    "xml": "<outcome value='true'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1906.566062927246,\r
-    "y": 1569.2434582710266,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "cd99ec59.16d01"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "cd99ec59.16d01",\r
-    "type": "set",\r
-    "name": "set access-topology-id",\r
-    "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",\r
-    "comments": "",\r
-    "x": 2074.566062927246,\r
-    "y": 1569.8434643745422,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "6a968eb5.e990c",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">",\r
-    "atomic": "true",\r
-    "outputs": 1,\r
-    "x": 1670.121467590332,\r
-    "y": 1842.3444514274597,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "25415b54.636c54",\r
-        "a5206342.9aba",\r
-        "51f40b71.957074",\r
-        "f753496f.fd6098",\r
-        "a5fc88b6.7da8a8",\r
-        "48526f97.44c48",\r
-        "e2b95315.238d5",\r
-        "1f7c3b05.6c25b5",\r
-        "15600759.2f8af9",\r
-        "38b5d1f7.8043be",\r
-        "3f572112.50e40e"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "94168d9.4338d7",\r
-    "type": "set",\r
-    "name": "set controller data",\r
-    "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",\r
-    "comments": "",\r
-    "x": 2311.566131591797,\r
-    "y": 1906.67764377594,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "1f7c3b05.6c25b5",\r
-    "type": "get-resource",\r
-    "name": "get-resource esr-thirdparty-sdnc",\r
-    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.thirdparty-sdnc-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1928.0660400390625,\r
-    "y": 1943.6775832176208,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "530a02a.35bc5fc",\r
-        "69cd2500.075b9c",\r
-        "30e7132.e91f7ec"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "530a02a.35bc5fc",\r
-    "type": "success",\r
-    "name": "success",\r
-    "xml": "<outcome value='success'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2148.065975189209,\r
-    "y": 1907.6775522232056,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "94168d9.4338d7"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "69cd2500.075b9c",\r
-    "type": "not-found",\r
-    "name": "not-found",\r
-    "xml": "<outcome value='not-found'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2157.556915283203,\r
-    "y": 1948.251558303833,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "5bd73e6e.fe56f"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "30e7132.e91f7ec",\r
-    "type": "other",\r
-    "name": "other",\r
-    "xml": "<outcome value='Other'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2152.889892578125,\r
-    "y": 1984.5848712921143,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "af020f5f.af078"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "5bd73e6e.fe56f",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
-    "comments": "",\r
-    "x": 2304.1282653808594,\r
-    "y": 1944.5373849868774,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "af020f5f.af078",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
-    "comments": "",\r
-    "x": 2307.6625366210938,\r
-    "y": 1986.024019241333,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "e2b95315.238d5",\r
-    "type": "get-resource",\r
-    "name": "get-resource pnf",\r
-    "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $oof.vpn.access-node-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.pnf' local-only='false' >\n\n\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1873.565933227539,\r
-    "y": 1852.6772270202637,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "14ef11a9.e55e2e",\r
-        "226a17e2.188c38",\r
-        "6e24acbd.f1e944"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "14ef11a9.e55e2e",\r
-    "type": "success",\r
-    "name": "success",\r
-    "xml": "<outcome value='success'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2055.5659790039062,\r
-    "y": 1797.6773371696472,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "24ab4d52.5b5102"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "226a17e2.188c38",\r
-    "type": "not-found",\r
-    "name": "not-found",\r
-    "xml": "<outcome value='not-found'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2056.0568809509277,\r
-    "y": 1835.2514338493347,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "c7278eff.a4e77"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "6e24acbd.f1e944",\r
-    "type": "other",\r
-    "name": "other",\r
-    "xml": "<outcome value='Other'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2047.389892578125,\r
-    "y": 1868.5848088264465,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "86f1cee5.6a47d"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "c7278eff.a4e77",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
-    "comments": "",\r
-    "x": 2203.628505706787,\r
-    "y": 1834.5373225212097,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "86f1cee5.6a47d",\r
-    "type": "returnFailure",\r
-    "name": "return failure",\r
-    "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
-    "comments": "",\r
-    "x": 2201.1625366210938,\r
-    "y": 1868.0239567756653,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "24ab4d52.5b5102",\r
-    "type": "set",\r
-    "name": "set tmp.thirdparty-sdnc-id",\r
-    "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",\r
-    "comments": "",\r
-    "x": 2240.5659790039062,\r
-    "y": 1796.6774592399597,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "c836a451.421728",\r
-    "type": "comment",\r
-    "name": "get domain controller information",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 1924.0698471069336,\r
-    "y": 1819.681182384491,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "15600759.2f8af9",\r
-    "type": "set",\r
-    "name": "set oof.vpn",\r
-    "xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",\r
-    "comments": "",\r
-    "x": 1885.565933227539,\r
-    "y": 1773.7883105278015,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "a5206342.9aba",\r
-    "type": "save",\r
-    "name": "save VPN resource in AAI",\r
-    "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.vpnName' >\n<parameter name='vpn-id' value='`$tmp.vpnName`' />\n<parameter name='vpn-name' value='`$tmp.vpnName`' />\n<parameter name='access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='src-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='dst-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\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`' />",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1900.0314102172852,\r
-    "y": 2350.750671863556,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "51f40b71.957074",\r
-    "type": "set",\r
-    "name": "set tmp.vpnName",\r
-    "xml": "<set>\n<parameter name='tmp.vpnName' value=\"`$oof.vpn.access-node-id + '-' + $prop.global.sotn.etht-svc-name`\" />",\r
-    "comments": "",\r
-    "x": 1876.5314102172852,\r
-    "y": 2303.2503685951233,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "f753496f.fd6098",\r
-    "type": "save",\r
-    "name": "save connectivity relationship in AAI",\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=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $mdsal-psd.service-data.networks.network[0].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=\"`$mdsal-psd.service-data.networks.network[0].network-id`\" />",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1935.0314102172852,\r
-    "y": 2395.750427722931,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "b6eef9a7.432da8",\r
-    "type": "comment",\r
-    "name": "save vpn and its relation to AAI",\r
-    "info": "",\r
-    "comments": "",\r
-    "x": 1918.031608581543,\r
-    "y": 2264.7506375312805,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "25415b54.636c54",\r
-    "type": "set",\r
-    "name": "set src-ltpId dst-ltpId",\r
-    "xml": "<set>\n<parameter name='src-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.src-access-ltp-id`\" />\n<parameter name='dst-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.dst-access-ltp-id`\" />",\r
-    "comments": "",\r
-    "x": 1887.0314407348633,\r
-    "y": 2435.750547885895,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "a5fc88b6.7da8a8",\r
-    "type": "save",\r
-    "name": "save srcLTP relationship in AAI",\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": 1921.0316925048828,\r
-    "y": 2475.50075674057,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "48526f97.44c48",\r
-    "type": "save",\r
-    "name": "save dstLTP relationship in AAI",\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": 1919.0315246582031,\r
-    "y": 2521.2505955696106,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "c941958.f53f068",\r
-    "type": "execute",\r
-    "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 865.0351867675781,\r
-    "y": 626.0039095878601,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "bf04a12d.5ab3a",\r
-        "5803dc5e.f9b2f4"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "4e69710c.777f7",\r
-    "type": "execute",\r
-    "name": "execute RestApiCallNode - get-resource parent service data",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-psd`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-psd\" />\n\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 792.0353393554688,\r
-    "y": 853.0040726661682,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "d0475d22.15b97",\r
-        "b0b29ede.9f732"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "7b1a01af.62e07",\r
-    "type": "execute",\r
-    "name": "get parent-service-data url",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url-psd\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ar.parent-service-instance-id`\"/>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 692.0352478027344,\r
-    "y": 816.0039057731628,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "da051cb.7908ce",\r
-    "type": "execute",\r
-    "name": "generate tmp.ar-other-url-connection",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-other-url-connection\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.provided-ar.allotted-resource-id`\"/>\n    \n\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2106.0316009521484,\r
-    "y": 972.3334670066833,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "511eded7.ee48c",\r
-    "type": "execute",\r
-    "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-other-url-connection`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-other-ar\" />\n\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2243.032241821289,\r
-    "y": 1014.8333315849304,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "df822a12.2f4cb8",\r
-        "6d247d3c.af7454"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "386f994c.1e59a6",\r
-    "type": "block",\r
-    "name": "block",\r
-    "xml": "<block>\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1868.0315208435059,\r
-    "y": 1738.0001168251038,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "ef27420c.8613d",\r
-    "type": "block",\r
-    "name": "block : atomic",\r
-    "xml": "<block atomic=\"true\">",\r
-    "atomic": "true",\r
-    "outputs": 1,\r
-    "x": 1245.0001335144043,\r
-    "y": 1763.0003008842468,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "f242ac55.63689",\r
-        "30312f10.31bce"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "d906524b.eeb18",\r
-    "type": "outcome",\r
-    "name": "outcome PendingDelete",\r
-    "xml": "<outcome value='PendingDelete'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2319.0625915527344,\r
-    "y": 578.03129529953,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "e6b0a51.a605158"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "e6b0a51.a605158",\r
-    "type": "block",\r
-    "name": "block",\r
-    "xml": "<block>\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2503.062602996826,\r
-    "y": 574.03129529953,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "38b5d1f7.8043be",\r
-    "type": "execute",\r
-    "name": "execute RestApiCallNode Get token",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\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\"/>",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1948.5351867675781,\r
-    "y": 2070.003924846649,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "e9cfbd0.6beca4",\r
-        "329096c7.0b55ba"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "e9cfbd0.6beca4",\r
-    "type": "success",\r
-    "name": "success",\r
-    "xml": "<outcome value='success'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2183.535186767578,\r
-    "y": 2048.003924846649,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "44854a0f.60c554"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "329096c7.0b55ba",\r
-    "type": "failure",\r
-    "name": "failure",\r
-    "xml": "<outcome value='failure'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2175.785186767578,\r
-    "y": 2101.6468081474304,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "8f0a300b.e6801"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "44854a0f.60c554",\r
-    "type": "set",\r
-    "name": "set token-id",\r
-    "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
-    "comments": "",\r
-    "x": 2337.535186767578,\r
-    "y": 2049.003924846649,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": []\r
-  },\r
-  {\r
-    "id": "3f572112.50e40e",\r
-    "type": "switchNode",\r
-    "name": "switch prop.sdncRestApi.token_id",\r
-    "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 1951.5312194824219,\r
-    "y": 2167.031491279602,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "71416b24.4767f4",\r
-        "95a4ed31.47c83"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "71416b24.4767f4",\r
-    "type": "other",\r
-    "name": "Null",\r
-    "xml": "<outcome value=''>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2177.531467437744,\r
-    "y": 2143.0313682556152,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "9a737a81.94bba8"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "95a4ed31.47c83",\r
-    "type": "other",\r
-    "name": "other",\r
-    "xml": "<outcome value='Other'>\n",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2171.5313453674316,\r
-    "y": 2206.5313692092896,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "aa539917.f17c98"\r
-      ]\r
-    ]\r
-  },\r
-  {\r
-    "id": "8f0a300b.e6801",\r
-    "type": "block",\r
-    "name": "block",\r
-    "xml": "<block>\n",\r
-    "atomic": "false",\r
-    "comments": "",\r
-    "outputs": 1,\r
-    "x": 2334.53125,\r
-    "y": 2099.03125,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      []\r
-    ]\r
-  },\r
-  {\r
-    "id": "9a737a81.94bba8",\r
-    "type": "execute",\r
-    "name": "execute RestApiCallNode Create ethernet Service",\r
-    "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\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=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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
-    "outputs": 1,\r
-    "x": 2465.53125,\r
-    "y": 2140.03125,\r
-    "z": "e47fc805.c5c588",\r
-    "wires": [\r
-      [\r
-        "470289f4.54d198",\r
-        "129cac0c.055ac4"\r
-      ]\r
-    ]\r
-  }\r
-]\r
+    {\r
+        "id": "28d275a.bfe138a",\r
+        "type": "dgstart",\r
+        "name": "DGSTART",\r
+        "outputs": 1,\r
+        "x": 288.4998779296875,\r
+        "y": 71.99999904632568,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "d19f3a06.022368"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d19f3a06.022368",\r
+        "type": "service-logic",\r
+        "name": "GENERIC-RESOURCE-API ${project.version}",\r
+        "module": "GENERIC-RESOURCE-API",\r
+        "version": "${project.version}",\r
+        "comments": "",\r
+        "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
+        "outputs": 1,\r
+        "x": 182.49988174438477,\r
+        "y": 144.00001621246338,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "7a2f1ce2.d27b24"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7a2f1ce2.d27b24",\r
+        "type": "method",\r
+        "name": "sotn-attachment-topology-operation-activate",\r
+        "xml": "<method rpc='sotn-attachment-topology-operation-activate' mode='sync'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 170.5,\r
+        "y": 231.99999904632568,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "70eb8f94.914be"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "70eb8f94.914be",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 186.5,\r
+        "y": 787.0002436637878,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "30d38659.9ca3da",\r
+                "18dde1e3.9567be",\r
+                "a87c2e3.9552cd",\r
+                "dd042947.596178",\r
+                "8aa20f0d.2f659",\r
+                "2b23bd9b.6febb2",\r
+                "cff1f9f1.a56e28",\r
+                "e801191.dd549e8",\r
+                "b2d7beb8.50e79",\r
+                "c2e744b7.2f7498",\r
+                "c7b09f9c.c261d",\r
+                "f53c2230.a7af7",\r
+                "c7e83767.1962b8",\r
+                "cce9c4ca.7b8858",\r
+                "46437a86.852124",\r
+                "755ed1f3.fd5e1",\r
+                "9c164258.b89ac",\r
+                "8cebe888.0f36b8",\r
+                "55e9e37.ce7981c",\r
+                "fc04a841.669f18"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "30d38659.9ca3da",\r
+        "type": "set",\r
+        "name": "set tmp.ar.allotted-resource-id,etc",\r
+        "xml": "<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n<parameter name='tmp.ar.parent-service-instance-id' value='`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />\n\n\n",\r
+        "comments": "",\r
+        "x": 583.4934387207031,\r
+        "y": 185.9934859275818,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1674cd93.86fde2",\r
+        "type": "comment",\r
+        "name": "set tmp ar-id to fetch resource from MDSAL",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 597.9536285400391,\r
+        "y": 139.02528190612793,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "18dde1e3.9567be",\r
+        "type": "set",\r
+        "name": "set tmp.ar.self-link",\r
+        "xml": "<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:connection-attachment-allotted-resources/connection-attachment-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/connection-attachment-topology/'` \" />\n\n",\r
+        "comments": "",\r
+        "x": 537.4933776855469,\r
+        "y": 278.9934911727905,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8aa20f0d.2f659",\r
+        "type": "execute",\r
+        "name": "execute Properties",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 543.7552680969238,\r
+        "y": 366.6602201461792,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a87c2e3.9552cd",\r
+        "type": "execute",\r
+        "name": "generate allotted-resource tmp.ar-url",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 590.7553253173828,\r
+        "y": 454.66022396087646,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "1ee3af2.4b29351",\r
+        "type": "comment",\r
+        "name": "GET connection-attachment-allotted-resource from mdsal",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 622.8081359863281,\r
+        "y": 574.5386581420898,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "68f1c514.ded31c",\r
+        "type": "comment",\r
+        "name": "Used for setting output to API Handler",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 576.9932861328125,\r
+        "y": 234.9935007095337,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "bb16939f.0bb2",\r
+        "type": "comment",\r
+        "name": "Obtain different URL, template location etc",\r
+        "info": "For saving resource information to MDSAL & for AAI",\r
+        "comments": "",\r
+        "x": 594.9932518005371,\r
+        "y": 320.882381439209,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b570954a.774d68",\r
+        "type": "comment",\r
+        "name": "Used to Get AR by id to MDSAL, same as self-link",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 620.9932708740234,\r
+        "y": 407.8823404312134,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cc101fab.4516e",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1097.166669845581,\r
+        "y": 602.9999837875366,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "9738f108.898b7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9738f108.898b7",\r
+        "type": "block",\r
+        "name": "block: atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1241.166748046875,\r
+        "y": 560.4999017715454,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "8a16f689.6b7ae8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8a16f689.6b7ae8",\r
+        "type": "switchNode",\r
+        "name": "switch cr length",\r
+        "xml": "<switch test='`$mdsal-ar.connection-attachment-allotted-resource_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1410.0241718292236,\r
+        "y": 558.1190729141235,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "6caeb4d0.5e023c",\r
+                "5d2c0047.75c77"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6caeb4d0.5e023c",\r
+        "type": "other",\r
+        "name": "outcome 1",\r
+        "xml": "<outcome value='1'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1565.357307434082,\r
+        "y": 530.1189880371094,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "5c4df4f9.cc097c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5c4df4f9.cc097c",\r
+        "type": "block",\r
+        "name": "block: atomic",\r
+        "xml": "<block atomic='true'>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1723.8811111450195,\r
+        "y": 528.0238351821899,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "1e89f07a.c151d",\r
+                "eb1d752c.cdd658",\r
+                "5ff280be.365f2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "51eebf2c.9c9cc",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: Connection attachment resource not exist\" />\n    \n",\r
+        "comments": "",\r
+        "x": 1664.01904296875,\r
+        "y": 635.0660696029663,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "687f563.00b84a8",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1089.0184726715088,\r
+        "y": 638.066068649292,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "82a2b9aa.fbc138"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "82a2b9aa.fbc138",\r
+        "type": "block",\r
+        "name": "block: atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1269.0184230804443,\r
+        "y": 638.7326192855835,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "51eebf2c.9c9cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5d2c0047.75c77",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1556.6853103637695,\r
+        "y": 589.3993625640869,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "51eebf2c.9c9cc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1e89f07a.c151d",\r
+        "type": "set",\r
+        "name": "set connection-attachment-ar from get",\r
+        "xml": "<set>\n<parameter name='connection-attachment-ar.' value='$mdsal-ar.connection-attachment-allotted-resource[0].' />\n",\r
+        "comments": "",\r
+        "x": 1970.944564819336,\r
+        "y": 501.00008726119995,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5ff280be.365f2",\r
+        "type": "set",\r
+        "name": "set oper-status",\r
+        "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-ar.allotted-resource-status.rpc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id`' />\n\n",\r
+        "comments": "",\r
+        "x": 1904.944595336914,\r
+        "y": 574.4285898208618,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "eb1d752c.cdd658",\r
+        "type": "switchNode",\r
+        "name": "switch order-status",\r
+        "xml": "<switch test='`$connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1914.9443740844727,\r
+        "y": 540.0000238418579,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "bd6b8fd9.7425f",\r
+                "de760411.78f278",\r
+                "7125493.f496eb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bd6b8fd9.7425f",\r
+        "type": "outcome",\r
+        "name": "outcome Created",\r
+        "xml": "<outcome value='Created'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2150.5444564819336,\r
+        "y": 534.0000548362732,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "1316c298.882dad"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7125493.f496eb8",\r
+        "type": "outcome",\r
+        "name": "outcome Other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2144.2589569091797,\r
+        "y": 614.4286894798279,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "4ad5b58c.e9d9dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1316c298.882dad",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2309.0151290893555,\r
+        "y": 534.3757104873657,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "4ad5b58c.e9d9dc",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" \n    value=\"`'Existing connection-attachment-allotted-resource with order status of ' + $connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status + '.'`\" />\n",\r
+        "comments": "",\r
+        "x": 2320.1667709350586,\r
+        "y": 613.0000886917114,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "aa47ad2e.19ee1",\r
+        "type": "call",\r
+        "name": "call GENERIC-RESOURCE-API:sotn-get-saved-ar-param",\r
+        "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-saved-ar-param' mode='sync' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 807.8029289245605,\r
+        "y": 685.4936037063599,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "2b23bd9b.6febb2",\r
+        "type": "block",\r
+        "name": "block: atomic",\r
+        "xml": "<block atomic=\"true\">\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 501.8090286254883,\r
+        "y": 686.4999742507935,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "aa47ad2e.19ee1"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "741f9620.416278",\r
+        "type": "comment",\r
+        "name": "GET parent-service-data from mdsal to check existence of other End point",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 675.000244140625,\r
+        "y": 720.5317516326904,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1599946a.f42bac",\r
+        "type": "for",\r
+        "name": "for pidx..mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[]",\r
+        "xml": "<for index='pidx' start='0' end='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`' >\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1580.685073852539,\r
+        "y": 884.0042290687561,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "ceda6a9c.0a4ec8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dd042947.596178",\r
+        "type": "switchNode",\r
+        "name": "switch mdsal-psd.service-data.provided-allotted-resources_length",\r
+        "xml": "<switch test='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 664.6840972900391,\r
+        "y": 991.7182655334473,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "247c1aa6.c1a456",\r
+                "fbb0b1cd.ea157",\r
+                "74dbd737.e80688"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "247c1aa6.c1a456",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 992.8271179199219,\r
+        "y": 1064.5755395889282,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "9f78b17.958795"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bf10870f.24b968",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1176.9543800354004,\r
+        "y": 923.701548576355,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "1599946a.f42bac",\r
+                "ea370c09.3b25a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ceda6a9c.0a4ec8",\r
+        "type": "switchNode",\r
+        "name": "switch allotted-resource-id",\r
+        "xml": "<switch test=\"`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].allotted-resource-id == $tmp.ar.allotted-resource-id`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2020.796401977539,\r
+        "y": 881.0040311813354,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "be801959.a0ebf8",\r
+                "84824bc9.d75b28"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "be801959.a0ebf8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2193.606616973877,\r
+        "y": 852.4686460494995,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "a1af2e87.6244d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3e8f5d5b.fa5fe2",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 2342.367088317871,\r
+        "y": 909.3257331848145,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "427ccd7c.897854"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "427ccd7c.897854",\r
+        "type": "set",\r
+        "name": "set tmp.pidx and ptx.consumed-ar",\r
+        "xml": "<set>\n<parameter name='tmp.pidx' value='`$pidx`' />\n<parameter name='tmp.provided-ar.' value='`$mdsal-psd.service-data.provided-allotted-resources.provided-allotted-resource[$pidx].`' />\n<parameter name='tmp.found-in-ar' value='true' />\n<parameter name='tmp.ep-available' value='true' />",\r
+        "comments": "",\r
+        "x": 2577.2245140075684,\r
+        "y": 907.8972654342651,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "65595641.ab8308",\r
+        "type": "comment",\r
+        "name": "Check existence of other AR in parent service data",\r
+        "info": "Check if other allotted resource is available.",\r
+        "comments": "",\r
+        "x": 597.9624137878418,\r
+        "y": 885.8929605484009,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fbb0b1cd.ea157",\r
+        "type": "other",\r
+        "name": "outcome 1",\r
+        "xml": "<outcome value='1'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1007.4795875549316,\r
+        "y": 1003.6772232055664,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "248004a9.093adc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9f78b17.958795",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: End points not available\" />\n    \n",\r
+        "comments": "",\r
+        "x": 1152.4794654846191,\r
+        "y": 1063.6774682998657,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "74dbd737.e80688",\r
+        "type": "other",\r
+        "name": "outcome 2",\r
+        "xml": "<outcome value='2'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1002.4794006347656,\r
+        "y": 924.677248954773,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "bf10870f.24b968"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1af2e87.6244d",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2351.590831756592,\r
+        "y": 851.6773891448975,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "84824bc9.d75b28",\r
+        "type": "outcomeTrue",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2200.590473175049,\r
+        "y": 908.677248954773,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "3e8f5d5b.fa5fe2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ea370c09.3b25a",\r
+        "type": "switchNode",\r
+        "name": "switch tmp.found-in-ar",\r
+        "xml": "<switch test='`$tmp.found-in-ar`'>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1389.479377746582,\r
+        "y": 977.4550666809082,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "8b1d9769.993e78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8b1d9769.993e78",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1560.4794120788574,\r
+        "y": 978.5662879943848,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "68fe21b8.c4eab"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "68fe21b8.c4eab",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1709.479507446289,\r
+        "y": 978.5662870407104,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "251f1840.c6f158",\r
+                "549841eb.86ecc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dc9bc603.157798",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2455.5973320007324,\r
+        "y": 994.7951412200928,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "965d8d48.7805f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "75f7d9fa.a34b78",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2447.44913482666,\r
+        "y": 1029.8612260818481,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "4a793fb6.ab4b7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8d42ade.e26d95",\r
+        "type": "switchNode",\r
+        "name": "switch mdsal-psd.service-data.networks_length",\r
+        "xml": "<switch test='`$mdsal-psd.service-data.networks.network_length`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1452.8128814697266,\r
+        "y": 1078.8999071121216,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "d9748223.b24bd",\r
+                "2f9960ae.38ac6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f9960ae.38ac6",\r
+        "type": "other",\r
+        "name": "outcome 1",\r
+        "xml": "<outcome value='1'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1716.812728881836,\r
+        "y": 1058.7886533737183,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "8d657d74.58d7f"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d9748223.b24bd",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1706.8127899169922,\r
+        "y": 1106.7886247634888,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "fad1ef7b.80f8a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fad1ef7b.80f8a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: Incorrect state found more then 1 network\" />\n    \n",\r
+        "comments": "",\r
+        "x": 1845.4651336669922,\r
+        "y": 1108.8903856277466,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5006afab.cadb6",\r
+        "type": "set",\r
+        "name": "set tmp.network.",\r
+        "xml": "<set>\n<parameter name='tmp.network.' value='`$mdsal-psd.service-data.networks.network[0].`' />\n\n\n",\r
+        "comments": "",\r
+        "x": 2078.2575874328613,\r
+        "y": 1059.7888231277466,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "248004a9.093adc",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1174.9238967895508,\r
+        "y": 1002.7884902954102,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "8d42ade.e26d95"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8d657d74.58d7f",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1875.5904998779297,\r
+        "y": 1061.7884874343872,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "5006afab.cadb6",\r
+                "7723439d.bbc16c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7723439d.bbc16c",\r
+        "type": "for",\r
+        "name": "for nidx..tmp.network.network-data.network-request-input.network...[]",\r
+        "xml": "<for index='nidx' start='0' end='`$tmp.network.network-data.network-request-input.network-input-parameters.param_length`' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2238.5905380249023,\r
+        "y": 1107.7886419296265,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "86fce2c3.6fc9d"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "86fce2c3.6fc9d",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2285.1466064453125,\r
+        "y": 1338.7884511947632,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "e105a5a2.2f7b98",\r
+                "9c142ff7.067fe",\r
+                "470eb4bc.6d184c",\r
+                "c871a6bc.0143b8",\r
+                "7b6d81b.a5ab68",\r
+                "dec5f89d.21ec28",\r
+                "a76964d2.4b9b68",\r
+                "dffaf7ff.147ed8",\r
+                "115d9d26.3e7bf3",\r
+                "a00f1f4a.4aa95"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e105a5a2.2f7b98",\r
+        "type": "switchNode",\r
+        "name": "switch access-node-id",\r
+        "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'access-node-id'`\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2561.65682220459,\r
+        "y": 1180.799198627472,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "b1b8c2c9.c3461"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b1b8c2c9.c3461",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2750.656448364258,\r
+        "y": 1182.799063205719,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "3f017ee2.db2552"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3f017ee2.db2552",\r
+        "type": "set",\r
+        "name": "set tmp.found-in-network tmp.ep-available",\r
+        "xml": "<set>\n<parameter name='tmp.found-in-network' value='true' />\n<parameter name='tmp.ep-available' value='true' />",\r
+        "comments": "",\r
+        "x": 3003.656623840332,\r
+        "y": 1182.399109363556,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9c142ff7.067fe",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 2535.6462745666504,\r
+        "y": 1554.788489818573,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f53c2230.a7af7",\r
+        "type": "switchNode",\r
+        "name": "switch tmp.ep-available",\r
+        "xml": "<switch test='`$tmp.ep-available`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 527.8126983642578,\r
+        "y": 1187.2328004837036,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "847cd254.11771",\r
+                "4bd705da.fbac0c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4bd705da.fbac0c",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 746.4794178009033,\r
+        "y": 1236.5661573410034,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "78f22b09.6eaaa4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "847cd254.11771",\r
+        "type": "outcomeTrue",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 751.3682193756104,\r
+        "y": 1145.5662183761597,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "7cd85d88.d7ff24"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7cd85d88.d7ff24",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 898.3682155609131,\r
+        "y": 1147.4550313949585,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "78f22b09.6eaaa4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 916.5905055999756,\r
+        "y": 1234.5661153793335,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "702cd8ea.493bf8",\r
+                "ce13182f.f335c8",\r
+                "42d59123.90775"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "702cd8ea.493bf8",\r
+        "type": "switchNode",\r
+        "name": "switch tmp.found-in-ar",\r
+        "xml": "<switch test='`$tmp.found-in-ar`'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1142.7015190124512,\r
+        "y": 1201.5661153793335,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "59a7ccc9.66c004",\r
+                "482c54c8.82d1fc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "59a7ccc9.66c004",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1338.1459655761719,\r
+        "y": 1179.5661764144897,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "e04463db.e3c67"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "482c54c8.82d1fc",\r
+        "type": "outcomeTrue",\r
+        "name": "false",\r
+        "xml": "<outcome value='false'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1335.1458740234375,\r
+        "y": 1227.5661611557007,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "9233120c.931c3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "e04463db.e3c67",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1525.7016296386719,\r
+        "y": 1176.5661764144897,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "3473260a.97afba"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9233120c.931c3",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1522.7015380859375,\r
+        "y": 1226.5661611557007,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "e4df70f8.b836a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6528c05d.2ba6d",\r
+        "type": "comment",\r
+        "name": "GET connection-attachment-ar to store AR data from mdsal",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2020.4725914001465,\r
+        "y": 452.50394678115845,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3af289a7.e9a336",\r
+        "type": "comment",\r
+        "name": "Set source end point",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 509.9724884033203,\r
+        "y": 541.2539668083191,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cff1f9f1.a56e28",\r
+        "type": "set",\r
+        "name": "set tmp.ar.parent-service-instance-id",\r
+        "xml": "<set>\n<parameter name='tmp.ar.parent-service-instance-id' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.parent-service-instance-id` \" />\n\n",\r
+        "comments": "",\r
+        "x": 575.4687042236328,\r
+        "y": 761.0000896453857,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1d25b8f7.cfcd87",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 935.4688568115234,\r
+        "y": 832.0000762939453,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "da5c7fe.8a1128"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f1fd4bf.dca39c",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 927.3206596374512,\r
+        "y": 867.0661611557007,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "961aa14.d3aaa6"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "961aa14.d3aaa6",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: Parent service data not available\" />\n    \n",\r
+        "comments": "",\r
+        "x": 1073.469440460205,\r
+        "y": 866.3335723876953,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "da5c7fe.8a1128",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1066.468952178955,\r
+        "y": 832.0001373291016,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "4a793fb6.ab4b7",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n    <parameter name=\"error-message\" value=\"Error: SOTN provided attachment resource not found\" />\n    \n",\r
+        "comments": "",\r
+        "x": 2597.4691848754883,\r
+        "y": 1030.0002641677856,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "965d8d48.7805f",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2582.469306945801,\r
+        "y": 997.0002489089966,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "e801191.dd549e8",\r
+        "type": "set",\r
+        "name": "set tmp.found-in-ar tmp.found-in-network tmp.ep-available to false",\r
+        "xml": "<set>\n<parameter name='tmp.found-in-ar' value='false' />\n<parameter name='tmp.found-in-network' value='false' />\n<parameter name='tmp.ep-available' value='false' />",\r
+        "comments": "",\r
+        "x": 661.4686431884766,\r
+        "y": 934.0000638961792,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e8347ae1.b06d68",\r
+        "type": "comment",\r
+        "name": "If other EP exists set destination end point",\r
+        "info": "Check if other allotted resource is available.",\r
+        "comments": "",\r
+        "x": 563.9685211181641,\r
+        "y": 1101.000012397766,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "32309aad.dc4a36",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1318.468765258789,\r
+        "y": 1439.0002937316895,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "1c444b96.94ce94",\r
+                "9787f92e.e7a0a8",\r
+                "5973e9be.996c78",\r
+                "3648deeb.22cb92",\r
+                "9991696c.24c968",\r
+                "ead2dbb.da50128",\r
+                "1de89b8b.ae1fe4",\r
+                "28391843.34c238"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1c444b96.94ce94",\r
+        "type": "switchNode",\r
+        "name": "switch access-node-id",\r
+        "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-node-id'`\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1560.9790668487549,\r
+        "y": 1309.0106902122498,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "453231ca.78fc5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9787f92e.e7a0a8",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 1533.9690189361572,\r
+        "y": 1614.000653743744,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5973e9be.996c78",\r
+        "type": "switchNode",\r
+        "name": "switch access-ltp-id",\r
+        "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-ltp-id'`\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1552.4688968658447,\r
+        "y": 1352.7782216072083,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "ae90dd46.3da8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3648deeb.22cb92",\r
+        "type": "switchNode",\r
+        "name": "switch clientSignal",\r
+        "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'clientSignal'`\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1546.4689350128174,\r
+        "y": 1398.7782683372498,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "c5571a75.670ac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9991696c.24c968",\r
+        "type": "switchNode",\r
+        "name": "switch cVLAN",\r
+        "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'cVLAN'`\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1530.4584369659424,\r
+        "y": 1437.7677702903748,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "9082d877.8426d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "453231ca.78fc5",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1738.6909809112549,\r
+        "y": 1309.6670622825623,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "9276313d.ff195"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9276313d.ff195",\r
+        "type": "set",\r
+        "name": "set dst-access-node-id",\r
+        "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$tmp.ep.parameters.param[$idx].value`' />",\r
+        "comments": "",\r
+        "x": 1913.6909809112549,\r
+        "y": 1309.2670373916626,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ae90dd46.3da8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1734.1808490753174,\r
+        "y": 1352.4345183372498,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "f3a1ad87.cb17a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c5571a75.670ac8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1734.1808490753174,\r
+        "y": 1398.4345183372498,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "eafcae3e.34cbe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9082d877.8426d8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1734.1703510284424,\r
+        "y": 1437.4241423606873,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "38d388af.749418"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ce13182f.f335c8",\r
+        "type": "for",\r
+        "name": "for idx..tmp.ep.parameters[]",\r
+        "xml": "<for index='idx' start='0' end='`$tmp.ep.parameters.param_length`'>\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1171.4686279296875,\r
+        "y": 1326.9999990463257,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "32309aad.dc4a36"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "3473260a.97afba",\r
+        "type": "set",\r
+        "name": "set tmp.ep.parameters",\r
+        "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$mdsal-other-ar.connection-attachment-allotted-resource[0].allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.`' />\n",\r
+        "comments": "",\r
+        "x": 1737.4686832427979,\r
+        "y": 1176.0000734329224,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e4df70f8.b836a",\r
+        "type": "set",\r
+        "name": "set tmp.ep.parameters",\r
+        "xml": "<set>\n<parameter name='tmp.ep.parameters.' value='`$tmp.network.network-data.network-request-input.network-input-parameters.`' />\n",\r
+        "comments": "",\r
+        "x": 1734.4685916900635,\r
+        "y": 1222.0000581741333,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f3a1ad87.cb17a",\r
+        "type": "set",\r
+        "name": "set dst-access-node-id",\r
+        "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$tmp.ep.parameters.param[$idx].value`' />",\r
+        "comments": "",\r
+        "x": 1911.4688129425049,\r
+        "y": 1352.0003142356873,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "eafcae3e.34cbe",\r
+        "type": "set",\r
+        "name": "set dst-clientSignal",\r
+        "xml": "<set>\n<parameter name='prop.remote.connection-attachment.clientSignal' value='`$tmp.ep.parameters.param[$idx].value`' />",\r
+        "comments": "",\r
+        "x": 1905.4688129425049,\r
+        "y": 1396.0003142356873,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "38d388af.749418",\r
+        "type": "set",\r
+        "name": "set dst-cVLAN",\r
+        "xml": "<set>\n<parameter name='prop.remote.connection-attachment.cVLAN' value='`$tmp.ep.parameters.param[$idx].value`' />",\r
+        "comments": "",\r
+        "x": 1896.4688129425049,\r
+        "y": 1435.0003142356873,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "16fadb68.da33b5",\r
+        "type": "comment",\r
+        "name": "Get controller info and send request",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1736.5,\r
+        "y": 1939.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "301d4a69.a91c16",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 750.2310523986816,\r
+        "y": 2129.9537076950073,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "58a1647f.bc22bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "58a1647f.bc22bc",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"AAI failed\" />\n",\r
+        "comments": "",\r
+        "x": 916.7548732757568,\r
+        "y": 2156.572714805603,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c19471ac.c730b",\r
+        "type": "failure",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 752.3262805938721,\r
+        "y": 2177.7155504226685,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "58a1647f.bc22bc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "708117e5.cf3178",\r
+        "type": "comment",\r
+        "name": "Save Resource to AAI",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 509.77857398986816,\r
+        "y": 2107.3028707504272,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "8cebe888.0f36b8",\r
+        "type": "set",\r
+        "name": "set output to api handler",\r
+        "xml": "<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='connection-attachment-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $connection-attachment-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",\r
+        "comments": "",\r
+        "x": 539.0463924407959,\r
+        "y": 2039.8283519744873,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "fc04a841.669f18",\r
+        "type": "returnSuccess",\r
+        "name": "return success",\r
+        "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
+        "comments": "",\r
+        "x": 499.4595642089844,\r
+        "y": 2225.444140434265,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "9c164258.b89ac",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode - PUT AR by id",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.sotn-attachment.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 591.7784748077393,\r
+        "y": 1964.469204902649,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "835eb842.099b48",\r
+                "2f2f8f6f.269b1",\r
+                "d5209fa7.88bcb"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "835eb842.099b48",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 846.4198970794678,\r
+        "y": 2008.8005990982056,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "142acad1.a7ff95"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2f2f8f6f.269b1",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 848.4199199676514,\r
+        "y": 1967.3005632385612,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "142acad1.a7ff95"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d5209fa7.88bcb",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 852.1700038909912,\r
+        "y": 1918.6577157974243,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "68e4ac49.a93174"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "142acad1.a7ff95",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error updating md-sal for connection-attachment-allotted-resource\" />\n",\r
+        "comments": "",\r
+        "x": 1007.1700229644775,\r
+        "y": 1987.0506296157837,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "68e4ac49.a93174",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 979.82594871521,\r
+        "y": 1920.8498840332031,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "c7e83767.1962b8",\r
+        "type": "set",\r
+        "name": "set ar-data",\r
+        "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-status.action' value=\"`$connection-attachment-topology-operation-input.request-information.request-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-name' value=\"connection-attachment-topology-operation\" />\n<parameter name='connection-attachment-ar.allotted-resource-status.rpc-action' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$connection-attachment-topology-operation-input.request-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$connection-attachment-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$connection-attachment-topology-operation-input.service-information.` \" />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.` \" />",\r
+        "comments": "",\r
+        "x": 493.9920902252197,\r
+        "y": 1798.8501060009003,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "46437a86.852124",\r
+        "type": "execute",\r
+        "name": "execute getTime",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n    <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 511.27793312072754,\r
+        "y": 1871.4697036743164,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "755ed1f3.fd5e1",\r
+        "type": "set",\r
+        "name": "set allotted-resource-oper-status",\r
+        "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='Active' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$connection-attachment-topology-operation-input.request-information.request-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$connection-attachment-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='connection-attachment-ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",\r
+        "comments": "",\r
+        "x": 561.2650127410889,\r
+        "y": 1908.420783996582,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "cce9c4ca.7b8858",\r
+        "type": "set",\r
+        "name": "set model-data",\r
+        "xml": "<set>\n<parameter name='connection-attachment-ar.allotted-resource-data.connection-attachment-topology.onap-model-information.' value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.` \" />",\r
+        "comments": "",\r
+        "x": 507.83363151550293,\r
+        "y": 1838.0247564315796,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f294fd58.b71aa",\r
+        "type": "comment",\r
+        "name": "Prepare data for allotted-resource addition to MDSAL",\r
+        "info": "This will add to allotted-resource which is present inside service.",\r
+        "comments": "",\r
+        "x": 606.666971206665,\r
+        "y": 1748.0247085094452,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "d0dd0868.62b7f8",\r
+        "type": "comment",\r
+        "name": "Add to allotted-resources in mdsal",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 548.2467975616455,\r
+        "y": 1715.4380102157593,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "55e9e37.ce7981c",\r
+        "type": "update",\r
+        "name": "update AAI allotted-resource",\r
+        "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $connection-attachment-topology-operation-input.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $connection-attachment-topology-operation-input.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $connection-attachment-topology-operation-input.service-information.service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n        pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"description\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.allotted-resource-type`\" />\n\t<parameter name=\"selflink\" value=\"`$tmp.ar.self-link`\" />\n\t<parameter name=\"model-invariant-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-invariant-uuid`\" />\n\t<parameter name=\"model-version-id\" value=\"`$connection-attachment-topology-operation-input.allotted-resource-information.onap-model-information.model-uuid`\" />\n\t<parameter name=\"operational-status\" value=\"Active\" />\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 550.7229747772217,\r
+        "y": 2155.7550134658813,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "301d4a69.a91c16",\r
+                "c19471ac.c730b"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f1aaec6d.a3626",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode getPath from OOF",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.oof-getpath.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.oof.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.oof.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"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": 1359.4729347229004,\r
+        "y": 1718.2546653747559,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "af15ec6e.a82fc",\r
+                "6cd7d919.bfcce8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "af15ec6e.a82fc",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1599.4730758666992,\r
+        "y": 1742.2546348571777,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "cc641f45.d8576"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a1670fc8.9985a",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing OOF api\" />\n",\r
+        "comments": "",\r
+        "x": 1738.4731101989746,\r
+        "y": 1691.254726409912,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6cd7d919.bfcce8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1598.4728622436523,\r
+        "y": 1691.2547254562378,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "a1670fc8.9985a"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "691b56c8.1d0978",\r
+        "type": "comment",\r
+        "name": "Get VPNs from OOF",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1330.976734161377,\r
+        "y": 1674.2586650848389,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f0f701e7.65ce3",\r
+        "type": "for",\r
+        "name": "for vidx..oof.vpns_length[]",\r
+        "xml": "<for index='vidx' start='0' end='`$oof.vpns_length`' >",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1299.4727783203125,\r
+        "y": 1800.5043935775757,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "5d2b8bd5.68b4d4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2d912679.d5bf8a",\r
+        "type": "comment",\r
+        "name": "Loop through VPN and configure them",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1330.9731063842773,\r
+        "y": 1924.004771232605,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "470eb4bc.6d184c",\r
+        "type": "switchNode",\r
+        "name": "switch name",\r
+        "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'name'`\">\n                \n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2539.2569580078125,\r
+        "y": 1272.1218252182007,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "5a944da.7069fb4"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a944da.7069fb4",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2728.2569274902344,\r
+        "y": 1272.1218104362488,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "20c4a13a.86cbee"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "20c4a13a.86cbee",\r
+        "type": "set",\r
+        "name": "set etht-svc-name & bandwidth-profile-name",\r
+        "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name='ietf-eth-tran-service:etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].ingress-egress-bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n<parameter name='ietf-eth-tran-service:etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].ingress-egress-bandwidth-profile-name' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />",\r
+        "comments": "",\r
+        "x": 2969.2572441101074,\r
+        "y": 1271.7218651771545,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "c871a6bc.0143b8",\r
+        "type": "switchNode",\r
+        "name": "switch description",\r
+        "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'description'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2552.096836090088,\r
+        "y": 1307.1219201087952,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "81ef29bd.59d398"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "81ef29bd.59d398",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2727.0969009399414,\r
+        "y": 1309.1219058036804,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "7539507e.b6dca"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7539507e.b6dca",\r
+        "type": "set",\r
+        "name": "set etht-svc-descr",\r
+        "xml": "<set>\n<parameter name='prop.global.sotn.etht-svc-descr' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
+        "comments": "",\r
+        "x": 2883.43021774292,\r
+        "y": 1306.582980632782,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "7b6d81b.a5ab68",\r
+        "type": "switchNode",\r
+        "name": "switch tenantId",\r
+        "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'tenantId'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2547.4790992736816,\r
+        "y": 1340.455310344696,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "26460ef1.c345e2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "26460ef1.c345e2",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2725.479103088379,\r
+        "y": 1344.4551882743835,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "631daf90.b15a7"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "631daf90.b15a7",\r
+        "type": "set",\r
+        "name": "set tenantId",\r
+        "xml": "<set>\n<parameter name='prop.global.sotn.tenantId' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
+        "comments": "",\r
+        "x": 2863.479290008545,\r
+        "y": 1341.055163860321,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a76964d2.4b9b68",\r
+        "type": "switchNode",\r
+        "name": "switch cir",\r
+        "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'cir'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2530.3186988830566,\r
+        "y": 1413.4552655220032,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "8dcd1765.bbf1a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8dcd1765.bbf1a8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2725.31876373291,\r
+        "y": 1414.4552655220032,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "baa8e616.d85108"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "baa8e616.d85108",\r
+        "type": "set",\r
+        "name": "set cir",\r
+        "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].CIR' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />",\r
+        "comments": "",\r
+        "x": 2849.6522636413574,\r
+        "y": 1412.9163403511047,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dec5f89d.21ec28",\r
+        "type": "switchNode",\r
+        "name": "switch vpnType",\r
+        "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'vpnType'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2544.6269874572754,\r
+        "y": 1376.2329754829407,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "dbef898b.5a04d8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "dbef898b.5a04d8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2726.6271743774414,\r
+        "y": 1379.2329602241516,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "bccd7b78.4d84c8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bccd7b78.4d84c8",\r
+        "type": "set",\r
+        "name": "set vpnType",\r
+        "xml": "<set>\n<parameter name='prop.global.sotn.vpnType' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
+        "comments": "",\r
+        "x": 2865.9609375,\r
+        "y": 1375.6942129135132,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "dffaf7ff.147ed8",\r
+        "type": "switchNode",\r
+        "name": "switch eir",\r
+        "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'eir'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2525.609043121338,\r
+        "y": 1447.1531729698181,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "1816402d.acc71"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1816402d.acc71",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2725.60929107666,\r
+        "y": 1450.1531119346619,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "9a8734c7.d242a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9a8734c7.d242a8",\r
+        "type": "set",\r
+        "name": "set eir",\r
+        "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].EIR' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />",\r
+        "comments": "",\r
+        "x": 2848.94291305542,\r
+        "y": 1449.6141715049744,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "115d9d26.3e7bf3",\r
+        "type": "switchNode",\r
+        "name": "switch colorAware",\r
+        "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'colorAware'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2550.6096534729004,\r
+        "y": 1481.15305185318,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "7a3ef206.eac13c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7a3ef206.eac13c",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2721.609474182129,\r
+        "y": 1487.1529903411865,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "b70d496a.5ddb78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b70d496a.5ddb78",\r
+        "type": "set",\r
+        "name": "set colorAware",\r
+        "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].color-aware' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />",\r
+        "comments": "",\r
+        "x": 2869.9427909851074,\r
+        "y": 1487.6142029762268,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a00f1f4a.4aa95",\r
+        "type": "switchNode",\r
+        "name": "switch couplingFlag",\r
+        "xml": "<switch test=\"`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].name == 'couplingFlag'`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2552.609592437744,\r
+        "y": 1517.1531138420105,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "d142d3b7.6ab09"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "d142d3b7.6ab09",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2724.609474182129,\r
+        "y": 1526.1530833244324,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "bd3153ab.0a327"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "bd3153ab.0a327",\r
+        "type": "set",\r
+        "name": "set couplingFlag",\r
+        "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].coupling-flag' value='`$tmp.network.network-data.network-request-input.network-input-parameters.param[$nidx].value`' />\n",\r
+        "comments": "",\r
+        "x": 2877.9427909851074,\r
+        "y": 1526.6142039299011,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "6c12cf01.2131c",\r
+        "type": "comment",\r
+        "name": "Check if other EP exists in SOTNConnectionResource",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2669.3125,\r
+        "y": 1124.7884511947632,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "99d96253.bd948",\r
+        "type": "comment",\r
+        "name": "Get other global parameters from network",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 2605.312255859375,\r
+        "y": 1210.7884511947632,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ead2dbb.da50128",\r
+        "type": "switchNode",\r
+        "name": "switch access-provider-id",\r
+        "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-provider-id'`\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1568.0347309112549,\r
+        "y": 1483.2329802513123,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "890e21ce.aabcf"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "890e21ce.aabcf",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1755.0347309112549,\r
+        "y": 1479.2329802513123,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "efb43d68.4d0dc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "efb43d68.4d0dc",\r
+        "type": "set",\r
+        "name": "set access-provider-id",\r
+        "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",\r
+        "comments": "",\r
+        "x": 1923.0347309112549,\r
+        "y": 1479.8329863548279,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "1de89b8b.ae1fe4",\r
+        "type": "switchNode",\r
+        "name": "switch access-client-id",\r
+        "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-client-id'`\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1559.034746170044,\r
+        "y": 1526.2434287071228,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "338021e9.e44afe"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "338021e9.e44afe",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1746.034746170044,\r
+        "y": 1522.2434287071228,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "7c6aa850.28a988"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "7c6aa850.28a988",\r
+        "type": "set",\r
+        "name": "set access-client-id",\r
+        "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",\r
+        "comments": "",\r
+        "x": 1914.034746170044,\r
+        "y": 1522.8434348106384,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "28391843.34c238",\r
+        "type": "switchNode",\r
+        "name": "switch access-topology-id",\r
+        "xml": "<switch test=\"`$tmp.ep.parameters.param[$idx].name == 'access-topology-id'`\">",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1572.0346908569336,\r
+        "y": 1568.243459701538,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "b4d675ca.5b6ad8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "b4d675ca.5b6ad8",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1759.0346908569336,\r
+        "y": 1564.243459701538,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "fc323cd8.740fd"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fc323cd8.740fd",\r
+        "type": "set",\r
+        "name": "set access-topology-id",\r
+        "xml": "<set>\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$tmp.ep.parameters.param[$idx].value`' />\n",\r
+        "comments": "",\r
+        "x": 1927.0346908569336,\r
+        "y": 1564.8434658050537,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5d2b8bd5.68b4d4",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1392,\r
+        "y": 2219.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "558b1788.84f928",\r
+                "e3c138d5.699fb8",\r
+                "f9bc1226.8fbd4",\r
+                "da01646a.3c6258",\r
+                "44291211.776dfc",\r
+                "3d211e6e.0978a2",\r
+                "ad5fec05.7fe24",\r
+                "b291bc09.341f8",\r
+                "ff79c756.7c8268",\r
+                "968f06ac.a3c588",\r
+                "f677be49.bd949",\r
+                "51f13ce4.5572f4",\r
+                "8409f905.b1b958"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "11f32b12.47cdd5",\r
+        "type": "set",\r
+        "name": "set controller data",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value=\"`$tmp.aai.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n",\r
+        "comments": "",\r
+        "x": 2144.5,\r
+        "y": 1939.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "b291bc09.341f8",\r
+        "type": "get-resource",\r
+        "name": "get-resource esr-thirdparty-sdnc",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.thirdparty-sdnc-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.esr-thirdparty-sdnc' local-only='false' >\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1728.5,\r
+        "y": 1979.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "80d78dba.97bcb",\r
+                "4ce354f7.2d687c",\r
+                "c3caaad8.698c48"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "80d78dba.97bcb",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1974.5,\r
+        "y": 1939.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "11f32b12.47cdd5"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4ce354f7.2d687c",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1978.5,\r
+        "y": 1979.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "4c6d9850.53db08"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c3caaad8.698c48",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1970.5,\r
+        "y": 2019.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "f9f72f2b.1b4fc"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4c6d9850.53db08",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 2128.5,\r
+        "y": 1979.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "f9f72f2b.1b4fc",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying esr-thirdparty-sdnc from AnAI with thirdparty-sdnc-id = ' + $tmp.thirdparty-sdnc-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 2128.5,\r
+        "y": 2019.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ad5fec05.7fe24",\r
+        "type": "get-resource",\r
+        "name": "get-resource pnf",\r
+        "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $oof.vpn.access-node-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.pnf' local-only='false' >\n\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1680,\r
+        "y": 1859.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "1d72a12f.fe6a2f",\r
+                "193e4330.27658d",\r
+                "f33105ee.d40068"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "1d72a12f.fe6a2f",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1974.5,\r
+        "y": 1819.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "5a57731d.d86b9c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "193e4330.27658d",\r
+        "type": "not-found",\r
+        "name": "not-found",\r
+        "xml": "<outcome value='not-found'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1978.5,\r
+        "y": 1859.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "9cd7dd7e.3b197"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "f33105ee.d40068",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1970.5,\r
+        "y": 1899.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "64060034.5c7ab"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "9cd7dd7e.3b197",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 2128.5,\r
+        "y": 1859.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "64060034.5c7ab",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
+        "comments": "",\r
+        "x": 2128.5,\r
+        "y": 1899.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "5a57731d.d86b9c",\r
+        "type": "set",\r
+        "name": "set tmp.thirdparty-sdnc-id",\r
+        "xml": "<set>\n<parameter name='tmp.thirdparty-sdnc-id' value=\"`$tmp.aai.pnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\" />\n",\r
+        "comments": "",\r
+        "x": 2168,\r
+        "y": 1819.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "a8e87a1c.5dd4d8",\r
+        "type": "comment",\r
+        "name": "get domain controller information",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1727,\r
+        "y": 1819.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ff79c756.7c8268",\r
+        "type": "set",\r
+        "name": "set oof.vpn",\r
+        "xml": "<set>\n<parameter name='oof.vpn.' value='`$oof.vpns[$vidx].`' />",\r
+        "comments": "",\r
+        "x": 1663.5,\r
+        "y": 1779.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "e3c138d5.699fb8",\r
+        "type": "save",\r
+        "name": "save VPN resource in AAI",\r
+        "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.vpnName' >\n<parameter name='vpn-id' value='`$tmp.vpnName`' />\n<parameter name='vpn-name' value='`$tmp.vpnName`' />\n<parameter name='access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='src-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='dst-access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\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`' />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1710,\r
+        "y": 2339.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f9bc1226.8fbd4",\r
+        "type": "set",\r
+        "name": "set tmp.vpnName",\r
+        "xml": "<set>\n<parameter name='tmp.vpnName' value=\"`$oof.vpn.access-node-id + '-' + $ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-name`\" />",\r
+        "comments": "",\r
+        "x": 1684,\r
+        "y": 2299.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "da01646a.3c6258",\r
+        "type": "save",\r
+        "name": "save connectivity relationship in AAI",\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=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $mdsal-psd.service-data.networks.network[0].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=\"`$mdsal-psd.service-data.networks.network[0].network-id`\" />",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1740.5,\r
+        "y": 2379.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "558b1788.84f928",\r
+        "type": "set",\r
+        "name": "set src-ltpId dst-ltpId",\r
+        "xml": "<set>\n<parameter name='src-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.src-access-ltp-id`\" />\n<parameter name='dst-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.dst-access-ltp-id`\" />",\r
+        "comments": "",\r
+        "x": 1692,\r
+        "y": 2419.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "44291211.776dfc",\r
+        "type": "save",\r
+        "name": "save srcLTP relationship in AAI",\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": 1725.5,\r
+        "y": 2459.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "3d211e6e.0978a2",\r
+        "type": "save",\r
+        "name": "save dstLTP relationship in AAI",\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": 1725.5,\r
+        "y": 2499.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "b2d7beb8.50e79",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 717.5038146972656,\r
+        "y": 621.0039110183716,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "cc101fab.4516e",\r
+                "687f563.00b84a8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c2e744b7.2f7498",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode - get-resource parent service data",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url-psd`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-psd\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 644.5039672851562,\r
+        "y": 848.0040740966797,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "1d25b8f7.cfcd87",\r
+                "2f1fd4bf.dca39c"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c7b09f9c.c261d",\r
+        "type": "execute",\r
+        "name": "get parent-service-data url",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-url-psd\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.ar.parent-service-instance-id`\"/>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 544.5038757324219,\r
+        "y": 811.0039072036743,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "251f1840.c6f158",\r
+        "type": "execute",\r
+        "name": "generate tmp.ar-other-url-connection",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.connection-attachment-allottedresource`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ar-other-url-connection\"/>\n    <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.provided-ar.allotted-resource-id`\"/>\n    \n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1958.500228881836,\r
+        "y": 967.3334684371948,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "549841eb.86ecc",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode - get-resource connection-attachment-allotted-resource",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-other-url-connection`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='GET' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-other-ar\" />\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2095.5008697509766,\r
+        "y": 1009.8333330154419,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "dc9bc603.157798",\r
+                "75f7d9fa.a34b78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "cc641f45.d8576",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1720.5001487731934,\r
+        "y": 1733.0001182556152,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "42d59123.90775",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "outputs": 1,\r
+        "x": 1097.4687614440918,\r
+        "y": 1758.0003023147583,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "f1aaec6d.a3626",\r
+                "f0f701e7.65ce3"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "de760411.78f278",\r
+        "type": "outcome",\r
+        "name": "outcome PendingDelete",\r
+        "xml": "<outcome value='PendingDelete'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2171.531219482422,\r
+        "y": 573.0312967300415,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "ae12c3e3.17f33"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "ae12c3e3.17f33",\r
+        "type": "block",\r
+        "name": "block",\r
+        "xml": "<block>\n",\r
+        "atomic": "false",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2355.5312309265137,\r
+        "y": 569.0312967300415,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "f677be49.bd949",\r
+        "type": "set",\r
+        "name": "set attachment_param",\r
+        "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-ltp-id' value='`$oof.vpn.dst-access-ltp-id`' />\n\n",\r
+        "comments": "",\r
+        "x": 1698.5,\r
+        "y": 2179.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "968f06ac.a3c588",\r
+        "type": "set",\r
+        "name": "set sotn_value",\r
+        "xml": "<set>\n<parameter name='ietf-eth-tran-service_etht-svc.globals.etht-svc-bandwidth-profiles[0].bandwidth-profile-type' value='ietf-eth-tran-types:mef-10-bwp' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-type' value='ietf-eth-tran-types:p2p-svc' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].admin-status' value='ietf-te-types:tunnel-state-up' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].access-port-id' value='0' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[0].service-classification-type' value='ietf-eth-tran-types:port-classification' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].access-port-id' value='1' />\n<parameter name='ietf-eth-tran-service_etht-svc.etht-svc-instances[0].etht-svc-access-ports[1].service-classification-type' value='ietf-eth-tran-types:port-classification' />",\r
+        "comments": "",\r
+        "x": 1674,\r
+        "y": 2139.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "51f13ce4.5572f4",\r
+        "type": "execute",\r
+        "name": "execute RestApiCallNode Get token",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/actokentemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/controller/v2/tokens'`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"token-result\"/>\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\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1741,\r
+        "y": 2079.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "4c647719.273c38",\r
+                "8bcc471b.d27148"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "4c647719.273c38",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1974.5,\r
+        "y": 2059.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "3ea7de86.e655e2"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8bcc471b.d27148",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1970.5,\r
+        "y": 2099.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "6576cfae.4e38"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "6576cfae.4e38",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing get token rest api\" />\n",\r
+        "comments": "",\r
+        "x": 2128.5,\r
+        "y": 2099.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "3ea7de86.e655e2",\r
+        "type": "set",\r
+        "name": "set token-id",\r
+        "xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.data.token_id`' />\n",\r
+        "comments": "",\r
+        "x": 2125,\r
+        "y": 2059.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "2e5fde4b.379992",\r
+        "type": "execute",\r
+        "name": "execute RestconfApiCallNode Create ethernet Service with token",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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": 2251,\r
+        "y": 2239.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "2999e04e.bf614",\r
+                "ac50d499.0a7ac8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "2999e04e.bf614",\r
+        "type": "success",\r
+        "name": "success",\r
+        "xml": "<outcome value='success'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2594.5,\r
+        "y": 2239.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "c3a8f950.46bbb8"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "c3a8f950.46bbb8",\r
+        "type": "block",\r
+        "name": "block : atomic",\r
+        "xml": "<block atomic=\"true\">",\r
+        "atomic": "true",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2752,\r
+        "y": 2239.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            []\r
+        ]\r
+    },\r
+    {\r
+        "id": "a85733e7.5f14",\r
+        "type": "returnFailure",\r
+        "name": "return failure",\r
+        "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing Create vpn rest api\" />\n",\r
+        "comments": "",\r
+        "x": 2748.5,\r
+        "y": 2199.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    },\r
+    {\r
+        "id": "ac50d499.0a7ac8",\r
+        "type": "failure",\r
+        "name": "failure",\r
+        "xml": "<outcome value='failure'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2590.5,\r
+        "y": 2199.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "a85733e7.5f14"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "8409f905.b1b958",\r
+        "type": "switchNode",\r
+        "name": "switch prop.sdncRestApi.token_id",\r
+        "xml": "<switch test=\"`$prop.sdncRestApi.token_id`\">\n\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1734,\r
+        "y": 2219.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "92b81083.05be9",\r
+                "5a6898a5.b1b498"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "92b81083.05be9",\r
+        "type": "other",\r
+        "name": "Null",\r
+        "xml": "<outcome value=''>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1946.8438301086426,\r
+        "y": 2199.6670331954956,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "a62b7bca.977d88"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "5a6898a5.b1b498",\r
+        "type": "other",\r
+        "name": "other",\r
+        "xml": "<outcome value='Other'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1950.5,\r
+        "y": 2239.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "2e5fde4b.379992"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "a62b7bca.977d88",\r
+        "type": "execute",\r
+        "name": "execute RestconfApiCallNode Create ethernet Service without token",\r
+        "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfapicall.RestconfApiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-eth-tran-service:etht-svc'`\" />\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=\"patch\"/>\n<parameter name='dirPath' value=\"/opt/sdnc/restapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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\"/>",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 2261,\r
+        "y": 2199.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": [\r
+            [\r
+                "ac50d499.0a7ac8",\r
+                "2999e04e.bf614"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "61db4e39.8fc44",\r
+        "type": "comment",\r
+        "name": "save vpn and its relation to AAI",\r
+        "info": "",\r
+        "comments": "",\r
+        "x": 1722,\r
+        "y": 2259.5451345443726,\r
+        "z": "3660ec4d.8a3b84",\r
+        "wires": []\r
+    }\r
+]
\ No newline at end of file