+ "x": 137.4375,
+ "y": 240.43743515014648,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "43cfd799.e43718"
+ ]
+ ]
+ },
+ {
+ "id": "43cfd799.e43718",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 159.9375114440918,
+ "y": 320.93750381469727,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "f0cba510.d429c8",
+ "61526ba5.4b2eb4",
+ "1045a904.a81917",
+ "db76a950.2c38e8",
+ "952aa6bf.fd8938",
+ "d3040b3a.dd43a8",
+ "66891c41.e89ca4",
+ "a052b62c.1fa458",
+ "67aabd43.7b3e14",
+ "198c87cb.f1d948",
+ "d302afcf.237ef",
+ "f2b8e61a.a5c8c8",
+ "738ca283.54ba9c",
+ "c80b56a5.99a988",
+ "1c09cf50.00c361",
+ "20d20dea.8129f2",
+ "a16a753b.c1e978",
+ "ef19e8dd.548808",
+ "b72487f2.f75598",
+ "8eaff649.12a058",
+ "f53bf76b.8dba48"
+ ]
+ ]
+ },
+ {
+ "id": "f0cba510.d429c8",
+ "type": "execute",
+ "name": "generate getNearRTRICsFromRANNFNSSI URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICByNSSI`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 741.6875,
+ "y": 501.6875081062317,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "61526ba5.4b2eb4",
+ "type": "record",
+ "name": "record configdb RestAPI params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$ranNFNSSIId`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 681.6875152587891,
+ "y": 552.687527179718,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1045a904.a81917",
+ "type": "execute",
+ "name": "Get nearRTRIC for TrackingArea",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 671.6875915527344,
+ "y": 604.6875576972961,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "12546ac7.74cd65",
+ "dcd91128.9ebfa"
+ ]
+ ]
+ },
+ {
+ "id": "12546ac7.74cd65",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 970.5055961608887,
+ "y": 622.5055813789368,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "2520024f.3e60fe"
+ ]
+ ]
+ },
+ {
+ "id": "2520024f.3e60fe",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1140.5054931640625,
+ "y": 623.505696773529,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "c854edfe.78e89",
+ "80b014dc.086ba8"
+ ]
+ ]
+ },
+ {
+ "id": "c854edfe.78e89",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1363.5052909851074,
+ "y": 568.5056805610657,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "80b014dc.086ba8",
+ "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-terminateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1359.283432006836,
+ "y": 639.5056881904602,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dcd91128.9ebfa",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 976.5055503845215,
+ "y": 562.5056653022766,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "62e0747d.afde9c"
+ ]
+ ]
+ },
+ {
+ "id": "62e0747d.afde9c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1256.5056266784668,
+ "y": 468.5057191848755,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "11953360.467cdd",
+ "cf52b92f.10a1a8"
+ ]
+ ]
+ },
+ {
+ "id": "11953360.467cdd",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1434.50541305542,
+ "y": 422.6167459487915,
+ "z": "73e537e.8932bc8",
+ "wires": []
+ },
+ {
+ "id": "db76a950.2c38e8",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$activate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$activate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$activate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$activate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$activate-r-a-n-slice-input.payload`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 646.4375,
+ "y": 129.43748664855957,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "952aa6bf.fd8938",
+ "type": "set",
+ "name": "set default status value",
+ "xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of terminateRANSice RPC' />",
+ "comments": "",
+ "x": 685.437255859375,
+ "y": 172.43749904632568,
+ "z": "73e537e.8932bc8",
+ "wires": []
+ },
+ {
+ "id": "d3040b3a.dd43a8",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='activate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 690.4372711181641,
+ "y": 217.18748474121094,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "34ba53e7.4fbc7c"
+ ]
+ ]
+ },
+ {
+ "id": "66891c41.e89ca4",
+ "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-terminateRANSlice-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 661.1872253417969,
+ "y": 316.1770477294922,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a052b62c.1fa458",
+ "type": "execute",
+ "name": "execute Properties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 681.1872100830078,
+ "y": 357.1874132156372,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "67aabd43.7b3e14",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. controller details \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field5\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field6\" value=\"`$prop.ransim-mounted`\"/>\n<parameter name=\"field7\" value=\"config DB deployed (true/false): \"/>\n<parameter name=\"field8\" value=\"`$prop.configdb-deployed`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 654.6872825622559,
+ "y": 408.18753147125244,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34ba53e7.4fbc7c",
+ "type": "other",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 956.9372825622559,
+ "y": 219.18747425079346,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "5b6cca11.9cad94"
+ ]
+ ]
+ },
+ {
+ "id": "5b6cca11.9cad94",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1156.9374389648438,
+ "y": 221.9374704360962,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "98c043ee.951b8",
+ "423b0303.ed9b0c"
+ ]
+ ]
+ },
+ {
+ "id": "98c043ee.951b8",
+ "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-terminateRANSlice-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1346.937515258789,
+ "y": 183.43750476837158,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "423b0303.ed9b0c",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfileId`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1346.18745803833,
+ "y": 247.43752098083496,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "198c87cb.f1d948",
+ "type": "for",
+ "name": "foreach NearRTRIC",
+ "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 424.3750915527344,
+ "y": 1045.3125171661377,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "bb11e40f.ebaa68",
+ "623b8887.a167d8",
+ "52b3e00e.e5abf"
+ ]
+ ]
+ },
+ {
+ "id": "bb11e40f.ebaa68",
+ "type": "block",
+ "name": "Process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 689.6250305175781,
+ "y": 1038.7444477081299,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "4e224bda.30d0a4",
+ "d8c32c5c.092ed",
+ "8b1c383c.6f0db8"
+ ]
+ ]
+ },
+ {
+ "id": "4e224bda.30d0a4",
+ "type": "execute",
+ "name": "read CUCP list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1035.875015258789,
+ "y": 908.4943561553955,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d8c32c5c.092ed",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 995.3749961853027,
+ "y": 955.9944334030151,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8b1c383c.6f0db8",
+ "type": "for",
+ "name": "foreach CUCP",
+ "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1012.1251220703125,
+ "y": 1005.9944341182709,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "52cdfc02.d2b554"
+ ]
+ ]
+ },
+ {
+ "id": "52cdfc02.d2b554",
+ "type": "block",
+ "name": "block : process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1223.125015258789,
+ "y": 969.244327545166,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "646b737c.114bfc",
+ "a4f6f876.fca2c8",
+ "705aec8e.889684",
+ "effc97f7.aa0768"
+ ]
+ ]
+ },
+ {
+ "id": "646b737c.114bfc",
+ "type": "execute",
+ "name": "read CUCP name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1477.8750228881836,
+ "y": 705.9943523406982,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "705aec8e.889684",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1449.625114440918,
+ "y": 754.4943389892578,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "effc97f7.aa0768",
+ "type": "execute",
+ "name": "read cellCU list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1486.8750228881836,
+ "y": 802.2443542480469,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a4f6f876.fca2c8",
+ "type": "for",
+ "name": "for cellCUList",
+ "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1461.8749923706055,
+ "y": 854.9943695068359,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "e61d08b.c8d36f8"
+ ]
+ ]
+ },
+ {
+ "id": "e61d08b.c8d36f8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1676.8750343322754,
+ "y": 855.2443866729736,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "d3fb7cf3.0407",
+ "90d4169b.0cd418"
+ ]
+ ]
+ },
+ {
+ "id": "d3fb7cf3.0407",
+ "type": "execute",
+ "name": "read PLMNList size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1908.2781448364258,
+ "y": 828.3415851593018,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90d4169b.0cd418",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1922.8615798950195,
+ "y": 892.091628074646,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "1306eaa1.403c05"
+ ]
+ ]
+ },
+ {
+ "id": "1306eaa1.403c05",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2100.750556945801,
+ "y": 814.8694171905518,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "d2c18ab3.c24978",
+ "eaa59340.e8939",
+ "980da038.262e2"
+ ]
+ ]
+ },
+ {
+ "id": "980da038.262e2",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2435.6394119262695,
+ "y": 770.0916481018066,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d2c18ab3.c24978",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2306.639518737793,
+ "y": 838.0915994644165,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eaa59340.e8939",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2345.5283584594727,
+ "y": 902.6471662521362,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "4f3107a.2937ef8"
+ ]
+ ]
+ },
+ {
+ "id": "4f3107a.2937ef8",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2535.000556945801,
+ "y": 902.8694953918457,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "1d241be7.c8bbc4"
+ ]
+ ]
+ },
+ {
+ "id": "1d241be7.c8bbc4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2755.625,
+ "y": 900.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "a302bf1.efd614",
+ "3fd39755.b5cbf8",
+ "3a12865a.0d117a",
+ "299e60f.af51ea",
+ "ba736919.8a3b38",
+ "bccb9a19.543658",
+ "29628860.8b8dc8",
+ "a04a1ff1.c04b6",
+ "45de62b8.cced2c"
+ ]
+ ]
+ },
+ {
+ "id": "45de62b8.cced2c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2950.625,
+ "y": 895.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a04a1ff1.c04b6",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2978.625,
+ "y": 963.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "27bc8985.294fc6",
+ "3ce10ed5.092432"
+ ]
+ ]
+ },
+ {
+ "id": "27bc8985.294fc6",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3186.625,
+ "y": 928.624755859375,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "5c98a9b7.805fb8"
+ ]
+ ]
+ },
+ {
+ "id": "5c98a9b7.805fb8",
+ "type": "execute",
+ "name": "generate patch PLMNInfoListEntry ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3506.625,
+ "y": 943.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c0149f76.a0f0e",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3685.125030517578,
+ "y": 1001.6249389648438,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "986e780a.2b92f8",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3629.125431060791,
+ "y": 1054.62513256073,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ceac5f2d.de7c3",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3378.125,
+ "y": 1031.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "c0149f76.a0f0e",
+ "986e780a.2b92f8"
+ ]
+ ]
+ },
+ {
+ "id": "3ce10ed5.092432",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3174.625,
+ "y": 1030.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "ceac5f2d.de7c3"
+ ]
+ ]
+ },
+ {
+ "id": "a302bf1.efd614",
+ "type": "execute",
+ "name": "read cellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2945.625,
+ "y": 1063.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ba736919.8a3b38",
+ "type": "execute",
+ "name": "prepare idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2972.625,
+ "y": 1127.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bccb9a19.543658",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2933.625259399414,
+ "y": 1173.1250286102295,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "29628860.8b8dc8",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2899.3750610351562,
+ "y": 1254.8750562667847,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3fd39755.b5cbf8",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2888.12548828125,
+ "y": 1315.125072479248,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3a12865a.0d117a",
+ "type": "record",
+ "name": "record API params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2884.625,
+ "y": 1383.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "299e60f.af51ea",
+ "type": "execute",
+ "name": "activate PLMNInfoListEntry ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-cellCU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2924.6251068115234,
+ "y": 1446.6249732971191,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "2cf676c2.3fd4ea",
+ "f8fba380.e8c38"
+ ]
+ ]
+ },
+ {
+ "id": "f8fba380.e8c38",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3140.62508392334,
+ "y": 1325.6249732971191,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "930a46d3.3df258"
+ ]
+ ]
+ },
+ {
+ "id": "930a46d3.3df258",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3290.625358581543,
+ "y": 1284.625156402588,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "debf2a5f.a15d48",
+ "62751a13.a72014",
+ "cf52b92f.10a1a8"
+ ]
+ ]
+ },
+ {
+ "id": "62751a13.a72014",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3456.625114440918,
+ "y": 1250.625156402588,
+ "z": "73e537e.8932bc8",
+ "wires": []
+ },
+ {
+ "id": "debf2a5f.a15d48",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3461.6249923706055,
+ "y": 1345.6252174377441,
+ "z": "73e537e.8932bc8",
+ "wires": []
+ },
+ {
+ "id": "54cfb6bf.e47b78",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3546.6249618530273,
+ "y": 1438.625400543213,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "188f83ea.3d48fc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3348.624900817871,
+ "y": 1441.6252784729004,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "54cfb6bf.e47b78"
+ ]
+ ]
+ },
+ {
+ "id": "2cf676c2.3fd4ea",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3175.625114440918,
+ "y": 1442.6252174377441,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "188f83ea.3d48fc"
+ ]
+ ]
+ },
+ {
+ "id": "d302afcf.237ef",
+ "type": "set",
+ "name": "set status as ACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
+ "comments": "",
+ "x": 693.4375,
+ "y": 454.375,
+ "z": "73e537e.8932bc8",
+ "wires": []
+ },
+ {
+ "id": "f2b8e61a.a5c8c8",
+ "type": "execute",
+ "name": "read sNSSAI from input",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNSSAI' />\n\t<parameter name='source' value=\"`$payloadJson.input.NSSAI`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 698.1250152587891,
+ "y": 263.4375057220459,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "623b8887.a167d8",
+ "type": "block",
+ "name": "Process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 690.6250534057617,
+ "y": 1180.6250257492065,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "5edb379d.514778",
+ "4d3d871.621e378",
+ "b3a7abd3.ab2ac8"
+ ]
+ ]
+ },
+ {
+ "id": "5edb379d.514778",
+ "type": "execute",
+ "name": "read CUUP list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1021.625057220459,
+ "y": 1080.6250228881836,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4d3d871.621e378",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 978.6251220703125,
+ "y": 1131.8750252723694,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b3a7abd3.ab2ac8",
+ "type": "for",
+ "name": "foreach CUUP",
+ "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1004.1250152587891,
+ "y": 1180.6250247955322,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "b36e4008.81623"
+ ]
+ ]
+ },
+ {
+ "id": "b36e4008.81623",
+ "type": "block",
+ "name": "block : process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1227.6250610351562,
+ "y": 1163.8750705718994,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "22f58645.55e61a",
+ "62e419e7.9c4ab8",
+ "7516a8f.7a59058",
+ "5c4c4274.95bb3c"
+ ]
+ ]
+ },
+ {
+ "id": "22f58645.55e61a",
+ "type": "execute",
+ "name": "read CUUP id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1471.625,
+ "y": 939.125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "62e419e7.9c4ab8",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1467.625,
+ "y": 993.125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7516a8f.7a59058",
+ "type": "execute",
+ "name": "read plmninfolist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1518.625,
+ "y": 1058.125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5c4c4274.95bb3c",
+ "type": "for",
+ "name": "foreach pLMNInfo",
+ "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1504.625,
+ "y": 1113.125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "2c5e82ef.5ab08e"
+ ]
+ ]
+ },
+ {
+ "id": "2c5e82ef.5ab08e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1743.75,
+ "y": 1110.3125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "d7e78b50.130018",
+ "ae1fc405.ff2a58",
+ "ce7f221.e3090e"
+ ]
+ ]
+ },
+ {
+ "id": "d7e78b50.130018",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1957.000259399414,
+ "y": 1111.0626487731934,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "43dda371.85d0cc",
+ "b28fc0c6.768a6"
+ ]
+ ]
+ },
+ {
+ "id": "43dda371.85d0cc",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2170.000141143799,
+ "y": 1078.5622673034668,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "92eabe0e.0ecdb"
+ ]
+ ]
+ },
+ {
+ "id": "92eabe0e.0ecdb",
+ "type": "execute",
+ "name": "generate patch PLMNInfoListEntry CUUP URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2495.0000228881836,
+ "y": 1033.5625715255737,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1e03d99f.4b54d6",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.TogNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2605.7495651245117,
+ "y": 1116.3122825622559,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cfddd286.9a08f",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2589.7500858306885,
+ "y": 1184.3125429153442,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1e46f7a0.12e1b8",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2329.999870300293,
+ "y": 1175.062283039093,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "1e03d99f.4b54d6",
+ "cfddd286.9a08f"
+ ]
+ ]
+ },
+ {
+ "id": "b28fc0c6.768a6",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2155.500015258789,
+ "y": 1164.31254196167,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "1e46f7a0.12e1b8"
+ ]
+ ]
+ },
+ {
+ "id": "ae1fc405.ff2a58",
+ "type": "execute",
+ "name": "prepare idGNBCUUPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1983.4375,
+ "y": 1241.875,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ce7f221.e3090e",
+ "type": "execute",
+ "name": "patch PLMNInfoListEntry gNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-gNBCUUP-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1999.4375,
+ "y": 1298.875,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "aee81218.72027",
+ "7d297bbe.d06bd4"
+ ]
+ ]
+ },
+ {
+ "id": "aee81218.72027",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2301.4376525878906,
+ "y": 1300.8752393722534,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "8453c6af.a13a18"
+ ]
+ ]
+ },
+ {
+ "id": "7d297bbe.d06bd4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2295.437530517578,
+ "y": 1367.8751783370972,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "d8b21643.b8fd78"
+ ]
+ ]
+ },
+ {
+ "id": "8453c6af.a13a18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2478.437774658203,
+ "y": 1289.875117301941,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "1de38af1.68ef85",
+ "484c6fd2.3298c",
+ "cf52b92f.10a1a8"
+ ]
+ ]
+ },
+ {
+ "id": "d8b21643.b8fd78",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2475.437530517578,
+ "y": 1372.8749952316284,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "bd12c7c4.296008"
+ ]
+ ]
+ },
+ {
+ "id": "bd12c7c4.296008",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2628.437225341797,
+ "y": 1372.8752393722534,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1de38af1.68ef85",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2683.1877365112305,
+ "y": 1290.3753967285156,
+ "z": "73e537e.8932bc8",
+ "wires": []
+ },
+ {
+ "id": "484c6fd2.3298c",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2688.1879234313965,
+ "y": 1236.3755326271057,
+ "z": "73e537e.8932bc8",
+ "wires": []
+ },
+ {
+ "id": "52b3e00e.e5abf",
+ "type": "block",
+ "name": "Process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 685.0000076293945,
+ "y": 1329.0625247955322,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "7e06ceca.74922",
+ "1051a27a.b8e44e",
+ "352a5eb7.c4dff2"
+ ]
+ ]
+ },
+ {
+ "id": "7e06ceca.74922",
+ "type": "execute",
+ "name": "read DUlist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1017.7500305175781,
+ "y": 1235.0625114440918,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1051a27a.b8e44e",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 990.750057220459,
+ "y": 1278.562572479248,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "352a5eb7.c4dff2",
+ "type": "for",
+ "name": "foreach DU",
+ "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1002.7500305175781,
+ "y": 1329.8125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "e932e598.a8e4d8"
+ ]
+ ]
+ },
+ {
+ "id": "e932e598.a8e4d8",
+ "type": "block",
+ "name": "block : process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1283.75,
+ "y": 1330.8124694824219,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "67418177.4b675",
+ "76ffbff1.a238b",
+ "4501d8aa.3adbf8",
+ "48d81af7.03f064"
+ ]
+ ]
+ },
+ {
+ "id": "67418177.4b675",
+ "type": "execute",
+ "name": "read DU id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1562.7498245239258,
+ "y": 1326.8117713928223,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "76ffbff1.a238b",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1535.7498245239258,
+ "y": 1377.8117713928223,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4501d8aa.3adbf8",
+ "type": "execute",
+ "name": "read cellDU list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1576.7498245239258,
+ "y": 1426.8117713928223,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "48d81af7.03f064",
+ "type": "for",
+ "name": "for cellDUList",
+ "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1566.7498245239258,
+ "y": 1470.8117713928223,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "98b4252b.430ee8"
+ ]
+ ]
+ },
+ {
+ "id": "98b4252b.430ee8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1726.499885559082,
+ "y": 1470.5618963241577,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "13016587.c7632a",
+ "c22a6693.7c9d58"
+ ]
+ ]
+ },
+ {
+ "id": "13016587.c7632a",
+ "type": "execute",
+ "name": "read PLMNList size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1974.6875,
+ "y": 1470.3125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c22a6693.7c9d58",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1953.0208740234375,
+ "y": 1540.3125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "ae921aff.c45078"
+ ]
+ ]
+ },
+ {
+ "id": "ae921aff.c45078",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2138.4096603393555,
+ "y": 1534.3402099609375,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "7383ae7b.5b99f",
+ "7503b7ce.7796d8",
+ "e0761d19.bc37e"
+ ]
+ ]
+ },
+ {
+ "id": "e0761d19.bc37e",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2513.2986068725586,
+ "y": 1453.3128719329834,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7383ae7b.5b99f",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2374.2986030578613,
+ "y": 1511.3127517700195,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7503b7ce.7796d8",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2369.43758392334,
+ "y": 1560.8682289123535,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "8ded1517.4c32d8"
+ ]
+ ]
+ },
+ {
+ "id": "8ded1517.4c32d8",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2543.909828186035,
+ "y": 1553.5905861854553,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "50499d51.fe3e14"
+ ]
+ ]
+ },
+ {
+ "id": "50499d51.fe3e14",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2717.937629699707,
+ "y": 1549.56272315979,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "4efbb0f2.f7229",
+ "67913975.042ea8",
+ "b11b382e.43f478",
+ "9472e52c.249c78",
+ "7eb7f6b8.3dba48",
+ "9a055ee1.e66aa",
+ "b402baa1.acbe58",
+ "b43da734.c06b08",
+ "3b663477.76ed6c"
+ ]
+ ]
+ },
+ {
+ "id": "67913975.042ea8",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2930.4379959106445,
+ "y": 1518.3127232789993,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4efbb0f2.f7229",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2934.6875076293945,
+ "y": 1576.3127555847168,
+ "z": "73e537e.8932bc8",