+ },
+ {
+ "id": "5de7db9d.692f04",
+ "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": 3694.187530517578,
+ "y": 972.6318778991699,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aa989b67.645808",
+ "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": 3638.187931060791,
+ "y": 1025.6320714950562,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bb1a8099.105d6",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3387.1875,
+ "y": 1002.6319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "5de7db9d.692f04",
+ "aa989b67.645808"
+ ]
+ ]
+ },
+ {
+ "id": "408dc4a2.df219c",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3183.6875,
+ "y": 1001.6319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "bb1a8099.105d6"
+ ]
+ ]
+ },
+ {
+ "id": "4e7e556c.845abc",
+ "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": 2954.6875,
+ "y": 1034.6319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6e24fd0.3cd09",
+ "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": 2981.6875,
+ "y": 1098.6319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "42fb01d5.8ba33",
+ "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": 2942.687759399414,
+ "y": 1144.1319675445557,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9b0a2c7e.8b569",
+ "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": 2908.4375610351562,
+ "y": 1225.8819952011108,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a2266a8.1c2d38",
+ "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": 2897.18798828125,
+ "y": 1286.1320114135742,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "731d42c4.f6e40c",
+ "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": 2893.6875,
+ "y": 1354.6319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df02fea.90fde",
+ "type": "execute",
+ "name": "activate PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-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": 2933.6876068115234,
+ "y": 1417.6319122314453,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "599d4ca5.dae754",
+ "7960760f.a0e828"
+ ]
+ ]
+ },
+ {
+ "id": "7960760f.a0e828",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3149.68758392334,
+ "y": 1296.6319122314453,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "7eba1214.d6292c"
+ ]
+ ]
+ },
+ {
+ "id": "7eba1214.d6292c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3299.687858581543,
+ "y": 1255.632095336914,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "d5024375.14d7a",
+ "11cc8a2d.1c0ef6",
+ "a6171c84.8f453"
+ ]
+ ]
+ },
+ {
+ "id": "11cc8a2d.1c0ef6",
+ "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": 3465.687614440918,
+ "y": 1221.632095336914,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "d5024375.14d7a",
+ "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": 3470.6874923706055,
+ "y": 1316.6321563720703,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "b7ef60e6.8ba87",
+ "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": 3555.6874618530273,
+ "y": 1409.632339477539,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bce86bbc.4e0a78",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3357.687400817871,
+ "y": 1412.6322174072266,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "b7ef60e6.8ba87"
+ ]
+ ]
+ },
+ {
+ "id": "599d4ca5.dae754",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3184.687614440918,
+ "y": 1413.6321563720703,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "bce86bbc.4e0a78"
+ ]
+ ]
+ },
+ {
+ "id": "d8a96a7b.dfd628",
+ "type": "execute",
+ "name": "read sNSSAI from input",
+ "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 707.1875152587891,
+ "y": 234.44444465637207,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "83b3aa05.8be538",
+ "type": "block",
+ "name": "Process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 699.6875534057617,
+ "y": 1151.6319646835327,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "ab889fe1.795bc",
+ "767a78bd.0c3858",
+ "bef03ad.2f251c8"
+ ]
+ ]
+ },
+ {
+ "id": "ab889fe1.795bc",
+ "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": 1030.687557220459,
+ "y": 1051.6319618225098,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "767a78bd.0c3858",
+ "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": 987.6876220703125,
+ "y": 1102.8819642066956,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bef03ad.2f251c8",
+ "type": "for",
+ "name": "foreach CUUP",
+ "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1013.1875152587891,
+ "y": 1151.6319637298584,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "a79c0f0.ce909f"
+ ]
+ ]
+ },
+ {
+ "id": "a79c0f0.ce909f",
+ "type": "block",
+ "name": "block : process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1236.6875610351562,
+ "y": 1134.8820095062256,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "18ef9633.d9bbda",
+ "f9bc59d6.5a5028",
+ "583ebb73.81c944",
+ "fb440a2f.179028"
+ ]
+ ]
+ },
+ {
+ "id": "18ef9633.d9bbda",
+ "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": 1480.6875,
+ "y": 910.1319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f9bc59d6.5a5028",
+ "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": 1476.6875,
+ "y": 964.1319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "583ebb73.81c944",
+ "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": 1527.6875,
+ "y": 1029.1319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fb440a2f.179028",
+ "type": "for",
+ "name": "foreach pLMNInfo",
+ "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1513.6875,
+ "y": 1084.1319389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "ddf97987.753eb8"
+ ]
+ ]
+ },
+ {
+ "id": "c41e3776.a23bb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1752.8125,
+ "y": 1081.3194389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "f6fc9393.56661",
+ "173ddfd.25e492",
+ "60bfcd2e.26d3b4",
+ "5c9636da.117878",
+ "486c8988.17b4e8",
+ "cf837fb7.24118"
+ ]
+ ]
+ },
+ {
+ "id": "f6fc9393.56661",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1966.062759399414,
+ "y": 1082.0695877075195,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "32d71801.387438",
+ "f70fa22d.1b3b9"
+ ]
+ ]
+ },
+ {
+ "id": "32d71801.387438",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2179.062641143799,
+ "y": 1049.569206237793,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "b23cfcec.7bedc"
+ ]
+ ]
+ },
+ {
+ "id": "b23cfcec.7bedc",
+ "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": 2504.0625228881836,
+ "y": 1004.5695104598999,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d051a6a1.a3b278",
+ "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": 2614.8120651245117,
+ "y": 1087.319221496582,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e9e95b17.1e7758",
+ "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": 2598.8125858306885,
+ "y": 1155.3194818496704,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "86fac64.a62ab38",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2339.062370300293,
+ "y": 1146.0692219734192,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "d051a6a1.a3b278",
+ "e9e95b17.1e7758"
+ ]
+ ]
+ },
+ {
+ "id": "f70fa22d.1b3b9",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2164.562515258789,
+ "y": 1135.319480895996,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "86fac64.a62ab38"
+ ]
+ ]
+ },
+ {
+ "id": "173ddfd.25e492",
+ "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": 2034.7221374511719,
+ "y": 1195.104145526886,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "60bfcd2e.26d3b4",
+ "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": 1984.0556335449219,
+ "y": 1308.7708168029785,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "a9f87790.beb6f8",
+ "1b34c3a5.cb065c"
+ ]
+ ]
+ },
+ {
+ "id": "a9f87790.beb6f8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2310.5001525878906,
+ "y": 1271.8821783065796,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "b38e2a02.d20078"
+ ]
+ ]
+ },
+ {
+ "id": "1b34c3a5.cb065c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2304.500030517578,
+ "y": 1338.8821172714233,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "7bb357a6.982188"
+ ]
+ ]
+ },
+ {
+ "id": "b38e2a02.d20078",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2487.500274658203,
+ "y": 1260.882056236267,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "fb2c033.9824a",
+ "b337d9a3.fb8778",
+ "a6171c84.8f453"
+ ]
+ ]
+ },
+ {
+ "id": "7bb357a6.982188",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2484.500030517578,
+ "y": 1343.8819341659546,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "6d52774b.718b58"
+ ]
+ ]
+ },
+ {
+ "id": "6d52774b.718b58",
+ "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": 2637.499725341797,
+ "y": 1343.8821783065796,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fb2c033.9824a",
+ "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": 2692.2502365112305,
+ "y": 1261.3823356628418,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "b337d9a3.fb8778",
+ "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": 2697.2504234313965,
+ "y": 1207.3824715614319,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "3b09f70f.de57e8",
+ "type": "block",
+ "name": "Process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 694.0625076293945,
+ "y": 1300.0694637298584,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "a2731454.f88ab8",
+ "fed2b0cf.516b5",
+ "490ac02c.0d8af"
+ ]
+ ]
+ },
+ {
+ "id": "a2731454.f88ab8",
+ "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": 1026.8125305175781,
+ "y": 1206.069450378418,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fed2b0cf.516b5",
+ "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": 999.812557220459,
+ "y": 1249.5695114135742,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "490ac02c.0d8af",
+ "type": "for",
+ "name": "foreach DU",
+ "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1011.8125305175781,
+ "y": 1300.8194389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "9d0de056.0e88b"
+ ]
+ ]
+ },
+ {
+ "id": "9d0de056.0e88b",
+ "type": "block",
+ "name": "block : process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1292.8125,
+ "y": 1301.819408416748,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "77316146.f524d",
+ "d1967c77.837a4",
+ "2878771e.95fa18",
+ "2c34edac.88ff82"
+ ]
+ ]
+ },
+ {
+ "id": "77316146.f524d",
+ "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": 1571.8123245239258,
+ "y": 1297.8187103271484,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d1967c77.837a4",
+ "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": 1544.8123245239258,
+ "y": 1348.8187103271484,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2878771e.95fa18",
+ "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": 1585.8123245239258,
+ "y": 1397.8187103271484,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2c34edac.88ff82",
+ "type": "for",
+ "name": "for cellDUList",
+ "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1575.8123245239258,
+ "y": 1441.8187103271484,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "418bc08c.4d246"
+ ]
+ ]
+ },
+ {
+ "id": "418bc08c.4d246",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1735.562385559082,
+ "y": 1441.568835258484,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "7e225a27.bc6134",
+ "3df28e05.782432",
+ "9950a6b.7600558"
+ ]
+ ]
+ },
+ {
+ "id": "7e225a27.bc6134",
+ "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": 1983.75,
+ "y": 1441.3194389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3df28e05.782432",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1962.0833740234375,
+ "y": 1511.3194389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "85575f8d.89fd3"
+ ]
+ ]
+ },
+ {
+ "id": "85575f8d.89fd3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2147.4721603393555,
+ "y": 1505.3471488952637,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "d4c5a550.025f88",
+ "6d4bb9ac.6f1ce8",
+ "6b23bbb4.2f26d4"
+ ]
+ ]
+ },
+ {
+ "id": "6d4bb9ac.6f1ce8",
+ "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": 2519.0278396606445,
+ "y": 1445.4309530258179,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1e65b7ed.d3e5f8",
+ "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": 2383.3611030578613,
+ "y": 1482.3196907043457,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d4c5a550.025f88",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2378.50008392334,
+ "y": 1531.8751678466797,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "1b16c5a4.524dfa"
+ ]
+ ]
+ },
+ {
+ "id": "1b16c5a4.524dfa",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2552.972328186035,
+ "y": 1524.5975251197815,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "15097fb6.9fe7e"
+ ]
+ ]
+ },
+ {
+ "id": "15097fb6.9fe7e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2727.000129699707,
+ "y": 1520.5696620941162,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "ee4d80c2.30823",
+ "f9746931.f68fc8",
+ "eeb6d06.ad3103",
+ "c099e06e.4ca54",
+ "70935f7e.52d6d",
+ "d50824ca.307f58",
+ "c365c8ce.3a5d38"
+ ]
+ ]
+ },
+ {
+ "id": "9a4bdf29.0e788",
+ "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": 2939.5004959106445,
+ "y": 1489.3196622133255,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ee4d80c2.30823",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2943.7500076293945,
+ "y": 1547.319694519043,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "25db24a4.94a7bc",
+ "7299ab72.ac3bf4"
+ ]
+ ]
+ },
+ {
+ "id": "25db24a4.94a7bc",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3153.000499725342,
+ "y": 1502.3192358016968,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "8c4ae1b6.8440d"
+ ]
+ ]
+ },
+ {
+ "id": "7299ab72.ac3bf4",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3148.000499725342,
+ "y": 1563.819938659668,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "77c32512.a85e0c"
+ ]
+ ]
+ },
+ {
+ "id": "8c4ae1b6.8440d",
+ "type": "execute",
+ "name": "generate patch PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3499.250259399414,
+ "y": 1501.0696926116943,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "77c32512.a85e0c",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3325.5000762939453,
+ "y": 1570.3195724487305,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "14cd17df.749028",
+ "75414c2d.295d74"
+ ]
+ ]
+ },
+ {
+ "id": "14cd17df.749028",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3607.500442504883,
+ "y": 1559.0695724487305,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "75414c2d.295d74",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3557.750747680664,
+ "y": 1619.569603919983,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f9746931.f68fc8",
+ "type": "execute",
+ "name": "prepare idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2990.6250610351562,
+ "y": 1674.1318769454956,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eeb6d06.ad3103",
+ "type": "execute",
+ "name": "prepare idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2963.625244140625,
+ "y": 1729.1318788528442,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c099e06e.4ca54",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2943.6249389648438,
+ "y": 1792.1321849822998,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "70935f7e.52d6d",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2945.6251831054688,
+ "y": 1850.131817817688,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d50824ca.307f58",
+ "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 cellDU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2950.6248168945312,
+ "y": 1918.132308959961,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c365c8ce.3a5d38",
+ "type": "execute",
+ "name": "patch PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3007.6248474121094,
+ "y": 1993.3816947937012,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "cbfb7182.04192",
+ "1353c2f.b08113d"
+ ]
+ ]
+ },
+ {
+ "id": "1353c2f.b08113d",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3274.6248474121094,
+ "y": 1893.3816947937012,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "daa2fa32.0a3cf8"
+ ]
+ ]
+ },
+ {
+ "id": "daa2fa32.0a3cf8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3432.6250915527344,
+ "y": 1841.3816947937012,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "6eefc424.f5818c",
+ "a67f38fc.2aa6f8",
+ "a6171c84.8f453"
+ ]
+ ]
+ },
+ {
+ "id": "a67f38fc.2aa6f8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3598.6248474121094,
+ "y": 1807.3816947937012,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "6eefc424.f5818c",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3603.624725341797,
+ "y": 1902.3817558288574,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "9ccf28a9.229118",
+ "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 - cellDU PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3587.624725341797,
+ "y": 1988.3819389343262,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "97dc56cc.61aa88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3441.6248474121094,
+ "y": 1989.3816974163055,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "9ccf28a9.229118"
+ ]
+ ]
+ },
+ {
+ "id": "cbfb7182.04192",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3273.6248474121094,
+ "y": 1992.3816947937012,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "97dc56cc.61aa88"
+ ]
+ ]
+ },
+ {
+ "id": "4af74b2.0c4c3b4",
+ "type": "execute",
+ "name": "get PLMNId URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfileId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 655.3125305175781,
+ "y": 632.881950378418,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "78a81d70.8057c4",
+ "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=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 628.8125305175781,
+ "y": 688.3819818496704,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3140a69b.5ea20a",
+ "type": "execute",
+ "name": "Get PLMN from Sliceprofile id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 697.5625152587891,
+ "y": 741.8819179534912,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5d00062a.743238",
+ "type": "execute",
+ "name": "read PLMN Id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`getPLMN-configdb-response.plmnId`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 650.5625076293945,
+ "y": 780.9931592941284,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f8eadf29.5ba87",
+ "type": "execute",
+ "name": "find MCC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 636.0347518920898,
+ "y": 818.0209217071533,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8900b25a.4b727",
+ "type": "execute",
+ "name": "find MNC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 632.701488494873,
+ "y": 856.7986507415771,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "65561a2a.1348f4",
+ "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=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 621.9171524047852,
+ "y": 891.5699234008789,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a6171c84.8f453",
+ "type": "block",
+ "name": "block : SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4076.5625,
+ "y": 1639.9355278015137,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "8e9200a7.f3da9",
+ "60414092.28506",
+ "f9a7f02e.efe6e"
+ ]
+ ]
+ },
+ {
+ "id": "8e9200a7.f3da9",
+ "type": "set",
+ "name": "set tmp variables for SO response",
+ "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$activate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$activate-r-a-n-slice-instance-input.action`\"/>\n",
+ "comments": "",
+ "x": 4455.706283569336,
+ "y": 1497.5495147705078,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "60414092.28506",
+ "type": "record",
+ "name": "record RestAPI parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4459.276741027832,
+ "y": 1563.221601486206,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f9a7f02e.efe6e",
+ "type": "execute",
+ "name": "Send to SO",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-activate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4385.705307006836,
+ "y": 1641.6501760482788,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "31d39151.3906ae",
+ "aaf60ba7.09e9d8"
+ ]
+ ]
+ },
+ {
+ "id": "31d39151.3906ae",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4623.133865356445,
+ "y": 1624.3642272949219,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "4210cf15.8783e"
+ ]
+ ]
+ },
+ {
+ "id": "4210cf15.8783e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4815.562232971191,
+ "y": 1615.078664779663,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "55c1344c.aee6bc"
+ ]
+ ]
+ },
+ {
+ "id": "55c1344c.aee6bc",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
+ "comments": "",
+ "x": 5017.2761154174805,
+ "y": 1603.7927765846252,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "7bc0e6d8.a66c08",
+ "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=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 5011.41939163208,
+ "y": 1678.7928428649902,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "26cbe59.d88ae1a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4827.419242858887,
+ "y": 1684.221284866333,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "7bc0e6d8.a66c08"
+ ]
+ ]
+ },
+ {
+ "id": "aaf60ba7.09e9d8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4617.419189453125,
+ "y": 1688.0785236358643,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "26cbe59.d88ae1a"
+ ]
+ ]
+ },
+ {
+ "id": "fb4912a7.ac9d6",
+ "type": "block",
+ "name": "SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 624.0625,
+ "y": 1617.0783500671387,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "20a36079.64749",
+ "180c33be.f7820c",
+ "e7a8f76c.47e418",
+ "b811c19e.c0b97"
+ ]
+ ]
+ },
+ {
+ "id": "e7a8f76c.47e418",
+ "type": "set",
+ "name": "set tmp variables for SO response",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$activate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$activate-r-a-n-slice-input.action`\"/>\n",
+ "comments": "",
+ "x": 904.0636444091797,
+ "y": 1466.977834701538,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "20a36079.64749",
+ "type": "record",
+ "name": "record SO reply parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 901.0624771118164,
+ "y": 1621.0785331726074,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "180c33be.f7820c",
+ "type": "execute",
+ "name": "Send to SO",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-activate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 770.0625762939453,
+ "y": 1738.0782375335693,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "43a1e0f6.d9bce",
+ "f0514958.091e68"
+ ]
+ ]
+ },
+ {
+ "id": "43a1e0f6.d9bce",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 935.0625762939453,
+ "y": 1718.078236579895,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "49ed0881.ebce78"
+ ]
+ ]
+ },
+ {
+ "id": "f0514958.091e68",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 927.0624694824219,
+ "y": 1791.0781869888306,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "f9269895.b3ab48"
+ ]
+ ]
+ },
+ {
+ "id": "f9269895.b3ab48",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1073.062313079834,
+ "y": 1796.0782957077026,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "e63686ba.7af778"
+ ]
+ ]
+ },
+ {
+ "id": "49ed0881.ebce78",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1084.0624771118164,
+ "y": 1714.078372001648,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "f2eb4484.4e2e78",
+ "911b190b.fc87a8"
+ ]
+ ]
+ },
+ {
+ "id": "f2eb4484.4e2e78",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
+ "comments": "",
+ "x": 1231.0620956420898,
+ "y": 1725.0781135559082,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "e63686ba.7af778",
+ "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=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1234.0622329711914,
+ "y": 1802.0781879425049,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "911b190b.fc87a8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1218.5727043151855,
+ "y": 1629.0676050186157,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "b811c19e.c0b97",
+ "type": "execute",
+ "name": "generate URL for SO Callback",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.so.callbackURL`\"/>\n <parameter name=\"outputPath\" value=\"tmp.so.callbackURL\"/>\n <parameter name=\"target\" value=\"{requestId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.requestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 923.402099609375,
+ "y": 1557.063687324524,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "82a44f57.da628",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
+ "comments": "",
+ "x": 281.5625,
+ "y": 1133.5069389343262,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "4a7507d.20e03f8",
+ "type": "execute",
+ "name": "read RIC list size",
+ "xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 650.5555038452148,
+ "y": 924.1666088104248,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b883fc7d.48bca",
+ "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=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1864.9999084472656,
+ "y": 715.8334693908691,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "621e175.0404ae8",
+ "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=\"pLMNInfoList_length \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1864.9999465942383,
+ "y": 806.9444789886475,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3eb11b00.e80194",
+ "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=\"PLMNInfo exists\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2324.9998474121094,
+ "y": 754.1666450500488,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e76bc3c0.0edf5",
+ "type": "execute",
+ "name": "read nearRTRICID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].nearRTRICId'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 797.4999923706055,
+ "y": 956.6665782928467,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d74aea1d.4971f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 605.2777404785156,
+ "y": 973.3332710266113,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "e76bc3c0.0edf5"
+ ]
+ ]
+ },
+ {
+ "id": "5c9636da.117878",
+ "type": "execute",
+ "name": "prepare nearRTRICId",
+ "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=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1994.1665954589844,
+ "y": 1158.888874053955,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "486c8988.17b4e8",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1990.8332214355469,
+ "y": 1235.5555000305176,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf837fb7.24118",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1987.4998474121094,
+ "y": 1268.888874053955,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d9bbd55.ba7582",
+ "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 +'].gNBCUUPList['+ $idz +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2068.3333435058594,
+ "y": 941.1110382080078,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7229bf20.efefc",
+ "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`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1918.2223739624023,
+ "y": 976.8888721466064,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "65eb3275.4c544c",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1930.4446182250977,
+ "y": 1016.9999618530273,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "7bbbd8d9.770108",
+ "1af10d7a.4d0d53"
+ ]
+ ]
+ },
+ {
+ "id": "7bbbd8d9.770108",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2112.139148712158,
+ "y": 996.1112003326416,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "c41e3776.a23bb8"
+ ]
+ ]
+ },
+ {
+ "id": "ddf97987.753eb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1719.4443054199219,
+ "y": 1001.1110420227051,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "2d9bbd55.ba7582",
+ "7229bf20.efefc",
+ "65eb3275.4c544c"
+ ]
+ ]
+ },
+ {
+ "id": "1af10d7a.4d0d53",
+ "type": "outcome",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2292.7776794433594,
+ "y": 967.7777290344238,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "a81fcade.879b78"
+ ]
+ ]
+ },
+ {
+ "id": "a81fcade.879b78",
+ "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 doesn't match\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2432.7777366638184,
+ "y": 957.77769947052,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6b23bbb4.2f26d4",
+ "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=\"DUpLMNInfoList_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.DUpLMNInfoList_length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2368.3333435058594,
+ "y": 1391.111042022705,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5789652a.13621c",
+ "type": "execute",
+ "name": "read cell id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1883.8888397216797,
+ "y": 663.3332815170288,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9950a6b.7600558",
+ "type": "execute",
+ "name": "read cellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1963.0555114746094,
+ "y": 1366.6665840148926,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8d198da6.7e824",
+ "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=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1962.430191040039,
+ "y": 1401.978964805603,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf85911.dc4117",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 666.6666641235352,
+ "y": 411.1110854148865,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "38c79f73.134ec",
+ "5289e4ce.19e78c"
+ ]
+ ]
+ },
+ {
+ "id": "38c79f73.134ec",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 894.1666603088379,
+ "y": 356.6666889190674,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "ac6ed2b3.1ec52"
+ ]
+ ]
+ },
+ {
+ "id": "5289e4ce.19e78c",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 896.3888053894043,
+ "y": 415.5555763244629,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "c4bdd35a.798ee"
+ ]
+ ]
+ },
+ {
+ "id": "30c722b5.e2114e",
+ "type": "set",
+ "name": "set status as ACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
+ "comments": "",
+ "x": 1348.6112327575684,
+ "y": 326.66665267944336,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "c5cc134f.3ffc2",
+ "type": "set",
+ "name": "set status as INACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
+ "comments": "",
+ "x": 1323.055576324463,
+ "y": 360.0000066757202,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "ac6ed2b3.1ec52",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1104.166660308838,
+ "y": 344.4443988800049,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "30c722b5.e2114e"
+ ]
+ ]
+ },
+ {
+ "id": "c4bdd35a.798ee",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1100.8334045410156,
+ "y": 401.1111273765564,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "c5cc134f.3ffc2"
+ ]
+ ]