+[\r
+ {\r
+ "id": "c7ab28db.5fa9f8",\r
+ "type": "dgstart",\r
+ "name": "DGSTART",\r
+ "outputs": 1,\r
+ "x": 108,\r
+ "y": 69,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "b4f2bafa.fe95a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b4f2bafa.fe95a",\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": 392.2856903076172,\r
+ "y": 130.23810863494873,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "5dd33274.e7d4cc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5dd33274.e7d4cc",\r
+ "type": "method",\r
+ "name": "method tsli-vnf-topology-operation-trans-slice-allocate",\r
+ "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-allocate' mode='sync'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 398.42860412597656,\r
+ "y": 215.00003051757812,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "28d22516.fc87aa"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "28d22516.fc87aa",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 768.238037109375,\r
+ "y": 239.66668701171875,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "7c0b6069.496758",\r
+ "11269eb9.b73d59",\r
+ "b98a68a9.509cb8",\r
+ "18445def.73c80a",\r
+ "703f0f3.2526ff",\r
+ "d4cb43.708284c",\r
+ "9006694b.0db0e8",\r
+ "e3c7ee55.46e6f8",\r
+ "efeb4f56.d9cc7",\r
+ "4948ae3d.2fb728",\r
+ "e0ae06d.cc68bf8",\r
+ "fd6957d.13c0a28",\r
+ "8c69784a.6fe62",\r
+ "e181a758.620248"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "11269eb9.b73d59",\r
+ "type": "set",\r
+ "name": "set vnf-level-oper-status to Created",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",\r
+ "comments": "",\r
+ "x": 1190.3848495483398,\r
+ "y": 603.6706197531894,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "7c0b6069.496758",\r
+ "type": "set",\r
+ "name": "copy input data to service data",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id' value='`$prop.vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.' value='$vnf-topology-operation-input.vnf-information.' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.' value='$vnf-topology-operation-input.vnf-request-input.' />\n\n",\r
+ "comments": "",\r
+ "x": 1182.238037109375,\r
+ "y": 498.6668718131259,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "703f0f3.2526ff",\r
+ "type": "execute",\r
+ "name": "execute generate-vnf-index",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vnf-id\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1170.5715408325195,\r
+ "y": 448.3334558280185,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "4948ae3d.2fb728",\r
+ "type": "set",\r
+ "name": "set vnf-index to service data",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.vnf-id' value='`$prop.vnf-id`' />\n",\r
+ "comments": "",\r
+ "x": 1181.5716171264648,\r
+ "y": 555.3334596427158,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b98a68a9.509cb8",\r
+ "type": "switchNode",\r
+ "name": "switch service-data.vnfs.vnf_length",\r
+ "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1197.5713577270508,\r
+ "y": 118.33337858039886,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "45cce5a8.451aac",\r
+ "48e9b931.dabab8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "45cce5a8.451aac",\r
+ "type": "other",\r
+ "name": "NULL",\r
+ "xml": "<outcome value=''>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1432.285743713379,\r
+ "y": 113.47619893867522,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "6299edd9.775e24"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6299edd9.775e24",\r
+ "type": "set",\r
+ "name": "set vnf-index=0",\r
+ "xml": "<set>\n<parameter name='vnf-index' value='0' />\n",\r
+ "comments": "",\r
+ "x": 1592.5714492797852,\r
+ "y": 113.4762904914096,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "48e9b931.dabab8",\r
+ "type": "other",\r
+ "name": "other",\r
+ "xml": "<outcome value='Other'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1428.714282989502,\r
+ "y": 146.76203039009124,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "777ae1e9.6bbca"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6abef48d.2c4e6c",\r
+ "type": "set",\r
+ "name": "set vnf-index = vnf_length",\r
+ "xml": "<set>\n<parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\n",\r
+ "comments": "",\r
+ "x": 1821.5715255737305,\r
+ "y": 125.04775598365813,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8a52abb7.25d258",\r
+ "type": "for",\r
+ "name": "for each existing VNF",\r
+ "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1810.000144958496,\r
+ "y": 160.0477278502658,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "1ea03c6.7395dc4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "777ae1e9.6bbca",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1563.428565979004,\r
+ "y": 148.76199987251312,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "6abef48d.2c4e6c",\r
+ "8a52abb7.25d258"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1ea03c6.7395dc4",\r
+ "type": "switchNode",\r
+ "name": "switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id",\r
+ "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-id == $service-data.vnfs.vnf[$idx].vnf-id`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2203.2858810424805,\r
+ "y": 160.6192119391635,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "95d50976.54cf58"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "95d50976.54cf58",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2484.5715827941895,\r
+ "y": 159.1906173499301,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "19c5d87f.a3e7b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "78e378bf.79cf5",\r
+ "type": "comment",\r
+ "name": "make sure this vnf-id doesn't exist already",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 2172.428497314453,\r
+ "y": 124.19060399848968,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "18445def.73c80a",\r
+ "type": "set",\r
+ "name": "set new vnf_length",\r
+ "xml": "<set>\n<parameter name='service-data.vnfs.vnf_length' value='`$vnf-index + 1`' />\n",\r
+ "comments": "",\r
+ "x": 1128.571533203125,\r
+ "y": 396.33343505859375,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d4cb43.708284c",\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": 1124.571533203125,\r
+ "y": 1344.5969848632812,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "efeb4f56.d9cc7",\r
+ "type": "save",\r
+ "name": "save service relationship in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $service-data.service-information.service-instance-id\n AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/generic-vnfs/generic-vnf/' + $prop.vnf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vnf-id`\" />\n\n\n<!--key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--key='service-instance.service-instance-id = $service-data.service-instance-id -->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1162.2382736206055,\r
+ "y": 815.5968644889072,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "9006694b.0db0e8",\r
+ "type": "set",\r
+ "name": "set vnf-index and vnf-object-path",\r
+ "xml": "<set>\n<parameter name='vnfId' value='`$prop.vnf-id`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $prop.vnf-id + '/vnf-data/'` \" />",\r
+ "comments": "",\r
+ "x": 1183.571533203125,\r
+ "y": 644.5968902381137,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "19c5d87f.a3e7b",\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=\"`'VNF id ' + $service-data.vnfs.vnf[$idx].vnf-id\n + ' already exists, and has order status ' + $service-data.vnfs.vnf[$idx].vnf-data.vnf-level-oper-status.order-status`\" />\n",\r
+ "comments": "",\r
+ "x": 2613.142951965332,\r
+ "y": 210.19063165504485,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e3c7ee55.46e6f8",\r
+ "type": "save",\r
+ "name": "save AnAI - vnf-instance.orchestration-status",\r
+ "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey='generic-vnf.vnf-id = $prop.vnf-id' >\n<parameter name=\"orchestration-status\" value=\"Created\" />\n<parameter name=\"in-maint\" value = \"true\" />\n<parameter name=\"vnf-type\" value='`$prop.vnfName`' />\n<parameter name=\"vnf-name\" value = \"`$prop.vnfName`\"/>\n<parameter name=\"model-invariant-id\" value = \"`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`\"/>\n<parameter name=\"model-version-id\" value = \"`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`\"/>\n<parameter name=\"model-customization-id\" value = \"`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\"/>",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1238.5458374023438,\r
+ "y": 754.2471072943881,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "8b2c577f.aa706",\r
+ "type": "comment",\r
+ "name": "TODO: change AAI models",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 1172.1820983886719,\r
+ "y": 713.9743230612949,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d58f334a.ba5338",\r
+ "type": "execute",\r
+ "name": "execute split parameterName",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1598.7395858764648,\r
+ "y": 207.75002291519195,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "889ccd2d.4a8fe8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1402.483383178711,\r
+ "y": 212.00189593154937,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "d58f334a.ba5338",\r
+ "e9083033.2291c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e0ae06d.cc68bf8",\r
+ "type": "for",\r
+ "name": "for loop idx - VNF input parameters",\r
+ "xml": "<for index=\"idx\" start=\"0\" end=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1187.7050399780273,\r
+ "y": 214.44631197769195,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "889ccd2d.4a8fe8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fd6957d.13c0a28",\r
+ "type": "set",\r
+ "name": "set vnf-request-input.",\r
+ "xml": "<set>\n<parameter name='vnf-request-input.' value='`$vnf-topology-operation-input.vnf-request-input.`' />\n",\r
+ "comments": "",\r
+ "x": 1144.7046737670898,\r
+ "y": 284.77101900894195,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e9083033.2291c8",\r
+ "type": "set",\r
+ "name": "set parameterName",\r
+ "xml": "<set>\n<parameter name=\"`vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name`\" value='`$param-prefix[$param-prefix_length -1]`'/>\n",\r
+ "comments": "",\r
+ "x": 1575.7395858764648,\r
+ "y": 253.75002291519195,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "8c69784a.6fe62",\r
+ "type": "for",\r
+ "name": "for each sdwan-get-request-input-param",\r
+ "xml": "<for index=\"idx\" start=\"0\" end=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1200.7395858764648,\r
+ "y": 336.75002291519195,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "ab7df566.3e05d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ab7df566.3e05d",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1426.9722518920898,\r
+ "y": 335.09377291519195,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "352dca87.707f0e"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "352dca87.707f0e",\r
+ "type": "switchNode",\r
+ "name": "switch vnf name",\r
+ "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'name'`\">\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1583.4722518920898,\r
+ "y": 333.0938339503482,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "590b3579.cf8c54"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "590b3579.cf8c54",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1744.4726181030273,\r
+ "y": 333.09389498550445,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "63083064.a23a18"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "63083064.a23a18",\r
+ "type": "set",\r
+ "name": "set vnf name",\r
+ "xml": "<set>\n<parameter name='prop.vnfName' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",\r
+ "comments": "",\r
+ "x": 1902.4727401733398,\r
+ "y": 331.6939316065982,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e181a758.620248",\r
+ "type": "save",\r
+ "name": "get service-instance from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id\n AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1155,\r
+ "y": 940,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "5d430eb5.2b236",\r
+ "4db06806.f53418",\r
+ "95ae5b5a.c22a4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5d430eb5.2b236",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1371,\r
+ "y": 905,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "53896828.686ee8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "4db06806.f53418",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1380.490966796875,\r
+ "y": 947.5740356445312,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "2be30b71.aee02c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "95ae5b5a.c22a4",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1369,\r
+ "y": 994,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "ecad310e.0677"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "53896828.686ee8",\r
+ "type": "switchNode",\r
+ "name": "switch allotted-resources_length != 0",\r
+ "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources_length != 0`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1610,\r
+ "y": 902,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "a4b1136f.62ed08",\r
+ "46b85697.e69b9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2be30b71.aee02c",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 1534.0623779296875,\r
+ "y": 950.8597717285156,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ecad310e.0677",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+ "comments": "",\r
+ "x": 1538,\r
+ "y": 995,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a019135.4f8ccf",\r
+ "type": "set",\r
+ "name": "set the 1st allotted-resource-id",\r
+ "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources[0]`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 2009,\r
+ "y": 969,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a4b1136f.62ed08",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1823,\r
+ "y": 926,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "cb1b8f06.47ef2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "46b85697.e69b9",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1825,\r
+ "y": 866,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "67d7c08a.0b2928",\r
+ "type": "comment",\r
+ "name": "new for TransportSlicing",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 1144,\r
+ "y": 890,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "457beb03.a98104",\r
+ "type": "switchNode",\r
+ "name": "switch logical-links_length != 0",\r
+ "xml": "<switch test='`$tmp.aai.allotted-resource.logical-links_length != 0`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1270,\r
+ "y": 1266,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "643d2cea.4605b4",\r
+ "7caeb522.7a961c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "643d2cea.4605b4",\r
+ "type": "outcomeTrue",\r
+ "name": "true",\r
+ "xml": "<outcome value='true'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1464,\r
+ "y": 1400,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "152d2d7d.5e3893"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "7caeb522.7a961c",\r
+ "type": "outcomeFalse",\r
+ "name": "false",\r
+ "xml": "<outcome value='false'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1467,\r
+ "y": 1354,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "814386d7.12d29",\r
+ "type": "set",\r
+ "name": "set the 1st logical-link-name",\r
+ "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.logical-links[0]`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 1804,\r
+ "y": 1372,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cb1b8f06.47ef2",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1808,\r
+ "y": 1014,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "a019135.4f8ccf",\r
+ "e575462e.50d5b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "152d2d7d.5e3893",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1595,\r
+ "y": 1405,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "814386d7.12d29",\r
+ "fecafec9.0d1c5"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "67195ddd.58b94c",\r
+ "type": "set",\r
+ "name": "set EndpointA",\r
+ "xml": "<set>\n<parameter name='endpointA' value=\"`$tmp.aai.logical-link.name`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 2350,\r
+ "y": 1468,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3cb07e0e.1a73c2",\r
+ "type": "set",\r
+ "name": "set EndpointB",\r
+ "xml": "<set>\n<parameter name='endpointB' value=\"`$tmp.aai.logical-link.name2`\" />\n\n\n",\r
+ "comments": "",\r
+ "x": 2351,\r
+ "y": 1515,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "e575462e.50d5b",\r
+ "type": "save",\r
+ "name": "get allotted-resource from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2012,\r
+ "y": 1044,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "9038c1c3.67b67",\r
+ "d5fe3cc1.f1ab58",\r
+ "3a3c5476.f230dc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "9038c1c3.67b67",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2228,\r
+ "y": 1111,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "457beb03.a98104"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d5fe3cc1.f1ab58",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2228.490966796875,\r
+ "y": 1010.573974609375,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "d1ddfc7b.e8b11"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3a3c5476.f230dc",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2224,\r
+ "y": 1060,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "5d76fda0.b3386c"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d1ddfc7b.e8b11",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 2377.0625,\r
+ "y": 1009.8597412109375,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5d76fda0.b3386c",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+ "comments": "",\r
+ "x": 2367,\r
+ "y": 1060,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "9b0fc370.e7b168",\r
+ "type": "comment",\r
+ "name": "Question?",\r
+ "info": "Can we assume ....logical-links[0] would have \nthe whole object or it is only a pointer to \nlogical-link name in AAI?\nIf only name, then we have to retrieve it from \nAAI",\r
+ "comments": "",\r
+ "x": 1837,\r
+ "y": 1325,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "fecafec9.0d1c5",\r
+ "type": "save",\r
+ "name": "get logical-link from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1791,\r
+ "y": 1444,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "c3decf76.de238",\r
+ "cbe9f0d3.03cae",\r
+ "f1d67d6b.7b18f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cbe9f0d3.03cae",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2056.490966796875,\r
+ "y": 1366.573974609375,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "df9ad0cd.393e9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f1d67d6b.7b18f8",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2045,\r
+ "y": 1411,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "387801a6.c55046"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "df9ad0cd.393e9",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 2205.0625,\r
+ "y": 1366.8597412109375,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "387801a6.c55046",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+ "comments": "",\r
+ "x": 2204,\r
+ "y": 1411,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "c3decf76.de238",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2052,\r
+ "y": 1490,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "85643202.66a9f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "85643202.66a9f8",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2191,\r
+ "y": 1490,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "67195ddd.58b94c",\r
+ "3cb07e0e.1a73c2",\r
+ "e13bd0db.73d81",\r
+ "44095776.64c828",\r
+ "3eb8bee0.c23c0a",\r
+ "e199c2c7.64ce48",\r
+ "4e9e1552.e1012c",\r
+ "879bdb34.60c748",\r
+ "ccc984ea.946438",\r
+ "3824458b.0c70c2"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e13bd0db.73d81",\r
+ "type": "save",\r
+ "name": "get EndpointA from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"endpoint\"\n\tkey='endpoint.endpoint-id = $endpointA'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.endpointA\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2399,\r
+ "y": 1573,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "6b7f9293.5e4b3c",\r
+ "271678cd.b7a718",\r
+ "fda0cd5e.c574c8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "44095776.64c828",\r
+ "type": "save",\r
+ "name": "get EndpointB from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"endpoint\"\n\tkey='endpoint.endpoint-id = $endpointB'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.endpointB\">",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2413,\r
+ "y": 1845,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "cac7dfa0.02314",\r
+ "cd4a18c4.24c5e8",\r
+ "b2a92c1e.f10cd8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6b7f9293.5e4b3c",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2621,\r
+ "y": 1455,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "6df2f8ce.f4df28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "271678cd.b7a718",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2616.509033203125,\r
+ "y": 1504.426025390625,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "a0e96fb5.85588"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "fda0cd5e.c574c8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2620.509033203125,\r
+ "y": 1555.426025390625,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "57154704.0e805"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6df2f8ce.f4df28",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 2769.571533203125,\r
+ "y": 1454.2857666015625,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "a0e96fb5.85588",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+ "comments": "",\r
+ "x": 2759.509033203125,\r
+ "y": 1504.426025390625,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "cac7dfa0.02314",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2636,\r
+ "y": 1815,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "857e5bf7.e021b"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cd4a18c4.24c5e8",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2631.509033203125,\r
+ "y": 1864.426025390625,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "68a88270.f542bc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "b2a92c1e.f10cd8",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2635.509033203125,\r
+ "y": 1915.426025390625,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "4220b72.dbed048"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "857e5bf7.e021b",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 2784.571533203125,\r
+ "y": 1814.2857666015625,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "68a88270.f542bc",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+ "comments": "",\r
+ "x": 2774.509033203125,\r
+ "y": 1864.426025390625,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "404469ae.c8a71",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for index='rel-index' start='0' end='`$tmp.aai.endpointA.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2993,\r
+ "y": 1556,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "ca5e0e2a.2b9fd8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ca5e0e2a.2b9fd8",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.endpointA.relationship-list.relationship[$rel-index].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3206.3334426879883,\r
+ "y": 1555.9999389648438,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "20488961.beb436"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "20488961.beb436",\r
+ "type": "outcome",\r
+ "name": "p-interface",\r
+ "xml": "<outcome value='p-interface'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3378.0000801086426,\r
+ "y": 1556.000020980835,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "3536184f.ec7b9"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6bc94704.d03de",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4040.66650390625,\r
+ "y": 1548,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "b0648d5.a5c8bf",\r
+ "502adfb6.94aa38",\r
+ "6f6a8b61.fa1ffc",\r
+ "24d9a7fc.8cd3f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "3536184f.ec7b9",\r
+ "type": "save",\r
+ "name": "get p-interface-src from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3625,\r
+ "y": 1554,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "d439294.8fb6358",\r
+ "5c59ee09.9262d",\r
+ "f82521c.310fee"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "d439294.8fb6358",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3868,\r
+ "y": 1549,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "6bc94704.d03de"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "f82521c.310fee",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3877.490966796875,\r
+ "y": 1591.5740356445312,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "da7fc859.beff18"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5c59ee09.9262d",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3866,\r
+ "y": 1638,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "872414be.4b5f28"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "da7fc859.beff18",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 4031.0623779296875,\r
+ "y": 1594.8597717285156,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "872414be.4b5f28",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+ "comments": "",\r
+ "x": 4035,\r
+ "y": 1639,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "57154704.0e805",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 2782,\r
+ "y": 1557,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "404469ae.c8a71"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "85084de0.cfb7d",\r
+ "type": "comment",\r
+ "name": "Question?",\r
+ "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+ "comments": "",\r
+ "x": 3568,\r
+ "y": 1507,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4220b72.dbed048",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 2786,\r
+ "y": 1917,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "8dfc41f6.4f4f"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8dfc41f6.4f4f",\r
+ "type": "for",\r
+ "name": "for each relationship",\r
+ "xml": "<for index='rel-index' start='0' end='`$tmp.aai.endpointB.relationship-list.relationship_length`' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2997,\r
+ "y": 1916,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "5452c2da.11d5dc"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "5452c2da.11d5dc",\r
+ "type": "switchNode",\r
+ "name": "switch related-to",\r
+ "xml": "<switch test='`$tmp.aai.endpointB.relationship-list.relationship[$rel-index].related-to`'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3210.3334426879883,\r
+ "y": 1915.9999389648438,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "cb7a504b.d626a"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "cb7a504b.d626a",\r
+ "type": "outcome",\r
+ "name": "p-interface",\r
+ "xml": "<outcome value='p-interface'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3382.0000801086426,\r
+ "y": 1916.000020980835,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "8fa1d382.ebbb3"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "825ff590.84496",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4044.66650390625,\r
+ "y": 1908,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "674b1eb0.174b2",\r
+ "f4b1b11a.276db8",\r
+ "485a23dc.9461bc",\r
+ "a54100e4.bdfd8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8fa1d382.ebbb3",\r
+ "type": "save",\r
+ "name": "get p-interface-dst from aai",\r
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"p-interface.interface-name = $tmp.aai.endpointB.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.endpointB.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t and p-interface.interface-name = $tmp.aai.endpointB.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointB.p-interface-dst\" >-->\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3629,\r
+ "y": 1914,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "e30b52f2.d3bd18",\r
+ "2a8a7b32.c6c034",\r
+ "95395b70.5ce658"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e30b52f2.d3bd18",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3872,\r
+ "y": 1909,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "825ff590.84496"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "95395b70.5ce658",\r
+ "type": "not-found",\r
+ "name": "not-found",\r
+ "xml": "<outcome value='not-found'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3881.490966796875,\r
+ "y": 1951.5740356445312,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "ec0be134.e7e7f8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2a8a7b32.c6c034",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 3870,\r
+ "y": 1998,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "5f44beb8.f571"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ec0be134.e7e7f8",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
+ "comments": "",\r
+ "x": 4035.0623779296875,\r
+ "y": 1954.8597717285156,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5f44beb8.f571",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
+ "comments": "",\r
+ "x": 4039,\r
+ "y": 1999,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "18f16001.6c653",\r
+ "type": "comment",\r
+ "name": "Question?",\r
+ "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
+ "comments": "",\r
+ "x": 3572,\r
+ "y": 1867,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "b0648d5.a5c8bf",\r
+ "type": "execute",\r
+ "name": "execute split tp-id to get pnf-name",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.endpointA.p-interface-src`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[^-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4301,\r
+ "y": 1546,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "6bf39cd9.c078dc",\r
+ "1f241f8d.ded588"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "1f241f8d.ded588",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4524,\r
+ "y": 1501,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "711e2d50.cbfec4"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "6bf39cd9.c078dc",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4526,\r
+ "y": 1565,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "d87f8a80.c2edb8"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8f149145.0a9d38",\r
+ "type": "set",\r
+ "name": "set ltpId",\r
+ "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
+ "comments": "",\r
+ "x": 4859,\r
+ "y": 1459,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "d87f8a80.c2edb8",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+ "comments": "",\r
+ "x": 4685,\r
+ "y": 1584,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "711e2d50.cbfec4",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4689,\r
+ "y": 1498,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "8f149145.0a9d38",\r
+ "ed673da0.d5043"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ed673da0.d5043",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
+ "comments": "",\r
+ "x": 4860,\r
+ "y": 1564,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "5bd7fa96.a6e064",\r
+ "type": "comment",\r
+ "name": "TODO: FIXME",\r
+ "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+ "comments": "",\r
+ "x": 4859,\r
+ "y": 1525,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "6f6a8b61.fa1ffc",\r
+ "type": "save",\r
+ "name": "save connectivity resource in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainA-uuid`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='' />\n<parameter name='access-client-id' value='' />\n<parameter name='access-topology-id' value='' />\n<parameter name='access-node-id' value='' />\n<parameter name='access-ltp-id' value='' />\n<parameter name='cvlan' value='' />\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\n<parameter name='CBS' value='`$prop.sotn.cbs`' />\n<parameter name='EBS' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4303,\r
+ "y": 1705,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "502adfb6.94aa38",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for connectivity domainA",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainA-uuid\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4348,\r
+ "y": 1615,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "2f48d78c.e343f8",\r
+ "type": "comment",\r
+ "name": "TODO: FIXME",\r
+ "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
+ "comments": "",\r
+ "x": 4238,\r
+ "y": 1671,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "674b1eb0.174b2",\r
+ "type": "execute",\r
+ "name": "execute split tp-id to get pnf-name",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.endpointB.p-interface-dst`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[^-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4299,\r
+ "y": 1904,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "bf4f2038.8bcc6",\r
+ "816a3f3d.c967d"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "816a3f3d.c967d",\r
+ "type": "failure",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4522,\r
+ "y": 1859,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "bbb7eb1.f117918"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "bf4f2038.8bcc6",\r
+ "type": "failure",\r
+ "name": "failure",\r
+ "xml": "<outcome value='failure'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4524,\r
+ "y": 1923,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "3fe77c2.445af04"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "2024c7b6.3996d",\r
+ "type": "set",\r
+ "name": "set ltpId",\r
+ "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
+ "comments": "",\r
+ "x": 4857,\r
+ "y": 1817,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3fe77c2.445af04",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
+ "comments": "",\r
+ "x": 4683,\r
+ "y": 1942,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "bbb7eb1.f117918",\r
+ "type": "block",\r
+ "name": "block : atomic",\r
+ "xml": "<block atomic=\"true\">",\r
+ "atomic": "true",\r
+ "outputs": 1,\r
+ "x": 4687,\r
+ "y": 1856,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "2024c7b6.3996d",\r
+ "e7f53e76.5ddf"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "e7f53e76.5ddf",\r
+ "type": "set",\r
+ "name": "set pnf-name",\r
+ "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
+ "comments": "",\r
+ "x": 4858,\r
+ "y": 1922,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "71ef13be.57065c",\r
+ "type": "comment",\r
+ "name": "TODO: FIXME",\r
+ "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
+ "comments": "",\r
+ "x": 4857,\r
+ "y": 1883,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "485a23dc.9461bc",\r
+ "type": "save",\r
+ "name": "save connectivity resource in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='' />\n<parameter name='access-client-id' value='' />\n<parameter name='access-topology-id' value='' />\n<parameter name='access-node-id' value='' />\n<parameter name='access-ltp-id' value='' />\n<parameter name='cvlan' value='' />\n\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\n<parameter name='CBS' value='`$prop.sotn.cbs`' />\n<parameter name='EBS' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $network-topology-operation-input.service-information.service-instance-id + '/service-data/networks/network/' + $prop.sotn.network-id + '/network-data/'` \" />\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4301,\r
+ "y": 2063,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "f4b1b11a.276db8",\r
+ "type": "execute",\r
+ "name": "execute UUID generator for connectivity domainB",\r
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4346,\r
+ "y": 1973,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "985d1e1b.82a998",\r
+ "type": "comment",\r
+ "name": "TODO: FIXME",\r
+ "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
+ "comments": "",\r
+ "x": 4236,\r
+ "y": 2029,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3eb8bee0.c23c0a",\r
+ "type": "call",\r
+ "name": "call GENERIC-RESOURCE-API:sotn-get-otn-tunnel-path-from-oof",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='sotn-get-otn-tunnel-path-from-oof' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2518,\r
+ "y": 2064,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "e199c2c7.64ce48",\r
+ "type": "set",\r
+ "name": "set attachment_param",\r
+ "xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n",\r
+ "comments": "",\r
+ "x": 2381,\r
+ "y": 2024,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "50e758b0.2c60a",\r
+ "type": "comment",\r
+ "name": "TODO: FIXME",\r
+ "info": "put proper values for src topology-id, node-id, ltp-id, etc (in domain A)\nand dst topology-id, node-id, ltp-id, etc (in domain B)",\r
+ "comments": "",\r
+ "x": 2353,\r
+ "y": 1988,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4e9e1552.e1012c",\r
+ "type": "save",\r
+ "name": "save vpn-binding A resource (aka. OTN domainA) in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $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": 2483,\r
+ "y": 2168,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "eee018f4.9abed"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "879bdb34.60c748",\r
+ "type": "save",\r
+ "name": "save connectivity-A relationship to vpn-binding-A, 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": 2481.5,\r
+ "y": 2211,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "5ac2c26e.60f274",\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": 3134.5,\r
+ "y": 2149,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "481b1bdc.29fad4",\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": 3136.5,\r
+ "y": 2188,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "24d9a7fc.8cd3f8",\r
+ "type": "save",\r
+ "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $service-data.service-information.service-instance-id\n AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4431,\r
+ "y": 1753,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "a54100e4.bdfd8",\r
+ "type": "save",\r
+ "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n key='service-instance.service-instance-id = $service-data.service-information.service-instance-id\n AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type' \n force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!-- key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!-- AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!-- AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!-- force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 4428,\r
+ "y": 2128,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "eee018f4.9abed",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2783,\r
+ "y": 2167,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "60c98c50.d9d324"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "60c98c50.d9d324",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2923.500244140625,\r
+ "y": 2168.25390625,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "99e923c8.5700b8",\r
+ "type": "comment",\r
+ "name": "TODO: FIXME: do we need this relationship?",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 3171,\r
+ "y": 2108,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "debe7c1a.c25a08",\r
+ "type": "comment",\r
+ "name": "TODO: FIXME: put proper values",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 2409,\r
+ "y": 2130,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "ccc984ea.946438",\r
+ "type": "save",\r
+ "name": "save vpn-binding B resource (aka. OTN domainB) in AAI",\r
+ "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n key='vpn-binding.vpn-id = $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": 2465,\r
+ "y": 2348,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "de2c330e.390d88"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "ff4306de.40969",\r
+ "type": "comment",\r
+ "name": "TODO: FIXME: do we need this relationship?",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 3153,\r
+ "y": 2288,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "bddb99db.4eee1",\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": 3116.5,\r
+ "y": 2329,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "4e5e60ab.6592a8",\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": 3118.5,\r
+ "y": 2368,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "82297458.0d3c48",\r
+ "type": "block",\r
+ "name": "block",\r
+ "xml": "<block>\n",\r
+ "atomic": "false",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2905.500244140625,\r
+ "y": 2348.25390625,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "de2c330e.390d88",\r
+ "type": "success",\r
+ "name": "success",\r
+ "xml": "<outcome value='success'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 2765,\r
+ "y": 2347,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ [\r
+ "82297458.0d3c48"\r
+ ]\r
+ ]\r
+ },\r
+ {\r
+ "id": "8b5978da.cf55b8",\r
+ "type": "comment",\r
+ "name": "TODO: FIXME: put proper values",\r
+ "info": "",\r
+ "comments": "",\r
+ "x": 2386,\r
+ "y": 2308,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "3824458b.0c70c2",\r
+ "type": "save",\r
+ "name": "save connectivity-B relationship to vpn-binding-B, 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": 2463.5,\r
+ "y": 2388,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "ed749360.08754",\r
+ "type": "comment",\r
+ "name": "TODO: FIXME:",\r
+ "info": "set attachment param and send request to NCE-T\nfor bandwidth matrix\nmay require a new template for JSON body",\r
+ "comments": "",\r
+ "x": 2337,\r
+ "y": 2471,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "97832dc3.63313",\r
+ "type": "set",\r
+ "name": "set attachment_param",\r
+ "xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />\n",\r
+ "comments": "",\r
+ "x": 2360,\r
+ "y": 2511,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "f27e6517.ff7968",\r
+ "type": "execute",\r
+ "name": "get parent-service-data tmp.ar-url-psd",\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": 5071,\r
+ "y": 1523,\r
+ "z": "5b68e0d.bd97b2",\r
+ "wires": [\r
+ []\r
+ ]\r
+ }\r
+]
\ No newline at end of file