+ },
+ {
+ "id": "34c9e22.b0a7c1e",
+ "type": "set",
+ "name": "Calculate RRM Parms4",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 2592.218849182129,
+ "y": 5527.219481468201,
+ "z": "902b25ae.7c3098",
+ "wires": []
+ },
+ {
+ "id": "a8816efe.70be4",
+ "type": "set",
+ "name": "Calculate RRM Parms5",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
+ "comments": "",
+ "x": 2580.2189712524414,
+ "y": 5587.2196034789085,
+ "z": "902b25ae.7c3098",
+ "wires": []
+ },
+ {
+ "id": "503469f8.a36558",
+ "type": "set",
+ "name": "Calculate RRM Parms6",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
+ "comments": "",
+ "x": 2618.218849182129,
+ "y": 5637.2196034789085,
+ "z": "902b25ae.7c3098",
+ "wires": []
+ },
+ {
+ "id": "b2653495.ee3a68",
+ "type": "set",
+ "name": "Calculate RRM Parms7",
+ "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
+ "comments": "",
+ "x": 2605.2187881469727,
+ "y": 5707.219969749451,
+ "z": "902b25ae.7c3098",
+ "wires": []
+ },
+ {
+ "id": "c8829055.def5d",
+ "type": "set",
+ "name": "calculation8",
+ "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.DUListEntries`' />\n",
+ "comments": "",
+ "x": 2576.2187881469727,
+ "y": 5771.218993186951,
+ "z": "902b25ae.7c3098",
+ "wires": []
+ },
+ {
+ "id": "86314876.701b88",
+ "type": "set",
+ "name": "calculation9",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
+ "comments": "",
+ "x": 2564.219337463379,
+ "y": 5822.218871116638,
+ "z": "902b25ae.7c3098",
+ "wires": []
+ },
+ {
+ "id": "4b439c28.506134",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2119.718677520752,
+ "y": 1088.2656090259552,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ [
+ "4f278b05.5b4c64",
+ "a0050f49.222f8"
+ ]
+ ]
+ },
+ {
+ "id": "4f278b05.5b4c64",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2309.7186584472656,
+ "y": 1058.2653925418854,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ [
+ "c1d4b126.a640e"
+ ]
+ ]
+ },
+ {
+ "id": "a0050f49.222f8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2289.7186317443848,
+ "y": 1137.2654840946198,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ [
+ "1cdc5318.81c31d"
+ ]
+ ]
+ },
+ {
+ "id": "98860cef.b1782",
+ "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": 2310.719326019287,
+ "y": 1283.5988628864288,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bae48b05.1444f8",
+ "type": "block",
+ "name": "Add sliceprofile NRTRIC",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1985.718360900879,
+ "y": 1289.6093802452087,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ [
+ "98860cef.b1782",
+ "d3e629c1.e96e28",
+ "4b439c28.506134",
+ "89dc1157.f3333"
+ ]
+ ]
+ },
+ {
+ "id": "89dc1157.f3333",
+ "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": 2381.719566345215,
+ "y": 1349.6095132827759,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ [
+ "17e2a7f9.72ef98",
+ "b58624a.eb28dd8"
+ ]
+ ]
+ },
+ {
+ "id": "d3e629c1.e96e28",
+ "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": 2310.7189025878906,
+ "y": 1217.6095135211945,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "384192c5.becd5e",
+ "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": 2697.7186241149902,
+ "y": 958.2657337486744,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "17e2a7f9.72ef98",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2781.7186889648438,
+ "y": 1227.598783493042,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ [
+ "c4bc2b8a.7b7028"
+ ]
+ ]
+ },
+ {
+ "id": "b58624a.eb28dd8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2691.7195739746094,
+ "y": 1342.5987710952759,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ [
+ "d65f5595.f4dd98"
+ ]
+ ]
+ },
+ {
+ "id": "d65f5595.f4dd98",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2856.718292236328,
+ "y": 1343.5987710952759,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ [
+ "8be36083.0cec2"
+ ]
+ ]
+ },
+ {
+ "id": "1cf03784.d1ed98",
+ "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": 2966.7191772460938,
+ "y": 1282.599027633667,
+ "z": "902b25ae.7c3098",
+ "wires": []
+ },
+ {
+ "id": "8be36083.0cec2",
+ "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": 3020.7190856933594,
+ "y": 1336.5992603302002,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1cdc5318.81c31d",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2482.708282470703,
+ "y": 1132.2654840946198,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ [
+ "92e51d1c.9eab1",
+ "97c08468.e454c8",
+ "965cb927.5be908"
+ ]
+ ]
+ },
+ {
+ "id": "2de61976.84dcd6",
+ "type": "execute",
+ "name": "prev Send to SO",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name='customHttpHeaders' value=\"`'Authorization=Basic ' + $prop.restapi.so.authorization `\" />\n\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 566.6913871765137,
+ "y": 1059.9414129257202,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "311bc201.12061e",
+ "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": 2698.2533988952637,
+ "y": 1013.8646945953369,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "92e51d1c.9eab1",
+ "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": 2762.253231048584,
+ "y": 1060.8648042678833,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "97c08468.e454c8",
+ "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": 2777.788230895996,
+ "y": 1112.463628768921,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "965cb927.5be908",
+ "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": 2796.2535514831543,
+ "y": 1165.8646173477173,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c4bc2b8a.7b7028",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2931.142318725586,
+ "y": 1232.4201550483704,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ [
+ "1cf03784.d1ed98"
+ ]
+ ]
+ },
+ {
+ "id": "c1d4b126.a640e",
+ "type": "block",
+ "name": "URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2413.9201583862305,
+ "y": 943.8645935058594,
+ "z": "902b25ae.7c3098",
+ "wires": [
+ [
+ "384192c5.becd5e",
+ "311bc201.12061e"
+ ]
+ ]