-[
- {
- "id": "e68c4026.1d1e7",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 123.75,
- "y": 64.74999713897705,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "a543d793.4fa118"
- ]
- ]
- },
- {
- "id": "a543d793.4fa118",
- "type": "service-logic",
- "name": "ran-slice-api ${project.version}",
- "module": "ran-slice-api",
- "version": "${project.version}",
- "comments": "",
- "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
- "outputs": 1,
- "x": 208.7500228881836,
- "y": 131.74996662139893,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "d8707537.a71618"
- ]
- ]
- },
- {
- "id": "d8707537.a71618",
- "type": "method",
- "name": "method",
- "xml": "<method rpc='instantiateRANSliceModifyAllocate' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 142.75,
- "y": 191.74993228912354,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "fa8d210f.82ece"
- ]
- ]
- },
- {
- "id": "fa8d210f.82ece",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 138.74999237060547,
- "y": 252.74996852874756,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "aa798111.5f0f5",
- "f60762ce.54f0f",
- "6f0046fe.7f6388",
- "dd339cfd.b337b",
- "5f8a32d4.ef21cc",
- "89d19ba6.2eb0d8",
- "19504430.043d4c",
- "581db54e.a0064c",
- "e2d6e587.376b48"
- ]
- ]
- },
- {
- "id": "aa798111.5f0f5",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 405.75,
- "y": 243.7500069141388,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "57292ac.06c32d4",
- "3f2c75a.ef13f8a",
- "ae453b51.dc9688"
- ]
- ]
- },
- {
- "id": "57292ac.06c32d4",
- "type": "execute",
- "name": "generate getNearRTRICsFromRANNFNSSI URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICByNSSI`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.RANNFNSSIId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 741.25,
- "y": 207.75001049041748,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "3f2c75a.ef13f8a",
- "type": "record",
- "name": "record configdb RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$tmp.payload.RANNFNSSIId`\" />",
- "comments": "",
- "outputs": 1,
- "x": 700.2500076293945,
- "y": 247.49999523162842,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "ae453b51.dc9688",
- "type": "execute",
- "name": "Get nearRTRIC for RANNFNSSIId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 711.2500762939453,
- "y": 291.0000009536743,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "21591d1a.bc16a2",
- "ec0e19a2.ed43f8"
- ]
- ]
- },
- {
- "id": "21591d1a.bc16a2",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 961.5682373046875,
- "y": 319.568097114563,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "7e9aebe3.8e7964"
- ]
- ]
- },
- {
- "id": "7e9aebe3.8e7964",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1134.5680389404297,
- "y": 308.56816959381104,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "16983893.a12ae7",
- "2bfa9688.c4e94a"
- ]
- ]
- },
- {
- "id": "16983893.a12ae7",
- "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 Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1335.3177680969238,
- "y": 308.31819438934326,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "2bfa9688.c4e94a",
- "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": 1371.0959815979004,
- "y": 351.5682029724121,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "ec0e19a2.ed43f8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 972.0680961608887,
- "y": 268.0681390762329,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "db2c4e39.d6196"
- ]
- ]
- },
- {
- "id": "db2c4e39.d6196",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1130.8181762695312,
- "y": 242.06821060180664,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "b2b2410b.6d682",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "b2b2410b.6d682",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1303.567813873291,
- "y": 254.67923641204834,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "409ce852.c50a18",
- "type": "for",
- "name": "foreach NearRTRIC",
- "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 265.75003814697266,
- "y": 1353.5682663321495,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "cf2e847a.3179b8",
- "4ba2f0bc.9a171",
- "e1a056f0.6d4398",
- "38ad1f4.97b71e"
- ]
- ]
- },
- {
- "id": "cf2e847a.3179b8",
- "type": "block",
- "name": "Process NearRTRIC",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 591.659065246582,
- "y": 1147.477331161499,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "a1b18c5c.659da",
- "e87aed0d.e329a",
- "794c8e61.964b4",
- "621b59e6.f8c8b8",
- "e8a945e8.149658",
- "4c7fb5c.2c9664c"
- ]
- ]
- },
- {
- "id": "a1b18c5c.659da",
- "type": "execute",
- "name": "read nearRTRICId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].nearRTRICId'`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 1045.2955169677734,
- "y": 978.4773025512695,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "e87aed0d.e329a",
- "type": "execute",
- "name": "read gNBId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1016.2955017089844,
- "y": 1021.4773635864258,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "794c8e61.964b4",
- "type": "set",
- "name": "Calculate uLThptPerSlice dLThptPerSlice maxNumberOfConns",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNFNSSIRIC-configdb-response._length`' />",
- "comments": "",
- "x": 1146.6591339111328,
- "y": 1096.2954654693604,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "621b59e6.f8c8b8",
- "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": 992.5681304931641,
- "y": 1137.2955417633057,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "e8a945e8.149658",
- "type": "execute",
- "name": "Update nearRT RIC Details in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updatenearRTRIC.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"modify-allocate-nearRTRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1098.5682220458984,
- "y": 1183.2046298980713,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "dfb784aa.2c0408",
- "7170c833.e214e8"
- ]
- ]
- },
- {
- "id": "dfb784aa.2c0408",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1454.568115234375,
- "y": 1108.0226411819458,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "a4721527.352d88"
- ]
- ]
- },
- {
- "id": "a4721527.352d88",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1586.5682373046875,
- "y": 1070.0226411819458,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "8c6f9399.c9a82",
- "e4b6ad3f.014c4"
- ]
- ]
- },
- {
- "id": "e4b6ad3f.014c4",
- "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": 1775.5679931640625,
- "y": 1017.1336641311646,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "8c6f9399.c9a82",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1783.5679931640625,
- "y": 1117.022702217102,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "7170c833.e214e8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1452.38623046875,
- "y": 1207.9317598342896,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "5b12bb4c.c02a24"
- ]
- ]
- },
- {
- "id": "5b12bb4c.c02a24",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1616.3861083984375,
- "y": 1208.931881904602,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "f24dbbb0.6d6e18"
- ]
- ]
- },
- {
- "id": "f24dbbb0.6d6e18",
- "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 Updated NearRT RIC info in ConfigDB\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1766.3861083984375,
- "y": 1203.9320039749146,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "4c7fb5c.2c9664c",
- "type": "execute",
- "name": "set params",
- "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1048.750015258789,
- "y": 1059.7500247955322,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "1297ddc9.2934e2",
- "type": "execute",
- "name": "read CUCP list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 969.75,
- "y": 1251.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "4ba2f0bc.9a171",
- "type": "block",
- "name": "Process CUCP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 569.75,
- "y": 1235.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "1297ddc9.2934e2",
- "68041a62.fa3314",
- "5c593b00.a32a94"
- ]
- ]
- },
- {
- "id": "68041a62.fa3314",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 941.75,
- "y": 1316.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "5c593b00.a32a94",
- "type": "for",
- "name": "foreach CUCP",
- "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 969.75,
- "y": 1391.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "7014ee89.23936"
- ]
- ]
- },
- {
- "id": "7014ee89.23936",
- "type": "block",
- "name": "block : process CUCP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1190.75,
- "y": 1398.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "b2c6d93d.637008",
- "84eb3e8c.ede5b",
- "fb834b7f.07d058",
- "ff2694ed.8d44c8"
- ]
- ]
- },
- {
- "id": "b2c6d93d.637008",
- "type": "execute",
- "name": "read CUCP name",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1541.75,
- "y": 1251.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "84eb3e8c.ede5b",
- "type": "for",
- "name": "for cellCUList",
- "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1545.75,
- "y": 1395.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "db543ed1.a7e94"
- ]
- ]
- },
- {
- "id": "cfce49f3.f79c98",
- "type": "execute",
- "name": "prepare mnc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2194.75,
- "y": 1419.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "e2033152.6ac3e",
- "type": "execute",
- "name": "patch PLMNInfoListEntry ToNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellCU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 2223.750015258789,
- "y": 1494.75004529953,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "bca4f806.acaf78",
- "3687dc64.7965e4"
- ]
- ]
- },
- {
- "id": "8c5e0143.9a807",
- "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 cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2188.75008392334,
- "y": 1456.7501063346863,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "33ce0cbb.f24934",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2059.75,
- "y": 1002.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "cfce49f3.f79c98",
- "8c5e0143.9a807",
- "e2033152.6ac3e",
- "315960eb.d54c",
- "36616e5c.37c822",
- "7263aeeb.44e3e",
- "7278acee.486974",
- "264a7ee6.a24eb2",
- "37abe676.ea6d5a",
- "6310f520.7ba69c",
- "aae2cdd.6be563"
- ]
- ]
- },
- {
- "id": "bca4f806.acaf78",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2479.750114440918,
- "y": 1544.7502145767212,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "b5db8475.ac9318"
- ]
- ]
- },
- {
- "id": "b5db8475.ac9318",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2652.749900817871,
- "y": 1543.7502756118774,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "b28bad78.371f7"
- ]
- ]
- },
- {
- "id": "b28bad78.371f7",
- "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 Patched - cellCU PLMNInfo List\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2850.7499618530273,
- "y": 1540.75039768219,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "3687dc64.7965e4",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2444.75008392334,
- "y": 1427.7499704360962,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "8bd3ec20.33ea1"
- ]
- ]
- },
- {
- "id": "8bd3ec20.33ea1",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2594.750358581543,
- "y": 1386.750153541565,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "6e5507a6.947d98",
- "2a8f179e.e88ed8",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "6e5507a6.947d98",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2765.7499923706055,
- "y": 1447.7502145767212,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "2a8f179e.e88ed8",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2760.750114440918,
- "y": 1352.750153541565,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "315960eb.d54c",
- "type": "execute",
- "name": "prepare idGNBCUCPFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2276.75,
- "y": 1229.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "36616e5c.37c822",
- "type": "execute",
- "name": "prepare idNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2237.75,
- "y": 1297.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "7263aeeb.44e3e",
- "type": "execute",
- "name": "prepare mcc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
- "comments": "",
- "outputs": 1,
- "x": 2204.75,
- "y": 1355.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "fb834b7f.07d058",
- "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=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1514.75,
- "y": 1302.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "ff2694ed.8d44c8",
- "type": "execute",
- "name": "read cellCU list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 1555.75,
- "y": 1351.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "7278acee.486974",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2282.75,
- "y": 1065.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "3afc0370.09ffac",
- "6a23acdd.3a0f24"
- ]
- ]
- },
- {
- "id": "3afc0370.09ffac",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2490.75,
- "y": 1030.749752998352,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "3e8db4ec.d3f08c"
- ]
- ]
- },
- {
- "id": "3e8db4ec.d3f08c",
- "type": "execute",
- "name": "generate patch PLMNInfoListEntry ToNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2810.75,
- "y": 1045.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "6a23acdd.3a0f24",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2478.75,
- "y": 1132.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "f066a98c.b53548"
- ]
- ]
- },
- {
- "id": "264a7ee6.a24eb2",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1837.75,
- "y": 1816.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "d883af29.fc32a",
- "44cfab74.c73c24",
- "243c7b71.bc25b4",
- "820a74d8.98abe8",
- "b5cc076a.1a2f88",
- "1b8a120e.c94b9e",
- "3667de28.b5b912",
- "d7eed26c.50d1a",
- "4cd7f162.536ce",
- "2af6d7eb.224e68",
- "8ee56bd1.fa1718"
- ]
- ]
- },
- {
- "id": "d883af29.fc32a",
- "type": "set",
- "name": "Calculate maxNumberOfConnsPercellCU",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n",
- "comments": "",
- "x": 2093.75013923645,
- "y": 1587.7501049041748,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "44cfab74.c73c24",
- "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=\"RRMPolicyRatio temp1 - \"/>\n<parameter name=\"field2\" value=\"`$tmp.maxNumberOfConnsPercellCU`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio temp2 - \"/>\n<parameter name=\"field4\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU1`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.rRMPolicyDedicatedRatio_SliceProfile`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2036.7500743865967,
- "y": 1715.7500743865967,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "243c7b71.bc25b4",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2057.7500743865967,
- "y": 1751.7500438690186,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "17f906ee.fdd429",
- "5917f308.c923fc"
- ]
- ]
- },
- {
- "id": "17f906ee.fdd429",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2237.75,
- "y": 1689.749752998352,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "96d6cd4a.907b9"
- ]
- ]
- },
- {
- "id": "96d6cd4a.907b9",
- "type": "execute",
- "name": "fetch RRMPolicyRatio NRCellCU - URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2515.75,
- "y": 1681.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "820a74d8.98abe8",
- "type": "execute",
- "name": "prepare idGNBCUCPFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2094.75,
- "y": 1794.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "b5cc076a.1a2f88",
- "type": "execute",
- "name": "prepare idNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2093.7500400543213,
- "y": 1834.7500171661377,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "f21d518b.c4569",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2350.749979019165,
- "y": 1937.750108718872,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "111e16ae.8da919"
- ]
- ]
- },
- {
- "id": "111e16ae.8da919",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2509.7498779296875,
- "y": 1974.7501192092896,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "915386e5.100cf8",
- "3e1bce91.1c0fb2"
- ]
- ]
- },
- {
- "id": "915386e5.100cf8",
- "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": 2660.7499866485596,
- "y": 1942.750322818756,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "55ede1ab.ea75e",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2347.749952316284,
- "y": 1844.7500171661377,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "3c1279f2.1ce766"
- ]
- ]
- },
- {
- "id": "3c1279f2.1ce766",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2499.750244140625,
- "y": 1842.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "70c48433.058cac",
- "6dbcf243.6696ec",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "70c48433.058cac",
- "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": 2670.7498779296875,
- "y": 1903.7500581741333,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "6dbcf243.6696ec",
- "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": 2665.75,
- "y": 1808.749997138977,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "1b8a120e.c94b9e",
- "type": "execute",
- "name": "fetch RRMPolicyRatio - NRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2126.7500705718994,
- "y": 1889.7500171661377,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "55ede1ab.ea75e",
- "f21d518b.c4569"
- ]
- ]
- },
- {
- "id": "3e1bce91.1c0fb2",
- "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": 2686.7499256134033,
- "y": 1975.7500476837158,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "3667de28.b5b912",
- "type": "for",
- "name": "for each rrmpolicyratio",
- "xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2029.75,
- "y": 2079.750226020813,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "f34c8bf6.6df258"
- ]
- ]
- },
- {
- "id": "f34c8bf6.6df258",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2250.75,
- "y": 2099.750226020813,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "59243738.c4dc48",
- "3edf4b2a.306634",
- "a0afcdc.d95b73",
- "5c1b94cd.7a5e4c",
- "66a7148b.8c2f6c",
- "2571909d.7ead5",
- "510e1bea.eaddd4",
- "6aae55af.746a8c",
- "84f94ac7.29a9f8",
- "c5d98457.57fed8",
- "c24f6f07.1cb2f"
- ]
- ]
- },
- {
- "id": "59243738.c4dc48",
- "type": "set",
- "name": "Calculate updated RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_new' value='`$tmp.rrmPolicyDedicatedRatiocellCU_old + $tmp.rRMPolicyDedicatedRatio_SliceProfile`' />",
- "comments": "",
- "x": 2568.7500171661377,
- "y": 2059.7502946853638,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "3edf4b2a.306634",
- "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=\"Existing RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatiocellCU_old`\"/>\n<parameter name=\"field3\" value=\"Updated RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field4\" value=\"`$tmp.rrmPolicyDedicatedRatio_CellCU_new`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2493.750047683716,
- "y": 2093.749990463257,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "a0afcdc.d95b73",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2543.75,
- "y": 2127.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "91da454a.8df758",
- "ed3d4504.d50d98"
- ]
- ]
- },
- {
- "id": "91da454a.8df758",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2824.8610458374023,
- "y": 2055.861035346985,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "abaaf061.485d8"
- ]
- ]
- },
- {
- "id": "abaaf061.485d8",
- "type": "execute",
- "name": "fetch RRMPolicyRatio NRCellCU - URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3069.75040435791,
- "y": 2057.638886451721,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "5c1b94cd.7a5e4c",
- "type": "execute",
- "name": "patch NRCellCU - RRMPolicyRatio",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellCU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 2581.6387786865234,
- "y": 2305.4167098999023,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "1b0ecdda.6496a2",
- "3df22710.ba4e68"
- ]
- ]
- },
- {
- "id": "1b0ecdda.6496a2",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2844.75,
- "y": 2290.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "cba6ab19.9bfc58"
- ]
- ]
- },
- {
- "id": "cba6ab19.9bfc58",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3035.75,
- "y": 2290.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "71a8f142.9056d"
- ]
- ]
- },
- {
- "id": "71a8f142.9056d",
- "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 Patched - cellCU RRMpolicyRatio\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3220.749755859375,
- "y": 2291.750241279602,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "3df22710.ba4e68",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2843.75,
- "y": 2378.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "217bb0db.2105b"
- ]
- ]
- },
- {
- "id": "217bb0db.2105b",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3062.750244140625,
- "y": 2383.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "8581e932.8b5f68",
- "647b2b81.9dc534",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "8581e932.8b5f68",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3307.7498779296875,
- "y": 2429.7500581741333,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "647b2b81.9dc534",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3302.75,
- "y": 2334.749997138977,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "d7eed26c.50d1a",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2013.75,
- "y": 2029.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "db543ed1.a7e94",
- "type": "block",
- "name": "block",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1765.75,
- "y": 1304.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "451a06f1.e68438"
- ]
- ]
- },
- {
- "id": "37abe676.ea6d5a",
- "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=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field2\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2254.75,
- "y": 997.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "6310f520.7ba69c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1654.7499542236328,
- "y": 2281.750008583069,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "b2a1bbcc.826408",
- "678682c0.b94e4c",
- "c2224ad0.15c998",
- "16923767.56c8d9",
- "c94ce5be.aa8a58",
- "b3e4cb3c.f52fe8",
- "e4fcb239.0de",
- "184dd5a5.577a3a",
- "80361e5c.20845",
- "186543e1.ed936c"
- ]
- ]
- },
- {
- "id": "b2a1bbcc.826408",
- "type": "execute",
- "name": "Update cellCU for gNBCUCP in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUCP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1937.7499542236328,
- "y": 2281.750008583069,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "4bb8bdd2.9a73b4",
- "11ea4181.a4e4fe"
- ]
- ]
- },
- {
- "id": "11ea4181.a4e4fe",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2211.75008392334,
- "y": 2338.7501182556152,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "324f6e56.5f7042"
- ]
- ]
- },
- {
- "id": "4bb8bdd2.9a73b4",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2209.1945190429688,
- "y": 2300.528037071228,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "a53eedff.333a3"
- ]
- ]
- },
- {
- "id": "a53eedff.333a3",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2416.749954223633,
- "y": 2368.750008583069,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "52d3db38.e54d84",
- "6bf1410b.82db5",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "6bf1410b.82db5",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2583.8609161376953,
- "y": 2343.4166975021362,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "52d3db38.e54d84",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2641.0829162597656,
- "y": 2404.1943769454956,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "4a5466e7.a36c38",
- "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 updated ConfigDB - NRCellCU pLMNinfo \"/>",
- "comments": "",
- "outputs": 1,
- "x": 2484.861167907715,
- "y": 2412.9721632003784,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "324f6e56.5f7042",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2344.1944999694824,
- "y": 2410.305516242981,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "4a5466e7.a36c38"
- ]
- ]
- },
- {
- "id": "4f25ca6f.2ed7e4",
- "type": "execute",
- "name": "Update RRMPolicy for gNBCUCP in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2078.7500610351562,
- "y": 2651.750153541565,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "bb36658c.fec7b8",
- "14aa29c2.5f4dd6"
- ]
- ]
- },
- {
- "id": "bb36658c.fec7b8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2395.9724349975586,
- "y": 2573.8614196777344,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "a7f4fc11.29da2"
- ]
- ]
- },
- {
- "id": "14aa29c2.5f4dd6",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2336.7500534057617,
- "y": 2632.7497873306274,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "1e128f6d.125ef1"
- ]
- ]
- },
- {
- "id": "a7f4fc11.29da2",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2599.7499465942383,
- "y": 2574.749990463257,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "dba7be20.2143b",
- "73ad5d82.73f644",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "73ad5d82.73f644",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2781.305244445801,
- "y": 2568.5279359817505,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "dba7be20.2143b",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2776.30509185791,
- "y": 2606.8612184524536,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "1e128f6d.125ef1",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2464.7499923706055,
- "y": 2630.7500314712524,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "8795e484.b9d868"
- ]
- ]
- },
- {
- "id": "8795e484.b9d868",
- "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 updated ConfigDB - NRCellCU RRMPolicyRatio \"/>",
- "comments": "",
- "outputs": 1,
- "x": 2603.75,
- "y": 2622.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "e1a056f0.6d4398",
- "type": "block",
- "name": "Process CUUP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 550.75,
- "y": 1461.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "1ef058f2.6cc2e7",
- "41e8f97e.2f28a8",
- "6250c47b.2e440c"
- ]
- ]
- },
- {
- "id": "1ef058f2.6cc2e7",
- "type": "execute",
- "name": "read CUUP list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 881.75,
- "y": 1471.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "41e8f97e.2f28a8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUUP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 853.75,
- "y": 1536.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "6250c47b.2e440c",
- "type": "for",
- "name": "foreach CUUP",
- "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 881.75,
- "y": 1611.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "3569862e.6dec4a"
- ]
- ]
- },
- {
- "id": "3569862e.6dec4a",
- "type": "block",
- "name": "block : process CUUP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1102.75,
- "y": 1618.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "4f6e4831.5ed598",
- "56233258.f35f6c",
- "7a2506c7.56bb28"
- ]
- ]
- },
- {
- "id": "4f6e4831.5ed598",
- "type": "execute",
- "name": "read CUUP id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1356.7500076293945,
- "y": 1440.5277528762817,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "56233258.f35f6c",
- "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=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1336.083351135254,
- "y": 1492.3055529594421,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "7a2506c7.56bb28",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1335.75,
- "y": 2702.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "1058528.853f1ae",
- "d84beea.957411",
- "c5f6d3d4.1bebd",
- "23364ec2.9ea012",
- "b8a16d7e.14bea",
- "cdf34eac.fa4e9",
- "9eb1ae8c.9a2b3",
- "972753f6.2403c",
- "d3773808.91cee8",
- "829407fd.e9b088",
- "95a274b3.8c6eb8",
- "c5fe3b99.1d3e78",
- "a1b8c8f8.74d788",
- "19ef14fc.39bc0b",
- "e10674b2.c2e2b8",
- "90ddb2d0.d87ff",
- "4d887879.598528",
- "a8b910c1.35bd6",
- "a955d476.950388"
- ]
- ]
- },
- {
- "id": "c5f6d3d4.1bebd",
- "type": "execute",
- "name": "patch PLMNInfoListEntry gNBCUUP",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-gNBCUUP-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 1650.4167785644531,
- "y": 2905.1945152282715,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "f3e16298.71ef4",
- "47f2ff0d.0ad4b"
- ]
- ]
- },
- {
- "id": "f3e16298.71ef4",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1946.8612480163574,
- "y": 2936.083517074585,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "36698001.c5eb7"
- ]
- ]
- },
- {
- "id": "36698001.c5eb7",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2136.0835189819336,
- "y": 2922.861397743225,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "473bd742.5bc978",
- "d183a628.44c948",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "d183a628.44c948",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2367.0835304260254,
- "y": 2884.639323234558,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "473bd742.5bc978",
- "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 patching CUUP PLMNInfo. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2394.306022644043,
- "y": 2925.3060789108276,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "14efed05.9abe53",
- "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 Patched - gNBCUUP PLMNInfo List\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2309.4164237976074,
- "y": 2966.9724168777466,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "d534110d.ead13",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2123.083240509033,
- "y": 2972.527985572815,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "14efed05.9abe53"
- ]
- ]
- },
- {
- "id": "47f2ff0d.0ad4b",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1937.5277481079102,
- "y": 2976.416995048523,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "d534110d.ead13"
- ]
- ]
- },
- {
- "id": "1058528.853f1ae",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1602.75,
- "y": 2704.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "7f383c74.1f9204",
- "570f2eed.3959d"
- ]
- ]
- },
- {
- "id": "7f383c74.1f9204",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1810.75,
- "y": 2669.749752998352,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "2e5ad0c9.560c8"
- ]
- ]
- },
- {
- "id": "570f2eed.3959d",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1794.3056640625,
- "y": 2720.638991355896,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "29d32973.cf8926"
- ]
- ]
- },
- {
- "id": "2e5ad0c9.560c8",
- "type": "execute",
- "name": "generate patch PLMNInfoListEntry CUUP URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2130.75,
- "y": 2684.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "d84beea.957411",
- "type": "execute",
- "name": "prepare idGNBCUCPFunction",
- "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=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1614.4166259765625,
- "y": 2749.305711746216,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "66a7148b.8c2f6c",
- "type": "set",
- "name": "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-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />\n",
- "comments": "",
- "x": 2545.5281677246094,
- "y": 2203.5274839401245,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "2571909d.7ead5",
- "type": "set",
- "name": "RRMPolicyMember Id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.rrmPolicyMembers+1`'/>\n",
- "comments": "",
- "x": 2556.5279083251953,
- "y": 2239.4170484542847,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "23364ec2.9ea012",
- "type": "set",
- "name": "Calculate rRMPolicyDedicatedRatio Temp",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n",
- "comments": "",
- "x": 1672.3058013916016,
- "y": 3014.9731302261353,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "b8a16d7e.14bea",
- "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=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio-CUUP`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1576.0835304260254,
- "y": 3079.1949553489685,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "cdf34eac.fa4e9",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1593.75,
- "y": 3119.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "2be6f2be.3df0ee",
- "cd497a23.aae548"
- ]
- ]
- },
- {
- "id": "2be6f2be.3df0ee",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1771.75,
- "y": 3086.749752998352,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "f34b5e2a.c9d71"
- ]
- ]
- },
- {
- "id": "f34b5e2a.c9d71",
- "type": "execute",
- "name": "fetch RRMPolicyRatio CUUP - URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2066.750030517578,
- "y": 3032.7500534057617,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "9eb1ae8c.9a2b3",
- "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": 1630.7500839233398,
- "y": 3174.7500104904175,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "972753f6.2403c",
- "type": "execute",
- "name": "fetch RRMPolicyRatio - CUUP",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-cuup-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1619.7503204345703,
- "y": 3280.750039100647,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "e79c8ddc.2d4c",
- "af552399.6a41c"
- ]
- ]
- },
- {
- "id": "e79c8ddc.2d4c",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1876.7500953674316,
- "y": 3221.750175476074,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "ddb6455a.3d8fd8"
- ]
- ]
- },
- {
- "id": "ddb6455a.3d8fd8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2037.750244140625,
- "y": 3240.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "f63a8f72.c7e34",
- "92d3e352.5f9a",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "92d3e352.5f9a",
- "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": 2203.75,
- "y": 3206.749997138977,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "f63a8f72.c7e34",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in fetching RRMPolicyRatio. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2259.860809326172,
- "y": 3250.6390199661255,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "e6246d05.b4426",
- "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": 2244.9721069335938,
- "y": 3346.305576324463,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "1bc90a18.93f796",
- "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": 2239.9719161987305,
- "y": 3289.9723348617554,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "7810d30c.8384fc",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2047.3054656982422,
- "y": 3288.194643974304,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "1bc90a18.93f796",
- "e6246d05.b4426"
- ]
- ]
- },
- {
- "id": "af552399.6a41c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1867.7500953674316,
- "y": 3291.750178337097,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "7810d30c.8384fc"
- ]
- ]
- },
- {
- "id": "d3773808.91cee8",
- "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=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1554.750228881836,
- "y": 3416.750100135803,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "829407fd.e9b088",
- "type": "for",
- "name": "for each rrmpolicyratio",
- "xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1594.4167175292969,
- "y": 3499.0835987329483,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "95f41f88.981d3"
- ]
- ]
- },
- {
- "id": "95f41f88.981d3",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1810.4166259765625,
- "y": 3515.083249092102,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "6bc6c2f9.e1db6c",
- "324ffe96.a0d162",
- "6a19ff28.eca0b",
- "911dcc3.a5e033",
- "5a096f71.8ec03",
- "7ed18747.897518",
- "966f5f6c.79424",
- "5eb910dc.63339",
- "b942a6b.7960d58"
- ]
- ]
- },
- {
- "id": "6bc6c2f9.e1db6c",
- "type": "set",
- "name": "Calculate updated RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`\" />",
- "comments": "",
- "x": 2135.4166259765625,
- "y": 3492.083249092102,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "6a19ff28.eca0b",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2103.416603088379,
- "y": 3534.1944851875305,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "c0d24782.5a22f8",
- "3c3546a7.03ac0a"
- ]
- ]
- },
- {
- "id": "c0d24782.5a22f8",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2320.4167251586914,
- "y": 3530.0830688476562,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "22af3d11.a6f292"
- ]
- ]
- },
- {
- "id": "22af3d11.a6f292",
- "type": "execute",
- "name": "patch RRMPolicyRatio CUUP- URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2593.4165954589844,
- "y": 3500.083619117737,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "5a096f71.8ec03",
- "type": "set",
- "name": "RRMPolicyMember Id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.rrmPolicyMembers-CUUP+1`\" />",
- "comments": "",
- "x": 2107.3055267333984,
- "y": 3685.8612995147705,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "324ffe96.a0d162",
- "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=\"Updated RRMPolicyRatio for CUUP is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio_id is - \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyMember_id CUUP is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field7\" value=\"Existing RRMPolicyMembers Length\"/>\n<parameter name=\"field8\" value=\"`$tmp.rrmPolicyMembers-CUUP`\"/>\n<parameter name=\"field9\" value=\"Update RRMPolicyRatio URL - \"/>\n<parameter name=\"field10\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2068.7502670288086,
- "y": 3718.7502517700195,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "911dcc3.a5e033",
- "type": "execute",
- "name": "patch CUUP- RRMPolicyRatio",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-CUUP-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 2131.305534362793,
- "y": 3755.194248199463,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "92a55354.6434",
- "3aec8ca9.20c9f4"
- ]
- ]
- },
- {
- "id": "92a55354.6434",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2404.4166259765625,
- "y": 3706.083249092102,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "bb88e640.bcbf68"
- ]
- ]
- },
- {
- "id": "bb88e640.bcbf68",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2595.4166259765625,
- "y": 3706.083249092102,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "ac67df0a.e8956"
- ]
- ]
- },
- {
- "id": "ac67df0a.e8956",
- "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 Patched - cellCU RRMpolicyRatio\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2780.4163818359375,
- "y": 3707.083493232727,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "26913663.d578aa",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2862.4166259765625,
- "y": 3750.083249092102,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "981ef626.389578",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2867.41650390625,
- "y": 3845.0833101272583,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "f6df9690.a933c8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2622.4168701171875,
- "y": 3799.083249092102,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "981ef626.389578",
- "26913663.d578aa",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "3aec8ca9.20c9f4",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2403.4166259765625,
- "y": 3794.083249092102,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "f6df9690.a933c8"
- ]
- ]
- },
- {
- "id": "95a274b3.8c6eb8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1549.0834197998047,
- "y": 3827.4168586730957,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "ee74d482.868158",
- "84a4604f.8d728",
- "299e974e.339708",
- "6c24c782.d0a758",
- "7058946c.55742c",
- "fdf0bdc3.1bcf5",
- "b7846e74.a07df",
- "79a67268.2b630c",
- "68a30b4e.793cd4",
- "94801ef6.a02f1"
- ]
- ]
- },
- {
- "id": "ee74d482.868158",
- "type": "execute",
- "name": "Update gNBCUUP in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1853.3334197998047,
- "y": 3839.666793823242,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "30604c98.3d4294",
- "c76bd033.36e27"
- ]
- ]
- },
- {
- "id": "30604c98.3d4294",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2169.0833740234375,
- "y": 3799.416989326477,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "7107c1ad.71526"
- ]
- ]
- },
- {
- "id": "c76bd033.36e27",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2155.58345413208,
- "y": 3849.166913986206,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "601d6f2e.ccf3"
- ]
- ]
- },
- {
- "id": "601d6f2e.ccf3",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2314.0832748413086,
- "y": 3877.666976213455,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "efe7fffe.0acbd"
- ]
- ]
- },
- {
- "id": "7107c1ad.71526",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2357.333641052246,
- "y": 3836.666913986206,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "c9d3fcae.9d476",
- "8043654d.6ea6f8",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "efe7fffe.0acbd",
- "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 updated ConfigDB - NRCellCU pLMNinfo \"/>",
- "comments": "",
- "outputs": 1,
- "x": 2450.5835189819336,
- "y": 3891.167037963867,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "c9d3fcae.9d476",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2615.833122253418,
- "y": 3880.166976451874,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "8043654d.6ea6f8",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - CUUP. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2524.5833053588867,
- "y": 3845.9167919158936,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "8110ab91.7f1c88",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2578.833339691162,
- "y": 4081.1670389175415,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "cdb9ed9a.068da",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2575.083053588867,
- "y": 4122.4167947769165,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "e8daf348.fe4b5",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2395.3335189819336,
- "y": 4115.166977882385,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "cdb9ed9a.068da",
- "8110ab91.7f1c88",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "19e8f479.fe074c",
- "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 updated ConfigDB - CUUP RRMPolicyRatio \"/>",
- "comments": "",
- "outputs": 1,
- "x": 2548.0834197998047,
- "y": 4169.41673374176,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "3562a189.6c599e",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2382.0834197998047,
- "y": 4168.41673374176,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "19e8f479.fe074c"
- ]
- ]
- },
- {
- "id": "d3c09ffe.c1f7e",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2201.0834197998047,
- "y": 4174.416489601135,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "3562a189.6c599e"
- ]
- ]
- },
- {
- "id": "dc481875.f862a8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2194.8335494995117,
- "y": 4126.916855812073,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "e8daf348.fe4b5"
- ]
- ]
- },
- {
- "id": "260f1453.e9193c",
- "type": "execute",
- "name": "Update RRMPolicy for gNBCUUP in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1988.8336334228516,
- "y": 4220.167231559753,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "dc481875.f862a8",
- "d3c09ffe.c1f7e"
- ]
- ]
- },
- {
- "id": "38ad1f4.97b71e",
- "type": "block",
- "name": "Process gNBDU",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1014.5002212524414,
- "y": 3790.5005979537964,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "b26ca130.207ff",
- "8332ea66.2651d8",
- "d39d8bc5.b41278"
- ]
- ]
- },
- {
- "id": "b26ca130.207ff",
- "type": "execute",
- "name": "read DUlist size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 1267.5001602172852,
- "y": 3880.5006589889526,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "8332ea66.2651d8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1235.5001106262207,
- "y": 3930.500722885132,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "d39d8bc5.b41278",
- "type": "for",
- "name": "foreach DU",
- "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1236.5002975463867,
- "y": 3973.500723838806,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "53cc5207.726b2c"
- ]
- ]
- },
- {
- "id": "53cc5207.726b2c",
- "type": "block",
- "name": "block : process gNBDU",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1498.500156402588,
- "y": 4079.500479698181,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "52966fa6.3d564",
- "e78f1bcd.c2be88",
- "8b9eaa7d.836a98",
- "6d26d603.017c58"
- ]
- ]
- },
- {
- "id": "52966fa6.3d564",
- "type": "execute",
- "name": "read DU id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1772.5,
- "y": 4258.499997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "e78f1bcd.c2be88",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1745.5,
- "y": 4309.499997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "8b9eaa7d.836a98",
- "type": "execute",
- "name": "read cellDU list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 1786.5,
- "y": 4358.499997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "6d26d603.017c58",
- "type": "for",
- "name": "for cellDUList",
- "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1776.5,
- "y": 4402.499997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "157c4b84.4d0224"
- ]
- ]
- },
- {
- "id": "83218ecb.afe25",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2803.25,
- "y": 4456.499997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "34d879aa.02e4c6",
- "d4ae95a0.59a118",
- "81c9e8ef.7419b8",
- "fd3816b4.0811a8",
- "26a447df.61f3c8",
- "221df7f3.e178b8",
- "14296487.9d253b",
- "239a411b.bee69e",
- "910c0b89.45ac98",
- "93fd32e9.bb36f",
- "1d17e896.af5da7",
- "cdc08301.def3d"
- ]
- ]
- },
- {
- "id": "239a411b.bee69e",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2998.25,
- "y": 4451.499997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "14296487.9d253b",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3026.25,
- "y": 4519.499997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "d53365c5.2b8398",
- "73a14f66.02bbe"
- ]
- ]
- },
- {
- "id": "d53365c5.2b8398",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3234.25,
- "y": 4484.499752998352,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "93e2986b.4de098"
- ]
- ]
- },
- {
- "id": "73a14f66.02bbe",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3229.2500495910645,
- "y": 4553.500321388245,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "77cc114f.7824e"
- ]
- ]
- },
- {
- "id": "93e2986b.4de098",
- "type": "execute",
- "name": "generate patch PLMNInfoListEntry ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3554.25,
- "y": 4499.499997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "34d879aa.02e4c6",
- "type": "execute",
- "name": "read cellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3023.2501525878906,
- "y": 4607.500241279602,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "fd3816b4.0811a8",
- "type": "execute",
- "name": "prepare idGNBDUFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3078.250213623047,
- "y": 4672.5001792907715,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "26a447df.61f3c8",
- "type": "execute",
- "name": "prepare idNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3051.2503967285156,
- "y": 4727.50018119812,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "221df7f3.e178b8",
- "type": "execute",
- "name": "prepare mcc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
- "comments": "",
- "outputs": 1,
- "x": 3031.2500915527344,
- "y": 4790.500487327576,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "d4ae95a0.59a118",
- "type": "execute",
- "name": "prepare mnc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3033.2503356933594,
- "y": 4848.500120162964,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "81c9e8ef.7419b8",
- "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 cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3037.250213623047,
- "y": 4894.500737190247,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "910c0b89.45ac98",
- "type": "execute",
- "name": "patch PLMNInfoListEntry ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 3092.250213623047,
- "y": 4940.750005245209,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "e16ebd31.369c4",
- "e8ee8ff0.6ddb1"
- ]
- ]
- },
- {
- "id": "e8ee8ff0.6ddb1",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3340.8215656280518,
- "y": 4781.750121116638,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "4ec6ce8f.3f2a9"
- ]
- ]
- },
- {
- "id": "e16ebd31.369c4",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3346.964256286621,
- "y": 4837.892827033997,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "e72b5e91.1fca7"
- ]
- ]
- },
- {
- "id": "4ec6ce8f.3f2a9",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3517.3931732177734,
- "y": 4781.178343772888,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "a377e4b0.193a48",
- "442d3fea.6c078",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "e72b5e91.1fca7",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3500.6785583496094,
- "y": 4837.749952316284,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "13829975.cb38a7"
- ]
- ]
- },
- {
- "id": "13829975.cb38a7",
- "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 Patched - cellDU PLMNInfo List\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3538.107250213623,
- "y": 4903.892748832703,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "a377e4b0.193a48",
- "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 NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3704.1069869995117,
- "y": 4857.892688751221,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "442d3fea.6c078",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3686.25,
- "y": 4805.749997138977,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "93fd32e9.bb36f",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2896.5,
- "y": 5264.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "20f8b3ef.30b18c",
- "f21746bf.0d8818",
- "b15fc208.5ce6b",
- "65b03e4e.8b86a",
- "bd70dd2b.b85da",
- "98444542.d2de08",
- "64119bcd.9a1944",
- "18e4f7f5.7b1998",
- "46f6e640.8000c8",
- "2aaa05de.a7f94a"
- ]
- ]
- },
- {
- "id": "20f8b3ef.30b18c",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3118.5,
- "y": 5170.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "74eba97d.894958",
- "ea2722b2.5bcd5"
- ]
- ]
- },
- {
- "id": "ea2722b2.5bcd5",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3367.2147064208984,
- "y": 5183.036772727966,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "474ffd1b.d8c224"
- ]
- ]
- },
- {
- "id": "474ffd1b.d8c224",
- "type": "execute",
- "name": "fetch RRMPolicyRatio NRCellDU - URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3561.4999084472656,
- "y": 5121.179369926453,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "f21746bf.0d8818",
- "type": "execute",
- "name": "prepare idGNBDUFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3153.5,
- "y": 5242.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "b15fc208.5ce6b",
- "type": "execute",
- "name": "prepare idNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3118.5,
- "y": 5294.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "65b03e4e.8b86a",
- "type": "execute",
- "name": "fetch RRMPolicyRatio - NRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-du-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3153.5,
- "y": 5369.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "6981637b.74693c",
- "c0fd401.710e8c"
- ]
- ]
- },
- {
- "id": "6981637b.74693c",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3400.5,
- "y": 5342.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "14ceaae3.6b9005"
- ]
- ]
- },
- {
- "id": "c0fd401.710e8c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3404.5,
- "y": 5421.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "c14d6efd.2a378"
- ]
- ]
- },
- {
- "id": "14ceaae3.6b9005",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3568.500473022461,
- "y": 5353.607350349426,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "90619558.5c2698",
- "2f596670.00d06a",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "2f596670.00d06a",
- "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": 3724.5,
- "y": 5256.749997138977,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "90619558.5c2698",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3729.4998779296875,
- "y": 5351.750058174133,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "c14d6efd.2a378",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3568.4998779296875,
- "y": 5422.75011920929,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "accb3bfc.2306a8",
- "840115d3.8aeb58"
- ]
- ]
- },
- {
- "id": "accb3bfc.2306a8",
- "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": 3725.643051147461,
- "y": 5394.892785072327,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "840115d3.8aeb58",
- "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": 3733.5000915527344,
- "y": 5432.178708076477,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "bd70dd2b.b85da",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioDUList_length`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3091.0714111328125,
- "y": 5502.035395622253,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "98444542.d2de08",
- "type": "block",
- "name": "rrmPolicyDedicatedRatio",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3153.214096546173,
- "y": 5049.035624504089,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "e699b813.fc8268",
- "64f777a8.2a0e08",
- "87e24146.25b4e",
- "8ba642f.30254c",
- "3bdafb69.c95854",
- "f3f75181.3bb7a",
- "9d361aaa.9a72b8",
- "e7312713.f985c8",
- "b2100b90.7c0618",
- "3caf98d3.e08e38",
- "8b9f360a.b624f8"
- ]
- ]
- },
- {
- "id": "87e24146.25b4e",
- "type": "set",
- "name": "Calculate RRM Parms1",
- "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
- "comments": "",
- "x": 4121.489807128906,
- "y": 4835.072750091553,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "8ba642f.30254c",
- "type": "set",
- "name": "Calculate RRM Parms2",
- "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
- "comments": "",
- "x": 4130.031066894531,
- "y": 4880.092769563198,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "3bdafb69.c95854",
- "type": "set",
- "name": "Calculate RRM Parms3",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
- "comments": "",
- "x": 4120.031188964844,
- "y": 4935.092647492886,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "f3f75181.3bb7a",
- "type": "set",
- "name": "Calculate RRM Parms4",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
- "comments": "",
- "x": 4120.031066894531,
- "y": 4986.09264755249,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "9d361aaa.9a72b8",
- "type": "set",
- "name": "Calculate RRM Parms5",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
- "comments": "",
- "x": 4108.031188964844,
- "y": 5046.092769563198,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "e7312713.f985c8",
- "type": "set",
- "name": "Calculate RRM Parms6",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />",
- "comments": "",
- "x": 4146.031066894531,
- "y": 5096.092769563198,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "b2100b90.7c0618",
- "type": "set",
- "name": "Calculate RRM Parms7",
- "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
- "comments": "",
- "x": 4133.031005859375,
- "y": 5166.09313583374,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "3caf98d3.e08e38",
- "type": "set",
- "name": "calculation8",
- "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
- "comments": "",
- "x": 4104.031005859375,
- "y": 5230.09215927124,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "8b9f360a.b624f8",
- "type": "set",
- "name": "calculation9",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
- "comments": "",
- "x": 4092.0315551757812,
- "y": 5281.092037200928,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "64f777a8.2a0e08",
- "type": "set",
- "name": "calculation10",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
- "comments": "",
- "x": 4067.4898681640625,
- "y": 5347.072505950928,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "e699b813.fc8268",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"tmp.nearRTRIC.trafficCapacity1 \"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.trafficCapacity1`\"/>\n<parameter name=\"field5\" value=\"tmp.nearRTRIC.trafficCapacity \"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.trafficCapacity`\"/>\n<parameter name=\"field7\" value=\"tmp.nearRTRIC.trafficCapacityBPS\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.trafficCapacityBPS`\"/>\n<parameter name=\"field9\" value=\"tmp.nrcelldu.totalPRBForSNSSAI \"/>\n<parameter name=\"field10\" value=\"`$tmp.nrcelldu.totalPRBForSNSSAI`\"/>\n<parameter name=\"field11\" value=\"tmp.nrcelldu.PRBPerImpactedCell \"/>\n<parameter name=\"field12\" value=\"`$tmp.nrcelldu.PRBPerImpactedCell`\"/>\n<parameter name=\"field13\" value=\"tmp.rRMPolicyDedicatedRatio.CellDU1 \"/>\n<parameter name=\"field14\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU1`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3893.4997940063477,
- "y": 5359.1938123703,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "64119bcd.9a1944",
- "type": "for",
- "name": "for each rrmpolicyratio",
- "xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 3113.75,
- "y": 5548.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "88edaa15.42a378"
- ]
- ]
- },
- {
- "id": "88edaa15.42a378",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3334.75,
- "y": 5568.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "fa4c4e2d.65c7",
- "decbdedf.9b42",
- "5e8cc058.fbad5",
- "3f3ebfed.e4951",
- "1764ec3a.804604",
- "62981279.b1c13c",
- "ad4a2912.9c54c8",
- "c6939012.bd05e",
- "51420a75.e5cb44",
- "95013c06.0cd9f"
- ]
- ]
- },
- {
- "id": "fa4c4e2d.65c7",
- "type": "set",
- "name": "Calculate updated RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`\" />",
- "comments": "",
- "x": 3661.178512573242,
- "y": 5508.607487201691,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "5e8cc058.fbad5",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3606.321762084961,
- "y": 5552.464263916016,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "adbd5013.4d5ad",
- "278fcb95.1037b4"
- ]
- ]
- },
- {
- "id": "adbd5013.4d5ad",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3802.035758972168,
- "y": 5543.749750137329,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "a6126caa.a0f83"
- ]
- ]
- },
- {
- "id": "a6126caa.a0f83",
- "type": "execute",
- "name": "patchRRMPolicyRatio NRCellDU - URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 4119.750217437744,
- "y": 5513.036686897278,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "1764ec3a.804604",
- "type": "set",
- "name": "RRMPolicyMember Id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.RRMPolicyMembersDU_Length+1`\" />",
- "comments": "",
- "x": 3591.321533203125,
- "y": 5720.321387290955,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "decbdedf.9b42",
- "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=\"RRMPolicyRatioid - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyMemberid- \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field5\" value=\"Updated RRMPolicyRatio for CellDU is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3566.893051147461,
- "y": 5760.03626537323,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "3f3ebfed.e4951",
- "type": "execute",
- "name": "patch NRCellDU - RRMPolicyRatio",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellDU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 3651.0357971191406,
- "y": 5796.321490287781,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "939e18e5.427428",
- "3c50e259.95016e"
- ]
- ]
- },
- {
- "id": "939e18e5.427428",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3928.75,
- "y": 5759.749768257141,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "55084df3.fc70c4"
- ]
- ]
- },
- {
- "id": "55084df3.fc70c4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4119.75,
- "y": 5759.749768257141,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "d07e182d.ffdea8"
- ]
- ]
- },
- {
- "id": "d07e182d.ffdea8",
- "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 Patched - cellDU RRMpolicyRatio\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4304.749755859375,
- "y": 5760.750012397766,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "e8da12db.6f31",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU RRMPolicyRatio. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 4386.75,
- "y": 5803.749768257141,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "7b995886.ff02d8",
- "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 RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 4391.7498779296875,
- "y": 5898.749829292297,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "6ba11bf2.588f04",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4124.2502784729,
- "y": 5801.500410556793,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "7b995886.ff02d8",
- "e8da12db.6f31",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "3c50e259.95016e",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3937.7500915527344,
- "y": 5807.75041103363,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "6ba11bf2.588f04"
- ]
- ]
- },
- {
- "id": "1d17e896.af5da7",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2849.2500915527344,
- "y": 5852.750094413757,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "7da601f2.31cd5",
- "171ddb52.565cc5",
- "8d294361.afdd2",
- "345b415d.aacd5e",
- "602003b3.449a6c",
- "c5245322.f9538",
- "ba082b19.30b718",
- "cf96e759.6ebad8",
- "c6b96ce4.c01ef"
- ]
- ]
- },
- {
- "id": "7da601f2.31cd5",
- "type": "execute",
- "name": "Update cellDU for gNBDU in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBDU.json\n'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3312.25,
- "y": 5860.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "22dcf8b.4f1f508",
- "177878d2.cf9a57"
- ]
- ]
- },
- {
- "id": "22dcf8b.4f1f508",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3599.25,
- "y": 5831.750241279602,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "b186195f.911728"
- ]
- ]
- },
- {
- "id": "177878d2.cf9a57",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3599.500213623047,
- "y": 5870.25041103363,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "95f2039.0bdc7"
- ]
- ]
- },
- {
- "id": "95f2039.0bdc7",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 3773.000026702881,
- "y": 5891.250168800354,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "1d2ab0af.27b5df"
- ]
- ]
- },
- {
- "id": "b186195f.911728",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3792.5000915527344,
- "y": 5854.000412940979,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "13479fec.b3f98",
- "fb8efc86.b3a44",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "fb8efc86.b3a44",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellDU. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3995.999912261963,
- "y": 5857.000289276242,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "1d2ab0af.27b5df",
- "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 updated ConfigDB - NRCellCU pLMNinfo \"/>",
- "comments": "",
- "outputs": 1,
- "x": 3985.750274658203,
- "y": 5928.5005350112915,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "13479fec.b3f98",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 4010.999725341797,
- "y": 5896.250168800354,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "5e5456a1.14a948",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 4010.249786376953,
- "y": 6157.250535964966,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "57f18e36.6cd23",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 4030.249912261963,
- "y": 6198.50053691864,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "cf6a60b.99fe0a",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3820.500274658203,
- "y": 6190.000170707703,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "57f18e36.6cd23",
- "5e5456a1.14a948",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "c3e36532.04dda8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3634.500217437744,
- "y": 6284.250087738037,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "cf6a60b.99fe0a"
- ]
- ]
- },
- {
- "id": "9f3572a0.a276d",
- "type": "execute",
- "name": "Update RRMPolicy for gNBDU in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-DU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3412.250701904297,
- "y": 6305.749965190887,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "c3e36532.04dda8",
- "64edd671.12f178"
- ]
- ]
- },
- {
- "id": "64edd671.12f178",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3644.250156402588,
- "y": 6326.7494764328,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "6448d33f.bbcb5c"
- ]
- ]
- },
- {
- "id": "6448d33f.bbcb5c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3813.500213623047,
- "y": 6250.750293731689,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "f26c7be5.a09148"
- ]
- ]
- },
- {
- "id": "f26c7be5.a09148",
- "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 updated ConfigDB - NRCellDU RRMPolicyRatio \"/>",
- "comments": "",
- "outputs": 1,
- "x": 3978.250274658203,
- "y": 6255.500049591064,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "24da6566.d832ba",
- "type": "block",
- "name": "block : SO Response",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4471.234375,
- "y": 2752.7499997615814,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "1dd03597.aeb04a",
- "1e25504f.40132",
- "9d32db3d.f24b58",
- "e7b7e590.b78e68",
- "8697076f.a80788"
- ]
- ]
- },
- {
- "id": "1dd03597.aeb04a",
- "type": "set",
- "name": "set tmp variables for SO response",
- "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
- "comments": "",
- "x": 5124.2354736328125,
- "y": 2576.6497507095337,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "1e25504f.40132",
- "type": "record",
- "name": "record configdb RestAPI parms",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
- "comments": "",
- "outputs": 1,
- "x": 5108.234237670898,
- "y": 2641.750335454941,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "9d32db3d.f24b58",
- "type": "execute",
- "name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"convertResponse\" value=\"true\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 5023.23424911499,
- "y": 2738.7502133846283,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "23ed0542.d1b22a",
- "4c1017e6.531dd8"
- ]
- ]
- },
- {
- "id": "23ed0542.d1b22a",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5249.234257698059,
- "y": 2715.750182390213,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "1d6db6d7.fc0009"
- ]
- ]
- },
- {
- "id": "4c1017e6.531dd8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5239.234111785889,
- "y": 2823.750121831894,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "3af12caa.dd2294"
- ]
- ]
- },
- {
- "id": "3af12caa.dd2294",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 5389.233898162842,
- "y": 2842.75018286705,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "ba3b19.9e93b4e8"
- ]
- ]
- },
- {
- "id": "1d6db6d7.fc0009",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 5400.234127044678,
- "y": 2710.7503044605255,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "91986d6c.78314"
- ]
- ]
- },
- {
- "id": "91986d6c.78314",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
- "comments": "",
- "x": 5566.233806610107,
- "y": 2713.750121831894,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "ba3b19.9e93b4e8",
- "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=\"SO Response Sent \"/>",
- "comments": "",
- "outputs": 1,
- "x": 5553.233913421631,
- "y": 2848.750121831894,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "f60762ce.54f0f",
- "type": "block",
- "name": "SO Response",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 553.234375,
- "y": 4434.749999761581,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "1755f365.2d9e9d",
- "a183f9cb.ab9fe8",
- "5370b94c.47c738",
- "b9682005.55ec2",
- "c7b28301.8ff26",
- "f118882b.21e7f8"
- ]
- ]
- },
- {
- "id": "5370b94c.47c738",
- "type": "set",
- "name": "set tmp variables for SO response",
- "xml": "<set>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
- "comments": "",
- "x": 830.2355804443359,
- "y": 4382.649537086487,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "1755f365.2d9e9d",
- "type": "record",
- "name": "record SO reply parms",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$prop.restapi.so.user`\" />\n<parameter name='field8' value=\"`$prop.restapi.so.password`\" />",
- "comments": "",
- "outputs": 1,
- "x": 828.2344131469727,
- "y": 4474.750185012817,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "a183f9cb.ab9fe8",
- "type": "execute",
- "name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 699.2344512939453,
- "y": 4555.749887228012,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "8ac6be78.97186",
- "883df747.690ce8"
- ]
- ]
- },
- {
- "id": "8ac6be78.97186",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 864.2344512939453,
- "y": 4535.749886274338,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "83eb3825.695bf8"
- ]
- ]
- },
- {
- "id": "883df747.690ce8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 856.2343444824219,
- "y": 4608.749836683273,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "19a02437.9d387c"
- ]
- ]
- },
- {
- "id": "19a02437.9d387c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1002.234188079834,
- "y": 4613.749945402145,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "df817796.837228"
- ]
- ]
- },
- {
- "id": "83eb3825.695bf8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1013.2343521118164,
- "y": 4531.750021696091,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "975b3c1a.897ed",
- "646ea05a.05307"
- ]
- ]
- },
- {
- "id": "975b3c1a.897ed",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
- "comments": "",
- "x": 1160.2339706420898,
- "y": 4542.749763250351,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "df817796.837228",
- "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=\"SO Response Sent \"/>",
- "comments": "",
- "outputs": 1,
- "x": 1163.2341079711914,
- "y": 4619.749837636948,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "646ea05a.05307",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1147.7445793151855,
- "y": 4446.7392547130585,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "b9682005.55ec2",
- "type": "execute",
- "name": "generate URL for SO Callback",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.so.callbackURL`\"/>\n <parameter name=\"outputPath\" value=\"tmp.so.callbackURL\"/>\n <parameter name=\"target\" value=\"{requestId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.requestID`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 850.5740203857422,
- "y": 4428.735597610474,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "5917f308.c923fc",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2254.75,
- "y": 1749.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "3b58a3b7.12a87c"
- ]
- ]
- },
- {
- "id": "3b58a3b7.12a87c",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2447.739658355713,
- "y": 1749.7501192092896,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "c63a8d49.259f2",
- "f00ef21a.e935d"
- ]
- ]
- },
- {
- "id": "c63a8d49.259f2",
- "type": "execute",
- "name": "generate fetchRRMPolicyRatio.ToNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2754.739845275879,
- "y": 1716.750220298767,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "f00ef21a.e935d",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2698.740245819092,
- "y": 1769.7504138946533,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "f066a98c.b53548",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2682.25,
- "y": 1133.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "bc755039.bd697",
- "50af46a2.3d8b28"
- ]
- ]
- },
- {
- "id": "50af46a2.3d8b28",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2933.250431060791,
- "y": 1156.750129699707,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "bc755039.bd697",
- "type": "execute",
- "name": "generate patchPLMNInfoList.ToNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2989.250030517578,
- "y": 1103.7499361038208,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "f4cb4e30.2d928",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3170.806022644043,
- "y": 2139.6388835906982,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "37a5c8ff.003f58",
- "type": "execute",
- "name": "generate patchRRMPolicyRatio.ToNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3229.0279998779297,
- "y": 2096.638973236084,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "58f99f37.d5f6e",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2945.3607330322266,
- "y": 2098.527319908142,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "37a5c8ff.003f58",
- "f4cb4e30.2d928"
- ]
- ]
- },
- {
- "id": "ed3d4504.d50d98",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2781.2601470947266,
- "y": 2098.527943134308,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "58f99f37.d5f6e"
- ]
- ]
- },
- {
- "id": "57b0cfc5.90ed8",
- "type": "execute",
- "name": "populate mountName",
- "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=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2221.75,
- "y": 2786.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "c71f00fb.5e8fd",
- "type": "execute",
- "name": "generate patchPLMNInfoList.TogNBCUUP",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2277.749599456787,
- "y": 2733.749803543091,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "29d32973.cf8926",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1959.082950592041,
- "y": 2729.305583000183,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "c71f00fb.5e8fd",
- "57b0cfc5.90ed8"
- ]
- ]
- },
- {
- "id": "1a557bea.17f494",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2001.75,
- "y": 3130.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "7e96f89a.a2d088",
- "a263fb8d.9e3108"
- ]
- ]
- },
- {
- "id": "7e96f89a.a2d088",
- "type": "execute",
- "name": "fetch RRMPolicyRatio.TogNBCUUP",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2303.7499351501465,
- "y": 3090.7500581741333,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "a263fb8d.9e3108",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2247.7503356933594,
- "y": 3143.7502517700195,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "cd497a23.aae548",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1774.25,
- "y": 3139.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "1a557bea.17f494"
- ]
- ]
- },
- {
- "id": "3c3546a7.03ac0a",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2319.0279502868652,
- "y": 3563.5277252197266,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "e8278632.cf5c78"
- ]
- ]
- },
- {
- "id": "e8278632.cf5c78",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2534.305606842041,
- "y": 3541.194453239441,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "4a21c13d.1cb57",
- "9a9a4071.9e129"
- ]
- ]
- },
- {
- "id": "4a21c13d.1cb57",
- "type": "execute",
- "name": "patch RRMPolicyRatio.TogNBCUUP",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2840.7499351501465,
- "y": 3536.7500581741333,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "9a9a4071.9e129",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2784.7503356933594,
- "y": 3589.7502517700195,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "77cc114f.7824e",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3424.25,
- "y": 4568.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "109429fc.7388b6",
- "da00ff7a.d7e7c"
- ]
- ]
- },
- {
- "id": "109429fc.7388b6",
- "type": "execute",
- "name": "generate patchPLMNInfoList.ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3731.250030517578,
- "y": 4538.749936103821,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "da00ff7a.d7e7c",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3675.250431060791,
- "y": 4591.750129699707,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "74eba97d.894958",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3362.4287185668945,
- "y": 5237.464419364929,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "8ec442ad.86776"
- ]
- ]
- },
- {
- "id": "8ec442ad.86776",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3493.714797973633,
- "y": 5264.285117149353,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "c45fd251.f69db",
- "29cb8cc7.76a6f4"
- ]
- ]
- },
- {
- "id": "c45fd251.f69db",
- "type": "execute",
- "name": "generate patchRRMPolicyRatio.ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3735.0000495910645,
- "y": 5156.9995946884155,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "29cb8cc7.76a6f4",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3678.0005378723145,
- "y": 5217.999960899353,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "278fcb95.1037b4",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3796.7144165039062,
- "y": 5583.893164634705,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "e3e6fddb.61944"
- ]
- ]
- },
- {
- "id": "e3e6fddb.61944",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3955.1436729431152,
- "y": 5595.000011444092,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "6cc48551.eedd9c",
- "4154317.6ae2dd"
- ]
- ]
- },
- {
- "id": "6cc48551.eedd9c",
- "type": "execute",
- "name": "generate patchRRMPolicyRatio.ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4204.999771118164,
- "y": 5557.714663505554,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "4154317.6ae2dd",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4143.714820861816,
- "y": 5607.285742759705,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "15e23cfb.51bb63",
- "type": "comment",
- "name": "instantiateRANSlice-ModifyAllocate",
- "info": "",
- "comments": "",
- "x": 691.4999847412109,
- "y": 20,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "6f0046fe.7f6388",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
- "comments": "",
- "x": 201.77081298828125,
- "y": 1436.1041231155396,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "9307ebd4.385188",
- "type": "execute",
- "name": "set sNSSAI & PLMN id",
- "xml": "<set>\n\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.snssaiList[0]`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>\n",
- "comments": "",
- "outputs": 1,
- "x": 635.4999694824219,
- "y": 164.00000953674316,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "4cd7f162.536ce",
- "type": "set",
- "name": "Calculate maxNumberOfConnsPercellCU * 100",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n",
- "comments": "",
- "x": 2118.250078201294,
- "y": 1625.2500133514404,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "2af6d7eb.224e68",
- "type": "set",
- "name": "Calculate RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
- "comments": "",
- "x": 2070.250078201294,
- "y": 1663.2500133514404,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "8ee56bd1.fa1718",
- "type": "set",
- "name": "set rrmpolicyratio list size",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioList_length' value='`$get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
- "comments": "",
- "x": 2104.4999866485596,
- "y": 1952.2501392364502,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "510e1bea.eaddd4",
- "type": "execute",
- "name": "read rrmPolicyDedicatedRatio_cellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatiocellCU_old' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 2570.4999866485596,
- "y": 2025.0000820159912,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "1e69e183.e792ce",
- "type": "block",
- "name": "Get Cells List in TA",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 410.7499694824219,
- "y": 952.0001029968262,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "c1c79d1d.7eb9e",
- "d9f8000c.d22ee",
- "55528c9b.84e8b4"
- ]
- ]
- },
- {
- "id": "c1c79d1d.7eb9e",
- "type": "execute",
- "name": "generate getListOfCells URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getListOfCells`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getListOfCells.url\"/>\n <parameter name=\"target\" value=\"{trackingArea}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.trackingArea`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 667.2501220703125,
- "y": 950.4999432563782,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "d9f8000c.d22ee",
- "type": "record",
- "name": "record configdb RestAPI parms",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB Get getListOfCells for tracking area\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getListOfCells.url`\" />\n<parameter name='field3' value=\"`$tmp.payload.trackingArea`\" />",
- "comments": "",
- "outputs": 1,
- "x": 667.2501449584961,
- "y": 992.2502174377441,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "55528c9b.84e8b4",
- "type": "execute",
- "name": "Get ListOfCells for TrackingArea",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getListOfCells.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getListofCells-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": 652.7501220703125,
- "y": 1044.000096321106,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "8d56a004.6b7f",
- "356c8ddb.9c2e32"
- ]
- ]
- },
- {
- "id": "8d56a004.6b7f",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 982.7498474121094,
- "y": 877.0001392364502,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "b5ce958.cf15e68"
- ]
- ]
- },
- {
- "id": "356c8ddb.9c2e32",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 976.7497711181641,
- "y": 923.0001258850098,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "73fff598.1708bc"
- ]
- ]
- },
- {
- "id": "73fff598.1708bc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1126.749496459961,
- "y": 924.0001721382141,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "cd06a95.7992a58",
- "97bab026.5a91",
- "8993bded.eea73"
- ]
- ]
- },
- {
- "id": "cd06a95.7992a58",
- "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 Obtained List of Cells from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getListofCells-configdb-response._length`\"/>\n<parameter name=\"field3\" value=\"List of Cells in the Tracking Area Relevant for RAN Slice Instantiation \"/>",
- "comments": "",
- "outputs": 1,
- "x": 1315.7495574951172,
- "y": 837.0001258850098,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "8993bded.eea73",
- "type": "for",
- "name": "For list of cells",
- "xml": "<for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >",
- "comments": "",
- "outputs": 1,
- "x": 1324.7706604003906,
- "y": 874.6663551330566,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "ea95221.f1f85e",
- "ae18d26e.68e0f"
- ]
- ]
- },
- {
- "id": "97bab026.5a91",
- "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": 1295.5278778076172,
- "y": 922.0001411437988,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "ea95221.f1f85e",
- "type": "execute",
- "name": "Cells in TrackingArea",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $idx + ']'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1529.7705078125,
- "y": 824.3328895568848,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "ae18d26e.68e0f",
- "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=\"`$tmp.trackingarea.cell`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1482.7705078125,
- "y": 867.6662645339966,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "b5ce958.cf15e68",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1143.7497253417969,
- "y": 847.0000638961792,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "2153806e.85179",
- "1cdc5774.13a179"
- ]
- ]
- },
- {
- "id": "1cdc5774.13a179",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1402.7499389648438,
- "y": 743.111141204834,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "2153806e.85179",
- "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 Getting Info from ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1387.7496032714844,
- "y": 787.0001411437988,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "451a06f1.e68438",
- "type": "for",
- "name": "foreach TACell",
- "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1992.833381652832,
- "y": 901.3612098693848,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "3dde4e2f.e3f042"
- ]
- ]
- },
- {
- "id": "2ae1a49e.253ebc",
- "type": "switchNode",
- "name": "is cellCU applicable for NSSAI",
- "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2241.75,
- "y": 836.499997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "af18df.a86b672"
- ]
- ]
- },
- {
- "id": "af18df.a86b672",
- "type": "outcome",
- "name": "Applicable",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2182.75,
- "y": 909.499997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "33ce0cbb.f24934"
- ]
- ]
- },
- {
- "id": "3dde4e2f.e3f042",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2034.75,
- "y": 736.499997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "2ae1a49e.253ebc",
- "30c1ba1c.3122f6",
- "8d003d00.b29f2"
- ]
- ]
- },
- {
- "id": "30c1ba1c.3122f6",
- "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 +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2360.75,
- "y": 679.499997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "8d003d00.b29f2",
- "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": 2370.75,
- "y": 744.499997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "6aae55af.746a8c",
- "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=\"RRMPolicyRatio_id is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyMember_id - \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyRatio update URL is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2515.944496154785,
- "y": 2269.611144065857,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "84f94ac7.29a9f8",
- "type": "execute",
- "name": "prepare idGNBCUCPFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2800.666549682617,
- "y": 2135.444312095642,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "c5d98457.57fed8",
- "type": "execute",
- "name": "prepare idNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2795.222007751465,
- "y": 2165.44455242157,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "c24f6f07.1cb2f",
- "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' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 2805.944625854492,
- "y": 2198.777895927429,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "678682c0.b94e4c",
- "type": "set",
- "name": "set API params",
- "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.CUCPName`'/>\n<parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBCUCPList.nFType' value='RRC Connected Users'/>\n ",
- "comments": "",
- "x": 1893.4723320007324,
- "y": 2200.4444828033447,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "c2224ad0.15c998",
- "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": 1879.9721794128418,
- "y": 2242.666621208191,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "16923767.56c8d9",
- "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": 1863.6875,
- "y": 2157.249997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "e5c03462.fa86e8",
- "type": "execute",
- "name": "get PLMNId URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.sliceProfileId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 669.9375,
- "y": 343.18749713897705,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "69c21735.b71928",
- "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 PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 643.4375686645508,
- "y": 386.18753147125244,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "d2cc7abd.c97368",
- "type": "execute",
- "name": "Get PLMN from Sliceprofile id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 711.1875,
- "y": 429.18748474121094,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "5eb99eb9.515aa",
- "da8a8469.d36798"
- ]
- ]
- },
- {
- "id": "47dfc3fa.5c07bc",
- "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=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 656.6810531616211,
- "y": 588.6809740066528,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "db7c909d.0349f",
- "type": "execute",
- "name": "find MCC",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
- "comments": "",
- "outputs": 1,
- "x": 652.1875,
- "y": 509.4376175403595,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "10c59f19.bc3e91",
- "type": "execute",
- "name": "find MNC",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
- "comments": "",
- "outputs": 1,
- "x": 655.9375762939453,
- "y": 546.6874504089355,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "2b886fc1.3682c",
- "type": "block",
- "name": "get PLMNId",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 404.93750762939453,
- "y": 453.18750286102295,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "e5c03462.fa86e8",
- "69c21735.b71928",
- "d2cc7abd.c97368",
- "db7c909d.0349f",
- "10c59f19.bc3e91",
- "47dfc3fa.5c07bc",
- "2969fa25.1ec4a6"
- ]
- ]
- },
- {
- "id": "2969fa25.1ec4a6",
- "type": "set",
- "name": "set PLMNId",
- "xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-configdb-response.plmnId`'/>",
- "comments": "",
- "x": 668.375057220459,
- "y": 467.87500381469727,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "5eb99eb9.515aa",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 948.6875,
- "y": 434.43749713897705,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "f9a6e91c.f3c608"
- ]
- ]
- },
- {
- "id": "f9a6e91c.f3c608",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1121.6873016357422,
- "y": 423.4375696182251,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "a414c006.73b36",
- "c133b739.422de8"
- ]
- ]
- },
- {
- "id": "a414c006.73b36",
- "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 Obtained PLMNId info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getPLMN-configdb-response`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1322.4370307922363,
- "y": 423.1875944137573,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "c133b739.422de8",
- "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": 1358.215244293213,
- "y": 466.4376029968262,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "27bc4086.0e4df",
- "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": 2080.312759399414,
- "y": 2584.063018798828,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "31c945af.5bb96a",
- "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": 2009.5627059936523,
- "y": 2615.035126686096,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "c94ce5be.aa8a58",
- "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": 1977.7222137451172,
- "y": 2319.055624961853,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "e4fcb239.0de",
- "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": 1980.1109161376953,
- "y": 2423.222098350525,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "262106e3.4c877a",
- "ddc13490.2ba608"
- ]
- ]
- },
- {
- "id": "b3e4cb3c.f52fe8",
- "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": 1933.2776947021484,
- "y": 2348.2222385406494,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "262106e3.4c877a",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2283.833251953125,
- "y": 2474.055417060852,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "3c4de390.1f0a8c"
- ]
- ]
- },
- {
- "id": "ddc13490.2ba608",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2287.9443130493164,
- "y": 2519.277719974518,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "11c274a0.f6a09b"
- ]
- ]
- },
- {
- "id": "3c4de390.1f0a8c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2435.833543777466,
- "y": 2472.0553970336914,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "baa30b72.bd8df8",
- "3fd2f1bd.7cd9de"
- ]
- ]
- },
- {
- "id": "3fd2f1bd.7cd9de",
- "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": 2601.833299636841,
- "y": 2438.0553970336914,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "baa30b72.bd8df8",
- "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": 2630.166763305664,
- "y": 2470.833415031433,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "9a7e45c8.f220d8",
- "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": 2605.7222442626953,
- "y": 2502.0557680130005,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "dbb82033.dbab2",
- "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": 2703.9444122314453,
- "y": 2528.3888635635376,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "11c274a0.f6a09b",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2442.4999084472656,
- "y": 2522.9441957473755,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "9a7e45c8.f220d8",
- "dbb82033.dbab2"
- ]
- ]
- },
- {
- "id": "184dd5a5.577a3a",
- "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": 1917.7221908569336,
- "y": 2383.3887016773224,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "c5fe3b99.1d3e78",
- "type": "set",
- "name": "Calculate maxNumberOfDRBsPerNSSAI",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />",
- "comments": "",
- "x": 1665.222183227539,
- "y": 2942.666865348816,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "a1b8c8f8.74d788",
- "type": "set",
- "name": "Calculate maxNumberOfDRBsPerCUUP",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />",
- "comments": "",
- "x": 1674.1110382080078,
- "y": 2977.110857963562,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "19ef14fc.39bc0b",
- "type": "set",
- "name": "Calculate RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
- "comments": "",
- "x": 1625.2221755981445,
- "y": 3048.2222566604614,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "e10674b2.c2e2b8",
- "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": 1611.611083984375,
- "y": 2793.499752998352,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "90ddb2d0.d87ff",
- "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": 1620.5000762939453,
- "y": 2829.722231864929,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "4d887879.598528",
- "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": 1623.3890838623047,
- "y": 2865.7222261428833,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "7ed18747.897518",
- "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": 2147.4442749023438,
- "y": 3447.944214820862,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "5eb910dc.63339",
- "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": 2148.0000762939453,
- "y": 3647.9441652297974,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "966f5f6c.79424",
- "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": 2151.055419921875,
- "y": 3577.944333076477,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "a8b910c1.35bd6",
- "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": 1608.4999542236328,
- "y": 3358.9444971084595,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "b942a6b.7960d58",
- "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": 2130.2222061157227,
- "y": 3614.6107473373413,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "84a4604f.8d728",
- "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": 1797.0625,
- "y": 3694.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "299e974e.339708",
- "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": 1826.8473320007324,
- "y": 3737.9444828033447,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "6c24c782.d0a758",
- "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": 1813.3471794128418,
- "y": 3780.166621208191,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "7058946c.55742c",
- "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": 1893.1388397216797,
- "y": 3888.9514303207397,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "fdf0bdc3.1bcf5",
- "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": 1845.360939025879,
- "y": 3932.5623865127563,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "b7846e74.a07df",
- "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": 1808.694480895996,
- "y": 3970.0623960494995,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "79a67268.2b630c",
- "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": 1872.1944427490234,
- "y": 3999.7846603393555,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "4312b789.e7cd78",
- "f055c888.5bd8d8"
- ]
- ]
- },
- {
- "id": "b77378b.9f21e88",
- "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": 1935.3963203430176,
- "y": 4145.291499137878,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "8cf0b3fc.b6ae4",
- "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": 1886.4236907958984,
- "y": 4180.041500091553,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "4312b789.e7cd78",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2195.3611946105957,
- "y": 3958.8123025894165,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "5ca42f27.2ff53"
- ]
- ]
- },
- {
- "id": "5ca42f27.2ff53",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2343.61141204834,
- "y": 3966.8124856948853,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "d21fcdf9.6166e",
- "722236db.b72138"
- ]
- ]
- },
- {
- "id": "722236db.b72138",
- "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": 2530.8612308502197,
- "y": 3946.562545776367,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "d21fcdf9.6166e",
- "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": 2549.1946334838867,
- "y": 3989.3405618667603,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "8366b247.32cbe",
- "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": 2612.9722213745117,
- "y": 4053.145799636841,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "90eb5383.931df",
- "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": 2554.750087738037,
- "y": 4019.3127908706665,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "2498d66f.05e3ba",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2359.027671813965,
- "y": 4047.701463699341,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "90eb5383.931df",
- "8366b247.32cbe"
- ]
- ]
- },
- {
- "id": "f055c888.5bd8d8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2188.9168090820312,
- "y": 4030.284740447998,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "2498d66f.05e3ba"
- ]
- ]
- },
- {
- "id": "157c4b84.4d0224",
- "type": "block",
- "name": "block",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1965.4998168945312,
- "y": 4402.944142341614,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "f47ab622.b214b8"
- ]
- ]
- },
- {
- "id": "f47ab622.b214b8",
- "type": "for",
- "name": "foreach TACell",
- "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2151.47225189209,
- "y": 4402.889130592346,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "bcbae4bb.bc1858"
- ]
- ]
- },
- {
- "id": "bcbae4bb.bc1858",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2352.277557373047,
- "y": 4404.694355964661,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "a35c3f65.80d9f",
- "bf0671ef.cd08",
- "aec85d5b.3acb9"
- ]
- ]
- },
- {
- "id": "bf0671ef.cd08",
- "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": 2633.833282470703,
- "y": 4231.0275646448135,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "aec85d5b.3acb9",
- "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": 2637.1666107177734,
- "y": 4272.694233894348,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "a35c3f65.80d9f",
- "type": "switchNode",
- "name": "is cellCU applicable for NSSAI",
- "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2597.0553665161133,
- "y": 4315.805633381009,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "41f14699.885338"
- ]
- ]
- },
- {
- "id": "41f14699.885338",
- "type": "outcome",
- "name": "Applicable",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2834.722137451172,
- "y": 4319.91624546051,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "83218ecb.afe25"
- ]
- ]
- },
- {
- "id": "18e4f7f5.7b1998",
- "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": 3130.142822265625,
- "y": 5100.643063545227,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "46f6e640.8000c8",
- "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": 3144.428810119629,
- "y": 5444.571230888367,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "62981279.b1c13c",
- "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": 3651.9288177490234,
- "y": 5469.214142799377,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "ad4a2912.9c54c8",
- "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": 3615.143264770508,
- "y": 5592.785708427429,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "c6939012.bd05e",
- "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": 3620.857208251953,
- "y": 5685.285481452942,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "51420a75.e5cb44",
- "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": 3787.642822265625,
- "y": 5624.928708076477,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "95013c06.0cd9f",
- "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": 3780.5,
- "y": 5656.356930732727,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "2aaa05de.a7f94a",
- "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": 3111.25,
- "y": 5332.999997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "171ddb52.565cc5",
- "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": 3230.875,
- "y": 5766.562497138977,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "8d294361.afdd2",
- "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": 3298.375,
- "y": 5900.937497138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "345b415d.aacd5e",
- "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": 3256.9305114746094,
- "y": 5940.103959083557,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "602003b3.449a6c",
- "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": 3238.374954223633,
- "y": 5974.270541191101,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "c5245322.f9538",
- "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": 3300.763702392578,
- "y": 6005.103970527649,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "85dce642.2bebd8",
- "4c54c4da.ee1e8c"
- ]
- ]
- },
- {
- "id": "85dce642.2bebd8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3604.486038208008,
- "y": 6055.937289237976,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "b874d9f1.6024b8"
- ]
- ]
- },
- {
- "id": "b874d9f1.6024b8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3756.4863300323486,
- "y": 6053.937269210815,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "c4ea1ef2.4ec8e",
- "5974071.792b2f8"
- ]
- ]
- },
- {
- "id": "5974071.792b2f8",
- "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": 3922.4860858917236,
- "y": 6019.937269210815,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "c4ea1ef2.4ec8e",
- "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": 3950.819549560547,
- "y": 6052.715287208557,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "cd328618.d23d98",
- "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": 3926.375030517578,
- "y": 6083.9376401901245,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "80b6004.9fed",
- "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": 4024.597198486328,
- "y": 6110.270735740662,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "29428dd9.ccd022",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3763.1526947021484,
- "y": 6104.8260679244995,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "cd328618.d23d98",
- "80b6004.9fed"
- ]
- ]
- },
- {
- "id": "4c54c4da.ee1e8c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3608.597099304199,
- "y": 6101.159592151642,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "29428dd9.ccd022"
- ]
- ]
- },
- {
- "id": "c031f54a.8eeba8",
- "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": 3419.9662857055664,
- "y": 6223.944789886475,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "f64c9af4.5d8e28",
- "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": 3382.2155532836914,
- "y": 6259.916957378387,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "ba082b19.30b718",
- "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": 3217.3748474121094,
- "y": 5808.784635543823,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "6246985c.a1d8d8",
- "type": "block",
- "name": "get coverageAreaTAList",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 433.30553436279297,
- "y": 572.5278453826904,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "d407c748.47e858",
- "80d6202d.243e7",
- "994bf0b6.a3e3e",
- "bc59234b.cda55",
- "4283267f.559be8",
- "85fe1db5.c68f6",
- "909aa702.3408d8",
- "d35d291d.462898"
- ]
- ]
- },
- {
- "id": "d407c748.47e858",
- "type": "execute",
- "name": "prepare URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.aai.fetchSliceProfile`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{global-customer-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.globalCustomerId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 672.7500076293945,
- "y": 637,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "4283267f.559be8",
- "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 coverageAreaTAList URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 697.2500610351562,
- "y": 792.0001697540283,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "80d6202d.243e7",
- "type": "execute",
- "name": "prepare serviceType",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{service-type}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.serviceType`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 693.25,
- "y": 674.4999980926514,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "994bf0b6.a3e3e",
- "type": "execute",
- "name": "prepare service-instance-id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.RANNFNSSIId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 721.25,
- "y": 714.6111221313477,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "bc59234b.cda55",
- "type": "execute",
- "name": "prepare profile-id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{profile-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.sliceProfileId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 696.25,
- "y": 751.4999980926514,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "af985b15.659c38",
- "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 Getting Info from ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1353.2501525878906,
- "y": 535.0000076293945,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "6b8efaf1.3387c4",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1353.2504577636719,
- "y": 499.11102294921875,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "85d2f084.0293f",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1108.2501068115234,
- "y": 461.99992275238037,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "af985b15.659c38",
- "6b8efaf1.3387c4"
- ]
- ]
- },
- {
- "id": "da8a8469.d36798",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 947.250244140625,
- "y": 483.99999618530273,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "85d2f084.0293f"
- ]
- ]
- },
- {
- "id": "85fe1db5.c68f6",
- "type": "execute",
- "name": "invoke API",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.org.onap.ccsdk.sli.adaptors.aai.uri + $tmp.aai.fetchSliceProfile.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-coverageAreaTAList-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": 729.5000152587891,
- "y": 829.9999876022339,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "b7729bd0.54e888",
- "5f02ba2a.e6e3c4"
- ]
- ]
- },
- {
- "id": "b7729bd0.54e888",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 882.5556449890137,
- "y": 745.4723434448242,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "7b8ca492.84ea8c"
- ]
- ]
- },
- {
- "id": "7b8ca492.84ea8c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1041.6663188934326,
- "y": 736.3613271713257,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "69c0134b.12d4bc",
- "2406746d.718e9c",
- "1219e20.189511e",
- "ddf06b3c.919978",
- "5ad39d41.5556a4",
- "32a7e5dd.ba553a",
- "b549a3f6.730b"
- ]
- ]
- },
- {
- "id": "69c0134b.12d4bc",
- "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 coverageAreaTAList\"/>\n<parameter name=\"field2\" value=\"`$get-coverageAreaTAList-response.coverage-area-TA-list`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1146.7497100830078,
- "y": 497.1113567352295,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "2406746d.718e9c",
- "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": 1177.861228942871,
- "y": 540.5835838317871,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "4d8fc93.38a1b38",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from AAI. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1139.2297019958496,
- "y": 772.3680191040039,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "50de94e0.af3a4c",
- "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 Getting Info from ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1176.3405990600586,
- "y": 806.1458168029785,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "1afef89e.d676f7",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1034.451551437378,
- "y": 807.590329170227,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "50de94e0.af3a4c",
- "4d8fc93.38a1b38"
- ]
- ]
- },
- {
- "id": "5f02ba2a.e6e3c4",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 908.7850303649902,
- "y": 806.5903759002686,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "1afef89e.d676f7"
- ]
- ]
- },
- {
- "id": "dc02e934.210fe8",
- "type": "execute",
- "name": "set globalCustomerId",
- "xml": "<set>\n<parameter name='tmp.payload.globalCustomerId' value='`$payloadJson.input.globalSubscriberId`'/>\n",
- "comments": "",
- "outputs": 1,
- "x": 630.7500228881836,
- "y": 76.7499942779541,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "870f1e08.970a2",
- "type": "execute",
- "name": "set serviceType",
- "xml": "<set>\n<parameter name='tmp.serviceType' value='`$payloadJson.input.subscriptionServiceType`'/>\n",
- "comments": "",
- "outputs": 1,
- "x": 634.75,
- "y": 115.74999809265137,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "89d19ba6.2eb0d8",
- "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": 787,
- "y": 4161.249997138977,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "484fabb2.542944",
- "129ccd65.29e5c3"
- ]
- ]
- },
- {
- "id": "19504430.043d4c",
- "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": 756.2499885559082,
- "y": 3942.749988555908,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "484fabb2.542944",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1023.0006580352783,
- "y": 4115.25035572052,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "5c99481b.b084e8"
- ]
- ]
- },
- {
- "id": "5c99481b.b084e8",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1163.0009765625,
- "y": 4123.2502336502075,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "1020acb1.416ca3",
- "14910601.7b4e9a"
- ]
- ]
- },
- {
- "id": "14910601.7b4e9a",
- "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": 1298.0006713867188,
- "y": 4089.3617448806763,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "1020acb1.416ca3",
- "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": 1352.0003967285156,
- "y": 4126.250294685364,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "87b36f06.7ddc6",
- "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": 1371.0006484985352,
- "y": 4178.250482559204,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "2731b362.1d44bc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1185.000400543213,
- "y": 4194.250238418579,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "87b36f06.7ddc6",
- "24da6566.d832ba"
- ]
- ]
- },
- {
- "id": "129ccd65.29e5c3",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1027.0006103515625,
- "y": 4195.24999332428,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "2731b362.1d44bc"
- ]
- ]
- },
- {
- "id": "5f8a32d4.ef21cc",
- "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": 747,
- "y": 4030.499997138977,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "cdc08301.def3d",
- "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": 3103.75,
- "y": 4991.499997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "a955d476.950388",
- "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": 1658,
- "y": 3217.249997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "aae2cdd.6be563",
- "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": 2183,
- "y": 1541.499997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "dd339cfd.b337b",
- "type": "for",
- "name": "For coverageAreaTAList",
- "xml": "<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>",
- "comments": "",
- "outputs": 1,
- "x": 400.69447326660156,
- "y": 706.666669845581,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "cd4b6235.e0287"
- ]
- ]
- },
- {
- "id": "cd4b6235.e0287",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 416.8816833496094,
- "y": 760.9892511367798,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "19ff865.3194d7a",
- "1e69e183.e792ce",
- "4fc256fa.a4e358",
- "c7a236b2.5dc938",
- "828ff83a.c5b398",
- "409ce852.c50a18"
- ]
- ]
- },
- {
- "id": "909aa702.3408d8",
- "type": "execute",
- "name": "set trackingArea size",
- "xml": "<set>\n\t<parameter name='tmp.trackingAreaListEntries' value=\"`$tmp.coverageAreaTAList_length`\"/>\n\t",
- "comments": "",
- "outputs": 1,
- "x": 756.25,
- "y": 863.0555458068848,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "d35d291d.462898",
- "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": 719.5833129882812,
- "y": 894.1666297912598,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "ddf06b3c.919978",
- "type": "execute",
- "name": "SliStringUtils - split",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.aai.coverageAreaTAList`\" />\n <parameter name=\"regex\" value=\",\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.coverageAreaTAList\"/>\n ",
- "comments": "",
- "outputs": 1,
- "x": 1242.6390991210938,
- "y": 708.3334407806396,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "1219e20.189511e",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='tmp.aai.coverageAreaTAList' value=\"`$get-coverageAreaTAList-response.coverage-area-TA-list`\"/>\n",
- "comments": "",
- "x": 1170.9723091125488,
- "y": 579.1667604446411,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "32a7e5dd.ba553a",
- "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": 1254.5834503173828,
- "y": 745.2779407501221,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "19ff865.3194d7a",
- "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": 506.8056182861328,
- "y": 846.9444789886475,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "4fc256fa.a4e358",
- "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": 460.6944580078125,
- "y": 895.2777137756348,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "b549a3f6.730b",
- "type": "execute",
- "name": "replace [",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.coverageAreaTAList`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.coverageAreaTAList\"/>\n <parameter name=\"target\" value=\"[\"/>\n <parameter name=\"replacement\" value=\"\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1186.250129699707,
- "y": 617.2221546173096,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "5ad39d41.5556a4",
- "type": "execute",
- "name": "replace ]",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.coverageAreaTAList`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.coverageAreaTAList\"/>\n <parameter name=\"target\" value=\"]\"/>\n <parameter name=\"replacement\" value=\"\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1202.0833053588867,
- "y": 654.1666874885559,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "94801ef6.a02f1",
- "type": "for",
- "name": "for each rrmpolicyratio",
- "xml": "<for index='idcuup-rrm1' start='0' end='`$tmp.rrmPolicyRatio_configdb_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1798.0001678466797,
- "y": 4060.750663757324,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "af91dea7.b5d84"
- ]
- ]
- },
- {
- "id": "68a30b4e.793cd4",
- "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": 1859,
- "y": 4028.75,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "af91dea7.b5d84",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2006,
- "y": 4060.75,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "7669c163.4084b",
- "b77378b.9f21e88",
- "8cf0b3fc.b6ae4",
- "260f1453.e9193c"
- ]
- ]
- },
- {
- "id": "7669c163.4084b",
- "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": 2023.000015258789,
- "y": 4112.750178337097,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "c537c039.da2e7",
- "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": 2098.2502059936523,
- "y": 2547.750701904297,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "68d1d5b7.b6490c",
- "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": 3433.25040435791,
- "y": 6186.750330924988,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "80361e5c.20845",
- "type": "set",
- "name": "set rrmpolicyratio list size",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioConfigDB_length' value='`$getrrmpolicyratioinfo-configdb-response._length`'/>\n\n ",
- "comments": "",
- "x": 1974.5,
- "y": 2457.2500009536743,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "186543e1.ed936c",
- "type": "for",
- "name": "for each rrmpolicyratio",
- "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.rrmPolicyRatioConfigDB_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1791.500114440918,
- "y": 2497.2500925064087,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "7b6cbdc7.03ebe4"
- ]
- ]
- },
- {
- "id": "7b6cbdc7.03ebe4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1983.5000228881836,
- "y": 2499.2503051757812,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "c537c039.da2e7",
- "27bc4086.0e4df",
- "31c945af.5bb96a",
- "4f25ca6f.2ed7e4"
- ]
- ]
- },
- {
- "id": "cf96e759.6ebad8",
- "type": "set",
- "name": "set rrmpolicyratio list size",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioDUList_length' value='`$getrrmpolicyratioinfoDU-configdb-response._length`'/>\n\n ",
- "comments": "",
- "x": 3288.000099182129,
- "y": 6043.250206947327,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "c6b96ce4.c01ef",
- "type": "for",
- "name": "for each rrmpolicyratio",
- "xml": "<for index='iddu-rrm1' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 3270,
- "y": 6087.250000953674,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "5809a0a2.f455d"
- ]
- ]
- },
- {
- "id": "5809a0a2.f455d",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3454.25,
- "y": 6122.250000953674,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "68d1d5b7.b6490c",
- "c031f54a.8eeba8",
- "f64c9af4.5d8e28",
- "9f3572a0.a276d"
- ]
- ]
- },
- {
- "id": "c7a236b2.5dc938",
- "type": "execute",
- "name": "set params",
- "xml": "<set>\n<parameter name='tmp.RICEntries' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 296.75,
- "y": 1243.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "828ff83a.c5b398",
- "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": 276.75,
- "y": 1293.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "581db54e.a0064c",
- "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": 413.75,
- "y": 610.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "e2d6e587.376b48",
- "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": 392.75,
- "y": 652.749997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "f118882b.21e7f8",
- "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": 719.5,
- "y": 4258.25,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "c7b28301.8ff26",
- "type": "switchNode",
- "name": "check status",
- "xml": "<switch test='`$error-code`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 744.4999961853027,
- "y": 4311.999973654747,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "ee2b01b1.13f8f",
- "36ace43f.34380c"
- ]
- ]
- },
- {
- "id": "ee2b01b1.13f8f",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='200'>\n",
- "comments": "",
- "outputs": 1,
- "x": 927.5000114440918,
- "y": 4269.0000957250595,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "986f0682.38af78"
- ]
- ]
- },
- {
- "id": "36ace43f.34380c",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 943.4999961853027,
- "y": 4320.999973654747,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "a96f560f.b05888"
- ]
- ]
- },
- {
- "id": "986f0682.38af78",
- "type": "set",
- "name": "status",
- "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
- "comments": "",
- "x": 1103.5000114440918,
- "y": 4272.00024831295,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "a96f560f.b05888",
- "type": "set",
- "name": "failure status",
- "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
- "comments": "",
- "x": 1104.4999961853027,
- "y": 4315.999973654747,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "8697076f.a80788",
- "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": 4689.000240325928,
- "y": 2523.750002384186,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "e7b7e590.b78e68",
- "type": "switchNode",
- "name": "check status",
- "xml": "<switch test='`$error-code`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4705.000240325928,
- "y": 2579.500002384186,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "e6c9570f.ec4158",
- "8dd2c80.2963e38"
- ]
- ]
- },
- {
- "id": "e6c9570f.ec4158",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='200'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4876.000011444092,
- "y": 2451.5000957250595,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "73f6f8e5.9c9ef8"
- ]
- ]
- },
- {
- "id": "73f6f8e5.9c9ef8",
- "type": "set",
- "name": "status",
- "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
- "comments": "",
- "x": 5052.000011444092,
- "y": 2454.50024831295,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "44b2efa3.d562a",
- "type": "set",
- "name": "failure status",
- "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
- "comments": "",
- "x": 5052.999996185303,
- "y": 2498.499973654747,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "8dd2c80.2963e38",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4891.999996185303,
- "y": 2503.499973654747,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "44b2efa3.d562a"
- ]
- ]
- }
-]
\ No newline at end of file