+ "name": "calculation2",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />",
+ "comments": "",
+ "x": 2515.5833168029785,
+ "y": 1975.4166526794434,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "82a132f.12b33d",
+ "type": "set",
+ "name": "calculation3",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
+ "comments": "",
+ "x": 2526.5832443237305,
+ "y": 2026.4165954589844,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "e17dd25a.d2dd8",
+ "type": "set",
+ "name": "Calculate for RRM2",
+ "xml": "<set>\n<parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns-CUUP*4`' />",
+ "comments": "",
+ "x": 3262.781650543213,
+ "y": 3468.281668663025,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "5bb1f566.70cf0c",
+ "type": "set",
+ "name": "Calculate for RRM3",
+ "xml": "<set>\n<parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' />",
+ "comments": "",
+ "x": 3276.7817764282227,
+ "y": 3521.281545639038,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "ab13fa24.13ecd8",
+ "type": "set",
+ "name": "calculation rrm4",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP1' value='`$tmp.DRBPerCUUPForSNSSAI * 100`' />",
+ "comments": "",
+ "x": 3248.7812843322754,
+ "y": 3559.2814245224,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "1d77c151.652b2f",
+ "type": "set",
+ "name": "Calculate RRM Parms2",
+ "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 2629.281349182129,
+ "y": 5397.7821034789085,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "ac8e30b7.1940f",
+ "type": "set",
+ "name": "Calculate RRM Parms3",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
+ "comments": "",
+ "x": 2619.2814712524414,
+ "y": 5452.781981408596,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "60ae95a3.4dca8c",
+ "type": "set",
+ "name": "Calculate RRM Parms4",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 2619.281349182129,
+ "y": 5503.781981468201,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "1e994da6.548422",
+ "type": "set",
+ "name": "Calculate RRM Parms5",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
+ "comments": "",
+ "x": 2607.2814712524414,
+ "y": 5563.7821034789085,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "4d95ba67.f72534",
+ "type": "set",
+ "name": "Calculate RRM Parms6",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />",
+ "comments": "",
+ "x": 2645.281349182129,
+ "y": 5613.7821034789085,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "db956f11.57cd1",
+ "type": "set",
+ "name": "Calculate RRM Parms7",
+ "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
+ "comments": "",
+ "x": 2632.2812881469727,
+ "y": 5683.782469749451,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "41a84fb0.0ffb8",
+ "type": "set",
+ "name": "calculation8",
+ "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.DUListEntries`' />\n",
+ "comments": "",
+ "x": 2603.2812881469727,
+ "y": 5747.781493186951,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "fb9768c3.587378",
+ "type": "set",
+ "name": "calculation9",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
+ "comments": "",
+ "x": 2591.281837463379,
+ "y": 5798.781371116638,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "f53d109e.0f989",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2146.781177520752,
+ "y": 1064.8281090259552,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "e983ffce.697df",
+ "c61b79b5.851588"
+ ]
+ ]
+ },
+ {
+ "id": "e983ffce.697df",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2336.7811584472656,
+ "y": 1034.8278925418854,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "f3b31d7b.b603b"
+ ]
+ ]
+ },
+ {
+ "id": "c61b79b5.851588",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2316.7811317443848,
+ "y": 1113.8279840946198,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "102f7d7.d88ea83"
+ ]
+ ]
+ },
+ {
+ "id": "90dd477e.fad0a8",
+ "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": 2337.781826019287,
+ "y": 1260.1613628864288,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "44d9d024.fab18",
+ "type": "block",
+ "name": "Add sliceprofile NRTRIC",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2012.780860900879,
+ "y": 1266.1718802452087,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "90dd477e.fad0a8",
+ "3a359137.cdf98e",
+ "f53d109e.0f989",
+ "e5680662.f48e48"
+ ]
+ ]
+ },
+ {
+ "id": "e5680662.f48e48",
+ "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": 2408.782066345215,
+ "y": 1326.1720132827759,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "21013089.cf8ef",
+ "1a7c30c9.494c9f"
+ ]
+ ]
+ },
+ {
+ "id": "3a359137.cdf98e",
+ "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": 2337.7814025878906,
+ "y": 1194.1720135211945,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f4cdb00.c2fb04",
+ "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": 2724.7811241149902,
+ "y": 934.8282337486744,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "21013089.cf8ef",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2808.7811889648438,
+ "y": 1204.161283493042,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "5b7d5a1e.aede44"
+ ]
+ ]
+ },
+ {
+ "id": "1a7c30c9.494c9f",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2718.7820739746094,
+ "y": 1319.1612710952759,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "e6b809bb.a37078"
+ ]
+ ]
+ },
+ {
+ "id": "e6b809bb.a37078",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2883.780792236328,
+ "y": 1320.1612710952759,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "327b61a.a960d9e"
+ ]
+ ]
+ },
+ {
+ "id": "e949fc2b.322c",
+ "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": 2993.7816772460938,
+ "y": 1259.161527633667,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "327b61a.a960d9e",
+ "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": 3047.7815856933594,
+ "y": 1313.1617603302002,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "102f7d7.d88ea83",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2509.770782470703,
+ "y": 1108.8279840946198,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "c3e1045b.db61e8",
+ "4162e6dc.1e3f28",
+ "151abb30.1d1735"
+ ]
+ ]
+ },
+ {
+ "id": "ef2c25da.239dd8",
+ "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": 2725.3158988952637,
+ "y": 990.4271945953369,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c3e1045b.db61e8",
+ "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": 2789.315731048584,
+ "y": 1037.4273042678833,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4162e6dc.1e3f28",
+ "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": 2804.850730895996,
+ "y": 1089.026128768921,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "151abb30.1d1735",
+ "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": 2823.3160514831543,
+ "y": 1142.4271173477173,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b7d5a1e.aede44",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2958.204818725586,
+ "y": 1208.9826550483704,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "e949fc2b.322c"
+ ]
+ ]
+ },
+ {
+ "id": "f3b31d7b.b603b",
+ "type": "block",
+ "name": "URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2440.9826583862305,
+ "y": 920.4270935058594,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "5f4cdb00.c2fb04",
+ "ef2c25da.239dd8"
+ ]
+ ]
+ },
+ {
+ "id": "76dac9bc.b2da38",
+ "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.gNBCUCPList.gNBCUName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3228.250274658203,
+ "y": 1873.7500886917114,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "84550c.db026af8",
+ "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/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPList length\"/>\n<parameter name=\"field2\" value=\"`$CUCPListEntries_size`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3158.25,
+ "y": 2025.7499742507935,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "91a92ff.7f502d",
+ "type": "execute",
+ "name": "CUCP List size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='CUCPListEntries_size' />\n\t<parameter name='source' value=\"`tmp.CUCPList.response_length`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3185.499969482422,
+ "y": 1976.2499694824219,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b541e97a.091298",
+ "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.gNBCUUPList.gNBCUUPId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3831.500102996826,
+ "y": 4743.750096321106,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "854b6672.9b3c78",
+ "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.gNBDUList.gNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3792.0001678466797,
+ "y": 6943.000070571899,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ea1799b4.500598",
+ "type": "set",
+ "name": "callback payload",
+ "xml": "<set>\n<parameter name='tmp.CUCPList.response' value='`$tmp.CUCPList.response`' />\n<parameter name='tmp.CUUPList.response' value='`$tmp.CUUPList.response`' />\n<parameter name='tmp.DUList.response' value='`$tmp.DUList.response`' />\n",
+ "comments": "",
+ "x": 749.0001411437988,
+ "y": 2553.249973654747,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "353ca2b5.8b991e",
+ "type": "execute",
+ "name": "gNBCUCPList",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList.response' />\n\t<parameter name='source' value=\"`$tmp.CUCPList.response`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3187.5,
+ "y": 1926.7499742507935,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "855e02b5.654e5",
+ "type": "set",
+ "name": "set maxNumberOfConns",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`'/>",
+ "comments": "",
+ "x": 3532.2500343322754,
+ "y": 2601.0001859664917,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "f675c08c.37fb7",
+ "type": "set",
+ "name": "set maxNumberOfConns",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`'/>",
+ "comments": "",
+ "x": 3893.9999961853027,
+ "y": 4538.999972343445,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "ff5ac918.e30a48",
+ "type": "set",
+ "name": "set throughput",
+ "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice/$tmp.cellDUListEntries`'/>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice/$tmp.cellDUListEntries`'/>",
+ "comments": "",
+ "x": 3998.7499961853027,
+ "y": 6728.749972343445,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "9f5cd12d.485b5",
+ "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=\"maxNumberOfConns.CUUP \"/>\n<parameter name=\"field2\" value=\"`$tmp.maxNumberOfConns-CUUP`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3215.7499961853027,
+ "y": 3427.249972343445,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2e69d89d.b17738",
+ "type": "set",
+ "name": "set resourceID",
+ "xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.cellLocalId`'/>",
+ "comments": "",
+ "x": 3510.7499961853027,
+ "y": 3075.499972343445,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "c71b4eec.95244",
+ "type": "set",
+ "name": "set resourceID",
+ "xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.gNBCUUPList.gNBCUUPId`'/>",
+ "comments": "",
+ "x": 3698.4999961853027,
+ "y": 5055.249972343445,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "dd84da6a.0eec48",
+ "type": "set",
+ "name": "set resourceID",
+ "xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.gNBDUList.cellLocalId`'/>",
+ "comments": "",
+ "x": 2392.7499961853027,
+ "y": 7098.499972343445,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "4f781aac.7f8e84",
+ "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": 743.7499961853027,
+ "y": 2269.749972343445,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "fb2d1ad3.a7f9d8",
+ "bb44721e.670c7"
+ ]
+ ]
+ },
+ {
+ "id": "fb2d1ad3.a7f9d8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 978.7506675720215,
+ "y": 2182.750244140625,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "79aa3034.40fc2"
+ ]
+ ]
+ },
+ {
+ "id": "bb44721e.670c7",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 983.7506065368652,
+ "y": 2303.7499685287476,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "73e80867.8e9958"
+ ]
+ ]
+ },
+ {
+ "id": "73e80867.8e9958",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1141.7503967285156,
+ "y": 2302.750213623047,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "4ce0fb09.4ce974"
+ ]
+ ]
+ },
+ {
+ "id": "4ce0fb09.4ce974",
+ "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": 1327.750644683838,
+ "y": 2286.750457763672,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2c97a828.11f208",
+ "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": 1323.7503395080566,
+ "y": 2186.7502431869507,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "79aa3034.40fc2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1137.7509498596191,
+ "y": 2180.7503356933594,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "2c97a828.11f208",
+ "6351c66d.759828",
+ "f11b3f16.9273d"
+ ]
+ ]
+ },
+ {
+ "id": "6351c66d.759828",
+ "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": 1313.7505798339844,
+ "y": 2100.861357688904,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "4254aab2.1c4e64",
+ "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=\"Update inventory in ConfigDB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 779.0000152587891,
+ "y": 2149.2500166893005,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e193df81.4bb3b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1872.5832901000977,
+ "y": 355.41666889190674,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "bdaa897e.2cd2b8",
+ "c6b40762.ea2b08",
+ "7f6d8a09.6705c4"
+ ]
+ ]
+ },
+ {
+ "id": "7c7117bf.eff588",
+ "type": "execute",
+ "name": "set 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 + ']'`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1378.3261642456055,
+ "y": 210.23923873901367,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c0ee40ba.589e9",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1000.7149963378906,
+ "y": 363.3502907752991,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "7c7117bf.eff588",
+ "cc746ae2.0a52c8",
+ "5a3cb019.dea83",
+ "a70cf700.ce1f28"
+ ]
+ ]
+ },
+ {
+ "id": "cc746ae2.0a52c8",
+ "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=\"Tracking Area\"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.trackingArea`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1355.937156677246,
+ "y": 249.23921585083008,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f060cdfa.0562e",
+ "type": "for",
+ "name": "For coverageAreaTAList",
+ "xml": "<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 766.7499771118164,
+ "y": 414.583309173584,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "c0ee40ba.589e9"
+ ]
+ ]
+ },
+ {
+ "id": "9bdae950.00c5d8",
+ "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=\"Tracking Area size\"/>\n<parameter name=\"field2\" value=\"`$tmp.trackingAreaListEntries`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 738.9722290039062,
+ "y": 359.30552101135254,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3582eebd.3c7cf2",
+ "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": 770.0833129882812,
+ "y": 309.30552101135254,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b072d63c.a49af8",
+ "type": "set",
+ "name": "set RRMPolicyRatio IDs",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value=\"`'NearRTRIC-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value=\"`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellDU' value=\"`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value=\"`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value=\"`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellCU' value=\"`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />",
+ "comments": "",
+ "x": 1490.886474609375,
+ "y": 551.9318237304688,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "c3110c8d.ffdca",
+ "type": "execute",
+ "name": "tmp.ranNFNSSIListEntry",
+ "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value='`$tmp.payload.RANNFNSSIId`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1697.386474609375,
+ "y": 718.6818237304688,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2c323ebf.7788d2",
+ "type": "switchNode",
+ "name": "check status",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 709.2500305175781,
+ "y": 2392.5000286102295,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "422c435a.dbe19c",
+ "9336c4d6.1c5b58"
+ ]
+ ]
+ },
+ {
+ "id": "422c435a.dbe19c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 892.2500114440918,
+ "y": 2349.5000957250595,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "faa56729.7bb638"
+ ]
+ ]
+ },
+ {
+ "id": "faa56729.7bb638",
+ "type": "set",
+ "name": "status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+ "comments": "",
+ "x": 1068.2500114440918,
+ "y": 2352.50024831295,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "71dbbd93.33af74",
+ "type": "set",
+ "name": "failure status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+ "comments": "",
+ "x": 1069.2499961853027,
+ "y": 2396.499973654747,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "9336c4d6.1c5b58",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 908.2499961853027,
+ "y": 2401.499973654747,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "71dbbd93.33af74"
+ ]
+ ]
+ },
+ {
+ "id": "529080e3.eae63",
+ "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": 684.2499885559082,
+ "y": 2338.7500286102295,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "62b5105e.53365",
+ "type": "set",
+ "name": "set plmn id",
+ "xml": "<set>\n<parameter name=\"tmp.pLMNId\" value=\"`$tmp.payload.pLMNId`\"/>\n",