[
{
- "id": "c5568a98.8f8718",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 92.5,
- "y": 32.49999666213989,
- "z": "da62f736.168268",
- "wires": [
- [
- "7ce853d8.9c699c"
- ]
- ]
- },
- {
- "id": "7ce853d8.9c699c",
- "type": "service-logic",
- "name": "ran-slice-api ${project.version}",
- "module": "ran-slice-api",
- "version": "${project.version}",
- "comments": "",
- "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='ran-slice-api' version='${project.version}'>",
- "outputs": 1,
- "x": 147.5000228881836,
- "y": 119.49996519088745,
- "z": "da62f736.168268",
- "wires": [
- [
- "558e29d9.0bca88"
- ]
- ]
- },
- {
- "id": "558e29d9.0bca88",
- "type": "method",
- "name": "method",
- "xml": "<method rpc='terminateRANSliceInstance' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 81.5,
- "y": 179.49993085861206,
- "z": "da62f736.168268",
- "wires": [
- [
- "73e286b5.95ed98"
- ]
- ]
- },
- {
- "id": "73e286b5.95ed98",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 87.49999237060547,
- "y": 274.2499613761902,
- "z": "da62f736.168268",
- "wires": [
- [
- "b2a2f929.e9e7d8",
- "ef29471f.64f038",
- "2e6295f3.2b018a",
- "b01e9ff8.9fdcb"
- ]
- ]
- },
- {
- "id": "b2a2f929.e9e7d8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 301.49999618530273,
- "y": 297.49999380111694,
- "z": "da62f736.168268",
- "wires": [
- [
- "6336a945.8a35f8",
- "734e7146.41458",
- "fff929df.03fac8",
- "d74945f1.537f58",
- "1a07170f.9b8cb9",
- "8d1aec81.1c96c",
- "a440f467.164788",
- "535f16f4.b6d608",
- "406ee76f.a28dd8",
- "331ef215.bbe70e",
- "2bef0202.a1c14e",
- "7a08dec6.783c6",
- "c50ddf2a.0f482",
- "4a173bea.dab424",
- "418b9d9d.e0f1e4",
- "9a10e123.7e743"
- ]
- ]
- },
- {
- "id": "6336a945.8a35f8",
- "type": "execute",
- "name": "generate getNearRTRICsFromRANNFNSSI URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICByNSSI`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 685.75,
- "y": 440.75000381469727,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "734e7146.41458",
- "type": "record",
- "name": "record configdb RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$ranNFNSSIId`\" />",
- "comments": "",
- "outputs": 1,
- "x": 625.7500152587891,
- "y": 491.7500228881836,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "fff929df.03fac8",
- "type": "execute",
- "name": "Get nearRTRIC for TrackingArea",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 615.7500915527344,
- "y": 543.7500534057617,
- "z": "da62f736.168268",
- "wires": [
- [
- "b4943470.91c0d8",
- "c824c7c4.195ea8"
- ]
- ]
- },
- {
- "id": "b4943470.91c0d8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 914.5680961608887,
- "y": 561.5680770874023,
- "z": "da62f736.168268",
- "wires": [
- [
- "31b1e0f6.87ffa"
- ]
- ]
- },
- {
- "id": "31b1e0f6.87ffa",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1084.5679931640625,
- "y": 562.5681924819946,
- "z": "da62f736.168268",
- "wires": [
- [
- "cb22de9c.436e2",
- "e2f6cc30.e8277"
- ]
- ]
- },
- {
- "id": "cb22de9c.436e2",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1307.5677909851074,
- "y": 507.56817626953125,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "e2f6cc30.e8277",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1303.345932006836,
- "y": 578.5681838989258,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "c824c7c4.195ea8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 920.5680503845215,
- "y": 501.5681610107422,
- "z": "da62f736.168268",
- "wires": [
- [
- "48a2a2c5.98d62c"
- ]
- ]
- },
- {
- "id": "48a2a2c5.98d62c",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1200.5681266784668,
- "y": 407.56821489334106,
- "z": "da62f736.168268",
- "wires": [
- [
- "2821d952.27d626",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "2821d952.27d626",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1378.56791305542,
- "y": 361.6792416572571,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "ef29471f.64f038",
- "type": "for",
- "name": "foreach NearRTRIC",
- "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 282.75,
- "y": 884.5681762695312,
- "z": "da62f736.168268",
- "wires": [
- [
- "18d219c0.9cf676",
- "85e55937.41fdf8",
- "e30d97bf.620048",
- "c27385b1.743288"
- ]
- ]
- },
- {
- "id": "18d219c0.9cf676",
- "type": "block",
- "name": "Process NearRTRIC",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 603.1035614013672,
- "y": 1023.143970489502,
- "z": "da62f736.168268",
- "wires": [
- [
- "eefa1832.1380b8",
- "f131480e.413408",
- "35178056.84a7e",
- "e0692478.040118",
- "c224bf70.f8698",
- "feae2bb9.c89528",
- "efb82a40.58c198",
- "32462495.24865c",
- "36cfb15f.b2ef8e"
- ]
- ]
- },
- {
- "id": "eefa1832.1380b8",
- "type": "execute",
- "name": "read nearRTRICId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].nearRTRICId'`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 998.295524597168,
- "y": 675.4773025512695,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "f131480e.413408",
- "type": "execute",
- "name": "read gNBId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 968.2954940795898,
- "y": 867.4773654937744,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "35178056.84a7e",
- "type": "execute",
- "name": "Update nearRT RIC Details in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removenearRTRIC-PLMNInfo.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-nearRTRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1074.0126266479492,
- "y": 1062.9823503494263,
- "z": "da62f736.168268",
- "wires": [
- [
- "dee5a635.a73338",
- "7a0a6ef9.9ecdd"
- ]
- ]
- },
- {
- "id": "dee5a635.a73338",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1441.568115234375,
- "y": 1104.0226440429688,
- "z": "da62f736.168268",
- "wires": [
- [
- "6a251f04.44743"
- ]
- ]
- },
- {
- "id": "6a251f04.44743",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1573.5682373046875,
- "y": 1066.0226440429688,
- "z": "da62f736.168268",
- "wires": [
- [
- "109652da.35aaad",
- "16105346.8b4fbd"
- ]
- ]
- },
- {
- "id": "16105346.8b4fbd",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1762.5679931640625,
- "y": 1013.1336669921875,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "109652da.35aaad",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1770.5679931640625,
- "y": 1113.022705078125,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "7a0a6ef9.9ecdd",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1439.38623046875,
- "y": 1203.9317626953125,
- "z": "da62f736.168268",
- "wires": [
- [
- "7721543c.03993c"
- ]
- ]
- },
- {
- "id": "7721543c.03993c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1603.3861083984375,
- "y": 1204.931884765625,
- "z": "da62f736.168268",
- "wires": [
- [
- "99b87529.8cda48"
- ]
- ]
- },
- {
- "id": "99b87529.8cda48",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NearRT RIC info in ConfigDB\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1753.3861083984375,
- "y": 1199.9320068359375,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "873ed2d3.c7ca8",
- "type": "execute",
- "name": "read CUCP list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 956.75,
- "y": 1247.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "85e55937.41fdf8",
- "type": "block",
- "name": "Process CUCP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 583.7500228881836,
- "y": 1160.7500534057617,
- "z": "da62f736.168268",
- "wires": [
- [
- "873ed2d3.c7ca8",
- "61417ec7.d4a75",
- "44181142.3471e"
- ]
- ]
- },
- {
- "id": "61417ec7.d4a75",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 928.75,
- "y": 1312.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "44181142.3471e",
- "type": "for",
- "name": "foreach CUCP",
- "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 956.75,
- "y": 1387.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "9873817a.bd85"
- ]
- ]
- },
- {
- "id": "9873817a.bd85",
- "type": "block",
- "name": "block : process CUCP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1177.75,
- "y": 1394.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "9bd17c8f.d933c",
- "ec596de0.0aca4",
- "d29c67e5.d6f4f8",
- "5f1d2c5c.decd84"
- ]
- ]
- },
- {
- "id": "9bd17c8f.d933c",
- "type": "execute",
- "name": "read CUCP name",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1528.75,
- "y": 1247.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "ec596de0.0aca4",
- "type": "for",
- "name": "for cellCUList",
- "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1532.75,
- "y": 1391.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "9e9a8829.999268"
- ]
- ]
- },
- {
- "id": "b0e1bf8f.22488",
- "type": "execute",
- "name": "read cellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2269.2502670288086,
- "y": 1110.5000038146973,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "e6adc774.43c8d8",
- "type": "execute",
- "name": "prepare mnc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2248.000114440918,
- "y": 1356.999948501587,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "46c5fc21.cc9984",
- "type": "execute",
- "name": "terminate sNNSAI ToNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteSNSSAIListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellCU-sNSSAI-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 2215.7501068115234,
- "y": 1544.7499732971191,
- "z": "da62f736.168268",
- "wires": [
- [
- "47288b8d.772554",
- "331e8cd2.198374"
- ]
- ]
- },
- {
- "id": "850a1c4b.3fe45",
- "type": "record",
- "name": "record API params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field8\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2215.75,
- "y": 1479.2500133514404,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "47df190.60624e8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2046.75,
- "y": 998.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "b0e1bf8f.22488",
- "e6adc774.43c8d8",
- "850a1c4b.3fe45",
- "46c5fc21.cc9984",
- "abb0b9c.15d9d48",
- "83d73909.bae128",
- "a39f8656.444118",
- "d3e48ebc.f7231",
- "b5390e62.ee13f",
- "b5ed71f7.1a30d",
- "871e03be.326d",
- "1c8e5c05.e07c04",
- "e8f8f0ea.977c8"
- ]
- ]
- },
- {
- "id": "47288b8d.772554",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2466.750114440918,
- "y": 1540.7502174377441,
- "z": "da62f736.168268",
- "wires": [
- [
- "58993238.4039dc"
- ]
- ]
- },
- {
- "id": "58993238.4039dc",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2639.749900817871,
- "y": 1539.7502784729004,
- "z": "da62f736.168268",
- "wires": [
- [
- "321c23a.1dc6cdc"
- ]
- ]
- },
- {
- "id": "321c23a.1dc6cdc",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2837.7499618530273,
- "y": 1536.750400543213,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "331e8cd2.198374",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2431.75008392334,
- "y": 1423.7499732971191,
- "z": "da62f736.168268",
- "wires": [
- [
- "476ddcef.5da644"
- ]
- ]
- },
- {
- "id": "476ddcef.5da644",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2581.750358581543,
- "y": 1382.750156402588,
- "z": "da62f736.168268",
- "wires": [
- [
- "cad84f7d.8b728",
- "df36d01.7f7d83",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "cad84f7d.8b728",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2752.7499923706055,
- "y": 1443.7502174377441,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "df36d01.7f7d83",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2747.750114440918,
- "y": 1348.750156402588,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "abb0b9c.15d9d48",
- "type": "execute",
- "name": "prepare idGNBCUCPFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2303.750030517578,
- "y": 1210.7500953674316,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "83d73909.bae128",
- "type": "execute",
- "name": "prepare idNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2284.7500228881836,
- "y": 1257.4999752044678,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "a39f8656.444118",
- "type": "execute",
- "name": "prepare mcc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
- "comments": "",
- "outputs": 1,
- "x": 2260.4999923706055,
- "y": 1300.5000085830688,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "d29c67e5.d6f4f8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1501.75,
- "y": 1298.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "5f1d2c5c.decd84",
- "type": "execute",
- "name": "read cellCU list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 1542.75,
- "y": 1347.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "d3e48ebc.f7231",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2269.75,
- "y": 1061.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "696ba9cb.bb2f18",
- "aebe61da.58076"
- ]
- ]
- },
- {
- "id": "696ba9cb.bb2f18",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2477.75,
- "y": 1026.749755859375,
- "z": "da62f736.168268",
- "wires": [
- [
- "2ad68b21.890b84"
- ]
- ]
- },
- {
- "id": "2ad68b21.890b84",
- "type": "execute",
- "name": "generate terminate sNSSAItEntry ToNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2797.75,
- "y": 1041.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "aebe61da.58076",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2465.75,
- "y": 1128.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "a0cd471f.d08e88"
- ]
- ]
- },
- {
- "id": "b5390e62.ee13f",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1824.75,
- "y": 1812.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "2cf8126f.d1e85e",
- "6a14fde8.414504",
- "c0f1b70c.7a0618",
- "21256195.ad05de",
- "770cc1c7.5a6fb",
- "9e4d0066.d7a5f",
- "39559a54.4e74d6",
- "292b773e.225808",
- "e28d4409.a0c4b8"
- ]
- ]
- },
- {
- "id": "2cf8126f.d1e85e",
- "type": "set",
- "name": "Calculate RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
- "comments": "",
- "x": 2006.75,
- "y": 1595.75,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "6a14fde8.414504",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2005.75,
- "y": 1651.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "c0f1b70c.7a0618",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2046.75,
- "y": 1718.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "5e0355ea.6e912c",
- "531b3c4c.239274"
- ]
- ]
- },
- {
- "id": "5e0355ea.6e912c",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2224.75,
- "y": 1685.749755859375,
- "z": "da62f736.168268",
- "wires": [
- [
- "b5415457.b2b258"
- ]
- ]
- },
- {
- "id": "b5415457.b2b258",
- "type": "execute",
- "name": "fetch RRMPolicyRatio NRCellCU - URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2502.75,
- "y": 1677.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "21256195.ad05de",
- "type": "execute",
- "name": "prepare idGNBCUCPFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2081.75,
- "y": 1790.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "770cc1c7.5a6fb",
- "type": "execute",
- "name": "prepare idNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2046.75,
- "y": 1842.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "af7677e4.5eb1b8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2332.75,
- "y": 1969.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "9d029223.3b508"
- ]
- ]
- },
- {
- "id": "9d029223.3b508",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2496.7498779296875,
- "y": 1970.7501220703125,
- "z": "da62f736.168268",
- "wires": [
- [
- "c89265f6.049fe8",
- "8edb7765.0ff4e8"
- ]
- ]
- },
- {
- "id": "c89265f6.049fe8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2646.7498779296875,
- "y": 1965.750244140625,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "64306a63.dd3e24",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2328.75,
- "y": 1890.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "48cd5a.d4e032a8"
- ]
- ]
- },
- {
- "id": "48cd5a.d4e032a8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2486.750244140625,
- "y": 1838.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "faeaed8.9cc8f1",
- "a2d9015a.dbf14",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "faeaed8.9cc8f1",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2657.7498779296875,
- "y": 1899.7500610351562,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "a2d9015a.dbf14",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2652.75,
- "y": 1804.75,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "9e4d0066.d7a5f",
- "type": "execute",
- "name": "fetch RRMPolicyRatio - NRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2081.75,
- "y": 1917.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "64306a63.dd3e24",
- "af7677e4.5eb1b8"
- ]
- ]
- },
- {
- "id": "8edb7765.0ff4e8",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2661.75,
- "y": 2028.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "39559a54.4e74d6",
- "type": "for",
- "name": "for each rrmpolicyratio",
- "xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2016.75,
- "y": 2075.750228881836,
- "z": "da62f736.168268",
- "wires": [
- [
- "cd8bf9bc.1cadc8"
- ]
- ]
- },
- {
- "id": "292b773e.225808",
- "type": "execute",
- "name": "read rrmpolicyratio list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length '`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 2060.75,
- "y": 1971.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "cd8bf9bc.1cadc8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2237.75,
- "y": 2095.750228881836,
- "z": "da62f736.168268",
- "wires": [
- [
- "2bc7679f.a36f88",
- "756aabaa.a810d4",
- "bafc3e6d.cdf73",
- "71c76952.045908",
- "54cca329.31500c",
- "14019172.5d29bf",
- "521d3d11.f4ead4",
- "cd5eaeef.a91e3",
- "eaeb68eb.667d98",
- "7314c963.605c68"
- ]
- ]
- },
- {
- "id": "2bc7679f.a36f88",
- "type": "set",
- "name": "Calculate updated RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellCU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`\" />",
- "comments": "",
- "x": 2562.75,
- "y": 2072.750228881836,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "e28d4409.a0c4b8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2000.75,
- "y": 2025.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "688b9f44.1b24f",
- "type": "for",
- "name": "foreach PLMNInfo",
- "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2093.8610229492188,
- "y": 806.9722108840942,
- "z": "da62f736.168268",
- "wires": [
- [
- "9bebaeb1.90386"
- ]
- ]
- },
- {
- "id": "9e9a8829.999268",
- "type": "block",
- "name": "block",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1752.75,
- "y": 1300.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "688b9f44.1b24f",
- "63802b92.24eaa4"
- ]
- ]
- },
- {
- "id": "fab9e219.5662d",
- "type": "switchNode",
- "name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2516.527801513672,
- "y": 817.5277490615845,
- "z": "da62f736.168268",
- "wires": [
- [
- "b43cbba0.8b8ab8"
- ]
- ]
- },
- {
- "id": "b43cbba0.8b8ab8",
- "type": "outcome",
- "name": "True",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2419.75,
- "y": 902.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "47df190.60624e8"
- ]
- ]
- },
- {
- "id": "b5ed71f7.1a30d",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"NSSAI exists \"/>\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2241.75,
- "y": 993.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "7690acef.0c3c44",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2477.638961791992,
- "y": 752.9721822738647,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "9bebaeb1.90386",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2271.75,
- "y": 729.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "7690acef.0c3c44",
- "fab9e219.5662d",
- "c229445e.e237e8"
- ]
- ]
- },
- {
- "id": "c229445e.e237e8",
- "type": "execute",
- "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2606.6388549804688,
- "y": 684.9722309112549,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "871e03be.326d",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1641.7499542236328,
- "y": 2277.750011444092,
- "z": "da62f736.168268",
- "wires": [
- [
- "7389066e.093d58",
- "d793dedd.b3828",
- "affea016.689ae"
- ]
- ]
- },
- {
- "id": "7389066e.093d58",
- "type": "execute",
- "name": "Update cellCU for gNBCUCP in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUCP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removegNBCUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"remove-gNBCUCP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1924.7499542236328,
- "y": 2277.750011444092,
- "z": "da62f736.168268",
- "wires": [
- [
- "792eb9e8.3016e8",
- "f973581b.cedbd8"
- ]
- ]
- },
- {
- "id": "f973581b.cedbd8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2160.749954223633,
- "y": 2349.750011444092,
- "z": "da62f736.168268",
- "wires": [
- [
- "337d2d70.5e45a2"
- ]
- ]
- },
- {
- "id": "792eb9e8.3016e8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2211.749954223633,
- "y": 2248.750255584717,
- "z": "da62f736.168268",
- "wires": [
- [
- "c01c4080.c3a65"
- ]
- ]
- },
- {
- "id": "c01c4080.c3a65",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2405.000068664551,
- "y": 2393.5000705718994,
- "z": "da62f736.168268",
- "wires": [
- [
- "75b5b3c7.3a963c",
- "56f19de0.2f7e84",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "56f19de0.2f7e84",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2574.749885559082,
- "y": 2380.9446816444397,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "75b5b3c7.3a963c",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2574.7495880126953,
- "y": 2425.750072479248,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "f1003da4.9703c",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
- "comments": "",
- "outputs": 1,
- "x": 2410.749954223633,
- "y": 2436.750011444092,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "337d2d70.5e45a2",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2246.7499389648438,
- "y": 2430.750072479248,
- "z": "da62f736.168268",
- "wires": [
- [
- "f1003da4.9703c"
- ]
- ]
- },
- {
- "id": "7314c963.605c68",
- "type": "execute",
- "name": "Update RRMPolicy for gNBCUCP in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removeRRMPolicyMember-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"remove-gNBCUCP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1945.75,
- "y": 2563.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "90150da1.697df",
- "dbce7c71.c3c3a"
- ]
- ]
- },
- {
- "id": "90150da1.697df",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2243.75,
- "y": 2513.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "87555999.94c5c8"
- ]
- ]
- },
- {
- "id": "dbce7c71.c3c3a",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2243.75,
- "y": 2623.749755859375,
- "z": "da62f736.168268",
- "wires": [
- [
- "67c6fcad.1b3574"
- ]
- ]
- },
- {
- "id": "87555999.94c5c8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2446.75,
- "y": 2510.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "eea3df6d.b73c1",
- "df244507.9f78b8",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "df244507.9f78b8",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2612.749755859375,
- "y": 2476.75,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "eea3df6d.b73c1",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2617.7496337890625,
- "y": 2571.7500610351562,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "67c6fcad.1b3574",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2424.75,
- "y": 2617.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "5b69f3a4.bdbf9c"
- ]
- ]
- },
- {
- "id": "5b69f3a4.bdbf9c",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU RRMPolicyRatio \"/>",
- "comments": "",
- "outputs": 1,
- "x": 2590.75,
- "y": 2618.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "e30d97bf.620048",
- "type": "block",
- "name": "Process CUUP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 537.75,
- "y": 1457.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "e740dcbe.62887",
- "a339374f.45c368",
- "2c0eccd1.c1fb94"
- ]
- ]
- },
- {
- "id": "e740dcbe.62887",
- "type": "execute",
- "name": "read CUUP list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 868.75,
- "y": 1467.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "a339374f.45c368",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 840.75,
- "y": 1532.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "2c0eccd1.c1fb94",
- "type": "for",
- "name": "foreach CUUP",
- "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 868.75,
- "y": 1607.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "2c461d47.b6fc72"
- ]
- ]
- },
- {
- "id": "2c461d47.b6fc72",
- "type": "block",
- "name": "block : process CUUP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1089.75,
- "y": 1614.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "18305831.d8e2b8",
- "14036e41.d65ea2",
- "f20be07.17fc12",
- "3cfc8050.81beb"
- ]
- ]
- },
- {
- "id": "18305831.d8e2b8",
- "type": "execute",
- "name": "read CUUP id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1323.75,
- "y": 1448.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "14036e41.d65ea2",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1319.75,
- "y": 1502.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "f20be07.17fc12",
- "type": "execute",
- "name": "read plmninfolist size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1370.75,
- "y": 1567.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "3cfc8050.81beb",
- "type": "for",
- "name": "foreach pLMNInfo",
- "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1356.75,
- "y": 1622.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "d2fce7e.daa3d18"
- ]
- ]
- },
- {
- "id": "d2fce7e.daa3d18",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1322.75,
- "y": 2698.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "26b37e42.cb62c2",
- "dcce991e.51fb68",
- "8565a8c1.f117b8",
- "3122b254.89dc0e",
- "47f50986.613b18",
- "cc4b3d1c.b7b28",
- "410f131a.e8d5cc",
- "d8d2f80.b434408",
- "3e6164e6.889c1c",
- "9f52b9d7.0cd2f8",
- "26cf8ac7.b0c7f6",
- "ecfda6cb.0dc9f8",
- "ff979e6b.4c16e",
- "45d93df6.d8a744",
- "5537eaa4.099b64",
- "3a0a4656.8f287a",
- "550fad5.d572654"
- ]
- ]
- },
- {
- "id": "1fdc0d32.1eff63",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1952.7501525878906,
- "y": 2898.7502393722534,
- "z": "da62f736.168268",
- "wires": [
- [
- "3d8b1b51.39d874"
- ]
- ]
- },
- {
- "id": "3d8b1b51.39d874",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2129.750274658203,
- "y": 2887.750117301941,
- "z": "da62f736.168268",
- "wires": [
- [
- "559fa3a0.b9869c",
- "b8136934.d0c978",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "b8136934.d0c978",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfoList. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2394.750289916992,
- "y": 2857.750524520874,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "559fa3a0.b9869c",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfo. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2388.750289916992,
- "y": 2898.750524520874,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "a873648c.573e28",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - gNBCUUP PLMNInfo Entry\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2279.749725341797,
- "y": 2970.7502393722534,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "4dcb6361.01e9bc",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2126.750030517578,
- "y": 2970.7499952316284,
- "z": "da62f736.168268",
- "wires": [
- [
- "a873648c.573e28"
- ]
- ]
- },
- {
- "id": "f316122d.69b8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1946.7500305175781,
- "y": 2965.750178337097,
- "z": "da62f736.168268",
- "wires": [
- [
- "4dcb6361.01e9bc"
- ]
- ]
- },
- {
- "id": "b4bbd615.193438",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2064.750015258789,
- "y": 2698.750400543213,
- "z": "da62f736.168268",
- "wires": [
- [
- "f563292.e8546d8",
- "809d4e77.6150b"
- ]
- ]
- },
- {
- "id": "f563292.e8546d8",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2335.750015258789,
- "y": 2677.750099182129,
- "z": "da62f736.168268",
- "wires": [
- [
- "86d73812.b12f28"
- ]
- ]
- },
- {
- "id": "809d4e77.6150b",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2323.750015258789,
- "y": 2779.750343322754,
- "z": "da62f736.168268",
- "wires": [
- [
- "f5886e6b.6deba"
- ]
- ]
- },
- {
- "id": "86d73812.b12f28",
- "type": "execute",
- "name": "generate terminate PLMNInfoListEntry CUUP URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2655.750015258789,
- "y": 2692.750343322754,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "26b37e42.cb62c2",
- "type": "execute",
- "name": "prepare idGNBCUUPFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1654.749984741211,
- "y": 2721.7500343322754,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "756aabaa.a810d4",
- "type": "set",
- "name": "RRMPolicyRatio id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />",
- "comments": "",
- "x": 2512.5279083251953,
- "y": 2111.749927520752,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "dcce991e.51fb68",
- "type": "set",
- "name": "Calculate RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
- "comments": "",
- "x": 1623.7502136230469,
- "y": 2968.750494003296,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "8565a8c1.f117b8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio-CUUP`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1569.7502059936523,
- "y": 3040.750497817993,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "3122b254.89dc0e",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1580.75,
- "y": 3115.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "80de3869.b21368",
- "dd4e6136.8f68f"
- ]
- ]
- },
- {
- "id": "80de3869.b21368",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1758.75,
- "y": 3082.749755859375,
- "z": "da62f736.168268",
- "wires": [
- [
- "5ffeb69.0073248"
- ]
- ]
- },
- {
- "id": "5ffeb69.0073248",
- "type": "execute",
- "name": "fetch RRMPolicyRatio CUUP - URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2053.750030517578,
- "y": 3028.7500562667847,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "47f50986.613b18",
- "type": "execute",
- "name": "prepare idGNBCUUPFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1617.7500839233398,
- "y": 3170.7500133514404,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "cc4b3d1c.b7b28",
- "type": "execute",
- "name": "fetch RRMPolicyRatio - CUUP",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-cuup-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1613.7502517700195,
- "y": 3227.7500143051147,
- "z": "da62f736.168268",
- "wires": [
- [
- "38ac6d66.eb8bb2",
- "f36285fe.091f58"
- ]
- ]
- },
- {
- "id": "38ac6d66.eb8bb2",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1863.7500953674316,
- "y": 3217.750178337097,
- "z": "da62f736.168268",
- "wires": [
- [
- "b978449b.8564e8"
- ]
- ]
- },
- {
- "id": "b978449b.8564e8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2024.750244140625,
- "y": 3236.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "d8c014b9.fdde68",
- "3d535d79.d11522",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "3d535d79.d11522",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2190.75,
- "y": 3202.75,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "d8c014b9.fdde68",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in fetching RRMPolicyRatio. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2240.749801635742,
- "y": 3257.7499828338623,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "5fa9cd75.1642c4",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2238.7500762939453,
- "y": 3343.750470638275,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "32e5c16b.e5d03e",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2219.7498626708984,
- "y": 3300.7502269744873,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "3f7902a5.2af71e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2022.7499542236328,
- "y": 3282.750409603119,
- "z": "da62f736.168268",
- "wires": [
- [
- "32e5c16b.e5d03e",
- "5fa9cd75.1642c4"
- ]
- ]
- },
- {
- "id": "f36285fe.091f58",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1864.7501678466797,
- "y": 3272.7502875328064,
- "z": "da62f736.168268",
- "wires": [
- [
- "3f7902a5.2af71e"
- ]
- ]
- },
- {
- "id": "410f131a.e8d5cc",
- "type": "execute",
- "name": "read rrmpolicyratio list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_CUUP_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length '`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 1601.7501068115234,
- "y": 3270.7499828338623,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "d8d2f80.b434408",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1539.7501983642578,
- "y": 3314.7500438690186,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "3e6164e6.889c1c",
- "type": "for",
- "name": "for each rrmpolicyratio",
- "xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1581.4166412353516,
- "y": 3365.0835399627686,
- "z": "da62f736.168268",
- "wires": [
- [
- "4d9b86f.66fa578"
- ]
- ]
- },
- {
- "id": "4d9b86f.66fa578",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1780.4166793823242,
- "y": 3391.083480834961,
- "z": "da62f736.168268",
- "wires": [
- [
- "ce038fe2.e456",
- "519ec736.4a1068",
- "dd39b21f.bbf38",
- "8e54b571.b9af88",
- "5ca1f89e.93f5d8",
- "eda4c4e8.16ea58",
- "a13823ad.65203",
- "5f652628.9468d8"
- ]
- ]
- },
- {
- "id": "4ab04fee.b55ac",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2576.4165573120117,
- "y": 3625.083728790283,
- "z": "da62f736.168268",
- "wires": [
- [
- "341834f5.774cfc"
- ]
- ]
- },
- {
- "id": "341834f5.774cfc",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - CUUP RRMpolicyRatio\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2770.4167098999023,
- "y": 3655.0835456848145,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "eb6b252b.9b57a8",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP RRMPolicyRatio. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2836.416528701782,
- "y": 3712.083423137665,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "d2c89e1b.a4f7e",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing RRMPolicyRatio. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2851.416648864746,
- "y": 3760.083423137665,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "175e405e.e470d",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2573.41707611084,
- "y": 3687.0833625793457,
- "z": "da62f736.168268",
- "wires": [
- [
- "d2c89e1b.a4f7e",
- "eb6b252b.9b57a8"
- ]
- ]
- },
- {
- "id": "635ad14e.3580b",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2352.41658782959,
- "y": 3664.0833621025085,
- "z": "da62f736.168268",
- "wires": [
- [
- "175e405e.e470d"
- ]
- ]
- },
- {
- "id": "9f52b9d7.0cd2f8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1536.0834197998047,
- "y": 3823.4168615341187,
- "z": "da62f736.168268",
- "wires": [
- [
- "ac9e50a1.7fede",
- "ab5e7689.f41358",
- "3b93f05.3eb1b1",
- "9a1ff089.a405b"
- ]
- ]
- },
- {
- "id": "ac9e50a1.7fede",
- "type": "execute",
- "name": "Update gNBCUUP in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updategNBCUUP.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1869.0833740234375,
- "y": 3824.416748046875,
- "z": "da62f736.168268",
- "wires": [
- [
- "5d9840dd.4bc88",
- "8d0eecf8.83f93"
- ]
- ]
- },
- {
- "id": "5d9840dd.4bc88",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2156.0833740234375,
- "y": 3795.4169921875,
- "z": "da62f736.168268",
- "wires": [
- [
- "6c01dce1.f97fe4"
- ]
- ]
- },
- {
- "id": "8d0eecf8.83f93",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2105.0833740234375,
- "y": 3896.416748046875,
- "z": "da62f736.168268",
- "wires": [
- [
- "91bdfe82.c4b79"
- ]
- ]
- },
- {
- "id": "91bdfe82.c4b79",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2227.0832443237305,
- "y": 3943.416739463806,
- "z": "da62f736.168268",
- "wires": [
- [
- "b718f495.923768"
- ]
- ]
- },
- {
- "id": "6c01dce1.f97fe4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2348.0833740234375,
- "y": 3911.416748046875,
- "z": "da62f736.168268",
- "wires": [
- [
- "bb2286c0.bc6398",
- "19e6162c.9ede7a",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "b718f495.923768",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
- "comments": "",
- "outputs": 1,
- "x": 2367.0834884643555,
- "y": 3947.4168004989624,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "bb2286c0.bc6398",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2519.0830078125,
- "y": 3972.4168090820312,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "19e6162c.9ede7a",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2514.0831756591797,
- "y": 3879.416736602783,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "5171c1e8.188f1",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2557.0831756591797,
- "y": 4023.416736602783,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "e3510d57.aaac7",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2562.083053588867,
- "y": 4118.416797637939,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "f269ec80.a0884",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2391.0834197998047,
- "y": 4057.416736602783,
- "z": "da62f736.168268",
- "wires": [
- [
- "e3510d57.aaac7",
- "5171c1e8.188f1",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "72f84ec8.0e571",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - CUUP RRMPolicyRatio \"/>",
- "comments": "",
- "outputs": 1,
- "x": 2535.0834197998047,
- "y": 4165.416736602783,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "5a9ef1b4.c3885",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2369.0834197998047,
- "y": 4164.416736602783,
- "z": "da62f736.168268",
- "wires": [
- [
- "72f84ec8.0e571"
- ]
- ]
- },
- {
- "id": "5e2714ed.25585c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2188.0834197998047,
- "y": 4170.416492462158,
- "z": "da62f736.168268",
- "wires": [
- [
- "5a9ef1b4.c3885"
- ]
- ]
- },
- {
- "id": "b1b6ad6a.6cde4",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2188.0834197998047,
- "y": 4060.416736602783,
- "z": "da62f736.168268",
- "wires": [
- [
- "f269ec80.a0884"
- ]
- ]
- },
- {
- "id": "ab5e7689.f41358",
- "type": "execute",
- "name": "Update RRMPolicy for gNBCUUP in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removeRRMPolicy-CUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-gNBCUUP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1887.583511352539,
- "y": 4094.1669845581055,
- "z": "da62f736.168268",
- "wires": [
- [
- "b1b6ad6a.6cde4",
- "5e2714ed.25585c"
- ]
- ]
- },
- {
- "id": "c27385b1.743288",
- "type": "block",
- "name": "Process gNBDU",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 900.5001754760742,
- "y": 4095.5007286071777,
- "z": "da62f736.168268",
- "wires": [
- [
- "d44b3b7a.f9ae88",
- "f2a985c9.2fb6c8",
- "20dcee0d.5baaf2"
- ]
- ]
- },
- {
- "id": "d44b3b7a.f9ae88",
- "type": "execute",
- "name": "read DUlist size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 1229.5001754760742,
- "y": 4126.500728607178,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "f2a985c9.2fb6c8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1187.5001602172852,
- "y": 4187.500728607178,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "20dcee0d.5baaf2",
- "type": "for",
- "name": "foreach DU",
- "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1199.5002059936523,
- "y": 4257.500728607178,
- "z": "da62f736.168268",
- "wires": [
- [
- "58ad1116.577ab"
- ]
- ]
- },
- {
- "id": "58ad1116.577ab",
- "type": "block",
- "name": "block : process gNBDU",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1480.5001754760742,
- "y": 4258.5006980896,
- "z": "da62f736.168268",
- "wires": [
- [
- "1a7dbcc4.fe8223",
- "37b7f8eb.9730a8",
- "d16e57f9.769c18",
- "6fcc7512.bb863c"
- ]
- ]
- },
- {
- "id": "1a7dbcc4.fe8223",
- "type": "execute",
- "name": "read DU id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1759.5,
- "y": 4254.5,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "37b7f8eb.9730a8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1732.5,
- "y": 4305.5,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "d16e57f9.769c18",
- "type": "execute",
- "name": "read cellDU list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 1773.5,
- "y": 4354.5,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "6fcc7512.bb863c",
- "type": "for",
- "name": "for cellDUList",
- "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1763.5,
- "y": 4398.5,
- "z": "da62f736.168268",
- "wires": [
- [
- "20dcb9bd.e2a956",
- "4acc0f7.2614af"
- ]
- ]
- },
- {
- "id": "72b1fbfe.4fa0d4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2790.25,
- "y": 4452.5,
- "z": "da62f736.168268",
- "wires": [
- [
- "8f979011.b6e6b",
- "1b1d715f.a2381f",
- "f4a73761.2d9c48",
- "47f75bf6.11a604",
- "eb68c446.256e38",
- "5f2b45e8.09ecfc",
- "62ef4996.4a7668",
- "da885498.297d28",
- "5d56bd5.d8dea44",
- "6ecbc131.24be5",
- "ffa45991.9c2558",
- "4b70a51a.898acc"
- ]
- ]
- },
- {
- "id": "da885498.297d28",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2985.25,
- "y": 4447.5,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "62ef4996.4a7668",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3013.25,
- "y": 4515.5,
- "z": "da62f736.168268",
- "wires": [
- [
- "69e311a3.9ebdf",
- "b5f8b77e.33dce8"
- ]
- ]
- },
- {
- "id": "69e311a3.9ebdf",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3221.25,
- "y": 4480.499755859375,
- "z": "da62f736.168268",
- "wires": [
- [
- "32cc5bde.7c59e4"
- ]
- ]
- },
- {
- "id": "b5f8b77e.33dce8",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3216.2500495910645,
- "y": 4549.500324249268,
- "z": "da62f736.168268",
- "wires": [
- [
- "f5bc4d2b.f7391"
- ]
- ]
- },
- {
- "id": "32cc5bde.7c59e4",
- "type": "execute",
- "name": "generate terminate PLMNInfoListEntry ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3541.25,
- "y": 4495.5,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "8f979011.b6e6b",
- "type": "execute",
- "name": "read cellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3010.2501525878906,
- "y": 4603.500244140625,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "47f75bf6.11a604",
- "type": "execute",
- "name": "prepare idGNBDUFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3065.250213623047,
- "y": 4668.500182151794,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "eb68c446.256e38",
- "type": "execute",
- "name": "prepare idNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3038.2503967285156,
- "y": 4723.500184059143,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "5f2b45e8.09ecfc",
- "type": "execute",
- "name": "prepare mcc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
- "comments": "",
- "outputs": 1,
- "x": 3023.250198364258,
- "y": 4767.750683307648,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "1b1d715f.a2381f",
- "type": "execute",
- "name": "prepare mnc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3024.000442504883,
- "y": 4812.000257492065,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "f4a73761.2d9c48",
- "type": "record",
- "name": "record API params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field8\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3025.249969482422,
- "y": 4912.50061416626,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "5d56bd5.d8dea44",
- "type": "execute",
- "name": "terminate PLMNInfoListEntry ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 3082.25,
- "y": 4987.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "de2f338a.d2994",
- "1ea231e0.81896e"
- ]
- ]
- },
- {
- "id": "1ea231e0.81896e",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3349.25,
- "y": 4887.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "988fbcb0.6d2d6"
- ]
- ]
- },
- {
- "id": "de2f338a.d2994",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3348.25,
- "y": 4986.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "67267243.a6959c"
- ]
- ]
- },
- {
- "id": "988fbcb0.6d2d6",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3507.250244140625,
- "y": 4835.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "36c4ff38.15923",
- "c0468079.cd9c5",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "67267243.a6959c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3516.25,
- "y": 4983.750002622604,
- "z": "da62f736.168268",
- "wires": [
- [
- "ca44f06c.103db"
- ]
- ]
- },
- {
- "id": "ca44f06c.103db",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully deleted - cellDU PLMNInfo List\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3662.2498779296875,
- "y": 4982.750244140625,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "36c4ff38.15923",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error deleting NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3678.2498779296875,
- "y": 4896.750061035156,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "c0468079.cd9c5",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error deleting cellDU PLMNInfoList. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3673.25,
- "y": 4801.75,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "6ecbc131.24be5",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2883.5,
- "y": 5260.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "8c1f5d.018670a",
- "d38412c4.b750b",
- "7ebb67d7.e11a28",
- "319beb3a.17f564",
- "85944896.465108",
- "d39913b1.553fb",
- "d494c905.5edd58",
- "d4e37be0.db9d78"
- ]
- ]
- },
- {
- "id": "8c1f5d.018670a",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3105.5,
- "y": 5166.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "f751f532.34e6f8",
- "bfaa39dc.757718"
- ]
- ]
- },
- {
- "id": "f751f532.34e6f8",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3288.5002365112305,
- "y": 5104.7503299713135,
- "z": "da62f736.168268",
- "wires": [
- [
- "4690d563.53f8dc"
- ]
- ]
- },
- {
- "id": "4690d563.53f8dc",
- "type": "execute",
- "name": "fetch RRMPolicyRatio NRCellDU - URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3588.5001068115234,
- "y": 5105.750452041626,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "d38412c4.b750b",
- "type": "execute",
- "name": "prepare idGNBDUFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3140.5,
- "y": 5238.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "7ebb67d7.e11a28",
- "type": "execute",
- "name": "prepare idNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3105.5,
- "y": 5290.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "319beb3a.17f564",
- "type": "execute",
- "name": "fetch RRMPolicyRatio - NRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-du-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3140.5,
- "y": 5365.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "33a3a8f9.d26368",
- "65e9c8d0.3d2a68"
- ]
- ]
- },
- {
- "id": "33a3a8f9.d26368",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3387.5,
- "y": 5338.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "ca92b939.e751a8"
- ]
- ]
- },
- {
- "id": "65e9c8d0.3d2a68",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3391.5,
- "y": 5417.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "bc0581a1.c009b"
- ]
- ]
- },
- {
- "id": "ca92b939.e751a8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3545.500244140625,
- "y": 5286.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "5e52674c.f49888",
- "32e9d73b.f2f8a8",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "32e9d73b.f2f8a8",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3711.5,
- "y": 5252.75,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "5e52674c.f49888",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3716.4998779296875,
- "y": 5347.750061035156,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "bc0581a1.c009b",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3536.750213623047,
- "y": 5352.500155448914,
- "z": "da62f736.168268",
- "wires": [
- [
- "41e8ef48.3d086",
- "8e9932e7.59ac9"
- ]
- ]
- },
- {
- "id": "41e8ef48.3d086",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3703.000274658203,
- "y": 5392.500154495239,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "8e9932e7.59ac9",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 3705.5005226135254,
- "y": 5428.000034332275,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "85944896.465108",
- "type": "execute",
- "name": "read rrmpolicyratio list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length '`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 3119.5,
- "y": 5419.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "d39913b1.553fb",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3059.5,
- "y": 5473.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "d494c905.5edd58",
- "type": "block",
- "name": "rrmPolicyDedicatedRatio",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3664.5000381469727,
- "y": 5050.750089645386,
- "z": "da62f736.168268",
- "wires": [
- [
- "f79d7ff8.a240b",
- "d3265604.69a8f8",
- "55db54a6.573fec",
- "5a2807b7.758d38",
- "1bfbc1d.981203e",
- "b6f94bdb.26c228",
- "96c4e243.6dd73",
- "5b8d9ef8.04c1",
- "4f528104.e7e38",
- "9cf9a3b.174fc6",
- "d8f7c33c.fcfed"
- ]
- ]
- },
- {
- "id": "55db54a6.573fec",
- "type": "set",
- "name": "Calculate RRM Parms1",
- "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
- "comments": "",
- "x": 4108.489807128906,
- "y": 4831.072752952576,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "5a2807b7.758d38",
- "type": "set",
- "name": "Calculate RRM Parms2",
- "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
- "comments": "",
- "x": 4117.031066894531,
- "y": 4876.092772424221,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "1bfbc1d.981203e",
- "type": "set",
- "name": "Calculate RRM Parms3",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
- "comments": "",
- "x": 4107.031188964844,
- "y": 4931.0926503539085,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "b6f94bdb.26c228",
- "type": "set",
- "name": "Calculate RRM Parms4",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
- "comments": "",
- "x": 4107.031066894531,
- "y": 4982.092650413513,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "96c4e243.6dd73",
- "type": "set",
- "name": "Calculate RRM Parms5",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
- "comments": "",
- "x": 4095.0311889648438,
- "y": 5042.092772424221,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "5b8d9ef8.04c1",
- "type": "set",
- "name": "Calculate RRM Parms6",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
- "comments": "",
- "x": 4133.031066894531,
- "y": 5092.092772424221,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "4f528104.e7e38",
- "type": "set",
- "name": "Calculate RRM Parms7",
- "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
- "comments": "",
- "x": 4120.031005859375,
- "y": 5162.093138694763,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "9cf9a3b.174fc6",
- "type": "set",
- "name": "calculation8",
- "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
- "comments": "",
- "x": 4091.031005859375,
- "y": 5226.092162132263,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "d8f7c33c.fcfed",
- "type": "set",
- "name": "calculation9",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
- "comments": "",
- "x": 4079.0315551757812,
- "y": 5277.092040061951,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "d3265604.69a8f8",
- "type": "set",
- "name": "calculation10",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
- "comments": "",
- "x": 4054.4898681640625,
- "y": 5343.072508811951,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "f79d7ff8.a240b",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"tmp.nearRTRIC.trafficCapacity1 \"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.trafficCapacity1`\"/>\n<parameter name=\"field5\" value=\"tmp.nearRTRIC.trafficCapacity \"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.trafficCapacity`\"/>\n<parameter name=\"field7\" value=\"tmp.nearRTRIC.trafficCapacityBPS\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.trafficCapacityBPS`\"/>\n<parameter name=\"field9\" value=\"tmp.nrcelldu.totalPRBForSNSSAI \"/>\n<parameter name=\"field10\" value=\"`$tmp.nrcelldu.totalPRBForSNSSAI`\"/>\n<parameter name=\"field11\" value=\"tmp.nrcelldu.PRBPerImpactedCell \"/>\n<parameter name=\"field12\" value=\"`$tmp.nrcelldu.PRBPerImpactedCell`\"/>\n<parameter name=\"field13\" value=\"tmp.rRMPolicyDedicatedRatio.CellDU1 \"/>\n<parameter name=\"field14\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU1`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3880.4997940063477,
- "y": 5355.193815231323,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "d4e37be0.db9d78",
- "type": "for",
- "name": "for each rrmpolicyratio",
- "xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 3100.75,
- "y": 5544.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "a71eb109.1a2a8"
- ]
- ]
- },
- {
- "id": "a71eb109.1a2a8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3321.75,
- "y": 5564.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "f7c7de35.f6dd",
- "478d81fe.50e29",
- "e85c75c9.5a5208",
- "734b37a6.ac7cf8",
- "3c1e8267.b4f8fe",
- "2fdf003a.ff7bd",
- "ee315155.36298",
- "778a736d.50fb1c"
- ]
- ]
- },
- {
- "id": "f7c7de35.f6dd",
- "type": "set",
- "name": "RRMPolicyRatio id",
- "xml": "<set>\n<parameter name='tmp.cellDURRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />",
- "comments": "",
- "x": 3598.7501525878906,
- "y": 5468.250279426575,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "78448d12.dce7b4",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3915.750160217285,
- "y": 5767.000280380249,
- "z": "da62f736.168268",
- "wires": [
- [
- "9d9a69ac.9255f8"
- ]
- ]
- },
- {
- "id": "9d9a69ac.9255f8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4108.000228881836,
- "y": 5780.750280380249,
- "z": "da62f736.168268",
- "wires": [
- [
- "a8a9b00f.39d7"
- ]
- ]
- },
- {
- "id": "a8a9b00f.39d7",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - cellDU RRMpolicyRatio\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4305.500595092773,
- "y": 5771.75004196167,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "dd7413d3.b5b8",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing cellDU RRMPolicyRatio. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 4373.75,
- "y": 5799.749771118164,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "7c47cc13.b86254",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 4378.7498779296875,
- "y": 5894.74983215332,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "8017e442.c8be18",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4133.750244140625,
- "y": 5848.749771118164,
- "z": "da62f736.168268",
- "wires": [
- [
- "7c47cc13.b86254",
- "dd7413d3.b5b8",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "b77e4296.a4ab5",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3914.75,
- "y": 5843.749771118164,
- "z": "da62f736.168268",
- "wires": [
- [
- "8017e442.c8be18"
- ]
- ]
- },
- {
- "id": "ffa45991.9c2558",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2836.2500915527344,
- "y": 5848.75009727478,
- "z": "da62f736.168268",
- "wires": [
- [
- "d4b0d139.012c",
- "1321a256.82504e",
- "59b4ea74.9d06d4",
- "6b7c5e5f.28631"
- ]
- ]
- },
- {
- "id": "d4b0d139.012c",
- "type": "execute",
- "name": "Update cellDU for gNBDU in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removegNBDU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-gNBDU-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3221.7505073547363,
- "y": 5950.500043869019,
- "z": "da62f736.168268",
- "wires": [
- [
- "2eaf880c.477aa8",
- "2a7ba3a1.9e937c"
- ]
- ]
- },
- {
- "id": "2eaf880c.477aa8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3555.000087738037,
- "y": 5931.501020431519,
- "z": "da62f736.168268",
- "wires": [
- [
- "1ae15191.d7ec1e"
- ]
- ]
- },
- {
- "id": "2a7ba3a1.9e937c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3486.500270843506,
- "y": 6018.750165939331,
- "z": "da62f736.168268",
- "wires": [
- [
- "f8e3fdf8.76c46"
- ]
- ]
- },
- {
- "id": "f8e3fdf8.76c46",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 3621.249984741211,
- "y": 6009.750061035156,
- "z": "da62f736.168268",
- "wires": [
- [
- "fafaca02.b0f628"
- ]
- ]
- },
- {
- "id": "1ae15191.d7ec1e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3778.25,
- "y": 5943.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "de84c38a.81b01",
- "e14e1e06.b838b",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "e14e1e06.b838b",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellDU. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3944.249801635742,
- "y": 5911.749988555908,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "fafaca02.b0f628",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
- "comments": "",
- "outputs": 1,
- "x": 3785.25,
- "y": 6015.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "de84c38a.81b01",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3949.2496337890625,
- "y": 6004.750061035156,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "d8c801f9.936cf",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3987.249801635742,
- "y": 6055.749988555908,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "ca66d998.89cb18",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3992.2496795654297,
- "y": 6150.750049591064,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "d169c987.bcc738",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3821.250045776367,
- "y": 6089.749988555908,
- "z": "da62f736.168268",
- "wires": [
- [
- "ca66d998.89cb18",
- "d8c801f9.936cf",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "e882cfe7.3321c",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3618.250045776367,
- "y": 6092.749988555908,
- "z": "da62f736.168268",
- "wires": [
- [
- "d169c987.bcc738"
- ]
- ]
- },
- {
- "id": "1321a256.82504e",
- "type": "execute",
- "name": "Update RRMPolicy for gNBDU in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removeRRMPolicy-DU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-gNBDU-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3189.0001525878906,
- "y": 6177.750418186188,
- "z": "da62f736.168268",
- "wires": [
- [
- "e882cfe7.3321c",
- "4c10d770.1b7d38"
- ]
- ]
- },
- {
- "id": "4c10d770.1b7d38",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3618.250045776367,
- "y": 6202.749744415283,
- "z": "da62f736.168268",
- "wires": [
- [
- "a31a93f8.b478"
- ]
- ]
- },
- {
- "id": "a31a93f8.b478",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 3799.250045776367,
- "y": 6196.749988555908,
- "z": "da62f736.168268",
- "wires": [
- [
- "30cee1c0.58d61e"
- ]
- ]
- },
- {
- "id": "30cee1c0.58d61e",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellDU RRMPolicyRatio \"/>",
- "comments": "",
- "outputs": 1,
- "x": 3965.250045776367,
- "y": 6197.749988555908,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "80ea1426.fb74e8",
- "type": "block",
- "name": "block : SO Response",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4458.234375,
- "y": 2748.7500026226044,
- "z": "da62f736.168268",
- "wires": [
- [
- "d5cfb8cc.005b08",
- "cc239932.401b58",
- "800fdb34.47dc38"
- ]
- ]
- },
- {
- "id": "d5cfb8cc.005b08",
- "type": "set",
- "name": "set tmp variables for SO response",
- "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$terminateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$terminateRANSlice-input.action`\"/>\n",
- "comments": "",
- "x": 5120.2353515625,
- "y": 2540.6496608257294,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "cc239932.401b58",
- "type": "record",
- "name": "record configdb RestAPI parms",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
- "comments": "",
- "outputs": 1,
- "x": 5095.234237670898,
- "y": 2637.7503383159637,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "800fdb34.47dc38",
- "type": "execute",
- "name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 5010.23424911499,
- "y": 2734.7502162456512,
- "z": "da62f736.168268",
- "wires": [
- [
- "a0207bd8.781f58",
- "862de34c.7e795"
- ]
- ]
- },
- {
- "id": "a0207bd8.781f58",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5236.234257698059,
- "y": 2711.750185251236,
- "z": "da62f736.168268",
- "wires": [
- [
- "3e04c446.bef78c"
- ]
- ]
- },
- {
- "id": "862de34c.7e795",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5226.234111785889,
- "y": 2819.750124692917,
- "z": "da62f736.168268",
- "wires": [
- [
- "9ad7577a.1ae238"
- ]
- ]
- },
- {
- "id": "9ad7577a.1ae238",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 5376.233898162842,
- "y": 2838.750185728073,
- "z": "da62f736.168268",
- "wires": [
- [
- "af6c61d2.e5e9e"
- ]
- ]
- },
- {
- "id": "3e04c446.bef78c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 5387.234127044678,
- "y": 2706.7503073215485,
- "z": "da62f736.168268",
- "wires": [
- [
- "78222dba.6bb794"
- ]
- ]
- },
- {
- "id": "78222dba.6bb794",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
- "comments": "",
- "x": 5553.233806610107,
- "y": 2709.750124692917,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "af6c61d2.e5e9e",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
- "comments": "",
- "outputs": 1,
- "x": 5540.233913421631,
- "y": 2844.750124692917,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "2e6295f3.2b018a",
- "type": "block",
- "name": "SO Response",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 540.234375,
- "y": 4430.750002622604,
- "z": "da62f736.168268",
- "wires": [
- [
- "23072140.00f5de",
- "65b2eda9.1d4d94",
- "92f41428.624cf8",
- "3c620604.a4247a"
- ]
- ]
- },
- {
- "id": "92f41428.624cf8",
- "type": "set",
- "name": "set tmp variables for SO response",
- "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
- "comments": "",
- "x": 820.2355194091797,
- "y": 4280.649487257004,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "23072140.00f5de",
- "type": "record",
- "name": "record SO reply parms",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
- "comments": "",
- "outputs": 1,
- "x": 817.2343521118164,
- "y": 4434.750185728073,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "65b2eda9.1d4d94",
- "type": "execute",
- "name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 686.2344512939453,
- "y": 4551.749890089035,
- "z": "da62f736.168268",
- "wires": [
- [
- "936a79ac.2bc278",
- "a4da64a4.603d68"
- ]
- ]
- },
- {
- "id": "936a79ac.2bc278",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 851.2344512939453,
- "y": 4531.749889135361,
- "z": "da62f736.168268",
- "wires": [
- [
- "86dab673.02efc8"
- ]
- ]
- },
- {
- "id": "a4da64a4.603d68",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 843.2343444824219,
- "y": 4604.749839544296,
- "z": "da62f736.168268",
- "wires": [
- [
- "1b44685a.cd98d8"
- ]
- ]
- },
- {
- "id": "1b44685a.cd98d8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 989.234188079834,
- "y": 4609.749948263168,
- "z": "da62f736.168268",
- "wires": [
- [
- "77500c56.740084"
- ]
- ]
- },
- {
- "id": "86dab673.02efc8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1000.2343521118164,
- "y": 4527.750024557114,
- "z": "da62f736.168268",
- "wires": [
- [
- "db7f3c8d.e7d95",
- "4ac257ce.8f9fd8"
- ]
- ]
- },
- {
- "id": "db7f3c8d.e7d95",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
- "comments": "",
- "x": 1147.2339706420898,
- "y": 4538.749766111374,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "77500c56.740084",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
- "comments": "",
- "outputs": 1,
- "x": 1150.2341079711914,
- "y": 4615.749840497971,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "4ac257ce.8f9fd8",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1134.7445793151855,
- "y": 4442.739257574081,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "3c620604.a4247a",
- "type": "execute",
- "name": "generate URL for SO Callback",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.so.callbackURL`\"/>\n <parameter name=\"outputPath\" value=\"tmp.so.callbackURL\"/>\n <parameter name=\"target\" value=\"{requestId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.requestID`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 839.573974609375,
- "y": 4370.73533987999,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "531b3c4c.239274",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2241.75,
- "y": 1745.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "8c76c7c6.931d78"
- ]
- ]
- },
- {
- "id": "8c76c7c6.931d78",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2434.739658355713,
- "y": 1745.7501220703125,
- "z": "da62f736.168268",
- "wires": [
- [
- "c6d79633.ad2cb8",
- "e9a26b46.1c9d38"
- ]
- ]
- },
- {
- "id": "c6d79633.ad2cb8",
- "type": "execute",
- "name": "generate fetchRRMPolicyRatio.ToNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2741.739845275879,
- "y": 1712.75022315979,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "e9a26b46.1c9d38",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2685.740245819092,
- "y": 1765.7504167556763,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "a0cd471f.d08e88",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2669.25,
- "y": 1129.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "6a92e4ac.3bac4c",
- "9f8ca3ae.27ca3"
- ]
- ]
- },
- {
- "id": "9f8ca3ae.27ca3",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2920.250431060791,
- "y": 1152.75013256073,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "6a92e4ac.3bac4c",
- "type": "execute",
- "name": "generate TERMINATEPLMNInfoList.ToNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2976.250030517578,
- "y": 1099.7499389648438,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "77ae3105.e86af",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2746.750015258789,
- "y": 2794.750343322754,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "b7978555.9f2568",
- "type": "execute",
- "name": "generate terminatePLMNInfoList.TogNBCUUP",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2820.749725341797,
- "y": 2743.7500972747803,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "f5886e6b.6deba",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2500.7496795654297,
- "y": 2781.7500886917114,
- "z": "da62f736.168268",
- "wires": [
- [
- "b7978555.9f2568",
- "77ae3105.e86af"
- ]
- ]
- },
- {
- "id": "d8c60a0.19c8bf8",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1988.75,
- "y": 3126.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "64569339.416cfc",
- "222e8a98.c66cf6"
- ]
- ]
- },
- {
- "id": "64569339.416cfc",
- "type": "execute",
- "name": "fetch RRMPolicyRatio.TogNBCUUP",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2290.7499351501465,
- "y": 3086.7500610351562,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "222e8a98.c66cf6",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2234.7503356933594,
- "y": 3139.7502546310425,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "dd4e6136.8f68f",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1761.25,
- "y": 3135.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "d8c60a0.19c8bf8"
- ]
- ]
- },
- {
- "id": "f5bc4d2b.f7391",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3411.25,
- "y": 4564.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "a516311b.ffaaf",
- "3559c18d.38700e"
- ]
- ]
- },
- {
- "id": "a516311b.ffaaf",
- "type": "execute",
- "name": "generate patchPLMNInfoList.ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3718.250030517578,
- "y": 4534.749938964844,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "3559c18d.38700e",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3662.250431060791,
- "y": 4587.75013256073,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "bfaa39dc.757718",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3308,
- "y": 5187.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "7b3e4fe4.20a77"
- ]
- ]
- },
- {
- "id": "7b3e4fe4.20a77",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3475.000232696533,
- "y": 5185.9995975494385,
- "z": "da62f736.168268",
- "wires": [
- [
- "47dde507.4c04ec",
- "4eb86ae5.690454"
- ]
- ]
- },
- {
- "id": "47dde507.4c04ec",
- "type": "execute",
- "name": "generate getRRMPolicyRatio.ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3722.0000495910645,
- "y": 5152.9995975494385,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "4eb86ae5.690454",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3665.0005378723145,
- "y": 5213.999963760376,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "4a14d590.3663ec",
- "type": "comment",
- "name": "terminateRANSliceInstance/instantiateRANSliceModifyDeallocate",
- "info": "",
- "comments": "",
- "x": 764.0000286102295,
- "y": 20,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "d74945f1.537f58",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$terminate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$terminate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$terminate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$terminate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$terminate-r-a-n-slice-input.payload`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 594.2499923706055,
- "y": 122.24998426437378,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "1a07170f.9b8cb9",
- "type": "set",
- "name": "set default status value",
- "xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of terminateRANSice RPC' />",
- "comments": "",
- "x": 643.2497482299805,
- "y": 170.25000143051147,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "8d1aec81.1c96c",
- "type": "execute",
- "name": "execute jsonStringToCtx",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='terminate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
- "comments": "",
- "outputs": 1,
- "x": 643.2497482299805,
- "y": 211.24995183944702,
- "z": "da62f736.168268",
- "wires": [
- [
- "5594448d.f5e4ec"
- ]
- ]
- },
- {
- "id": "a440f467.164788",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 605.2497253417969,
- "y": 255.23954343795776,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "535f16f4.b6d608",
- "type": "execute",
- "name": "execute Properties",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
- "comments": "",
- "outputs": 1,
- "x": 625.2497100830078,
- "y": 296.2499089241028,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "406ee76f.a28dd8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. controller details \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field5\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field6\" value=\"`$prop.ransim-mounted`\"/>\n<parameter name=\"field7\" value=\"config DB deployed (true/false): \"/>\n<parameter name=\"field8\" value=\"`$prop.configdb-deployed`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 636.2497787475586,
- "y": 365.99999046325684,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "5594448d.f5e4ec",
- "type": "other",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 928.4997406005859,
- "y": 274.4999785423279,
- "z": "da62f736.168268",
- "wires": [
- [
- "d7e6a184.602a7"
- ]
- ]
- },
- {
- "id": "d7e6a184.602a7",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1108.4999084472656,
- "y": 268.4999785423279,
- "z": "da62f736.168268",
- "wires": [
- [
- "2bb70554.5f8b9a",
- "89346eeb.4233c",
- "d7f994eb.1d62c8"
- ]
- ]
- },
- {
- "id": "2bb70554.5f8b9a",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1320.9999389648438,
- "y": 267.4999835193157,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "89346eeb.4233c",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfileId`\"/>\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1317.749912261963,
- "y": 309.0000104904175,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "d7f994eb.1d62c8",
- "type": "switchNode",
- "name": "check action",
- "xml": "<switch test='`$instantiate-r-a-n-slice-input.action`==deallocate'>",
- "comments": "",
- "outputs": 1,
- "x": 1328.5003051757812,
- "y": 202.74999809265137,
- "z": "da62f736.168268",
- "wires": [
- [
- "cb26292c.0cd2c8",
- "18173db6.ed0872"
- ]
- ]
- },
- {
- "id": "cb26292c.0cd2c8",
- "type": "success",
- "name": "terminate",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1518.5000076293945,
- "y": 233.50000524520874,
- "z": "da62f736.168268",
- "wires": [
- [
- "e26b83fd.85f54"
- ]
- ]
- },
- {
- "id": "e26b83fd.85f54",
- "type": "execute",
- "name": "read sNSSAI from input",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNSSAI' />\n\t<parameter name='source' value=\"`$payloadJson.input.NSSAI`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1786.7500076293945,
- "y": 231.50001192092896,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "217e5011.465e6",
- "type": "execute",
- "name": "read sNSSAI from sliceProfile",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNSSAI' />\n\t<parameter name='source' value=\"`$payloadJson.input.sliceProfile.NSSAI`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1797.5000381469727,
- "y": 300.50000047683716,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "18173db6.ed0872",
- "type": "failure",
- "name": "modify-deallocate",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1545.5000076293945,
- "y": 304.50000047683716,
- "z": "da62f736.168268",
- "wires": [
- [
- "217e5011.465e6"
- ]
- ]
- },
- {
- "id": "331ef215.bbe70e",
- "type": "execute",
- "name": "get PLMNId URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfileId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 585.7499923706055,
- "y": 617.2500238418579,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "2bef0202.a1c14e",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 556.7500228881836,
- "y": 679.0000486373901,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "7a08dec6.783c6",
- "type": "execute",
- "name": "Get PLMN from Sliceprofile id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 621.7500076293945,
- "y": 738.750002861023,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "c50ddf2a.0f482",
- "type": "execute",
- "name": "read PLMN Id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`getPLMN-configdb-response.pLMNId`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 574.75,
- "y": 796.7500514984131,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "4a173bea.dab424",
- "type": "execute",
- "name": "find MCC",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
- "comments": "",
- "outputs": 1,
- "x": 568.0000076293945,
- "y": 856.000114440918,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "418b9d9d.e0f1e4",
- "type": "execute",
- "name": "find MNC",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
- "comments": "",
- "outputs": 1,
- "x": 568.0000610351562,
- "y": 906.9999923706055,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "9a10e123.7e743",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 564.9935302734375,
- "y": 963.9935073852539,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "e0692478.040118",
- "type": "execute",
- "name": "generate getNearRTRICById URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICById`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICById.url\"/>\n <parameter name=\"target\" value=\"{nearRTRICId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1041.7500762939453,
- "y": 724.5000381469727,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "c224bf70.f8698",
- "type": "record",
- "name": "record configdb RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for NearRTRICId\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICById.url`\" />\n<parameter name='field3' value=\"`$nearRTRICId`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1037.7500305175781,
- "y": 774.500114440918,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "feae2bb9.c89528",
- "type": "execute",
- "name": "Get nearRTRIC for nearRTRICId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICById.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNearRTRICById-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1036.7501373291016,
- "y": 817.5002365112305,
- "z": "da62f736.168268",
- "wires": [
- [
- "e88645a8.3117e8",
- "735acccb.71f914"
- ]
- ]
- },
- {
- "id": "e88645a8.3117e8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1312.5,
- "y": 814.5,
- "z": "da62f736.168268",
- "wires": [
- [
- "61015ff6.5a356"
- ]
- ]
- },
- {
- "id": "735acccb.71f914",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1306.5000457763672,
- "y": 874.4999160766602,
- "z": "da62f736.168268",
- "wires": [
- [
- "44fc6120.e168e"
- ]
- ]
- },
- {
- "id": "61015ff6.5a356",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1482.1668853759766,
- "y": 805.8334016799927,
- "z": "da62f736.168268",
- "wires": [
- [
- "fa6281d0.77d53",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "fa6281d0.77d53",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1686.499948501587,
- "y": 766.6110763549805,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "5f8f298a.79e518",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNearRTRICById-configdb-response`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1699.499740600586,
- "y": 820.5000152587891,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "8b60105d.9075b",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1695.2778816223145,
- "y": 891.5000228881836,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "44fc6120.e168e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1476.499942779541,
- "y": 875.5000314712524,
- "z": "da62f736.168268",
- "wires": [
- [
- "8b60105d.9075b",
- "5f8f298a.79e518"
- ]
- ]
- },
- {
- "id": "efb82a40.58c198",
- "type": "execute",
- "name": "remove sNSSAI from context",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$getNearRTRICById-configdb-response`\" />\n<parameter name=\"value\" value=\"`$getNearRTRICById-configdb-response.pLMNInfoList[0].sNSSAI.sNSSAI`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1023.3056182861328,
- "y": 956.6945896148682,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "63802b92.24eaa4",
- "type": "execute",
- "name": "read PLMNList size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2079.277587890625,
- "y": 743.22216796875,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "bafc3e6d.cdf73",
- "type": "set",
- "name": "Read RRMPolicy Member List Length",
- "xml": "<set>\n<parameter name='tmp.NRCellCURRMPolicyMembersLength' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />",
- "comments": "",
- "x": 2542.277618408203,
- "y": 2150.0553970336914,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "71c76952.045908",
- "type": "for",
- "name": "for each rrmpolicyMember",
- "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.NRCellCURRMPolicyMembersLength`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2523.249801635742,
- "y": 2192.8332600593567,
- "z": "da62f736.168268",
- "wires": [
- [
- "60d29958.728538"
- ]
- ]
- },
- {
- "id": "60d29958.728538",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2739.916603088379,
- "y": 2188.944404602051,
- "z": "da62f736.168268",
- "wires": [
- [
- "a8757573.18a648",
- "dc93363f.a07058",
- "999de8b3.682778",
- "ca37691e.a8f2f8",
- "73616042.242eb"
- ]
- ]
- },
- {
- "id": "a8757573.18a648",
- "type": "switchNode",
- "name": "if length > 0 ",
- "xml": "<switch test='`$tmp.NRCellCURRMPolicyMembersLeangth`>0'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2889.083595275879,
- "y": 2154.083083152771,
- "z": "da62f736.168268",
- "wires": [
- [
- "2ebd17cd.068208",
- "4f120937.7221b8"
- ]
- ]
- },
- {
- "id": "2ebd17cd.068208",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3040.750011444092,
- "y": 2129.6384811401367,
- "z": "da62f736.168268",
- "wires": [
- [
- "f6e50d.7c92caf"
- ]
- ]
- },
- {
- "id": "f6e50d.7c92caf",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3207.4164695739746,
- "y": 2129.638940811157,
- "z": "da62f736.168268",
- "wires": [
- [
- "9a545b68.a528b8"
- ]
- ]
- },
- {
- "id": "9a545b68.a528b8",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3055.194351196289,
- "y": 2008.5276763439178,
- "z": "da62f736.168268",
- "wires": [
- [
- "f87c06c5.c56f98",
- "150946ef.2d4b89"
- ]
- ]
- },
- {
- "id": "f87c06c5.c56f98",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3298.528091430664,
- "y": 2024.4163551330566,
- "z": "da62f736.168268",
- "wires": [
- [
- "92abe500.2af8e8"
- ]
- ]
- },
- {
- "id": "150946ef.2d4b89",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3289.3716011047363,
- "y": 2064.8606386184692,
- "z": "da62f736.168268",
- "wires": [
- [
- "bfcddc71.1ead4"
- ]
- ]
- },
- {
- "id": "92abe500.2af8e8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3479.9165115356445,
- "y": 2025.7499551773071,
- "z": "da62f736.168268",
- "wires": [
- [
- "6cec7e83.a7b4a"
- ]
- ]
- },
- {
- "id": "bfcddc71.1ead4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3471.027587890625,
- "y": 2067.97199344635,
- "z": "da62f736.168268",
- "wires": [
- [
- "7a1f7a9.f8d7a84",
- "d3d30d71.6990e"
- ]
- ]
- },
- {
- "id": "6cec7e83.a7b4a",
- "type": "execute",
- "name": "delete RRMPolicyRatio NRCellCU - URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3765.194221496582,
- "y": 2022.9722328186035,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "7a1f7a9.f8d7a84",
- "type": "execute",
- "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3776.3054809570312,
- "y": 2066.305594444275,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "d3d30d71.6990e",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3700.7497024536133,
- "y": 2101.8610763549805,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "4f120937.7221b8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3044.361053466797,
- "y": 2182.9721145629883,
- "z": "da62f736.168268",
- "wires": [
- [
- "89f52e2a.ded3"
- ]
- ]
- },
- {
- "id": "89f52e2a.ded3",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3230.0281372070312,
- "y": 2171.3054332733154,
- "z": "da62f736.168268",
- "wires": [
- [
- "52f28f28.d8a43",
- "7deb574e.5b4c58"
- ]
- ]
- },
- {
- "id": "52f28f28.d8a43",
- "type": "set",
- "name": "Read RRMPolicyMember-sNSSA",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].sNSSAI'`\" />",
- "comments": "",
- "x": 3522.417106628418,
- "y": 2135.194746017456,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "7deb574e.5b4c58",
- "type": "switchNode",
- "name": "find matching RRMPolicyMember",
- "xml": "<switch test='`$tmp.RRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3521.3055419921875,
- "y": 2175.1942405700684,
- "z": "da62f736.168268",
- "wires": [
- [
- "33cc883a.76c308"
- ]
- ]
- },
- {
- "id": "33cc883a.76c308",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3752.138885498047,
- "y": 2179.6386184692383,
- "z": "da62f736.168268",
- "wires": [
- [
- "9c142fa4.cb9b6"
- ]
- ]
- },
- {
- "id": "9c142fa4.cb9b6",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3975.749725341797,
- "y": 2176.3053665161133,
- "z": "da62f736.168268",
- "wires": [
- [
- "c2abc7a3.b36fb8",
- "9babc976.805408",
- "dfa38a67.64c448"
- ]
- ]
- },
- {
- "id": "c2abc7a3.b36fb8",
- "type": "set",
- "name": "Read RRMPolicyMember-id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].idx'`\" />",
- "comments": "",
- "x": 4241.416458129883,
- "y": 2144.0832529067993,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "e20de155.a2c4d",
- "type": "execute",
- "name": "generate deleteRRMPolicyMember.ToNRCellCU URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4770.860374450684,
- "y": 2236.3054523468018,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "9babc976.805408",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4198.638465881348,
- "y": 2239.6389179229736,
- "z": "da62f736.168268",
- "wires": [
- [
- "10644ed4.744fb1",
- "7e6e7feb.c50cd"
- ]
- ]
- },
- {
- "id": "10644ed4.744fb1",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4441.972526550293,
- "y": 2238.860941886902,
- "z": "da62f736.168268",
- "wires": [
- [
- "e20de155.a2c4d"
- ]
- ]
- },
- {
- "id": "7e6e7feb.c50cd",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4432.815940856934,
- "y": 2290.4163360595703,
- "z": "da62f736.168268",
- "wires": [
- [
- "f875f1bd.3b7b3"
- ]
- ]
- },
- {
- "id": "1e1626e1.1a2b59",
- "type": "execute",
- "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4900.027503967285,
- "y": 2281.8613777160645,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "38fa3cb1.cbb0c4",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4820.0272216796875,
- "y": 2340.7497940063477,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "f875f1bd.3b7b3",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4599.749794006348,
- "y": 2287.9721698760986,
- "z": "da62f736.168268",
- "wires": [
- [
- "1e1626e1.1a2b59",
- "38fa3cb1.cbb0c4"
- ]
- ]
- },
- {
- "id": "54cca329.31500c",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2469.3609352111816,
- "y": 2297.139139175415,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "14019172.5d29bf",
- "type": "execute",
- "name": "Terminate NRCellCU - RRMPolicyRatio",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellCU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 2564.1387329101562,
- "y": 2339.1389560699463,
- "z": "da62f736.168268",
- "wires": [
- [
- "fd2b757b.cfa308",
- "c1535c1f.fe413"
- ]
- ]
- },
- {
- "id": "fd2b757b.cfa308",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2849.8888359069824,
- "y": 2384.888925552368,
- "z": "da62f736.168268",
- "wires": [
- [
- "8f4764cd.4ca168"
- ]
- ]
- },
- {
- "id": "8f4764cd.4ca168",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3053.3888931274414,
- "y": 2387.3889265060425,
- "z": "da62f736.168268",
- "wires": [
- [
- "a3763fa2.90b7c"
- ]
- ]
- },
- {
- "id": "a3763fa2.90b7c",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Deleted - cellCU RRMpolicyRatio/RRMPolicyMember\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3280.8886528015137,
- "y": 2294.6391382217407,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "1d85be64.4c60b2",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Removing cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3294.138641357422,
- "y": 2337.6388626098633,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "e3de62ba.7799a",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3299.1385192871094,
- "y": 2432.6389236450195,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "2d5293a6.e50e3c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3050.389320373535,
- "y": 2439.138957977295,
- "z": "da62f736.168268",
- "wires": [
- [
- "e3de62ba.7799a",
- "1d85be64.4c60b2",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "c1535c1f.fe413",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2845.1388359069824,
- "y": 2424.138957977295,
- "z": "da62f736.168268",
- "wires": [
- [
- "2d5293a6.e50e3c"
- ]
- ]
- },
- {
- "id": "dfa38a67.64c448",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 4193.076385498047,
- "y": 2191.9652786254883,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "1c8e5c05.e07c04",
- "type": "execute",
- "name": "prepare sNSSAI",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2244.638885498047,
- "y": 1419.1527786254883,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "dc93363f.a07058",
- "type": "execute",
- "name": "prepare idGNBCUCPFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3006.8265075683594,
- "y": 2233.2153396606445,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "999de8b3.682778",
- "type": "execute",
- "name": "prepare idNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2979.326446533203,
- "y": 2266.4653100967407,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "ca37691e.a8f2f8",
- "type": "execute",
- "name": "prepare RRMPolicyRatio id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3002.764389038086,
- "y": 2301.027841567993,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "73616042.242eb",
- "type": "execute",
- "name": "prepare RRMPolicyMember id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3010.263946533203,
- "y": 2336.777811050415,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "d793dedd.b3828",
- "type": "execute",
- "name": "remove sNSSAI from context",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $idcu +'].pLMNInfoList'`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1894.6390228271484,
- "y": 2159.1528367996216,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "affea016.689ae",
- "type": "execute",
- "name": "prepare updated PLMNInfo list",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.pLMNInfoList\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $idcu +'].pLMNInfoList'`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1904.0138854980469,
- "y": 2217.5902786254883,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "32462495.24865c",
- "type": "execute",
- "name": "read gNBIdLength",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBIdLength' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBIdLength'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 987.7638854980469,
- "y": 908.2152767181396,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "e8f8f0ea.977c8",
- "type": "execute",
- "name": "read NFType",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cucpNFType' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].nFType'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2271.513885498047,
- "y": 1163.8402786254883,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "521d3d11.f4ead4",
- "type": "execute",
- "name": "read RRMPolicyMembers List",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellCURRMPolicyMembersList' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyMemberList'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1933.076675415039,
- "y": 2399.465344429016,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "cd5eaeef.a91e3",
- "type": "execute",
- "name": "remove sNSSAI from context",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$tmp.NRCellCURRMPolicyMembersList`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1931.8265228271484,
- "y": 2451.027844429016,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "eaeb68eb.667d98",
- "type": "execute",
- "name": "prepare updated RRMPolicyMember list",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.CellCURRMMembersList\" value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyMemberList'`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1939.9513854980469,
- "y": 2503.5277786254883,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "26cf8ac7.b0c7f6",
- "type": "execute",
- "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI1' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1741.6391143798828,
- "y": 2610.9725074768066,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "ecfda6cb.0dc9f8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI1`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1596.6390838623047,
- "y": 2645.9724464416504,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "ff979e6b.4c16e",
- "type": "switchNode",
- "name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI1 == $tmp.sNSSAI`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1615.5281219482422,
- "y": 2681.5279273986816,
- "z": "da62f736.168268",
- "wires": [
- [
- "4141bca5.15d954"
- ]
- ]
- },
- {
- "id": "4141bca5.15d954",
- "type": "outcome",
- "name": "True",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1819.750015258789,
- "y": 2688.750461578369,
- "z": "da62f736.168268",
- "wires": [
- [
- "b4bbd615.193438"
- ]
- ]
- },
- {
- "id": "45d93df6.d8a744",
- "type": "execute",
- "name": "prepare mcc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
- "comments": "",
- "outputs": 1,
- "x": 1605.75,
- "y": 2761.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "5537eaa4.099b64",
- "type": "execute",
- "name": "prepare mnc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1608.2501068115234,
- "y": 2802.250461578369,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "3a0a4656.8f287a",
- "type": "execute",
- "name": "prepare sNSSAI",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1615.8889923095703,
- "y": 2845.4028663635254,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "550fad5.d572654",
- "type": "execute",
- "name": "terminate sNNSAI - CUUP",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deletePLMNInfo-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-sNSSAI-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 1658.5000762939453,
- "y": 2900.750036239624,
- "z": "da62f736.168268",
- "wires": [
- [
- "1fdc0d32.1eff63",
- "f316122d.69b8"
- ]
- ]
- },
- {
- "id": "4fdeeb7.8dcdb14",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2362.416488647461,
- "y": 3610.0839614868164,
- "z": "da62f736.168268",
- "wires": [
- [
- "4ab04fee.b55ac"
- ]
- ]
- },
- {
- "id": "ce038fe2.e456",
- "type": "set",
- "name": "Read RRMPolicy Member List Length",
- "xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMembersLength' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList_length'`\" />",
- "comments": "",
- "x": 2060.75,
- "y": 3385.75,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "519ec736.4a1068",
- "type": "for",
- "name": "for each rrmpolicyMember",
- "xml": "<for index='idcu-rrm2' start='0' end='`$tmp.CUUPRRMPolicyMembersLength`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2041.722183227539,
- "y": 3428.5278630256653,
- "z": "da62f736.168268",
- "wires": [
- [
- "78b5a7ce.d88bd8"
- ]
- ]
- },
- {
- "id": "78b5a7ce.d88bd8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2258.388984680176,
- "y": 3424.6390075683594,
- "z": "da62f736.168268",
- "wires": [
- [
- "cb64ebc4.d3da78",
- "b353e2c5.e3c56",
- "aafda300.bf6c3",
- "9c0d0f0b.aa775"
- ]
- ]
- },
- {
- "id": "cb64ebc4.d3da78",
- "type": "switchNode",
- "name": "if length > 0 ",
- "xml": "<switch test='`$tmp.CUUPRRMPolicyMembersLength`>0'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2407.555976867676,
- "y": 3389.7776861190796,
- "z": "da62f736.168268",
- "wires": [
- [
- "4fcc83f8.eb5fcc",
- "7a00e337.23da3c"
- ]
- ]
- },
- {
- "id": "4fcc83f8.eb5fcc",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2559.2223930358887,
- "y": 3365.3330841064453,
- "z": "da62f736.168268",
- "wires": [
- [
- "20f96d49.8194f2"
- ]
- ]
- },
- {
- "id": "20f96d49.8194f2",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2725.8888511657715,
- "y": 3365.333543777466,
- "z": "da62f736.168268",
- "wires": [
- [
- "ee546d02.d513d"
- ]
- ]
- },
- {
- "id": "ee546d02.d513d",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2573.666732788086,
- "y": 3244.2222793102264,
- "z": "da62f736.168268",
- "wires": [
- [
- "ec7b5045.bff37",
- "ef4f4fda.d1981"
- ]
- ]
- },
- {
- "id": "ec7b5045.bff37",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2817.000473022461,
- "y": 3260.1109580993652,
- "z": "da62f736.168268",
- "wires": [
- [
- "5e2abcba.df1a44"
- ]
- ]
- },
- {
- "id": "ef4f4fda.d1981",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2807.843982696533,
- "y": 3300.555241584778,
- "z": "da62f736.168268",
- "wires": [
- [
- "b69bdc10.4653b"
- ]
- ]
- },
- {
- "id": "5e2abcba.df1a44",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2998.3888931274414,
- "y": 3261.4445581436157,
- "z": "da62f736.168268",
- "wires": [
- [
- "f2f64a34.9bc798"
- ]
- ]
- },
- {
- "id": "b69bdc10.4653b",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2989.499969482422,
- "y": 3303.6665964126587,
- "z": "da62f736.168268",
- "wires": [
- [
- "420a580d.8dce18",
- "a3442627.cd94b8"
- ]
- ]
- },
- {
- "id": "f2f64a34.9bc798",
- "type": "execute",
- "name": "delete RRMPolicyRatio CUUP- URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3283.666603088379,
- "y": 3258.666835784912,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "420a580d.8dce18",
- "type": "execute",
- "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3294.777862548828,
- "y": 3302.0001974105835,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "a3442627.cd94b8",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3219.22208404541,
- "y": 3337.555679321289,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "7a00e337.23da3c",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2562.8334350585938,
- "y": 3418.666717529297,
- "z": "da62f736.168268",
- "wires": [
- [
- "6a3d5f67.89b03"
- ]
- ]
- },
- {
- "id": "6a3d5f67.89b03",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2748.500518798828,
- "y": 3407.000036239624,
- "z": "da62f736.168268",
- "wires": [
- [
- "e7b911ef.21926",
- "501ba5bb.ef3fec"
- ]
- ]
- },
- {
- "id": "e7b911ef.21926",
- "type": "set",
- "name": "Read RRMPolicyMember-sNSSAI",
- "xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].sNSSAI'`\" />",
- "comments": "",
- "x": 3040.889488220215,
- "y": 3370.8893489837646,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "501ba5bb.ef3fec",
- "type": "switchNode",
- "name": "find matching RRMPolicyMember",
- "xml": "<switch test='`$tmp.CUUPRRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3039.7779235839844,
- "y": 3410.888843536377,
- "z": "da62f736.168268",
- "wires": [
- [
- "355a7706.bbd6a8"
- ]
- ]
- },
- {
- "id": "355a7706.bbd6a8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3270.6112670898438,
- "y": 3415.333221435547,
- "z": "da62f736.168268",
- "wires": [
- [
- "df799f74.91852"
- ]
- ]
- },
- {
- "id": "df799f74.91852",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3494.2221069335938,
- "y": 3411.999969482422,
- "z": "da62f736.168268",
- "wires": [
- [
- "bd5b5caf.34289",
- "e69074b7.86c018",
- "7ddec5.bdda613c"
- ]
- ]
- },
- {
- "id": "bd5b5caf.34289",
- "type": "set",
- "name": "Read RRMPolicyMember-id",
- "xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].idx'`\" />",
- "comments": "",
- "x": 3759.8888397216797,
- "y": 3379.777855873108,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "7ddec5.bdda613c",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPRRMPolicyMember_id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3711.5487670898438,
- "y": 3427.659881591797,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "e69074b7.86c018",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3717.1108474731445,
- "y": 3475.333520889282,
- "z": "da62f736.168268",
- "wires": [
- [
- "97861ce3.40059",
- "64e9402c.99386"
- ]
- ]
- },
- {
- "id": "97861ce3.40059",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3960.44490814209,
- "y": 3474.5555448532104,
- "z": "da62f736.168268",
- "wires": [
- [
- "8ba1fc14.f59bc"
- ]
- ]
- },
- {
- "id": "64e9402c.99386",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3951.2883224487305,
- "y": 3526.110939025879,
- "z": "da62f736.168268",
- "wires": [
- [
- "9014ff5a.a8a83"
- ]
- ]
- },
- {
- "id": "8ba1fc14.f59bc",
- "type": "execute",
- "name": "generate deleteRRMPolicyMember.CUUP URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4289.3327560424805,
- "y": 3472.0000553131104,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "9014ff5a.a8a83",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4118.2221755981445,
- "y": 3523.666772842407,
- "z": "da62f736.168268",
- "wires": [
- [
- "8da33d2c.9ec3f",
- "db3ca58d.3b9558"
- ]
- ]
- },
- {
- "id": "8da33d2c.9ec3f",
- "type": "execute",
- "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.CUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4418.499885559082,
- "y": 3517.555980682373,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "db3ca58d.3b9558",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4338.499603271484,
- "y": 3576.4443969726562,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "b353e2c5.e3c56",
- "type": "execute",
- "name": "prepare idGNBCUUPFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2506.9999923706055,
- "y": 3467.000104904175,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "aafda300.bf6c3",
- "type": "execute",
- "name": "prepare RRMPolicyRatio id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUUPRRMPolicyRatio_id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2503.9379806518555,
- "y": 3506.8127269744873,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "9c0d0f0b.aa775",
- "type": "execute",
- "name": "prepare RRMPolicyMember id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUUPRRMPolicyMember_id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2512.43758392334,
- "y": 3550.5627269744873,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "8e54b571.b9af88",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.CUUPRRMPolicyRatio_id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2013.5344123840332,
- "y": 3498.9240550994873,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "5ca1f89e.93f5d8",
- "type": "execute",
- "name": "Terminate NRCellCU - RRMPolicyRatio",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio-CUUP.ur`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 2099.3123664855957,
- "y": 3552.9235668182373,
- "z": "da62f736.168268",
- "wires": [
- [
- "4fdeeb7.8dcdb14",
- "635ad14e.3580b"
- ]
- ]
- },
- {
- "id": "dd39b21f.bbf38",
- "type": "set",
- "name": "RRMPolicyRatio id",
- "xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />",
- "comments": "",
- "x": 2018.25,
- "y": 3341,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "3b93f05.3eb1b1",
- "type": "execute",
- "name": "remove sNSSAI from context",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUUPList['+$id-cuup+'].pLMNInfoList'`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1878.25,
- "y": 3698.75,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "9a1ff089.a405b",
- "type": "execute",
- "name": "prepare updated PLMNInfo list",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.pLMNInfoList-CUUP\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $id-cuup +'].pLMNInfoList'`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1887.6248626708984,
- "y": 3757.1874418258667,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "eda4c4e8.16ea58",
- "type": "execute",
- "name": "read RRMPolicyMembers List",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyMembersList' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyMemberList'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1877.7500457763672,
- "y": 3937.000234603882,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "a13823ad.65203",
- "type": "execute",
- "name": "remove sNSSAI from context",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$tmp.CUUPRRMPolicyMembersList`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1876.5000457763672,
- "y": 3982.5626735687256,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "5f652628.9468d8",
- "type": "execute",
- "name": "prepare updated RRMPolicyMember list",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.CellCURRMMembersList\" value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyMemberList'`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1910.6248626708984,
- "y": 4034.0626125335693,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "20dcb9bd.e2a956",
- "type": "execute",
- "name": "read PLMNList size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2015.9377517700195,
- "y": 4320.6251220703125,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "4acc0f7.2614af",
- "type": "for",
- "name": "foreach PLMNInfo",
- "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1994.271125793457,
- "y": 4390.6251220703125,
- "z": "da62f736.168268",
- "wires": [
- [
- "fa70c58.9f27338"
- ]
- ]
- },
- {
- "id": "fa70c58.9f27338",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2179.659912109375,
- "y": 4384.65283203125,
- "z": "da62f736.168268",
- "wires": [
- [
- "5b178a6e.9e1474",
- "e8b239a3.ea6108",
- "624c26d3.2d93b8"
- ]
- ]
- },
- {
- "id": "624c26d3.2d93b8",
- "type": "execute",
- "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2545.7989196777344,
- "y": 4269.87530708313,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "5b178a6e.9e1474",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2415.5489196777344,
- "y": 4337.875185012817,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "e8b239a3.ea6108",
- "type": "switchNode",
- "name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2410.6878356933594,
- "y": 4411.180850982666,
- "z": "da62f736.168268",
- "wires": [
- [
- "35abfb0c.e67654"
- ]
- ]
- },
- {
- "id": "35abfb0c.e67654",
- "type": "outcome",
- "name": "True",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2580.1599731445312,
- "y": 4437.653020858765,
- "z": "da62f736.168268",
- "wires": [
- [
- "72b1fbfe.4fa0d4"
- ]
- ]
- },
- {
- "id": "4b70a51a.898acc",
- "type": "execute",
- "name": "prepare sNSSAI",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3039.6875,
- "y": 4860.3125,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "478d81fe.50e29",
- "type": "set",
- "name": "Read RRMPolicy Member List Length",
- "xml": "<set>\n<parameter name='tmp.DURRMPolicyMembersLength' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />",
- "comments": "",
- "x": 3650,
- "y": 5518.4375,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "e85c75c9.5a5208",
- "type": "for",
- "name": "for each rrmpolicyMember",
- "xml": "<for index='iddu-rrm2' start='0' end='`$tmp.DURRMPolicyMembersLength`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 3630.972183227539,
- "y": 5561.215363025665,
- "z": "da62f736.168268",
- "wires": [
- [
- "66fd7b92.f2b364"
- ]
- ]
- },
- {
- "id": "66fd7b92.f2b364",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "e22b5c77.450b8",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='terminateRANSliceInstance' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 3847.638984680176,
- "y": 5557.326507568359,
- "z": "da62f736.168268",
+ "x": 270.9375,
+ "y": 299.75000381469727,
+ "z": "c8d763de.cd2d3",
"wires": [
[
- "65816dd6.dac814",
- "bd35e5d4.1bc928",
- "77f9b6fc.97a688",
- "dc69ba2d.6eaf38",
- "7c2d39af.fe93c8"
+ "dae4bb06.5e31a8"
]
]
},
{
- "id": "65816dd6.dac814",
- "type": "switchNode",
- "name": "if length > 0 ",
- "xml": "<switch test='`$tmp.DURRMPolicyMembersLength`>0'>\n",
- "comments": "",
+ "id": "e1606397.57329",
+ "type": "dgstart",
+ "name": "DGSTART",
"outputs": 1,
- "x": 4005.556137084961,
- "y": 5539.965368270874,
- "z": "da62f736.168268",
+ "x": 273.9375,
+ "y": 149.75,
+ "z": "c8d763de.cd2d3",
"wires": [
[
- "19e9fe36.11e9a2",
- "800d1eb2.1d967"
+ "b8987f77.ede99"
]
]
},
{
- "id": "19e9fe36.11e9a2",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "b8987f77.ede99",
+ "type": "service-logic",
+ "name": "ran-slice-api ${project.version}",
+ "module": "ran-slice-api",
+ "version": "${project.version}",
"comments": "",
+ "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='ran-slice-api' version='${project.version}'>",
"outputs": 1,
- "x": 4148.472393035889,
- "y": 5498.020584106445,
- "z": "da62f736.168268",
+ "x": 331.93748474121094,
+ "y": 210.75009536743164,
+ "z": "c8d763de.cd2d3",
"wires": [
[
- "d674ab54.619858"
+ "e22b5c77.450b8"
]
]
},
{
- "id": "d674ab54.619858",
+ "id": "dae4bb06.5e31a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4315.1388511657715,
- "y": 5498.021043777466,
- "z": "da62f736.168268",
+ "x": 424.9375,
+ "y": 376.75,
+ "z": "c8d763de.cd2d3",
"wires": [
[
- "dcb12e26.7b884"
+ "5a423671.2343d8",
+ "c6768a65.44ffc8",
+ "d9139e3.34c306",
+ "1347fdb2.2d0f82"
]
]
},
{
- "id": "dcb12e26.7b884",
+ "id": "5a423671.2343d8",
"type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4162.916732788086,
- "y": 5376.909779310226,
- "z": "da62f736.168268",
- "wires": [
- [
- "1673f63a.56783a",
- "3b2a37e4.95eaf8"
- ]
- ]
- },
- {
- "id": "1673f63a.56783a",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 4406.250473022461,
- "y": 5392.798458099365,
- "z": "da62f736.168268",
+ "x": 670.9375076293945,
+ "y": 345.75000381469727,
+ "z": "c8d763de.cd2d3",
"wires": [
[
- "bfd03325.53f88"
+ "16f48f2d.8d8fa1",
+ "f106cf7b.6f9a2"
]
]
},
{
- "id": "3b2a37e4.95eaf8",
+ "id": "16f48f2d.8d8fa1",
"type": "outcome",
- "name": "Mounted",
+ "name": "ConfigDB Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4397.093982696533,
- "y": 5433.242741584778,
- "z": "da62f736.168268",
- "wires": [
- [
- "83c86bbb.232de8"
- ]
- ]
- },
- {
- "id": "bfd03325.53f88",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4587.638893127441,
- "y": 5394.132058143616,
- "z": "da62f736.168268",
+ "x": 848.9375305175781,
+ "y": 281.7499694824219,
+ "z": "c8d763de.cd2d3",
"wires": [
[
- "1cc68b31.5cd4b5"
+ "5b2f0c27.b24824"
]
]
},
{
- "id": "1cc68b31.5cd4b5",
- "type": "execute",
- "name": "delete RRMPolicyRatio DU- URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 4872.916603088379,
- "y": 5391.354335784912,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "590f74e.06aca8c",
- "type": "execute",
- "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4884.027862548828,
- "y": 5434.6876974105835,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "5b0bc885.6064d8",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4808.47208404541,
- "y": 5470.243179321289,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "83c86bbb.232de8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4578.749969482422,
- "y": 5436.354096412659,
- "z": "da62f736.168268",
- "wires": [
- [
- "590f74e.06aca8c",
- "5b0bc885.6064d8"
- ]
- ]
- },
- {
- "id": "800d1eb2.1d967",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "id": "f106cf7b.6f9a2",
+ "type": "outcome",
+ "name": "CPS Deployed",
+ "xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4152.1875,
- "y": 5569.6875,
- "z": "da62f736.168268",
+ "x": 803.9375076293945,
+ "y": 430.7500057220459,
+ "z": "c8d763de.cd2d3",
"wires": [
[
- "cf340f9a.13c29"
+ "b9af5cbd.012ef"
]
]
},
{
- "id": "cf340f9a.13c29",
+ "id": "b9af5cbd.012ef",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4337.854583740234,
- "y": 5558.020818710327,
- "z": "da62f736.168268",
- "wires": [
- [
- "5f6bbc21.45a984",
- "450a1dab.66c234"
- ]
- ]
- },
- {
- "id": "5f6bbc21.45a984",
- "type": "set",
- "name": "Read RRMPolicyMember-sNSSA",
- "xml": "<set>\n<parameter name='tmp.cellDURRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].sNSSAI'`\" />",
- "comments": "",
- "x": 4631.493957519531,
- "y": 5516.9105587005615,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "450a1dab.66c234",
- "type": "switchNode",
- "name": "find matching RRMPolicyMember",
- "xml": "<switch test='`$tmp.cellDURRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4629.131988525391,
- "y": 5561.90962600708,
- "z": "da62f736.168268",
- "wires": [
- [
- "a064e974.6a26c8"
- ]
- ]
- },
- {
- "id": "a064e974.6a26c8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4859.96533203125,
- "y": 5566.35400390625,
- "z": "da62f736.168268",
+ "x": 1024.9375114440918,
+ "y": 426.74998140335083,
+ "z": "c8d763de.cd2d3",
"wires": [
[
- "9795e8e6.5f4758"
+ "1355d509.0ce79b",
+ "ce35acf7.d6537"
]
]
},
{
- "id": "9795e8e6.5f4758",
+ "id": "5b2f0c27.b24824",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5083.576171875,
- "y": 5563.020751953125,
- "z": "da62f736.168268",
+ "x": 1061.9375,
+ "y": 290.75,
+ "z": "c8d763de.cd2d3",
"wires": [
[
- "b0ab9f0f.045ee",
- "58c93fd8.865cc",
- "38d6a4a.628eb5c"
+ "31f7e7a7.bd94e8",
+ "a6b26799.2ec088"
]
]
},
{
- "id": "b0ab9f0f.045ee",
- "type": "set",
- "name": "Read RRMPolicyMember-id",
- "xml": "<set>\n<parameter name='tmp.CellDURRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].idx'`\" />",
- "comments": "",
- "x": 5349.242904663086,
- "y": 5530.798638343811,
- "z": "da62f736.168268",
- "wires": []
- },
- {
- "id": "38d6a4a.628eb5c",
+ "id": "31f7e7a7.bd94e8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.CellDURRMPolicyMember_id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 5300.90283203125,
- "y": 5578.6806640625,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "58c93fd8.865cc",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5306.464912414551,
- "y": 5626.354303359985,
- "z": "da62f736.168268",
- "wires": [
- [
- "6ccc086f.a41478",
- "ec0ce7b0.278738"
- ]
- ]
- },
- {
- "id": "6ccc086f.a41478",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5549.798973083496,
- "y": 5625.576327323914,
- "z": "da62f736.168268",
- "wires": [
- [
- "9974a833.ce9ab8"
- ]
- ]
- },
- {
- "id": "ec0ce7b0.278738",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5540.642387390137,
- "y": 5677.131721496582,
- "z": "da62f736.168268",
- "wires": [
- [
- "8a646bfe.add958"
- ]
- ]
- },
- {
- "id": "9974a833.ce9ab8",
- "type": "execute",
- "name": "generate deleteRRMPolicyMember.ToNRCellDU URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 5878.686820983887,
- "y": 5623.0208377838135,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "8a646bfe.add958",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 5707.576240539551,
- "y": 5674.68755531311,
- "z": "da62f736.168268",
- "wires": [
- [
- "75c18765.25f078",
- "ac37608.aa778a"
- ]
- ]
- },
- {
- "id": "75c18765.25f078",
- "type": "execute",
- "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 6007.853950500488,
- "y": 5668.576763153076,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "ac37608.aa778a",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling terminateranslice-Configdb \"/>",
"comments": "",
"outputs": 1,
- "x": 5927.853668212891,
- "y": 5727.465179443359,
- "z": "da62f736.168268",
+ "x": 1245.9375,
+ "y": 247.75,
+ "z": "c8d763de.cd2d3",
"wires": [
[]
]
},
{
- "id": "bd35e5d4.1bc928",
- "type": "execute",
- "name": "prepare idGNBDUFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 4181.250144958496,
- "y": 5612.188266277313,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "77f9b6fc.97a688",
- "type": "execute",
- "name": "prepare idNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 4153.75008392334,
- "y": 5645.438236713409,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "dc69ba2d.6eaf38",
- "type": "execute",
- "name": "prepare RRMPolicyRatio id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDURRMPolicyRatio_id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 4177.188026428223,
- "y": 5680.000768184662,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "7c2d39af.fe93c8",
- "type": "execute",
- "name": "prepare RRMPolicyMember id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDURRMPolicyMember_sNSSAI`\"/>\n",
+ "id": "a6b26799.2ec088",
+ "type": "call",
+ "name": "call terminateRanslice-configdb",
+ "xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance-configDB' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 4184.68758392334,
- "y": 5715.750737667084,
- "z": "da62f736.168268",
+ "x": 1331.616397857666,
+ "y": 302.50000762939453,
+ "z": "c8d763de.cd2d3",
"wires": [
[]
]
},
{
- "id": "734b37a6.ac7cf8",
+ "id": "1355d509.0ce79b",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDURRMPolicyRatio_id`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3547.535189628601,
- "y": 5708.612829208374,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
- },
- {
- "id": "3c1e8267.b4f8fe",
- "type": "execute",
- "name": "Terminate NRCellDU - RRMPolicyRatio",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio-DU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellDU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 3619.812530517578,
- "y": 5781.862342834473,
- "z": "da62f736.168268",
- "wires": [
- [
- "78448d12.dce7b4",
- "b77e4296.a4ab5"
- ]
- ]
- },
- {
- "id": "59b4ea74.9d06d4",
- "type": "execute",
- "name": "remove sNSSAI from context",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBDUList['+$id-du +'].cellCUList['+ $id-celldu +'].pLMNInfoList'`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling terminateranslice-CPS \"/>",
"comments": "",
"outputs": 1,
- "x": 3199.6875,
- "y": 5817.1875,
- "z": "da62f736.168268",
+ "x": 1228.9375,
+ "y": 425.75,
+ "z": "c8d763de.cd2d3",
"wires": [
[]
]
},
{
- "id": "6b7c5e5f.28631",
- "type": "execute",
- "name": "prepare updated PLMNInfo list",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.ceLLDUpLMNInfoList\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBDUList['+$id-du +'].cellCUList['+ $id-celldu +'].pLMNInfoList'`\" />\n",
+ "id": "ce35acf7.d6537",
+ "type": "call",
+ "name": "call terminateRanslice-cps",
+ "xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance-cps' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 3209.0623626708984,
- "y": 5875.624941825867,
- "z": "da62f736.168268",
+ "x": 1314.616397857666,
+ "y": 480.50000762939453,
+ "z": "c8d763de.cd2d3",
"wires": [
[]
]
},
{
- "id": "2fdf003a.ff7bd",
- "type": "execute",
- "name": "read RRMPolicyMembers List",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellDURRMPolicyMembersList' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList'`\" />",
+ "id": "3ac6e7d0.131a78",
+ "type": "comment",
+ "name": "terminateRANSliceInstance/instantiateRANSliceModifyDeallocate",
+ "info": "",
"comments": "",
- "outputs": 1,
- "x": 3199.6875,
- "y": 6019.6875,
- "z": "da62f736.168268",
- "wires": [
- []
- ]
+ "x": 808.9375,
+ "y": 88.75,
+ "z": "c8d763de.cd2d3",
+ "wires": []
},
{
- "id": "ee315155.36298",
- "type": "execute",
- "name": "remove sNSSAI from context",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$tmp.NRCellDURRMPolicyMembersList`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
+ "id": "c6768a65.44ffc8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"value of configdb deployed\"/>\n<parameter name=\"field2\" value='`$prop.configdb-deployed`'/>",
"comments": "",
"outputs": 1,
- "x": 3198.4373474121094,
- "y": 6071.25,
- "z": "da62f736.168268",
+ "x": 652.9375076293945,
+ "y": 283.75000381469727,
+ "z": "c8d763de.cd2d3",
"wires": [
[]
]
},
{
- "id": "778a736d.50fb1c",
+ "id": "d9139e3.34c306",
"type": "execute",
- "name": "prepare updated RRMPolicyMember list",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.CellDURRMMembersList\" value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList'`\" />\n",
+ "name": "execute Properties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 3206.562210083008,
- "y": 6123.749934196472,
- "z": "da62f736.168268",
+ "x": 650.9375076293945,
+ "y": 193.75000190734863,
+ "z": "c8d763de.cd2d3",
"wires": [
[]
]
},
{
- "id": "36cfb15f.b2ef8e",
- "type": "execute",
- "name": "prepare updated PLMNInfo list",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.pLMNInfoList-RIC\" value=\"`'$getNearRTRICById-configdb-response.pLMNInfoList'`\" />\n",
+ "id": "1347fdb2.2d0f82",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. controller details \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field5\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field6\" value=\"`$prop.ransim-mounted`\"/>\n<parameter name=\"field7\" value=\"config DB deployed (true/false): \"/>\n<parameter name=\"field8\" value=\"`$prop.configdb-deployed`\"/>",
"comments": "",
"outputs": 1,
- "x": 1035.9375305175781,
- "y": 1002.1875247955322,
- "z": "da62f736.168268",
+ "x": 630.937557220459,
+ "y": 234.7500514984131,
+ "z": "c8d763de.cd2d3",
"wires": [
[]
]
- },
- {
- "id": "b01e9ff8.9fdcb",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
- "comments": "",
- "x": 189.5833339691162,
- "y": 1645.8333644866943,
- "z": "da62f736.168268",
- "wires": []
}
]
\ No newline at end of file