+ },
+ {
+ "id": "255fdc18.108bc4",
+ "type": "set",
+ "name": "Calculate RRM Parms4",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 2553.5313568115234,
+ "y": 5514.032011985779,
+ "z": "d497934d.905b2",
+ "wires": []
+ },
+ {
+ "id": "1cd94a41.d15706",
+ "type": "set",
+ "name": "Calculate RRM Parms5",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
+ "comments": "",
+ "x": 2541.531478881836,
+ "y": 5574.032133996487,
+ "z": "d497934d.905b2",
+ "wires": []
+ },
+ {
+ "id": "5ce82acb.805884",
+ "type": "set",
+ "name": "Calculate RRM Parms6",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
+ "comments": "",
+ "x": 2579.5313568115234,
+ "y": 5624.032133996487,
+ "z": "d497934d.905b2",
+ "wires": []
+ },
+ {
+ "id": "20b95cc1.ef7f24",
+ "type": "set",
+ "name": "Calculate RRM Parms7",
+ "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
+ "comments": "",
+ "x": 2566.531295776367,
+ "y": 5694.032500267029,
+ "z": "d497934d.905b2",
+ "wires": []
+ },
+ {
+ "id": "c3e2d57f.a357c8",
+ "type": "set",
+ "name": "calculation8",
+ "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.DUListEntries`' />\n",
+ "comments": "",
+ "x": 2537.531295776367,
+ "y": 5758.031523704529,
+ "z": "d497934d.905b2",
+ "wires": []
+ },
+ {
+ "id": "432c2b41.ac7a94",
+ "type": "set",
+ "name": "calculation9",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
+ "comments": "",
+ "x": 2525.5318450927734,
+ "y": 5809.031401634216,
+ "z": "d497934d.905b2",
+ "wires": []
+ },
+ {
+ "id": "c56e9656.af3bd8",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2081.0311851501465,
+ "y": 1075.0781395435333,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "785a0637.29c608",
+ "a2ef3240.150a8"
+ ]
+ ]
+ },
+ {
+ "id": "785a0637.29c608",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2271.03116607666,
+ "y": 1045.0779230594635,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "61e6cf02.2c7fc"
+ ]
+ ]
+ },
+ {
+ "id": "a2ef3240.150a8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2251.0311393737793,
+ "y": 1124.0780146121979,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "6a3de219.dc091c"
+ ]
+ ]
+ },
+ {
+ "id": "4d804d2f.1ca854",
+ "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": 2272.0318336486816,
+ "y": 1270.411393404007,
+ "z": "d497934d.905b2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "871a44d1.637e78",
+ "type": "block",
+ "name": "Add sliceprofile NRTRIC",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1947.0308685302734,
+ "y": 1276.4219107627869,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "4d804d2f.1ca854",
+ "4a91c0ab.a4945",
+ "c56e9656.af3bd8",
+ "98fc18a5.33ec48"
+ ]
+ ]
+ },
+ {
+ "id": "98fc18a5.33ec48",
+ "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": 2343.0320739746094,
+ "y": 1336.422043800354,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "42df6822.718998",
+ "26b0d484.35a0ac"
+ ]
+ ]
+ },
+ {
+ "id": "4a91c0ab.a4945",
+ "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": 2272.031410217285,
+ "y": 1204.4220440387726,
+ "z": "d497934d.905b2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "98b82496.127348",
+ "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": 2659.0311317443848,
+ "y": 945.0782642662525,
+ "z": "d497934d.905b2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "42df6822.718998",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2743.0311965942383,
+ "y": 1214.4113140106201,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "b71af0f.d70ce1"
+ ]
+ ]
+ },
+ {
+ "id": "26b0d484.35a0ac",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2653.032081604004,
+ "y": 1329.411301612854,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "b7687486.6a8248"
+ ]
+ ]
+ },
+ {
+ "id": "b7687486.6a8248",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2818.0307998657227,
+ "y": 1330.411301612854,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "a3b17856.124c38"
+ ]
+ ]
+ },
+ {
+ "id": "3e03b6b8.09bb8a",
+ "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": 2928.0316848754883,
+ "y": 1269.4115581512451,
+ "z": "d497934d.905b2",
+ "wires": []
+ },
+ {
+ "id": "a3b17856.124c38",
+ "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": 2982.031593322754,
+ "y": 1323.4117908477783,
+ "z": "d497934d.905b2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6a3de219.dc091c",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2444.0207901000977,
+ "y": 1119.0780146121979,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "6605bd9d.c965a4",
+ "6650f5b0.5c304c",
+ "ea5023d4.20878"
+ ]
+ ]
+ },
+ {
+ "id": "7f260c05.abc2d4",
+ "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": 528.0038948059082,
+ "y": 1046.7539434432983,
+ "z": "d497934d.905b2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d7b45056.31cc2",
+ "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": 2659.565906524658,
+ "y": 1000.677225112915,
+ "z": "d497934d.905b2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6605bd9d.c965a4",
+ "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": 2723.5657386779785,
+ "y": 1047.6773347854614,
+ "z": "d497934d.905b2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6650f5b0.5c304c",
+ "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": 2739.1007385253906,
+ "y": 1099.276159286499,
+ "z": "d497934d.905b2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ea5023d4.20878",
+ "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": 2757.566059112549,
+ "y": 1152.6771478652954,
+ "z": "d497934d.905b2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b71af0f.d70ce1",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2892.4548263549805,
+ "y": 1219.2326855659485,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "3e03b6b8.09bb8a"
+ ]
+ ]
+ },
+ {
+ "id": "61e6cf02.2c7fc",
+ "type": "block",
+ "name": "URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2375.232666015625,
+ "y": 930.6771240234375,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "98b82496.127348",
+ "d7b45056.31cc2"
+ ]
+ ]