+ },
+ {
+ "id": "d1830cc2.245b7",
+ "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=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"gNBCUName\"/>\n<parameter name=\"field8\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBCUCPList.gNBId`\"/>\n<parameter name=\"field11\" value=\"nFType\"/>\n<parameter name=\"field12\" value=\"`$tmp.gNBCUCPList.nFType`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1909.9721794128418,
+ "y": 2272.666624069214,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "91ed6cf9.b1f4e",
+ "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=\"Config DB update\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1893.6875,
+ "y": 2187.25,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8ae4e7a8.66a468",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>\n<parameter name='tmp.resourceID' value='`$tmp.cellCULocalId`'/>",
+ "comments": "",
+ "x": 2110.312759399414,
+ "y": 2614.063021659851,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "75cd172c.0f47a8",
+ "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=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2039.5627059936523,
+ "y": 2645.035129547119,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d036625e.6fa45",
+ "type": "execute",
+ "name": "generate getRRMPolicyRatio URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getRRMPolicyRatio`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceType}\"/>\n <parameter name=\"replacement\" value=\"RRC Connected Users\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2007.7222137451172,
+ "y": 2349.055627822876,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "448a23c3.9d7ecc",
+ "type": "execute",
+ "name": "Get rrmPolicy by resourceid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfo-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2010.1109161376953,
+ "y": 2453.222101211548,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "25f5099c.8fa316",
+ "3c1b796b.5b30c6"
+ ]
+ ]
+ },
+ {
+ "id": "aca59270.868db",
+ "type": "execute",
+ "name": "prepare resourceId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1963.2776947021484,
+ "y": 2378.2222414016724,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "25f5099c.8fa316",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2313.833251953125,
+ "y": 2504.055419921875,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "b25dfb57.b4b0b8"
+ ]
+ ]
+ },
+ {
+ "id": "3c1b796b.5b30c6",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2317.9443130493164,
+ "y": 2549.2777228355408,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "c40348b.2bd41b8"
+ ]
+ ]
+ },
+ {
+ "id": "b25dfb57.b4b0b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2465.833543777466,
+ "y": 2502.0553998947144,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "41ef315c.d4e56",
+ "5db9d7a8.a06b48"
+ ]
+ ]
+ },
+ {
+ "id": "5db9d7a8.a06b48",
+ "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": 2631.833299636841,
+ "y": 2468.0553998947144,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "41ef315c.d4e56",
+ "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": 2660.166763305664,
+ "y": 2500.833417892456,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "1b14460f.6a494a",
+ "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": 2635.7222442626953,
+ "y": 2532.0557708740234,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "52485c12.13c414",
+ "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": 2733.9444122314453,
+ "y": 2558.3888664245605,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c40348b.2bd41b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2472.4999084472656,
+ "y": 2552.9441986083984,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "1b14460f.6a494a",
+ "52485c12.13c414"
+ ]
+ ]
+ },
+ {
+ "id": "5ec3aa02.391784",
+ "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=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1947.7221908569336,
+ "y": 2413.3887045383453,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7db7d25e.eb132c",
+ "type": "set",
+ "name": "Calculate maxNumberOfDRBsPerNSSAI",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />",
+ "comments": "",
+ "x": 1695.222183227539,
+ "y": 2972.666868209839,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "a029e507.1af008",
+ "type": "set",
+ "name": "Calculate maxNumberOfDRBsPerCUUP",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />",
+ "comments": "",
+ "x": 1704.1110382080078,
+ "y": 3007.110860824585,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "1379639e.bafadc",
+ "type": "set",
+ "name": "Calculate RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
+ "comments": "",
+ "x": 1655.2221755981445,
+ "y": 3078.2222595214844,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "86e8886b.e9c628",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1641.611083984375,
+ "y": 2823.499755859375,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d905da99.4ff128",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1650.5000762939453,
+ "y": 2859.722234725952,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "56fea612.d0b798",
+ "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/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch CUUP NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1653.3890838623047,
+ "y": 2895.7222290039062,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "69da97cc.d97eb8",
+ "type": "execute",
+ "name": "read existing rrmPolicyDedicatedRatio ",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_CUUP' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2177.4442749023438,
+ "y": 3477.9442176818848,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6fb99ea1.cba84",
+ "type": "execute",
+ "name": "read rrmPolicyMemberListLength",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyMembers-CUUP' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2178.0000762939453,
+ "y": 3677.9441680908203,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1beb410.b9bddbf",
+ "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": 2181.055419921875,
+ "y": 3607.9443359375,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "babeecc.4e3ad1",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioList_CUUP_length' value='`$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
+ "comments": "",
+ "x": 1638.4999542236328,
+ "y": 3388.9444999694824,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "34b9c13.ba3c13e",
+ "type": "execute",
+ "name": "read RRMPolicyRatio_id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2160.2222061157227,
+ "y": 3644.6107501983643,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e0e65fd0.2b6c9",
+ "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=\"Config DB update\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1827.0625,
+ "y": 3724.75,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d1229865.4d31f8",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.gNBCUUPList.gNBCUUPId' value='`$tmp.idGNBCUUPFunction`'/>\n<parameter name='tmp.gNBCUUPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n ",
+ "comments": "",
+ "x": 1856.8473320007324,
+ "y": 3767.9444856643677,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "f88ad792.a38708",
+ "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=\"sNSSAI\"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field4\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field5\" value=\"gNBCUUPId\"/>\n<parameter name=\"field6\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n<parameter name=\"field7\" value=\"pLMNId\"/>\n<parameter name=\"field8\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBCUUPList.gNBId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1843.3471794128418,
+ "y": 3810.166624069214,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "339be435.33e26c",
+ "type": "execute",
+ "name": "generate getRRMPolicyRatio URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getRRMPolicyRatio`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceType}\"/>\n <parameter name=\"replacement\" value=\"DRB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1923.1388397216797,
+ "y": 3918.9514331817627,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "23fd15d2.b48aca",
+ "type": "execute",
+ "name": "prepare resourceId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1875.360939025879,
+ "y": 3962.5623893737793,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8ad1032.8f26c",
+ "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=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1838.694480895996,
+ "y": 4000.0623989105225,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4e9b0acc.4799f4",
+ "type": "execute",
+ "name": "Get rrmPolicy by resourceid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfo-cuup-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1902.1944427490234,
+ "y": 4029.7846632003784,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "df044a91.413ae8",
+ "b598582.9d371a8"
+ ]
+ ]
+ },
+ {
+ "id": "f381d76b.7c5b58",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>\n<parameter name='tmp.resourceID' value='`$tmp.idGNBCUUPFunction`'/>",
+ "comments": "",
+ "x": 1965.3963203430176,
+ "y": 4175.291501998901,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "6415c9b2.ba7f78",
+ "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=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1916.4236907958984,
+ "y": 4210.041502952576,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df044a91.413ae8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2225.3611946105957,
+ "y": 3988.8123054504395,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "420965f2.ef6d6c"
+ ]
+ ]
+ },
+ {
+ "id": "420965f2.ef6d6c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2373.61141204834,
+ "y": 3996.812488555908,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "b13d442b.0110f8",
+ "e66d54f6.d9fca8"
+ ]
+ ]
+ },
+ {
+ "id": "e66d54f6.d9fca8",
+ "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": 2560.8612308502197,
+ "y": 3976.56254863739,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "b13d442b.0110f8",
+ "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": 2579.1946334838867,
+ "y": 4019.340564727783,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "aef557f3.9be3f8",
+ "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": 2642.9722213745117,
+ "y": 4083.1458024978638,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "65e1b8f4.ed6808",
+ "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": 2584.750087738037,
+ "y": 4049.3127937316895,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ae6c10cb.42c8a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2389.027671813965,
+ "y": 4077.7014665603638,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "65e1b8f4.ed6808",
+ "aef557f3.9be3f8"
+ ]
+ ]
+ },
+ {
+ "id": "b598582.9d371a8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2218.9168090820312,
+ "y": 4060.284743309021,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "ae6c10cb.42c8a"
+ ]
+ ]
+ },
+ {
+ "id": "7f4d91b5.715f3",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1995.4998168945312,
+ "y": 4432.944145202637,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "7669ca05.855e74"
+ ]
+ ]
+ },
+ {
+ "id": "7669ca05.855e74",
+ "type": "for",
+ "name": "foreach TACell",
+ "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2181.47225189209,
+ "y": 4432.889133453369,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "e0981bd3.97f1b8"
+ ]
+ ]
+ },
+ {
+ "id": "e0981bd3.97f1b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2382.277557373047,
+ "y": 4434.694358825684,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "9a34dae9.059d88",
+ "e9235cff.bc697",
+ "758181e.bf5f88"
+ ]
+ ]
+ },
+ {
+ "id": "e9235cff.bc697",
+ "type": "execute",
+ "name": "read Cell from getNFNSSIRIC-configdb-response",
+ "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 +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2663.833282470703,
+ "y": 4261.0275675058365,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "758181e.bf5f88",
+ "type": "execute",
+ "name": "read cellCU from getListofCells-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id-ta + ']'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2667.1666107177734,
+ "y": 4302.694236755371,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9a34dae9.059d88",
+ "type": "switchNode",
+ "name": "is cellCU applicable for NSSAI",
+ "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2627.0553665161133,
+ "y": 4345.805636242032,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "c340bcbc.9520f"
+ ]
+ ]
+ },
+ {
+ "id": "c340bcbc.9520f",
+ "type": "outcome",
+ "name": "Applicable",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2864.722137451172,
+ "y": 4349.916248321533,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "44e21983.ec86f8"
+ ]
+ ]
+ },
+ {
+ "id": "cc4a732a.b0297",
+ "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=\"Calculated RRMPolicyRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3160.142822265625,
+ "y": 5130.64306640625,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b115c77c.8d08e8",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
+ "comments": "",
+ "x": 3174.428810119629,
+ "y": 5474.57123374939,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "8c22b1e3.6e53b",
+ "type": "execute",
+ "name": "Set existing RRMPolicyRatio",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellDU-old' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n\t\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 3681.9288177490234,
+ "y": 5499.2141456604,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ca9403ef.7c439",
+ "type": "execute",
+ "name": "Read RRMPolicyRatioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3645.143264770508,
+ "y": 5622.785711288452,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3f4b18f4.bbc808",
+ "type": "execute",
+ "name": "Read RRMPolicyMembers Length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyMembersDU_Length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3650.857208251953,
+ "y": 5715.285484313965,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "303a9f8c.9bc24",
+ "type": "execute",
+ "name": "set gNBDUId",
+ "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": 3817.642822265625,
+ "y": 5654.9287109375,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fe28d7e2.b48578",
+ "type": "execute",
+ "name": "set NRCellDU",
+ "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": 3810.5,
+ "y": 5686.35693359375,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4ffe0b04.884aa4",
+ "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=\"idNRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3141.25,
+ "y": 5363,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8ed5b07e.77931",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>\n<parameter name='tmp.pLMNId' value='`$tmp.payload.pLMNId`'/>\n ",
+ "comments": "",
+ "x": 3260.875,
+ "y": 5796.5625,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "4e2b0f1e.b37e9",
+ "type": "execute",
+ "name": "generate getRRMPolicyRatio URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getRRMPolicyRatio`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceType}\"/>\n <parameter name=\"replacement\" value=\"PRB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3328.375,
+ "y": 5930.9375,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "72141d66.6370b4",
+ "type": "execute",
+ "name": "prepare resourceId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3286.9305114746094,
+ "y": 5970.10396194458,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "92b3075d.856338",
+ "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=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3268.374954223633,
+ "y": 6004.270544052124,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ebe8ed9f.8997a",
+ "type": "execute",
+ "name": "Get rrmPolicy by resourceid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfoDU-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3330.763702392578,
+ "y": 6035.103973388672,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "621f0caa.46eec4",
+ "8271af0.7ff665"
+ ]
+ ]
+ },
+ {
+ "id": "621f0caa.46eec4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3634.486038208008,
+ "y": 6085.937292098999,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "4b8c7785.ac1828"
+ ]
+ ]
+ },
+ {
+ "id": "4b8c7785.ac1828",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3786.4863300323486,
+ "y": 6083.937272071838,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "6e6d7027.f0f57",
+ "364e8840.858108"
+ ]
+ ]
+ },
+ {
+ "id": "364e8840.858108",
+ "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": 3952.4860858917236,
+ "y": 6049.937272071838,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "6e6d7027.f0f57",
+ "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": 3980.819549560547,
+ "y": 6082.71529006958,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "5d0b280a.f4ed08",
+ "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": 3956.375030517578,
+ "y": 6113.9376430511475,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eef58bbb.389ed8",
+ "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": 4054.597198486328,
+ "y": 6140.270738601685,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9116a046.3f9dc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3793.1526947021484,
+ "y": 6134.8260707855225,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "5d0b280a.f4ed08",
+ "eef58bbb.389ed8"
+ ]
+ ]
+ },
+ {
+ "id": "8271af0.7ff665",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3638.597099304199,
+ "y": 6131.159595012665,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "9116a046.3f9dc"
+ ]
+ ]
+ },
+ {
+ "id": "40b98db3.d03d74",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>",
+ "comments": "",
+ "x": 3449.9662857055664,
+ "y": 6253.944792747498,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "cc3c3709.78cbd8",
+ "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=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3412.2155532836914,
+ "y": 6289.91696023941,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "29d9774b.8f3d88",
+ "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=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"GNBDUId\"/>\n<parameter name=\"field8\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"dLThptPerSlice\"/>\n<parameter name=\"field12\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field13\" value=\"uLThptPerSlice\"/>\n<parameter name=\"field14\" value=\"`$tmp.uLThptPerSlice`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3247.3748474121094,
+ "y": 5838.784638404846,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34a437e1.c05138",
+ "type": "execute",
+ "name": "set globalCustomerId",
+ "xml": "<set>\n<parameter name='tmp.payload.globalCustomerId' value='`$payloadJson.input.globalSubscriberId`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 660.7500228881836,
+ "y": 106.74999713897705,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "117699dc.ff55a6",
+ "type": "execute",
+ "name": "set serviceType",
+ "xml": "<set>\n<parameter name='tmp.serviceType' value='`$payloadJson.input.subscriptionServiceType`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 664.75,
+ "y": 145.75000095367432,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a145c709.8db1e8",
+ "type": "execute",
+ "name": "Update RAN Inventory ConfigDB",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRANSliceInventory`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRANSliceInventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-inventory-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": 817,
+ "y": 4191.25,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "cd2b5d7d.1cc6f",
+ "800474bb.349208"
+ ]
+ ]
+ },
+ {
+ "id": "d21a5ac4.809de8",
+ "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=\"Update inventory in ConfigDB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 786.2499885559082,
+ "y": 3972.749991416931,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd2b5d7d.1cc6f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1053.0006580352783,
+ "y": 4145.250358581543,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "2ac8026c.c74cee"
+ ]
+ ]
+ },
+ {
+ "id": "2ac8026c.c74cee",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1193.0009765625,
+ "y": 4153.2502365112305,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "c7f82ee9.7dabb",
+ "9992a4fd.497d78"
+ ]
+ ]
+ },
+ {
+ "id": "9992a4fd.497d78",
+ "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": 1328.0006713867188,
+ "y": 4119.361747741699,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "c7f82ee9.7dabb",
+ "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 inventory in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1382.0003967285156,
+ "y": 4156.250297546387,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "ebf47d6b.51bc7",
+ "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 inventory in ConfigDB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1401.0006484985352,
+ "y": 4208.250485420227,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "36aa2c36.1628e4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1215.000400543213,
+ "y": 4224.250241279602,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "ebf47d6b.51bc7",
+ "5ce931d8.83b77"
+ ]
+ ]
+ },
+ {
+ "id": "800474bb.349208",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1057.0006103515625,
+ "y": 4225.249996185303,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "36aa2c36.1628e4"
+ ]
+ ]
+ },
+ {
+ "id": "78a0519c.a4047",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberOfConns`'/>",
+ "comments": "",
+ "x": 777,
+ "y": 4060.5,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "90ebd0d1.0e27a",
+ "type": "execute",
+ "name": "prepare gNBDUList for SO callback",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.DUList.response' />\n\t<parameter name='keyName' value='gNBDUId' />\n\t<parameter name='keyValue' value=\"`$tmp.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3133.75,
+ "y": 5021.5,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4f487da.79f0984",
+ "type": "execute",
+ "name": "prepare gNBCUUPList for SO callback",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUUPList.response' />\n\t<parameter name='keyName' value='gNBCUUPId' />\n\t<parameter name='keyValue' value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1688,
+ "y": 3247.25,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "176c3707.cee7c9",
+ "type": "execute",
+ "name": "prepare gNBCUCPList for SO callback",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUCPList.response' />\n\t<parameter name='keyName' value='gNBCUName' />\n\t<parameter name='keyValue' value=\"`$tmp.CUCPName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2213,
+ "y": 1571.5,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "61db22e5.255cbc",
+ "type": "for",
+ "name": "For coverageAreaTAList",
+ "xml": "<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 423.69445037841797,
+ "y": 485.6667203903198,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "c1b6536e.41454"
+ ]
+ ]
+ },
+ {
+ "id": "c1b6536e.41454",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 396.8816909790039,
+ "y": 560.989305973053,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "11096942.0fe4b7",
+ "e06ed195.bb9dd",
+ "67a21af6.c45f74",
+ "f3b4b5a6.06c428",
+ "22aedb0e.d1c1f4",
+ "f23f4f55.9af9e"
+ ]
+ ]
+ },
+ {
+ "id": "11096942.0fe4b7",
+ "type": "execute",
+ "name": "read trackingArea",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.payload.trackingArea' />\n\t<parameter name='source' value=\"`'payloadJson.input.sliceProfile.coverageAreaTAList['+ $ta+']'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 721.8056297302246,
+ "y": 392.9445219039917,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "67a21af6.c45f74",
+ "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=\"trackingArea \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.trackingArea`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 665.6944808959961,
+ "y": 439.27770471572876,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e698a0cf.99018",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcuup-rrm1' start='0' end='`$tmp.rrmPolicyRatio_configdb_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1828.0001678466797,
+ "y": 4090.750666618347,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "8acb1ef3.7bf75"
+ ]
+ ]
+ },
+ {
+ "id": "15d0a6a8.2844c9",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatio_configdb_length' value='`$getrrmpolicyratioinfo-cuup-configdb-response._length`'/>\n\n ",
+ "comments": "",
+ "x": 1889,
+ "y": 4058.750002861023,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "8acb1ef3.7bf75",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2036,
+ "y": 4090.750002861023,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "23354179.3a37be",
+ "f381d76b.7c5b58",
+ "6415c9b2.ba7f78",
+ "fb71fd5c.63b5a"
+ ]
+ ]
+ },
+ {
+ "id": "23354179.3a37be",
+ "type": "set",
+ "name": "set rrmpolicyratioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'getrrmpolicyratioinfo-cuup-configdb-response.['+$idcuup-rrm1+'].rrmPolicyID'`\" />\n\n ",
+ "comments": "",
+ "x": 2053.000015258789,
+ "y": 4142.75018119812,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "4eca6bcf.19f6f4",
+ "type": "set",
+ "name": "set rrmpolicyratioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'getrrmpolicyratioinfo-configdb-response.['+$idcu-rrm1+'].rrmPolicyID'`\" />\n",
+ "comments": "",
+ "x": 2128.2502059936523,
+ "y": 2577.75070476532,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "a5d5d190.afc5c",
+ "type": "set",
+ "name": "set rrmpolicyratioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'getrrmpolicyratioinfoDU-configdb-response.['+$iddu-rrm1+'].rrmPolicyID'`\" />\n",
+ "comments": "",
+ "x": 3463.25040435791,
+ "y": 6216.750333786011,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "a7e4a69a.4eee18",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioConfigDB_length' value='`$getrrmpolicyratioinfo-configdb-response._length`'/>\n\n ",
+ "comments": "",
+ "x": 2004.5,
+ "y": 2487.2500038146973,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "d04803e9.e9861",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.rrmPolicyRatioConfigDB_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1821.500114440918,
+ "y": 2527.2500953674316,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "e47c84dd.df4ad8"
+ ]
+ ]
+ },
+ {
+ "id": "e47c84dd.df4ad8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2013.5000228881836,
+ "y": 2529.250308036804,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "4eca6bcf.19f6f4",
+ "8ae4e7a8.66a468",
+ "75cd172c.0f47a8",
+ "5a4e2c1e.f4b764"
+ ]
+ ]
+ },
+ {
+ "id": "4950ccfb.7f5304",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioDUList_length' value='`$getrrmpolicyratioinfoDU-configdb-response._length`'/>\n\n ",
+ "comments": "",
+ "x": 3318.000099182129,
+ "y": 6073.25020980835,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "76a99db7.945c84",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='iddu-rrm1' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3300,
+ "y": 6117.250003814697,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "57e004d0.dab4ec"
+ ]
+ ]
+ },
+ {
+ "id": "57e004d0.dab4ec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3484.25,
+ "y": 6152.250003814697,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "a5d5d190.afc5c",
+ "40b98db3.d03d74",
+ "cc3c3709.78cbd8",
+ "725d04d4.4e5bdc"
+ ]
+ ]
+ },
+ {
+ "id": "f3b4b5a6.06c428",
+ "type": "execute",
+ "name": "set params",
+ "xml": "<set>\n<parameter name='tmp.RICEntries' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 326.75,
+ "y": 1273.75,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "22aedb0e.d1c1f4",
+ "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=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConn for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"nearRTRICId\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"RANNFNSSI\"/>\n<parameter name=\"field12\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n<parameter name=\"field13\" value=\"NSSAI\"/>\n<parameter name=\"field14\" value=\"`$tmp.payload.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 306.75,
+ "y": 1323.75,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd6c9239.1fbb9",
+ "type": "execute",
+ "name": "set trackingArea size",
+ "xml": "<set>\n\t<parameter name='tmp.trackingAreaListEntries' value=\"`$payloadJson.input.sliceProfile.coverageAreaTAList_length`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 424.75001525878906,
+ "y": 390.7500104904175,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "69b6790d.7ed958",
+ "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=\"Tracking Area size\"/>\n<parameter name=\"field2\" value=\"`$tmp.trackingAreaListEntries`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 370.75001525878906,
+ "y": 429.75001764297485,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c627552.6535aa8",
+ "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=\"Response code\"/>\n<parameter name=\"field2\" value=\"`$error-code`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 749.5,
+ "y": 4288.250002861023,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ae16c1.eea2c94",
+ "type": "switchNode",
+ "name": "check status",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 774.4999961853027,
+ "y": 4341.99997651577,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "3604dc80.5b7134",
+ "8b24277.286fdd8"
+ ]
+ ]
+ },
+ {
+ "id": "3604dc80.5b7134",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 957.5000114440918,
+ "y": 4299.0000985860825,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "a4463736.3d2688"
+ ]
+ ]
+ },
+ {
+ "id": "8b24277.286fdd8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 973.4999961853027,
+ "y": 4350.99997651577,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "f78386b6.f7c7b8"
+ ]
+ ]
+ },
+ {
+ "id": "a4463736.3d2688",
+ "type": "set",
+ "name": "status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+ "comments": "",
+ "x": 1133.5000114440918,
+ "y": 4302.000251173973,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "f78386b6.f7c7b8",
+ "type": "set",
+ "name": "failure status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+ "comments": "",
+ "x": 1134.4999961853027,
+ "y": 4345.99997651577,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "736e2c41.e3fa04",
+ "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=\"Response code\"/>\n<parameter name=\"field2\" value=\"`$error-code`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4719.000240325928,
+ "y": 2553.7500052452087,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "616adbcb.acfbc4",
+ "type": "switchNode",
+ "name": "check status",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4735.000240325928,
+ "y": 2609.5000052452087,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "4ce246be.808e08",
+ "1f7a9770.1dfa99"
+ ]
+ ]
+ },
+ {
+ "id": "4ce246be.808e08",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4906.000011444092,
+ "y": 2481.5000985860825,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "1cd5a063.9d81e"
+ ]
+ ]
+ },
+ {
+ "id": "1cd5a063.9d81e",
+ "type": "set",
+ "name": "status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+ "comments": "",
+ "x": 5082.000011444092,
+ "y": 2484.500251173973,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "b431d9c8.57fc38",
+ "type": "set",
+ "name": "failure status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+ "comments": "",
+ "x": 5082.999996185303,
+ "y": 2528.49997651577,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "1f7a9770.1dfa99",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4921.999996185303,
+ "y": 2533.49997651577,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "b431d9c8.57fc38"
+ ]
+ ]
+ },
+ {
+ "id": "36b7a424.f750bc",
+ "type": "block",
+ "name": "Add sliceprofile NRTRIC",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 858.000057220459,
+ "y": 895.7500228881836,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "a12c1cfd.73b37",
+ "d70d2511.ad9c88",
+ "543de6b3.4c8428",
+ "d3f68f4b.db24a"
+ ]
+ ]
+ },
+ {
+ "id": "543de6b3.4c8428",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1021.0005836486816,
+ "y": 800.4063949584961,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "a1dcdb87.0b73a8",
+ "8ab39c7.22fc86"
+ ]
+ ]
+ },
+ {
+ "id": "a1dcdb87.0b73a8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1211.0002365112305,
+ "y": 766.4060344696045,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "86a6aee7.092b6"
+ ]
+ ]
+ },
+ {
+ "id": "86a6aee7.092b6",
+ "type": "block",
+ "name": "URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1372.2016677856445,
+ "y": 775.0051879882812,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "85658d44.ba71e",
+ "f0de89e6.4a7878"
+ ]
+ ]
+ },
+ {
+ "id": "85658d44.ba71e",
+ "type": "execute",
+ "name": "generate addSliceProfile.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1672.0000610351562,
+ "y": 724.4063549041748,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f0de89e6.4a7878",
+ "type": "execute",
+ "name": "Populate addSliceProfile.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1668.5349044799805,
+ "y": 761.0053405761719,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a1ecbfa9.0d171",
+ "type": "execute",
+ "name": "generate addSliceProfile.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1738.5348434448242,
+ "y": 803.0053863525391,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1fe85c9e.949c63",
+ "type": "execute",
+ "name": "Populate addSliceProfile.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1750.069725036621,
+ "y": 847.6041946411133,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bcdaf805.ffad68",
+ "type": "execute",
+ "name": "Populate MOUNT NAME",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1769.5351028442383,
+ "y": 888.0052156150341,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "576467e9.55c118",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1404.9899368286133,
+ "y": 877.4060802459717,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "a1ecbfa9.0d171",
+ "1fe85c9e.949c63",
+ "bcdaf805.ffad68"
+ ]
+ ]
+ },
+ {
+ "id": "8ab39c7.22fc86",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1200.0001983642578,
+ "y": 852.4061050415039,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "576467e9.55c118"
+ ]
+ ]
+ },
+ {
+ "id": "d70d2511.ad9c88",
+ "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=\"Add SliceProfile ToNearRTRIC url:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1097.0003509521484,
+ "y": 900.7500839233398,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a12c1cfd.73b37",
+ "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=\"Setting variables for ADD SliceProfile ToNearRTRIC\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.latency`\"/>\n<parameter name=\"field7\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field9\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field10\" value=\"`$payloadJson.input.sliceProfile.uEMobilityLevel`\"/>\n<parameter name=\"field11\" value=\"`$tmp.trackingArea`\"/>\n<parameter name=\"field12\" value=\"`$payloadJson.input.sliceProfile.resourceSharingLevel`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1096.0008101463318,
+ "y": 945.7394647598267,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d3f68f4b.db24a",
+ "type": "execute",
+ "name": "add addSliceProfile.ToNearRTRIC using PUT",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-sliceProfile-NRRIC.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addSliceProfile-NRTRIC-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1173.0011444091797,
+ "y": 1023.7500839233398,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "73b3a50d.387b7c",
+ "3a51e291.dc3f0e"
+ ]
+ ]
+ },
+ {
+ "id": "3a51e291.dc3f0e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1488.0012168884277,
+ "y": 972.739336013794,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "47b0a15c.e7c01"
+ ]
+ ]
+ },
+ {
+ "id": "47b0a15c.e7c01",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1652.9998588562012,
+ "y": 991.7393572330475,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "61b81239.51260c"
+ ]
+ ]
+ },
+ {
+ "id": "61b81239.51260c",
+ "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=\"PLMNInfo List Entry Add to NRCELLCU Executed Successfully \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1817.0006523132324,
+ "y": 984.7398464679718,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a0b6b58.7d8ad8",
+ "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 adding slice proficle to NearRTRIC\" />",
+ "comments": "",
+ "x": 1799.000789642334,
+ "y": 927.7396411895752,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "7feea329.3b70bc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1659.423885345459,
+ "y": 926.5607318878174,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "8a0b6b58.7d8ad8",
+ "5ce931d8.83b77"
+ ]
+ ]
+ },
+ {
+ "id": "73b3a50d.387b7c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1543.0003623962402,
+ "y": 920.7394123077393,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "7feea329.3b70bc"
+ ]
+ ]