+ },
+ {
+ "id": "3c4378a5.2a7e88",
+ "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": 1290.7218856811523,
+ "y": 249.72220984101295,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "be8a3c1c.e9e26",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1322.4718399047852,
+ "y": 303.3611678183079,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6e22e9da.69b568",
+ "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-modifyallocate-cps-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1358.2500534057617,
+ "y": 346.6111764013767,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e2061865.7b45b8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 639.9166259765625,
+ "y": 231.86112108826637,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e9a418cb.17ba98",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failed to fetch anchors from CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1287.4166259765625,
+ "y": 206.86112013459206,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "da2d5da3.44846",
+ "type": "execute",
+ "name": "getAnchors URL",
+ "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 666.166633605957,
+ "y": 195.611122995615,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3e47261c.5eadda",
+ "type": "execute",
+ "name": "set anchors size",
+ "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 597.0711212158203,
+ "y": 300.20990243554115,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "35f66fa4.02d5d",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 417.0709991455078,
+ "y": 435.76542726159096,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "388b4667.3b88ca"
+ ]
+ ]
+ },
+ {
+ "id": "388b4667.3b88ca",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 605.9598693847656,
+ "y": 433.5431734621525,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "378cb11f.66b29e",
+ "ae39ff3d.570fb"
+ ]
+ ]
+ },
+ {
+ "id": "7bc2f6ee.03f038",
+ "type": "execute",
+ "name": "read anchorName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1476.5155334472656,
+ "y": 428.3210989534855,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ab11034.9650f",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 502.25616455078125,
+ "y": 371.3209673464298,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "6cbbd09c.2392"
+ ]
+ ]
+ },
+ {
+ "id": "6cbbd09c.2392",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 691.1450347900391,
+ "y": 369.09871354699135,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "d4ab6bc5.6eb578",
+ "885d4461.12e8b8"
+ ]
+ ]
+ },
+ {
+ "id": "d4ab6bc5.6eb578",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 899.2931900024414,
+ "y": 379.0987803041935,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "c5514533.893848"
+ ]
+ ]
+ },
+ {
+ "id": "885d4461.12e8b8",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 897.0709533691406,
+ "y": 339.09875360131264,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c5514533.893848",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1134.8486404418945,
+ "y": 381.3209902346134,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "987451ab.58784"
+ ]
+ ]
+ },
+ {
+ "id": "987451ab.58784",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1333.9845275878906,
+ "y": 383.543181091547,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "b62809d6.643fe8",
+ "750e6bfc.86d684"
+ ]
+ ]
+ },
+ {
+ "id": "b62809d6.643fe8",
+ "type": "execute",
+ "name": "set nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 1538.0463562011719,
+ "y": 352.5431801378727,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3edbd421.d05adc",
+ "type": "execute",
+ "name": "initialize earRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 601.2685241699219,
+ "y": 336.8765245974064,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "750e6bfc.86d684",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1512.5647239685059,
+ "y": 383.2098776400089,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dff2b528.6e6b48",
+ "type": "set",
+ "name": "Calculate temp uLThptPerSlice dLThptPerSlice maxNumberOfConns",
+ "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`' />",
+ "comments": "",
+ "x": 962.8578414916992,
+ "y": 795.3025290071964,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "cb3526c3.c82588",
+ "type": "set",
+ "name": "Calculate uLThptPerSlice dLThptPerSlice maxNumberOfConns",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1/$tmp.RIC.length`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1/$tmp.RIC.length`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1/$tmp.RIC.length`' />",
+ "comments": "",
+ "x": 968.6912231445312,
+ "y": 826.6915575563908,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "d0571189.50b95",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 328.1820755004883,
+ "y": 878.3579889833927,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "d34ff2ed.f340d",
+ "464748f3.c64fa8"
+ ]
+ ]
+ },
+ {
+ "id": "26414e7b.20a812",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellId[0]`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2146.330108642578,
+ "y": 2074.9012438356876,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "16fa0dc2.c15852",
+ "type": "execute",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+$idy+'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.RRMPolicyRatio_length '`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3190.527618408203,
+ "y": 5586.25927606225,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ae39ff3d.570fb",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 845.3425598144531,
+ "y": 449.2222277224064,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "d64d12a0.19d3c"
+ ]
+ ]
+ },
+ {
+ "id": "378cb11f.66b29e",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 843.1203231811523,
+ "y": 409.2222010195255,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d64d12a0.19d3c",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1080.8980102539062,
+ "y": 451.4444376528263,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "1232bc2.c4cdf44"
+ ]
+ ]
+ },
+ {
+ "id": "1232bc2.c4cdf44",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1280.0338973999023,
+ "y": 453.6666285097599,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "7bc2f6ee.03f038",
+ "a8d44e76.67b6c"
+ ]
+ ]
+ },
+ {
+ "id": "4a39e53b.6535bc",
+ "type": "execute",
+ "name": "Update RRMPolicyMember for gNBCUCP in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.member.putCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcellcu-rrm-policy-member.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-nrcellcu-rrmpolicymember-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2207.194366455078,
+ "y": 2932.678953796625,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "9bc701a2.200e8",
+ "35b721c9.5da3ee"
+ ]
+ ]
+ },
+ {
+ "id": "9bc701a2.200e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2485.219024658203,
+ "y": 2936.01220574975,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "eaab6bd7.2967f8"
+ ]
+ ]
+ },
+ {
+ "id": "35b721c9.5da3ee",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2469.441436767578,
+ "y": 2864.1238320171833,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "34964336.97d28c"
+ ]
+ ]
+ },
+ {
+ "id": "34964336.97d28c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2673.218948364258,
+ "y": 2865.0124028027058,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "8ba43fa8.de965",
+ "96387951.b64608",
+ "4fc9638e.cb66dc"
+ ]
+ ]
+ },
+ {
+ "id": "eaab6bd7.2967f8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2624.2191123962402,
+ "y": 2940.012388855219,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "b53a66d6.5907b8"
+ ]
+ ]
+ },
+ {
+ "id": "b53a66d6.5907b8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated CPS - NRCellCU RRMPolicyMember \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2760.2192039489746,
+ "y": 2933.0125109255314,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8ba43fa8.de965",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2849.7740936279297,
+ "y": 2897.1236307919025,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "96387951.b64608",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2854.7742462158203,
+ "y": 2858.7903483211994,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "d7622196.2570e",
+ "type": "execute",
+ "name": "generate putRRMPolicyRatioMember 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.member.putCUCP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2205.219024658203,
+ "y": 2834.77783074975,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9e67bdbe.dd24",
+ "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.member.putCUCP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.member.putCUCP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrcellcu-rrm-policy-member`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2157.851104736328,
+ "y": 2868.499479919672,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3f72c0ed.af7e",
+ "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 rrm policy member in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.member.putCUCP.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2189.101043701172,
+ "y": 2899.7496019899845,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7fd1bdbe.094f14",
+ "type": "execute",
+ "name": "generate update CUUP rrmpolicymember 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.rrmpolicy.member.putCUUP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2008.6759338378906,
+ "y": 4550.95068231225,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f77e456f.c2b298",
+ "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.member.putCUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.member.putCUUP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-cuup-rrm-policy-member`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1953.0852508544922,
+ "y": 4582.895509392023,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "897e5204.1a5f2",
+ "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 CUUP-rrmpolicymember in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.member.putCUUP.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1994.3355178833008,
+ "y": 4620.811527878046,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d6d3c751.d10a68",
+ "type": "execute",
+ "name": "Update cellCU for gNBCUUP in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.member.putCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-cuup-rrm-policy-member.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-rrmpolicy-member-cuup-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": 1978.4376678466797,
+ "y": 4656.3479363024235,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "8d862fa4.c9a3f",
+ "7395f53f.95660c"
+ ]
+ ]
+ },
+ {
+ "id": "8d862fa4.c9a3f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2339.786895751953,
+ "y": 4531.81494012475,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "9436e59f.320ad8"
+ ]
+ ]
+ },
+ {
+ "id": "9436e59f.320ad8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2540.286865234375,
+ "y": 4520.065062195063,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "4eb78ffa.d923f",
+ "2792de7d.1c9e92",
+ "4fc9638e.cb66dc"
+ ]
+ ]
+ },
+ {
+ "id": "2792de7d.1c9e92",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatioMember - CUUP. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2723.7866859436035,
+ "y": 4486.065123230219,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "4eb78ffa.d923f",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2720.0363998413086,
+ "y": 4527.314879089594,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "46cde060.8a3cd",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated CPS - CUUP RRMPolicyRatio Member\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2693.036766052246,
+ "y": 4574.314818054438,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aadc1d45.a2117",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2527.036766052246,
+ "y": 4573.314818054438,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "46cde060.8a3cd"
+ ]
+ ]
+ },
+ {
+ "id": "7395f53f.95660c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2346.036766052246,
+ "y": 4579.314573913813,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "aadc1d45.a2117"
+ ]
+ ]
+ },
+ {
+ "id": "c2048236.d8096",
+ "type": "execute",
+ "name": "generate putRRMPolicyRatio 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.rrmpolicy.member.putDU.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3448.166778564453,
+ "y": 6686.305662781,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2330fb26.2078a4",
+ "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.member.putDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.member.putDU.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrcelldu-rrm-policy-member`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3442.5761337280273,
+ "y": 6721.583875328302,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a1dca482.2f7d58",
+ "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 DU-rrmolicy policy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.member.putDU.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3464.9374084472656,
+ "y": 6759.500170379877,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d34d05.7dd4a2f8",
+ "type": "execute",
+ "name": "update RRMPolicy for DU in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.member.putDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcelldu-rrm-policy-member.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-rrmpolicy-member-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": 3479.8333740234375,
+ "y": 6797.416879326105,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "e315e8b5.eaede8",
+ "9240f29.e5c0e1"
+ ]
+ ]
+ },
+ {
+ "id": "c7b46ecd.affb2",
+ "type": "comment",
+ "name": "CPS",
+ "info": "",
+ "comments": "",
+ "x": 3281.9168014526367,
+ "y": 6466.305685669184,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "7e46db72.c4ef94",
+ "type": "comment",
+ "name": "CPS",
+ "info": "",
+ "comments": "",
+ "x": 2816.916778564453,
+ "y": 6247.27783074975,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "e315e8b5.eaede8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3759.972198486328,
+ "y": 6747.555662781,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "66780119.2caf3"
+ ]
+ ]
+ },
+ {
+ "id": "9240f29.e5c0e1",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3769.722137451172,
+ "y": 6790.055051475763,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "b25f79ba.5420f8"
+ ]
+ ]
+ },
+ {
+ "id": "66780119.2caf3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3978.472152709961,
+ "y": 6728.305477768183,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "e2f6fdd2.84888",
+ "6141096b.6af6d8",
+ "4fc9638e.cb66dc"
+ ]
+ ]
+ },
+ {
+ "id": "b25f79ba.5420f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3971.4720916748047,
+ "y": 6789.05560079217,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "7de78fba.fbc35"
+ ]
+ ]
+ },
+ {
+ "id": "6141096b.6af6d8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatioMember - NRCellDU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4168.221664428711,
+ "y": 6695.555843025446,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "e2f6fdd2.84888",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4188.221790313721,
+ "y": 6736.80584397912,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "7de78fba.fbc35",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated CPS - NRCellDU RRMPolicyRatio Member\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4136.222152709961,
+ "y": 6793.805356651545,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3cf6d948.92d296",
+ "type": "set",
+ "name": "set rrmpolicymembers length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nrcellcu-rrmpolicymembers.size' />\n\t<parameter name='source' value=\"`'getrrmpolicyratioinfo-cps-response.attributes.RRMPolicyRatio['+$idcu-rrm1+'].attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "x": 2169.1695098876953,
+ "y": 2617.3703257143497,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "4b214215.15478c",
+ "type": "set",
+ "name": "RRMPolicyMember Id",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.nrcellcu-rrmpolicymembers.size+1`'/>\n",
+ "comments": "",
+ "x": 2163.614044189453,
+ "y": 2646.25927606225,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "3e0db294.7616be",
+ "type": "set",
+ "name": "set rrmpolicymembers length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cuup-rrmpolicymembers.size' />\n\t<parameter name='source' value=\"`'get-rrmpolicy-gNBCUUP-cps-response.attributes.RRMPolicyRatio['+$idcuup-rrm1+'].attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "x": 2167.4169845581055,
+ "y": 4261.111266762018,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "bee2dd97.dd4c3",
+ "type": "set",
+ "name": "RRMPolicyMember Id",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.cuup-rrmpolicymembers.size+1`'/>\n",
+ "comments": "",
+ "x": 2158.1115341186523,
+ "y": 4292.500428825617,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "af21e65f.ee7018",
+ "type": "set",
+ "name": "set rrmpolicymembers length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nrcelldu-rrmpolicymembers.size' />\n\t<parameter name='source' value=\"`'get-gNBDU-rrmpolicy-cps-response.attributes.RRMPolicyRatio['+$idcu-rrm1+'].attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "x": 3487.138946533203,
+ "y": 6456.527612358332,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "fa0011d7.8c459",
+ "type": "set",
+ "name": "RRMPolicyMember Id",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.nrcelldu-rrmpolicymembers.size+1`'/>\n",
+ "comments": "",
+ "x": 3481.583480834961,
+ "y": 6485.416562706232,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "feed7d57.9a536",
+ "type": "execute",
+ "name": "split cellDULocalId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.cellDULocalId`\" />\n <parameter name=\"regex\" value=\"\\.\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.cellId\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3092.41707611084,
+ "y": 4850.972624450922,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c567b183.5056e",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellId[0]`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3098.480010986328,
+ "y": 4894.285886436701,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "39a05005.1b61f",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.cellDULocalId' value='`$tmp.cellId[0]`'/>",
+ "comments": "",
+ "x": 2945.027988433838,
+ "y": 6202.361413627863,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "626df13d.f26fb",
+ "type": "set",
+ "name": "set if applicable",
+ "xml": "<set>\n<parameter name='tmp.cu-applicable' value='true'/>\n\n ",
+ "comments": "",
+ "x": 2370.194366455078,
+ "y": 1166.8055664598942,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "39832cc5.63bcd4",
+ "type": "switchNode",
+ "name": "check applicablity",
+ "xml": "<switch test='`$tmp.cu-applicable`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 776.3056640625,
+ "y": 1770.1388985216618,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "d148b21e.5e0cb"
+ ]
+ ]
+ },
+ {
+ "id": "e7dc5b78.7d7a98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1203.2500305175781,
+ "y": 1772.7777344286442,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "2248f02c.dd932"
+ ]
+ ]
+ },
+ {
+ "id": "d148b21e.5e0cb",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 974.9166679382324,
+ "y": 1769.7222153246403,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "e7dc5b78.7d7a98"
+ ]
+ ]
+ },
+ {
+ "id": "f16ee390.02b44",
+ "type": "set",
+ "name": "set if applicable",
+ "xml": "<set>\n<parameter name='tmp.cu-applicable' value='false'/>\n\n ",
+ "comments": "",
+ "x": 895.0555725097656,
+ "y": 1560.5555664598942,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "82178944.e17a68",
+ "type": "set",
+ "name": "set response size",
+ "xml": "<set>\n<parameter name='tmp.response.size' value=\"`$getListofCells-cps-response._length`\"/>",
+ "comments": "",
+ "x": 1850.3336334228516,
+ "y": 1032.9166132509708,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "d36aefd.92c4a1",
+ "type": "for",
+ "name": "For",
+ "xml": "<for index='id-res' start='0' end='`$tmp.response.size`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1846.5832290649414,
+ "y": 1111.6666399538517,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "bda10a65.433388"
+ ]
+ ]
+ },
+ {
+ "id": "bda10a65.433388",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1826.5832824707031,
+ "y": 1154.1666504442692,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "3bf3b517.8ca01a",
+ "112ba457.40ae7c"
+ ]
+ ]
+ },
+ {
+ "id": "3bf3b517.8ca01a",
+ "type": "execute",
+ "name": "read TACells length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.tacells.length' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.['+$id-res+'].taCellsList_length'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1834.3611145019531,
+ "y": 1212.2221924364567,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a6ab7c42.4c54a",
+ "type": "block",
+ "name": "Add sliceprofile NRTRIC",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 831.6388854980469,
+ "y": 876.2778116762638,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "fd0afa7.b0b4108",
+ "534a9599.b237dc",
+ "15465511.285f2b",
+ "14179e92.06fe21"
+ ]
+ ]
+ },
+ {
+ "id": "15465511.285f2b",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1359.6393508911133,
+ "y": 774.6842428743839,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "9cba405f.11a7b",
+ "8ffa1616.8a47e8"
+ ]
+ ]
+ },
+ {
+ "id": "9cba405f.11a7b",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1433.3890914916992,
+ "y": 725.6837927401066,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "aa5c9e47.9743"
+ ]
+ ]
+ },
+ {
+ "id": "aa5c9e47.9743",
+ "type": "block",
+ "name": "URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1709.5904693603516,
+ "y": 654.2829414904118,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "e7fe79a2.497b48",
+ "75f67e71.33887"
+ ]
+ ]
+ },
+ {
+ "id": "e7fe79a2.497b48",
+ "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": 1984.388801574707,
+ "y": 617.4341513216496,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "75f67e71.33887",
+ "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": 1980.9236450195312,
+ "y": 654.0331369936466,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a70af06a.5e725",
+ "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": 2050.923583984375,
+ "y": 696.0331827700138,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3f31abdc.5b6774",
+ "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": 2062.458465576172,
+ "y": 740.631991058588,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "94c5781a.6819f8",
+ "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": 2081.923843383789,
+ "y": 781.0330120325089,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "10320d78.7ce4c3",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1708.6288833618164,
+ "y": 734.1837979853153,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "a70af06a.5e725",
+ "3f31abdc.5b6774",
+ "94c5781a.6819f8"
+ ]
+ ]
+ },
+ {
+ "id": "8ffa1616.8a47e8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1457.388874053955,
+ "y": 776.6838232576847,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "10320d78.7ce4c3"
+ ]
+ ]
+ },
+ {
+ "id": "534a9599.b237dc",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add SliceProfile ToNearRTRIC url:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1266.8891296386719,
+ "y": 815.0278765261173,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fd0afa7.b0b4108",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for ADD SliceProfile ToNearRTRIC\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.latency`\"/>\n<parameter name=\"field7\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field9\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field10\" value=\"`$payloadJson.input.sliceProfile.uEMobilityLevel`\"/>\n<parameter name=\"field11\" value=\"`$tmp.trackingArea`\"/>\n<parameter name=\"field12\" value=\"`$payloadJson.input.sliceProfile.resourceSharingLevel`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1229.6396408081055,
+ "y": 851.2672325670719,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "14179e92.06fe21",
+ "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": 1195.3899230957031,
+ "y": 906.7778307497501,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "37ea83a7.134eec",
+ "f0d8f3d6.4ec51"
+ ]
+ ]
+ },
+ {
+ "id": "f0d8f3d6.4ec51",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1512.8900203704834,
+ "y": 877.0170847475529,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "3d972697.47d75a"
+ ]
+ ]
+ },
+ {
+ "id": "37ea83a7.134eec",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1506.6391830444336,
+ "y": 828.7671629488468,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "413f290c.d936a8"
+ ]
+ ]
+ },
+ {
+ "id": "413f290c.d936a8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1666.8128356933594,
+ "y": 817.0884577333927,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "be9e193a.73ef38",
+ "4fc9638e.cb66dc"
+ ]
+ ]
+ },
+ {
+ "id": "3d972697.47d75a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1642.8886489868164,
+ "y": 867.2671267092228,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "1e1068c6.52a197"
+ ]
+ ]
+ },
+ {
+ "id": "1e1068c6.52a197",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add to NRCELLCU Executed Successfully \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1814.3894424438477,
+ "y": 851.5176149904728,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "be9e193a.73ef38",
+ "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": 1821.3895530700684,
+ "y": 819.5173536837101,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "d2c6d8e4.bf2c08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 770.2499694824219,
+ "y": 1106.277769714594,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "2344229f.16668e",
+ "f3660605.d5a358",
+ "ddc6b01b.ec32a",
+ "ba2b1129.5d359"
+ ]
+ ]
+ },
+ {
+ "id": "2344229f.16668e",
+ "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": 1047.7499694824219,
+ "y": 1092.527769714594,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f3660605.d5a358",
+ "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": 1002.1318588256836,
+ "y": 1128.0002237856388,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ddc6b01b.ec32a",
+ "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 NearRTRIC in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.addSliceProfile.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1020.6317825317383,
+ "y": 1158.500103622675,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ba2b1129.5d359",
+ "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=\"modify-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": 1002.7500228881836,
+ "y": 1190.027815490961,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "4b8295ba.4190bc",
+ "2d6f4695.d839aa"
+ ]
+ ]
+ },
+ {
+ "id": "2d6f4695.d839aa",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1241.5001029968262,
+ "y": 1122.8055197298527,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "38f2d07.457073"
+ ]
+ ]
+ },
+ {
+ "id": "4b8295ba.4190bc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1228.0682678222656,
+ "y": 1167.7148281633854,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "e3973d0b.12234"
+ ]
+ ]
+ },
+ {
+ "id": "e3973d0b.12234",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1378.3182830810547,
+ "y": 1166.2148796617985,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "633c2f96.f069f"
+ ]
+ ]
+ },
+ {
+ "id": "633c2f96.f069f",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated Slice Profile in CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1522.068120956421,
+ "y": 1158.714965492487,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "38f2d07.457073",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1364.0001220703125,
+ "y": 1080.305544525385,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": [
+ [
+ "737a19d2.6e6768",
+ "980589f1.d570e8",
+ "4fc9638e.cb66dc"
+ ]
+ ]
+ },
+ {
+ "id": "980589f1.d570e8",
+ "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": 1571.7498207092285,
+ "y": 1061.1665932238102,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []
+ },
+ {
+ "id": "737a19d2.6e6768",
+ "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": 1554.7496643066406,
+ "y": 1114.8055874407291,
+ "z": "27bb3cd4.ff8ff4",
+ "wires": []