summaryrefslogtreecommitdiffstats
path: root/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json')
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json3296
1 files changed, 218 insertions, 3078 deletions
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json
index ffa203f9..5460fa8f 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json
@@ -1,3079 +1,219 @@
-[
- {
- "id": "7e7f57f9.68d4a8",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 173.75,
- "y": 113.99999868869781,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "e0a548b9.052988"
- ]
- ]
- },
- {
- "id": "e0a548b9.052988",
- "type": "service-logic",
- "name": "ran-slice-api ${project.version}",
- "module": "ran-slice-api",
- "version": "${project.version}",
- "comments": "",
- "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
- "outputs": 1,
- "x": 258.7500228881836,
- "y": 180.9999681711197,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "a75312a.544d3f"
- ]
- ]
- },
- {
- "id": "a75312a.544d3f",
- "type": "method",
- "name": "method",
- "xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 192.75,
- "y": 240.9999338388443,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "ca025241.dabb2"
- ]
- ]
- },
- {
- "id": "ca025241.dabb2",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 215.2500114440918,
- "y": 321.5000025033951,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "a8976ed2.1843f",
- "ea5daf11.a6e81",
- "a2693dc1.a5517",
- "eea21e4d.c1324",
- "321cec92.0945e4",
- "15bab992.f28f76",
- "414370ce.8928c",
- "2f0812f8.b4db6e",
- "ad2fd587.1bd148",
- "810a8bcc.d27738",
- "c1737e13.d4add",
- "b7134c47.dc4b9",
- "66c6e126.b5c0e",
- "1bdc1194.f7cbee",
- "ba7f558f.10b808",
- "c6c21f7.66307e",
- "d112a202.14d86",
- "cebd9071.34ebd",
- "1cb02382.300dbc",
- "9643217e.8cc45",
- "5841dea.bd55b2"
- ]
- ]
- },
- {
- "id": "a8976ed2.1843f",
- "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": 797.0000610351562,
- "y": 516.694458603859,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "ea5daf11.a6e81",
- "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": 737.0000152587891,
- "y": 553.2500258684158,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "a2693dc1.a5517",
- "type": "execute",
- "name": "Get nearRTRIC for NFNSSI",
- "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": 727.0000915527344,
- "y": 605.250056385994,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "78009660.f04068",
- "afb10f5f.82d4a"
- ]
- ]
- },
- {
- "id": "78009660.f04068",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1025.8180961608887,
- "y": 623.0680800676346,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "6e5d0b68.fb3eb4"
- ]
- ]
- },
- {
- "id": "6e5d0b68.fb3eb4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1195.8179931640625,
- "y": 624.0681954622269,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "a5285567.465e58",
- "a50018dd.454668"
- ]
- ]
- },
- {
- "id": "a5285567.465e58",
- "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": 1418.8177909851074,
- "y": 569.0681792497635,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "a50018dd.454668",
- "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-activateRANSlice-context.log' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1414.595932006836,
- "y": 640.068186879158,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "afb10f5f.82d4a",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1031.8180503845215,
- "y": 563.0681639909744,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "5c56eeae.73a1c"
- ]
- ]
- },
- {
- "id": "5c56eeae.73a1c",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1311.8181266784668,
- "y": 469.0682178735733,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "94237ecf.f5aa3",
- "538f7285.97feac"
- ]
- ]
- },
- {
- "id": "94237ecf.f5aa3",
- "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": 1489.81791305542,
- "y": 423.1792446374893,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "eea21e4d.c1324",
- "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 activateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$activate-r-a-n-slice-instance-input.action`\"/>\n<parameter name=\"field3\" value=\"`$activate-r-a-n-slice-instance-input.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$activate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$activate-r-a-n-slice-instance-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$activate-r-a-n-slice-instance-input.payload`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 701.75,
- "y": 129.99998533725739,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "321cec92.0945e4",
- "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 activateRANSice RPC' />",
- "comments": "",
- "x": 740.749755859375,
- "y": 172.9999977350235,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "15bab992.f28f76",
- "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-instance-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
- "comments": "",
- "outputs": 1,
- "x": 745.7497711181641,
- "y": 217.74998342990875,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "61d81fc8.9d5af"
- ]
- ]
- },
- {
- "id": "414370ce.8928c",
- "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-activateRANSlice-context.log' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 705.3886184692383,
- "y": 306.73953688144684,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "2f0812f8.b4db6e",
- "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": 734.2775650024414,
- "y": 347.74996054172516,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "ad2fd587.1bd148",
- "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": 703.3332805633545,
- "y": 393.1944776773453,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "61d81fc8.9d5af",
- "type": "other",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1012.2497825622559,
- "y": 219.74997293949127,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "fd6d7e63.3837"
- ]
- ]
- },
- {
- "id": "fd6d7e63.3837",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1212.2499389648438,
- "y": 222.499969124794,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "5d3f3b83.b6e944",
- "3a1c4335.62918c"
- ]
- ]
- },
- {
- "id": "5d3f3b83.b6e944",
- "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-activateRANSlice-context.log' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1402.250015258789,
- "y": 184.0000034570694,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "3a1c4335.62918c",
- "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 activateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.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": 1401.49995803833,
- "y": 248.00001966953278,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "810a8bcc.d27738",
- "type": "for",
- "name": "foreach NearRTRIC",
- "xml": "<for index='idy' start='0' end='`$tmp.RICList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 479.6875915527344,
- "y": 1045.8750158548355,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "d1d406d5.b352f8",
- "d3bfcb5d.5e0c68",
- "739e0e6a.a06dc",
- "3d251ba4.ddf994"
- ]
- ]
- },
- {
- "id": "d1d406d5.b352f8",
- "type": "block",
- "name": "Process CUCP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 744.9375305175781,
- "y": 1039.3069463968277,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "73836647.480298",
- "ddcee4ff.55dbc8",
- "1801b56d.80bfcb"
- ]
- ]
- },
- {
- "id": "73836647.480298",
- "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": 1091.187515258789,
- "y": 909.0568548440933,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "ddcee4ff.55dbc8",
- "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.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 1050.6874961853027,
- "y": 956.556932091713,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "1801b56d.80bfcb",
- "type": "for",
- "name": "foreach CUCP",
- "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1067.4376220703125,
- "y": 1006.5569328069687,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "a3b66ccd.4f09"
- ]
- ]
- },
- {
- "id": "a3b66ccd.4f09",
- "type": "block",
- "name": "block : process CUCP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1278.437515258789,
- "y": 969.8068262338638,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "8b472262.56054",
- "201e764e.7a470a",
- "5e82baed.893d74",
- "5851fd1b.cfccc4"
- ]
- ]
- },
- {
- "id": "8b472262.56054",
- "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": 1533.1876068115234,
- "y": 699.8902269601822,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "5e82baed.893d74",
- "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=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1504.937614440918,
- "y": 755.0568376779556,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "5851fd1b.cfccc4",
- "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": 1542.1875228881836,
- "y": 802.8068529367447,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "201e764e.7a470a",
- "type": "for",
- "name": "for cellCUList",
- "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1517.1874923706055,
- "y": 855.5568681955338,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "5ea01a4e.80ba44"
- ]
- ]
- },
- {
- "id": "5ea01a4e.80ba44",
- "type": "block",
- "name": "block",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1732.1875343322754,
- "y": 855.8068853616714,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "9e3b1dc1.6c61f",
- "f07a1efc.c684b",
- "ec5e5e59.9e151"
- ]
- ]
- },
- {
- "id": "9e3b1dc1.6c61f",
- "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": 1949.1464233398438,
- "y": 794.459854722023,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "ec5e5e59.9e151",
- "type": "for",
- "name": "foreach PLMNInfo",
- "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1949.1741485595703,
- "y": 873.6541213989258,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "ab10a71a.f0f088"
- ]
- ]
- },
- {
- "id": "ab10a71a.f0f088",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2156.063056945801,
- "y": 815.4319158792496,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "d927155a.039578",
- "74ff916a.e9c5b"
- ]
- ]
- },
- {
- "id": "1c0a37ea.375948",
- "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['+$id-cunssai+'].sNSSAI'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2506.5074768066406,
- "y": 828.431911110878,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "ecaa22b7.75297",
- "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": 2365.2853813171387,
- "y": 861.9874368906021,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "e298fc24.8e892",
- "type": "switchNode",
- "name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2400.8408584594727,
- "y": 903.209664940834,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "21911260.2606be"
- ]
- ]
- },
- {
- "id": "21911260.2606be",
- "type": "outcome",
- "name": "True",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2590.313056945801,
- "y": 903.4319940805435,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "91f70aa6.6b1398"
- ]
- ]
- },
- {
- "id": "91f70aa6.6b1398",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2810.9375,
- "y": 901.1874986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "3ac96f1.5a7c49",
- "ed6c8d84.a453d",
- "e0580039.6073f",
- "95118930.b4f2c8",
- "2d01d668.17cdfa",
- "3eb0ec20.fcc6e4",
- "11949605.39b68a",
- "4d5700a7.9e4b9",
- "8fd5d47f.d75348"
- ]
- ]
- },
- {
- "id": "8fd5d47f.d75348",
- "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=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 3005.9375,
- "y": 896.1874986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "4d5700a7.9e4b9",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3033.9375,
- "y": 964.1874986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "936a32a4.3da42",
- "1d0f282f.5a75d8"
- ]
- ]
- },
- {
- "id": "936a32a4.3da42",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3241.9375,
- "y": 929.1872545480728,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "b12f82de.74904"
- ]
- ]
- },
- {
- "id": "b12f82de.74904",
- "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": 3561.9375,
- "y": 944.1874986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "bf71d53a.a976b8",
- "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": 3740.437530517578,
- "y": 1002.1874376535416,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "6cb878c6.5f97c8",
- "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": 3684.437931060791,
- "y": 1055.1876312494278,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "668c976b.241a38",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3433.4375,
- "y": 1032.1874986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "bf71d53a.a976b8",
- "6cb878c6.5f97c8"
- ]
- ]
- },
- {
- "id": "1d0f282f.5a75d8",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3229.9375,
- "y": 1031.1874986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "668c976b.241a38"
- ]
- ]
- },
- {
- "id": "3ac96f1.5a7c49",
- "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": 3000.9375,
- "y": 1064.1874986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "2d01d668.17cdfa",
- "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": 3027.9375,
- "y": 1128.1874986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "3eb0ec20.fcc6e4",
- "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": 2988.937759399414,
- "y": 1173.6875272989273,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "11949605.39b68a",
- "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": 2954.6875610351562,
- "y": 1255.4375549554825,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "ed6c8d84.a453d",
- "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": 2943.43798828125,
- "y": 1315.6875711679459,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "e0580039.6073f",
- "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": 2939.9375,
- "y": 1384.1874986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "95118930.b4f2c8",
- "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": 2979.9376068115234,
- "y": 1447.187471985817,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "bc546df6.f43d2",
- "d876075a.a6f398"
- ]
- ]
- },
- {
- "id": "d876075a.a6f398",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3195.93758392334,
- "y": 1326.187471985817,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "ce3d2506.e6dea8"
- ]
- ]
- },
- {
- "id": "ce3d2506.e6dea8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3345.937858581543,
- "y": 1285.1876550912857,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "dbcb0862.e03178",
- "24aba666.9c72aa",
- "538f7285.97feac"
- ]
- ]
- },
- {
- "id": "24aba666.9c72aa",
- "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": 3511.937614440918,
- "y": 1251.1876550912857,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "dbcb0862.e03178",
- "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": 3516.9374923706055,
- "y": 1346.187716126442,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "33e06199.cd7fce",
- "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": 3601.9374618530273,
- "y": 1439.1878992319107,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "74ec673a.1a0948",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3403.937400817871,
- "y": 1442.1877771615982,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "33e06199.cd7fce"
- ]
- ]
- },
- {
- "id": "bc546df6.f43d2",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3230.937614440918,
- "y": 1443.187716126442,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "74ec673a.1a0948"
- ]
- ]
- },
- {
- "id": "c1737e13.d4add",
- "type": "execute",
- "name": "read sNSSAI from input",
- "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 753.4375152587891,
- "y": 264.0000044107437,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "d3bfcb5d.5e0c68",
- "type": "block",
- "name": "Process CUUP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 745.9375534057617,
- "y": 1181.1875244379044,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "71fd34c6.f1147c",
- "12958f62.9badf1",
- "f593572e.022718"
- ]
- ]
- },
- {
- "id": "71fd34c6.f1147c",
- "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": 1076.937557220459,
- "y": 1081.1875215768814,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "12958f62.9badf1",
- "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": 1033.9376220703125,
- "y": 1132.4375239610672,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "f593572e.022718",
- "type": "for",
- "name": "foreach CUUP",
- "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1059.437515258789,
- "y": 1181.18752348423,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "5f700171.8de5"
- ]
- ]
- },
- {
- "id": "5f700171.8de5",
- "type": "block",
- "name": "block : process CUUP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1282.9375610351562,
- "y": 1164.4375692605972,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "948fba7d.44e2c8",
- "3ad78fe3.15cad",
- "b64d5430.741fb8",
- "9e647c26.5f5ea"
- ]
- ]
- },
- {
- "id": "948fba7d.44e2c8",
- "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": 1526.9375,
- "y": 939.6874986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "3ad78fe3.15cad",
- "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": 1522.9375,
- "y": 993.6874986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "b64d5430.741fb8",
- "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": 1573.9375,
- "y": 1058.6874986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "9e647c26.5f5ea",
- "type": "for",
- "name": "foreach pLMNInfo",
- "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1559.9375,
- "y": 1113.6874986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "51ac29dc.473308"
- ]
- ]
- },
- {
- "id": "aeb42d0d.8b6e2",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1799.0625,
- "y": 1110.8749986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "623726a6.6ca868",
- "75fa7150.1d74a",
- "8ffa5671.6a9758",
- "d243ac82.e496d",
- "529b3f7c.a9647",
- "c8d88690.37d198"
- ]
- ]
- },
- {
- "id": "623726a6.6ca868",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2012.312759399414,
- "y": 1111.6251474618912,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "1574cbb4.d9d7b4",
- "c27d343d.c9b748"
- ]
- ]
- },
- {
- "id": "1574cbb4.d9d7b4",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2225.312641143799,
- "y": 1079.1247659921646,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "199eaee.b2dec51"
- ]
- ]
- },
- {
- "id": "199eaee.b2dec51",
- "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": 2550.3125228881836,
- "y": 1034.1250702142715,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "35f8c642.f5e20a",
- "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": 2661.0620651245117,
- "y": 1116.8747812509537,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "ccf5dbf1.5ce4e8",
- "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": 2645.0625858306885,
- "y": 1184.875041604042,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "104e9bd3.77a704",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2385.312370300293,
- "y": 1175.6247817277908,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "35f8c642.f5e20a",
- "ccf5dbf1.5ce4e8"
- ]
- ]
- },
- {
- "id": "c27d343d.c9b748",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2210.812515258789,
- "y": 1164.8750406503677,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "104e9bd3.77a704"
- ]
- ]
- },
- {
- "id": "75fa7150.1d74a",
- "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": 2080.972137451172,
- "y": 1224.6597052812576,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "8ffa5671.6a9758",
- "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": 2030.3056335449219,
- "y": 1338.3263765573502,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "aee628aa.1dff38",
- "36758e2f.9d4b12"
- ]
- ]
- },
- {
- "id": "aee628aa.1dff38",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2356.7501525878906,
- "y": 1301.4377380609512,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "6af793d.727876c"
- ]
- ]
- },
- {
- "id": "36758e2f.9d4b12",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2350.750030517578,
- "y": 1368.437677025795,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "4446c6a.38c1b38"
- ]
- ]
- },
- {
- "id": "6af793d.727876c",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2533.750274658203,
- "y": 1290.4376159906387,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "2859116f.738e1e",
- "6ecd39bc.1a9398",
- "538f7285.97feac"
- ]
- ]
- },
- {
- "id": "4446c6a.38c1b38",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2530.750030517578,
- "y": 1373.4374939203262,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "9b50c133.dc596"
- ]
- ]
- },
- {
- "id": "9b50c133.dc596",
- "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": 2683.749725341797,
- "y": 1373.4377380609512,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "2859116f.738e1e",
- "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": 2738.5002365112305,
- "y": 1290.9378954172134,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "6ecd39bc.1a9398",
- "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": 2743.5004234313965,
- "y": 1236.9380313158035,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "739e0e6a.a06dc",
- "type": "block",
- "name": "Process gNBDU",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 740.3125076293945,
- "y": 1329.62502348423,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "1649d417.1f910c",
- "6b5b1e1d.ae91f",
- "3e526a87.42e9c6"
- ]
- ]
- },
- {
- "id": "1649d417.1f910c",
- "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": 1073.0625305175781,
- "y": 1235.6250101327896,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "6b5b1e1d.ae91f",
- "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": 1046.062557220459,
- "y": 1279.1250711679459,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "3e526a87.42e9c6",
- "type": "for",
- "name": "foreach DU",
- "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1058.0625305175781,
- "y": 1330.3749986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "a9f77ffa.524c5"
- ]
- ]
- },
- {
- "id": "a9f77ffa.524c5",
- "type": "block",
- "name": "block : process gNBDU",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1339.0625,
- "y": 1331.3749681711197,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "25be6f65.10a55",
- "26b26756.cfb158",
- "675f2ac9.3ee7b4",
- "5bce0634.eb0878"
- ]
- ]
- },
- {
- "id": "25be6f65.10a55",
- "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": 1618.0623245239258,
- "y": 1327.37427008152,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "26b26756.cfb158",
- "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": 1591.0623245239258,
- "y": 1378.37427008152,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "675f2ac9.3ee7b4",
- "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": 1632.0623245239258,
- "y": 1427.37427008152,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "5bce0634.eb0878",
- "type": "for",
- "name": "for cellDUList",
- "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1622.0623245239258,
- "y": 1471.37427008152,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "794d6324.ce72cc"
- ]
- ]
- },
- {
- "id": "794d6324.ce72cc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1781.812385559082,
- "y": 1471.1243950128555,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "7333dc3f.3584f4",
- "c357f392.8f3b6",
- "af15dd5.a6c422"
- ]
- ]
- },
- {
- "id": "7333dc3f.3584f4",
- "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": 2030,
- "y": 1470.8749986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "c357f392.8f3b6",
- "type": "for",
- "name": "foreach PLMNInfo",
- "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2008.3333740234375,
- "y": 1540.8749986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "7f76b79e.a609a8"
- ]
- ]
- },
- {
- "id": "7f76b79e.a609a8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2193.7221603393555,
- "y": 1534.9027086496353,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "2a0b3e44.22f042",
- "d2b6fc8.a0801"
- ]
- ]
- },
- {
- "id": "6d2985a2.a415bc",
- "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['+$id-dunssai+'].sNSSAI'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2546.277862548828,
- "y": 1508.9866495132446,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "18e75616.57f2da",
- "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": 2419.6110763549805,
- "y": 1551.8753185272217,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "244e64a3.dccd7c",
- "type": "switchNode",
- "name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2417.7499923706055,
- "y": 1592.430830001831,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "9b9ba6b.1773458"
- ]
- ]
- },
- {
- "id": "9b9ba6b.1773458",
- "type": "outcome",
- "name": "True",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2591.2224349975586,
- "y": 1598.153151512146,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "3c34a824.4a8b78"
- ]
- ]
- },
- {
- "id": "3c34a824.4a8b78",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2773.250129699707,
- "y": 1550.1252218484879,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "1111612d.45f1df",
- "ef6a8da8.e0c27",
- "ec70dc8a.269",
- "66d8b8cc.1ef7f8",
- "11ff5d37.9cf913",
- "f49fbb07.7c2b18",
- "3694d5a8.b1ed5a"
- ]
- ]
- },
- {
- "id": "bb0e0b1d.4af928",
- "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": 2985.7504959106445,
- "y": 1518.8752219676971,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "1111612d.45f1df",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2990.0000076293945,
- "y": 1576.8752542734146,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "6ae15f82.91e01",
- "4b299a62.6808b4"
- ]
- ]
- },
- {
- "id": "6ae15f82.91e01",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3199.250499725342,
- "y": 1531.8747955560684,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "1bac1a75.adf2a6"
- ]
- ]
- },
- {
- "id": "4b299a62.6808b4",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3194.250499725342,
- "y": 1593.3754984140396,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "d1986902.69ea38"
- ]
- ]
- },
- {
- "id": "1bac1a75.adf2a6",
- "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": 3545.500259399414,
- "y": 1530.625252366066,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "d1986902.69ea38",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3371.7500762939453,
- "y": 1599.875132203102,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "7d11036e.cd195c",
- "461385d5.ef603c"
- ]
- ]
- },
- {
- "id": "7d11036e.cd195c",
- "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": 3653.750442504883,
- "y": 1588.625132203102,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "461385d5.ef603c",
- "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": 3604.000747680664,
- "y": 1649.1251636743546,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "ef6a8da8.e0c27",
- "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": 3036.8750610351562,
- "y": 1703.6874366998672,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "ec70dc8a.269",
- "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": 3009.875244140625,
- "y": 1758.6874386072159,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "66d8b8cc.1ef7f8",
- "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": 2989.8749389648438,
- "y": 1821.6877447366714,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "11ff5d37.9cf913",
- "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": 2991.8751831054688,
- "y": 1879.6873775720596,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "f49fbb07.7c2b18",
- "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": 2996.8748168945312,
- "y": 1947.6878687143326,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "3694d5a8.b1ed5a",
- "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": 3053.8748474121094,
- "y": 2022.9372545480728,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "42db944d.8c0fbc",
- "6035db45.1d73f4"
- ]
- ]
- },
- {
- "id": "6035db45.1d73f4",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3320.8748474121094,
- "y": 1922.9372545480728,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "adfca1f7.0d0c1"
- ]
- ]
- },
- {
- "id": "adfca1f7.0d0c1",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3478.8750915527344,
- "y": 1870.9372545480728,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "e7089cb1.1a41d",
- "1274c7c0.6942b8",
- "538f7285.97feac"
- ]
- ]
- },
- {
- "id": "1274c7c0.6942b8",
- "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": 3644.8748474121094,
- "y": 1836.9372545480728,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "e7089cb1.1a41d",
- "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": 3649.874725341797,
- "y": 1931.937315583229,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "b2bdee8f.d0e01",
- "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": 3633.874725341797,
- "y": 2017.9374986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "d6013d07.92ca5",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3487.8748474121094,
- "y": 2018.9372571706772,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "b2bdee8f.d0e01"
- ]
- ]
- },
- {
- "id": "42db944d.8c0fbc",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3319.8748474121094,
- "y": 2021.9372545480728,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "d6013d07.92ca5"
- ]
- ]
- },
- {
- "id": "b7134c47.dc4b9",
- "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": 701.5625305175781,
- "y": 662.4375101327896,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "66c6e126.b5c0e",
- "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": 675.0625305175781,
- "y": 717.937541604042,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "1bdc1194.f7cbee",
- "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": 743.8125152587891,
- "y": 771.4374777078629,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "ba7f558f.10b808",
- "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": 696.8125076293945,
- "y": 810.5487190485001,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "eac38896.d67558",
- "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": 1256.284782409668,
- "y": 789.5765886306763,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "1d969c9b.373d23",
- "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": 1266.951530456543,
- "y": 827.3542985916138,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "c6c21f7.66307e",
- "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": 668.1671524047852,
- "y": 921.1254831552505,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "538f7285.97feac",
- "type": "block",
- "name": "block : SO Response",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4122.8125,
- "y": 1669.4910875558853,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "6403be78.5d82",
- "35baae05.3737a2",
- "4f35fe3d.ca573"
- ]
- ]
- },
- {
- "id": "6403be78.5d82",
- "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": 4501.956283569336,
- "y": 1527.1050745248795,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "35baae05.3737a2",
- "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": 4505.526741027832,
- "y": 1592.7771612405777,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "4f35fe3d.ca573",
- "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": 4431.955307006836,
- "y": 1671.2057358026505,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "55bab65f.15fba8",
- "14008385.7c0d9c"
- ]
- ]
- },
- {
- "id": "55bab65f.15fba8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4669.383865356445,
- "y": 1653.9197870492935,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "666823a.cd278dc"
- ]
- ]
- },
- {
- "id": "666823a.cd278dc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4861.812232971191,
- "y": 1644.6342245340347,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "ac397400.1ea37"
- ]
- ]
- },
- {
- "id": "ac397400.1ea37",
- "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": 5063.5261154174805,
- "y": 1633.348336338997,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "13a85374.dc470d",
- "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": 5057.66939163208,
- "y": 1708.3484026193619,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "c5e0bcf5.1da6a",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4873.669242858887,
- "y": 1713.7768446207047,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "13a85374.dc470d"
- ]
- ]
- },
- {
- "id": "14008385.7c0d9c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4663.669189453125,
- "y": 1717.634083390236,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "c5e0bcf5.1da6a"
- ]
- ]
- },
- {
- "id": "d112a202.14d86",
- "type": "block",
- "name": "SO Response",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 670.3125,
- "y": 1646.6339098215103,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "be8548bb.49dc68",
- "a7b79856.9ac328",
- "3213abee.d1bdf4",
- "12ab8339.c11cad"
- ]
- ]
- },
- {
- "id": "3213abee.d1bdf4",
- "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": 950.3136444091797,
- "y": 1496.5333944559097,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "be8548bb.49dc68",
- "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": 947.3124771118164,
- "y": 1650.634092926979,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "a7b79856.9ac328",
- "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": 816.3125762939453,
- "y": 1767.633797287941,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "d43e359a.459548",
- "d7154949.62a598"
- ]
- ]
- },
- {
- "id": "d43e359a.459548",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 981.3125762939453,
- "y": 1747.6337963342667,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "db93be20.d4c9a"
- ]
- ]
- },
- {
- "id": "d7154949.62a598",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 973.3124694824219,
- "y": 1820.6337467432022,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "1cdebc40.cea3d4"
- ]
- ]
- },
- {
- "id": "1cdebc40.cea3d4",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1119.312313079834,
- "y": 1825.6338554620743,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "6a559c9e.74ffb4"
- ]
- ]
- },
- {
- "id": "db93be20.d4c9a",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1130.3124771118164,
- "y": 1743.6339317560196,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "ff299a70.cace58",
- "e497bce3.f3499"
- ]
- ]
- },
- {
- "id": "ff299a70.cace58",
- "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": 1277.3120956420898,
- "y": 1754.6336733102798,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "6a559c9e.74ffb4",
- "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": 1280.3122329711914,
- "y": 1831.6337476968765,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "e497bce3.f3499",
- "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": 1264.8227043151855,
- "y": 1658.6231647729874,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "12ab8339.c11cad",
- "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": 969.652099609375,
- "y": 1586.6192470788956,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "cebd9071.34ebd",
- "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": 327.8125,
- "y": 1163.0624986886978,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "1cb02382.300dbc",
- "type": "execute",
- "name": "read RIC list size",
- "xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 696.8055038452148,
- "y": 953.7221685647964,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "8353a8a3.3990f8",
- "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": 1911.2499084472656,
- "y": 745.3890291452408,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "65ede1f4.b65c2",
- "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": 1911.2499465942383,
- "y": 836.5000387430191,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "43b3554a.d72b5c",
- "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": 2371.2498474121094,
- "y": 783.7222048044205,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "ae3d93e1.a7a45",
- "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": 843.7499923706055,
- "y": 986.2221380472183,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "3d251ba4.ddf994",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 651.5277404785156,
- "y": 1002.888830780983,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "ae3d93e1.a7a45"
- ]
- ]
- },
- {
- "id": "d243ac82.e496d",
- "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": 2040.4165954589844,
- "y": 1188.4444338083267,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "529b3f7c.a9647",
- "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": 2037.0832214355469,
- "y": 1265.1110597848892,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "c8d88690.37d198",
- "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": 2033.7498474121094,
- "y": 1298.4444338083267,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "ec2b70ec.e4dcb",
- "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['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI['+$id-cuupnssai+'].sNSSAI'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2106.5834197998047,
- "y": 1002.6666955947876,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "72b414ad.1d2d0c",
- "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": 1963.4726104736328,
- "y": 1042.444465637207,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "720819d9.bc5d78",
- "type": "switchNode",
- "name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1966.6945724487305,
- "y": 1077.5555658340454,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "ce68019d.d9b15",
- "4c5e2da7.e835f4"
- ]
- ]
- },
- {
- "id": "ce68019d.d9b15",
- "type": "outcome",
- "name": "True",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2149.3891792297363,
- "y": 1047.6667709350586,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "aeb42d0d.8b6e2"
- ]
- ]
- },
- {
- "id": "51ac29dc.473308",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1765.6943054199219,
- "y": 1030.6666017770767,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "90abe626.d80828",
- "cf5bb551.50bc48",
- "567e4ef1.2569d"
- ]
- ]
- },
- {
- "id": "4c5e2da7.e835f4",
- "type": "outcome",
- "name": "false",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2284.027576446533,
- "y": 1040.3333053588867,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "9ef2cf06.62985"
- ]
- ]
- },
- {
- "id": "9ef2cf06.62985",
- "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": 2479.0277366638184,
- "y": 987.3332592248917,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "f07a1efc.c684b",
- "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": 1930.1388397216797,
- "y": 692.8888412714005,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "af15dd5.a6c422",
- "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": 2009.3055114746094,
- "y": 1396.2221437692642,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "23a3ebb3.2e07c4",
- "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": 2008.680191040039,
- "y": 1431.5345245599747,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "9643217e.8cc45",
- "type": "switchNode",
- "name": "check the action",
- "xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 712.9166641235352,
- "y": 440.6666451692581,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "a99d2439.51cb18",
- "87d1a970.979638"
- ]
- ]
- },
- {
- "id": "a99d2439.51cb18",
- "type": "outcome",
- "name": "True",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 940.4166603088379,
- "y": 386.222248673439,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "bcdf9c78.c8fb1"
- ]
- ]
- },
- {
- "id": "87d1a970.979638",
- "type": "outcome",
- "name": "False",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 942.6388053894043,
- "y": 445.11113607883453,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "4dba95dc.4decdc"
- ]
- ]
- },
- {
- "id": "9c35bb65.560c98",
- "type": "set",
- "name": "set status as ACTIVE",
- "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
- "comments": "",
- "x": 1394.8612327575684,
- "y": 356.222212433815,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "1ca88a0f.7c8306",
- "type": "set",
- "name": "set status as INACTIVE",
- "xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
- "comments": "",
- "x": 1369.305576324463,
- "y": 389.55556643009186,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "bcdf9c78.c8fb1",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1150.416660308838,
- "y": 373.9999586343765,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "9c35bb65.560c98"
- ]
- ]
- },
- {
- "id": "4dba95dc.4decdc",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1147.0834045410156,
- "y": 430.66668713092804,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "1ca88a0f.7c8306"
- ]
- ]
- },
- {
- "id": "5841dea.bd55b2",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic=\"true\">",
- "atomic": "true",
- "outputs": 1,
- "x": 717,
- "y": 871.75,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "a454dbd9.309b08",
- "e2aeea87.1a49f8"
- ]
- ]
- },
- {
- "id": "a454dbd9.309b08",
- "type": "execute",
- "name": "split pLMNId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"regex\" value=\"-\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
- "comments": "",
- "outputs": 1,
- "x": 978.2724990844727,
- "y": 754.262303352356,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "e2aeea87.1a49f8",
- "type": "set",
- "name": "set mcc & mnc Variables",
- "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>",
- "comments": "",
- "x": 1008.7270889282227,
- "y": 801.3077440261841,
- "z": "c2a8a65f.f4fdf8",
- "wires": []
- },
- {
- "id": "d927155a.039578",
- "type": "execute",
- "name": "read snssailist size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+$id-cuplmn+'].sNSSAI_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2368.75,
- "y": 711,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "74ff916a.e9c5b",
- "type": "for",
- "name": "foreach snssai",
- "xml": "<for index='id-cunssai' start='0' end='`$tmp.snssaiList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2376.75,
- "y": 751,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "f7606cb5.7a1c7"
- ]
- ]
- },
- {
- "id": "f7606cb5.7a1c7",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2570,
- "y": 753.5,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "1c0a37ea.375948",
- "ecaa22b7.75297",
- "e298fc24.8e892"
- ]
- ]
- },
- {
- "id": "90abe626.d80828",
- "type": "execute",
- "name": "read snssailist size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiListup_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+$id-plmn+'].sNSSAI_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2002.749984741211,
- "y": 903.2500534057617,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "cf5bb551.50bc48",
- "type": "for",
- "name": "foreach snssai",
- "xml": "<for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1988.7500228881836,
- "y": 961.250054359436,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "c4f6f336.48282"
- ]
- ]
- },
- {
- "id": "c4f6f336.48282",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2197.9999923706055,
- "y": 957.750054359436,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "ec2b70ec.e4dcb",
- "72b414ad.1d2d0c",
- "720819d9.bc5d78"
- ]
- ]
- },
- {
- "id": "2a0b3e44.22f042",
- "type": "execute",
- "name": "read snssailist size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiListdu_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+$id-duplmn+'].sNSSAI_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2390.75,
- "y": 1404.25,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- },
- {
- "id": "d2b6fc8.a0801",
- "type": "for",
- "name": "foreach snssai",
- "xml": "<for index='id-dunssai' start='0' end='`$tmp.snssaiListdu_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2398.75,
- "y": 1444.25,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "2368c209.6d976e"
- ]
- ]
- },
- {
- "id": "2368c209.6d976e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2592,
- "y": 1446.75,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- [
- "6d2985a2.a415bc",
- "18e75616.57f2da",
- "244e64a3.dccd7c"
- ]
- ]
- },
- {
- "id": "567e4ef1.2569d",
- "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=\"CUUP - snssaiList_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.snssaiListup_length`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2003,
- "y": 930.75,
- "z": "c2a8a65f.f4fdf8",
- "wires": [
- []
- ]
- }
+[
+ {
+ "id": "cbeeb2b4.08be",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 127.77777099609375,
+ "y": 262.1111030578613,
+ "z": "bd96de55.9bb33",
+ "wires": [
+ [
+ "4934df84.366e5"
+ ]
+ ]
+ },
+ {
+ "id": "83fc8fd.86fe57",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 130.77777099609375,
+ "y": 112.11109924316406,
+ "z": "bd96de55.9bb33",
+ "wires": [
+ [
+ "80b48287.4a7dc"
+ ]
+ ]
+ },
+ {
+ "id": "80b48287.4a7dc",
+ "type": "service-logic",
+ "name": "ran-slice-api ${project.version}",
+ "module": "ran-slice-api",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
+ "outputs": 1,
+ "x": 188.7777557373047,
+ "y": 173.1111946105957,
+ "z": "bd96de55.9bb33",
+ "wires": [
+ [
+ "cbeeb2b4.08be"
+ ]
+ ]
+ },
+ {
+ "id": "4934df84.366e5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 281.77777099609375,
+ "y": 339.11109924316406,
+ "z": "bd96de55.9bb33",
+ "wires": [
+ [
+ "792d5f61.e1a"
+ ]
+ ]
+ },
+ {
+ "id": "792d5f61.e1a",
+ "type": "switchNode",
+ "name": "switch configdb deployed",
+ "xml": "<switch test='`$prop.configdb-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 454.7777786254883,
+ "y": 269.1111030578613,
+ "z": "bd96de55.9bb33",
+ "wires": [
+ [
+ "3f02381e.f83f98",
+ "39b8dcff.f57854"
+ ]
+ ]
+ },
+ {
+ "id": "3f02381e.f83f98",
+ "type": "outcome",
+ "name": "ConfigDB Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 705.7778015136719,
+ "y": 244.11106872558594,
+ "z": "bd96de55.9bb33",
+ "wires": [
+ [
+ "f5e5b350.07f74"
+ ]
+ ]
+ },
+ {
+ "id": "39b8dcff.f57854",
+ "type": "outcome",
+ "name": "CPS Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 660.7777786254883,
+ "y": 393.11110496520996,
+ "z": "bd96de55.9bb33",
+ "wires": [
+ [
+ "6ba3a8da.c6fb28"
+ ]
+ ]
+ },
+ {
+ "id": "6ba3a8da.c6fb28",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 881.7777824401855,
+ "y": 389.1110806465149,
+ "z": "bd96de55.9bb33",
+ "wires": [
+ [
+ "8bbc92db.7c75",
+ "d10e4755.9fd258"
+ ]
+ ]
+ },
+ {
+ "id": "f5e5b350.07f74",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 918.7777709960938,
+ "y": 253.11109924316406,
+ "z": "bd96de55.9bb33",
+ "wires": [
+ [
+ "16326111.d238cf",
+ "f00a9827.ca6c88"
+ ]
+ ]
+ },
+ {
+ "id": "16326111.d238cf",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling instantiateRANSliceModifyAllocate-CPS \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1102.7777709960938,
+ "y": 210.11109924316406,
+ "z": "bd96de55.9bb33",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f00a9827.ca6c88",
+ "type": "call",
+ "name": "call activateRanslice-configdb",
+ "xml": "<call module='ran-slice-api' rpc='activateRANSliceInstance-configDb' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1186.2344970703125,
+ "y": 264.8611354827881,
+ "z": "bd96de55.9bb33",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8bbc92db.7c75",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling instantiateRANSliceModifyAllocate-CPS \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1085.7777709960938,
+ "y": 388.11109924316406,
+ "z": "bd96de55.9bb33",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d10e4755.9fd258",
+ "type": "call",
+ "name": "call activateRanslice-cps",
+ "xml": "<call module='ran-slice-api' rpc='activateRANSliceInstance-cps' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1171.4566688537598,
+ "y": 442.8611068725586,
+ "z": "bd96de55.9bb33",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "78b5a044.95fba",
+ "type": "comment",
+ "name": "activateRANSliceInstance",
+ "info": "",
+ "comments": "",
+ "x": 665.7777709960938,
+ "y": 51.11109924316406,
+ "z": "bd96de55.9bb33",
+ "wires": []
+ }
] \ No newline at end of file