diff options
Diffstat (limited to 'platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate-CPS.json')
-rw-r--r-- | platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate-CPS.json | 7530 |
1 files changed, 7530 insertions, 0 deletions
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate-CPS.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate-CPS.json new file mode 100644 index 00000000..e02dbe49 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate-CPS.json @@ -0,0 +1,7530 @@ +[ + { + "id": "4b871a4f.8a0bf4", + "type": "method", + "name": "method", + "xml": "<method rpc='instantiateRANSliceAllocate-CPS' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 441.0000305175781, + "y": 221.9999885559082, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "12ae3866.47ce98" + ] + ] + }, + { + "id": "cc7bd657.3310e8", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 112.0000228881836, + "y": 119.99996185302734, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "51124fae.8c6ea" + ] + ] + }, + { + "id": "51124fae.8c6ea", + "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": 198, + "y": 224.00004196166992, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "4b871a4f.8a0bf4" + ] + ] + }, + { + "id": "b6ec0e57.54c6", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"N\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />", + "comments": "", + "x": 242.43433380126953, + "y": 2781.5286540985107, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "a224208c.12012", + "type": "comment", + "name": "instantiateRANSliceAllocate-CPS", + "info": "", + "comments": "", + "x": 410.0000305175781, + "y": 164.01036071777344, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "87588f27.99fed", + "type": "for", + "name": "For CPS Response Entries", + "xml": "<for index='id1' start='0' end=\"`$getNearRTRIC-cps-response._length`\" >", + "comments": "", + "outputs": 1, + "x": 1207.0001182556152, + "y": 2083.01060295105, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "a75b9904.a6ecc8", + "cb3673c2.d108a", + "c9017063.20104", + "9e41f192.d847", + "6511f915.2bf8e8", + "76dd264a.93e678", + "88782b9e.a2bae8" + ] + ] + }, + { + "id": "a75b9904.a6ecc8", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload Entry# \"/>\n<parameter name=\"field2\" value=\"`$id1`\"/>\n<parameter name=\"field3\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n\n", + "comments": "", + "outputs": 1, + "x": 1582.000400543213, + "y": 898.3439292907715, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "12ae3866.47ce98", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 76, + "y": 344.0103645324707, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "cf902d02.bd5b5", + "5babe467.37ec7c", + "a7723108.a7e47", + "1070fbb2.25f074", + "b6ec0e57.54c6", + "7b63836c.1e212c" + ] + ] + }, + { + "id": "38d6411b.0e9ebe", + "type": "block", + "name": "Instantiate RAN Slice", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 993.8889007568359, + "y": 537.2326574325562, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "87588f27.99fed", + "241a5494.cd57fc", + "1cc675c1.22f72a" + ] + ] + }, + { + "id": "cb3673c2.d108a", + "type": "block", + "name": "DU", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1783.0000610351562, + "y": 5826.0105583667755, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "63a2dd14.ac6dd4", + "ce9e98af.fbd408", + "c0b936db.499288", + "52670b3b.2fc8c4" + ] + ] + }, + { + "id": "81f8a6e4.afe348", + "type": "block", + "name": "Add RRM Policy Ratio", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3285.0004653930664, + "y": 6709.01035118103, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "1969c3f9.e1d33c", + "bb6b2faa.b9af4", + "5faf65a.d97e39c", + "17a64753.57dd89", + "fc2fe457.50d438", + "5d0bc6ef.398fc8", + "28959e11.962232" + ] + ] + }, + { + "id": "19e78ea7.3915f1", + "type": "switchNode", + "name": "ransim mounted", + "xml": "<switch test='`$prop.ransim-mounted`'>\n", + "comments": "", + "outputs": 1, + "x": 3491.000778198242, + "y": 6463.01072883606, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "be4fd44c.e31028", + "27343902.112be6" + ] + ] + }, + { + "id": "be4fd44c.e31028", + "type": "outcome", + "name": "Not Mounted", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 3734.000862121582, + "y": 6467.010730743408, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "2dd2a43e.ca117c" + ] + ] + }, + { + "id": "27343902.112be6", + "type": "outcome", + "name": "Mounted", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 3719.000862121582, + "y": 6541.010732650757, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "e6439ba5.30cd78" + ] + ] + }, + { + "id": "ce9e98af.fbd408", + "type": "for", + "name": "For DUList Entries", + "xml": "<for index='id2' start='0' end='`$tmp.DUListEntries`' >", + "comments": "", + "outputs": 1, + "x": 1883.0004425048828, + "y": 6140.010553359985, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "7de609de.117f48" + ] + ] + }, + { + "id": "63a2dd14.ac6dd4", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUListEntries`\"/>", + "comments": "", + "outputs": 1, + "x": 2076.000617980957, + "y": 5522.011340141296, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "c0b936db.499288", + "type": "execute", + "name": "set DU Level parms", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUListEntries' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction_length'`\" />", + "comments": "", + "outputs": 1, + "x": 2078.000373840332, + "y": 5456.012316703796, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "77f56daa.65ba44", + "type": "execute", + "name": "cellDUListEntries", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUListEntries' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction[' + $id2 + '].NRCellDU_length'`\" />", + "comments": "", + "outputs": 1, + "x": 3840.999824523926, + "y": 5877.011071562767, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "329d2d0c.6fbe52", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Numberof cellDU of Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDUListEntries`\"/>\n<parameter name=\"field3\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBDUName`\"/>\n<parameter name=\"field5\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field8\" value=\"`$tmp.pLMNId`\"/>", + "comments": "", + "outputs": 1, + "x": 3454.0001258850098, + "y": 6077.010553359985, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "c94efb18.83e308", + "type": "block", + "name": "cellDUList Level Parms", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3479.0001220703125, + "y": 6016.010552406311, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "77f56daa.65ba44", + "c353b271.3cdfc", + "bc8caf6d.6739c", + "34c97a96.f7e716", + "7ecdff78.057e7", + "ef17c7f1.0e81e8", + "ac904cb6.3ba9f" + ] + ] + }, + { + "id": "c353b271.3cdfc", + "type": "execute", + "name": "cellDUListEntries-gNBDUId", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBDUList.gNBDUId' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction[' + $id2 + '].attributes.gNBDUId'`\" />\n", + "comments": "", + "outputs": 1, + "x": 3871.000259399414, + "y": 5932.010339140892, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "bc8caf6d.6739c", + "type": "execute", + "name": "cellDUListEntries-gNBDUName", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBDUName' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction[' + $id2 + '].attributes.gNBDUName'`\" />", + "comments": "", + "outputs": 1, + "x": 3877.000015258789, + "y": 6093.010583281517, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "34c97a96.f7e716", + "type": "execute", + "name": "cellDUListEntries-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=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction[' + $id2 + '].attributes.gNBId'`\" />", + "comments": "", + "outputs": 1, + "x": 3856.999988555908, + "y": 6131.010598540306, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "edb570cb.f40cc", + "type": "execute", + "name": "cellDUListEntries-pLMNId", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].pLMNId'`\" />", + "comments": "", + "outputs": 1, + "x": 4239.000137329102, + "y": 6239.01069355011, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "13707b1.958bc85", + "type": "for", + "name": "For List of Cells", + "xml": "<for index='id3' start='0' end='`$tmp.cellListSize`' >", + "comments": "", + "outputs": 1, + "x": 2306.9910736083984, + "y": 6113.010664463043, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "e87c125a.d40ad" + ] + ] + }, + { + "id": "76552f36.3806e", + "type": "block", + "name": "pLMNInfoList Level Parms", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3625.9899826049805, + "y": 6236.010786533356, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "97aa33c1.f897a", + "291a68e5.74cb98" + ] + ] + }, + { + "id": "97aa33c1.f897a", + "type": "execute", + "name": "pLMNInfoListEntries", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].pLMNInfoList_length'`\" />", + "comments": "", + "outputs": 1, + "x": 3946.9896392822266, + "y": 6262.010394513607, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "7557ef29.dbae1", + "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=\"Numberof pLMNInfoList Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoListEntries`\"/>\n<parameter name=\"field3\" value=\"cellLocalId for TA \"/>\n<parameter name=\"field4\" value=\"`$tmp.cellLocalId`\"/>", + "comments": "", + "outputs": 1, + "x": 3636.9899826049805, + "y": 6288.011152267456, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "4a055152.a7f46", + "type": "for", + "name": "For pLMNInfoListEntries", + "xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >", + "comments": "", + "outputs": 1, + "x": 3694.990119934082, + "y": 6410.011377334595, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "c0998d83.4097b" + ] + ] + }, + { + "id": "4b1c44e9.52ae0c", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"MCC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"MNC \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"Calculated uLThptPerSlice \"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Calculated dLThptPerSlice \"/>\n<parameter name=\"field8\" value=\"`$tmp.dLThptPerSlice`\"/>", + "comments": "", + "outputs": 1, + "x": 3405.9897079467773, + "y": 6135.010555267334, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "c0998d83.4097b", + "type": "block", + "name": "pLMNInfoList Parms", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3935.9898071289062, + "y": 6404.011377334595, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "f77766f9.ee5d58", + "9255c61e.730408" + ] + ] + }, + { + "id": "f77766f9.ee5d58", + "type": "execute", + "name": "sNSSAI", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].pLMNInfoList[' + $id4 + '].sNSSAI.sNSSAI'`\" />", + "comments": "", + "outputs": 1, + "x": 4098.989562988281, + "y": 6348.0107254981995, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "6a2042bc.3343cc", + "type": "comment", + "name": "Check if sNSSAI already exists in YANG tree", + "info": "This needs more work. If sNSSAI already exists in the YANG tree, need to patch the existing pLMNInfoList entry", + "comments": "", + "x": 3736.9899826049805, + "y": 6362.011152267456, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "9255c61e.730408", + "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=\"sNSSAI from RAN to check if already exists \"/>\n<parameter name=\"field2\" value=\"`$tmp.fromRAN.sNSSAI`\"/>\n", + "comments": "", + "outputs": 1, + "x": 4119.9895668029785, + "y": 6426.01072883606, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "c9017063.20104", + "type": "execute", + "name": "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=\"`'getNearRTRIC-cps-response.[' + $id1 + '].idNearRTRIC'`\" />\n\t", + "comments": "", + "outputs": 1, + "x": 1547.9897232055664, + "y": 695.0105381011963, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "291a68e5.74cb98", + "type": "execute", + "name": "cellLocalId", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].cellLocalId'`\" />", + "comments": "", + "outputs": 1, + "x": 3923.9898071289062, + "y": 6326.010559082031, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "f2e63e26.07c7", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PLMNInfoList Entry Add to NRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>", + "comments": "", + "outputs": 1, + "x": 3874.001537322998, + "y": 6910.344172477722, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "122ad994.9b9a46", + "type": "block", + "name": "Add PLMNInfoList Entry", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3462.0007705688477, + "y": 6569.3544816970825, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "f2e63e26.07c7", + "285b8242.dec98e", + "5182fca8.c62d34", + "d367395e.9b58a8", + "b48f486d.210a68", + "767cc223.b284cc", + "19e78ea7.3915f1", + "1b72cdf8.614172", + "fd278e1c.281cb", + "b5039f8d.80675" + ] + ] + }, + { + "id": "1b72cdf8.614172", + "type": "execute", + "name": "add PLMNInfoListEntry ToNRCellDU using PUT", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"PLMNInfoListEntry-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />", + "comments": "", + "outputs": 1, + "x": 3954.000862121582, + "y": 6989.354494094849, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "dde359f.4ddf2a8", + "c759097a.302d18" + ] + ] + }, + { + "id": "285b8242.dec98e", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add PLMNInfoListEntry ToNRCellDU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>", + "comments": "", + "outputs": 1, + "x": 3872.000986099243, + "y": 6873.354914665222, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "2dd2a43e.ca117c", + "type": "execute", + "name": "generate addPLMNInfoListEntry.ToNRCellDU", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 4005.0008697509766, + "y": 6469.010730266571, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "5182fca8.c62d34", + "type": "execute", + "name": "Populate idGNBDUFunction", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>", + "comments": "", + "outputs": 1, + "x": 3840.9904556274414, + "y": 6626.010734081268, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "d367395e.9b58a8", + "type": "execute", + "name": "Populate idNRCellDU", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>", + "comments": "", + "outputs": 1, + "x": 3849.9904556274414, + "y": 6675.01073551178, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "b48f486d.210a68", + "type": "execute", + "name": "Populate mcc", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>", + "comments": "", + "outputs": 1, + "x": 3850.9904556274414, + "y": 6725.010736465454, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "767cc223.b284cc", + "type": "execute", + "name": "Populate mnc", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>", + "comments": "", + "outputs": 1, + "x": 3852.990550994873, + "y": 6768.010676383972, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "dde359f.4ddf2a8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 4252.000602722168, + "y": 6926.343751907349, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "fc88006c.222bf" + ] + ] + }, + { + "id": "c759097a.302d18", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 4291.000717163086, + "y": 7010.3437621593475, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "63b53eb1.649fa" + ] + ] + }, + { + "id": "fc88006c.222bf", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4514.000499725342, + "y": 6811.343833684921, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "9747dca5.fffff", + "efa5b4cd.0af608" + ] + ] + }, + { + "id": "63b53eb1.649fa", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4473.000228881836, + "y": 6965.3437621593475, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "bf02c62b.59b168" + ] + ] + }, + { + "id": "9747dca5.fffff", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding PLMNInfo List Entry to NRCellCUr\" />", + "comments": "", + "x": 4679.000499725342, + "y": 6894.344321966171, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "bf02c62b.59b168", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add to NRCELLDU Executed Successfully \"/>", + "comments": "", + "outputs": 1, + "x": 4640.000228881836, + "y": 6976.3442504405975, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "8bcacf47.93b8b", + "type": "execute", + "name": "generate addPLMNInfoListEntry.ToNRCellDU", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 4165.990219116211, + "y": 6528.0107316970825, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "e6439ba5.30cd78", + "type": "block", + "name": "ransim URL", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3882.9901275634766, + "y": 6530.01073217392, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "8bcacf47.93b8b", + "98fd9feb.50fe4" + ] + ] + }, + { + "id": "98fd9feb.50fe4", + "type": "execute", + "name": "populate mountName", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>", + "comments": "", + "outputs": 1, + "x": 4129.990219116211, + "y": 6585.010732650757, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "7de9b007.312cb", + "type": "comment", + "name": "Connect to AddPLMNInfoList Entry", + "info": "when able to talk to latest SDNC", + "comments": "", + "x": 3892.9901275634766, + "y": 6949.344075202942, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "1969c3f9.e1d33c", + "type": "switchNode", + "name": "ransim mounted", + "xml": "<switch test='`$prop.ransim-mounted`'>\n", + "comments": "", + "outputs": 1, + "x": 3744.9898681640625, + "y": 7098.677267074585, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "5a05427d.b0023c", + "7045dc66.e2b2a4" + ] + ] + }, + { + "id": "5a05427d.b0023c", + "type": "outcome", + "name": "Not Mounted", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 3939.9898948669434, + "y": 7058.677174568176, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "927e71ca.144d" + ] + ] + }, + { + "id": "7045dc66.e2b2a4", + "type": "outcome", + "name": "Mounted", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 3919.9898681640625, + "y": 7137.677266120911, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "e48be396.33e31" + ] + ] + }, + { + "id": "5d0bc6ef.398fc8", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to NRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>", + "comments": "", + "outputs": 1, + "x": 3896.9909706115723, + "y": 7410.011414527893, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "8a82cb50.0f0c18", + "type": "execute", + "name": "add RRM Policy ToNRCellDU using PUT", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />", + "comments": "", + "outputs": 1, + "x": 3956.9899368286133, + "y": 7649.020848035812, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "c3044a31.1dc658" + ] + ] + }, + { + "id": "fc2fe457.50d438", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio ToNRCellDU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>", + "comments": "", + "outputs": 1, + "x": 3888.9899940490723, + "y": 7369.021668434143, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "927e71ca.144d", + "type": "execute", + "name": "generate addRRMPolicy.ToNRCellDU URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 4225.989860534668, + "y": 7056.677248001099, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "bb6b2faa.b9af4", + "type": "execute", + "name": "Populate idGNBDUFunction", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n ", + "comments": "", + "outputs": 1, + "x": 3917.9796447753906, + "y": 7191.677251815796, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "5faf65a.d97e39c", + "type": "execute", + "name": "Populate idNRCellDU", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>", + "comments": "", + "outputs": 1, + "x": 3910.9796447753906, + "y": 7245.6772537231445, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "17a64753.57dd89", + "type": "execute", + "name": "Populate id", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatioID.NRCellDU`\"/>", + "comments": "", + "outputs": 1, + "x": 3889.9796447753906, + "y": 7282.677255630493, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "ccd205bd.50a928", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 4292.98974609375, + "y": 7396.010592460632, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "21118c5e.6e7684" + ] + ] + }, + { + "id": "c3044a31.1dc658", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 4293.989814758301, + "y": 7675.010349988937, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "c0b4fc45.81e15" + ] + ] + }, + { + "id": "21118c5e.6e7684", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4662.989776611328, + "y": 7344.01021194458, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "84582ecc.76043", + "efa5b4cd.0af608" + ] + ] + }, + { + "id": "c0b4fc45.81e15", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4473.989570617676, + "y": 7672.010349988937, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "73f9a66e.b6b3b8" + ] + ] + }, + { + "id": "84582ecc.76043", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding RRM Policy\" />", + "comments": "", + "x": 4784.989776611328, + "y": 7399.01070022583, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "73f9a66e.b6b3b8", + "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=\"addRRMPolicyRatio to NRCELLDU Executed Successfully \"/>", + "comments": "", + "outputs": 1, + "x": 4622.98987197876, + "y": 7698.010542631149, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "5c7e6558.62ae0c", + "type": "execute", + "name": "generate RRMPolicy Ratio URL ToNRCellDU", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 4417.97957611084, + "y": 7104.6775579452515, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "e48be396.33e31", + "type": "block", + "name": "ransim URL", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4112.979518890381, + "y": 7132.677266120911, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "5c7e6558.62ae0c", + "2f376730.5643e8" + ] + ] + }, + { + "id": "2f376730.5643e8", + "type": "execute", + "name": "populate mountName", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>", + "comments": "", + "outputs": 1, + "x": 4354.979553222656, + "y": 7166.677205085754, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "e0111c57.7be95", + "type": "comment", + "name": "Connect to RRM P{olicy Ratio", + "info": "when able to talk to latest SDNC", + "comments": "", + "x": 3953.9799842834473, + "y": 7443.011170387268, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "52670b3b.2fc8c4", + "type": "block", + "name": "rrmPolicyDedicatedRatio", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2121.000312805176, + "y": 5651.689319610596, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "51d956f.d298ba8", + "1fb75cdb.018953", + "845fac96.0dc0b", + "3a5b1e66.46b702", + "cbba5928.6a59f8", + "c0e75462.4bf078", + "dbc387ab.afb758", + "38bc61.ba2853a", + "2a8281e3.c92d1e", + "4ea56ac8.efdec4", + "e82eeb18.2a3578" + ] + ] + }, + { + "id": "51d956f.d298ba8", + "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/instantiateRANSliceAllocate-cps.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": 2254.000129699707, + "y": 5960.132922172546, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "9e41f192.d847", + "type": "block", + "name": "CUCP", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1561.9895324707031, + "y": 2055.3438301086426, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "450a6af0.077264", + "f1abe0ce.a780e", + "22eaad2d.740fe2", + "52d9aa63.07fba4" + ] + ] + }, + { + "id": "37119559.6466ba", + "type": "block", + "name": "Add RRM Policy Ratio", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3046.989757537842, + "y": 3047.3439598083496, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "7c40a293.96bedc", + "3f353e95.f8c492", + "3c7990a9.7c87d", + "75c6c4ed.9f102c", + "22bee22b.25b93e", + "a2b6f57.2246308", + "3db1aaaa.8fcc26", + "574be0db.cf3bb" + ] + ] + }, + { + "id": "6b52160.c36d3ec", + "type": "switchNode", + "name": "ransim mounted", + "xml": "<switch test='`$prop.ransim-mounted`'>\n", + "comments": "", + "outputs": 1, + "x": 3046.9897117614746, + "y": 2416.344165802002, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "55e090c9.3297a", + "c307ad20.e1626" + ] + ] + }, + { + "id": "55e090c9.3297a", + "type": "outcome", + "name": "Not Mounted", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 3236.9896926879883, + "y": 2386.343949317932, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "16f8bcf.2cd9443" + ] + ] + }, + { + "id": "c307ad20.e1626", + "type": "outcome", + "name": "Mounted", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 3216.9896659851074, + "y": 2465.3440408706665, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "cca2ea7b.38df78" + ] + ] + }, + { + "id": "f1abe0ce.a780e", + "type": "for", + "name": "For CUCPList Entries", + "xml": "<for index='id2' start='0' end='`$tmp.CUCPListEntries`' >", + "comments": "", + "outputs": 1, + "x": 1831.9895248413086, + "y": 2050.343952178955, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "cc58c96d.ad11e8", + "583a1999.80b308", + "1633cee4.fbe6d1", + "7c6edc86.2aebf4", + "3f4a4532.bd222a" + ] + ] + }, + { + "id": "450a6af0.077264", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPListEntries`\"/>", + "comments": "", + "outputs": 1, + "x": 1746.989658355713, + "y": 1958.344087600708, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "22eaad2d.740fe2", + "type": "execute", + "name": "set CUCP Level parms", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPListEntries' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction_length'`\" />", + "comments": "", + "outputs": 1, + "x": 1711.9896392822266, + "y": 1907.343698501587, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "580eec80.842194", + "type": "execute", + "name": "cellCUList Entries", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUListEntries' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction[' + $id2 + '].NRCellCU_length'`\" />", + "comments": "", + "outputs": 1, + "x": 2511.9893112182617, + "y": 1768.3442080020905, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "cc58c96d.ad11e8", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Numberof cellCU of Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellCUListEntries`\"/>\n<parameter name=\"field3\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBCUCPList.gNBId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.gNBCUCPList.gNBIdLength`\"/>", + "comments": "", + "outputs": 1, + "x": 2109.989797592163, + "y": 1974.3440713882446, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "583a1999.80b308", + "type": "block", + "name": "cellCUCPList Level Parms", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2178.989532470703, + "y": 1871.3438911437988, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "580eec80.842194", + "dcfa2e91.546e5", + "77d625e6.b4cb4c", + "6e43c18b.70fb2" + ] + ] + }, + { + "id": "dcfa2e91.546e5", + "type": "execute", + "name": "gNBCUCPList.gNBCUName", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.gNBCUName' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction[' + $id2 + '].attributes.gNBCUName'`\" />\n", + "comments": "", + "outputs": 1, + "x": 2540.9893493652344, + "y": 1811.343831062317, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "77d625e6.b4cb4c", + "type": "execute", + "name": "gNBCUCPList-gNBId", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.gNBId' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction[' + $id2 + '].attributes.gNBId'`\" />", + "comments": "", + "outputs": 1, + "x": 2555.9896507263184, + "y": 1860.3439531326294, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "6e43c18b.70fb2", + "type": "execute", + "name": "gNBCUCPList-gNBIdLength", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.gNBIdLength' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction[' + $id2 + '].attributes.gNBIdLength'`\" />", + "comments": "", + "outputs": 1, + "x": 2581.989532470703, + "y": 1909.3440742492676, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "a793028.cf38", + "type": "for", + "name": "For List of Cells ", + "xml": "<for index='id3' start='0' end='`$tmp.cellListSize`' >", + "comments": "", + "outputs": 1, + "x": 2160.979606628418, + "y": 2256.34402179718, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "acd85ee9.0324e", + "7651a599.a9b0dc", + "1927dd97.e904d2", + "4a58c74c.318ed8", + "edece7a3.dd49d8" + ] + ] + }, + { + "id": "1633cee4.fbe6d1", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"MCC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"MNC \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"Calculated uLThptPerSlice \"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Calculated dLThptPerSlice \"/>\n<parameter name=\"field8\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field9\" value=\"Calculated maxNumberOfConns \"/>\n<parameter name=\"field10\" value=\"`$tmp.maxNumberOfConns`\"/>", + "comments": "", + "outputs": 1, + "x": 2108.979331970215, + "y": 2015.3438272476196, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "223a43d.d0860bc", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PLMNInfoList Entry Add to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>", + "comments": "", + "outputs": 1, + "x": 3387.9905395507812, + "y": 2756.6775465011597, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "f46479c0.f3cda8", + "type": "block", + "name": "Add PLMNInfoList Entry", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3092.9893836975098, + "y": 2692.687921524048, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "223a43d.d0860bc", + "44e9c024.f4327", + "7a08b87f.a399e8", + "e80deb26.edbc88", + "e4c4b39.845665", + "5d716177.03f33", + "6b52160.c36d3ec", + "a2911caa.0ae37", + "a08d08c0.2cad78" + ] + ] + }, + { + "id": "a2911caa.0ae37", + "type": "execute", + "name": "add PLMNInfoListEntry ToNRCellCU using PUT", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"PLMNInfoListEntry-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />", + "comments": "", + "outputs": 1, + "x": 3494.990074157715, + "y": 2831.6878814697266, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "cb47bd31.2a362", + "4d3537b6.ba0c78" + ] + ] + }, + { + "id": "44e9c024.f4327", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add PLMNInfoListEntry ToNRCellCU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>", + "comments": "", + "outputs": 1, + "x": 3381.989501953125, + "y": 2724.688105583191, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "16f8bcf.2cd9443", + "type": "execute", + "name": "generate addPLMNInfoListEntry.ToNRCellCU", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 3521.9896202087402, + "y": 2386.3440990448, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "7a08b87f.a399e8", + "type": "execute", + "name": "Populate idGNBCUCPFunction", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>", + "comments": "", + "outputs": 1, + "x": 3403.9794120788574, + "y": 2522.34392118454, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "e80deb26.edbc88", + "type": "execute", + "name": "Populate idNRCellCU", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>", + "comments": "", + "outputs": 1, + "x": 3391.97940826416, + "y": 2568.343982219696, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "e4c4b39.845665", + "type": "execute", + "name": "Populate mcc", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>", + "comments": "", + "outputs": 1, + "x": 3378.979410171509, + "y": 2609.3440437316895, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "5d716177.03f33", + "type": "execute", + "name": "Populate mnc", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>", + "comments": "", + "outputs": 1, + "x": 3386.97940826416, + "y": 2650.343921661377, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "cb47bd31.2a362", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3610.989734649658, + "y": 2629.6772241592407, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "a7629a42.794538" + ] + ] + }, + { + "id": "4d3537b6.ba0c78", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3903.989776611328, + "y": 2851.677315711975, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "6ce2050d.fed9ec" + ] + ] + }, + { + "id": "a7629a42.794538", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 3744.989734649658, + "y": 2636.677346229553, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "5a4a1124.3b8d5", + "efa5b4cd.0af608" + ] + ] + }, + { + "id": "6ce2050d.fed9ec", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4078.989456176758, + "y": 2848.677315711975, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "39bee01e.f42" + ] + ] + }, + { + "id": "5a4a1124.3b8d5", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding PLMNInfoList Entry to NRCellCU\" />", + "comments": "", + "x": 3890.9894104003906, + "y": 2736.677426338196, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "39bee01e.f42", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add to NRCELLCU Executed Successfully \"/>", + "comments": "", + "outputs": 1, + "x": 4233.99010848999, + "y": 2840.677641391754, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "52d9aa63.07fba4", + "type": "set", + "name": "Calculate RRM Parms", + "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNearRTRIC-cps-response._length`' />\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNearRTRIC-cps-response._length`' />\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNearRTRIC-cps-response._length`' />\n", + "comments": "", + "x": 1816.9792442321777, + "y": 2005.3440895080566, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "a3f9f991.991298", + "type": "execute", + "name": "generate addPLMNInfoListEntry.ToNRCellCU", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 3716.979347229004, + "y": 2430.3439798355103, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "cca2ea7b.38df78", + "type": "block", + "name": "ransim URL", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3409.979316711426, + "y": 2460.3440408706665, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "a3f9f991.991298", + "df8ea361.cb7f8" + ] + ] + }, + { + "id": "df8ea361.cb7f8", + "type": "execute", + "name": "populate mountName", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>", + "comments": "", + "outputs": 1, + "x": 3660.979747772217, + "y": 2483.3441734313965, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "7ff3c2a.9ef9e3c", + "type": "comment", + "name": "Connect to AddPLMNInfoList Entry", + "info": "when able to talk to latest SDNC", + "comments": "", + "x": 3390.979106903076, + "y": 2790.6771392822266, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "7c40a293.96bedc", + "type": "switchNode", + "name": "ransim mounted", + "xml": "<switch test='`$prop.ransim-mounted`'>\n", + "comments": "", + "outputs": 1, + "x": 3245.979106903076, + "y": 2948.010513305664, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "c24148bc.f295c8", + "637c4fbb.9878f" + ] + ] + }, + { + "id": "c24148bc.f295c8", + "type": "outcome", + "name": "Not Mounted", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 3458.9790115356445, + "y": 2888.0106468200684, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "57101a90.e7ab14" + ] + ] + }, + { + "id": "637c4fbb.9878f", + "type": "outcome", + "name": "Mounted", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 3438.9790115356445, + "y": 2932.010585784912, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "1a059aaf.e5b465" + ] + ] + }, + { + "id": "a2b6f57.2246308", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>", + "comments": "", + "outputs": 1, + "x": 3451.980541229248, + "y": 3169.3448753356934, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "3db1aaaa.8fcc26", + "type": "execute", + "name": "add RRM Policy ToNRCellCU using PUT", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />", + "comments": "", + "outputs": 1, + "x": 3519.9790077209473, + "y": 3208.354217529297, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "4ccbe20b.9c592c", + "90e3a354.4c4ea" + ] + ] + }, + { + "id": "22bee22b.25b93e", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio ToNRCellCU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>", + "comments": "", + "outputs": 1, + "x": 3425.9792556762695, + "y": 3134.3542137145996, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "57101a90.e7ab14", + "type": "execute", + "name": "generate addRRMPolicy.ToNRCellDU URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 3749.9790115356445, + "y": 2894.0106468200684, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "3f353e95.f8c492", + "type": "execute", + "name": "Populate idGNBCUCPFunction", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>", + "comments": "", + "outputs": 1, + "x": 3467.96883392334, + "y": 2971.010917186737, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "3c7990a9.7c87d", + "type": "execute", + "name": "Populate idNRCellCU", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>", + "comments": "", + "outputs": 1, + "x": 3442.9688148498535, + "y": 3017.0105686187744, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "75c6c4ed.9f102c", + "type": "execute", + "name": "Populate id", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatioID.NRCellCU`\"/>", + "comments": "", + "outputs": 1, + "x": 3423.968822479248, + "y": 3057.0109519958496, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "4ccbe20b.9c592c", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3808.9794425964355, + "y": 3185.3441467285156, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "a8f00aea.075af8" + ] + ] + }, + { + "id": "90e3a354.4c4ea", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3811.979503631592, + "y": 3236.343780517578, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "3ba9ae08.388d82" + ] + ] + }, + { + "id": "a8f00aea.075af8", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 3904.979320526123, + "y": 3105.343963623047, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "417eb5a5.0d331c", + "efa5b4cd.0af608" + ] + ] + }, + { + "id": "3ba9ae08.388d82", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 3963.979196548462, + "y": 3221.343780517578, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "e914c527.9eb328" + ] + ] + }, + { + "id": "417eb5a5.0d331c", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding RRMPolicyr\" />", + "comments": "", + "x": 4031.979076385498, + "y": 3169.344085216522, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "e914c527.9eb328", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio to NRCELLCU Executed Successfully \"/>", + "comments": "", + "outputs": 1, + "x": 4151.979503631592, + "y": 3206.344085216522, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "a46ea418.649278", + "type": "execute", + "name": "generate RRMPolicy Ratio URL ToNRCellDU", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 3923.9687576293945, + "y": 2941.0106468200684, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "1a059aaf.e5b465", + "type": "block", + "name": "ransim URL", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3630.969005584717, + "y": 2929.010585784912, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "a46ea418.649278", + "a66bee30.5ab37" + ] + ] + }, + { + "id": "a66bee30.5ab37", + "type": "execute", + "name": "populate mountName", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>", + "comments": "", + "outputs": 1, + "x": 3880.9688816070557, + "y": 2976.010585784912, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "4932e5eb.706bec", + "type": "comment", + "name": "Connect to RRM P{olicy Ratio", + "info": "when able to talk to latest SDNC", + "comments": "", + "x": 3583.968574523926, + "y": 3184.3436584472656, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "6511f915.2bf8e8", + "type": "block", + "name": "CUUP", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1840.0207481384277, + "y": 3640.08872795105, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "dc5c6dc2.7e02e", + "5ca6d07f.f52b4", + "1af7cb34.ff75b5", + "4678f7d1.100228" + ] + ] + }, + { + "id": "16250274.f5ebfe", + "type": "block", + "name": "Add RRM Policy Ratio", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3202.0210342407227, + "y": 5107.089056253433, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "c3717ea9.66b86", + "3dc915f1.8d560a", + "551df6bd.2cded8", + "3de9f0fc.c46c6", + "bffb3e1c.245f6", + "fc13c405.a48398", + "592c5104.20cc5" + ] + ] + }, + { + "id": "3c75509f.46af7", + "type": "switchNode", + "name": "ransim mounted", + "xml": "<switch test='`$prop.ransim-mounted`'>\n", + "comments": "", + "outputs": 1, + "x": 3398.0207710266113, + "y": 4352.089798927307, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "2d98452.10adaba", + "61d78cbf.94b6b4" + ] + ] + }, + { + "id": "2d98452.10adaba", + "type": "outcome", + "name": "Not Mounted", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 3639.0207710266113, + "y": 4284.089799404144, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "2d976c78.6ad2a4" + ] + ] + }, + { + "id": "61d78cbf.94b6b4", + "type": "outcome", + "name": "Mounted", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 3620.020893096924, + "y": 4378.089676856995, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "bc2abc2d.1a778" + ] + ] + }, + { + "id": "5ca6d07f.f52b4", + "type": "for", + "name": "For List of CUUP's", + "xml": "<for index='id2' start='0' end='`$tmp.CUUPListEntries `' >", + "comments": "", + "outputs": 1, + "x": 2486.020782470703, + "y": 3734.089557647705, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "b3014ceb.a2114", + "397cc721.daab88", + "49c41044.d34c9", + "61a2a179.7d6c2", + "16250274.f5ebfe", + "b3cc6806.d35378", + "1fe961c1.d43d0e", + "b097f039.b4c79", + "762e809.6b8078", + "a400f228.4762e", + "7be55c1b.5675b4", + "fda0004a.7f313", + "6cfc902.0edcc7", + "df8b0c49.e9e65", + "9a49851c.9c7ca8" + ] + ] + }, + { + "id": "dc5c6dc2.7e02e", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"No. of CUUPs\"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPListEntries`\"/>", + "comments": "", + "outputs": 1, + "x": 2909.0206336975098, + "y": 3487.089030265808, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "1af7cb34.ff75b5", + "type": "execute", + "name": "set CUUP Level parms", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPListEntries' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUUPFunction_length'`\" />", + "comments": "", + "outputs": 1, + "x": 2912.020538330078, + "y": 3444.0891132354736, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "b3014ceb.a2114", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP Details \"/>\n<parameter name=\"field2\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.gNBCUUPList.gNBId`\"/>", + "comments": "", + "outputs": 1, + "x": 3396.020538330078, + "y": 3900.0896015167236, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "397cc721.daab88", + "type": "block", + "name": "cellCUUPList Level Parms", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3362.0206756591797, + "y": 3829.0892322063446, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "69e2b5c7.d513bc", + "b0adcfc0.b67d1" + ] + ] + }, + { + "id": "69e2b5c7.d513bc", + "type": "execute", + "name": "gNBCUUPList.gNBCUUPId", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUUPList.gNBCUUPId' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUUPFunction[' + $id2 + '].attributes.gNBCUUPId.value'`\" />\n", + "comments": "", + "outputs": 1, + "x": 3799.020782470703, + "y": 3748.089069366455, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "b0adcfc0.b67d1", + "type": "execute", + "name": "gNBCUUPList-gNBId", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUUPList.gNBId' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUUPFunction[' + $id2 + '].attributes.gNBId'`\" />", + "comments": "", + "outputs": 1, + "x": 3820.0208702087402, + "y": 3843.0892162323, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "db676204.7581b", + "type": "for", + "name": "For pLMNInfoListEntries", + "xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >", + "comments": "", + "outputs": 1, + "x": 3401.0103874206543, + "y": 4138.089226961136, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "e96c539.5d65ab" + ] + ] + }, + { + "id": "49c41044.d34c9", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"MCC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"MNC \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"Calculated uLThptPerSlice \"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Calculated dLThptPerSlice \"/>\n<parameter name=\"field8\" value=\"`$tmp.dLThptPerSlice`\"/>", + "comments": "", + "outputs": 1, + "x": 3401.010509490967, + "y": 3992.089104413986, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "e96c539.5d65ab", + "type": "block", + "name": "pLMNInfoList Parms", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3652.0105628967285, + "y": 4137.089178085327, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "9ebc6db4.3e7a5", + "221fee53.ba20f2" + ] + ] + }, + { + "id": "9ebc6db4.3e7a5", + "type": "execute", + "name": "sNSSAI", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].pLMNInfoList[' + $id3 + '].sNSSAI'`\" />", + "comments": "", + "outputs": 1, + "x": 3866.010528564453, + "y": 4088.0893001556396, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "95cda60c.38bfb8", + "type": "comment", + "name": "Check if sNSSAI already exists in YANG tree", + "info": "This needs more work. If sNSSAI already exists in the YANG tree, need to patch the existing pLMNInfoList entry", + "comments": "", + "x": 3469.0105476379395, + "y": 4193.089178085327, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "221fee53.ba20f2", + "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=\"sNSSAI from RAN to check if already exists \"/>\n<parameter name=\"field2\" value=\"`$tmp.fromRAN.sNSSAI`\"/>\n", + "comments": "", + "outputs": 1, + "x": 3870.0105895996094, + "y": 4172.08881187439, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "ffd2a690.0197a8", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PLMNInfoList Entry Add to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>", + "comments": "", + "outputs": 1, + "x": 3747.021739959717, + "y": 4727.422569274902, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "61a2a179.7d6c2", + "type": "block", + "name": "Add PLMNInfoList Entry", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3341.0205268859863, + "y": 4537.433418273926, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "ffd2a690.0197a8", + "cc468ef0.27175", + "9fc77afc.8e0988", + "97241c4b.51837", + "4e03e28e.72fcec", + "3c75509f.46af7", + "da1ddc89.010aa", + "d3141bb1.ef1998" + ] + ] + }, + { + "id": "da1ddc89.010aa", + "type": "execute", + "name": "add PLMNInfoListEntry ToGNBCUUPFn using PUT", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-GNBCUUPFn.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"PLMNInfoListEntry-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />", + "comments": "", + "outputs": 1, + "x": 3739.020824432373, + "y": 4786.433128356934, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "eebfac6f.41bca", + "ec4b749a.0288b8" + ] + ] + }, + { + "id": "cc468ef0.27175", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add PLMNInfoListEntry ToGNBCUUPFn URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>", + "comments": "", + "outputs": 1, + "x": 3749.0207023620605, + "y": 4679.433128356934, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "2d976c78.6ad2a4", + "type": "execute", + "name": "generate addPLMNInfoListEntry.ToGNBCUUPFn", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToGNBCUUPFn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 3951.020580291748, + "y": 4284.089436531067, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "9fc77afc.8e0988", + "type": "execute", + "name": "Populate idGNBCUUPFunction", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n", + "comments": "", + "outputs": 1, + "x": 3801.010326385498, + "y": 4471.089359283447, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "97241c4b.51837", + "type": "execute", + "name": "Populate mcc", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>", + "comments": "", + "outputs": 1, + "x": 3767.010326385498, + "y": 4533.089361190796, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "4e03e28e.72fcec", + "type": "execute", + "name": "Populate mnc", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>", + "comments": "", + "outputs": 1, + "x": 3764.010326385498, + "y": 4582.0893630981445, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "eebfac6f.41bca", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 4000.0213928222656, + "y": 4563.422077178955, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "7fd80efa.d9d68" + ] + ] + }, + { + "id": "ec4b749a.0288b8", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 4041.021759033203, + "y": 4721.423175811768, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "b46da250.48b65" + ] + ] + }, + { + "id": "7fd80efa.d9d68", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4214.021026611328, + "y": 4489.42280960083, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "5ee16b2b.4a6364", + "efa5b4cd.0af608" + ] + ] + }, + { + "id": "b46da250.48b65", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4055.0211486816406, + "y": 4784.42329788208, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "1d502ff0.9bd78" + ] + ] + }, + { + "id": "5ee16b2b.4a6364", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding PLMNInfoList Entry to GNBCUUPFn\" />", + "comments": "", + "x": 4201.020660400391, + "y": 4618.42280960083, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "1d502ff0.9bd78", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add Executed Successfully \"/>", + "comments": "", + "outputs": 1, + "x": 4202.021514892578, + "y": 4772.42329788208, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "b71197e9.8ad448", + "type": "execute", + "name": "generate addPLMNInfoListEntry ToGNBCUUPFn", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToGNBCUUPFn.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 4146.010334014893, + "y": 4347.089437484741, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "bc2abc2d.1a778", + "type": "block", + "name": "ransim URL", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3801.010166168213, + "y": 4379.08943939209, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "b71197e9.8ad448", + "f97c87e4.95d698" + ] + ] + }, + { + "id": "f97c87e4.95d698", + "type": "execute", + "name": "populate mountName", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>", + "comments": "", + "outputs": 1, + "x": 4065.0106620788574, + "y": 4411.08943939209, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "6e98a658.2ee568", + "type": "comment", + "name": "Connect to AddPLMNInfoList Entry", + "info": "when able to talk to latest SDNC", + "comments": "", + "x": 3493.0103912353516, + "y": 4684.42281627655, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "c3717ea9.66b86", + "type": "switchNode", + "name": "ransim mounted", + "xml": "<switch test='`$prop.ransim-mounted`'>\n", + "comments": "", + "outputs": 1, + "x": 3434.010284423828, + "y": 4934.755329847336, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "f33184bd.bce378", + "4138cee3.af21" + ] + ] + }, + { + "id": "f33184bd.bce378", + "type": "outcome", + "name": "Not Mounted", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 3629.010311126709, + "y": 4894.755237340927, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "f8450873.8673e8" + ] + ] + }, + { + "id": "4138cee3.af21", + "type": "outcome", + "name": "Mounted", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 3609.010284423828, + "y": 4973.7553288936615, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "e575678b.570e48" + ] + ] + }, + { + "id": "bffb3e1c.245f6", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to GNBCUUPFn\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>", + "comments": "", + "outputs": 1, + "x": 3534.0119705200195, + "y": 5181.089304924011, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "fc13c405.a48398", + "type": "execute", + "name": "add RRM Policy ToGNBCUUPFn using PUT", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-GNBCUUPFn.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />", + "comments": "", + "outputs": 1, + "x": 3644.011428833008, + "y": 5260.099558830261, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "f0424ecb.810ba", + "f3ac82ad.f3241" + ] + ] + }, + { + "id": "3de9f0fc.c46c6", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio ToGNBCUUPFn URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>", + "comments": "", + "outputs": 1, + "x": 3544.011054992676, + "y": 5147.099070549011, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "f8450873.8673e8", + "type": "execute", + "name": "generate addRRMPolicy.ToNRCellDU URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToGNBCUUPFn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 3912.010284423828, + "y": 4889.75532913208, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "3dc915f1.8d560a", + "type": "execute", + "name": "Populate idGNBCUUPFunction", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>", + "comments": "", + "outputs": 1, + "x": 3625.000198364258, + "y": 5025.755868911743, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "551df6bd.2cded8", + "type": "execute", + "name": "Populate id", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatioID.GNBCUUPFunction`\"/>", + "comments": "", + "outputs": 1, + "x": 3582.0002517700195, + "y": 5066.7561140060425, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "f0424ecb.810ba", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3909.0106887817383, + "y": 5115.088666200638, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "6eeb80a.f9fc88" + ] + ] + }, + { + "id": "f3ac82ad.f3241", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3972.01065826416, + "y": 5302.089076280594, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "6e9acb38.427b94" + ] + ] + }, + { + "id": "6eeb80a.f9fc88", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4129.010444641113, + "y": 5104.089154481888, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "986627e0.8c5bc8", + "efa5b4cd.0af608" + ] + ] + }, + { + "id": "6e9acb38.427b94", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4134.010047912598, + "y": 5286.089442491531, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "51805b4f.a81924" + ] + ] + }, + { + "id": "986627e0.8c5bc8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding RRMPolicy\" />", + "comments": "", + "x": 4138.010414123535, + "y": 5182.089442491531, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "51805b4f.a81924", + "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=\"addRRMPolicyRatio Executed Successfully \"/>", + "comments": "", + "outputs": 1, + "x": 4287.01065826416, + "y": 5268.090052843094, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "716b6d71.a97f04", + "type": "execute", + "name": "generate RRMPolicy Ratio URL ToNRCellDU", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToGNBCUUPFn.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 4026.0000228881836, + "y": 4940.755449056625, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "e575678b.570e48", + "type": "block", + "name": "ransim URL", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3755.0000076293945, + "y": 4939.755448579788, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "716b6d71.a97f04", + "73342bce.e1a1d4" + ] + ] + }, + { + "id": "73342bce.e1a1d4", + "type": "execute", + "name": "populate mountName", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>", + "comments": "", + "outputs": 1, + "x": 3979.000015258789, + "y": 5021.755776643753, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "dd67b696.6ffc18", + "type": "comment", + "name": "Connect to RRM P{olicy Ratio", + "info": "when able to talk to latest SDNC", + "comments": "", + "x": 3577.0004959106445, + "y": 5217.089182853699, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "4678f7d1.100228", + "type": "block", + "name": "rrmPolicyDedicatedRatio", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2878.021125793457, + "y": 3588.7663984298706, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "5576efdc.d5703", + "6d61f19c.788f2", + "a8505ab1.84aa88", + "65fa62bc.74c76c", + "b6bea85b.8c8a58", + "f6f86965.f95248", + "8fdb21d4.09527" + ] + ] + }, + { + "id": "b6bea85b.8c8a58", + "type": "set", + "name": "calculation rrm5", + "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rRMPolicyDedicatedRatio.CUUP1 / $prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />", + "comments": "", + "x": 3136.0215492248535, + "y": 3699.5439863204956, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "a8505ab1.84aa88", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CUUP \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field3\" value=\"tmp.TotalNumberOfDRBForNSSAI \"/>\n<parameter name=\"field4\" value=\"`$tmp.TotalNumberOfDRBForNSSAI`\"/>\n<parameter name=\"field5\" value=\"tmp.DRBPerCUUPForSNSSAI \"/>\n<parameter name=\"field6\" value=\"`$tmp.DRBPerCUUPForSNSSAI`\"/>\n<parameter name=\"field7\" value=\"tmp.rRMPolicyDedicatedRatio.CUUP1 \"/>\n<parameter name=\"field8\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP1`\"/>\n<parameter name=\"field9\" value=\"tmp.rRMPolicyDedicatedRatio.CUUP\"/>\n<parameter name=\"field10\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field11\" value=\"tmp.maxNumberOfConns\"/>\n<parameter name=\"field12\" value=\"`$tmp.maxNumberOfConns-CUUP`\"/>", + "comments": "", + "outputs": 1, + "x": 3096.021308898926, + "y": 3748.211099624634, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "753382d8.45cb3c", + "type": "execute", + "name": "gNBCUUPList-pLMNInfoList_length", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].pLMNInfoList_length'`\" />", + "comments": "", + "outputs": 1, + "x": 3854.020637512207, + "y": 3928.0891420841217, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "df35f604.cd4b98", + "type": "execute", + "name": "gNBCUUPList-pLMNId", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].pLMNId'`\" />", + "comments": "", + "outputs": 1, + "x": 3860.243564605713, + "y": 4015.765079498291, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "17de597c.9912d7", + "type": "comment", + "name": "Assumption pLMNId in configDB resp", + "info": "Assumed that configDB responnse will include pLMNId...currently, it is not there", + "comments": "", + "x": 3881.243408203125, + "y": 3973.764797449112, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "1070fbb2.25f074", + "type": "block", + "name": "SO Response", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 269.9939651489258, + "y": 2557.7650756835938, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "cf92e38f.eec56", + "d2eccc0a.b3fbe", + "183d3040.0ee51", + "b8c43a79.25b008", + "f2179ecd.60fe3", + "28d03768.f261b8" + ] + ] + }, + { + "id": "183d3040.0ee51", + "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": 694.9951324462891, + "y": 2566.664430618286, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "cf92e38f.eec56", + "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/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=\"`$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`\" />\n<parameter name='field9' value=\"`$tmp.DUList.response_length`\" />\n<parameter name='field10' value=\"`$tmp.CUCPList.response`\" />\n<parameter name='field11' value=\"`$tmp.CUUPList.response`\" />\n<parameter name='field12' value=\"`$tmp.DUList.response`\" />", + "comments": "", + "outputs": 1, + "x": 662.9939384460449, + "y": 2671.765007376671, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "d2eccc0a.b3fbe", + "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": 540.9940423965454, + "y": 2748.764630317688, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "b74f2354.aab59", + "d8dca77b.261908" + ] + ] + }, + { + "id": "b74f2354.aab59", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 705.9940423965454, + "y": 2728.7646293640137, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "ecf30157.22e9a" + ] + ] + }, + { + "id": "d8dca77b.261908", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 697.993935585022, + "y": 2801.764579772949, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "9fa86be0.d807f8" + ] + ] + }, + { + "id": "9fa86be0.d807f8", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 843.9937791824341, + "y": 2806.7646884918213, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "722d70ca.e540f" + ] + ] + }, + { + "id": "ecf30157.22e9a", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 854.9939432144165, + "y": 2724.7647647857666, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "fbf5cd11.61469", + "3f7d8949.eaec56" + ] + ] + }, + { + "id": "fbf5cd11.61469", + "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": 1001.9935617446899, + "y": 2735.764506340027, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "722d70ca.e540f", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>", + "comments": "", + "outputs": 1, + "x": 1004.9936990737915, + "y": 2812.7645807266235, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "efa5b4cd.0af608", + "type": "block", + "name": "block : SO Response", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 5580.490123748779, + "y": 3422.010543823242, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "e6b578f6.952e98", + "5ee17ab0.8482c4", + "b4b8a81a.253448" + ] + ] + }, + { + "id": "e6b578f6.952e98", + "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.status\" value=\"`$error-code`\"/>\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": 5898.491100311279, + "y": 3345.910202026367, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "5ee17ab0.8482c4", + "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`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />", + "comments": "", + "outputs": 1, + "x": 5873.489986419678, + "y": 3443.0108795166016, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "b4b8a81a.253448", + "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": 5788.4899978637695, + "y": 3540.010757446289, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "64761b1c.fb0334", + "c9028c33.cfac" + ] + ] + }, + { + "id": "64761b1c.fb0334", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 6014.490006446838, + "y": 3517.010726451874, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "f739331d.1e6a9" + ] + ] + }, + { + "id": "c9028c33.cfac", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 6004.489860534668, + "y": 3625.0106658935547, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "b0b1523b.da75e" + ] + ] + }, + { + "id": "b0b1523b.da75e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 6154.489646911621, + "y": 3644.010726928711, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "9a56bf4a.282d8" + ] + ] + }, + { + "id": "f739331d.1e6a9", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 6165.489875793457, + "y": 3512.0108485221863, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "c98ed11c.4398b" + ] + ] + }, + { + "id": "c98ed11c.4398b", + "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": 6331.489555358887, + "y": 3515.0106658935547, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "9a56bf4a.282d8", + "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=\"SO Response Sent \"/>", + "comments": "", + "outputs": 1, + "x": 6318.48966217041, + "y": 3650.0106658935547, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "76dd264a.93e678", + "type": "block", + "name": "nearRTRIC", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1659.9899673461914, + "y": 999.3438243865967, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "276095ff.91e16a", + "ee4e10f.bbb88f", + "bd9deee9.19178", + "19047f12.40ea01", + "14a74d61.687653", + "6f8d204e.ab77d", + "9e34a190.b4509", + "9cc7de8e.f6eaa", + "250bac43.046f44" + ] + ] + }, + { + "id": "aee17e85.26423", + "type": "execute", + "name": "ranNFNSSIListEntry", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ranNFNSSIListEntry' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].ranNFNSSIList[0]'`\" />", + "comments": "", + "outputs": 1, + "x": 1610.9898681640625, + "y": 858.6771078109741, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "276095ff.91e16a", + "type": "set", + "name": "Calculate SliceProfile - NEarRTRIC part 1", + "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />\n", + "comments": "", + "x": 2011.3233489990234, + "y": 766.6772222518921, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "ee4e10f.bbb88f", + "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/instantiateRANSliceAllocate-cps.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=\"Calculated dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"Calculated maxNumberOfConns for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC1.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>", + "comments": "", + "outputs": 1, + "x": 2015.6564674377441, + "y": 1007.3440437316895, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "c2fc9fd7.2f032", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 3988.9897651672363, + "y": 3421.899688720703, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "7f64c367.7a523c", + "efa5b4cd.0af608", + "99b4e6ea.678d68" + ] + ] + }, + { + "id": "7f64c367.7a523c", + "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 RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/>", + "comments": "", + "x": 4297.989910125732, + "y": 3533.89919757843, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "f2abe69e.751e08", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated RRMPolicy CUCP info in CPS\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />", + "comments": "", + "outputs": 1, + "x": 3881.989818572998, + "y": 3567.8993759155273, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "baaa686f.0f6c28", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 3722.9904022216797, + "y": 3523.8999547958374, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "f2abe69e.751e08", + "70d5f98d.0a1c68" + ] + ] + }, + { + "id": "a3bd3fd7.d56cd", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3629.9900665283203, + "y": 3455.898377418518, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "baaa686f.0f6c28" + ] + ] + }, + { + "id": "1555e419.70281c", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3479.9901847839355, + "y": 3392.8996410369873, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "c2fc9fd7.2f032" + ] + ] + }, + { + "id": "70d5f98d.0a1c68", + "type": "set", + "name": "Increment RRMPolicyID", + "xml": "<set>\n<parameter name='tmp.rrmPolicyMemberID' value='`$tmp.rrmPolicyMemberID + 1`' />", + "comments": "", + "x": 3934.2222328186035, + "y": 3519.4650592803955, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "5af0447f.85e61c", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3894.521026611328, + "y": 5432.54195022583, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "d224ee85.1f355" + ] + ] + }, + { + "id": "caac4fc1.49221", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 4043.5208702087402, + "y": 5596.541608810425, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "c5cb37ba.c169d8" + ] + ] + }, + { + "id": "d224ee85.1f355", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4209.521026611328, + "y": 5436.54195022583, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "a14d017a.8a3d8", + "12b762d5.c08d7d", + "efa5b4cd.0af608" + ] + ] + }, + { + "id": "c5cb37ba.c169d8", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4173.520832061768, + "y": 5634.541606903076, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "d993fd9d.1ecac" + ] + ] + }, + { + "id": "d993fd9d.1ecac", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated gNBCUUP info in CPS\"/>", + "comments": "", + "outputs": 1, + "x": 4298.520835876465, + "y": 5604.5416078567505, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "a14d017a.8a3d8", + "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 info in ConfigDB. Aborting RPC executiopn'/>", + "comments": "", + "x": 4295.521026611328, + "y": 5516.54146194458, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "12b762d5.c08d7d", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating configCUUP info in ConfigDB. Aborting RPC executiopn'/>", + "comments": "", + "x": 4220.521026611328, + "y": 5336.65327835083, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "c5a464ec.f71908", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy CUUP info in CPS. Aborting RPC executiopn'/>", + "comments": "", + "x": 4294.490562438965, + "y": 5652.010521888733, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "28e73e00.bfb9b2", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4237.489582061768, + "y": 5714.899682998657, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "93d768fd.94b718", + "c5a464ec.f71908", + "efa5b4cd.0af608" + ] + ] + }, + { + "id": "93d768fd.94b718", + "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 RRMPolicy CUUP info in ConfigDB. Aborting RPC executiopn'/>", + "comments": "", + "x": 4358.490238189697, + "y": 5778.899034500122, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "308a1d18.43a132", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3784.4900665283203, + "y": 5659.898377418518, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "3d97273e.566fb8" + ] + ] + }, + { + "id": "3d97273e.566fb8", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 3754.490467071533, + "y": 5748.899684906006, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "26216457.52908c", + "ee0bd7eb.8d26c8" + ] + ] + }, + { + "id": "26216457.52908c", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated RRMPolicy CUUP info in CPS\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$tmp.rrmPolicyMemberID`' />", + "comments": "", + "outputs": 1, + "x": 3910.4904708862305, + "y": 5783.8996868133545, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "ee0bd7eb.8d26c8", + "type": "set", + "name": "Increment RRMPolicyID", + "xml": "<set>\n<parameter name='tmp.rrmPolicyMemberID' value='`$prop.configDB.rrmPolicyID + 1`' />", + "comments": "", + "x": 3961.7228965759277, + "y": 5713.464787483215, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "d592083b.9c2d48", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3789.6563682556152, + "y": 5596.343854904175, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "28e73e00.bfb9b2" + ] + ] + }, + { + "id": "e05bcfb7.a3bf6", + "type": "block", + "name": "block : SO Response", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2925.3247299194336, + "y": 7257.68115568161, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "6fc2b11f.077c9", + "955ff8c9.bdc148", + "37cfeb9b.6dee54" + ] + ] + }, + { + "id": "6fc2b11f.077c9", + "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.status\" value=\"`$error-code`\"/>\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": 3051.3253860473633, + "y": 7154.579591751099, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "955ff8c9.bdc148", + "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`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />", + "comments": "", + "outputs": 1, + "x": 3213.324737548828, + "y": 7282.681156158447, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "37cfeb9b.6dee54", + "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-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": 3032.3243370056152, + "y": 7445.680549144745, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "145af56e.8113fb", + "d3dc37e0.be9578" + ] + ] + }, + { + "id": "145af56e.8113fb", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3142.3248252868652, + "y": 7357.680305480957, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "711f2048.1f71a" + ] + ] + }, + { + "id": "d3dc37e0.be9578", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3084.3247032165527, + "y": 7531.680186748505, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "810b768d.9aa468" + ] + ] + }, + { + "id": "810b768d.9aa468", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 3215.324764251709, + "y": 7486.68116402626, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "77e7c799.ca48a8" + ] + ] + }, + { + "id": "711f2048.1f71a", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 3251.325008392334, + "y": 7426.681038379669, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "ca59a274.d0bfb" + ] + ] + }, + { + "id": "ca59a274.d0bfb", + "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": 3340.3240928649902, + "y": 7358.6811599731445, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "77e7c799.ca48a8", + "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=\"SO Response Sent \"/>", + "comments": "", + "outputs": 1, + "x": 3248.3248863220215, + "y": 7568.680431842804, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "63b00bd4.017bd4", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 2566.3237838745117, + "y": 7049.013158798218, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "6cbbfe07.4ea6" + ] + ] + }, + { + "id": "c567324.fa000d", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 2559.324333190918, + "y": 6955.01328086853, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "ecb28b18.d1ba18" + ] + ] + }, + { + "id": "6cbbfe07.4ea6", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2722.3234252929688, + "y": 7047.0144810676575, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "a7c526ee.e79858", + "2aafc563.8ada7a", + "e05bcfb7.a3bf6" + ] + ] + }, + { + "id": "ecb28b18.d1ba18", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2695.3234252929688, + "y": 6980.01317691803, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "3c306b79.368c44" + ] + ] + }, + { + "id": "3c306b79.368c44", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated DU info in CPS\"/>", + "comments": "", + "outputs": 1, + "x": 2872.323429107666, + "y": 6998.010573387146, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "a7c526ee.e79858", + "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 info in ConfigDB. Aborting RPC executiopn'/>", + "comments": "", + "x": 2666.323257446289, + "y": 7132.013181686401, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "2aafc563.8ada7a", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating configCUUP info in ConfigDB. Aborting RPC executiopn'/>", + "comments": "", + "x": 2887.3234329223633, + "y": 7061.12385559082, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "c94eba88.7ef0b8", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy DU info in ConfigDB. Aborting RPC executiopn'/>", + "comments": "", + "x": 2686.29314994812, + "y": 7298.482099533081, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "140989f0.bd05f6", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2554.292167663574, + "y": 7353.3699588775635, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "bbaf04ce.150308", + "c94eba88.7ef0b8", + "e05bcfb7.a3bf6" + ] + ] + }, + { + "id": "bbaf04ce.150308", + "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 RRMPolicy DU info in ConfigDB. Aborting RPC executiopn'/>", + "comments": "", + "x": 2711.292984008789, + "y": 7401.37012386322, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "19d4936d.cabecd", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 2438.2928161621094, + "y": 7141.368650436401, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "d26ee2e0.57da1" + ] + ] + }, + { + "id": "d26ee2e0.57da1", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2526.293468475342, + "y": 7244.369304656982, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "9808fca7.cdc88", + "3f60fcea.ce2e74" + ] + ] + }, + { + "id": "9808fca7.cdc88", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated RRMPolicy DU info in CPS\"/>\n<parameter name=\"field2\" value=\"Incremented CPS rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />", + "comments": "", + "outputs": 1, + "x": 2670.293800354004, + "y": 7244.370119094849, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "3f60fcea.ce2e74", + "type": "set", + "name": "Increment RRMPolicyID", + "xml": "<set>\n<parameter name='tmp.rrmPolicyMemberID' value='`$prop.configDB.rrmPolicyID + 1`' />", + "comments": "", + "x": 2696.5255699157715, + "y": 7189.93505859375, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "82f27e82.aa07a", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 2395.458953857422, + "y": 7343.813970565796, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "140989f0.bd05f6" + ] + ] + }, + { + "id": "ec462b24.75a1e8", + "type": "for", + "name": "For cellCU List", + "xml": "<for index='idCell' start='0' end='`$tmp.cellCUListEntries `' >", + "comments": "", + "outputs": 1, + "x": 2356.989776611328, + "y": 2441.010456085205, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "c8e479e7.263358" + ] + ] + }, + { + "id": "deb41f60.22472", + "type": "execute", + "name": "NRCellCU", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.cellLocalId' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBCUCPFunction[' + $id2 + '].NRCellCU[' + $idCell + '].attributes.cellLocalId'`\" />", + "comments": "", + "outputs": 1, + "x": 2672.989990234375, + "y": 2189.0106048583984, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "cc5825fd.87b9b8", + "type": "switchNode", + "name": "switch", + "xml": "<switch test=\"`$tmp.gNBCUCPList.cellLocalId == $tmp.cellLocalId`\"> \n", + "comments": "", + "outputs": 1, + "x": 2604.990264892578, + "y": 2497.010456085205, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "204f422.cf8afbe" + ] + ] + }, + { + "id": "204f422.cf8afbe", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2708.990264892578, + "y": 2406.010456085205, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "39971bf0.5dc314" + ] + ] + }, + { + "id": "39971bf0.5dc314", + "type": "block", + "name": "UpdateCell", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2799.9901123046875, + "y": 2475.010543823242, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "f46479c0.f3cda8", + "37119559.6466ba", + "5b894103.55831", + "7d2e3cb0.3fe134", + "697cd0a0.4e002", + "af869d8d.bb8db", + "23751f71.cd222" + ] + ] + }, + { + "id": "c8e479e7.263358", + "type": "block", + "name": "Block", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2470.989532470703, + "y": 2353.010456085205, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "deb41f60.22472", + "cc5825fd.87b9b8", + "e5a02ea0.1d7ed", + "eba61345.d0e9", + "dd848e3a.8f8ea" + ] + ] + }, + { + "id": "e875400.da0b9c", + "type": "for", + "name": "For cellDU List", + "xml": "<for index='idCell' start='0' end='`$tmp.cellDUListEntries`' >", + "comments": "", + "outputs": 1, + "x": 2455.2445106506348, + "y": 6329.017054080963, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "1c2e0e9e.d3b131" + ] + ] + }, + { + "id": "454ceb07.19f764", + "type": "switchNode", + "name": "switch", + "xml": "<switch test=\"`$tmp.cellLocalId == $tmp.tacellLocalId`\">", + "comments": "", + "outputs": 1, + "x": 2669.244384765625, + "y": 6546.014612197876, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "704aa877.922048" + ] + ] + }, + { + "id": "704aa877.922048", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2891.24462890625, + "y": 6544.015100479126, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "22936030.07e02" + ] + ] + }, + { + "id": "22936030.07e02", + "type": "block", + "name": "UpdateCell", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2933.2450256347656, + "y": 6635.015472412109, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "81f8a6e4.afe348", + "122ad994.9b9a46", + "e5c3fee0.cd9b2" + ] + ] + }, + { + "id": "1c2e0e9e.d3b131", + "type": "block", + "name": "Block", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2447.2440452575684, + "y": 6446.0144901275635, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "454ceb07.19f764", + "a3371b66.8415f8", + "e1aedf7.cdd372", + "56407b31.2246a4", + "1973ed69.a326e3" + ] + ] + }, + { + "id": "7c6edc86.2aebf4", + "type": "block", + "name": "rrmPolicyRatioPerCELLCU", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2176.9897689819336, + "y": 2049.010456085205, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "386eb2b1.24326e", + "f2f48dfe.bc7e2", + "4e867752.5d0338", + "f5e5b693.383e68" + ] + ] + }, + { + "id": "386eb2b1.24326e", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CellCU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>\n<parameter name=\"field3\" value=\"maxNumberOfConnsPercellCU \"/>\n<parameter name=\"field4\" value=\"`$tmp.maxNumberOfConnsPercellCU`\"/>\n<parameter name=\"field5\" value=\"rRMPolicyDedicatedRatio.CellCU1 \"/>\n<parameter name=\"field6\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU1`\"/>", + "comments": "", + "outputs": 1, + "x": 2376.989616394043, + "y": 2068.4551334381104, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "f6f86965.f95248", + "type": "set", + "name": "Calculate for RRM1", + "xml": "<set>\n<parameter name='tmp.maxNumberOfConns-CUUP' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`' />\n", + "comments": "", + "x": 3130.9902305603027, + "y": 3478.010199546814, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "845fac96.0dc0b", + "type": "set", + "name": "Calculate RRM Parms1", + "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n", + "comments": "", + "x": 2514.990119934082, + "y": 5436.012072563171, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "1fb75cdb.018953", + "type": "set", + "name": "calculation10", + "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n", + "comments": "", + "x": 2460.9901809692383, + "y": 5948.011828422546, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "3f7d8949.eaec56", + "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": 1025.5041618347168, + "y": 2684.7540607452393, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "28959e11.962232", + "type": "execute", + "name": "add RRM Policy ToNRCellDU using PUT", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />", + "comments": "", + "outputs": 1, + "x": 3986.0011291503906, + "y": 7465.000177383423, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "dcd06996.9419f8", + "ccd205bd.50a928" + ] + ] + }, + { + "id": "dcd06996.9419f8", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 4411.00016784668, + "y": 7454.989763259888, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "af4e8ab6.66bfb8" + ] + ] + }, + { + "id": "af4e8ab6.66bfb8", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4596.999523162842, + "y": 7447.989761352539, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "2be5c8b1.ca3f18" + ] + ] + }, + { + "id": "2be5c8b1.ca3f18", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio to NRCELLDU Executed Successfully \"/>", + "comments": "", + "outputs": 1, + "x": 4777.000183105469, + "y": 7464.989761352539, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "b8c43a79.25b008", + "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": 679.3336486816406, + "y": 2606.7504596710205, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "7de609de.117f48", + "type": "block", + "name": "Action Per DU", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2028.500087738037, + "y": 6013.333628177643, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "c94efb18.83e308", + "329d2d0c.6fbe52", + "4b1c44e9.52ae0c", + "13707b1.958bc85" + ] + ] + }, + { + "id": "e87c125a.d40ad", + "type": "block", + "name": "Activies Per Call", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2256.1668014526367, + "y": 6281.3338260650635, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "e875400.da0b9c", + "a3f31b0e.e39308", + "80b03848.2437a8", + "88189157.2f2e9", + "4664cedb.d83dd" + ] + ] + }, + { + "id": "e5c3fee0.cd9b2", + "type": "block", + "name": "CPS DU", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1602.8341598510742, + "y": 6851.001928329468, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "27dcaeab.b63122", + "1295fa84.c0b875", + "84df08f8.343c38" + ] + ] + }, + { + "id": "2c352e43.e95302", + "type": "block", + "name": "Block", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2974.1669845581055, + "y": 6150.000532150269, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "76552f36.3806e", + "7557ef29.dbae1", + "4a055152.a7f46" + ] + ] + }, + { + "id": "bd9deee9.19178", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload slice parameters - maxNumberofUEs \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field3\" value=\"Payload slice parameters - maxNumberofConns\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>\n<parameter name=\"field5\" value=\"Payload slice parameters - dLThptPerSlice\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.dLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Payload slice parameters - uLThptPerSlice\"/>\n<parameter name=\"field8\" value=\"`$payloadJson.input.sliceProfile.uLThptPerSlice`\"/>", + "comments": "", + "outputs": 1, + "x": 1864.5003204345703, + "y": 693.3334331512451, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "19047f12.40ea01", + "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-sliceparms-cps-context.log' />\n\n\n", + "comments": "", + "outputs": 1, + "x": 2045.1668510437012, + "y": 955.6667952537537, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "14a74d61.687653", + "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-sliceparms-context2.log' />\n\n\n", + "comments": "", + "outputs": 1, + "x": 2023.5001640319824, + "y": 1061.3334293365479, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "f2f48dfe.bc7e2", + "type": "set", + "name": "calculation1", + "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.maxNumberOfConns / $tmp.cellCUListEntries`' />", + "comments": "", + "x": 2412.833396911621, + "y": 1944.0000553131104, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "4e867752.5d0338", + "type": "set", + "name": "calculation2", + "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />", + "comments": "", + "x": 2415.833366394043, + "y": 1985.666711807251, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "f5e5b693.383e68", + "type": "set", + "name": "calculation3", + "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />", + "comments": "", + "x": 2402.8332748413086, + "y": 2029.6666202545166, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "5576efdc.d5703", + "type": "set", + "name": "Calculate for RRM2", + "xml": "<set>\n<parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns-CUUP*4`' />", + "comments": "", + "x": 3157.031681060791, + "y": 3551.531657218933, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "6d61f19c.788f2", + "type": "set", + "name": "Calculate for RRM3", + "xml": "<set>\n<parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' />", + "comments": "", + "x": 3171.031806945801, + "y": 3604.5315341949463, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "65fa62bc.74c76c", + "type": "set", + "name": "calculation rrm4", + "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP1' value='`$tmp.DRBPerCUUPForSNSSAI * 100`' />", + "comments": "", + "x": 3143.0313148498535, + "y": 3642.531413078308, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "3a5b1e66.46b702", + "type": "set", + "name": "Calculate RRM Parms2", + "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n", + "comments": "", + "x": 2523.531379699707, + "y": 5481.032092034817, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "cbba5928.6a59f8", + "type": "set", + "name": "Calculate RRM Parms3", + "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />", + "comments": "", + "x": 2513.5315017700195, + "y": 5536.031969964504, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "c0e75462.4bf078", + "type": "set", + "name": "Calculate RRM Parms4", + "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n", + "comments": "", + "x": 2513.531379699707, + "y": 5587.031970024109, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "dbc387ab.afb758", + "type": "set", + "name": "Calculate RRM Parms5", + "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />", + "comments": "", + "x": 2501.5315017700195, + "y": 5647.032092034817, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "38bc61.ba2853a", + "type": "set", + "name": "Calculate RRM Parms6", + "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />", + "comments": "", + "x": 2539.531379699707, + "y": 5697.032092034817, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "2a8281e3.c92d1e", + "type": "set", + "name": "Calculate RRM Parms7", + "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n", + "comments": "", + "x": 2526.531318664551, + "y": 5767.032458305359, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "4ea56ac8.efdec4", + "type": "set", + "name": "calculation8", + "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.DUListEntries`' />\n", + "comments": "", + "x": 2497.531318664551, + "y": 5831.031481742859, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "e82eeb18.2a3578", + "type": "set", + "name": "calculation9", + "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n", + "comments": "", + "x": 2485.531867980957, + "y": 5882.031359672546, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "ae80d410.678c98", + "type": "switchNode", + "name": "ransim mounted", + "xml": "<switch test='`$prop.ransim-mounted`'>\n", + "comments": "", + "outputs": 1, + "x": 2257.697765350342, + "y": 1049.189266204834, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "ee17ef51.85ce5", + "cd871f1a.52813" + ] + ] + }, + { + "id": "ee17ef51.85ce5", + "type": "outcome", + "name": "Not Mounted", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 2479.920177459717, + "y": 1046.9668283462524, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "7179ef79.125f3" + ] + ] + }, + { + "id": "cd871f1a.52813", + "type": "outcome", + "name": "Mounted", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2459.920150756836, + "y": 1125.9669198989868, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "2683dd2d.044e62" + ] + ] + }, + { + "id": "8507994d.a9ea58", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for ADD SliceProfile ToNearRTRIC\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.latency`\"/>\n<parameter name=\"field7\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field9\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field10\" value=\"`$payloadJson.input.sliceProfile.uEMobilityLevel`\"/>\n<parameter name=\"field11\" value=\"`$tmp.trackingArea`\"/>\n<parameter name=\"field12\" value=\"`$payloadJson.input.sliceProfile.resourceSharingLevel`\"/>", + "comments": "", + "outputs": 1, + "x": 2236.47615814209, + "y": 1171.1891136169434, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "6f8d204e.ab77d", + "type": "block", + "name": "Add sliceprofile NRTRIC", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1891.0308990478516, + "y": 1255.4219074249268, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "8507994d.a9ea58", + "9da3378c.da5c38", + "ae80d410.678c98", + "3415c5be.09fdfa" + ] + ] + }, + { + "id": "3415c5be.09fdfa", + "type": "execute", + "name": "add addSliceProfile.ToNearRTRIC using PUT", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-sliceProfile-NRRIC.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addSliceProfile-NRTRIC-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />", + "comments": "", + "outputs": 1, + "x": 2280.9211959838867, + "y": 1249.9777088165283, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "62daeb93.eb3e34", + "e765db66.dbd9c8" + ] + ] + }, + { + "id": "9da3378c.da5c38", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add SliceProfile ToNearRTRIC url:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>", + "comments": "", + "outputs": 1, + "x": 2235.3650283813477, + "y": 1119.644229888916, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "36de853f.99695a", + "type": "execute", + "name": "generate addSliceProfile.ToNearRTRIC URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 2867.9201431274414, + "y": 946.9671695530415, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "62daeb93.eb3e34", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 2609.697914123535, + "y": 1207.4114456176758, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "aba84522.849158" + ] + ] + }, + { + "id": "e765db66.dbd9c8", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 2591.921188354492, + "y": 1277.9668951034546, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "e63cdec7.211cc" + ] + ] + }, + { + "id": "e63cdec7.211cc", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2740.2531814575195, + "y": 1282.3003072738647, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "dc73ccad.787bb" + ] + ] + }, + { + "id": "6ce520dc.0b66b", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding slice proficle to NearRTRIC\" />", + "comments": "", + "x": 2924.6983757019043, + "y": 1211.3005781173706, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "dc73ccad.787bb", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Slice Profile Entry Added to NearRTRIC Executed Successfully \"/>", + "comments": "", + "outputs": 1, + "x": 2920.9207725524902, + "y": 1258.967450618744, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "2683dd2d.044e62", + "type": "block", + "name": "ransim URL", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2652.9098014831543, + "y": 1120.9669198989868, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "6d12a3b.84cd85c", + "5c2064d0.70accc", + "66902079.5bf7a" + ] + ] + }, + { + "id": "3d173590.919bba", + "type": "execute", + "name": "Populate addSliceProfile.ToNearRTRIC URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>", + "comments": "", + "outputs": 1, + "x": 2868.454917907715, + "y": 1002.566130399704, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "6d12a3b.84cd85c", + "type": "execute", + "name": "generate addSliceProfile.ToNearRTRIC URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 2932.454750061035, + "y": 1049.5662400722504, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "5c2064d0.70accc", + "type": "execute", + "name": "Populate addSliceProfile.ToNearRTRIC URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>", + "comments": "", + "outputs": 1, + "x": 2947.9897499084473, + "y": 1101.165064573288, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "66902079.5bf7a", + "type": "execute", + "name": "Populate MOUNT NAME", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 2966.4550704956055, + "y": 1154.5660531520844, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "aba84522.849158", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2748.010612487793, + "y": 1216.6772713661194, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "6ce520dc.0b66b" + ] + ] + }, + { + "id": "7179ef79.125f3", + "type": "block", + "name": "URL", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2603.010669708252, + "y": 979.2326898574829, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "36de853f.99695a", + "3d173590.919bba" + ] + ] + }, + { + "id": "5b894103.55831", + "type": "execute", + "name": "prepare gNBCUCPList for SO callback", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUCPList.response' />\n\t<parameter name='keyName' value='gNBCUName' />\n\t<parameter name='keyValue' value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n", + "comments": "", + "outputs": 1, + "x": 3126.5003051757812, + "y": 2208.000198364258, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "7d2e3cb0.3fe134", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPList length\"/>\n<parameter name=\"field2\" value=\"`$CUCPListEntries_size`\"/>", + "comments": "", + "outputs": 1, + "x": 3040.5000610351562, + "y": 2343.000015258789, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "697cd0a0.4e002", + "type": "execute", + "name": "CUCP List size", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='CUCPListEntries_size' />\n\t<parameter name='source' value=\"`tmp.CUCPList.response_length`\" />", + "comments": "", + "outputs": 1, + "x": 3064.750244140625, + "y": 2288.500045776367, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "9a49851c.9c7ca8", + "type": "execute", + "name": "prepare gNBCUUPList for SO callback", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUUPList.response' />\n\t<parameter name='keyName' value='gNBCUUPId' />\n\t<parameter name='keyValue' value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n", + "comments": "", + "outputs": 1, + "x": 3354.7507095336914, + "y": 5349.000314712524, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "fd278e1c.281cb", + "type": "execute", + "name": "prepare gNBDUList for SO callback", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.DUList.response' />\n\t<parameter name='keyName' value='gNBDUId' />\n\t<parameter name='keyValue' value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n", + "comments": "", + "outputs": 1, + "x": 3686.250198364258, + "y": 7026.250059127808, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "5413ea67.a791e4", + "type": "set", + "name": "callback payload", + "xml": "<set>\n<parameter name='tmp.CUCPList.response' value='`$tmp.CUCPList.response`' />\n<parameter name='tmp.CUUPList.response' value='`$tmp.CUUPList.response`' />\n<parameter name='tmp.DUList.response' value='`$tmp.DUList.response`' />\n", + "comments": "", + "x": 643.250171661377, + "y": 2636.499962210655, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "ab780004.ece9e", + "type": "execute", + "name": "gNBCUCPList", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList.response' />\n\t<parameter name='source' value=\"`$tmp.CUCPList.response`\" />", + "comments": "", + "outputs": 1, + "x": 3063.7500610351562, + "y": 2258.0000762939453, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "a08d08c0.2cad78", + "type": "set", + "name": "set maxNumberOfConns", + "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns/$tmp.cellCUListEntries`'/>", + "comments": "", + "x": 3426.5000648498535, + "y": 2684.2501745224, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "d3141bb1.ef1998", + "type": "set", + "name": "set maxNumberOfConns", + "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns/$tmp.cellCUListEntries`'/>", + "comments": "", + "x": 3788.250026702881, + "y": 4622.249960899353, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "b5039f8d.80675", + "type": "set", + "name": "set throughput", + "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice/$tmp.cellDUListEntries`'/>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice/$tmp.cellDUListEntries`'/>", + "comments": "", + "x": 3893.000026702881, + "y": 6811.999960899353, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "8fdb21d4.09527", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"maxNumberOfConns.CUUP \"/>\n<parameter name=\"field2\" value=\"`$tmp.maxNumberOfConns-CUUP`\"/>", + "comments": "", + "outputs": 1, + "x": 3110.000026702881, + "y": 3510.499960899353, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "574be0db.cf3bb", + "type": "set", + "name": "set resourceID", + "xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.cellLocalId`'/>", + "comments": "", + "x": 3429.999973297119, + "y": 3097.7501707077026, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "592c5104.20cc5", + "type": "set", + "name": "set resourceID", + "xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.gNBCUUPList.gNBCUUPId`'/>", + "comments": "", + "x": 3571.7501907348633, + "y": 5106.50013256073, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "2ec7b719.1b3348", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 873.0006980895996, + "y": 2266.000232696533, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "6629d929.41c148" + ] + ] + }, + { + "id": "96cf2a1b.7b9f88", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 878.0006370544434, + "y": 2386.9999570846558, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "b755261f.047948" + ] + ] + }, + { + "id": "b755261f.047948", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1036.0004272460938, + "y": 2386.000202178955, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "acbf111a.9d5ce" + ] + ] + }, + { + "id": "acbf111a.9d5ce", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated inventory in CPS\"/>", + "comments": "", + "outputs": 1, + "x": 1222.000675201416, + "y": 2370.00044631958, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "5ec5448b.00375c", + "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": 1218.0003700256348, + "y": 2270.000231742859, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "6629d929.41c148", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1032.0009803771973, + "y": 2264.0003242492676, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "5ec5448b.00375c", + "bcb0267.433c4d8", + "efa5b4cd.0af608" + ] + ] + }, + { + "id": "bcb0267.433c4d8", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating inventory info in CPS. Aborting RPC executiopn'/>", + "comments": "", + "x": 1208.0006103515625, + "y": 2184.111346244812, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "241a5494.cd57fc", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Update inventory in CPS\"/>", + "comments": "", + "outputs": 1, + "x": 749.2500801086426, + "y": 2058.5000286102295, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "2d1fb406.70ca6c", + "type": "execute", + "name": "set trackingArea", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.payload.trackingArea' />\n\t<parameter name='source' value=\"`'payloadJson.input.sliceProfile.coverageAreaTAList[' + $ta + ']'`\"/>", + "comments": "", + "outputs": 1, + "x": 1082.5762023925781, + "y": 143.48923301696777, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "a213d956.8a66b8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 894.9650268554688, + "y": 446.6002793312073, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "2d1fb406.70ca6c", + "ecc5a6c7.a652c8", + "4ef31d96.a96d54" + ] + ] + }, + { + "id": "ecc5a6c7.a652c8", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Tracking Area\"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.trackingArea`\"/>", + "comments": "", + "outputs": 1, + "x": 1069.1871719360352, + "y": 192.4892110824585, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "cf902d02.bd5b5", + "type": "for", + "name": "For coverageAreaTAList", + "xml": "<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>", + "comments": "", + "outputs": 1, + "x": 661.0000076293945, + "y": 497.8332977294922, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "a213d956.8a66b8" + ] + ] + }, + { + "id": "a7723108.a7e47", + "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/instantiateRANSliceAllocate-cps.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": 633.2222595214844, + "y": 442.55550956726074, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "5babe467.37ec7c", + "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": 664.3333435058594, + "y": 392.55550956726074, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "1cc675c1.22f72a", + "type": "set", + "name": "set RRMPolicyRatio IDs", + "xml": "<set>\n<parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value=\"`'NearRTRIC-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value=\"`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellDU' value=\"`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value=\"`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value=\"`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellCU' value=\"`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.rrmPolicyMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID`' />", + "comments": "", + "x": 1375.1365509033203, + "y": 532.959644317627, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "88782b9e.a2bae8", + "type": "execute", + "name": "tmp.ranNFNSSIListEntry", + "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value='`$tmp.payload.RANNFNSSIId`'/>", + "comments": "", + "outputs": 1, + "x": 1591.6365051269531, + "y": 801.931812286377, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "f2179ecd.60fe3", + "type": "switchNode", + "name": "check status", + "xml": "<switch test='`$error-code`'>\n", + "comments": "", + "outputs": 1, + "x": 597.5000915527344, + "y": 2530.7500873804092, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "e05fee9.c6e761", + "eddf8caf.68f58" + ] + ] + }, + { + "id": "e05fee9.c6e761", + "type": "success", + "name": "success", + "xml": "<outcome value='200'>\n", + "comments": "", + "outputs": 1, + "x": 780.500072479248, + "y": 2487.7501544952393, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "cb76d66e.fe19a8" + ] + ] + }, + { + "id": "cb76d66e.fe19a8", + "type": "set", + "name": "status", + "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>", + "comments": "", + "x": 956.500072479248, + "y": 2490.75030708313, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "71026d69.714c54", + "type": "set", + "name": "failure status", + "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>", + "comments": "", + "x": 957.500057220459, + "y": 2534.7500324249268, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "eddf8caf.68f58", + "type": "other", + "name": "other", + "xml": "<outcome value='Other'>\n", + "comments": "", + "outputs": 1, + "x": 796.500057220459, + "y": 2539.7500324249268, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "71026d69.714c54" + ] + ] + }, + { + "id": "28d03768.f261b8", + "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": 641.5000510215759, + "y": 2474.0000718832016, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "7ecdff78.057e7", + "type": "set", + "name": "set plmn id", + "xml": "<set>\n<parameter name=\"tmp.pLMNId\" value=\"`$tmp.payload.pLMNId`\"/>\n", + "comments": "", + "x": 3874.500015258789, + "y": 6201.749950408936, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "9e34a190.b4509", + "type": "set", + "name": "Calculate SliceProfile - NEarRTRIC part 2", + "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNearRTRIC-cps-response._length`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNearRTRIC-cps-response._length`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNearRTRIC-cps-response._length`' />", + "comments": "", + "x": 2029.75390625, + "y": 840.2499885559082, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "7c754b3f.d09204", + "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.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getListOfCells.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.cavsta.schemaset`\"/>", + "comments": "", + "outputs": 1, + "x": 1626.5000839233398, + "y": 70, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "2f8c167f.d5f98a", + "type": "execute", + "name": "prepare tbdmt template", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getListOfCells.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getListOfCells.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-cells-list`\"/>", + "comments": "", + "outputs": 1, + "x": 1593.131965637207, + "y": 112.22213554382324, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "31d69ac5.2e0646", + "type": "record", + "name": "record TBDMT RestAPI params", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get List of cells of TAC\"/>\n<parameter name='field2' value=\"`$tmp.cps.getListOfCells.url`\" />", + "comments": "", + "outputs": 1, + "x": 1624.381965637207, + "y": 153.47213554382324, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "63599afa.a2d924", + "type": "execute", + "name": "Get ListOfCells for TrackingArea", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getListOfCells.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-cells-list.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getListofCells-cps-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": 1625.631980895996, + "y": 195.97214889526367, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "921dbc77.dde2d", + "d71ca418.0dba98" + ] + ] + }, + { + "id": "e756f56b.cc6118", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1333.131965637207, + "y": 145.65963768959045, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "7c754b3f.d09204", + "2f8c167f.d5f98a", + "31d69ac5.2e0646", + "63599afa.a2d924", + "5244ce64.96b6e", + "e0a436c4.3c7f68", + "df6af0db.35377" + ] + ] + }, + { + "id": "4ef31d96.a96d54", + "type": "block", + "name": "Get Cells List in TA", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1118.6943664550781, + "y": 231.97236442565918, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "e756f56b.cc6118" + ] + ] + }, + { + "id": "921dbc77.dde2d", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1875.4999237060547, + "y": 163.9999918937683, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "202030cb.21f4" + ] + ] + }, + { + "id": "d71ca418.0dba98", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1882.7497215270996, + "y": 239.25008916854858, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "f9d95a1d.d19148" + ] + ] + }, + { + "id": "202030cb.21f4", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2033.7495803833008, + "y": 162.74983596801758, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "79d09740.d95208" + ] + ] + }, + { + "id": "f9d95a1d.d19148", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2034.2495193481445, + "y": 237.75020503997803, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "b35eaa66.faef98", + "d0ee2834.eff2c8" + ] + ] + }, + { + "id": "79d09740.d95208", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Cells from CPS. Aborting RPC executiopn'/>", + "comments": "", + "x": 2187.7500534057617, + "y": 159.9999876022339, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "b35eaa66.faef98", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully fetched the cells for the TA: \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.trackingArea`\"/>", + "comments": "", + "outputs": 1, + "x": 2186.750045776367, + "y": 204.9999828338623, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "d0ee2834.eff2c8", + "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-CPS-context.log' />\n\n\n", + "comments": "", + "outputs": 1, + "x": 2200.000141143799, + "y": 239.99999904632568, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "5244ce64.96b6e", + "type": "execute", + "name": "set response size", + "xml": "<set>\n\t<parameter name='tmp.cellsListEntries' value=\"`$getListofCells-cps-response._length`\"/>\n\t", + "comments": "", + "outputs": 1, + "x": 1586.5000762939453, + "y": 264.999990940094, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "e0a436c4.3c7f68", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Response List size\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellsListEntries`\"/>", + "comments": "", + "outputs": 1, + "x": 1564.3890190124512, + "y": 298.9999952316284, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "df6af0db.35377", + "type": "for", + "name": "For response List size", + "xml": "<for index='idx' start='0' end='`$tmp.cellsListEntries`'>", + "comments": "", + "outputs": 1, + "x": 1611.1667289733887, + "y": 335.27778577804565, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "516cb4dd.f36d6c" + ] + ] + }, + { + "id": "516cb4dd.f36d6c", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1828.131633758545, + "y": 336.04476499557495, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "31c32233.f41b3e", + "793d6dee.fda084", + "d6f296d4.5fd188" + ] + ] + }, + { + "id": "793d6dee.fda084", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Cell list size\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellListSize`\"/>", + "comments": "", + "outputs": 1, + "x": 2001.250015258789, + "y": 326.9999952316284, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "31c32233.f41b3e", + "type": "execute", + "name": "cell list size", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellListSize' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.['+ $idx +'].taCellsList_length'`\"/>", + "comments": "", + "outputs": 1, + "x": 2013.7500762939453, + "y": 286.00000286102295, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "9ae5a5a4.9cb668", + "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-cps-response.[' + $idx + '].taCellsList[' + $idy + '].cellLocalId'`\"/>", + "comments": "", + "outputs": 1, + "x": 2430.7500228881836, + "y": 129.00000190734863, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "260c0f1b.2fae6", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Cell id\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellId[0]`\"/>", + "comments": "", + "outputs": 1, + "x": 2392.2500801086426, + "y": 262.0000009536743, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "d6f296d4.5fd188", + "type": "for", + "name": "For cell List size", + "xml": "<for index='idy' start='0' end='`$tmp.cellListSize`'>", + "comments": "", + "outputs": 1, + "x": 2042.5000762939453, + "y": 367.99997901916504, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "5dd42d5a.f7c584" + ] + ] + }, + { + "id": "5dd42d5a.f7c584", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2202.4648971557617, + "y": 299.7669925689697, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "9ae5a5a4.9cb668", + "260c0f1b.2fae6", + "7276d7f3.2ddd18", + "d2c7cbfa.f78568", + "11162364.3dc7dd", + "23a059c1.c00106", + "d9e4ed0a.94ad8", + "26a8704.7d7be9" + ] + ] + }, + { + "id": "7276d7f3.2ddd18", + "type": "execute", + "name": "generate getNearRTRIC URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>", + "comments": "", + "outputs": 1, + "x": 2447.000030517578, + "y": 296.75000190734863, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "d2c7cbfa.f78568", + "type": "execute", + "name": "prepare tbdmt template", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-ric-from-cell-id`\"/>", + "comments": "", + "outputs": 1, + "x": 2413.6319122314453, + "y": 338.9721374511719, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "11162364.3dc7dd", + "type": "record", + "name": "record TBDMT RestAPI params", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get NearRTRIC of TA\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRIC.url`\" />", + "comments": "", + "outputs": 1, + "x": 2444.8819122314453, + "y": 380.2221374511719, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "23a059c1.c00106", + "type": "execute", + "name": "Get NearRTRIC of a Cell", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRIC.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-ric-from-cell-id.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getNearRTRIC-cps-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": 2446.1319274902344, + "y": 422.7221508026123, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "817aab68.181678", + "be31d43a.18bdc8" + ] + ] + }, + { + "id": "817aab68.181678", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 2769.72931098938, + "y": 305.5109615325928, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "6e252a3.934c5d4" + ] + ] + }, + { + "id": "be31d43a.18bdc8", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 2751.840717315674, + "y": 366.6220660209656, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "3aa4d00c.a4bce" + ] + ] + }, + { + "id": "3aa4d00c.a4bce", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2903.3885459899902, + "y": 365.2222566604614, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "f95e86fb.9e2288", + "38d6411b.0e9ebe", + "5a31d8ef.1ba148" + ] + ] + }, + { + "id": "f95e86fb.9e2288", + "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 Obtained NearRTRIC from CPS\"/>\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": 3039.388427734375, + "y": 362.2221794128418, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "7c461b7f.fc1274", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>", + "comments": "", + "x": 3059.0002479553223, + "y": 256.75000762939453, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "2be9755e.b76b1a", + "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": 3080.9998168945312, + "y": 303.63894271850586, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "6e252a3.934c5d4", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2918.000030517578, + "y": 288.75000190734863, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "7c461b7f.fc1274", + "2be9755e.b76b1a", + "efa5b4cd.0af608" + ] + ] + }, + { + "id": "5a31d8ef.1ba148", + "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-CPS-context.log' />\n\n\n", + "comments": "", + "outputs": 1, + "x": 3048.035675048828, + "y": 419.7857074737549, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "d9e4ed0a.94ad8", + "type": "execute", + "name": "split cellLocalId", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.trackingarea.cell`\" />\n <parameter name=\"regex\" value=\"\\.\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.cellId\" />", + "comments": "", + "outputs": 1, + "x": 2432.500030517578, + "y": 169.9999885559082, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "26a8704.7d7be9", + "type": "execute", + "name": "CellLocalId", + "xml": "<set>\n\t<parameter name='tmp.cellLocalId' value=\"`$tmp.cellId[0]`\"/>\n", + "comments": "", + "outputs": 1, + "x": 2410.5000534057617, + "y": 214.9999876022339, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "9cc7de8e.f6eaa", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1956.0000305175781, + "y": 1371.9999885559082, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "bf6af843.d07278", + "49f352d5.72d86c", + "a47902a6.1d2dd", + "6121d719.f6c128" + ] + ] + }, + { + "id": "bf6af843.d07278", + "type": "execute", + "name": "generate update NearRTRIC URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updatenearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>", + "comments": "", + "outputs": 1, + "x": 2368.229278564453, + "y": 1335.0903034210205, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "49f352d5.72d86c", + "type": "execute", + "name": "prepare tbdmt template", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.updatenearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updatenearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-nearrtric`\"/>", + "comments": "", + "outputs": 1, + "x": 2334.1111450195312, + "y": 1385.3126192092896, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "a47902a6.1d2dd", + "type": "record", + "name": "record TBDMT RestAPI params", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update NearRTRIC in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updatenearRTRIC.url`\" />", + "comments": "", + "outputs": 1, + "x": 2355.111129760742, + "y": 1425.8126344680786, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "6121d719.f6c128", + "type": "execute", + "name": "Update nearRT RIC Details in CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updatenearRTRIC.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-nearrtric.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"allocate-nearRTRIC-cps-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": 2328.4793090820312, + "y": 1466.0903477668762, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "54192d23.2f1b24", + "3d098211.25bbbe" + ] + ] + }, + { + "id": "54192d23.2f1b24", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 2636.5473289489746, + "y": 1356.1752672195435, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "6b4bbe05.4affa" + ] + ] + }, + { + "id": "3d098211.25bbbe", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 2613.115566253662, + "y": 1423.5845546722412, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "49fd6c40.34f8b4" + ] + ] + }, + { + "id": "6b4bbe05.4affa", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2776.0474548339844, + "y": 1325.6753120422363, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "cb68c4ad.0af9d8", + "cf77d7aa.2e3d68" + ] + ] + }, + { + "id": "49fd6c40.34f8b4", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2764.6154174804688, + "y": 1428.3346157073975, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "52746ce2.32eab4" + ] + ] + }, + { + "id": "52746ce2.32eab4", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NearRT RIC info in CPS\"/>", + "comments": "", + "outputs": 1, + "x": 2907.1154193878174, + "y": 1414.5846920013428, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "cf77d7aa.2e3d68", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>", + "comments": "", + "x": 2953.7972450256348, + "y": 1296.536364555359, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "cb68c4ad.0af9d8", + "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": 2936.797088623047, + "y": 1350.1753587722778, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "250bac43.046f44", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1990.0000305175781, + "y": 1541.4999885559082, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "117753ff.1720fc", + "a472df20.78026", + "829da66f.ae4288", + "15bd9267.90335e" + ] + ] + }, + { + "id": "117753ff.1720fc", + "type": "execute", + "name": "generate add Slice Profile URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.addSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>", + "comments": "", + "outputs": 1, + "x": 2267.500030517578, + "y": 1527.7499885559082, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "a472df20.78026", + "type": "execute", + "name": "prepare tbdmt template", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.addSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.addSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-slice-profile`\"/>", + "comments": "", + "outputs": 1, + "x": 2221.88191986084, + "y": 1563.2224426269531, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "829da66f.ae4288", + "type": "record", + "name": "record TBDMT RestAPI params", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update Slice Profile in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.addSliceProfile.url`\" />", + "comments": "", + "outputs": 1, + "x": 2240.3818435668945, + "y": 1593.7223224639893, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "15bd9267.90335e", + "type": "execute", + "name": "Add Slice Profile Details in CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.addSliceProfile.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-sliceprofile.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"allocate-sliceprofile-cps-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": 2222.50008392334, + "y": 1625.2500343322754, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "8f003e9e.9d5c4", + "d5abe285.418e5" + ] + ] + }, + { + "id": "d5abe285.418e5", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 2461.2501640319824, + "y": 1558.027738571167, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "8a45ea5.16bb318" + ] + ] + }, + { + "id": "8f003e9e.9d5c4", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 2447.818328857422, + "y": 1602.9370470046997, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "1979a537.97ed5b" + ] + ] + }, + { + "id": "8a45ea5.16bb318", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2583.7501831054688, + "y": 1515.5277633666992, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "43d73eaf.fa9af", + "1cec5337.73f55d" + ] + ] + }, + { + "id": "1cec5337.73f55d", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating Slice Profile in CPS. Aborting RPC executiopn'/>", + "comments": "", + "x": 2791.4998817443848, + "y": 1496.3888120651245, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "43d73eaf.fa9af", + "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": 2774.499725341797, + "y": 1550.0278062820435, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "c1f6693d.d85fe8", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated Slice Profile in CPS\"/>", + "comments": "", + "outputs": 1, + "x": 2741.818181991577, + "y": 1593.9371843338013, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "1979a537.97ed5b", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2598.068344116211, + "y": 1601.4370985031128, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "c1f6693d.d85fe8" + ] + ] + }, + { + "id": "acd85ee9.0324e", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cell id from TA \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>", + "comments": "", + "outputs": 1, + "x": 2420.750026702881, + "y": 2200.9999923706055, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "e5a02ea0.1d7ed", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"NRCellCU \"/>\n<parameter name=\"field2\" value=\"`$tmp.gNBCUCPList.cellLocalId`\"/>", + "comments": "", + "outputs": 1, + "x": 2651.250186920166, + "y": 2319.0001125335693, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "eba61345.d0e9", + "type": "execute", + "name": "split cellLocalId", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.gNBCUCPList.cellLocalId`\" />\n <parameter name=\"regex\" value=\"\\.\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.cellCUId\" />", + "comments": "", + "outputs": 1, + "x": 2708.250030517578, + "y": 2227.499988555908, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "dd848e3a.8f8ea", + "type": "execute", + "name": "CellLocalId", + "xml": "<set>\n\t<parameter name='tmp.gNBCUCPList.cellLocalId' value=\"`$tmp.cellCUId[0]`\"/>\n", + "comments": "", + "outputs": 1, + "x": 2686.2500534057617, + "y": 2272.499987602234, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "af869d8d.bb8db", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Applicable cell found\"/>\n<parameter name=\"field2\" value=\"`$tmp.gNBCUCPList.cellLocalId`\"/>", + "comments": "", + "outputs": 1, + "x": 3035.000030517578, + "y": 2153.999988555908, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "816a9de7.50045", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCP - CPS update\"/>\n", + "comments": "", + "outputs": 1, + "x": 2663.2500610351562, + "y": 2974.0001006126404, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "7a1fb6aa.6d2368", + "type": "set", + "name": "set API params", + "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.gNBCUCPList.cellLocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.gNBCUCPList.gNBCUName`'/>\n<parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.status' value='INACTIVE'/>\n<parameter name='tmp.sNSSAI' value='`$tmp.payload.sNSSAI`'/>\n ", + "comments": "", + "x": 2690.9237060546875, + "y": 3021.9730014801025, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "f0a70c17.b40ee", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\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`\"/>", + "comments": "", + "outputs": 1, + "x": 2664.4237022399902, + "y": 3065.194375514984, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "d22a12b1.53b0c", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2668.562744140625, + "y": 3131.5002841949463, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "bb9e4f32.6ae37", + "1fbd10ec.f3361f", + "fbc2a4bf.c79038", + "a888d69a.4598b8" + ] + ] + }, + { + "id": "bb9e4f32.6ae37", + "type": "execute", + "name": "generate update CUCP URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateCUCP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>", + "comments": "", + "outputs": 1, + "x": 3025.3404846191406, + "y": 3098.4723920822144, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "1fbd10ec.f3361f", + "type": "execute", + "name": "prepare tbdmt template", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.updateCUCP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateCUCP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-snssai-nrcellcu`\"/>", + "comments": "", + "outputs": 1, + "x": 3011.972442626953, + "y": 3138.1946210861206, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "fbc2a4bf.c79038", + "type": "record", + "name": "record TBDMT RestAPI params", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUCP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateCUCP.url`\" />", + "comments": "", + "outputs": 1, + "x": 3043.222442626953, + "y": 3179.4446210861206, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "a888d69a.4598b8", + "type": "execute", + "name": "Update cellCU for gNBCUCP in CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-snssai-nrcellcu.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-cps-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": 3051.4515991210938, + "y": 3219.5836057662964, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "144ed28e.f4c36d", + "ea693f77.70f97" + ] + ] + }, + { + "id": "144ed28e.f4c36d", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3336.8687782287598, + "y": 3246.389434814453, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "61fe05bb.0ec18c" + ] + ] + }, + { + "id": "61fe05bb.0ec18c", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3516.8681640625, + "y": 3261.500274658203, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "7db0a060.f75aa", + "2c7406b4.5d627a" + ] + ] + }, + { + "id": "2c7406b4.5d627a", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating NRCellCU. Aborting RPC exception'/>", + "comments": "", + "x": 3679.312258720398, + "y": 3250.611297607422, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "7db0a060.f75aa", + "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": 3680.6455116271973, + "y": 3287.0557556152344, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "ea693f77.70f97", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3336.312931060791, + "y": 3282.833709716797, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "54cc3786.d6fa48" + ] + ] + }, + { + "id": "54cc3786.d6fa48", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 3472.5349159240723, + "y": 3298.944793701172, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "cfc12ee2.f9317" + ] + ] + }, + { + "id": "cfc12ee2.f9317", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated NRCellCU pLMNinfo \"/>", + "comments": "", + "outputs": 1, + "x": 3634.9791259765625, + "y": 3320.7223205566406, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "23751f71.cd222", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2477.2501525878906, + "y": 3149.0000262260437, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "816a9de7.50045", + "7a1fb6aa.6d2368", + "f0a70c17.b40ee", + "d22a12b1.53b0c", + "a37b589a.44b8f8" + ] + ] + }, + { + "id": "99b4e6ea.678d68", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/>", + "comments": "", + "x": 4224.989765167236, + "y": 3399.0105895996094, + "z": "ac8379ea.703fd8", + "wires": [] + }, + { + "id": "7651a599.a9b0dc", + "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.cellLocalId' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.[' + $idx + '].taCellsList[' + $id3 + '].cellLocalId'`\"/>", + "comments": "", + "outputs": 1, + "x": 2467.000057220459, + "y": 2160.2500228881836, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "4a58c74c.318ed8", + "type": "execute", + "name": "split cellLocalId", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.cellLocalId`\" />\n <parameter name=\"regex\" value=\"\\.\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.cellId\" />", + "comments": "", + "outputs": 1, + "x": 2445.750068664551, + "y": 2234.2498960494995, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "edece7a3.dd49d8", + "type": "execute", + "name": "CellLocalId", + "xml": "<set>\n\t<parameter name='tmp.cellLocalId' value=\"`$tmp.cellId[0]`\"/>\n", + "comments": "", + "outputs": 1, + "x": 2423.7500915527344, + "y": 2279.249895095825, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "3f4a4532.bd222a", + "type": "for", + "name": "For response List size", + "xml": "<for index='idx' start='0' end='`$tmp.cellsListEntries`'>", + "comments": "", + "outputs": 1, + "x": 1953.0001220703125, + "y": 2165.7499980926514, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "caad35d9.b6cf58" + ] + ] + }, + { + "id": "1927dd97.e904d2", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2123.9648666381836, + "y": 2442.5170879364014, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "ec462b24.75a1e8" + ] + ] + }, + { + "id": "caad35d9.b6cf58", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2140.000030517578, + "y": 2165.75, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "a793028.cf38" + ] + ] + }, + { + "id": "7486614e.a53b8", + "type": "execute", + "name": "generate putRRMPolicyRatio URL - CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUCP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>", + "comments": "", + "outputs": 1, + "x": 3059.7500610351562, + "y": 3285.50004196167, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "de88bec1.68e1f", + "type": "execute", + "name": "prepare tbdmt template", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.putCUCP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUCP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-nrcellcu-rrm-policy`\"/>", + "comments": "", + "outputs": 1, + "x": 2991.604248046875, + "y": 3327.6661801338196, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "3a782721.b2e308", + "type": "record", + "name": "record TBDMT RestAPI params", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update rrm policy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putCUCP.url`\" />", + "comments": "", + "outputs": 1, + "x": 3022.0764923095703, + "y": 3367.027442932129, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "d5f71262.39fcd", + "type": "execute", + "name": "Update RRMPolicy for gNBCUCP in CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-nrcellcu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-rrmpolicy-cps-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": 3070.97216796875, + "y": 3400.055223464966, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "a3bd3fd7.d56cd", + "1555e419.70281c" + ] + ] + }, + { + "id": "a37b589a.44b8f8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2693.750030517578, + "y": 3329.5, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "7486614e.a53b8", + "de88bec1.68e1f", + "3a782721.b2e308", + "d5f71262.39fcd" + ] + ] + }, + { + "id": "7be55c1b.5675b4", + "type": "execute", + "name": "generate putRRMPolicyRatio URL - CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUUP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>", + "comments": "", + "outputs": 1, + "x": 3477.750701904297, + "y": 5529.750196456909, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "fda0004a.7f313", + "type": "execute", + "name": "prepare tbdmt template", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUUP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-cuup-rrm-policy`\"/>", + "comments": "", + "outputs": 1, + "x": 3386.6047439575195, + "y": 5572.916090965271, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "6cfc902.0edcc7", + "type": "record", + "name": "record TBDMT RestAPI params", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update rrm policy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\" />", + "comments": "", + "outputs": 1, + "x": 3420.0768814086914, + "y": 5605.27747631073, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "df8b0c49.e9e65", + "type": "execute", + "name": "Update RRMPolicy for gNBCUUP in CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-cuup-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-rrmpolicy-cps-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": 3468.972557067871, + "y": 5638.305256843567, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "d592083b.9c2d48", + "308a1d18.43a132" + ] + ] + }, + { + "id": "2279d1f7.58767e", + "type": "execute", + "name": "generate update CUUP URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateCUUP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>", + "comments": "", + "outputs": 1, + "x": 3544.750030517578, + "y": 5323.75, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "c5cd8a70.b884e8", + "type": "execute", + "name": "prepare tbdmt template", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.updateCUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateCUUP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-snssai-cuup`\"/>", + "comments": "", + "outputs": 1, + "x": 3531.3819885253906, + "y": 5363.472229003906, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "50f5d36f.33002c", + "type": "record", + "name": "record TBDMT RestAPI params", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUCP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateCUCP.url`\" />", + "comments": "", + "outputs": 1, + "x": 3562.6319885253906, + "y": 5404.722229003906, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "af66de75.0e34e", + "type": "execute", + "name": "Update cellCU for gNBCUCP in CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-snssai-cuup.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-cps-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": 3570.8611450195312, + "y": 5444.861213684082, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "5af0447f.85e61c", + "caac4fc1.49221" + ] + ] + }, + { + "id": "1fe961c1.d43d0e", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3192.9722290039062, + "y": 5421.77783203125, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "2279d1f7.58767e", + "c5cd8a70.b884e8", + "50f5d36f.33002c", + "af66de75.0e34e" + ] + ] + }, + { + "id": "b3cc6806.d35378", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - CPS update\"/>\n", + "comments": "", + "outputs": 1, + "x": 3291.3273391723633, + "y": 5304.056957244873, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "b097f039.b4c79", + "type": "execute", + "name": "split CUUPId", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\" />\n <parameter name=\"regex\" value=\"\\.\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.gNBCUUPId\" />", + "comments": "", + "outputs": 1, + "x": 3259.5000076293945, + "y": 5168.750194549561, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "762e809.6b8078", + "type": "execute", + "name": "gNBCUUPId", + "xml": "<set>\n\t<parameter name='tmp.gNBCUUPList.gNBCUUPId' value=\"`$tmp.gNBCUUPId[0]`\"/>\n", + "comments": "", + "outputs": 1, + "x": 3292.500068664551, + "y": 5213.750194549561, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "a400f228.4762e", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP id\"/>\n<parameter name=\"field2\" value=\"`$tmp.gNBCUUPId[0]`\"/>", + "comments": "", + "outputs": 1, + "x": 3278.250129699707, + "y": 5265.750316619873, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "80b03848.2437a8", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cell id from TA \"/>\n<parameter name=\"field2\" value=\"`$tmp.tacellLocalId`\"/>", + "comments": "", + "outputs": 1, + "x": 2651.0003662109375, + "y": 6301.749964237213, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "a3f31b0e.e39308", + "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.cellLocalId' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.[' + $idx + '].taCellsList[' + $id3 + '].cellLocalId'`\"/>", + "comments": "", + "outputs": 1, + "x": 2728.2500610351562, + "y": 6165.000030517578, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "88189157.2f2e9", + "type": "execute", + "name": "split cellLocalId", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.cellLocalId`\" />\n <parameter name=\"regex\" value=\"\\.\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.cellId\" />", + "comments": "", + "outputs": 1, + "x": 2710.0001831054688, + "y": 6226.000330448151, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "4664cedb.d83dd", + "type": "execute", + "name": "CellLocalId", + "xml": "<set>\n\t<parameter name='tmp.tacellLocalId' value=\"`$tmp.cellId[0]`\"/>\n", + "comments": "", + "outputs": 1, + "x": 2690.000244140625, + "y": 6261.000330448151, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "56407b31.2246a4", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"NRCellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>", + "comments": "", + "outputs": 1, + "x": 2698.0000343322754, + "y": 6504.750331878662, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "a3371b66.8415f8", + "type": "execute", + "name": "split cellLocalId", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.cellLocalId`\" />\n <parameter name=\"regex\" value=\"\\.\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.cellDUId\" />", + "comments": "", + "outputs": 1, + "x": 2754.9998779296875, + "y": 6413.250207901001, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "e1aedf7.cdd372", + "type": "execute", + "name": "CellLocalId", + "xml": "<set>\n\t<parameter name='tmp.cellLocalId' value=\"`$tmp.cellDUId[0]`\"/>\n", + "comments": "", + "outputs": 1, + "x": 2732.999900817871, + "y": 6458.250206947327, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "1973ed69.a326e3", + "type": "execute", + "name": "NRCellDU", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getNearRTRIC-cps-response.[' + $id1 + '].GNBDUFunction[' + $id2 + '].NRCellDU[' + $idCell + '].attributes.cellLocalId'`\" />", + "comments": "", + "outputs": 1, + "x": 2734.750030517578, + "y": 6366.75, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "ef17c7f1.0e81e8", + "type": "execute", + "name": "split gNBDUId", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.gNBDUList.gNBDUId`\" />\n <parameter name=\"regex\" value=\"\\.\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.gNBDUId\" />", + "comments": "", + "outputs": 1, + "x": 3862.750030517578, + "y": 5981.750001311302, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "ac904cb6.3ba9f", + "type": "execute", + "name": "gNBDUId", + "xml": "<set>\n\t<parameter name='tmp.gNBDUList.gNBDUId' value=\"`$tmp.gNBDUId[0]`\"/>\n", + "comments": "", + "outputs": 1, + "x": 3842.7500915527344, + "y": 6016.750001311302, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "27dcaeab.b63122", + "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/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DU - CPS update\"/>\n", + "comments": "", + "outputs": 1, + "x": 1972.2499809265137, + "y": 6842.75009727478, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "1295fa84.c0b875", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1939.2501068115234, + "y": 6897.750219345093, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "c1a3ca40.88fcf8", + "77060d48.e9a234", + "84300865.a6f838", + "d0b8d847.4c90c8" + ] + ] + }, + { + "id": "c1a3ca40.88fcf8", + "type": "execute", + "name": "generate update CUCP URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateDU.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>", + "comments": "", + "outputs": 1, + "x": 2311.027656555176, + "y": 6923.722070217133, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "77060d48.e9a234", + "type": "execute", + "name": "prepare tbdmt template", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.updateDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateDU.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-nrcelldu-snssai`\"/>", + "comments": "", + "outputs": 1, + "x": 2297.6596145629883, + "y": 6963.444299221039, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "84300865.a6f838", + "type": "record", + "name": "record TBDMT RestAPI params", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUCP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateCUCP.url`\" />", + "comments": "", + "outputs": 1, + "x": 2328.9096145629883, + "y": 7004.694299221039, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "d0b8d847.4c90c8", + "type": "execute", + "name": "Update cellCU for gNBCUCP in CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-snssai-nrcelldu.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-cps-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": 2337.138771057129, + "y": 7044.833283901215, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "63b00bd4.017bd4", + "c567324.fa000d" + ] + ] + }, + { + "id": "cc514531.e72d78", + "type": "execute", + "name": "generate putRRMPolicyRatio URL - CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putDU.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>", + "comments": "", + "outputs": 1, + "x": 2185.75, + "y": 7165.75, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "20edec78.e810a4", + "type": "execute", + "name": "prepare tbdmt template", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.putDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putDU.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-nrcelldu-rrm-policy`\"/>", + "comments": "", + "outputs": 1, + "x": 2117.6041870117188, + "y": 7207.91613817215, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "4c73e542.5200cc", + "type": "record", + "name": "record TBDMT RestAPI params", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update rrm policy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putDU.url`\" />", + "comments": "", + "outputs": 1, + "x": 2148.076431274414, + "y": 7247.277400970459, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "b3701fc0.28d19", + "type": "execute", + "name": "Update RRMPolicy for gNBCUCP in CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-nrcelldu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-rrmpolicy-cps-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": 2196.9721069335938, + "y": 7280.305181503296, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "19d4936d.cabecd", + "82f27e82.aa07a" + ] + ] + }, + { + "id": "84df08f8.343c38", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1844.75, + "y": 7219.75, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "cc514531.e72d78", + "20edec78.e810a4", + "4c73e542.5200cc", + "b3701fc0.28d19" + ] + ] + }, + { + "id": "42056975.b361b8", + "type": "execute", + "name": "generate update RAN inventory URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateInventory-newslice.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.inventory.schemaset`\"/>", + "comments": "", + "outputs": 1, + "x": 613.5, + "y": 2229.75, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "f40c4927.1e8e38", + "type": "execute", + "name": "prepare tbdmt template", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.updateInventory-newslice.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateInventory-newslice.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.ran-inventory-new-slice`\"/>", + "comments": "", + "outputs": 1, + "x": 603.8819580078125, + "y": 2266.972596645355, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "b13e560e.bd1c68", + "type": "record", + "name": "record TBDMT RestAPI params", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update inventory in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateInventory-newslice.url`\" />", + "comments": "", + "outputs": 1, + "x": 628.8820190429688, + "y": 2313.2225971221924, + "z": "ac8379ea.703fd8", + "wires": [ + [] + ] + }, + { + "id": "7f917075.c70a6", + "type": "execute", + "name": "Update inventory in CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateInventory-newslice.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-update-ran-inventory-new-slice.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-inventory-cps-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": 541.0000839233398, + "y": 2355.9998869895935, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "2ec7b719.1b3348", + "96cf2a1b.7b9f88" + ] + ] + }, + { + "id": "7b63836c.1e212c", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 317.5, + "y": 2264.75, + "z": "ac8379ea.703fd8", + "wires": [ + [ + "42056975.b361b8", + "f40c4927.1e8e38", + "b13e560e.bd1c68", + "7f917075.c70a6" + ] + ] + } +]
\ No newline at end of file |