summaryrefslogtreecommitdiffstats
path: root/platform-logic/ran-slice-api/src
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/ran-slice-api/src')
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json2084
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json773
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate.json4404
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json5380
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceReconfigure.json1417
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml830
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml75
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate.xml50
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml4450
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml44
10 files changed, 10272 insertions, 9235 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 73a05c2e..ffa203f9 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,20 +1,20 @@
[
{
- "id": "2e3f70a0.8d47d",
+ "id": "7e7f57f9.68d4a8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 127.5,
- "y": 84.44443893432617,
- "z": "97d36d8.2debe9",
+ "x": 173.75,
+ "y": 113.99999868869781,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "41f44f.07015bb"
+ "e0a548b9.052988"
]
]
},
{
- "id": "41f44f.07015bb",
+ "id": "e0a548b9.052988",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -22,2872 +22,3058 @@
"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": 212.5000228881836,
- "y": 151.44440841674805,
- "z": "97d36d8.2debe9",
+ "x": 258.7500228881836,
+ "y": 180.9999681711197,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "463cb4d1.3e11bc"
+ "a75312a.544d3f"
]
]
},
{
- "id": "463cb4d1.3e11bc",
+ "id": "a75312a.544d3f",
"type": "method",
"name": "method",
"xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 146.5,
- "y": 211.44437408447266,
- "z": "97d36d8.2debe9",
+ "x": 192.75,
+ "y": 240.9999338388443,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "ad331fd6.efc5a"
+ "ca025241.dabb2"
]
]
},
{
- "id": "ad331fd6.efc5a",
+ "id": "ca025241.dabb2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 169.0000114440918,
- "y": 291.94444274902344,
- "z": "97d36d8.2debe9",
+ "x": 215.2500114440918,
+ "y": 321.5000025033951,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "b8ff0ca8.28a5",
- "1fe0b815.396298",
- "1dcf8d76.830503",
- "6e9843e2.482e7c",
- "3b188957.fce246",
- "fec23156.86e02",
- "f5b38460.dd09d8",
- "a67e635a.79297",
- "72972aa.c24f3d4",
- "fbda5be.41c6ba8",
- "d8a96a7b.dfd628",
- "4af74b2.0c4c3b4",
- "78a81d70.8057c4",
- "3140a69b.5ea20a",
- "5d00062a.743238",
- "f8eadf29.5ba87",
- "8900b25a.4b727",
- "65561a2a.1348f4",
- "fb4912a7.ac9d6",
- "82a44f57.da628",
- "4a7507d.20e03f8",
- "cf85911.dc4117"
+ "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": "b8ff0ca8.28a5",
+ "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": 750.7500610351562,
- "y": 487.1388988494873,
- "z": "97d36d8.2debe9",
+ "x": 797.0000610351562,
+ "y": 516.694458603859,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "1fe0b815.396298",
+ "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": 690.7500152587891,
- "y": 523.6944661140442,
- "z": "97d36d8.2debe9",
+ "x": 737.0000152587891,
+ "y": 553.2500258684158,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "1dcf8d76.830503",
+ "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": 680.7500915527344,
- "y": 575.6944966316223,
- "z": "97d36d8.2debe9",
+ "x": 727.0000915527344,
+ "y": 605.250056385994,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "3e76d279.75553e",
- "5e15e811.5faf68"
+ "78009660.f04068",
+ "afb10f5f.82d4a"
]
]
},
{
- "id": "3e76d279.75553e",
+ "id": "78009660.f04068",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 979.5680961608887,
- "y": 593.5125203132629,
- "z": "97d36d8.2debe9",
+ "x": 1025.8180961608887,
+ "y": 623.0680800676346,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "8dc6ef5d.717c1"
+ "6e5d0b68.fb3eb4"
]
]
},
{
- "id": "8dc6ef5d.717c1",
+ "id": "6e5d0b68.fb3eb4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1149.5679931640625,
- "y": 594.5126357078552,
- "z": "97d36d8.2debe9",
+ "x": 1195.8179931640625,
+ "y": 624.0681954622269,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "da9c97d.25b1768",
- "331d3bbf.64aeb4"
+ "a5285567.465e58",
+ "a50018dd.454668"
]
]
},
{
- "id": "da9c97d.25b1768",
+ "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": 1372.5677909851074,
- "y": 539.5126194953918,
- "z": "97d36d8.2debe9",
+ "x": 1418.8177909851074,
+ "y": 569.0681792497635,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "331d3bbf.64aeb4",
+ "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": 1368.345932006836,
- "y": 610.5126271247864,
- "z": "97d36d8.2debe9",
+ "x": 1414.595932006836,
+ "y": 640.068186879158,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "5e15e811.5faf68",
+ "id": "afb10f5f.82d4a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 985.5680503845215,
- "y": 533.5126042366028,
- "z": "97d36d8.2debe9",
+ "x": 1031.8180503845215,
+ "y": 563.0681639909744,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "6058101b.41923"
+ "5c56eeae.73a1c"
]
]
},
{
- "id": "6058101b.41923",
+ "id": "5c56eeae.73a1c",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1265.5681266784668,
- "y": 439.51265811920166,
- "z": "97d36d8.2debe9",
+ "x": 1311.8181266784668,
+ "y": 469.0682178735733,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "fe1b7f80.af15e",
- "a6171c84.8f453"
+ "94237ecf.f5aa3",
+ "538f7285.97feac"
]
]
},
{
- "id": "fe1b7f80.af15e",
+ "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": 1443.56791305542,
- "y": 393.6236848831177,
- "z": "97d36d8.2debe9",
+ "x": 1489.81791305542,
+ "y": 423.1792446374893,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "6e9843e2.482e7c",
+ "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": 655.5,
- "y": 100.44442558288574,
- "z": "97d36d8.2debe9",
+ "x": 701.75,
+ "y": 129.99998533725739,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "3b188957.fce246",
+ "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": 694.499755859375,
- "y": 143.44443798065186,
- "z": "97d36d8.2debe9",
+ "x": 740.749755859375,
+ "y": 172.9999977350235,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "fec23156.86e02",
+ "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": 699.4997711181641,
- "y": 188.1944236755371,
- "z": "97d36d8.2debe9",
+ "x": 745.7497711181641,
+ "y": 217.74998342990875,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "ca5056d6.43deb8"
+ "61d81fc8.9d5af"
]
]
},
{
- "id": "f5b38460.dd09d8",
+ "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": 659.1386184692383,
- "y": 277.1839771270752,
- "z": "97d36d8.2debe9",
+ "x": 705.3886184692383,
+ "y": 306.73953688144684,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "a67e635a.79297",
+ "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": 688.0275650024414,
- "y": 318.1944007873535,
- "z": "97d36d8.2debe9",
+ "x": 734.2775650024414,
+ "y": 347.74996054172516,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "72972aa.c24f3d4",
+ "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": 657.0832805633545,
- "y": 363.63891792297363,
- "z": "97d36d8.2debe9",
+ "x": 703.3332805633545,
+ "y": 393.1944776773453,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "ca5056d6.43deb8",
+ "id": "61d81fc8.9d5af",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 965.9997825622559,
- "y": 190.19441318511963,
- "z": "97d36d8.2debe9",
+ "x": 1012.2497825622559,
+ "y": 219.74997293949127,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "f409f85.647a408"
+ "fd6d7e63.3837"
]
]
},
{
- "id": "f409f85.647a408",
+ "id": "fd6d7e63.3837",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1165.9999389648438,
- "y": 192.94440937042236,
- "z": "97d36d8.2debe9",
+ "x": 1212.2499389648438,
+ "y": 222.499969124794,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "93b984ad.bea558",
- "42ac8bbd.691104"
+ "5d3f3b83.b6e944",
+ "3a1c4335.62918c"
]
]
},
{
- "id": "93b984ad.bea558",
+ "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": 1356.000015258789,
- "y": 154.44444370269775,
- "z": "97d36d8.2debe9",
+ "x": 1402.250015258789,
+ "y": 184.0000034570694,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "42ac8bbd.691104",
+ "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": 1355.24995803833,
- "y": 218.44445991516113,
- "z": "97d36d8.2debe9",
+ "x": 1401.49995803833,
+ "y": 248.00001966953278,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "fbda5be.41c6ba8",
+ "id": "810a8bcc.d27738",
"type": "for",
"name": "foreach NearRTRIC",
"xml": "<for index='idy' start='0' end='`$tmp.RICList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 433.4375915527344,
- "y": 1016.3194561004639,
- "z": "97d36d8.2debe9",
+ "x": 479.6875915527344,
+ "y": 1045.8750158548355,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "7c110262.8404cc",
- "83b3aa05.8be538",
- "3b09f70f.de57e8",
- "d74aea1d.4971f8"
+ "d1d406d5.b352f8",
+ "d3bfcb5d.5e0c68",
+ "739e0e6a.a06dc",
+ "3d251ba4.ddf994"
]
]
},
{
- "id": "7c110262.8404cc",
+ "id": "d1d406d5.b352f8",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 698.6875305175781,
- "y": 1009.751386642456,
- "z": "97d36d8.2debe9",
+ "x": 744.9375305175781,
+ "y": 1039.3069463968277,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "f2ca7302.db0fb",
- "64af93d5.849c2c",
- "967a2e00.a891c"
+ "73836647.480298",
+ "ddcee4ff.55dbc8",
+ "1801b56d.80bfcb"
]
]
},
{
- "id": "f2ca7302.db0fb",
+ "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": 1044.937515258789,
- "y": 879.5012950897217,
- "z": "97d36d8.2debe9",
+ "x": 1091.187515258789,
+ "y": 909.0568548440933,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "64af93d5.849c2c",
+ "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": 1004.4374961853027,
- "y": 927.0013723373413,
- "z": "97d36d8.2debe9",
+ "x": 1050.6874961853027,
+ "y": 956.556932091713,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "967a2e00.a891c",
+ "id": "1801b56d.80bfcb",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1021.1876220703125,
- "y": 977.001373052597,
- "z": "97d36d8.2debe9",
+ "x": 1067.4376220703125,
+ "y": 1006.5569328069687,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "2627c7aa.bdde98"
+ "a3b66ccd.4f09"
]
]
},
{
- "id": "2627c7aa.bdde98",
+ "id": "a3b66ccd.4f09",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1232.187515258789,
- "y": 940.2512664794922,
- "z": "97d36d8.2debe9",
+ "x": 1278.437515258789,
+ "y": 969.8068262338638,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "bb142c16.d827",
- "fa055768.583dd8",
- "81577c39.485ae",
- "cf7b2dea.a1465"
+ "8b472262.56054",
+ "201e764e.7a470a",
+ "5e82baed.893d74",
+ "5851fd1b.cfccc4"
]
]
},
{
- "id": "bb142c16.d827",
+ "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": 1486.9376068115234,
- "y": 670.3346672058105,
- "z": "97d36d8.2debe9",
+ "x": 1533.1876068115234,
+ "y": 699.8902269601822,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "81577c39.485ae",
+ "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": 1458.687614440918,
- "y": 725.501277923584,
- "z": "97d36d8.2debe9",
+ "x": 1504.937614440918,
+ "y": 755.0568376779556,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "cf7b2dea.a1465",
+ "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": 1495.9375228881836,
- "y": 773.251293182373,
- "z": "97d36d8.2debe9",
+ "x": 1542.1875228881836,
+ "y": 802.8068529367447,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "fa055768.583dd8",
+ "id": "201e764e.7a470a",
"type": "for",
"name": "for cellCUList",
"xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1470.9374923706055,
- "y": 826.0013084411621,
- "z": "97d36d8.2debe9",
+ "x": 1517.1874923706055,
+ "y": 855.5568681955338,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "9d238b51.1eb318"
+ "5ea01a4e.80ba44"
]
]
},
{
- "id": "9d238b51.1eb318",
+ "id": "5ea01a4e.80ba44",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1685.9375343322754,
- "y": 826.2513256072998,
- "z": "97d36d8.2debe9",
+ "x": 1732.1875343322754,
+ "y": 855.8068853616714,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "e883771f.62ada8",
- "5789652a.13621c",
- "ba32eb.352e5d18"
+ "9e3b1dc1.6c61f",
+ "f07a1efc.c684b",
+ "ec5e5e59.9e151"
]
]
},
{
- "id": "e883771f.62ada8",
+ "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": 1902.8964233398438,
- "y": 764.9042949676514,
- "z": "97d36d8.2debe9",
+ "x": 1949.1464233398438,
+ "y": 794.459854722023,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "ba32eb.352e5d18",
+ "id": "ec5e5e59.9e151",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1931.9240798950195,
- "y": 863.0985670089722,
- "z": "97d36d8.2debe9",
+ "x": 1949.1741485595703,
+ "y": 873.6541213989258,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "6567a11b.57ba4"
+ "ab10a71a.f0f088"
]
]
},
{
- "id": "6567a11b.57ba4",
+ "id": "ab10a71a.f0f088",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2109.813056945801,
- "y": 785.8763561248779,
- "z": "97d36d8.2debe9",
+ "x": 2156.063056945801,
+ "y": 815.4319158792496,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "af8a2706.fe3648",
- "b1460aaf.3d1778",
- "49bb7059.83e74"
+ "d927155a.039578",
+ "74ff916a.e9c5b"
]
]
},
{
- "id": "49bb7059.83e74",
+ "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.sNSSAI'`\" />",
+ "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": 2460.2574768066406,
- "y": 798.8763513565063,
- "z": "97d36d8.2debe9",
+ "x": 2506.5074768066406,
+ "y": 828.431911110878,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "af8a2706.fe3648",
+ "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": 2319.0353813171387,
- "y": 832.4318771362305,
- "z": "97d36d8.2debe9",
+ "x": 2365.2853813171387,
+ "y": 861.9874368906021,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "b1460aaf.3d1778",
+ "id": "e298fc24.8e892",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2354.5908584594727,
- "y": 873.6541051864624,
- "z": "97d36d8.2debe9",
+ "x": 2400.8408584594727,
+ "y": 903.209664940834,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "f8d9d5cc.331478"
+ "21911260.2606be"
]
]
},
{
- "id": "f8d9d5cc.331478",
+ "id": "21911260.2606be",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2544.063056945801,
- "y": 873.8764343261719,
- "z": "97d36d8.2debe9",
+ "x": 2590.313056945801,
+ "y": 903.4319940805435,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "4bf0bc05.929e64"
+ "91f70aa6.6b1398"
]
]
},
{
- "id": "4bf0bc05.929e64",
+ "id": "91f70aa6.6b1398",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2764.6875,
- "y": 871.6319389343262,
- "z": "97d36d8.2debe9",
+ "x": 2810.9375,
+ "y": 901.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "4e7e556c.845abc",
- "8a2266a8.1c2d38",
- "731d42c4.f6e40c",
- "df02fea.90fde",
- "e6e24fd0.3cd09",
- "42fb01d5.8ba33",
- "9b0a2c7e.8b569",
- "88ebb234.4318f",
- "dafd44d3.cdebe8"
+ "3ac96f1.5a7c49",
+ "ed6c8d84.a453d",
+ "e0580039.6073f",
+ "95118930.b4f2c8",
+ "2d01d668.17cdfa",
+ "3eb0ec20.fcc6e4",
+ "11949605.39b68a",
+ "4d5700a7.9e4b9",
+ "8fd5d47f.d75348"
]
]
},
{
- "id": "dafd44d3.cdebe8",
+ "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": 2959.6875,
- "y": 866.6319389343262,
- "z": "97d36d8.2debe9",
+ "x": 3005.9375,
+ "y": 896.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "88ebb234.4318f",
+ "id": "4d5700a7.9e4b9",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2987.6875,
- "y": 934.6319389343262,
- "z": "97d36d8.2debe9",
+ "x": 3033.9375,
+ "y": 964.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "d77c2d0a.fe695",
- "408dc4a2.df219c"
+ "936a32a4.3da42",
+ "1d0f282f.5a75d8"
]
]
},
{
- "id": "d77c2d0a.fe695",
+ "id": "936a32a4.3da42",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3195.6875,
- "y": 899.6316947937012,
- "z": "97d36d8.2debe9",
+ "x": 3241.9375,
+ "y": 929.1872545480728,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "44f83437.9a11ac"
+ "b12f82de.74904"
]
]
},
{
- "id": "44f83437.9a11ac",
+ "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": 3515.6875,
- "y": 914.6319389343262,
- "z": "97d36d8.2debe9",
+ "x": 3561.9375,
+ "y": 944.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "5de7db9d.692f04",
+ "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": 3694.187530517578,
- "y": 972.6318778991699,
- "z": "97d36d8.2debe9",
+ "x": 3740.437530517578,
+ "y": 1002.1874376535416,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "aa989b67.645808",
+ "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": 3638.187931060791,
- "y": 1025.6320714950562,
- "z": "97d36d8.2debe9",
+ "x": 3684.437931060791,
+ "y": 1055.1876312494278,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "bb1a8099.105d6",
+ "id": "668c976b.241a38",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3387.1875,
- "y": 1002.6319389343262,
- "z": "97d36d8.2debe9",
+ "x": 3433.4375,
+ "y": 1032.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "5de7db9d.692f04",
- "aa989b67.645808"
+ "bf71d53a.a976b8",
+ "6cb878c6.5f97c8"
]
]
},
{
- "id": "408dc4a2.df219c",
+ "id": "1d0f282f.5a75d8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3183.6875,
- "y": 1001.6319389343262,
- "z": "97d36d8.2debe9",
+ "x": 3229.9375,
+ "y": 1031.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "bb1a8099.105d6"
+ "668c976b.241a38"
]
]
},
{
- "id": "4e7e556c.845abc",
+ "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": 2954.6875,
- "y": 1034.6319389343262,
- "z": "97d36d8.2debe9",
+ "x": 3000.9375,
+ "y": 1064.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "e6e24fd0.3cd09",
+ "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": 2981.6875,
- "y": 1098.6319389343262,
- "z": "97d36d8.2debe9",
+ "x": 3027.9375,
+ "y": 1128.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "42fb01d5.8ba33",
+ "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": 2942.687759399414,
- "y": 1144.1319675445557,
- "z": "97d36d8.2debe9",
+ "x": 2988.937759399414,
+ "y": 1173.6875272989273,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "9b0a2c7e.8b569",
+ "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": 2908.4375610351562,
- "y": 1225.8819952011108,
- "z": "97d36d8.2debe9",
+ "x": 2954.6875610351562,
+ "y": 1255.4375549554825,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "8a2266a8.1c2d38",
+ "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": 2897.18798828125,
- "y": 1286.1320114135742,
- "z": "97d36d8.2debe9",
+ "x": 2943.43798828125,
+ "y": 1315.6875711679459,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "731d42c4.f6e40c",
+ "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": 2893.6875,
- "y": 1354.6319389343262,
- "z": "97d36d8.2debe9",
+ "x": 2939.9375,
+ "y": 1384.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "df02fea.90fde",
+ "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": 2933.6876068115234,
- "y": 1417.6319122314453,
- "z": "97d36d8.2debe9",
+ "x": 2979.9376068115234,
+ "y": 1447.187471985817,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "599d4ca5.dae754",
- "7960760f.a0e828"
+ "bc546df6.f43d2",
+ "d876075a.a6f398"
]
]
},
{
- "id": "7960760f.a0e828",
+ "id": "d876075a.a6f398",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3149.68758392334,
- "y": 1296.6319122314453,
- "z": "97d36d8.2debe9",
+ "x": 3195.93758392334,
+ "y": 1326.187471985817,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "7eba1214.d6292c"
+ "ce3d2506.e6dea8"
]
]
},
{
- "id": "7eba1214.d6292c",
+ "id": "ce3d2506.e6dea8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3299.687858581543,
- "y": 1255.632095336914,
- "z": "97d36d8.2debe9",
+ "x": 3345.937858581543,
+ "y": 1285.1876550912857,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "d5024375.14d7a",
- "11cc8a2d.1c0ef6",
- "a6171c84.8f453"
+ "dbcb0862.e03178",
+ "24aba666.9c72aa",
+ "538f7285.97feac"
]
]
},
{
- "id": "11cc8a2d.1c0ef6",
+ "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": 3465.687614440918,
- "y": 1221.632095336914,
- "z": "97d36d8.2debe9",
+ "x": 3511.937614440918,
+ "y": 1251.1876550912857,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "d5024375.14d7a",
+ "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": 3470.6874923706055,
- "y": 1316.6321563720703,
- "z": "97d36d8.2debe9",
+ "x": 3516.9374923706055,
+ "y": 1346.187716126442,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "b7ef60e6.8ba87",
+ "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": 3555.6874618530273,
- "y": 1409.632339477539,
- "z": "97d36d8.2debe9",
+ "x": 3601.9374618530273,
+ "y": 1439.1878992319107,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "bce86bbc.4e0a78",
+ "id": "74ec673a.1a0948",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3357.687400817871,
- "y": 1412.6322174072266,
- "z": "97d36d8.2debe9",
+ "x": 3403.937400817871,
+ "y": 1442.1877771615982,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "b7ef60e6.8ba87"
+ "33e06199.cd7fce"
]
]
},
{
- "id": "599d4ca5.dae754",
+ "id": "bc546df6.f43d2",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3184.687614440918,
- "y": 1413.6321563720703,
- "z": "97d36d8.2debe9",
+ "x": 3230.937614440918,
+ "y": 1443.187716126442,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "bce86bbc.4e0a78"
+ "74ec673a.1a0948"
]
]
},
{
- "id": "d8a96a7b.dfd628",
+ "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": 707.1875152587891,
- "y": 234.44444465637207,
- "z": "97d36d8.2debe9",
+ "x": 753.4375152587891,
+ "y": 264.0000044107437,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "83b3aa05.8be538",
+ "id": "d3bfcb5d.5e0c68",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 699.6875534057617,
- "y": 1151.6319646835327,
- "z": "97d36d8.2debe9",
+ "x": 745.9375534057617,
+ "y": 1181.1875244379044,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "ab889fe1.795bc",
- "767a78bd.0c3858",
- "bef03ad.2f251c8"
+ "71fd34c6.f1147c",
+ "12958f62.9badf1",
+ "f593572e.022718"
]
]
},
{
- "id": "ab889fe1.795bc",
+ "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": 1030.687557220459,
- "y": 1051.6319618225098,
- "z": "97d36d8.2debe9",
+ "x": 1076.937557220459,
+ "y": 1081.1875215768814,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "767a78bd.0c3858",
+ "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": 987.6876220703125,
- "y": 1102.8819642066956,
- "z": "97d36d8.2debe9",
+ "x": 1033.9376220703125,
+ "y": 1132.4375239610672,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "bef03ad.2f251c8",
+ "id": "f593572e.022718",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1013.1875152587891,
- "y": 1151.6319637298584,
- "z": "97d36d8.2debe9",
+ "x": 1059.437515258789,
+ "y": 1181.18752348423,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "a79c0f0.ce909f"
+ "5f700171.8de5"
]
]
},
{
- "id": "a79c0f0.ce909f",
+ "id": "5f700171.8de5",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1236.6875610351562,
- "y": 1134.8820095062256,
- "z": "97d36d8.2debe9",
+ "x": 1282.9375610351562,
+ "y": 1164.4375692605972,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "18ef9633.d9bbda",
- "f9bc59d6.5a5028",
- "583ebb73.81c944",
- "fb440a2f.179028"
+ "948fba7d.44e2c8",
+ "3ad78fe3.15cad",
+ "b64d5430.741fb8",
+ "9e647c26.5f5ea"
]
]
},
{
- "id": "18ef9633.d9bbda",
+ "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": 1480.6875,
- "y": 910.1319389343262,
- "z": "97d36d8.2debe9",
+ "x": 1526.9375,
+ "y": 939.6874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "f9bc59d6.5a5028",
+ "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": 1476.6875,
- "y": 964.1319389343262,
- "z": "97d36d8.2debe9",
+ "x": 1522.9375,
+ "y": 993.6874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "583ebb73.81c944",
+ "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": 1527.6875,
- "y": 1029.1319389343262,
- "z": "97d36d8.2debe9",
+ "x": 1573.9375,
+ "y": 1058.6874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "fb440a2f.179028",
+ "id": "9e647c26.5f5ea",
"type": "for",
"name": "foreach pLMNInfo",
"xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
"comments": "",
"outputs": 1,
- "x": 1513.6875,
- "y": 1084.1319389343262,
- "z": "97d36d8.2debe9",
+ "x": 1559.9375,
+ "y": 1113.6874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "ddf97987.753eb8"
+ "51ac29dc.473308"
]
]
},
{
- "id": "c41e3776.a23bb8",
+ "id": "aeb42d0d.8b6e2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1752.8125,
- "y": 1081.3194389343262,
- "z": "97d36d8.2debe9",
+ "x": 1799.0625,
+ "y": 1110.8749986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "f6fc9393.56661",
- "173ddfd.25e492",
- "60bfcd2e.26d3b4",
- "5c9636da.117878",
- "486c8988.17b4e8",
- "cf837fb7.24118"
+ "623726a6.6ca868",
+ "75fa7150.1d74a",
+ "8ffa5671.6a9758",
+ "d243ac82.e496d",
+ "529b3f7c.a9647",
+ "c8d88690.37d198"
]
]
},
{
- "id": "f6fc9393.56661",
+ "id": "623726a6.6ca868",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1966.062759399414,
- "y": 1082.0695877075195,
- "z": "97d36d8.2debe9",
+ "x": 2012.312759399414,
+ "y": 1111.6251474618912,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "32d71801.387438",
- "f70fa22d.1b3b9"
+ "1574cbb4.d9d7b4",
+ "c27d343d.c9b748"
]
]
},
{
- "id": "32d71801.387438",
+ "id": "1574cbb4.d9d7b4",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2179.062641143799,
- "y": 1049.569206237793,
- "z": "97d36d8.2debe9",
+ "x": 2225.312641143799,
+ "y": 1079.1247659921646,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "b23cfcec.7bedc"
+ "199eaee.b2dec51"
]
]
},
{
- "id": "b23cfcec.7bedc",
+ "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": 2504.0625228881836,
- "y": 1004.5695104598999,
- "z": "97d36d8.2debe9",
+ "x": 2550.3125228881836,
+ "y": 1034.1250702142715,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "d051a6a1.a3b278",
+ "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": 2614.8120651245117,
- "y": 1087.319221496582,
- "z": "97d36d8.2debe9",
+ "x": 2661.0620651245117,
+ "y": 1116.8747812509537,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "e9e95b17.1e7758",
+ "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": 2598.8125858306885,
- "y": 1155.3194818496704,
- "z": "97d36d8.2debe9",
+ "x": 2645.0625858306885,
+ "y": 1184.875041604042,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "86fac64.a62ab38",
+ "id": "104e9bd3.77a704",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2339.062370300293,
- "y": 1146.0692219734192,
- "z": "97d36d8.2debe9",
+ "x": 2385.312370300293,
+ "y": 1175.6247817277908,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "d051a6a1.a3b278",
- "e9e95b17.1e7758"
+ "35f8c642.f5e20a",
+ "ccf5dbf1.5ce4e8"
]
]
},
{
- "id": "f70fa22d.1b3b9",
+ "id": "c27d343d.c9b748",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2164.562515258789,
- "y": 1135.319480895996,
- "z": "97d36d8.2debe9",
+ "x": 2210.812515258789,
+ "y": 1164.8750406503677,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "86fac64.a62ab38"
+ "104e9bd3.77a704"
]
]
},
{
- "id": "173ddfd.25e492",
+ "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": 2034.7221374511719,
- "y": 1195.104145526886,
- "z": "97d36d8.2debe9",
+ "x": 2080.972137451172,
+ "y": 1224.6597052812576,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "60bfcd2e.26d3b4",
+ "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": 1984.0556335449219,
- "y": 1308.7708168029785,
- "z": "97d36d8.2debe9",
+ "x": 2030.3056335449219,
+ "y": 1338.3263765573502,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "a9f87790.beb6f8",
- "1b34c3a5.cb065c"
+ "aee628aa.1dff38",
+ "36758e2f.9d4b12"
]
]
},
{
- "id": "a9f87790.beb6f8",
+ "id": "aee628aa.1dff38",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2310.5001525878906,
- "y": 1271.8821783065796,
- "z": "97d36d8.2debe9",
+ "x": 2356.7501525878906,
+ "y": 1301.4377380609512,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "b38e2a02.d20078"
+ "6af793d.727876c"
]
]
},
{
- "id": "1b34c3a5.cb065c",
+ "id": "36758e2f.9d4b12",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2304.500030517578,
- "y": 1338.8821172714233,
- "z": "97d36d8.2debe9",
+ "x": 2350.750030517578,
+ "y": 1368.437677025795,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "7bb357a6.982188"
+ "4446c6a.38c1b38"
]
]
},
{
- "id": "b38e2a02.d20078",
+ "id": "6af793d.727876c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2487.500274658203,
- "y": 1260.882056236267,
- "z": "97d36d8.2debe9",
+ "x": 2533.750274658203,
+ "y": 1290.4376159906387,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "fb2c033.9824a",
- "b337d9a3.fb8778",
- "a6171c84.8f453"
+ "2859116f.738e1e",
+ "6ecd39bc.1a9398",
+ "538f7285.97feac"
]
]
},
{
- "id": "7bb357a6.982188",
+ "id": "4446c6a.38c1b38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2484.500030517578,
- "y": 1343.8819341659546,
- "z": "97d36d8.2debe9",
+ "x": 2530.750030517578,
+ "y": 1373.4374939203262,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "6d52774b.718b58"
+ "9b50c133.dc596"
]
]
},
{
- "id": "6d52774b.718b58",
+ "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": 2637.499725341797,
- "y": 1343.8821783065796,
- "z": "97d36d8.2debe9",
+ "x": 2683.749725341797,
+ "y": 1373.4377380609512,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "fb2c033.9824a",
+ "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": 2692.2502365112305,
- "y": 1261.3823356628418,
- "z": "97d36d8.2debe9",
+ "x": 2738.5002365112305,
+ "y": 1290.9378954172134,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "b337d9a3.fb8778",
+ "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": 2697.2504234313965,
- "y": 1207.3824715614319,
- "z": "97d36d8.2debe9",
+ "x": 2743.5004234313965,
+ "y": 1236.9380313158035,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "3b09f70f.de57e8",
+ "id": "739e0e6a.a06dc",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 694.0625076293945,
- "y": 1300.0694637298584,
- "z": "97d36d8.2debe9",
+ "x": 740.3125076293945,
+ "y": 1329.62502348423,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "a2731454.f88ab8",
- "fed2b0cf.516b5",
- "490ac02c.0d8af"
+ "1649d417.1f910c",
+ "6b5b1e1d.ae91f",
+ "3e526a87.42e9c6"
]
]
},
{
- "id": "a2731454.f88ab8",
+ "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": 1026.8125305175781,
- "y": 1206.069450378418,
- "z": "97d36d8.2debe9",
+ "x": 1073.0625305175781,
+ "y": 1235.6250101327896,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "fed2b0cf.516b5",
+ "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": 999.812557220459,
- "y": 1249.5695114135742,
- "z": "97d36d8.2debe9",
+ "x": 1046.062557220459,
+ "y": 1279.1250711679459,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "490ac02c.0d8af",
+ "id": "3e526a87.42e9c6",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1011.8125305175781,
- "y": 1300.8194389343262,
- "z": "97d36d8.2debe9",
+ "x": 1058.0625305175781,
+ "y": 1330.3749986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "9d0de056.0e88b"
+ "a9f77ffa.524c5"
]
]
},
{
- "id": "9d0de056.0e88b",
+ "id": "a9f77ffa.524c5",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1292.8125,
- "y": 1301.819408416748,
- "z": "97d36d8.2debe9",
+ "x": 1339.0625,
+ "y": 1331.3749681711197,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "77316146.f524d",
- "d1967c77.837a4",
- "2878771e.95fa18",
- "2c34edac.88ff82"
+ "25be6f65.10a55",
+ "26b26756.cfb158",
+ "675f2ac9.3ee7b4",
+ "5bce0634.eb0878"
]
]
},
{
- "id": "77316146.f524d",
+ "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": 1571.8123245239258,
- "y": 1297.8187103271484,
- "z": "97d36d8.2debe9",
+ "x": 1618.0623245239258,
+ "y": 1327.37427008152,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "d1967c77.837a4",
+ "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": 1544.8123245239258,
- "y": 1348.8187103271484,
- "z": "97d36d8.2debe9",
+ "x": 1591.0623245239258,
+ "y": 1378.37427008152,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "2878771e.95fa18",
+ "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": 1585.8123245239258,
- "y": 1397.8187103271484,
- "z": "97d36d8.2debe9",
+ "x": 1632.0623245239258,
+ "y": 1427.37427008152,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "2c34edac.88ff82",
+ "id": "5bce0634.eb0878",
"type": "for",
"name": "for cellDUList",
"xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1575.8123245239258,
- "y": 1441.8187103271484,
- "z": "97d36d8.2debe9",
+ "x": 1622.0623245239258,
+ "y": 1471.37427008152,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "418bc08c.4d246"
+ "794d6324.ce72cc"
]
]
},
{
- "id": "418bc08c.4d246",
+ "id": "794d6324.ce72cc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1735.562385559082,
- "y": 1441.568835258484,
- "z": "97d36d8.2debe9",
+ "x": 1781.812385559082,
+ "y": 1471.1243950128555,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "7e225a27.bc6134",
- "3df28e05.782432",
- "9950a6b.7600558"
+ "7333dc3f.3584f4",
+ "c357f392.8f3b6",
+ "af15dd5.a6c422"
]
]
},
{
- "id": "7e225a27.bc6134",
+ "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": 1983.75,
- "y": 1441.3194389343262,
- "z": "97d36d8.2debe9",
+ "x": 2030,
+ "y": 1470.8749986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "3df28e05.782432",
+ "id": "c357f392.8f3b6",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1962.0833740234375,
- "y": 1511.3194389343262,
- "z": "97d36d8.2debe9",
+ "x": 2008.3333740234375,
+ "y": 1540.8749986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "85575f8d.89fd3"
+ "7f76b79e.a609a8"
]
]
},
{
- "id": "85575f8d.89fd3",
+ "id": "7f76b79e.a609a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2147.4721603393555,
- "y": 1505.3471488952637,
- "z": "97d36d8.2debe9",
+ "x": 2193.7221603393555,
+ "y": 1534.9027086496353,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "d4c5a550.025f88",
- "6d4bb9ac.6f1ce8",
- "6b23bbb4.2f26d4"
+ "2a0b3e44.22f042",
+ "d2b6fc8.a0801"
]
]
},
{
- "id": "6d4bb9ac.6f1ce8",
+ "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.sNSSAI'`\" />",
+ "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": 2519.0278396606445,
- "y": 1445.4309530258179,
- "z": "97d36d8.2debe9",
+ "x": 2546.277862548828,
+ "y": 1508.9866495132446,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "1e65b7ed.d3e5f8",
+ "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": 2383.3611030578613,
- "y": 1482.3196907043457,
- "z": "97d36d8.2debe9",
+ "x": 2419.6110763549805,
+ "y": 1551.8753185272217,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "d4c5a550.025f88",
+ "id": "244e64a3.dccd7c",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2378.50008392334,
- "y": 1531.8751678466797,
- "z": "97d36d8.2debe9",
+ "x": 2417.7499923706055,
+ "y": 1592.430830001831,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "1b16c5a4.524dfa"
+ "9b9ba6b.1773458"
]
]
},
{
- "id": "1b16c5a4.524dfa",
+ "id": "9b9ba6b.1773458",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2552.972328186035,
- "y": 1524.5975251197815,
- "z": "97d36d8.2debe9",
+ "x": 2591.2224349975586,
+ "y": 1598.153151512146,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "15097fb6.9fe7e"
+ "3c34a824.4a8b78"
]
]
},
{
- "id": "15097fb6.9fe7e",
+ "id": "3c34a824.4a8b78",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2727.000129699707,
- "y": 1520.5696620941162,
- "z": "97d36d8.2debe9",
+ "x": 2773.250129699707,
+ "y": 1550.1252218484879,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "ee4d80c2.30823",
- "f9746931.f68fc8",
- "eeb6d06.ad3103",
- "c099e06e.4ca54",
- "70935f7e.52d6d",
- "d50824ca.307f58",
- "c365c8ce.3a5d38"
+ "1111612d.45f1df",
+ "ef6a8da8.e0c27",
+ "ec70dc8a.269",
+ "66d8b8cc.1ef7f8",
+ "11ff5d37.9cf913",
+ "f49fbb07.7c2b18",
+ "3694d5a8.b1ed5a"
]
]
},
{
- "id": "9a4bdf29.0e788",
+ "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": 2939.5004959106445,
- "y": 1489.3196622133255,
- "z": "97d36d8.2debe9",
+ "x": 2985.7504959106445,
+ "y": 1518.8752219676971,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "ee4d80c2.30823",
+ "id": "1111612d.45f1df",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2943.7500076293945,
- "y": 1547.319694519043,
- "z": "97d36d8.2debe9",
+ "x": 2990.0000076293945,
+ "y": 1576.8752542734146,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "25db24a4.94a7bc",
- "7299ab72.ac3bf4"
+ "6ae15f82.91e01",
+ "4b299a62.6808b4"
]
]
},
{
- "id": "25db24a4.94a7bc",
+ "id": "6ae15f82.91e01",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3153.000499725342,
- "y": 1502.3192358016968,
- "z": "97d36d8.2debe9",
+ "x": 3199.250499725342,
+ "y": 1531.8747955560684,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "8c4ae1b6.8440d"
+ "1bac1a75.adf2a6"
]
]
},
{
- "id": "7299ab72.ac3bf4",
+ "id": "4b299a62.6808b4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3148.000499725342,
- "y": 1563.819938659668,
- "z": "97d36d8.2debe9",
+ "x": 3194.250499725342,
+ "y": 1593.3754984140396,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "77c32512.a85e0c"
+ "d1986902.69ea38"
]
]
},
{
- "id": "8c4ae1b6.8440d",
+ "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": 3499.250259399414,
- "y": 1501.0696926116943,
- "z": "97d36d8.2debe9",
+ "x": 3545.500259399414,
+ "y": 1530.625252366066,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "77c32512.a85e0c",
+ "id": "d1986902.69ea38",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3325.5000762939453,
- "y": 1570.3195724487305,
- "z": "97d36d8.2debe9",
+ "x": 3371.7500762939453,
+ "y": 1599.875132203102,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "14cd17df.749028",
- "75414c2d.295d74"
+ "7d11036e.cd195c",
+ "461385d5.ef603c"
]
]
},
{
- "id": "14cd17df.749028",
+ "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": 3607.500442504883,
- "y": 1559.0695724487305,
- "z": "97d36d8.2debe9",
+ "x": 3653.750442504883,
+ "y": 1588.625132203102,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "75414c2d.295d74",
+ "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": 3557.750747680664,
- "y": 1619.569603919983,
- "z": "97d36d8.2debe9",
+ "x": 3604.000747680664,
+ "y": 1649.1251636743546,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "f9746931.f68fc8",
+ "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": 2990.6250610351562,
- "y": 1674.1318769454956,
- "z": "97d36d8.2debe9",
+ "x": 3036.8750610351562,
+ "y": 1703.6874366998672,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "eeb6d06.ad3103",
+ "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": 2963.625244140625,
- "y": 1729.1318788528442,
- "z": "97d36d8.2debe9",
+ "x": 3009.875244140625,
+ "y": 1758.6874386072159,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "c099e06e.4ca54",
+ "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": 2943.6249389648438,
- "y": 1792.1321849822998,
- "z": "97d36d8.2debe9",
+ "x": 2989.8749389648438,
+ "y": 1821.6877447366714,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "70935f7e.52d6d",
+ "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": 2945.6251831054688,
- "y": 1850.131817817688,
- "z": "97d36d8.2debe9",
+ "x": 2991.8751831054688,
+ "y": 1879.6873775720596,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "d50824ca.307f58",
+ "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": 2950.6248168945312,
- "y": 1918.132308959961,
- "z": "97d36d8.2debe9",
+ "x": 2996.8748168945312,
+ "y": 1947.6878687143326,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "c365c8ce.3a5d38",
+ "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": 3007.6248474121094,
- "y": 1993.3816947937012,
- "z": "97d36d8.2debe9",
+ "x": 3053.8748474121094,
+ "y": 2022.9372545480728,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "cbfb7182.04192",
- "1353c2f.b08113d"
+ "42db944d.8c0fbc",
+ "6035db45.1d73f4"
]
]
},
{
- "id": "1353c2f.b08113d",
+ "id": "6035db45.1d73f4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3274.6248474121094,
- "y": 1893.3816947937012,
- "z": "97d36d8.2debe9",
+ "x": 3320.8748474121094,
+ "y": 1922.9372545480728,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "daa2fa32.0a3cf8"
+ "adfca1f7.0d0c1"
]
]
},
{
- "id": "daa2fa32.0a3cf8",
+ "id": "adfca1f7.0d0c1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3432.6250915527344,
- "y": 1841.3816947937012,
- "z": "97d36d8.2debe9",
+ "x": 3478.8750915527344,
+ "y": 1870.9372545480728,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "6eefc424.f5818c",
- "a67f38fc.2aa6f8",
- "a6171c84.8f453"
+ "e7089cb1.1a41d",
+ "1274c7c0.6942b8",
+ "538f7285.97feac"
]
]
},
{
- "id": "a67f38fc.2aa6f8",
+ "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": 3598.6248474121094,
- "y": 1807.3816947937012,
- "z": "97d36d8.2debe9",
+ "x": 3644.8748474121094,
+ "y": 1836.9372545480728,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "6eefc424.f5818c",
+ "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": 3603.624725341797,
- "y": 1902.3817558288574,
- "z": "97d36d8.2debe9",
+ "x": 3649.874725341797,
+ "y": 1931.937315583229,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "9ccf28a9.229118",
+ "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": 3587.624725341797,
- "y": 1988.3819389343262,
- "z": "97d36d8.2debe9",
+ "x": 3633.874725341797,
+ "y": 2017.9374986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "97dc56cc.61aa88",
+ "id": "d6013d07.92ca5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3441.6248474121094,
- "y": 1989.3816974163055,
- "z": "97d36d8.2debe9",
+ "x": 3487.8748474121094,
+ "y": 2018.9372571706772,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "9ccf28a9.229118"
+ "b2bdee8f.d0e01"
]
]
},
{
- "id": "cbfb7182.04192",
+ "id": "42db944d.8c0fbc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3273.6248474121094,
- "y": 1992.3816947937012,
- "z": "97d36d8.2debe9",
+ "x": 3319.8748474121094,
+ "y": 2021.9372545480728,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "97dc56cc.61aa88"
+ "d6013d07.92ca5"
]
]
},
{
- "id": "4af74b2.0c4c3b4",
+ "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": 655.3125305175781,
- "y": 632.881950378418,
- "z": "97d36d8.2debe9",
+ "x": 701.5625305175781,
+ "y": 662.4375101327896,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "78a81d70.8057c4",
+ "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": 628.8125305175781,
- "y": 688.3819818496704,
- "z": "97d36d8.2debe9",
+ "x": 675.0625305175781,
+ "y": 717.937541604042,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "3140a69b.5ea20a",
+ "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": 697.5625152587891,
- "y": 741.8819179534912,
- "z": "97d36d8.2debe9",
+ "x": 743.8125152587891,
+ "y": 771.4374777078629,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "5d00062a.743238",
+ "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": 650.5625076293945,
- "y": 780.9931592941284,
- "z": "97d36d8.2debe9",
+ "x": 696.8125076293945,
+ "y": 810.5487190485001,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "f8eadf29.5ba87",
+ "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": 636.0347518920898,
- "y": 818.0209217071533,
- "z": "97d36d8.2debe9",
+ "x": 1256.284782409668,
+ "y": 789.5765886306763,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "8900b25a.4b727",
+ "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": 632.701488494873,
- "y": 856.7986507415771,
- "z": "97d36d8.2debe9",
+ "x": 1266.951530456543,
+ "y": 827.3542985916138,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "65561a2a.1348f4",
+ "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": 621.9171524047852,
- "y": 891.5699234008789,
- "z": "97d36d8.2debe9",
+ "x": 668.1671524047852,
+ "y": 921.1254831552505,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "a6171c84.8f453",
+ "id": "538f7285.97feac",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4076.5625,
- "y": 1639.9355278015137,
- "z": "97d36d8.2debe9",
+ "x": 4122.8125,
+ "y": 1669.4910875558853,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "8e9200a7.f3da9",
- "60414092.28506",
- "f9a7f02e.efe6e"
+ "6403be78.5d82",
+ "35baae05.3737a2",
+ "4f35fe3d.ca573"
]
]
},
{
- "id": "8e9200a7.f3da9",
+ "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": 4455.706283569336,
- "y": 1497.5495147705078,
- "z": "97d36d8.2debe9",
+ "x": 4501.956283569336,
+ "y": 1527.1050745248795,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "60414092.28506",
+ "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": 4459.276741027832,
- "y": 1563.221601486206,
- "z": "97d36d8.2debe9",
+ "x": 4505.526741027832,
+ "y": 1592.7771612405777,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "f9a7f02e.efe6e",
+ "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": 4385.705307006836,
- "y": 1641.6501760482788,
- "z": "97d36d8.2debe9",
+ "x": 4431.955307006836,
+ "y": 1671.2057358026505,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "31d39151.3906ae",
- "aaf60ba7.09e9d8"
+ "55bab65f.15fba8",
+ "14008385.7c0d9c"
]
]
},
{
- "id": "31d39151.3906ae",
+ "id": "55bab65f.15fba8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4623.133865356445,
- "y": 1624.3642272949219,
- "z": "97d36d8.2debe9",
+ "x": 4669.383865356445,
+ "y": 1653.9197870492935,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "4210cf15.8783e"
+ "666823a.cd278dc"
]
]
},
{
- "id": "4210cf15.8783e",
+ "id": "666823a.cd278dc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4815.562232971191,
- "y": 1615.078664779663,
- "z": "97d36d8.2debe9",
+ "x": 4861.812232971191,
+ "y": 1644.6342245340347,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "55c1344c.aee6bc"
+ "ac397400.1ea37"
]
]
},
{
- "id": "55c1344c.aee6bc",
+ "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": 5017.2761154174805,
- "y": 1603.7927765846252,
- "z": "97d36d8.2debe9",
+ "x": 5063.5261154174805,
+ "y": 1633.348336338997,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "7bc0e6d8.a66c08",
+ "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": 5011.41939163208,
- "y": 1678.7928428649902,
- "z": "97d36d8.2debe9",
+ "x": 5057.66939163208,
+ "y": 1708.3484026193619,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "26cbe59.d88ae1a",
+ "id": "c5e0bcf5.1da6a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4827.419242858887,
- "y": 1684.221284866333,
- "z": "97d36d8.2debe9",
+ "x": 4873.669242858887,
+ "y": 1713.7768446207047,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "7bc0e6d8.a66c08"
+ "13a85374.dc470d"
]
]
},
{
- "id": "aaf60ba7.09e9d8",
+ "id": "14008385.7c0d9c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4617.419189453125,
- "y": 1688.0785236358643,
- "z": "97d36d8.2debe9",
+ "x": 4663.669189453125,
+ "y": 1717.634083390236,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "26cbe59.d88ae1a"
+ "c5e0bcf5.1da6a"
]
]
},
{
- "id": "fb4912a7.ac9d6",
+ "id": "d112a202.14d86",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 624.0625,
- "y": 1617.0783500671387,
- "z": "97d36d8.2debe9",
+ "x": 670.3125,
+ "y": 1646.6339098215103,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "20a36079.64749",
- "180c33be.f7820c",
- "e7a8f76c.47e418",
- "b811c19e.c0b97"
+ "be8548bb.49dc68",
+ "a7b79856.9ac328",
+ "3213abee.d1bdf4",
+ "12ab8339.c11cad"
]
]
},
{
- "id": "e7a8f76c.47e418",
+ "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": 904.0636444091797,
- "y": 1466.977834701538,
- "z": "97d36d8.2debe9",
+ "x": 950.3136444091797,
+ "y": 1496.5333944559097,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "20a36079.64749",
+ "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": 901.0624771118164,
- "y": 1621.0785331726074,
- "z": "97d36d8.2debe9",
+ "x": 947.3124771118164,
+ "y": 1650.634092926979,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "180c33be.f7820c",
+ "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": 770.0625762939453,
- "y": 1738.0782375335693,
- "z": "97d36d8.2debe9",
+ "x": 816.3125762939453,
+ "y": 1767.633797287941,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "43a1e0f6.d9bce",
- "f0514958.091e68"
+ "d43e359a.459548",
+ "d7154949.62a598"
]
]
},
{
- "id": "43a1e0f6.d9bce",
+ "id": "d43e359a.459548",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 935.0625762939453,
- "y": 1718.078236579895,
- "z": "97d36d8.2debe9",
+ "x": 981.3125762939453,
+ "y": 1747.6337963342667,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "49ed0881.ebce78"
+ "db93be20.d4c9a"
]
]
},
{
- "id": "f0514958.091e68",
+ "id": "d7154949.62a598",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 927.0624694824219,
- "y": 1791.0781869888306,
- "z": "97d36d8.2debe9",
+ "x": 973.3124694824219,
+ "y": 1820.6337467432022,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "f9269895.b3ab48"
+ "1cdebc40.cea3d4"
]
]
},
{
- "id": "f9269895.b3ab48",
+ "id": "1cdebc40.cea3d4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1073.062313079834,
- "y": 1796.0782957077026,
- "z": "97d36d8.2debe9",
+ "x": 1119.312313079834,
+ "y": 1825.6338554620743,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "e63686ba.7af778"
+ "6a559c9e.74ffb4"
]
]
},
{
- "id": "49ed0881.ebce78",
+ "id": "db93be20.d4c9a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1084.0624771118164,
- "y": 1714.078372001648,
- "z": "97d36d8.2debe9",
+ "x": 1130.3124771118164,
+ "y": 1743.6339317560196,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "f2eb4484.4e2e78",
- "911b190b.fc87a8"
+ "ff299a70.cace58",
+ "e497bce3.f3499"
]
]
},
{
- "id": "f2eb4484.4e2e78",
+ "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": 1231.0620956420898,
- "y": 1725.0781135559082,
- "z": "97d36d8.2debe9",
+ "x": 1277.3120956420898,
+ "y": 1754.6336733102798,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "e63686ba.7af778",
+ "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": 1234.0622329711914,
- "y": 1802.0781879425049,
- "z": "97d36d8.2debe9",
+ "x": 1280.3122329711914,
+ "y": 1831.6337476968765,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "911b190b.fc87a8",
+ "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": 1218.5727043151855,
- "y": 1629.0676050186157,
- "z": "97d36d8.2debe9",
+ "x": 1264.8227043151855,
+ "y": 1658.6231647729874,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "b811c19e.c0b97",
+ "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": 923.402099609375,
- "y": 1557.063687324524,
- "z": "97d36d8.2debe9",
+ "x": 969.652099609375,
+ "y": 1586.6192470788956,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "82a44f57.da628",
+ "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": 281.5625,
- "y": 1133.5069389343262,
- "z": "97d36d8.2debe9",
+ "x": 327.8125,
+ "y": 1163.0624986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "4a7507d.20e03f8",
+ "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": 650.5555038452148,
- "y": 924.1666088104248,
- "z": "97d36d8.2debe9",
+ "x": 696.8055038452148,
+ "y": 953.7221685647964,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "b883fc7d.48bca",
+ "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": 1864.9999084472656,
- "y": 715.8334693908691,
- "z": "97d36d8.2debe9",
+ "x": 1911.2499084472656,
+ "y": 745.3890291452408,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "621e175.0404ae8",
+ "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": 1864.9999465942383,
- "y": 806.9444789886475,
- "z": "97d36d8.2debe9",
+ "x": 1911.2499465942383,
+ "y": 836.5000387430191,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "3eb11b00.e80194",
+ "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": 2324.9998474121094,
- "y": 754.1666450500488,
- "z": "97d36d8.2debe9",
+ "x": 2371.2498474121094,
+ "y": 783.7222048044205,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "e76bc3c0.0edf5",
+ "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": 797.4999923706055,
- "y": 956.6665782928467,
- "z": "97d36d8.2debe9",
+ "x": 843.7499923706055,
+ "y": 986.2221380472183,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "d74aea1d.4971f8",
+ "id": "3d251ba4.ddf994",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 605.2777404785156,
- "y": 973.3332710266113,
- "z": "97d36d8.2debe9",
+ "x": 651.5277404785156,
+ "y": 1002.888830780983,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "e76bc3c0.0edf5"
+ "ae3d93e1.a7a45"
]
]
},
{
- "id": "5c9636da.117878",
+ "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": 1994.1665954589844,
- "y": 1158.888874053955,
- "z": "97d36d8.2debe9",
+ "x": 2040.4165954589844,
+ "y": 1188.4444338083267,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "486c8988.17b4e8",
+ "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": 1990.8332214355469,
- "y": 1235.5555000305176,
- "z": "97d36d8.2debe9",
+ "x": 2037.0832214355469,
+ "y": 1265.1110597848892,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "cf837fb7.24118",
+ "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": 1987.4998474121094,
- "y": 1268.888874053955,
- "z": "97d36d8.2debe9",
+ "x": 2033.7498474121094,
+ "y": 1298.4444338083267,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "2d9bbd55.ba7582",
+ "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['+ $idz +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`\" />",
+ "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": 2068.3333435058594,
- "y": 941.1110382080078,
- "z": "97d36d8.2debe9",
+ "x": 2106.5834197998047,
+ "y": 1002.6666955947876,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "7229bf20.efefc",
+ "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": 1918.2223739624023,
- "y": 976.8888721466064,
- "z": "97d36d8.2debe9",
+ "x": 1963.4726104736328,
+ "y": 1042.444465637207,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "65eb3275.4c544c",
+ "id": "720819d9.bc5d78",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 1930.4446182250977,
- "y": 1016.9999618530273,
- "z": "97d36d8.2debe9",
+ "x": 1966.6945724487305,
+ "y": 1077.5555658340454,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "7bbbd8d9.770108",
- "1af10d7a.4d0d53"
+ "ce68019d.d9b15",
+ "4c5e2da7.e835f4"
]
]
},
{
- "id": "7bbbd8d9.770108",
+ "id": "ce68019d.d9b15",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2112.139148712158,
- "y": 996.1112003326416,
- "z": "97d36d8.2debe9",
+ "x": 2149.3891792297363,
+ "y": 1047.6667709350586,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "c41e3776.a23bb8"
+ "aeb42d0d.8b6e2"
]
]
},
{
- "id": "ddf97987.753eb8",
+ "id": "51ac29dc.473308",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1719.4443054199219,
- "y": 1001.1110420227051,
- "z": "97d36d8.2debe9",
+ "x": 1765.6943054199219,
+ "y": 1030.6666017770767,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "2d9bbd55.ba7582",
- "7229bf20.efefc",
- "65eb3275.4c544c"
+ "90abe626.d80828",
+ "cf5bb551.50bc48",
+ "567e4ef1.2569d"
]
]
},
{
- "id": "1af10d7a.4d0d53",
+ "id": "4c5e2da7.e835f4",
"type": "outcome",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2292.7776794433594,
- "y": 967.7777290344238,
- "z": "97d36d8.2debe9",
+ "x": 2284.027576446533,
+ "y": 1040.3333053588867,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "a81fcade.879b78"
+ "9ef2cf06.62985"
]
]
},
{
- "id": "a81fcade.879b78",
+ "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": 2432.7777366638184,
- "y": 957.77769947052,
- "z": "97d36d8.2debe9",
+ "x": 2479.0277366638184,
+ "y": 987.3332592248917,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "6b23bbb4.2f26d4",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DUpLMNInfoList_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.DUpLMNInfoList_length`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 2368.3333435058594,
- "y": 1391.111042022705,
- "z": "97d36d8.2debe9",
- "wires": [
- []
- ]
- },
- {
- "id": "5789652a.13621c",
+ "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": 1883.8888397216797,
- "y": 663.3332815170288,
- "z": "97d36d8.2debe9",
+ "x": 1930.1388397216797,
+ "y": 692.8888412714005,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "9950a6b.7600558",
+ "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": 1963.0555114746094,
- "y": 1366.6665840148926,
- "z": "97d36d8.2debe9",
+ "x": 2009.3055114746094,
+ "y": 1396.2221437692642,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "8d198da6.7e824",
+ "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": 1962.430191040039,
- "y": 1401.978964805603,
- "z": "97d36d8.2debe9",
+ "x": 2008.680191040039,
+ "y": 1431.5345245599747,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "cf85911.dc4117",
+ "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": 666.6666641235352,
- "y": 411.1110854148865,
- "z": "97d36d8.2debe9",
+ "x": 712.9166641235352,
+ "y": 440.6666451692581,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "38c79f73.134ec",
- "5289e4ce.19e78c"
+ "a99d2439.51cb18",
+ "87d1a970.979638"
]
]
},
{
- "id": "38c79f73.134ec",
+ "id": "a99d2439.51cb18",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 894.1666603088379,
- "y": 356.6666889190674,
- "z": "97d36d8.2debe9",
+ "x": 940.4166603088379,
+ "y": 386.222248673439,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "ac6ed2b3.1ec52"
+ "bcdf9c78.c8fb1"
]
]
},
{
- "id": "5289e4ce.19e78c",
+ "id": "87d1a970.979638",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 896.3888053894043,
- "y": 415.5555763244629,
- "z": "97d36d8.2debe9",
+ "x": 942.6388053894043,
+ "y": 445.11113607883453,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "c4bdd35a.798ee"
+ "4dba95dc.4decdc"
]
]
},
{
- "id": "30c722b5.e2114e",
+ "id": "9c35bb65.560c98",
"type": "set",
"name": "set status as ACTIVE",
"xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
"comments": "",
- "x": 1348.6112327575684,
- "y": 326.66665267944336,
- "z": "97d36d8.2debe9",
+ "x": 1394.8612327575684,
+ "y": 356.222212433815,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "c5cc134f.3ffc2",
+ "id": "1ca88a0f.7c8306",
"type": "set",
"name": "set status as INACTIVE",
"xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
"comments": "",
- "x": 1323.055576324463,
- "y": 360.0000066757202,
- "z": "97d36d8.2debe9",
+ "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": "ac6ed2b3.1ec52",
+ "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": 1104.166660308838,
- "y": 344.4443988800049,
- "z": "97d36d8.2debe9",
+ "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": [
[
- "30c722b5.e2114e"
+ "2368c209.6d976e"
]
]
},
{
- "id": "c4bdd35a.798ee",
+ "id": "2368c209.6d976e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1100.8334045410156,
- "y": 401.1111273765564,
- "z": "97d36d8.2debe9",
+ "x": 2592,
+ "y": 1446.75,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "c5cc134f.3ffc2"
+ "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": [
+ []
+ ]
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json
index 05fa5395..76ae3b60 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json
@@ -1,36 +1,36 @@
[
{
- "id": "67a77d09.005634",
+ "id": "f1148ca3.5ca0a",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSlice' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 233.0555419921875,
- "y": 316.9895782470703,
- "z": "cf6cf6b0.bb1328",
+ "x": 126.75,
+ "y": 215.7395896911621,
+ "z": "da691f27.3219f",
"wires": [
[
- "42dd709f.aad4b"
+ "156d6531.efde9b"
]
]
},
{
- "id": "6123ff94.6f1ca",
+ "id": "b069cd36.782c9",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 236.0555419921875,
- "y": 166.98957443237305,
- "z": "cf6cf6b0.bb1328",
+ "x": 129.75,
+ "y": 65.73958587646484,
+ "z": "da691f27.3219f",
"wires": [
[
- "6c8850d4.ad19d"
+ "3d8648fa.b8cda8"
]
]
},
{
- "id": "6c8850d4.ad19d",
+ "id": "3d8648fa.b8cda8",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,1102 +38,1127 @@
"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": 294.05552673339844,
- "y": 227.9896697998047,
- "z": "cf6cf6b0.bb1328",
+ "x": 187.74998474121094,
+ "y": 126.73968124389648,
+ "z": "da691f27.3219f",
"wires": [
[
- "67a77d09.005634"
+ "f1148ca3.5ca0a"
]
]
},
{
- "id": "42dd709f.aad4b",
+ "id": "156d6531.efde9b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 242.54513931274414,
- "y": 481.9896192550659,
- "z": "cf6cf6b0.bb1328",
+ "x": 136.23959732055664,
+ "y": 380.7396306991577,
+ "z": "da691f27.3219f",
"wires": [
[
- "9f2f24a2.745ca8",
- "860cc46e.fa7f88",
- "64a49a6.5b4e364",
- "ef84eb20.c4e448",
- "1bfe8353.4be83d",
- "3d941794.9e7798",
- "34c03b26.8a2e14",
- "85f34d57.c700f",
- "1e555148.2d405f"
+ "6888726f.11571c",
+ "b5226aca.7abca8",
+ "2477e49c.ec529c",
+ "99154e95.c5f0b",
+ "eb38c86e.9a1d48",
+ "e09d3b25.806ca8",
+ "16edce4c.6783d2",
+ "5d4374eb.f3572c",
+ "748c3b31.9647a4"
]
]
},
{
- "id": "85f34d57.c700f",
+ "id": "5d4374eb.f3572c",
"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": 502.54512786865234,
- "y": 1027.9899854660034,
- "z": "cf6cf6b0.bb1328",
+ "x": 396.23958587646484,
+ "y": 926.7399969100952,
+ "z": "da691f27.3219f",
"wires": []
},
{
- "id": "4bd5cb1a.ab54f4",
+ "id": "2f7c696.b0eec96",
"type": "comment",
"name": "instantiateRANSlice",
"info": "",
"comments": "",
- "x": 518.0555419921875,
- "y": 159.9999885559082,
- "z": "cf6cf6b0.bb1328",
+ "x": 411.75,
+ "y": 58.75,
+ "z": "da691f27.3219f",
"wires": []
},
{
- "id": "9f2f24a2.745ca8",
+ "id": "6888726f.11571c",
"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=\"RPC to handle instantiateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$instantiate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$instantiate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$instantiate-r-a-n-slice-input.payload`\"/>",
"comments": "",
"outputs": 1,
- "x": 576.0558776855469,
- "y": 211.01044845581055,
- "z": "cf6cf6b0.bb1328",
+ "x": 469.7503356933594,
+ "y": 109.76045989990234,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "64a49a6.5b4e364",
+ "id": "2477e49c.ec529c",
"type": "execute",
"name": "execute jsonStringToCtx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='instantiate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
"comments": "",
"outputs": 1,
- "x": 625.0556335449219,
- "y": 300.0104160308838,
- "z": "cf6cf6b0.bb1328",
+ "x": 518.7500915527344,
+ "y": 198.7604274749756,
+ "z": "da691f27.3219f",
"wires": [
[
- "2297220f.d1d1de"
+ "96d5e7b4.bdd878"
]
]
},
{
- "id": "2297220f.d1d1de",
+ "id": "96d5e7b4.bdd878",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 853.0556449890137,
- "y": 280.01043128967285,
- "z": "cf6cf6b0.bb1328",
+ "x": 746.7501029968262,
+ "y": 178.76044273376465,
+ "z": "da691f27.3219f",
"wires": [
[
- "5b1157ca.74ff08"
+ "8843ee24.fbfd7"
]
]
},
{
- "id": "5d49c24f.5762cc",
+ "id": "456f43f0.54c41c",
"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=\"Payload for instantiateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.sliceProfile.NSSAI`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.latency`\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$payloadJson.input.sliceProfile.dLThptPerSlice`\"/>\n<parameter name=\"field8\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>\n<parameter name=\"field9\" value=\"`$payloadJson.input.sliceProfile.coverageAreaList[0]`\"/>\n<parameter name=\"field10\" value=\"`$payloadJson.input.sliceProfile.uEMobilityLevel`\"/>\n<parameter name=\"field11\" value=\"`$payloadJson.input.sliceProfile.resourceSharingLevel`\"/>\n<parameter name=\"field12\" value=\"`$payloadJson.input.RANNSSIId`\"/>\n<parameter name=\"field13\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field14\" value=\"`$payloadJson.input.callbackURL`\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1196.0558185577393,
- "y": 287.01045989990234,
- "z": "cf6cf6b0.bb1328",
+ "x": 1089.7502765655518,
+ "y": 185.76047134399414,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "ef84eb20.c4e448",
+ "id": "99154e95.c5f0b",
"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": 607.0555953979492,
- "y": 385.01037311553955,
- "z": "cf6cf6b0.bb1328",
+ "x": 500.7500534057617,
+ "y": 283.76038455963135,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "1bfe8353.4be83d",
+ "id": "eb38c86e.9a1d48",
"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=\"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": 586.0556373596191,
- "y": 434.0104160308838,
- "z": "cf6cf6b0.bb1328",
+ "x": 479.75009536743164,
+ "y": 332.7604274749756,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "3d941794.9e7798",
+ "id": "e09d3b25.806ca8",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 576.0556259155273,
- "y": 724.8992605209351,
- "z": "cf6cf6b0.bb1328",
+ "x": 469.75008392333984,
+ "y": 623.6492719650269,
+ "z": "da691f27.3219f",
"wires": [
[
- "8cd8cd55.d7bc8"
+ "30a8d676.e998ca"
]
]
},
{
- "id": "8cd8cd55.d7bc8",
+ "id": "30a8d676.e998ca",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 648.0556907653809,
- "y": 921.899284362793,
- "z": "cf6cf6b0.bb1328",
+ "x": 541.7501487731934,
+ "y": 820.6492958068848,
+ "z": "da691f27.3219f",
"wires": [
[
- "afc265fa.6d0098"
+ "a2d30976.7f48e8"
]
]
},
{
- "id": "860cc46e.fa7f88",
+ "id": "b5226aca.7abca8",
"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 instantiateRANSice RPC' />",
"comments": "",
- "x": 625.0556335449219,
- "y": 259.01046562194824,
- "z": "cf6cf6b0.bb1328",
+ "x": 518.7500915527344,
+ "y": 157.76047706604004,
+ "z": "da691f27.3219f",
"wires": []
},
{
- "id": "39f5c467.099a5c",
+ "id": "2f23e956.230a16",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1214.0558166503906,
- "y": 221.01043224334717,
- "z": "cf6cf6b0.bb1328",
+ "x": 1107.7502746582031,
+ "y": 119.76044368743896,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "5b1157ca.74ff08",
+ "id": "8843ee24.fbfd7",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1022.0557327270508,
- "y": 255.0104296207428,
- "z": "cf6cf6b0.bb1328",
+ "x": 915.7501907348633,
+ "y": 153.7604410648346,
+ "z": "da691f27.3219f",
"wires": [
[
- "39f5c467.099a5c",
- "5d49c24f.5762cc"
+ "2f23e956.230a16",
+ "456f43f0.54c41c"
]
]
},
{
- "id": "9dd7ad7.69d2b5",
+ "id": "9181e66e.31e328",
"type": "set",
"name": "set Temp Variables",
- "xml": "<set>\n<parameter name='tmp.payload.trackingArea' value='`$payloadJson.input.sliceProfile.coverageAreaList[0]`'/>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>\n<parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaList_length`'/>\n<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>\n<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>\n<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>\n<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>\n<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>\n<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>\n<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>\n<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>",
+ "xml": "<set>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>\n<parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaTAList_length`'/>\n<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>\n<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>\n<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>\n<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>\n<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>\n<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.snssaiList[0]`'/>\n<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>\n<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.plmnIdList[0]`'/>",
"comments": "",
- "x": 1466.0558700561523,
- "y": 461.01044607162476,
- "z": "cf6cf6b0.bb1328",
+ "x": 1359.7503280639648,
+ "y": 359.76045751571655,
+ "z": "da691f27.3219f",
"wires": []
},
{
- "id": "afc265fa.6d0098",
+ "id": "a2d30976.7f48e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 791.0555801391602,
- "y": 827.0000076293945,
- "z": "cf6cf6b0.bb1328",
+ "x": 684.7500381469727,
+ "y": 725.7500190734863,
+ "z": "da691f27.3219f",
"wires": [
[
- "a3e93025.2a3d6"
+ "5206f412.8f596c"
]
]
},
{
- "id": "34c03b26.8a2e14",
+ "id": "16edce4c.6783d2",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 599.0555572509766,
- "y": 344.00001525878906,
- "z": "cf6cf6b0.bb1328",
+ "x": 492.75001525878906,
+ "y": 242.75002670288086,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "a5c3d67d.ddc678",
+ "id": "a3c71830.4f42f8",
"type": "execute",
"name": "SliStringUtils - substring MCC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.payload.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": 2010.0662994384766,
- "y": 541.0104551315308,
- "z": "cf6cf6b0.bb1328",
+ "x": 1911.0335540771484,
+ "y": 499.76049613952637,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "1cb6911c.4db33f",
+ "id": "9097e44b.ea3938",
"type": "execute",
"name": "SliStringUtils - substring MNC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.payload.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
"comments": "",
"outputs": 1,
- "x": 2014.0662994384766,
- "y": 588.010401725769,
- "z": "cf6cf6b0.bb1328",
+ "x": 1905.0335311889648,
+ "y": 535.851318359375,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "cea48eef.d485d",
+ "id": "555f8ecc.c976b",
"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=\"PLMNID from Payload: MCC-MNC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1419.0598373413086,
- "y": 652.0038738250732,
- "z": "cf6cf6b0.bb1328",
+ "x": 1312.754295349121,
+ "y": 550.753885269165,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "7f2af55a.f1dc2c",
+ "id": "fa9e795.b435d88",
"type": "comment",
"name": "TO DO",
"info": "- Use \"List of Cells for Tracking Area\" everywhere list\nof cells are sequenced for Restconf transactions...\nNo need to go through all cells as captured in the configDB\nresponse....localID will be the actual value returned \nin \n<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $ids + ']'`\" />\n\t\n\ttmp.trackingarea.cell would be cellLocalID",
"comments": "",
- "x": 873.0555419921875,
- "y": 198.9999885559082,
- "z": "cf6cf6b0.bb1328",
+ "x": 766.75,
+ "y": 97.75,
+ "z": "da691f27.3219f",
"wires": []
},
{
- "id": "a3e93025.2a3d6",
+ "id": "5206f412.8f596c",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 976.0660285949707,
- "y": 899.010454416275,
- "z": "cf6cf6b0.bb1328",
+ "x": 869.7604866027832,
+ "y": 797.7604658603668,
+ "z": "da691f27.3219f",
"wires": [
[
- "d9af500b.00472",
- "b756919a.6a42b",
- "e378e31b.1eb2d",
- "551ef603.0c3e58"
+ "919bed98.d805c",
+ "3623bdec.476752",
+ "50de09ef.7b3688",
+ "45399248.42f0bc"
]
]
},
{
- "id": "d9af500b.00472",
+ "id": "919bed98.d805c",
"type": "outcome",
"name": "allocate",
"xml": "<outcome value='allocate'>",
"comments": "",
"outputs": 1,
- "x": 1204.0660400390625,
- "y": 772.8993377685547,
- "z": "cf6cf6b0.bb1328",
+ "x": 1097.760498046875,
+ "y": 671.6493492126465,
+ "z": "da691f27.3219f",
"wires": [
[
- "9289244a.4c4bb8"
+ "5e6fee97.b28fc"
]
]
},
{
- "id": "b756919a.6a42b",
+ "id": "3623bdec.476752",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 1213.7803115844727,
- "y": 848.3993804454803,
- "z": "cf6cf6b0.bb1328",
+ "x": 1107.4747695922852,
+ "y": 747.1493918895721,
+ "z": "da691f27.3219f",
"wires": [
[
- "a4fc78c7.329648"
+ "b9467d44.66d1d"
]
]
},
{
- "id": "e378e31b.1eb2d",
+ "id": "50de09ef.7b3688",
"type": "outcome",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 1221.1374130249023,
- "y": 938.5422039031982,
- "z": "cf6cf6b0.bb1328",
+ "x": 1114.8318710327148,
+ "y": 837.29221534729,
+ "z": "da691f27.3219f",
"wires": [
[
- "b302bef7.3fda8"
+ "6c05b635.efe6c8"
]
]
},
{
- "id": "551ef603.0c3e58",
+ "id": "45399248.42f0bc",
"type": "outcome",
"name": "reconfigure",
"xml": "<outcome value='reconfigure'>",
"comments": "",
"outputs": 1,
- "x": 1193.1374130249023,
- "y": 1021.578013420105,
- "z": "cf6cf6b0.bb1328",
+ "x": 1086.8318710327148,
+ "y": 920.3280248641968,
+ "z": "da691f27.3219f",
"wires": [
[
- "6c87ccb6.788e84"
+ "cfee0651.bfde68"
]
]
},
{
- "id": "9289244a.4c4bb8",
+ "id": "5e6fee97.b28fc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1417.0554065704346,
- "y": 757.0000276565552,
- "z": "cf6cf6b0.bb1328",
+ "x": 1310.749864578247,
+ "y": 655.750039100647,
+ "z": "da691f27.3219f",
"wires": [
[
- "884c04b0.09e5f8",
- "ab24a43a.308598"
+ "7e8525bb.5f033c",
+ "8f621f0d.2ed87"
]
]
},
{
- "id": "a4fc78c7.329648",
+ "id": "b9467d44.66d1d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1437.2698593139648,
- "y": 852.5001106262207,
- "z": "cf6cf6b0.bb1328",
+ "x": 1330.9643173217773,
+ "y": 751.2501220703125,
+ "z": "da691f27.3219f",
"wires": [
[
- "28dcc680.4a597a",
- "22cdbf7c.f7d3b"
+ "d27a2b0c.4e3cb8",
+ "f7291513.43ee78"
]
]
},
{
- "id": "6c87ccb6.788e84",
+ "id": "cfee0651.bfde68",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1424.8769607543945,
- "y": 1048.4286794662476,
- "z": "cf6cf6b0.bb1328",
+ "x": 1318.571418762207,
+ "y": 947.1786909103394,
+ "z": "da691f27.3219f",
"wires": [
[
- "9a8e2312.7ddf3",
- "281ae2be.baaf4e"
+ "8f2f7bab.04ef18",
+ "14b85ae4.5ec4a5"
]
]
},
{
- "id": "b302bef7.3fda8",
+ "id": "6c05b635.efe6c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1437.8054504394531,
- "y": 950.6430006027222,
- "z": "cf6cf6b0.bb1328",
+ "x": 1331.4999084472656,
+ "y": 849.393012046814,
+ "z": "da691f27.3219f",
"wires": [
[
- "52f79f06.a08b1",
- "542603bc.4a91fc"
+ "d2b76ffc.1bd3e",
+ "9228c3d5.35c2e"
]
]
},
{
- "id": "884c04b0.09e5f8",
+ "id": "7e8525bb.5f033c",
"type": "call",
"name": "call instantiateRANSliceAllocate",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceAllocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1705.3053894042969,
- "y": 745.7500038146973,
- "z": "cf6cf6b0.bb1328",
+ "x": 1598.9998474121094,
+ "y": 644.5000152587891,
+ "z": "da691f27.3219f",
"wires": [
[
- "cb46a7e0.44b9c8"
+ "17bb380b.5f8a78"
]
]
},
{
- "id": "cb46a7e0.44b9c8",
+ "id": "17bb380b.5f8a78",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1971.1625213623047,
- "y": 754.3214464187622,
- "z": "cf6cf6b0.bb1328",
+ "x": 1864.8569793701172,
+ "y": 653.071457862854,
+ "z": "da691f27.3219f",
"wires": [
[
- "dc23f13e.76c39"
+ "43d16256.9ac58c"
]
]
},
{
- "id": "dc23f13e.76c39",
+ "id": "43d16256.9ac58c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2143.162528991699,
- "y": 754.428599357605,
- "z": "cf6cf6b0.bb1328",
+ "x": 2036.8569869995117,
+ "y": 653.1786108016968,
+ "z": "da691f27.3219f",
"wires": []
},
{
- "id": "28dcc680.4a597a",
+ "id": "d27a2b0c.4e3cb8",
"type": "call",
"name": "call instantiateRANSliceModifyAllocate",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1729.7343139648438,
- "y": 855.7500467300415,
- "z": "cf6cf6b0.bb1328",
+ "x": 1623.4287719726562,
+ "y": 754.5000581741333,
+ "z": "da691f27.3219f",
"wires": [
[
- "ee34f035.a9451"
+ "e5f27ae8.cd0428"
]
]
},
{
- "id": "ee34f035.a9451",
+ "id": "e5f27ae8.cd0428",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1991.019947052002,
- "y": 852.750072479248,
- "z": "cf6cf6b0.bb1328",
+ "x": 1884.7144050598145,
+ "y": 751.5000839233398,
+ "z": "da691f27.3219f",
"wires": [
[
- "fdb6ec76.bfbbf"
+ "bf972310.7f3af"
]
]
},
{
- "id": "fdb6ec76.bfbbf",
+ "id": "bf972310.7f3af",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2159.5913887023926,
- "y": 852.428617477417,
- "z": "cf6cf6b0.bb1328",
+ "x": 2053.285846710205,
+ "y": 751.1786289215088,
+ "z": "da691f27.3219f",
"wires": []
},
{
- "id": "9a8e2312.7ddf3",
+ "id": "8f2f7bab.04ef18",
"type": "call",
"name": "call instantiateRANSliceReconfigure",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceReconfigure' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1717.8768844604492,
- "y": 1048.035737991333,
- "z": "cf6cf6b0.bb1328",
+ "x": 1611.5713424682617,
+ "y": 946.7857494354248,
+ "z": "da691f27.3219f",
"wires": [
[
- "186fc0ff.96087f"
+ "63c6f8a7.99a9c8"
]
]
},
{
- "id": "186fc0ff.96087f",
+ "id": "63c6f8a7.99a9c8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1974.1626091003418,
- "y": 1048.0357637405396,
- "z": "cf6cf6b0.bb1328",
+ "x": 1867.8570671081543,
+ "y": 946.7857751846313,
+ "z": "da691f27.3219f",
"wires": [
[
- "c861f695.384618"
+ "4c86c541.91d97c"
]
]
},
{
- "id": "c861f695.384618",
+ "id": "4c86c541.91d97c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2142.7340507507324,
- "y": 1047.7143087387085,
- "z": "cf6cf6b0.bb1328",
+ "x": 2036.428508758545,
+ "y": 946.4643201828003,
+ "z": "da691f27.3219f",
"wires": []
},
{
- "id": "52f79f06.a08b1",
+ "id": "d2b76ffc.1bd3e",
"type": "call",
"name": "call instantiateRANSliceModifyDeallocate",
"xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1711.0196990966797,
- "y": 949.0357732772827,
- "z": "cf6cf6b0.bb1328",
+ "x": 1604.7141571044922,
+ "y": 847.7857847213745,
+ "z": "da691f27.3219f",
"wires": [
[
- "4cf931ad.91319"
+ "80e5183e.291638"
]
]
},
{
- "id": "4cf931ad.91319",
+ "id": "80e5183e.291638",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1989.591121673584,
- "y": 947.6072273254395,
- "z": "cf6cf6b0.bb1328",
+ "x": 1883.2855796813965,
+ "y": 846.3572387695312,
+ "z": "da691f27.3219f",
"wires": [
[
- "6e71fce1.9048b4"
+ "5e15f619.313ba8"
]
]
},
{
- "id": "6e71fce1.9048b4",
+ "id": "5e15f619.313ba8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2158.1625633239746,
- "y": 947.2857723236084,
- "z": "cf6cf6b0.bb1328",
+ "x": 2051.857021331787,
+ "y": 846.0357837677002,
+ "z": "da691f27.3219f",
"wires": []
},
{
- "id": "802d2f45.cbb97",
+ "id": "f8ebb84c.3d8648",
"type": "set",
"name": "set RRMPolicyRatio IDs",
"xml": "<set>\n<parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value=\"`'NearRTRIC-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value=\"`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellDU' value=\"`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value=\"`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value=\"`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellCU' value=\"`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />",
"comments": "",
- "x": 1489.0558700561523,
- "y": 506.9999895095825,
- "z": "cf6cf6b0.bb1328",
+ "x": 1382.7503280639648,
+ "y": 405.7500009536743,
+ "z": "da691f27.3219f",
"wires": []
},
{
- "id": "37e405b4.395e2a",
+ "id": "f1d6beae.5f70b",
"type": "execute",
"name": "execute concat customer-id and @test.com",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n <parameter name=\"source\" value='`$prop.customer-id`'/>\n <parameter name=\"outputPath\" value=\"tmp.userAccountEmail\"/>\n <parameter name=\"target\" value=\"@test.com\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 452.0555648803711,
- "y": 1142.9999990463257,
- "z": "cf6cf6b0.bb1328",
+ "x": 345.7500228881836,
+ "y": 1041.7500104904175,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "ab24a43a.308598",
+ "id": "8f621f0d.2ed87",
"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 instantiateRANSliceAllocate \"/>",
"comments": "",
"outputs": 1,
- "x": 1653.0555572509766,
- "y": 686.0000295639038,
- "z": "cf6cf6b0.bb1328",
+ "x": 1546.750015258789,
+ "y": 584.7500410079956,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "22cdbf7c.f7d3b",
+ "id": "f7291513.43ee78",
"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 \"/>",
"comments": "",
"outputs": 1,
- "x": 1635.0555114746094,
- "y": 797.0000314712524,
- "z": "cf6cf6b0.bb1328",
+ "x": 1528.7499694824219,
+ "y": 695.7500429153442,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "542603bc.4a91fc",
+ "id": "9228c3d5.35c2e",
"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 instantiateRANSliceModifyDeallocate \"/>",
"comments": "",
"outputs": 1,
- "x": 1629.0555114746094,
- "y": 897.0000314712524,
- "z": "cf6cf6b0.bb1328",
+ "x": 1522.7499694824219,
+ "y": 795.7500429153442,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "281ae2be.baaf4e",
+ "id": "14b85ae4.5ec4a5",
"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 instantiateRANSliceReconfigure \"/>",
"comments": "",
"outputs": 1,
- "x": 1629.0555114746094,
- "y": 998.0000314712524,
- "z": "cf6cf6b0.bb1328",
+ "x": 1522.7499694824219,
+ "y": 896.7500429153442,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "1037fed9.060b91",
+ "id": "e2d984c8.afe3d8",
"type": "execute",
"name": "payload has dLThptPerSlice",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n <parameter name='target' value='dLThptPerSlice' />\n",
"comments": "",
"outputs": 1,
- "x": 1068.055892944336,
- "y": 356.66678524017334,
- "z": "cf6cf6b0.bb1328",
+ "x": 961.7503509521484,
+ "y": 255.41679668426514,
+ "z": "da691f27.3219f",
"wires": [
[
- "696ea6a3.1ddef8",
- "75abc41a.6f95dc"
+ "42c57d6a.06eb14",
+ "32922f25.ea7b"
]
]
},
{
- "id": "696ea6a3.1ddef8",
+ "id": "42c57d6a.06eb14",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1287.0559043884277,
- "y": 335.66672229766846,
- "z": "cf6cf6b0.bb1328",
+ "x": 1180.7503623962402,
+ "y": 234.41673374176025,
+ "z": "da691f27.3219f",
"wires": [
[
- "60315b7.97b57a4"
+ "70cee1ea.ee005"
]
]
},
{
- "id": "75abc41a.6f95dc",
+ "id": "32922f25.ea7b",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1246.0558166503906,
- "y": 429.66670417785645,
- "z": "cf6cf6b0.bb1328",
+ "x": 1139.7502746582031,
+ "y": 328.41671562194824,
+ "z": "da691f27.3219f",
"wires": [
[
- "a8e66368.9d38f"
+ "b773eb8e.918fd8"
]
]
},
{
- "id": "a8e66368.9d38f",
+ "id": "b773eb8e.918fd8",
"type": "execute",
"name": "payload contains maxNumberofConns",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n <parameter name='target' value='maxNumberofConns' />\n",
"comments": "",
"outputs": 1,
- "x": 1467.0555877685547,
- "y": 394.66670417785645,
- "z": "cf6cf6b0.bb1328",
+ "x": 1360.7500457763672,
+ "y": 293.41671562194824,
+ "z": "da691f27.3219f",
"wires": [
[
- "452fe256.38c78c"
+ "14e9d702.caa349"
]
]
},
{
- "id": "60315b7.97b57a4",
+ "id": "70cee1ea.ee005",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1722.0555877685547,
- "y": 230.6667194366455,
- "z": "cf6cf6b0.bb1328",
+ "x": 1615.7500457763672,
+ "y": 129.4167308807373,
+ "z": "da691f27.3219f",
"wires": [
[
- "69923b8f.84a204",
- "eb24946f.4a1418"
+ "e4c8ba47.06df08",
+ "79c1f05d.80009"
]
]
},
{
- "id": "69923b8f.84a204",
+ "id": "e4c8ba47.06df08",
"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=\"PAYLOAD contains dLThptPerSlice...Closed loop \"/>\n<parameter name=\"field2\" value=\"Creating temporary variables ONLy for relevant payload fields \"/>\n",
"comments": "",
"outputs": 1,
- "x": 1945.0555953979492,
- "y": 189.6667184829712,
- "z": "cf6cf6b0.bb1328",
+ "x": 1838.7500534057617,
+ "y": 88.41672992706299,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "452fe256.38c78c",
+ "id": "14e9d702.caa349",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1629.0555877685547,
- "y": 316.66670179367065,
- "z": "cf6cf6b0.bb1328",
+ "x": 1522.7500457763672,
+ "y": 215.41671323776245,
+ "z": "da691f27.3219f",
"wires": [
[
- "8a6a374e.258778"
+ "c275ee64.e7807"
]
]
},
{
- "id": "8a6a374e.258778",
+ "id": "c275ee64.e7807",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1736.0559158325195,
- "y": 431.6667060852051,
- "z": "cf6cf6b0.bb1328",
+ "x": 1629.750373840332,
+ "y": 330.4167175292969,
+ "z": "da691f27.3219f",
"wires": [
[
- "56d45133.ccf3",
- "eb24946f.4a1418"
+ "95c8d487.134458",
+ "79c1f05d.80009"
]
]
},
{
- "id": "56d45133.ccf3",
+ "id": "95c8d487.134458",
"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=\"PAYLOAD contains maxNumberofConns...Inntelligent Slicing \"/>\n<parameter name=\"field2\" value=\"Creating temporary variables ONLy for relevant payload fields \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1793.0559158325195,
- "y": 320.6667013168335,
- "z": "cf6cf6b0.bb1328",
+ "x": 1686.750373840332,
+ "y": 219.4167127609253,
+ "z": "da691f27.3219f",
"wires": [
[]
]
},
{
- "id": "eb24946f.4a1418",
+ "id": "79c1f05d.80009",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>",
"comments": "",
- "x": 2049.055923461914,
- "y": 343.0000343322754,
- "z": "cf6cf6b0.bb1328",
+ "x": 1942.7503814697266,
+ "y": 241.7500457763672,
+ "z": "da691f27.3219f",
"wires": []
},
{
- "id": "1e555148.2d405f",
+ "id": "748c3b31.9647a4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 469.05562591552734,
- "y": 498.00004959106445,
- "z": "cf6cf6b0.bb1328",
+ "x": 362.75008392333984,
+ "y": 396.75006103515625,
+ "z": "da691f27.3219f",
"wires": [
[
- "8d71a6f0.72c118"
+ "bda99f9f.492b4"
]
]
},
{
- "id": "8d71a6f0.72c118",
+ "id": "bda99f9f.492b4",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 627.0662384033203,
- "y": 551.0104274749756,
- "z": "cf6cf6b0.bb1328",
+ "x": 520.7606964111328,
+ "y": 449.7604389190674,
+ "z": "da691f27.3219f",
"wires": [
[
- "e96f98f4.acde48",
- "e2e6a4e2.0774d8",
- "3d31f07e.72eaf",
- "af4578e1.7541b8"
+ "55d75944.0ffeb8",
+ "29f7dca.fe73424",
+ "f4d2ce1c.ca64a",
+ "b23fb089.32b0d"
]
]
},
{
- "id": "e96f98f4.acde48",
+ "id": "55d75944.0ffeb8",
"type": "outcome",
"name": "reconfigure",
"xml": "<outcome value='reconfigure'>",
"comments": "",
"outputs": 1,
- "x": 844.1374549865723,
- "y": 410.5779619216919,
- "z": "cf6cf6b0.bb1328",
+ "x": 737.8319129943848,
+ "y": 309.3279733657837,
+ "z": "da691f27.3219f",
"wires": [
[
- "37ccc9.534a2338"
+ "712c2533.34035c"
]
]
},
{
- "id": "37ccc9.534a2338",
+ "id": "712c2533.34035c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 950.8772048950195,
- "y": 516.4286470413208,
- "z": "cf6cf6b0.bb1328",
+ "x": 844.571662902832,
+ "y": 415.1786584854126,
+ "z": "da691f27.3219f",
"wires": [
[
- "1037fed9.060b91"
+ "e2d984c8.afe3d8"
]
]
},
{
- "id": "731c9b35.165aa4",
+ "id": "1f8dd277.cdeaee",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1139.7222213745117,
- "y": 610.0000095367432,
- "z": "cf6cf6b0.bb1328",
+ "x": 1033.4166793823242,
+ "y": 508.75002098083496,
+ "z": "da691f27.3219f",
"wires": [
[
- "9dd7ad7.69d2b5",
- "802d2f45.cbb97",
- "cea48eef.d485d",
- "88a98036.31d9f"
+ "9181e66e.31e328",
+ "f8ebb84c.3d8648",
+ "555f8ecc.c976b",
+ "9a28fbb9.f123e8"
]
]
},
{
- "id": "e10f5b24.675b48",
+ "id": "f812552d.6f1818",
"type": "set",
"name": "Original set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.trackingArea' value='`$payloadJson.input.sliceProfile.coverageAreaList[0]`'/>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>\n<parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaList_length`'/>\n<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>\n<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>\n<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>\n<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>\n<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>\n<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>\n<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>\n<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>",
"comments": "",
- "x": 2439.0555419921875,
- "y": 350.9999885559082,
- "z": "cf6cf6b0.bb1328",
+ "x": 2332.75,
+ "y": 249.75,
+ "z": "da691f27.3219f",
"wires": []
},
{
- "id": "e2e6a4e2.0774d8",
+ "id": "29f7dca.fe73424",
"type": "outcome",
"name": "allocate",
"xml": "<outcome value='allocate'>",
"comments": "",
"outputs": 1,
- "x": 905.7222518920898,
- "y": 577.333345413208,
- "z": "cf6cf6b0.bb1328",
+ "x": 799.4167098999023,
+ "y": 476.0833568572998,
+ "z": "da691f27.3219f",
"wires": [
[
- "731c9b35.165aa4"
+ "1f8dd277.cdeaee"
]
]
},
{
- "id": "3d31f07e.72eaf",
+ "id": "f4d2ce1c.ca64a",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 895.4366073608398,
- "y": 622.8333873748779,
- "z": "cf6cf6b0.bb1328",
+ "x": 789.1310653686523,
+ "y": 521.5833988189697,
+ "z": "da691f27.3219f",
"wires": [
[
- "731c9b35.165aa4"
+ "1f8dd277.cdeaee"
]
]
},
{
- "id": "af4578e1.7541b8",
+ "id": "b23fb089.32b0d",
"type": "outcome",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 879.7937049865723,
- "y": 687.9761810302734,
- "z": "cf6cf6b0.bb1328",
+ "x": 773.4881629943848,
+ "y": 586.7261924743652,
+ "z": "da691f27.3219f",
"wires": [
[
- "731c9b35.165aa4"
+ "1f8dd277.cdeaee"
]
]
},
{
- "id": "88a98036.31d9f",
+ "id": "9a28fbb9.f123e8",
"type": "switchNode",
"name": "check PLMNId",
"xml": "<switch test='`$tmp.payload.pLMNId`'>",
"comments": "",
"outputs": 1,
- "x": 1382.8055419921875,
- "y": 590.7499885559082,
- "z": "cf6cf6b0.bb1328",
+ "x": 1276.5,
+ "y": 489.5,
+ "z": "da691f27.3219f",
"wires": [
[
- "271f245d.f4d05c",
- "531292ed.957f9c"
+ "cd4091b5.b0b0a",
+ "a9a165d2.c4f938"
]
]
},
{
- "id": "ac735917.92f0c8",
+ "id": "8dd6994b.f5b608",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1756.5556564331055,
- "y": 571.7499952316284,
- "z": "cf6cf6b0.bb1328",
+ "x": 1650.250114440918,
+ "y": 470.5000066757202,
+ "z": "da691f27.3219f",
"wires": [
[
- "a5c3d67d.ddc678",
- "1cb6911c.4db33f"
+ "f4c86a5d.3a9cb8",
+ "2359e549.badf4a"
]
]
},
{
- "id": "271f245d.f4d05c",
+ "id": "cd4091b5.b0b0a",
"type": "outcome",
"name": "not null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1577.5555419921875,
- "y": 580.7499885559082,
- "z": "cf6cf6b0.bb1328",
+ "x": 1471.25,
+ "y": 479.5,
+ "z": "da691f27.3219f",
"wires": [
[
- "19f708dc.db11e7"
+ "73fed02e.ca2d5"
]
]
},
{
- "id": "531292ed.957f9c",
+ "id": "a9a165d2.c4f938",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1571.3055419921875,
- "y": 630.7499885559082,
- "z": "cf6cf6b0.bb1328",
+ "x": 1465,
+ "y": 529.5,
+ "z": "da691f27.3219f",
"wires": [
[
- "ac735917.92f0c8"
+ "8dd6994b.f5b608"
]
]
},
{
- "id": "19f708dc.db11e7",
+ "id": "73fed02e.ca2d5",
"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=\"It is allocate-modify flow. PLMNId is null\"/>",
"comments": "",
"outputs": 1,
- "x": 1710.3055419921875,
- "y": 515.7499885559082,
- "z": "cf6cf6b0.bb1328",
+ "x": 1604,
+ "y": 414.5,
+ "z": "da691f27.3219f",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f4c86a5d.3a9cb8",
+ "type": "execute",
+ "name": "split pLMNId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.payload.pLMNId`\" />\n <parameter name=\"regex\" value=\"-\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1911.5226135253906,
+ "y": 353.0123100280762,
+ "z": "da691f27.3219f",
"wires": [
[]
]
+ },
+ {
+ "id": "2359e549.badf4a",
+ "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": 1941.9772033691406,
+ "y": 400.0577507019043,
+ "z": "da691f27.3219f",
+ "wires": []
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate.json
index 2073e5a2..e062f240 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate.json
@@ -1,36 +1,36 @@
[
{
- "id": "9f2c8848.941158",
+ "id": "8579c115.4234a",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceAllocate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 523.0555419921875,
- "y": 225.00002098083496,
- "z": "a2c243d0.ad36e",
+ "x": 546.75,
+ "y": 138.75,
+ "z": "54a98307.1c261c",
"wires": [
[
- "f1a8bdb1.4abd9"
+ "f014f5eb.e0d448"
]
]
},
{
- "id": "378a3415.92387c",
+ "id": "7af17c7c.b8c174",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 147.05553817749023,
- "y": 129.99999332427979,
- "z": "a2c243d0.ad36e",
+ "x": 170.74999618530273,
+ "y": 43.749972343444824,
+ "z": "54a98307.1c261c",
"wires": [
[
- "738151b6.dbf21"
+ "f38fff.f5a7"
]
]
},
{
- "id": "738151b6.dbf21",
+ "id": "f38fff.f5a7",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,6422 +38,6546 @@
"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": 280.0555114746094,
- "y": 227.00007438659668,
- "z": "a2c243d0.ad36e",
+ "x": 303.7499694824219,
+ "y": 140.75005340576172,
+ "z": "54a98307.1c261c",
"wires": [
[
- "9f2c8848.941158"
+ "8579c115.4234a"
]
]
},
{
- "id": "8e31db94.e70678",
+ "id": "afcc0bab.edbe48",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"N\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
"comments": "",
- "x": 324.4898452758789,
- "y": 2784.5286865234375,
- "z": "a2c243d0.ad36e",
+ "x": 348.1843032836914,
+ "y": 2698.2786655426025,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "dc521c43.e97f1",
+ "id": "f96ce2ac.acf5b",
"type": "comment",
"name": "instantiateRANSliceAllocate",
"info": "",
"comments": "",
- "x": 492.0555419921875,
- "y": 167.0103931427002,
- "z": "a2c243d0.ad36e",
+ "x": 515.75,
+ "y": 80.76037216186523,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "8e4a2db8.c53ca",
+ "id": "5a3cb019.dea83",
"type": "block",
"name": "Get NRT RIC Details",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1650.4999542236328,
- "y": 340.3541946411133,
- "z": "a2c243d0.ad36e",
+ "x": 1674.1944122314453,
+ "y": 254.10417366027832,
+ "z": "54a98307.1c261c",
"wires": [
[
- "9b0b0392.8b2b8",
- "e94237f8.1ce468",
- "20705ea5.523742"
+ "dbb914f1.f676d8",
+ "9b4e2435.fc3228",
+ "853da58c.102c78"
]
]
},
{
- "id": "9b0b0392.8b2b8",
+ "id": "dbb914f1.f676d8",
"type": "execute",
"name": "generate getNearRTRICsFromTrackingArea URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICsFromTrackingArea`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICsFromTrackingArea.url\"/>\n <parameter name=\"target\" value=\"{trackingArea}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.trackingArea`\"/>",
"comments": "",
"outputs": 1,
- "x": 2137.0555419921875,
- "y": 211.9097194671631,
- "z": "a2c243d0.ad36e",
+ "x": 2160.75,
+ "y": 125.65969848632812,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "e94237f8.1ce468",
+ "id": "9b4e2435.fc3228",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB Get NearRTRIC for tracking area\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICsFromTrackingArea.url`\" />\n<parameter name='field3' value=\"`$tmp.payload.trackingArea`\" />",
"comments": "",
"outputs": 1,
- "x": 2134.0556678771973,
- "y": 276.9096899032593,
- "z": "a2c243d0.ad36e",
+ "x": 2157.7501258850098,
+ "y": 190.65966892242432,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "20705ea5.523742",
+ "id": "853da58c.102c78",
"type": "execute",
"name": "Get nearRTRIC for TrackingArea",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICsFromTrackingArea.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getRIC-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": 2108.6114501953125,
- "y": 314.9097480773926,
- "z": "a2c243d0.ad36e",
+ "x": 2132.305908203125,
+ "y": 228.65972709655762,
+ "z": "54a98307.1c261c",
"wires": [
[
- "2a5ff5c7.b1901a",
- "791ce4e6.ed784c"
+ "5920a68f.4d2fa8",
+ "1ef1a386.baab8c"
]
]
},
{
- "id": "2a5ff5c7.b1901a",
+ "id": "5920a68f.4d2fa8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2334.055606842041,
- "y": 296.9097204208374,
- "z": "a2c243d0.ad36e",
+ "x": 2357.7500648498535,
+ "y": 210.65969944000244,
+ "z": "54a98307.1c261c",
"wires": [
[
- "f7497148.1d4a3"
+ "dfa24d31.07355"
]
]
},
{
- "id": "791ce4e6.ed784c",
+ "id": "1ef1a386.baab8c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2331.0555458068848,
- "y": 395.9096088409424,
- "z": "a2c243d0.ad36e",
+ "x": 2354.7500038146973,
+ "y": 309.6595878601074,
+ "z": "54a98307.1c261c",
"wires": [
[
- "482e118d.af585"
+ "c39d2805.d9af28"
]
]
},
{
- "id": "f7497148.1d4a3",
+ "id": "dfa24d31.07355",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2539.055648803711,
- "y": 245.909761428833,
- "z": "a2c243d0.ad36e",
+ "x": 2562.7501068115234,
+ "y": 159.65974044799805,
+ "z": "54a98307.1c261c",
"wires": [
[
- "ca91aeec.22916",
- "9147804f.28151",
- "43e9fff0.abfbe"
+ "a944456b.4d1898",
+ "16229315.4a72ed",
+ "f11b3f16.9273d"
]
]
},
{
- "id": "482e118d.af585",
+ "id": "c39d2805.d9af28",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2480.0553913116455,
- "y": 388.909743309021,
- "z": "a2c243d0.ad36e",
+ "x": 2503.749849319458,
+ "y": 302.65972232818604,
+ "z": "54a98307.1c261c",
"wires": [
[
- "7c8adbfc.edc104",
- "8d754ac1.e35a18"
+ "3556d2bf.e9be4e",
+ "aa24c712.f70938"
]
]
},
{
- "id": "ca91aeec.22916",
+ "id": "a944456b.4d1898",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2554.0552825927734,
- "y": 331.90972661972046,
- "z": "a2c243d0.ad36e",
+ "x": 2577.749740600586,
+ "y": 245.6597056388855,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "7c8adbfc.edc104",
+ "id": "3556d2bf.e9be4e",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getRIC-configdb-response._length`\"/>\n<parameter name=\"field3\" value=\"`$getRIC-configdb-response.[0].gNBCUCPList_length`\"/>\n<parameter name=\"field4\" value=\"`$getRIC-configdb-response.[0].gNBCUUPList_length`\"/>\n<parameter name=\"field5\" value=\"`$getRIC-configdb-response.[0].gNBDUList_length`\"/>",
"comments": "",
"outputs": 1,
- "x": 2610.055206298828,
- "y": 388.9097270965576,
- "z": "a2c243d0.ad36e",
+ "x": 2633.7496643066406,
+ "y": 302.65970611572266,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "9147804f.28151",
+ "id": "16229315.4a72ed",
"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": 2653.055347442627,
- "y": 171.02080154418945,
- "z": "a2c243d0.ad36e",
+ "x": 2676.7498054504395,
+ "y": 84.77078056335449,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "8d754ac1.e35a18",
+ "id": "aa24c712.f70938",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2597.8334312438965,
- "y": 442.90974044799805,
- "z": "a2c243d0.ad36e",
+ "x": 2621.527889251709,
+ "y": 356.6597194671631,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "a97a496a.e7a168",
+ "id": "d2de04dd.dd3fd8",
"type": "for",
"name": "For ConfigDB Entries",
"xml": "<for index='id1' start='0' end=\"`$getRIC-configdb-response._length`\" >",
"comments": "",
"outputs": 1,
- "x": 1289.0556297302246,
- "y": 2086.0106353759766,
- "z": "a2c243d0.ad36e",
+ "x": 1312.750087738037,
+ "y": 1999.7606143951416,
+ "z": "54a98307.1c261c",
"wires": [
[
- "804cd349.0738c",
- "f69f8374.0a2af",
- "f51ea9d3.27a0c8",
- "48f4b45b.ca20dc",
- "14cb63b.82fd69c",
- "1f9c65b6.02cd8a",
- "5246f2ec.b0b8ec",
- "2997ccc9.716304"
+ "d722875f.d9cf28",
+ "16d1c684.7d0dc9",
+ "b6ae4d3b.59923",
+ "f8b4fbaa.5894b8",
+ "566e22dd.13c89c",
+ "e8388f64.8136a",
+ "7e3d0d5a.f7ab04",
+ "c3110c8d.ffdca"
]
]
},
{
- "id": "804cd349.0738c",
+ "id": "d722875f.d9cf28",
"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=\"Config Payload Entry# \"/>\n<parameter name=\"field2\" value=\"`$id1`\"/>\n<parameter name=\"field3\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1663.055763244629,
- "y": 876.0106010437012,
- "z": "a2c243d0.ad36e",
+ "x": 1687.7503356933594,
+ "y": 811.7605838775635,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "f1a8bdb1.4abd9",
+ "id": "f014f5eb.e0d448",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 158.05551147460938,
- "y": 347.01039695739746,
- "z": "a2c243d0.ad36e",
+ "x": 181.74996948242188,
+ "y": 260.7603759765625,
+ "z": "54a98307.1c261c",
"wires": [
[
- "add03b35.2459c8",
- "3f7470f5.37976",
- "e89fecb2.b5374",
- "eedce730.f46188",
- "8e31db94.e70678"
+ "f060cdfa.0562e",
+ "3582eebd.3c7cf2",
+ "9bdae950.00c5d8",
+ "b9d834.9cd0f7d",
+ "afcc0bab.edbe48"
]
]
},
{
- "id": "bd377d99.e91fd",
+ "id": "a70cf700.ce1f28",
"type": "block",
"name": "Instantiate RAN Slice",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1075.9444122314453,
- "y": 540.2326898574829,
- "z": "a2c243d0.ad36e",
+ "x": 1099.6388702392578,
+ "y": 453.98266887664795,
+ "z": "54a98307.1c261c",
"wires": [
[
- "a97a496a.e7a168",
- "afcd8575.ce5a88",
- "946e6c1f.7bb9d",
- "adc8ef28.065cf"
+ "d2de04dd.dd3fd8",
+ "4f781aac.7f8e84",
+ "4254aab2.1c4e64",
+ "ca46da4d.de2da8",
+ "b072d63c.a49af8"
]
]
},
{
- "id": "f69f8374.0a2af",
+ "id": "16d1c684.7d0dc9",
"type": "block",
"name": "DU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1865.0555725097656,
- "y": 5829.010590791702,
- "z": "a2c243d0.ad36e",
+ "x": 1888.7500305175781,
+ "y": 5742.760569810867,
+ "z": "54a98307.1c261c",
"wires": [
[
- "3a8d0109.3fbb5e",
- "266ef43f.df385c",
- "62633efd.9f282",
- "906b2b3e.9bfdc8"
+ "742e8af5.352544",
+ "ea20f1d7.5c66c",
+ "a300129.723a1f",
+ "811fb733.b5ac38"
]
]
},
{
- "id": "3a7d24e4.71829c",
+ "id": "9e313260.3a853",
"type": "block",
"name": "Add RRM Policy Ratio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3528.0559616088867,
- "y": 7138.010457992554,
- "z": "a2c243d0.ad36e",
+ "x": 3551.750419616699,
+ "y": 7051.760437011719,
+ "z": "54a98307.1c261c",
"wires": [
[
- "6bfb6307.61516c",
- "6346c86c.4248e8",
- "f4770749.1fca58",
- "fbdb62d9.d9f15",
- "652fe306.4ff5ec",
- "48164215.075dfc",
- "5ac0fba4.e05764"
+ "a75167dd.86af68",
+ "b066725c.dc58b",
+ "70480520.440e4c",
+ "6dccf15c.57ff3",
+ "d1d44141.3e6b5",
+ "2915b7a8.17c348",
+ "269d37f1.59d8b8"
]
]
},
{
- "id": "119285bb.cef61a",
+ "id": "e65100dd.7d0fa",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3573.0562896728516,
- "y": 6466.010761260986,
- "z": "a2c243d0.ad36e",
+ "x": 3596.750747680664,
+ "y": 6379.760740280151,
+ "z": "54a98307.1c261c",
"wires": [
[
- "a132b516.18d0b8",
- "98de8e51.64ee7"
+ "e5d9673b.8cf9f8",
+ "e45ad5cf.c10cc8"
]
]
},
{
- "id": "a132b516.18d0b8",
+ "id": "e5d9673b.8cf9f8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3816.0563735961914,
- "y": 6470.010763168335,
- "z": "a2c243d0.ad36e",
+ "x": 3839.750831604004,
+ "y": 6383.7607421875,
+ "z": "54a98307.1c261c",
"wires": [
[
- "beda408d.16308"
+ "f416627.c5815a"
]
]
},
{
- "id": "98de8e51.64ee7",
+ "id": "e45ad5cf.c10cc8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3801.0563735961914,
- "y": 6544.010765075684,
- "z": "a2c243d0.ad36e",
+ "x": 3824.750831604004,
+ "y": 6457.760744094849,
+ "z": "54a98307.1c261c",
"wires": [
[
- "8f8b0e94.d7205"
+ "3a4d7617.64163a"
]
]
},
{
- "id": "266ef43f.df385c",
+ "id": "ea20f1d7.5c66c",
"type": "for",
"name": "For DUList Entries",
"xml": "<for index='id2' start='0' end='`$tmp.DUListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 1965.0559539794922,
- "y": 6143.010585784912,
- "z": "a2c243d0.ad36e",
+ "x": 1988.7504119873047,
+ "y": 6056.760564804077,
+ "z": "54a98307.1c261c",
"wires": [
[
- "43cf6d42.9d8564"
+ "ab32a37b.a7ea9"
]
]
},
{
- "id": "3a8d0109.3fbb5e",
+ "id": "742e8af5.352544",
"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=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUListEntries`\"/>",
"comments": "",
"outputs": 1,
- "x": 2158.0561294555664,
- "y": 5525.011372566223,
- "z": "a2c243d0.ad36e",
+ "x": 2181.750587463379,
+ "y": 5438.761351585388,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "62633efd.9f282",
+ "id": "a300129.723a1f",
"type": "execute",
"name": "set DU Level parms",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 2160.0558853149414,
- "y": 5459.012349128723,
- "z": "a2c243d0.ad36e",
+ "x": 2183.750343322754,
+ "y": 5372.762328147888,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "e686b37c.eabb1",
+ "id": "595a5c4f.3076d4",
"type": "execute",
"name": "cellDUListEntries",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 3938.055320739746,
- "y": 5964.01069521904,
- "z": "a2c243d0.ad36e",
+ "x": 3961.7497787475586,
+ "y": 5877.760674238205,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "ad3e4e54.09c4e",
+ "id": "8163d3a4.91eaf",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Numberof cellDU of Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDUListEntries`\"/>\n<parameter name=\"field3\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBDUName`\"/>\n<parameter name=\"field5\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field6\" value=\"`$tmp.gNBIdLength`\"/>\n<parameter name=\"field7\" value=\"`$tmp.nFType`\"/>\n<parameter name=\"field8\" value=\"`$tmp.pLMNId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3536.055637359619,
- "y": 6080.010585784912,
- "z": "a2c243d0.ad36e",
+ "x": 3559.7500953674316,
+ "y": 5993.760564804077,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "759bc67c.d0a178",
+ "id": "301163d1.20ee9c",
"type": "block",
"name": "cellDUList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3561.055633544922,
- "y": 6019.010584831238,
- "z": "a2c243d0.ad36e",
+ "x": 3584.7500915527344,
+ "y": 5932.760563850403,
+ "z": "54a98307.1c261c",
"wires": [
[
- "e686b37c.eabb1",
- "1d7d9b8c.938234",
- "c5d41b5a.9f1198",
- "24da8ff9.c1ec",
- "5a952f77.dd018",
- "8ab9fdea.620aa",
- "4bea8684.d6eb98"
+ "595a5c4f.3076d4",
+ "79545390.d4224c",
+ "3dcd1ae9.d24f06",
+ "8665b386.734bc",
+ "bb7b3201.ec12",
+ "de18429b.dbf06",
+ "62b5105e.53365"
]
]
},
{
- "id": "1d7d9b8c.938234",
+ "id": "79545390.d4224c",
"type": "execute",
"name": "cellDUListEntries-gNBDUId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBDUList.gNBDUId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBDUId'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3967.055461883545,
- "y": 6002.010413169861,
- "z": "a2c243d0.ad36e",
+ "x": 3990.7499198913574,
+ "y": 5915.760392189026,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "c5d41b5a.9f1198",
+ "id": "3dcd1ae9.d24f06",
"type": "execute",
"name": "cellDUListEntries-gNBDUName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBDUName' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBDUName'`\" />",
"comments": "",
"outputs": 1,
- "x": 3966.055477142334,
- "y": 6041.0104150772095,
- "z": "a2c243d0.ad36e",
+ "x": 3989.7499351501465,
+ "y": 5954.7603940963745,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "24da8ff9.c1ec",
+ "id": "8665b386.734bc",
"type": "execute",
"name": "cellDUListEntries-gNBId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3946.055450439453,
- "y": 6079.0104303359985,
- "z": "a2c243d0.ad36e",
+ "x": 3969.7499084472656,
+ "y": 5992.760409355164,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "5a952f77.dd018",
+ "id": "bb7b3201.ec12",
"type": "execute",
"name": "cellDUListEntries-gNBIdLength",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBIdLength' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBIdLength'`\" />",
"comments": "",
"outputs": 1,
- "x": 3961.0554580688477,
- "y": 6127.010159492493,
- "z": "a2c243d0.ad36e",
+ "x": 3984.74991607666,
+ "y": 6040.760138511658,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "8ab9fdea.620aa",
+ "id": "25e8ae32.c67972",
"type": "execute",
"name": "cellDUListEntries-pLMNId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].pLMNId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3932.0555381774902,
- "y": 6204.0104904174805,
- "z": "a2c243d0.ad36e",
+ "x": 4344.750106811523,
+ "y": 6155.760704994202,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "98fa4692.14fe28",
+ "id": "18a9ad0d.5c5343",
"type": "for",
"name": "For List of Cells",
"xml": "<for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 2389.046585083008,
- "y": 6116.01069688797,
- "z": "a2c243d0.ad36e",
+ "x": 2412.7410430908203,
+ "y": 6029.760675907135,
+ "z": "54a98307.1c261c",
"wires": [
[
- "cf3ce850.7dfe18"
+ "16752bb9.492594"
]
]
},
{
- "id": "86313b29.5ee168",
+ "id": "f3d8819d.3f5f8",
"type": "block",
"name": "pLMNInfoList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3708.04549407959,
- "y": 6239.0108189582825,
- "z": "a2c243d0.ad36e",
+ "x": 3731.7399520874023,
+ "y": 6152.7607979774475,
+ "z": "54a98307.1c261c",
"wires": [
[
- "cb239fac.06b7",
- "abd706df.6313c8"
+ "e6d0ee1b.5c9d2",
+ "56124703.56a8a8"
]
]
},
{
- "id": "cb239fac.06b7",
+ "id": "e6d0ee1b.5c9d2",
"type": "execute",
"name": "pLMNInfoListEntries",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 4029.045150756836,
- "y": 6265.010426938534,
- "z": "a2c243d0.ad36e",
+ "x": 4052.7396087646484,
+ "y": 6178.760405957699,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "bca09be3.a79318",
+ "id": "93b19d0d.e03ec",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Numberof pLMNInfoList Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoListEntries`\"/>\n<parameter name=\"field3\" value=\"cellLocalId for TA \"/>\n<parameter name=\"field4\" value=\"`$tmp.cellLocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3719.04549407959,
- "y": 6291.011184692383,
- "z": "a2c243d0.ad36e",
+ "x": 3742.7399520874023,
+ "y": 6204.761163711548,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "9c4d71d8.004f7",
+ "id": "b7e0d585.4b5728",
"type": "for",
"name": "For pLMNInfoListEntries",
"xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3777.0456314086914,
- "y": 6413.0114097595215,
- "z": "a2c243d0.ad36e",
+ "x": 3800.740089416504,
+ "y": 6326.7613887786865,
+ "z": "54a98307.1c261c",
"wires": [
[
- "2425af81.f447a"
+ "1864ec53.a76764"
]
]
},
{
- "id": "78e49ab0.99dd04",
+ "id": "86dbc745.8e5fc8",
"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=\"MCC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"MNC \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"Calculated uLThptPerSlice \"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Calculated dLThptPerSlice \"/>\n<parameter name=\"field8\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3488.0452194213867,
- "y": 6138.010587692261,
- "z": "a2c243d0.ad36e",
+ "x": 3511.739677429199,
+ "y": 6051.760566711426,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "2425af81.f447a",
+ "id": "1864ec53.a76764",
"type": "block",
"name": "pLMNInfoList Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4018.0453186035156,
- "y": 6407.0114097595215,
- "z": "a2c243d0.ad36e",
+ "x": 4041.739776611328,
+ "y": 6320.7613887786865,
+ "z": "54a98307.1c261c",
"wires": [
[
- "25e92ef3.2a8222",
- "314eb873.c256d8"
+ "4ffc51a3.366f8",
+ "61ea3cca.526d74"
]
]
},
{
- "id": "25e92ef3.2a8222",
+ "id": "4ffc51a3.366f8",
"type": "execute",
"name": "sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].pLMNInfoList[' + $id4 + '].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 4181.045074462891,
- "y": 6351.010757923126,
- "z": "a2c243d0.ad36e",
+ "x": 4204.739532470703,
+ "y": 6264.760736942291,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "2dde4058.f7a54",
+ "id": "4acc443b.5ed7dc",
"type": "comment",
"name": "Check if sNSSAI already exists in YANG tree",
"info": "This needs more work. If sNSSAI already exists in the YANG tree, need to patch the existing pLMNInfoList entry",
"comments": "",
- "x": 3819.04549407959,
- "y": 6365.011184692383,
- "z": "a2c243d0.ad36e",
+ "x": 3842.7399520874023,
+ "y": 6278.761163711548,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "314eb873.c256d8",
+ "id": "61ea3cca.526d74",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI from RAN to check if already exists \"/>\n<parameter name=\"field2\" value=\"`$tmp.fromRAN.sNSSAI`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4202.045078277588,
- "y": 6429.010761260986,
- "z": "a2c243d0.ad36e",
+ "x": 4225.7395362854,
+ "y": 6342.760740280151,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "f51ea9d3.27a0c8",
+ "id": "b6ae4d3b.59923",
"type": "execute",
"name": "nearRTRICId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].nearRTRICId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1630.0452346801758,
- "y": 698.010570526123,
- "z": "a2c243d0.ad36e",
+ "x": 1653.7396926879883,
+ "y": 611.7605495452881,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "abd706df.6313c8",
+ "id": "56124703.56a8a8",
"type": "execute",
"name": "cellLocalId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 4006.0453186035156,
- "y": 6329.010591506958,
- "z": "a2c243d0.ad36e",
+ "x": 4029.739776611328,
+ "y": 6242.760570526123,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "3de2dac7.18d226",
+ "id": "77499330.74891c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PLMNInfoList Entry Add to NRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3956.0570487976074,
- "y": 6913.344204902649,
- "z": "a2c243d0.ad36e",
+ "x": 3979.75150680542,
+ "y": 6827.094183921814,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "d6bfe081.3e2f3",
+ "id": "4d801f1e.5adeb",
"type": "block",
"name": "Add PLMNInfoList Entry",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3544.056282043457,
- "y": 6572.354514122009,
- "z": "a2c243d0.ad36e",
+ "x": 3567.7507400512695,
+ "y": 6486.104493141174,
+ "z": "54a98307.1c261c",
"wires": [
[
- "3de2dac7.18d226",
- "f857505c.260cf",
- "de92297.ba392d8",
- "62046ba3.0c9bd4",
- "6d454405.e3306c",
- "a0b6ed60.4ed39",
- "119285bb.cef61a",
- "e7e9d8.74642628",
- "8d944f2b.db7d2",
- "66f14c1e.e327f4"
+ "77499330.74891c",
+ "478ae4a4.0eafcc",
+ "37d88efe.ee77a2",
+ "1b628a48.db9b26",
+ "d83dede9.37c02",
+ "25a7783.0888e88",
+ "e65100dd.7d0fa",
+ "5ba1ede2.dc41e4",
+ "854b6672.9b3c78",
+ "ff5ac918.e30a48"
]
]
},
{
- "id": "e7e9d8.74642628",
+ "id": "5ba1ede2.dc41e4",
"type": "execute",
"name": "add PLMNInfoListEntry ToNRCellDU using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"PLMNInfoListEntry-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 4036.0563735961914,
- "y": 6992.354526519775,
- "z": "a2c243d0.ad36e",
+ "x": 4059.750831604004,
+ "y": 6906.10450553894,
+ "z": "54a98307.1c261c",
"wires": [
[
- "7d698f61.b7184",
- "58848b0b.5e8af4"
+ "5c4e610c.f6de4",
+ "1d0bf687.229229"
]
]
},
{
- "id": "f857505c.260cf",
+ "id": "478ae4a4.0eafcc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add PLMNInfoListEntry ToNRCellDU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 3954.0564975738525,
- "y": 6876.354947090149,
- "z": "a2c243d0.ad36e",
+ "x": 3977.750955581665,
+ "y": 6790.104926109314,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "beda408d.16308",
+ "id": "f416627.c5815a",
"type": "execute",
"name": "generate addPLMNInfoListEntry.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4087.056381225586,
- "y": 6472.010762691498,
- "z": "a2c243d0.ad36e",
+ "x": 4110.750839233398,
+ "y": 6385.760741710663,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "de92297.ba392d8",
+ "id": "37d88efe.ee77a2",
"type": "execute",
"name": "Populate idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3923.045967102051,
- "y": 6629.010766506195,
- "z": "a2c243d0.ad36e",
+ "x": 3946.7404251098633,
+ "y": 6542.76074552536,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "62046ba3.0c9bd4",
+ "id": "1b628a48.db9b26",
"type": "execute",
"name": "Populate idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3932.045967102051,
- "y": 6678.0107679367065,
- "z": "a2c243d0.ad36e",
+ "x": 3955.7404251098633,
+ "y": 6591.760746955872,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "6d454405.e3306c",
+ "id": "d83dede9.37c02",
"type": "execute",
"name": "Populate mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3933.045967102051,
- "y": 6728.010768890381,
- "z": "a2c243d0.ad36e",
+ "x": 3956.7404251098633,
+ "y": 6641.760747909546,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "a0b6ed60.4ed39",
+ "id": "25a7783.0888e88",
"type": "execute",
"name": "Populate mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3935.0460624694824,
- "y": 6771.010708808899,
- "z": "a2c243d0.ad36e",
+ "x": 3958.740520477295,
+ "y": 6684.760687828064,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "7d698f61.b7184",
+ "id": "5c4e610c.f6de4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4334.056114196777,
- "y": 6929.343784332275,
- "z": "a2c243d0.ad36e",
+ "x": 4357.75057220459,
+ "y": 6843.09376335144,
+ "z": "54a98307.1c261c",
"wires": [
[
- "fd6f3c73.00625"
+ "e0ce9b43.358a38"
]
]
},
{
- "id": "58848b0b.5e8af4",
+ "id": "1d0bf687.229229",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4373.056228637695,
- "y": 7013.343794584274,
- "z": "a2c243d0.ad36e",
+ "x": 4396.750686645508,
+ "y": 6927.093773603439,
+ "z": "54a98307.1c261c",
"wires": [
[
- "523db08.625b55"
+ "888524ea.f7eab8"
]
]
},
{
- "id": "fd6f3c73.00625",
+ "id": "e0ce9b43.358a38",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4596.056011199951,
- "y": 6814.343866109848,
- "z": "a2c243d0.ad36e",
+ "x": 4619.750469207764,
+ "y": 6728.093845129013,
+ "z": "54a98307.1c261c",
"wires": [
[
- "1beb23c8.3385fc",
- "43e9fff0.abfbe"
+ "f377df36.85315",
+ "f11b3f16.9273d"
]
]
},
{
- "id": "523db08.625b55",
+ "id": "888524ea.f7eab8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4555.055740356445,
- "y": 6968.343794584274,
- "z": "a2c243d0.ad36e",
+ "x": 4578.750198364258,
+ "y": 6882.093773603439,
+ "z": "54a98307.1c261c",
"wires": [
[
- "2396bc7b.9900f4"
+ "1a7d18c4.054097"
]
]
},
{
- "id": "1beb23c8.3385fc",
+ "id": "f377df36.85315",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding PLMNInfo List Entry to NRCellCUr\" />",
"comments": "",
- "x": 4761.056011199951,
- "y": 6897.344354391098,
- "z": "a2c243d0.ad36e",
+ "x": 4784.750469207764,
+ "y": 6811.094333410263,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "2396bc7b.9900f4",
+ "id": "1a7d18c4.054097",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add to NRCELLDU Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4722.055740356445,
- "y": 6979.344282865524,
- "z": "a2c243d0.ad36e",
+ "x": 4745.750198364258,
+ "y": 6893.094261884689,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "e62e85bc.bfddd8",
+ "id": "2b7f4785.c06a98",
"type": "execute",
"name": "generate addPLMNInfoListEntry.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4248.04573059082,
- "y": 6531.010764122009,
- "z": "a2c243d0.ad36e",
+ "x": 4271.740188598633,
+ "y": 6444.760743141174,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "8f8b0e94.d7205",
+ "id": "3a4d7617.64163a",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3965.045639038086,
- "y": 6533.010764598846,
- "z": "a2c243d0.ad36e",
+ "x": 3988.7400970458984,
+ "y": 6446.7607436180115,
+ "z": "54a98307.1c261c",
"wires": [
[
- "e62e85bc.bfddd8",
- "93f9fbf5.248e58"
+ "2b7f4785.c06a98",
+ "d9825391.8752d"
]
]
},
{
- "id": "93f9fbf5.248e58",
+ "id": "d9825391.8752d",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4212.04573059082,
- "y": 6588.010765075684,
- "z": "a2c243d0.ad36e",
+ "x": 4235.740188598633,
+ "y": 6501.760744094849,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "7b644ace.b1ff14",
+ "id": "904410e7.86455",
"type": "comment",
"name": "Connect to AddPLMNInfoList Entry",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3975.045639038086,
- "y": 6952.344107627869,
- "z": "a2c243d0.ad36e",
+ "x": 3998.7400970458984,
+ "y": 6866.094086647034,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "6bfb6307.61516c",
+ "id": "a75167dd.86af68",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3827.045379638672,
- "y": 7101.677299499512,
- "z": "a2c243d0.ad36e",
+ "x": 3850.7398376464844,
+ "y": 7015.427278518677,
+ "z": "54a98307.1c261c",
"wires": [
[
- "b07a3d42.19bf7",
- "f24be453.a36408"
+ "439562e9.bc877c",
+ "b920c4bc.104728"
]
]
},
{
- "id": "b07a3d42.19bf7",
+ "id": "439562e9.bc877c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4022.0454063415527,
- "y": 7061.677206993103,
- "z": "a2c243d0.ad36e",
+ "x": 4045.7398643493652,
+ "y": 6975.427186012268,
+ "z": "54a98307.1c261c",
"wires": [
[
- "33bbc7f3.ba4778"
+ "4ff4238d.83fb1c"
]
]
},
{
- "id": "f24be453.a36408",
+ "id": "b920c4bc.104728",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4002.045379638672,
- "y": 7140.677298545837,
- "z": "a2c243d0.ad36e",
+ "x": 4025.7398376464844,
+ "y": 7054.427277565002,
+ "z": "54a98307.1c261c",
"wires": [
[
- "361c17ce.abf778"
+ "67b3ce0.3d2b334"
]
]
},
{
- "id": "48164215.075dfc",
+ "id": "2915b7a8.17c348",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to NRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3979.0464820861816,
- "y": 7413.01144695282,
- "z": "a2c243d0.ad36e",
+ "x": 4002.740940093994,
+ "y": 7326.761425971985,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "afe3402b.cd936",
+ "id": "5849d191.a18b6",
"type": "execute",
"name": "add RRM Policy ToNRCellDU using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 4039.0454483032227,
- "y": 7652.020880460739,
- "z": "a2c243d0.ad36e",
+ "x": 4062.739906311035,
+ "y": 7565.770859479904,
+ "z": "54a98307.1c261c",
"wires": [
[
- "8ef6803f.74829"
+ "b77f1b5e.dad288"
]
]
},
{
- "id": "652fe306.4ff5ec",
+ "id": "d1d44141.3e6b5",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio ToNRCellDU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 3971.0455055236816,
- "y": 7372.02170085907,
- "z": "a2c243d0.ad36e",
+ "x": 3994.739963531494,
+ "y": 7285.771679878235,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "33bbc7f3.ba4778",
+ "id": "4ff4238d.83fb1c",
"type": "execute",
"name": "generate addRRMPolicy.ToNRCellDU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4308.045372009277,
- "y": 7059.677280426025,
- "z": "a2c243d0.ad36e",
+ "x": 4331.73983001709,
+ "y": 6973.42725944519,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "6346c86c.4248e8",
+ "id": "b066725c.dc58b",
"type": "execute",
"name": "Populate idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 4000.03515625,
- "y": 7194.677284240723,
- "z": "a2c243d0.ad36e",
+ "x": 4023.7296142578125,
+ "y": 7108.427263259888,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "f4770749.1fca58",
+ "id": "70480520.440e4c",
"type": "execute",
"name": "Populate idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3993.03515625,
- "y": 7248.677286148071,
- "z": "a2c243d0.ad36e",
+ "x": 4016.7296142578125,
+ "y": 7162.427265167236,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "fbdb62d9.d9f15",
+ "id": "6dccf15c.57ff3",
"type": "execute",
"name": "Populate id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatioID.NRCellDU`\"/>",
"comments": "",
"outputs": 1,
- "x": 3972.03515625,
- "y": 7285.67728805542,
- "z": "a2c243d0.ad36e",
+ "x": 3995.7296142578125,
+ "y": 7199.427267074585,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "6aac16ca.963d48",
+ "id": "75faced1.866dc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4375.045257568359,
- "y": 7399.010624885559,
- "z": "a2c243d0.ad36e",
+ "x": 4398.739715576172,
+ "y": 7312.760603904724,
+ "z": "54a98307.1c261c",
"wires": [
[
- "fc378230.de961"
+ "658f334e.af801c"
]
]
},
{
- "id": "8ef6803f.74829",
+ "id": "b77f1b5e.dad288",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4376.04532623291,
- "y": 7678.010382413864,
- "z": "a2c243d0.ad36e",
+ "x": 4399.739784240723,
+ "y": 7591.760361433029,
+ "z": "54a98307.1c261c",
"wires": [
[
- "d3ad0543.04cf18"
+ "d82f5415.e5fb68"
]
]
},
{
- "id": "fc378230.de961",
+ "id": "658f334e.af801c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4745.0452880859375,
- "y": 7347.010244369507,
- "z": "a2c243d0.ad36e",
+ "x": 4768.73974609375,
+ "y": 7260.760223388672,
+ "z": "54a98307.1c261c",
"wires": [
[
- "2692ca12.ea2266",
- "43e9fff0.abfbe"
+ "f0226e9b.148bd",
+ "f11b3f16.9273d"
]
]
},
{
- "id": "d3ad0543.04cf18",
+ "id": "d82f5415.e5fb68",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4556.045082092285,
- "y": 7675.010382413864,
- "z": "a2c243d0.ad36e",
+ "x": 4579.739540100098,
+ "y": 7588.760361433029,
+ "z": "54a98307.1c261c",
"wires": [
[
- "2406b9a3.4e1206"
+ "3e660c2d.97df24"
]
]
},
{
- "id": "2692ca12.ea2266",
+ "id": "f0226e9b.148bd",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding RRM Policy\" />",
"comments": "",
- "x": 4867.0452880859375,
- "y": 7402.010732650757,
- "z": "a2c243d0.ad36e",
+ "x": 4890.73974609375,
+ "y": 7315.760711669922,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "2406b9a3.4e1206",
+ "id": "3e660c2d.97df24",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio to NRCELLDU Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4705.045383453369,
- "y": 7701.010575056076,
- "z": "a2c243d0.ad36e",
+ "x": 4728.739841461182,
+ "y": 7614.760554075241,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "f4ebcfed.0a8e6",
+ "id": "57bcd734.99e878",
"type": "execute",
"name": "generate RRMPolicy Ratio URL ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4500.035087585449,
- "y": 7107.677590370178,
- "z": "a2c243d0.ad36e",
+ "x": 4523.729545593262,
+ "y": 7021.427569389343,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "361c17ce.abf778",
+ "id": "67b3ce0.3d2b334",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4195.03503036499,
- "y": 7135.677298545837,
- "z": "a2c243d0.ad36e",
+ "x": 4218.729488372803,
+ "y": 7049.427277565002,
+ "z": "54a98307.1c261c",
"wires": [
[
- "f4ebcfed.0a8e6",
- "96eddaa8.9dda18"
+ "57bcd734.99e878",
+ "a5e66b8.28ed098"
]
]
},
{
- "id": "96eddaa8.9dda18",
+ "id": "a5e66b8.28ed098",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4437.035064697266,
- "y": 7169.677237510681,
- "z": "a2c243d0.ad36e",
+ "x": 4460.729522705078,
+ "y": 7083.427216529846,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "9990c273.292dd",
+ "id": "12dab83e.ecedc8",
"type": "comment",
"name": "Connect to RRM P{olicy Ratio",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 4036.0354957580566,
- "y": 7446.011202812195,
- "z": "a2c243d0.ad36e",
+ "x": 4059.729953765869,
+ "y": 7359.76118183136,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "906b2b3e.9bfdc8",
+ "id": "811fb733.b5ac38",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2203.055824279785,
- "y": 5654.6893520355225,
- "z": "a2c243d0.ad36e",
+ "x": 2226.7502822875977,
+ "y": 5568.4393310546875,
+ "z": "54a98307.1c261c",
"wires": [
[
- "56fa84ae.1bb8fc",
- "2a1f5ef8.61f292",
- "1be107b7.bce408",
- "38b7246b.48c55c",
- "3f12b751.bbbcb8",
- "1235262c.0f386a",
- "92d34980.56c9d8",
- "d44c7ea9.8056d",
- "e2376f49.6ec05",
- "36523401.1c2b8c",
- "6ea5ef76.13161"
+ "3a8d83c.df3ba7c",
+ "cf06c6de.352398",
+ "83b9dcdb.92e4f",
+ "1d77c151.652b2f",
+ "ac8e30b7.1940f",
+ "60ae95a3.4dca8c",
+ "1e994da6.548422",
+ "4d95ba67.f72534",
+ "db956f11.57cd1",
+ "41a84fb0.0ffb8",
+ "fb9768c3.587378"
]
]
},
{
- "id": "4bea8684.d6eb98",
+ "id": "de18429b.dbf06",
"type": "execute",
"name": "cellDUListEntries-nFType",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nFType' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].nFType'`\" />",
"comments": "",
"outputs": 1,
- "x": 3935.0555114746094,
- "y": 6163.010407447815,
- "z": "a2c243d0.ad36e",
+ "x": 3958.749969482422,
+ "y": 6076.76038646698,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "33c455d1.57671a",
+ "id": "306d34df.a5704c",
"type": "set",
"name": "set rrmPolicyDedicatedRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='10' />",
"comments": "",
- "x": 3922.0555419921875,
- "y": 5868.131826400757,
- "z": "a2c243d0.ad36e",
+ "x": 3945.75,
+ "y": 5781.881805419922,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "33878898.1f4828",
+ "id": "2e349181.54ed4e",
"type": "set",
"name": "set rrmPolicyDedicatedRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='20' />",
"comments": "",
- "x": 3915.055465698242,
- "y": 5915.131793022156,
- "z": "a2c243d0.ad36e",
+ "x": 3938.7499237060547,
+ "y": 5828.881772041321,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "56fa84ae.1bb8fc",
+ "id": "3a8d83c.df3ba7c",
"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=\"rRMPolicyDedicatedRatio for CellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"tmp.nearRTRIC.trafficCapacity1 \"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.trafficCapacity1`\"/>\n<parameter name=\"field5\" value=\"tmp.nearRTRIC.trafficCapacity \"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.trafficCapacity`\"/>\n<parameter name=\"field7\" value=\"tmp.nearRTRIC.trafficCapacityBPS\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.trafficCapacityBPS`\"/>\n<parameter name=\"field9\" value=\"tmp.nrcelldu.totalPRBForSNSSAI \"/>\n<parameter name=\"field10\" value=\"`$tmp.nrcelldu.totalPRBForSNSSAI`\"/>\n<parameter name=\"field11\" value=\"tmp.nrcelldu.PRBPerImpactedCell \"/>\n<parameter name=\"field12\" value=\"`$tmp.nrcelldu.PRBPerImpactedCell`\"/>\n<parameter name=\"field13\" value=\"tmp.rRMPolicyDedicatedRatio.CellDU1 \"/>\n<parameter name=\"field14\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU1`\"/>",
"comments": "",
"outputs": 1,
- "x": 2336.0556411743164,
- "y": 5963.132954597473,
- "z": "a2c243d0.ad36e",
+ "x": 2359.750099182129,
+ "y": 5876.882933616638,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "48f4b45b.ca20dc",
+ "id": "f8b4fbaa.5894b8",
"type": "block",
"name": "CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1644.0450439453125,
- "y": 2058.3438625335693,
- "z": "a2c243d0.ad36e",
+ "x": 1667.739501953125,
+ "y": 1972.0938415527344,
+ "z": "54a98307.1c261c",
"wires": [
[
- "1b82612b.c6f9ff",
- "a8e7b986.8215a8",
- "710ecb85.658664",
- "d873f56a.9437a8"
+ "576c02a.878f2fc",
+ "efe45662.9d84e8",
+ "215f8d98.797d92",
+ "f1521378.c3122"
]
]
},
{
- "id": "44aa82b6.04d01c",
+ "id": "29dd5fa6.5825a",
"type": "block",
"name": "Add RRM Policy Ratio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3116.045223236084,
- "y": 3157.343894004822,
- "z": "a2c243d0.ad36e",
+ "x": 3139.7396812438965,
+ "y": 3071.093873023987,
+ "z": "54a98307.1c261c",
"wires": [
[
- "841120db.a414c",
- "5faf1669.7c78d8",
- "ffe68efb.6363e",
- "7f374dbf.7dd314",
- "b6394cd1.ba808",
- "fd77e0c6.85fc6",
- "23f69fb5.8200b",
- "46875c25.62c1e4"
+ "a87b26a4.a5d6c8",
+ "4b72fded.f78d94",
+ "29622591.b3bb8a",
+ "3b2c3cb3.3e7f54",
+ "17ad0555.182f1b",
+ "1a9f0cb1.fae443",
+ "a725b907.a76a88",
+ "2e69d89d.b17738"
]
]
},
{
- "id": "8c266301.64814",
+ "id": "f63b2e4e.af8ac",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3129.045223236084,
- "y": 2419.3441982269287,
- "z": "a2c243d0.ad36e",
+ "x": 3152.7396812438965,
+ "y": 2333.0941772460938,
+ "z": "54a98307.1c261c",
"wires": [
[
- "4de6530b.87c75c",
- "2614a1d0.83cdbe"
+ "20f691ff.00291e",
+ "fe541c51.353cf"
]
]
},
{
- "id": "4de6530b.87c75c",
+ "id": "20f691ff.00291e",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3319.0452041625977,
- "y": 2389.343981742859,
- "z": "a2c243d0.ad36e",
+ "x": 3342.73966217041,
+ "y": 2303.093960762024,
+ "z": "54a98307.1c261c",
"wires": [
[
- "279ed15.2ad372e"
+ "451c857b.0b58bc"
]
]
},
{
- "id": "2614a1d0.83cdbe",
+ "id": "fe541c51.353cf",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3299.045177459717,
- "y": 2468.3440732955933,
- "z": "a2c243d0.ad36e",
+ "x": 3322.7396354675293,
+ "y": 2382.0940523147583,
+ "z": "54a98307.1c261c",
"wires": [
[
- "9eb2d4d8.cf7e78"
+ "258bfa79.8b6d66"
]
]
},
{
- "id": "a8e7b986.8215a8",
+ "id": "efe45662.9d84e8",
"type": "for",
"name": "For CUCPList Entries",
"xml": "<for index='id2' start='0' end='`$tmp.CUCPListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 1914.045036315918,
- "y": 2053.343984603882,
- "z": "a2c243d0.ad36e",
+ "x": 1937.7394943237305,
+ "y": 1967.0939636230469,
+ "z": "54a98307.1c261c",
"wires": [
[
- "9ca80828.7a69b8",
- "5543c661.38a3c8",
- "43bfca68.bb3454",
- "5d5e00ae.0cb88",
- "682dfdf2.a09a94"
+ "b24e47a9.17d9a8",
+ "ddb08e51.37028",
+ "169d7550.b97c1b",
+ "70e796c1.a833a8",
+ "6766aaed.fd8c74"
]
]
},
{
- "id": "1b82612b.c6f9ff",
+ "id": "576c02a.878f2fc",
"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=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPListEntries`\"/>",
"comments": "",
"outputs": 1,
- "x": 1829.0451698303223,
- "y": 1961.3441200256348,
- "z": "a2c243d0.ad36e",
+ "x": 1852.7396278381348,
+ "y": 1875.0940990447998,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "710ecb85.658664",
+ "id": "215f8d98.797d92",
"type": "execute",
"name": "set CUCP Level parms",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1784.045166015625,
- "y": 1923.3436317443848,
- "z": "a2c243d0.ad36e",
+ "x": 1807.7396240234375,
+ "y": 1837.0936107635498,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "f9ad0f26.49749",
+ "id": "4774eac7.73f5d4",
"type": "execute",
"name": "cellCUList Entries",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].cellCUList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 2594.044822692871,
- "y": 1771.3442404270172,
- "z": "a2c243d0.ad36e",
+ "x": 2617.7392807006836,
+ "y": 1685.0942194461823,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "9ca80828.7a69b8",
+ "id": "b24e47a9.17d9a8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Numberof cellCU of Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellCUListEntries`\"/>\n<parameter name=\"field3\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBCUCPList.gNBId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.gNBCUCPList.gNBIdLengthh`\"/>\n<parameter name=\"field6\" value=\"`$tmp.gNBCUCPList.nFType`\"/>\n<parameter name=\"field7\" value=\"`$tmp.gNBCUCPList.pLMNId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2192.0453090667725,
- "y": 1977.3441038131714,
- "z": "a2c243d0.ad36e",
+ "x": 2215.739767074585,
+ "y": 1891.0940828323364,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "5543c661.38a3c8",
+ "id": "ddb08e51.37028",
"type": "block",
"name": "cellCUCPList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2261.0450439453125,
- "y": 1874.3439235687256,
- "z": "a2c243d0.ad36e",
+ "x": 2284.739501953125,
+ "y": 1788.0939025878906,
+ "z": "54a98307.1c261c",
"wires": [
[
- "f9ad0f26.49749",
- "6f26c34e.2bacfc",
- "91b35b58.1ad348",
- "3fa17b83.299864",
- "4fe1f3c4.97262c",
- "6787dd46.a4cdd4"
+ "4774eac7.73f5d4",
+ "923c29fb.f37368",
+ "ddb75924.99fb78",
+ "beed79e3.0d7018",
+ "f9858da.74fad7",
+ "725b0d66.f66014"
]
]
},
{
- "id": "6f26c34e.2bacfc",
+ "id": "923c29fb.f37368",
"type": "execute",
"name": "gNBCUCPList.gNBCUName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.gNBCUName' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].gNBCUName'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2623.0448608398438,
- "y": 1814.3438634872437,
- "z": "a2c243d0.ad36e",
+ "x": 2646.7393188476562,
+ "y": 1728.0938425064087,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "91b35b58.1ad348",
+ "id": "ddb75924.99fb78",
"type": "execute",
"name": "gNBCUCPList-gNBId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.gNBId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].gNBId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2638.0451622009277,
- "y": 1863.3439855575562,
- "z": "a2c243d0.ad36e",
+ "x": 2661.7396202087402,
+ "y": 1777.0939645767212,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "3fa17b83.299864",
+ "id": "beed79e3.0d7018",
"type": "execute",
"name": "gNBCUCPList-gNBIdLength",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.gNBIdLength' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].gNBIdLength'`\" />",
"comments": "",
"outputs": 1,
- "x": 2664.0450439453125,
- "y": 1912.3441066741943,
- "z": "a2c243d0.ad36e",
+ "x": 2687.739501953125,
+ "y": 1826.0940856933594,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "4fe1f3c4.97262c",
+ "id": "f9858da.74fad7",
"type": "execute",
"name": "gNBCUCPList-pLMNId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.pLMNId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].pLMNId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2677.0450439453125,
- "y": 2004.3439855575562,
- "z": "a2c243d0.ad36e",
+ "x": 2700.739501953125,
+ "y": 1918.0939645767212,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "43bfca68.bb3454",
+ "id": "169d7550.b97c1b",
"type": "for",
"name": "For List of Cells ",
"xml": "<for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 2337.0350341796875,
- "y": 2283.343984603882,
- "z": "a2c243d0.ad36e",
+ "x": 2360.7294921875,
+ "y": 2197.093963623047,
+ "z": "54a98307.1c261c",
"wires": [
[
- "6f40dd43.c32694",
- "cde223c2.7eeac"
+ "6f6a9c3c.1dd214",
+ "36b14789.c34c18"
]
]
},
{
- "id": "187d9e29.2ec5c2",
+ "id": "41050eb0.bf5a3",
"type": "block",
"name": "pLMNInfoList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3291.0347862243652,
- "y": 2148.3438930511475,
- "z": "a2c243d0.ad36e",
+ "x": 3314.7292442321777,
+ "y": 2062.0938720703125,
+ "z": "54a98307.1c261c",
"wires": [
[
- "ad74bbed.c00fc8"
+ "6c36da77.f0ddc4"
]
]
},
{
- "id": "ad74bbed.c00fc8",
+ "id": "6c36da77.f0ddc4",
"type": "execute",
"name": "pLMNInfoListEntries",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].cellCUList[' + $id3 + '].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 3556.0348014831543,
- "y": 2126.3438835144043,
- "z": "a2c243d0.ad36e",
+ "x": 3579.729259490967,
+ "y": 2040.0938625335693,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "1c9c9154.0f3fdf",
+ "id": "e466ad92.c678f",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Numberof pLMNInfoList Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoListEntries`\"/>\n<parameter name=\"field3\" value=\"cellLocalId from Relevant cells \"/>\n<parameter name=\"field4\" value=\"`$tmp.cellLocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3258.0348014831543,
- "y": 2206.3438835144043,
- "z": "a2c243d0.ad36e",
+ "x": 3281.729259490967,
+ "y": 2120.0938625335693,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "17779f4e.286261",
+ "id": "f40dbef8.c70c5",
"type": "for",
"name": "For pLMNInfoListEntries",
"xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3289.0348014831543,
- "y": 2304.3438835144043,
- "z": "a2c243d0.ad36e",
+ "x": 3312.729259490967,
+ "y": 2218.0938625335693,
+ "z": "54a98307.1c261c",
"wires": [
[
- "6b57e443.91655c"
+ "bd5494f3.cd8d08"
]
]
},
{
- "id": "5d5e00ae.0cb88",
+ "id": "70e796c1.a833a8",
"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=\"MCC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"MNC \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"Calculated uLThptPerSlice \"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Calculated dLThptPerSlice \"/>\n<parameter name=\"field8\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field9\" value=\"Calculated maxNumberOfConns \"/>\n<parameter name=\"field10\" value=\"`$tmp.maxNumberOfConns`\"/>",
"comments": "",
"outputs": 1,
- "x": 2191.034843444824,
- "y": 2018.3438596725464,
- "z": "a2c243d0.ad36e",
+ "x": 2214.7293014526367,
+ "y": 1932.0938386917114,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "6b57e443.91655c",
+ "id": "bd5494f3.cd8d08",
"type": "block",
"name": "pLMNInfoList Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3509.0348014831543,
- "y": 2300.3438835144043,
- "z": "a2c243d0.ad36e",
+ "x": 3532.729259490967,
+ "y": 2214.0938625335693,
+ "z": "54a98307.1c261c",
"wires": [
[
- "4c6feaf5.7fba14",
- "30d1533e.6dc58c"
+ "2afaab49.96e9c4",
+ "40da5baa.9d26a4"
]
]
},
{
- "id": "4c6feaf5.7fba14",
+ "id": "2afaab49.96e9c4",
"type": "execute",
"name": "sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $id3 + '].pLMNInfoList[' + $id4 + '].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 3683.034854888916,
- "y": 2256.3438835144043,
- "z": "a2c243d0.ad36e",
+ "x": 3706.7293128967285,
+ "y": 2170.0938625335693,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "e271a58a.b0ffb8",
+ "id": "becfba53.04cca8",
"type": "comment",
"name": "Check if sNSSAI already exists in YANG tree",
"info": "This needs more work. If sNSSAI already exists in the YANG tree, need to patch the existing pLMNInfoList entry",
"comments": "",
- "x": 3361.0348014831543,
- "y": 2255.3438835144043,
- "z": "a2c243d0.ad36e",
+ "x": 3384.729259490967,
+ "y": 2169.0938625335693,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "30d1533e.6dc58c",
+ "id": "40da5baa.9d26a4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI from RAN to check if already exists \"/>\n<parameter name=\"field2\" value=\"`$tmp.fromRAN.sNSSAI`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3686.0348014831543,
- "y": 2320.3438835144043,
- "z": "a2c243d0.ad36e",
+ "x": 3709.729259490967,
+ "y": 2234.0938625335693,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "99f93c97.194db",
+ "id": "5192235f.bde94c",
"type": "execute",
"name": "cellLocalId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].cellCUList[' + $id3 + '].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3533.0347938537598,
- "y": 2186.3438682556152,
- "z": "a2c243d0.ad36e",
+ "x": 3556.7292518615723,
+ "y": 2100.0938472747803,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "c1ec32d1.c6276",
+ "id": "4a50d8b6.e70108",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PLMNInfoList Entry Add to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3470.0460510253906,
- "y": 2759.6775789260864,
- "z": "a2c243d0.ad36e",
+ "x": 3493.740509033203,
+ "y": 2673.4275579452515,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "ab4851e7.0f9ee",
+ "id": "60c0bef6.a3d11",
"type": "block",
"name": "Add PLMNInfoList Entry",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3175.044895172119,
- "y": 2695.6879539489746,
- "z": "a2c243d0.ad36e",
+ "x": 3198.7393531799316,
+ "y": 2609.4379329681396,
+ "z": "54a98307.1c261c",
"wires": [
[
- "c1ec32d1.c6276",
- "beb3a47.42a9258",
- "802cbeb3.3d87",
- "2ecc44f3.d76d9c",
- "bfe1ee22.42a44",
- "b30eda44.936178",
- "8c266301.64814",
- "838435d2.bd42f8",
- "43439aa8.8be184"
+ "4a50d8b6.e70108",
+ "bc628332.2c7c",
+ "95dd06d9.b11b68",
+ "d363b407.715c08",
+ "80e7a98d.3188c8",
+ "297ffcf6.ce1134",
+ "f63b2e4e.af8ac",
+ "445640de.48115",
+ "855e02b5.654e5"
]
]
},
{
- "id": "838435d2.bd42f8",
+ "id": "445640de.48115",
"type": "execute",
"name": "add PLMNInfoListEntry ToNRCellCU using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"PLMNInfoListEntry-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3577.045585632324,
- "y": 2834.6879138946533,
- "z": "a2c243d0.ad36e",
+ "x": 3600.7400436401367,
+ "y": 2748.4378929138184,
+ "z": "54a98307.1c261c",
"wires": [
[
- "8fe41d06.867a5",
- "75fcc892.b62638"
+ "8936143.0e2e8e8",
+ "d4fe19ea.502b38"
]
]
},
{
- "id": "beb3a47.42a9258",
+ "id": "bc628332.2c7c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add PLMNInfoListEntry ToNRCellCU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 3464.0450134277344,
- "y": 2727.6881380081177,
- "z": "a2c243d0.ad36e",
+ "x": 3487.739471435547,
+ "y": 2641.4381170272827,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "279ed15.2ad372e",
+ "id": "451c857b.0b58bc",
"type": "execute",
"name": "generate addPLMNInfoListEntry.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3604.0451316833496,
- "y": 2389.3441314697266,
- "z": "a2c243d0.ad36e",
+ "x": 3627.739589691162,
+ "y": 2303.0941104888916,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "802cbeb3.3d87",
+ "id": "95dd06d9.b11b68",
"type": "execute",
"name": "Populate idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3486.034923553467,
- "y": 2525.3439536094666,
- "z": "a2c243d0.ad36e",
+ "x": 3509.7293815612793,
+ "y": 2439.0939326286316,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "2ecc44f3.d76d9c",
+ "id": "d363b407.715c08",
"type": "execute",
"name": "Populate idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3474.0349197387695,
- "y": 2571.344014644623,
- "z": "a2c243d0.ad36e",
+ "x": 3497.729377746582,
+ "y": 2485.093993663788,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "bfe1ee22.42a44",
+ "id": "80e7a98d.3188c8",
"type": "execute",
"name": "Populate mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3461.034921646118,
- "y": 2612.344076156616,
- "z": "a2c243d0.ad36e",
+ "x": 3484.7293796539307,
+ "y": 2526.0940551757812,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "b30eda44.936178",
+ "id": "297ffcf6.ce1134",
"type": "execute",
"name": "Populate mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3469.0349197387695,
- "y": 2653.3439540863037,
- "z": "a2c243d0.ad36e",
+ "x": 3492.729377746582,
+ "y": 2567.0939331054688,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "8fe41d06.867a5",
+ "id": "8936143.0e2e8e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3693.0452461242676,
- "y": 2632.6772565841675,
- "z": "a2c243d0.ad36e",
+ "x": 3716.73970413208,
+ "y": 2546.4272356033325,
+ "z": "54a98307.1c261c",
"wires": [
[
- "cd63ae6f.28aa2"
+ "4dbe8b24.597c84"
]
]
},
{
- "id": "75fcc892.b62638",
+ "id": "d4fe19ea.502b38",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3986.0452880859375,
- "y": 2854.677348136902,
- "z": "a2c243d0.ad36e",
+ "x": 4009.73974609375,
+ "y": 2768.427327156067,
+ "z": "54a98307.1c261c",
"wires": [
[
- "ab087827.837cc8"
+ "d6a9589f.fc6468"
]
]
},
{
- "id": "cd63ae6f.28aa2",
+ "id": "4dbe8b24.597c84",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3827.0452461242676,
- "y": 2639.67737865448,
- "z": "a2c243d0.ad36e",
+ "x": 3850.73970413208,
+ "y": 2553.427357673645,
+ "z": "54a98307.1c261c",
"wires": [
[
- "b401bba5.20bc28",
- "43e9fff0.abfbe"
+ "e776eef8.db6b",
+ "f11b3f16.9273d"
]
]
},
{
- "id": "ab087827.837cc8",
+ "id": "d6a9589f.fc6468",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4161.044967651367,
- "y": 2851.677348136902,
- "z": "a2c243d0.ad36e",
+ "x": 4184.73942565918,
+ "y": 2765.427327156067,
+ "z": "54a98307.1c261c",
"wires": [
[
- "d9442d8c.c27f1"
+ "aa7ee937.981018"
]
]
},
{
- "id": "b401bba5.20bc28",
+ "id": "e776eef8.db6b",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding PLMNInfoList Entry to NRCellCU\" />",
"comments": "",
- "x": 3973.044921875,
- "y": 2739.6774587631226,
- "z": "a2c243d0.ad36e",
+ "x": 3996.7393798828125,
+ "y": 2653.4274377822876,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "d9442d8c.c27f1",
+ "id": "aa7ee937.981018",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add to NRCELLCU Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4316.0456199646,
- "y": 2843.677673816681,
- "z": "a2c243d0.ad36e",
+ "x": 4339.740077972412,
+ "y": 2757.427652835846,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "d873f56a.9437a8",
+ "id": "f1521378.c3122",
"type": "set",
"name": "Calculate RRM Parms",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`' />\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />",
"comments": "",
- "x": 1899.034755706787,
- "y": 2008.3441219329834,
- "z": "a2c243d0.ad36e",
+ "x": 1922.7292137145996,
+ "y": 1922.0941009521484,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "2af64058.5839f",
+ "id": "e8819967.721b68",
"type": "execute",
"name": "generate addPLMNInfoListEntry.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3799.0348587036133,
- "y": 2433.344012260437,
- "z": "a2c243d0.ad36e",
+ "x": 3822.729316711426,
+ "y": 2347.093991279602,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "9eb2d4d8.cf7e78",
+ "id": "258bfa79.8b6d66",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3492.034828186035,
- "y": 2463.3440732955933,
- "z": "a2c243d0.ad36e",
+ "x": 3515.7292861938477,
+ "y": 2377.0940523147583,
+ "z": "54a98307.1c261c",
"wires": [
[
- "2af64058.5839f",
- "a0a0362a.295108"
+ "e8819967.721b68",
+ "c9196c08.5db9c"
]
]
},
{
- "id": "a0a0362a.295108",
+ "id": "c9196c08.5db9c",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3743.035259246826,
- "y": 2486.3442058563232,
- "z": "a2c243d0.ad36e",
+ "x": 3766.7297172546387,
+ "y": 2400.0941848754883,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "adc8ef28.065cf",
+ "id": "ca46da4d.de2da8",
"type": "block",
"name": "Get Cells List in TA",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1513.3684043884277,
- "y": 568.4552726745605,
- "z": "a2c243d0.ad36e",
+ "x": 1537.0628623962402,
+ "y": 482.2052516937256,
+ "z": "54a98307.1c261c",
"wires": [
[
- "8fb0f823.745438"
+ "e193df81.4bb3b"
]
]
},
{
- "id": "31f24c7a.033584",
+ "id": "bdaa897e.2cd2b8",
"type": "execute",
"name": "generate getListOfCells URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getListOfCells`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getListOfCells.url\"/>\n <parameter name=\"target\" value=\"{trackingArea}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.trackingArea`\"/>",
"comments": "",
"outputs": 1,
- "x": 2109.3683013916016,
- "y": 434.010799407959,
- "z": "a2c243d0.ad36e",
+ "x": 2133.062759399414,
+ "y": 347.760778427124,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "8282f63d.edb3e8",
+ "id": "c6b40762.ea2b08",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB Get getListOfCells for tracking area\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getListOfCells.url`\" />\n<parameter name='field3' value=\"`$tmp.payload.trackingArea`\" />",
"comments": "",
"outputs": 1,
- "x": 2108.8130645751953,
- "y": 483.7887592315674,
- "z": "a2c243d0.ad36e",
+ "x": 2132.507522583008,
+ "y": 397.5387382507324,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "e13282a4.a3907",
+ "id": "7f6d8a09.6705c4",
"type": "execute",
"name": "Get ListOfCells for TrackingArea",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getListOfCells.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getListofCells-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 2004.1461486816406,
- "y": 532.3442220687866,
- "z": "a2c243d0.ad36e",
+ "x": 2027.8406066894531,
+ "y": 446.09420108795166,
+ "z": "54a98307.1c261c",
"wires": [
[
- "c31db141.98cac",
- "a6323108.93f56"
+ "e83750a3.f4cb2",
+ "c5670ca4.b5d42"
]
]
},
{
- "id": "c31db141.98cac",
+ "id": "e83750a3.f4cb2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2320.0348224639893,
- "y": 503.0109806060791,
- "z": "a2c243d0.ad36e",
+ "x": 2343.7292804718018,
+ "y": 416.76095962524414,
+ "z": "54a98307.1c261c",
"wires": [
[
- "11882eea.3db001"
+ "2272901f.23427"
]
]
},
{
- "id": "a6323108.93f56",
+ "id": "c5670ca4.b5d42",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2230.146026611328,
- "y": 550.122091293335,
- "z": "a2c243d0.ad36e",
+ "x": 2253.8404846191406,
+ "y": 463.8720703125,
+ "z": "54a98307.1c261c",
"wires": [
[
- "a9f1003c.ec97"
+ "fc20b436.6e9558"
]
]
},
{
- "id": "11882eea.3db001",
+ "id": "2272901f.23427",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2495.034797668457,
- "y": 529.3442535400391,
- "z": "a2c243d0.ad36e",
+ "x": 2518.7292556762695,
+ "y": 443.0942325592041,
+ "z": "54a98307.1c261c",
"wires": [
[
- "b4c03a19.bdd178",
- "acb38315.12af",
- "43e9fff0.abfbe"
+ "53393b7.be7d7c4",
+ "bf33d06.c492a3",
+ "f11b3f16.9273d"
]
]
},
{
- "id": "a9f1003c.ec97",
+ "id": "fc20b436.6e9558",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2215.034553527832,
- "y": 660.3443374633789,
- "z": "a2c243d0.ad36e",
+ "x": 2238.7290115356445,
+ "y": 574.094316482544,
+ "z": "54a98307.1c261c",
"wires": [
[
- "922c1b1e.a832f8",
- "1224f25a.64c56e",
- "d2a1e3b1.98234"
+ "8c28a8ea.ebbf18",
+ "cb3c409a.03f0f",
+ "93cf6e64.cb4c5"
]
]
},
{
- "id": "b4c03a19.bdd178",
+ "id": "53393b7.be7d7c4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2431.034553527832,
- "y": 607.34423828125,
- "z": "a2c243d0.ad36e",
+ "x": 2454.7290115356445,
+ "y": 521.094217300415,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "922c1b1e.a832f8",
+ "id": "8c28a8ea.ebbf18",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained List of Cells from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getListofCells-configdb-response._length`\"/>\n<parameter name=\"field3\" value=\"List of Cells in the Tracking Area Relevant for RAN Slice Instantiation \"/>",
"comments": "",
"outputs": 1,
- "x": 2375.034523010254,
- "y": 655.3442459106445,
- "z": "a2c243d0.ad36e",
+ "x": 2398.7289810180664,
+ "y": 569.0942249298096,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "acb38315.12af",
+ "id": "bf33d06.c492a3",
"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": 2475.0348892211914,
- "y": 467.4552993774414,
- "z": "a2c243d0.ad36e",
+ "x": 2498.729347229004,
+ "y": 381.20527839660645,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "1224f25a.64c56e",
+ "id": "cb3c409a.03f0f",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2394.812843322754,
- "y": 799.3442764282227,
- "z": "a2c243d0.ad36e",
+ "x": 2418.5073013305664,
+ "y": 713.0942554473877,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "fba1b48a.719358",
+ "id": "316033e4.2cfc1c",
"type": "comment",
"name": "Connect to AddPLMNInfoList Entry",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3473.0346183776855,
- "y": 2793.6771717071533,
- "z": "a2c243d0.ad36e",
+ "x": 3496.729076385498,
+ "y": 2707.4271507263184,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "841120db.a414c",
+ "id": "a87b26a4.a5d6c8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3328.0346183776855,
- "y": 2951.010545730591,
- "z": "a2c243d0.ad36e",
+ "x": 3351.729076385498,
+ "y": 2864.760524749756,
+ "z": "54a98307.1c261c",
"wires": [
[
- "9ae5edcb.0fa6d",
- "4d3f835.49a0f7c"
+ "7c0803ca.aaac4c",
+ "3e1defd5.9f234"
]
]
},
{
- "id": "9ae5edcb.0fa6d",
+ "id": "7c0803ca.aaac4c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3523.0346450805664,
- "y": 2911.010453224182,
- "z": "a2c243d0.ad36e",
+ "x": 3546.729103088379,
+ "y": 2824.760432243347,
+ "z": "54a98307.1c261c",
"wires": [
[
- "ddf87c90.91d1f"
+ "aa7e2636.430618"
]
]
},
{
- "id": "4d3f835.49a0f7c",
+ "id": "3e1defd5.9f234",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3503.0346183776855,
- "y": 2990.0105447769165,
- "z": "a2c243d0.ad36e",
+ "x": 3526.729076385498,
+ "y": 2903.7605237960815,
+ "z": "54a98307.1c261c",
"wires": [
[
- "fe2dca65.c59b58"
+ "b7a227f3.c1e6c8"
]
]
},
{
- "id": "fd77e0c6.85fc6",
+ "id": "1a9f0cb1.fae443",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3475.0357398986816,
- "y": 3234.3444533348083,
- "z": "a2c243d0.ad36e",
+ "x": 3498.730197906494,
+ "y": 3148.0944323539734,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "23f69fb5.8200b",
+ "id": "a725b907.a76a88",
"type": "execute",
"name": "add RRM Policy ToNRCellCU using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3713.0346336364746,
- "y": 3287.3541412353516,
- "z": "a2c243d0.ad36e",
+ "x": 3736.729091644287,
+ "y": 3201.1041202545166,
+ "z": "54a98307.1c261c",
"wires": [
[
- "94ce8628.a93ba8",
- "5d64bd6d.dca184"
+ "38b54e56.be0762",
+ "1e9c583a.ebb9d8"
]
]
},
{
- "id": "b6394cd1.ba808",
+ "id": "17ad0555.182f1b",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio ToNRCellCU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 3481.034641265869,
- "y": 3200.3542795181274,
- "z": "a2c243d0.ad36e",
+ "x": 3504.7290992736816,
+ "y": 3114.1042585372925,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "ddf87c90.91d1f",
+ "id": "aa7e2636.430618",
"type": "execute",
"name": "generate addRRMPolicy.ToNRCellDU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3806.0346183776855,
- "y": 2906.010545015335,
- "z": "a2c243d0.ad36e",
+ "x": 3829.729076385498,
+ "y": 2819.7605240345,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "5faf1669.7c78d8",
+ "id": "4b72fded.f78d94",
"type": "execute",
"name": "Populate idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3519.0243797302246,
- "y": 3042.0106353759766,
- "z": "a2c243d0.ad36e",
+ "x": 3542.718837738037,
+ "y": 2955.7606143951416,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "ffe68efb.6363e",
+ "id": "29622591.b3bb8a",
"type": "execute",
"name": "Populate idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3500.0243797302246,
- "y": 3081.0103912353516,
- "z": "a2c243d0.ad36e",
+ "x": 3523.718837738037,
+ "y": 2994.7603702545166,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "7f374dbf.7dd314",
+ "id": "3b2c3cb3.3e7f54",
"type": "execute",
"name": "Populate id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatioID.NRCellCU`\"/>",
"comments": "",
"outputs": 1,
- "x": 3481.024387359619,
- "y": 3121.0107746124268,
- "z": "a2c243d0.ad36e",
+ "x": 3504.7188453674316,
+ "y": 3034.760753631592,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "94ce8628.a93ba8",
+ "id": "38b54e56.be0762",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3764.0347480773926,
- "y": 3095.3440046310425,
- "z": "a2c243d0.ad36e",
+ "x": 3787.729206085205,
+ "y": 3009.0939836502075,
+ "z": "54a98307.1c261c",
"wires": [
[
- "2ec06fcf.a5a02"
+ "200d240d.2835bc"
]
]
},
{
- "id": "5d64bd6d.dca184",
+ "id": "1e9c583a.ebb9d8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4001.0348777770996,
- "y": 3259.3438873291016,
- "z": "a2c243d0.ad36e",
+ "x": 4024.729335784912,
+ "y": 3173.0938663482666,
+ "z": "54a98307.1c261c",
"wires": [
[
- "c2fdcb62.ef4268"
+ "2cf11025.93f59"
]
]
},
{
- "id": "2ec06fcf.a5a02",
+ "id": "200d240d.2835bc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3912.0347480773926,
- "y": 3122.3440046310425,
- "z": "a2c243d0.ad36e",
+ "x": 3935.729206085205,
+ "y": 3036.0939836502075,
+ "z": "54a98307.1c261c",
"wires": [
[
- "75931b33.e80044",
- "43e9fff0.abfbe"
+ "848f9511.62bef8",
+ "f11b3f16.9273d"
]
]
},
{
- "id": "c2fdcb62.ef4268",
+ "id": "2cf11025.93f59",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4165.03438949585,
- "y": 3264.3438873291016,
- "z": "a2c243d0.ad36e",
+ "x": 4188.728847503662,
+ "y": 3178.0938663482666,
+ "z": "54a98307.1c261c",
"wires": [
[
- "549b3fc8.96cd3"
+ "2e60bd0d.0e7782"
]
]
},
{
- "id": "75931b33.e80044",
+ "id": "848f9511.62bef8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding RRMPolicyr\" />",
"comments": "",
- "x": 4051.0345039367676,
- "y": 3194.3440046310425,
- "z": "a2c243d0.ad36e",
+ "x": 4074.72896194458,
+ "y": 3108.0939836502075,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "549b3fc8.96cd3",
+ "id": "2e60bd0d.0e7782",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio to NRCELLCU Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4265.0348777771,
- "y": 3189.3441314697266,
- "z": "a2c243d0.ad36e",
+ "x": 4288.729335784912,
+ "y": 3103.0941104888916,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "98577773.262ea8",
+ "id": "607e7995.c18b68",
"type": "execute",
"name": "generate RRMPolicy Ratio URL ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4002.0243339538574,
- "y": 2961.0105361938477,
- "z": "a2c243d0.ad36e",
+ "x": 4025.71879196167,
+ "y": 2874.7605152130127,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "fe2dca65.c59b58",
+ "id": "b7a227f3.c1e6c8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3696.024269104004,
- "y": 2985.0105447769165,
- "z": "a2c243d0.ad36e",
+ "x": 3719.7187271118164,
+ "y": 2898.7605237960815,
+ "z": "54a98307.1c261c",
"wires": [
[
- "98577773.262ea8",
- "bf08d5b3.25ae68"
+ "607e7995.c18b68",
+ "8b6f18b9.daeb18"
]
]
},
{
- "id": "bf08d5b3.25ae68",
+ "id": "8b6f18b9.daeb18",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3939.024341583252,
- "y": 3020.0105953216553,
- "z": "a2c243d0.ad36e",
+ "x": 3962.7187995910645,
+ "y": 2933.7605743408203,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "7b894075.dd74f",
+ "id": "4a0028ee.501398",
"type": "comment",
"name": "Connect to RRM P{olicy Ratio",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3684.0241355895996,
- "y": 3232.3436431884766,
- "z": "a2c243d0.ad36e",
+ "x": 3707.718593597412,
+ "y": 3146.0936222076416,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "6787dd46.a4cdd4",
+ "id": "725b0d66.f66014",
"type": "execute",
"name": "gNBCUCPList-nFType",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.nFType' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].nFType'`\" />",
"comments": "",
"outputs": 1,
- "x": 2667.0450401306152,
- "y": 1955.3440465927124,
- "z": "a2c243d0.ad36e",
+ "x": 2690.7394981384277,
+ "y": 1869.0940256118774,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "14cb63b.82fd69c",
+ "id": "566e22dd.13c89c",
"type": "block",
"name": "CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1922.076259613037,
- "y": 3643.0887603759766,
- "z": "a2c243d0.ad36e",
+ "x": 1945.7707176208496,
+ "y": 3556.8387393951416,
+ "z": "54a98307.1c261c",
"wires": [
[
- "3bc10e8d.2d6b92",
- "38d6cdc8.613fd2",
- "d1c68da5.d0d84",
- "ecb96ca1.a1de1"
+ "a38c946e.5ff988",
+ "e73a565c.bb8318",
+ "cc8f807e.2e89d",
+ "c010057d.0aae08"
]
]
},
{
- "id": "c357c74b.75e6d8",
+ "id": "b1c925f.48433d8",
"type": "block",
"name": "Add RRM Policy Ratio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3284.076545715332,
- "y": 5110.08908867836,
- "z": "a2c243d0.ad36e",
+ "x": 3307.7710037231445,
+ "y": 5023.839067697525,
+ "z": "54a98307.1c261c",
"wires": [
[
- "198dc3d1.29f44c",
- "8ba8507e.f7658",
- "bf7c7602.b73378",
- "8106a26d.a53f4",
- "40ab09b8.6833b8",
- "f73ed2db.56a39",
- "dde70b52.a80088"
+ "26dde150.fdd6ee",
+ "599254e8.0ff8cc",
+ "4660001a.1d428",
+ "396524a1.e862fc",
+ "226cc1a1.33ec4e",
+ "4b9935f9.b46bac",
+ "c71b4eec.95244"
]
]
},
{
- "id": "2e57c1d9.6b4b5e",
+ "id": "14863694.d4cb19",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3480.0762825012207,
- "y": 4355.089831352234,
- "z": "a2c243d0.ad36e",
+ "x": 3503.770740509033,
+ "y": 4268.839810371399,
+ "z": "54a98307.1c261c",
"wires": [
[
- "9e38c0e6.d3293",
- "45236beb.534214"
+ "ed056be5.527c58",
+ "246e07bc.b5de58"
]
]
},
{
- "id": "9e38c0e6.d3293",
+ "id": "ed056be5.527c58",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3721.0762825012207,
- "y": 4287.089831829071,
- "z": "a2c243d0.ad36e",
+ "x": 3744.770740509033,
+ "y": 4200.839810848236,
+ "z": "54a98307.1c261c",
"wires": [
[
- "81fc2f10.f969e"
+ "adcdf20a.645d1"
]
]
},
{
- "id": "45236beb.534214",
+ "id": "246e07bc.b5de58",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3702.076404571533,
- "y": 4381.089709281921,
- "z": "a2c243d0.ad36e",
+ "x": 3725.7708625793457,
+ "y": 4294.839688301086,
+ "z": "54a98307.1c261c",
"wires": [
[
- "4133c2c0.2c06ec"
+ "8bf12329.3060a"
]
]
},
{
- "id": "38d6cdc8.613fd2",
+ "id": "e73a565c.bb8318",
"type": "for",
"name": "For List of CUUP's",
"xml": "<for index='id2' start='0' end='`$tmp.CUUPListEntries `' >",
"comments": "",
"outputs": 1,
- "x": 2568.0762939453125,
- "y": 3737.089590072632,
- "z": "a2c243d0.ad36e",
+ "x": 2591.770751953125,
+ "y": 3650.839569091797,
+ "z": "54a98307.1c261c",
"wires": [
[
- "6837b904.f86678",
- "5fc3cfcd.058b4",
- "bfeead35.1b76b",
- "adcfac1.b165d5",
- "f793ca09.91fd18",
- "c357c74b.75e6d8",
- "f3a2bcbf.8f26c",
- "a3e55510.78b598"
+ "4fef7442.88c04c",
+ "5e56a7bb.0dcd98",
+ "2243270a.d8ee78",
+ "4170c6a9.766218",
+ "fff5ccc7.34377",
+ "b1c925f.48433d8",
+ "c1b035a5.486b98",
+ "4374f72c.243e38"
]
]
},
{
- "id": "3bc10e8d.2d6b92",
+ "id": "a38c946e.5ff988",
"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=\"getListofCells-configdb-response. \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPListEntries`\"/>",
"comments": "",
"outputs": 1,
- "x": 2991.076145172119,
- "y": 3490.089062690735,
- "z": "a2c243d0.ad36e",
+ "x": 3014.7706031799316,
+ "y": 3403.8390417099,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "d1c68da5.d0d84",
+ "id": "cc8f807e.2e89d",
"type": "execute",
"name": "set CUUP Level parms",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 2994.0760498046875,
- "y": 3447.0891456604004,
- "z": "a2c243d0.ad36e",
+ "x": 3017.7705078125,
+ "y": 3360.8391246795654,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "6837b904.f86678",
+ "id": "4fef7442.88c04c",
"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=\"CUCP Details \"/>\n<parameter name=\"field2\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.gNBCUUPList.gNBId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBCUUPList.gNBIdLength`\"/>\n<parameter name=\"field5\" value=\"`$tmp.gNBCUUPList.pLMNInfoList_length`\"/>\n<parameter name=\"field6\" value=\"`$tmp.payload.pLMNId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3478.0760498046875,
- "y": 3903.0896339416504,
- "z": "a2c243d0.ad36e",
+ "x": 3501.7705078125,
+ "y": 3816.8396129608154,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "5fc3cfcd.058b4",
+ "id": "5e56a7bb.0dcd98",
"type": "block",
"name": "cellCUUPList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3444.076187133789,
- "y": 3832.0892646312714,
- "z": "a2c243d0.ad36e",
+ "x": 3467.7706451416016,
+ "y": 3745.8392436504364,
+ "z": "54a98307.1c261c",
"wires": [
[
- "ab3a7539.f0f5b8",
- "45dd1963.03d668",
- "2f5ff784.427978",
- "50fa0621.0df758"
+ "9504632.c9e9ba",
+ "f2e50f4b.d4a57",
+ "e7ce2a39.0e6f18",
+ "7bc968f5.ad1b38"
]
]
},
{
- "id": "ab3a7539.f0f5b8",
+ "id": "9504632.c9e9ba",
"type": "execute",
"name": "gNBCUUPList.gNBCUUPId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUUPList.gNBCUUPId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].gNBCUUPId'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3881.0762939453125,
- "y": 3751.089101791382,
- "z": "a2c243d0.ad36e",
+ "x": 3904.770751953125,
+ "y": 3664.839080810547,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "45dd1963.03d668",
+ "id": "f2e50f4b.d4a57",
"type": "execute",
"name": "gNBCUUPList-gNBId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUUPList.gNBId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].gNBId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3902.0763816833496,
- "y": 3846.0892486572266,
- "z": "a2c243d0.ad36e",
+ "x": 3925.770839691162,
+ "y": 3759.8392276763916,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "2f5ff784.427978",
+ "id": "e7ce2a39.0e6f18",
"type": "execute",
"name": "gNBCUUPList-gNBIdLength",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUUPList.gNBIdLength' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].gNBIdLength'`\" />",
"comments": "",
"outputs": 1,
- "x": 3920.0761489868164,
- "y": 3890.0891687870026,
- "z": "a2c243d0.ad36e",
+ "x": 3943.770606994629,
+ "y": 3803.8391478061676,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "adcfac1.b165d5",
+ "id": "4170c6a9.766218",
"type": "for",
"name": "For pLMNInfoListEntries",
"xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3483.0658988952637,
- "y": 4141.089259386063,
- "z": "a2c243d0.ad36e",
+ "x": 3506.760356903076,
+ "y": 4054.8392384052277,
+ "z": "54a98307.1c261c",
"wires": [
[
- "7bff1b9e.1e2e94"
+ "dd9d897d.7f1508"
]
]
},
{
- "id": "bfeead35.1b76b",
+ "id": "2243270a.d8ee78",
"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=\"MCC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"MNC \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"Calculated uLThptPerSlice \"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Calculated dLThptPerSlice \"/>\n<parameter name=\"field8\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3483.066020965576,
- "y": 3995.089136838913,
- "z": "a2c243d0.ad36e",
+ "x": 3506.7604789733887,
+ "y": 3908.839115858078,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "7bff1b9e.1e2e94",
+ "id": "dd9d897d.7f1508",
"type": "block",
"name": "pLMNInfoList Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3734.066074371338,
- "y": 4140.089210510254,
- "z": "a2c243d0.ad36e",
+ "x": 3757.7605323791504,
+ "y": 4053.839189529419,
+ "z": "54a98307.1c261c",
"wires": [
[
- "545ec444.ed32bc",
- "590b6cc9.214824"
+ "e6b10a32.f90628",
+ "48f98448.9883ec"
]
]
},
{
- "id": "545ec444.ed32bc",
+ "id": "e6b10a32.f90628",
"type": "execute",
"name": "sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].pLMNInfoList[' + $id3 + '].sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 3948.0660400390625,
- "y": 4091.0893325805664,
- "z": "a2c243d0.ad36e",
+ "x": 3971.760498046875,
+ "y": 4004.8393115997314,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "69689fc7.df7c3",
+ "id": "8db8056d.9b7f08",
"type": "comment",
"name": "Check if sNSSAI already exists in YANG tree",
"info": "This needs more work. If sNSSAI already exists in the YANG tree, need to patch the existing pLMNInfoList entry",
"comments": "",
- "x": 3551.066059112549,
- "y": 4196.089210510254,
- "z": "a2c243d0.ad36e",
+ "x": 3574.7605171203613,
+ "y": 4109.839189529419,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "590b6cc9.214824",
+ "id": "48f98448.9883ec",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI from RAN to check if already exists \"/>\n<parameter name=\"field2\" value=\"`$tmp.fromRAN.sNSSAI`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3952.0661010742188,
- "y": 4175.088844299316,
- "z": "a2c243d0.ad36e",
+ "x": 3975.7605590820312,
+ "y": 4088.8388233184814,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "aa5c1734.d59c18",
+ "id": "d4961023.db516",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PLMNInfoList Entry Add to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3829.077251434326,
- "y": 4730.422601699829,
- "z": "a2c243d0.ad36e",
+ "x": 3852.7717094421387,
+ "y": 4644.172580718994,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "f793ca09.91fd18",
+ "id": "fff5ccc7.34377",
"type": "block",
"name": "Add PLMNInfoList Entry",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3423.0760383605957,
- "y": 4540.4334506988525,
- "z": "a2c243d0.ad36e",
+ "x": 3446.770496368408,
+ "y": 4454.183429718018,
+ "z": "54a98307.1c261c",
"wires": [
[
- "aa5c1734.d59c18",
- "ce3e5ffc.d6572",
- "7fcea060.9a1ff",
- "3d52fd87.82c8e2",
- "61973046.b5029",
- "2e57c1d9.6b4b5e",
- "c7ffc734.9869d8",
- "24247669.aa7e8a",
- "2a97eefa.4b80d2"
+ "d4961023.db516",
+ "27d9bcaf.3ab524",
+ "b079c675.2b2218",
+ "1ca6f803.08de18",
+ "52207ffe.ac0f4",
+ "14863694.d4cb19",
+ "8f1d0f49.6e6f3",
+ "b541e97a.091298",
+ "f675c08c.37fb7"
]
]
},
{
- "id": "c7ffc734.9869d8",
+ "id": "8f1d0f49.6e6f3",
"type": "execute",
"name": "add PLMNInfoListEntry ToGNBCUUPFn using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-GNBCUUPFn.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"PLMNInfoListEntry-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3821.0763359069824,
- "y": 4789.43316078186,
- "z": "a2c243d0.ad36e",
+ "x": 3844.770793914795,
+ "y": 4703.183139801025,
+ "z": "54a98307.1c261c",
"wires": [
[
- "4511ea34.630124",
- "d388f9ee.48da98"
+ "519dd03e.e5435",
+ "91213125.a81d2"
]
]
},
{
- "id": "ce3e5ffc.d6572",
+ "id": "27d9bcaf.3ab524",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add PLMNInfoListEntry ToGNBCUUPFn URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 3831.07621383667,
- "y": 4682.43316078186,
- "z": "a2c243d0.ad36e",
+ "x": 3854.7706718444824,
+ "y": 4596.183139801025,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "81fc2f10.f969e",
+ "id": "adcdf20a.645d1",
"type": "execute",
"name": "generate addPLMNInfoListEntry.ToGNBCUUPFn",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToGNBCUUPFn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4033.0760917663574,
- "y": 4287.089468955994,
- "z": "a2c243d0.ad36e",
+ "x": 4056.77054977417,
+ "y": 4200.839447975159,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "7fcea060.9a1ff",
+ "id": "b079c675.2b2218",
"type": "execute",
"name": "Populate idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3883.0658378601074,
- "y": 4474.089391708374,
- "z": "a2c243d0.ad36e",
+ "x": 3906.76029586792,
+ "y": 4387.839370727539,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "3d52fd87.82c8e2",
+ "id": "1ca6f803.08de18",
"type": "execute",
"name": "Populate mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3849.0658378601074,
- "y": 4536.089393615723,
- "z": "a2c243d0.ad36e",
+ "x": 3872.76029586792,
+ "y": 4449.839372634888,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "61973046.b5029",
+ "id": "52207ffe.ac0f4",
"type": "execute",
"name": "Populate mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3846.0658378601074,
- "y": 4585.089395523071,
- "z": "a2c243d0.ad36e",
+ "x": 3869.76029586792,
+ "y": 4498.839374542236,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "4511ea34.630124",
+ "id": "519dd03e.e5435",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4082.076904296875,
- "y": 4566.422109603882,
- "z": "a2c243d0.ad36e",
+ "x": 4105.7713623046875,
+ "y": 4480.172088623047,
+ "z": "54a98307.1c261c",
"wires": [
[
- "c5f216a7.10a9e8"
+ "9fb290be.7c712"
]
]
},
{
- "id": "d388f9ee.48da98",
+ "id": "91213125.a81d2",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4123.0772705078125,
- "y": 4724.423208236694,
- "z": "a2c243d0.ad36e",
+ "x": 4146.771728515625,
+ "y": 4638.173187255859,
+ "z": "54a98307.1c261c",
"wires": [
[
- "23a9886c.832ec8"
+ "a50a0757.8e3938"
]
]
},
{
- "id": "c5f216a7.10a9e8",
+ "id": "9fb290be.7c712",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4296.0765380859375,
- "y": 4492.422842025757,
- "z": "a2c243d0.ad36e",
+ "x": 4319.77099609375,
+ "y": 4406.172821044922,
+ "z": "54a98307.1c261c",
"wires": [
[
- "8f6a84d2.d367e8",
- "43e9fff0.abfbe"
+ "ba535d02.1d5bd",
+ "f11b3f16.9273d"
]
]
},
{
- "id": "23a9886c.832ec8",
+ "id": "a50a0757.8e3938",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4137.07666015625,
- "y": 4787.423330307007,
- "z": "a2c243d0.ad36e",
+ "x": 4160.7711181640625,
+ "y": 4701.173309326172,
+ "z": "54a98307.1c261c",
"wires": [
[
- "60f03199.05e69"
+ "a1983d7d.e1391"
]
]
},
{
- "id": "8f6a84d2.d367e8",
+ "id": "ba535d02.1d5bd",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding PLMNInfoList Entry to GNBCUUPFn\" />",
"comments": "",
- "x": 4283.076171875,
- "y": 4621.422842025757,
- "z": "a2c243d0.ad36e",
+ "x": 4306.7706298828125,
+ "y": 4535.172821044922,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "60f03199.05e69",
+ "id": "a1983d7d.e1391",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4284.0770263671875,
- "y": 4775.423330307007,
- "z": "a2c243d0.ad36e",
+ "x": 4307.771484375,
+ "y": 4689.173309326172,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "7e756124.60d21",
+ "id": "be37394c.3a72b8",
"type": "execute",
"name": "generate addPLMNInfoListEntry ToGNBCUUPFn",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToGNBCUUPFn.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4228.065845489502,
- "y": 4350.089469909668,
- "z": "a2c243d0.ad36e",
+ "x": 4251.760303497314,
+ "y": 4263.839448928833,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "4133c2c0.2c06ec",
+ "id": "8bf12329.3060a",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3883.0656776428223,
- "y": 4382.089471817017,
- "z": "a2c243d0.ad36e",
+ "x": 3906.7601356506348,
+ "y": 4295.839450836182,
+ "z": "54a98307.1c261c",
"wires": [
[
- "7e756124.60d21",
- "85c37175.85d74"
+ "be37394c.3a72b8",
+ "f543076.150d6f8"
]
]
},
{
- "id": "85c37175.85d74",
+ "id": "f543076.150d6f8",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4147.066173553467,
- "y": 4414.089471817017,
- "z": "a2c243d0.ad36e",
+ "x": 4170.760631561279,
+ "y": 4327.839450836182,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "746f0b61.cb46d4",
+ "id": "819bcc0a.fb9e3",
"type": "comment",
"name": "Connect to AddPLMNInfoList Entry",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3575.065902709961,
- "y": 4687.422848701477,
- "z": "a2c243d0.ad36e",
+ "x": 3598.7603607177734,
+ "y": 4601.172827720642,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "198dc3d1.29f44c",
+ "id": "26dde150.fdd6ee",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3516.0657958984375,
- "y": 4937.755362272263,
- "z": "a2c243d0.ad36e",
+ "x": 3539.76025390625,
+ "y": 4851.505341291428,
+ "z": "54a98307.1c261c",
"wires": [
[
- "414c4c5a.1c17e4",
- "da336706.0b5688"
+ "67323981.815ca8",
+ "9575ada9.9f357"
]
]
},
{
- "id": "414c4c5a.1c17e4",
+ "id": "67323981.815ca8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3711.0658226013184,
- "y": 4897.755269765854,
- "z": "a2c243d0.ad36e",
+ "x": 3734.760280609131,
+ "y": 4811.505248785019,
+ "z": "54a98307.1c261c",
"wires": [
[
- "35ef2e88.78dae2"
+ "1343a0c4.6bce2f"
]
]
},
{
- "id": "da336706.0b5688",
+ "id": "9575ada9.9f357",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3691.0657958984375,
- "y": 4976.755361318588,
- "z": "a2c243d0.ad36e",
+ "x": 3714.76025390625,
+ "y": 4890.505340337753,
+ "z": "54a98307.1c261c",
"wires": [
[
- "6b2f3f0b.c4deb"
+ "d44cbc14.b24aa"
]
]
},
{
- "id": "40ab09b8.6833b8",
+ "id": "226cc1a1.33ec4e",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to GNBCUUPFn\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3670.0671730041504,
- "y": 5245.089053153992,
- "z": "a2c243d0.ad36e",
+ "x": 3693.761631011963,
+ "y": 5158.839032173157,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "f73ed2db.56a39",
+ "id": "4b9935f9.b46bac",
"type": "execute",
"name": "add RRM Policy ToGNBCUUPFn using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-GNBCUUPFn.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3732.066650390625,
- "y": 5308.099728822708,
- "z": "a2c243d0.ad36e",
+ "x": 3755.7611083984375,
+ "y": 5221.849707841873,
+ "z": "54a98307.1c261c",
"wires": [
[
- "e5202da4.0303",
- "36d118d9.e40bb8"
+ "2a64ca6c.02be26",
+ "bde6fba4.0628b8"
]
]
},
{
- "id": "8106a26d.a53f4",
+ "id": "396524a1.e862fc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio ToGNBCUUPFn URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 3670.0664405822754,
- "y": 5195.099368095398,
- "z": "a2c243d0.ad36e",
+ "x": 3693.760898590088,
+ "y": 5108.849347114563,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "35ef2e88.78dae2",
+ "id": "1343a0c4.6bce2f",
"type": "execute",
"name": "generate addRRMPolicy.ToNRCellDU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToGNBCUUPFn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3994.0657958984375,
- "y": 4892.755361557007,
- "z": "a2c243d0.ad36e",
+ "x": 4017.76025390625,
+ "y": 4806.505340576172,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "8ba8507e.f7658",
+ "id": "599254e8.0ff8cc",
"type": "execute",
"name": "Populate idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3710.0555114746094,
- "y": 5046.755777597427,
- "z": "a2c243d0.ad36e",
+ "x": 3733.749969482422,
+ "y": 4960.505756616592,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "bf7c7602.b73378",
+ "id": "4660001a.1d428",
"type": "execute",
"name": "Populate id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatioID.GNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 3664.0556716918945,
- "y": 5090.756100893021,
- "z": "a2c243d0.ad36e",
+ "x": 3687.750129699707,
+ "y": 5004.506079912186,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "e5202da4.0303",
+ "id": "2a64ca6c.02be26",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3991.0662002563477,
- "y": 5118.088698625565,
- "z": "a2c243d0.ad36e",
+ "x": 4014.76065826416,
+ "y": 5031.83867764473,
+ "z": "54a98307.1c261c",
"wires": [
[
- "1e1ea39c.c1df7c"
+ "b9277a5d.90d978"
]
]
},
{
- "id": "36d118d9.e40bb8",
+ "id": "bde6fba4.0628b8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4054.0661697387695,
- "y": 5305.089108705521,
- "z": "a2c243d0.ad36e",
+ "x": 4077.760627746582,
+ "y": 5218.839087724686,
+ "z": "54a98307.1c261c",
"wires": [
[
- "6f7ba28f.f89fac"
+ "a8920758.fe77c8"
]
]
},
{
- "id": "1e1ea39c.c1df7c",
+ "id": "b9277a5d.90d978",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4211.065956115723,
- "y": 5107.089186906815,
- "z": "a2c243d0.ad36e",
+ "x": 4234.760414123535,
+ "y": 5020.83916592598,
+ "z": "54a98307.1c261c",
"wires": [
[
- "65361029.411d1",
- "43e9fff0.abfbe"
+ "794b8cd2.84a6b4",
+ "f11b3f16.9273d"
]
]
},
{
- "id": "6f7ba28f.f89fac",
+ "id": "a8920758.fe77c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4216.065559387207,
- "y": 5289.089474916458,
- "z": "a2c243d0.ad36e",
+ "x": 4239.7600173950195,
+ "y": 5202.839453935623,
+ "z": "54a98307.1c261c",
"wires": [
[
- "d3bcb7b4.0e4398"
+ "3819b1d4.488b9e"
]
]
},
{
- "id": "65361029.411d1",
+ "id": "794b8cd2.84a6b4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding RRMPolicy\" />",
"comments": "",
- "x": 4220.0659255981445,
- "y": 5185.089474916458,
- "z": "a2c243d0.ad36e",
+ "x": 4243.760383605957,
+ "y": 5098.839453935623,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "d3bcb7b4.0e4398",
+ "id": "3819b1d4.488b9e",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4369.0661697387695,
- "y": 5271.090085268021,
- "z": "a2c243d0.ad36e",
+ "x": 4392.760627746582,
+ "y": 5184.840064287186,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "3d0bf917.c4fff6",
+ "id": "e616294e.a253a8",
"type": "execute",
"name": "generate RRMPolicy Ratio URL ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToGNBCUUPFn.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4108.055534362793,
- "y": 4943.755481481552,
- "z": "a2c243d0.ad36e",
+ "x": 4131.7499923706055,
+ "y": 4857.505460500717,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "6b2f3f0b.c4deb",
+ "id": "d44cbc14.b24aa",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3837.055519104004,
- "y": 4942.755481004715,
- "z": "a2c243d0.ad36e",
+ "x": 3860.7499771118164,
+ "y": 4856.50546002388,
+ "z": "54a98307.1c261c",
"wires": [
[
- "3d0bf917.c4fff6",
- "3e548cd1.a26ef4"
+ "e616294e.a253a8",
+ "3747f40b.03a89c"
]
]
},
{
- "id": "3e548cd1.a26ef4",
+ "id": "3747f40b.03a89c",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4061.0555267333984,
- "y": 5024.75580906868,
- "z": "a2c243d0.ad36e",
+ "x": 4084.749984741211,
+ "y": 4938.505788087845,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "822af5af.20ae88",
+ "id": "49329155.2a1ef",
"type": "comment",
"name": "Connect to RRM P{olicy Ratio",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3685.0557594299316,
- "y": 5273.088809013367,
- "z": "a2c243d0.ad36e",
+ "x": 3708.750217437744,
+ "y": 5186.838788032532,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "ecb96ca1.a1de1",
+ "id": "c010057d.0aae08",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2960.0766372680664,
- "y": 3591.7664308547974,
- "z": "a2c243d0.ad36e",
+ "x": 2983.771095275879,
+ "y": 3505.5164098739624,
+ "z": "54a98307.1c261c",
"wires": [
[
- "93ac429d.73aba",
- "a22f23c2.f41a3",
- "e3aee558.f47c68",
- "afd8bf3d.07b45",
- "a37bbb9c.2cb008",
- "4a387951.f6db68",
- "32229efd.5611c2"
+ "e17dd25a.d2dd8",
+ "5bb1f566.70cf0c",
+ "459c9f83.551d9",
+ "ab13fa24.13ecd8",
+ "44c1859c.81e89c",
+ "23bd5f13.8478b",
+ "9f5cd12d.485b5"
]
]
},
{
- "id": "a37bbb9c.2cb008",
+ "id": "44c1859c.81e89c",
"type": "set",
"name": "calculation rrm5",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rRMPolicyDedicatedRatio.CUUP1 / $prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
"comments": "",
- "x": 3218.077060699463,
- "y": 3702.5440187454224,
- "z": "a2c243d0.ad36e",
+ "x": 3241.7715187072754,
+ "y": 3616.2939977645874,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "e3aee558.f47c68",
+ "id": "459c9f83.551d9",
"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=\"rRMPolicyDedicatedRatio for CUUP \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field3\" value=\"tmp.TotalNumberOfDRBForNSSAI \"/>\n<parameter name=\"field4\" value=\"`$tmp.TotalNumberOfDRBForNSSAI`\"/>\n<parameter name=\"field5\" value=\"tmp.DRBPerCUUPForSNSSAI \"/>\n<parameter name=\"field6\" value=\"`$tmp.DRBPerCUUPForSNSSAI`\"/>\n<parameter name=\"field7\" value=\"tmp.rRMPolicyDedicatedRatio.CUUP1 \"/>\n<parameter name=\"field8\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP1`\"/>\n<parameter name=\"field9\" value=\"tmp.rRMPolicyDedicatedRatio.CUUP\"/>\n<parameter name=\"field10\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field11\" value=\"tmp.maxNumberOfConns\"/>\n<parameter name=\"field12\" value=\"`$tmp.maxNumberOfConns-CUUP`\"/>",
"comments": "",
"outputs": 1,
- "x": 3178.076820373535,
- "y": 3751.2111320495605,
- "z": "a2c243d0.ad36e",
+ "x": 3201.7712783813477,
+ "y": 3664.9611110687256,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "50fa0621.0df758",
+ "id": "7bc968f5.ad1b38",
"type": "execute",
"name": "gNBCUUPList-pLMNInfoList_length",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 3936.0761489868164,
- "y": 3931.0891745090485,
- "z": "a2c243d0.ad36e",
+ "x": 3959.770606994629,
+ "y": 3844.8391535282135,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "e395e6a1.9f22d8",
+ "id": "41b57b00.7f6ff4",
"type": "execute",
"name": "gNBCUUPList-pLMNId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].pLMNId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3942.2990760803223,
- "y": 4018.765111923218,
- "z": "a2c243d0.ad36e",
+ "x": 3965.9935340881348,
+ "y": 3932.515090942383,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "e98162b5.f4361",
+ "id": "e055c9b4.733758",
"type": "comment",
"name": "Assumption pLMNId in configDB resp",
"info": "Assumed that configDB responnse will include pLMNId...currently, it is not there",
"comments": "",
- "x": 3963.2989196777344,
- "y": 3976.7648298740387,
- "z": "a2c243d0.ad36e",
+ "x": 3986.993377685547,
+ "y": 3890.5148088932037,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "d2a1e3b1.98234",
+ "id": "93cf6e64.cb4c5",
"type": "for",
"name": "For list of cells",
"xml": "<for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 2414.0556411743164,
- "y": 724.0104751586914,
- "z": "a2c243d0.ad36e",
+ "x": 2437.750099182129,
+ "y": 637.7604541778564,
+ "z": "54a98307.1c261c",
"wires": [
[
- "d7341791.95e058",
- "cd2371ec.3ab72"
+ "761d8dc3.502054",
+ "4b1b6ef.519fe9"
]
]
},
{
- "id": "cd2371ec.3ab72",
+ "id": "4b1b6ef.519fe9",
"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=\"`$tmp.trackingarea.cell`\"/>",
"comments": "",
"outputs": 1,
- "x": 2587.055519104004,
- "y": 757.0104293823242,
- "z": "a2c243d0.ad36e",
+ "x": 2610.7499771118164,
+ "y": 670.7604084014893,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "d7341791.95e058",
+ "id": "761d8dc3.502054",
"type": "execute",
"name": "Cells in TrackingArea",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $ids + ']'`\" />",
"comments": "",
"outputs": 1,
- "x": 2593.05558013916,
- "y": 657.6770401000977,
- "z": "a2c243d0.ad36e",
+ "x": 2616.7500381469727,
+ "y": 571.4270191192627,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "6f40dd43.c32694",
+ "id": "6f6a9c3c.1dd214",
"type": "execute",
"name": "cellLocalID",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id3 + ']'`\" />",
"comments": "",
"outputs": 1,
- "x": 2621.0552978515625,
- "y": 2149.343984603882,
- "z": "a2c243d0.ad36e",
+ "x": 2644.749755859375,
+ "y": 2063.093963623047,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "eedce730.f46188",
+ "id": "b9d834.9cd0f7d",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 352.04947662353516,
- "y": 2560.7651081085205,
- "z": "a2c243d0.ad36e",
+ "x": 375.74393463134766,
+ "y": 2474.5150871276855,
+ "z": "54a98307.1c261c",
"wires": [
[
- "21b989ed.f1a2e6",
- "de984f8d.bc2a1",
- "39ecab71.a7b734",
- "a4d56b0e.208708"
+ "f75f0c80.536a1",
+ "33ce8ae7.70ccb6",
+ "b7c3ebb0.696cb8",
+ "616820a4.d45b2",
+ "2c323ebf.7788d2",
+ "529080e3.eae63"
]
]
},
{
- "id": "39ecab71.a7b734",
+ "id": "b7c3ebb0.696cb8",
"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=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
+ "xml": "<set>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
"comments": "",
- "x": 785.0506792068481,
- "y": 2496.6643266677856,
- "z": "a2c243d0.ad36e",
+ "x": 800.7451133728027,
+ "y": 2455.41431081295,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "21b989ed.f1a2e6",
+ "id": "f75f0c80.536a1",
"type": "record",
"name": "record SO reply parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$prop.restapi.so.user`\" />\n<parameter name='field8' value=\"`$prop.restapi.so.password`\" />\n<parameter name='field9' value=\"`$tmp.DUList.response_length`\" />\n<parameter name='field10' value=\"`$tmp.CUCPList.response`\" />\n<parameter name='field11' value=\"`$tmp.CUUPList.response`\" />\n<parameter name='field12' value=\"`$tmp.DUList.response`\" />",
"comments": "",
"outputs": 1,
- "x": 754.0494546890259,
- "y": 2634.764958381653,
- "z": "a2c243d0.ad36e",
+ "x": 768.7439079284668,
+ "y": 2588.5150188207626,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "de984f8d.bc2a1",
+ "id": "33ce8ae7.70ccb6",
"type": "execute",
"name": "Send to SO",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 623.0495538711548,
- "y": 2751.7646627426147,
- "z": "a2c243d0.ad36e",
+ "x": 646.7440118789673,
+ "y": 2665.51464176178,
+ "z": "54a98307.1c261c",
"wires": [
[
- "9e984ec3.d555b",
- "286164d1.9a2a0c"
+ "abb47f5.27a648",
+ "26337510.10fc9a"
]
]
},
{
- "id": "9e984ec3.d555b",
+ "id": "abb47f5.27a648",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 788.0495538711548,
- "y": 2731.7646617889404,
- "z": "a2c243d0.ad36e",
+ "x": 811.7440118789673,
+ "y": 2645.5146408081055,
+ "z": "54a98307.1c261c",
"wires": [
[
- "c4cb02b3.0c723"
+ "68fa35b3.6d340c"
]
]
},
{
- "id": "286164d1.9a2a0c",
+ "id": "26337510.10fc9a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 780.0494470596313,
- "y": 2804.764612197876,
- "z": "a2c243d0.ad36e",
+ "x": 803.7439050674438,
+ "y": 2718.514591217041,
+ "z": "54a98307.1c261c",
"wires": [
[
- "b5c2b606.c1cc08"
+ "97a20f76.bcb57"
]
]
},
{
- "id": "b5c2b606.c1cc08",
+ "id": "97a20f76.bcb57",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 926.0492906570435,
- "y": 2809.764720916748,
- "z": "a2c243d0.ad36e",
+ "x": 949.743748664856,
+ "y": 2723.514699935913,
+ "z": "54a98307.1c261c",
"wires": [
[
- "3903e2e2.71dede"
+ "47a8e625.fa0c48"
]
]
},
{
- "id": "c4cb02b3.0c723",
+ "id": "68fa35b3.6d340c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 937.0494546890259,
- "y": 2727.7647972106934,
- "z": "a2c243d0.ad36e",
+ "x": 960.7439126968384,
+ "y": 2641.5147762298584,
+ "z": "54a98307.1c261c",
"wires": [
[
- "8d1db5f8.9b5638",
- "a2c26d26.d596b"
+ "3df22386.16dbbc",
+ "11dba4bb.b755fb"
]
]
},
{
- "id": "8d1db5f8.9b5638",
+ "id": "3df22386.16dbbc",
"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": 1084.0490732192993,
- "y": 2738.7645387649536,
- "z": "a2c243d0.ad36e",
+ "x": 1107.7435312271118,
+ "y": 2652.5145177841187,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "3903e2e2.71dede",
+ "id": "47a8e625.fa0c48",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 1087.0492105484009,
- "y": 2815.7646131515503,
- "z": "a2c243d0.ad36e",
+ "x": 1110.7436685562134,
+ "y": 2729.5145921707153,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "43e9fff0.abfbe",
+ "id": "f11b3f16.9273d",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5662.545635223389,
- "y": 3425.010576248169,
- "z": "a2c243d0.ad36e",
+ "x": 5686.240093231201,
+ "y": 3338.760555267334,
+ "z": "54a98307.1c261c",
"wires": [
[
- "e11c6ea.e9bb39",
- "d763cd35.6041c",
- "7b7eb1f.6026e5"
+ "2d922d37.15cc92",
+ "ae2ecae5.a13e48",
+ "1139af25.f8d851"
]
]
},
{
- "id": "e11c6ea.e9bb39",
+ "id": "2d922d37.15cc92",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
"comments": "",
- "x": 5980.546611785889,
- "y": 3348.910234451294,
- "z": "a2c243d0.ad36e",
+ "x": 6004.241069793701,
+ "y": 3262.660213470459,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "d763cd35.6041c",
+ "id": "ae2ecae5.a13e48",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
"comments": "",
"outputs": 1,
- "x": 5955.545497894287,
- "y": 3446.0109119415283,
- "z": "a2c243d0.ad36e",
+ "x": 5979.2399559021,
+ "y": 3359.7608909606934,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "7b7eb1f.6026e5",
+ "id": "1139af25.f8d851",
"type": "execute",
"name": "Send to SO",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 5870.545509338379,
- "y": 3543.010789871216,
- "z": "a2c243d0.ad36e",
+ "x": 5894.239967346191,
+ "y": 3456.760768890381,
+ "z": "54a98307.1c261c",
"wires": [
[
- "a1809480.8bbfb8",
- "ad1e9a16.a64ed8"
+ "5c8f23c7.d3a3ec",
+ "eac0554f.033e68"
]
]
},
{
- "id": "a1809480.8bbfb8",
+ "id": "5c8f23c7.d3a3ec",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 6096.545517921448,
- "y": 3520.0107588768005,
- "z": "a2c243d0.ad36e",
+ "x": 6120.23997592926,
+ "y": 3433.7607378959656,
+ "z": "54a98307.1c261c",
"wires": [
[
- "830a0de8.dd31e"
+ "9f34ad6c.f35bd"
]
]
},
{
- "id": "ad1e9a16.a64ed8",
+ "id": "eac0554f.033e68",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 6086.545372009277,
- "y": 3628.0106983184814,
- "z": "a2c243d0.ad36e",
+ "x": 6110.23983001709,
+ "y": 3541.7606773376465,
+ "z": "54a98307.1c261c",
"wires": [
[
- "da24b1ad.9b4e"
+ "c3bda4ec.215548"
]
]
},
{
- "id": "da24b1ad.9b4e",
+ "id": "c3bda4ec.215548",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 6236.5451583862305,
- "y": 3647.0107593536377,
- "z": "a2c243d0.ad36e",
+ "x": 6260.239616394043,
+ "y": 3560.7607383728027,
+ "z": "54a98307.1c261c",
"wires": [
[
- "3bdbfa8c.d225f6"
+ "3b3f1f8b.364fe"
]
]
},
{
- "id": "830a0de8.dd31e",
+ "id": "9f34ad6c.f35bd",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 6247.545387268066,
- "y": 3515.010880947113,
- "z": "a2c243d0.ad36e",
+ "x": 6271.239845275879,
+ "y": 3428.760859966278,
+ "z": "54a98307.1c261c",
"wires": [
[
- "fed6c94f.f1dca8"
+ "61330a7c.132824"
]
]
},
{
- "id": "fed6c94f.f1dca8",
+ "id": "61330a7c.132824",
"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": 6413.545066833496,
- "y": 3518.0106983184814,
- "z": "a2c243d0.ad36e",
+ "x": 6437.239524841309,
+ "y": 3431.7606773376465,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "3bdbfa8c.d225f6",
+ "id": "3b3f1f8b.364fe",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 6400.5451736450195,
- "y": 3653.0106983184814,
- "z": "a2c243d0.ad36e",
+ "x": 6424.239631652832,
+ "y": 3566.7606773376465,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "1f9c65b6.02cd8a",
+ "id": "e8388f64.8136a",
"type": "block",
"name": "nearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1742.0454788208008,
- "y": 1002.3438568115234,
- "z": "a2c243d0.ad36e",
+ "x": 1765.7399368286133,
+ "y": 916.0938358306885,
+ "z": "54a98307.1c261c",
"wires": [
[
- "d75a0959.3ebb28",
- "a1727cbf.de1a7",
- "e3d2bb2c.121928",
- "911e2882.b267a8",
- "6109ce31.790db",
- "f4e14609.f8d008",
- "35994541.ad761a",
- "90eda30c.3bf6a"
+ "b7c7204.39b75e",
+ "ae41d1a4.0ebd8",
+ "a4aee803.818338",
+ "b9271318.08fc5",
+ "7b399054.3f93d",
+ "d7f2b22c.00ae4",
+ "f99edeaa.b1b62",
+ "44d9d024.fab18"
]
]
},
{
- "id": "5246f2ec.b0b8ec",
+ "id": "7e3d0d5a.f7ab04",
"type": "execute",
"name": "gNBId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1627.0452346801758,
- "y": 745.6771507263184,
- "z": "a2c243d0.ad36e",
+ "x": 1650.7396926879883,
+ "y": 659.4271297454834,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "2997ccc9.716304",
+ "id": "74e3e3c6.5771dc",
"type": "execute",
"name": "ranNFNSSIListEntry",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ranNFNSSIListEntry' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].ranNFNSSIList[0]'`\" />",
"comments": "",
"outputs": 1,
- "x": 1685.045265197754,
- "y": 804.6771202087402,
- "z": "a2c243d0.ad36e",
+ "x": 1716.7398376464844,
+ "y": 775.4271192550659,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "d75a0959.3ebb28",
+ "id": "b7c7204.39b75e",
"type": "set",
"name": "Calculate parms",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />",
"comments": "",
- "x": 2145.3786087036133,
- "y": 853.6771812438965,
- "z": "a2c243d0.ad36e",
+ "x": 2169.073066711426,
+ "y": 767.4271602630615,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "a1727cbf.de1a7",
+ "id": "ae41d1a4.0ebd8",
"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=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"Calculated dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"Calculated maxNumberOfConns for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC1.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>",
"comments": "",
"outputs": 1,
- "x": 2097.7119789123535,
- "y": 1010.3440761566162,
- "z": "a2c243d0.ad36e",
+ "x": 2121.406436920166,
+ "y": 924.0940551757812,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "e3d2bb2c.121928",
+ "id": "a4aee803.818338",
"type": "execute",
"name": "Update nearRT RIC Details in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updatenearRTRIC.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-nearRTRIC-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": 1831.7119369506836,
- "y": 1735.6771259307861,
- "z": "a2c243d0.ad36e",
+ "x": 1855.406394958496,
+ "y": 1649.4271049499512,
+ "z": "54a98307.1c261c",
"wires": [
[
- "c9a03d16.38179",
- "b734b73a.d51358"
+ "6f6eb8cb.9399a8",
+ "33ce33f0.e83f4c"
]
]
},
{
- "id": "c9a03d16.38179",
+ "id": "6f6eb8cb.9399a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2486.712547302246,
- "y": 1596.6773700714111,
- "z": "a2c243d0.ad36e",
+ "x": 2510.4070053100586,
+ "y": 1510.4273490905762,
+ "z": "54a98307.1c261c",
"wires": [
[
- "42b8ad65.a61524"
+ "7134d9df.4e46d8"
]
]
},
{
- "id": "b734b73a.d51358",
+ "id": "33ce33f0.e83f4c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2691.712547302246,
- "y": 1694.6772480010986,
- "z": "a2c243d0.ad36e",
+ "x": 2715.4070053100586,
+ "y": 1608.4272270202637,
+ "z": "54a98307.1c261c",
"wires": [
[
- "38d54e8d.4b2232"
+ "5cd33801.8a6788"
]
]
},
{
- "id": "38d54e8d.4b2232",
+ "id": "5cd33801.8a6788",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2844.712303161621,
- "y": 1683.6773700714111,
- "z": "a2c243d0.ad36e",
+ "x": 2868.4067611694336,
+ "y": 1597.4273490905762,
+ "z": "54a98307.1c261c",
"wires": [
[
- "ba025a6c.0dc5e8"
+ "23d29a9a.7b7b46"
]
]
},
{
- "id": "ba025a6c.0dc5e8",
+ "id": "23d29a9a.7b7b46",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NearRT RIC info in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 3008.712547302246,
- "y": 1687.6774921417236,
- "z": "a2c243d0.ad36e",
+ "x": 3032.4070053100586,
+ "y": 1601.4274711608887,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "4acee990.e8a978",
+ "id": "bdb9b185.b29f7",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2901.712303161621,
- "y": 1631.6773397922516,
- "z": "a2c243d0.ad36e",
+ "x": 2925.4067611694336,
+ "y": 1545.4273188114166,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "42b8ad65.a61524",
+ "id": "7134d9df.4e46d8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2848.712791442871,
- "y": 1530.6773700714111,
- "z": "a2c243d0.ad36e",
+ "x": 2872.4072494506836,
+ "y": 1444.4273490905762,
+ "z": "54a98307.1c261c",
"wires": [
[
- "4acee990.e8a978",
- "37e7b87f.ec0988",
- "43e9fff0.abfbe"
+ "bdb9b185.b29f7",
+ "d719c437.527a98",
+ "f11b3f16.9273d"
]
]
},
{
- "id": "37e7b87f.ec0988",
+ "id": "d719c437.527a98",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2972.712547302246,
- "y": 1489.788362711668,
- "z": "a2c243d0.ad36e",
+ "x": 2996.4070053100586,
+ "y": 1403.538341730833,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "3f006895.7f8de8",
+ "id": "298b3320.23706c",
"type": "execute",
"name": "Update cellCU for gNBCUCP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUCP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-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": 3102.0767936706543,
- "y": 3307.541813850403,
- "z": "a2c243d0.ad36e",
+ "x": 3125.771251678467,
+ "y": 3221.291792869568,
+ "z": "54a98307.1c261c",
"wires": [
[
- "fa2483e5.8c8a6",
- "aaf5ff26.6e498"
+ "637e833c.74981c",
+ "33c37494.e5d5dc"
]
]
},
{
- "id": "fa2483e5.8c8a6",
+ "id": "637e833c.74981c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3966.0763816833496,
- "y": 3347.5418853759766,
- "z": "a2c243d0.ad36e",
+ "x": 3989.770839691162,
+ "y": 3261.2918643951416,
+ "z": "54a98307.1c261c",
"wires": [
[
- "84aefe83.903fb"
+ "48a56205.59491c"
]
]
},
{
- "id": "84aefe83.903fb",
+ "id": "48a56205.59491c",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4194.076625823975,
- "y": 3339.5418853759766,
- "z": "a2c243d0.ad36e",
+ "x": 4217.771083831787,
+ "y": 3253.2918643951416,
+ "z": "54a98307.1c261c",
"wires": [
[
- "eb79817a.c3d98",
- "d280fd58.42fdb",
- "43e9fff0.abfbe"
+ "e0ed063.c7e40f8",
+ "77c154b8.bd7f9c",
+ "f11b3f16.9273d"
]
]
},
{
- "id": "d280fd58.42fdb",
+ "id": "77c154b8.bd7f9c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating configCUCP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4309.07638168335,
- "y": 3252.6527252197266,
- "z": "a2c243d0.ad36e",
+ "x": 4332.770839691162,
+ "y": 3166.4027042388916,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "eb79817a.c3d98",
+ "id": "e0ed063.c7e40f8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4377.07638168335,
- "y": 3359.5416412353516,
- "z": "a2c243d0.ad36e",
+ "x": 4400.770839691162,
+ "y": 3273.2916202545166,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "aaf5ff26.6e498",
+ "id": "33c37494.e5d5dc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3971.0763816833496,
- "y": 3395.5416412353516,
- "z": "a2c243d0.ad36e",
+ "x": 3994.770839691162,
+ "y": 3309.2916202545166,
+ "z": "54a98307.1c261c",
"wires": [
[
- "cf1d7b1d.532dd8"
+ "b4a666e.046e798"
]
]
},
{
- "id": "cf1d7b1d.532dd8",
+ "id": "b4a666e.046e798",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4136.07638168335,
- "y": 3394.5418853759766,
- "z": "a2c243d0.ad36e",
+ "x": 4159.770839691162,
+ "y": 3308.2918643951416,
+ "z": "54a98307.1c261c",
"wires": [
[
- "9661cda.13ee23"
+ "8420bd79.cf46c"
]
]
},
{
- "id": "9661cda.13ee23",
+ "id": "8420bd79.cf46c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated gNBCUCP info in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 4288.07638168335,
- "y": 3407.5418853759766,
- "z": "a2c243d0.ad36e",
+ "x": 4311.770839691162,
+ "y": 3321.2918643951416,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "ceda3611.738b98",
+ "id": "c05b849e.a1d4a8",
"type": "execute",
"name": "Update RRMPolicy for gNBCUCP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-rrmpolicy-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": 2563.0452880859375,
- "y": 3379.0102882385254,
- "z": "a2c243d0.ad36e",
+ "x": 2586.73974609375,
+ "y": 3292.7602672576904,
+ "z": "54a98307.1c261c",
"wires": [
[
- "5fb4c33d.d46bdc",
- "95e66b9.f586198"
+ "40f147c1.bb9f68",
+ "13e800e7.f0c57f"
]
]
},
{
- "id": "ea655e5b.c7c99",
+ "id": "41b47a0c.5d0f44",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4288.045528411865,
- "y": 3445.010606765747,
- "z": "a2c243d0.ad36e",
+ "x": 4311.739986419678,
+ "y": 3358.760585784912,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "e603ff85.93075",
+ "id": "ae0d9460.1646b8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4213.045307159424,
- "y": 3502.8997688293457,
- "z": "a2c243d0.ad36e",
+ "x": 4236.739765167236,
+ "y": 3416.6497478485107,
+ "z": "54a98307.1c261c",
"wires": [
[
- "f7523ff6.71de",
- "ea655e5b.c7c99",
- "43e9fff0.abfbe"
+ "ff340821.1beef8",
+ "41b47a0c.5d0f44",
+ "f11b3f16.9273d"
]
]
},
{
- "id": "f7523ff6.71de",
+ "id": "ff340821.1beef8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4380.045421600342,
- "y": 3536.899230003357,
- "z": "a2c243d0.ad36e",
+ "x": 4403.739879608154,
+ "y": 3450.649209022522,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "9d51eb18.62f608",
+ "id": "d30d3904.960e78",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated RRMPolicy CUCP info in ConfigDB\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />",
"comments": "",
"outputs": 1,
- "x": 3964.0453300476074,
- "y": 3570.899408340454,
- "z": "a2c243d0.ad36e",
+ "x": 3987.73978805542,
+ "y": 3484.649387359619,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "c870d545.1df838",
+ "id": "b3675f3f.0989",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3805.045913696289,
- "y": 3526.899987220764,
- "z": "a2c243d0.ad36e",
+ "x": 3828.7403717041016,
+ "y": 3440.649966239929,
+ "z": "54a98307.1c261c",
"wires": [
[
- "9d51eb18.62f608",
- "f3d74d4a.87b"
+ "d30d3904.960e78",
+ "53c47602.666cf8"
]
]
},
{
- "id": "95e66b9.f586198",
+ "id": "13e800e7.f0c57f",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3712.0455780029297,
- "y": 3458.898409843445,
- "z": "a2c243d0.ad36e",
+ "x": 3735.740036010742,
+ "y": 3372.64838886261,
+ "z": "54a98307.1c261c",
"wires": [
[
- "c870d545.1df838"
+ "b3675f3f.0989"
]
]
},
{
- "id": "5fb4c33d.d46bdc",
+ "id": "40f147c1.bb9f68",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3713.0455322265625,
- "y": 3412.8995490074158,
- "z": "a2c243d0.ad36e",
+ "x": 3736.739990234375,
+ "y": 3326.649528026581,
+ "z": "54a98307.1c261c",
"wires": [
[
- "e603ff85.93075"
+ "ae0d9460.1646b8"
]
]
},
{
- "id": "f3d74d4a.87b",
+ "id": "53c47602.666cf8",
"type": "set",
"name": "Increment RRMPolicyID",
"xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
"comments": "",
- "x": 4016.277744293213,
- "y": 3522.4650917053223,
- "z": "a2c243d0.ad36e",
+ "x": 4039.9722023010254,
+ "y": 3436.2150707244873,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "f3a2bcbf.8f26c",
+ "id": "c1b035a5.486b98",
"type": "execute",
"name": "Update gNBCUUP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-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": 3244.5767822265625,
- "y": 5341.541494369507,
- "z": "a2c243d0.ad36e",
+ "x": 3268.271240234375,
+ "y": 5255.291473388672,
+ "z": "54a98307.1c261c",
"wires": [
[
- "fb3dbdf6.955a4",
- "207b1452.a7a7bc"
+ "ec1272fc.e0de3",
+ "7ad406af.71da28"
]
]
},
{
- "id": "fb3dbdf6.955a4",
+ "id": "ec1272fc.e0de3",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3976.5765380859375,
- "y": 5435.541982650757,
- "z": "a2c243d0.ad36e",
+ "x": 4000.27099609375,
+ "y": 5349.291961669922,
+ "z": "54a98307.1c261c",
"wires": [
[
- "aab078e4.42c958"
+ "3d3d5b58.b98b94"
]
]
},
{
- "id": "207b1452.a7a7bc",
+ "id": "7ad406af.71da28",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4125.57638168335,
- "y": 5599.541641235352,
- "z": "a2c243d0.ad36e",
+ "x": 4149.270839691162,
+ "y": 5513.291620254517,
+ "z": "54a98307.1c261c",
"wires": [
[
- "9ae33420.b55878"
+ "1c1826b8.c69939"
]
]
},
{
- "id": "aab078e4.42c958",
+ "id": "3d3d5b58.b98b94",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4291.5765380859375,
- "y": 5439.541982650757,
- "z": "a2c243d0.ad36e",
+ "x": 4315.27099609375,
+ "y": 5353.291961669922,
+ "z": "54a98307.1c261c",
"wires": [
[
- "a6237649.57a2a8",
- "6a1d6fa9.97303",
- "43e9fff0.abfbe"
+ "847cb576.188c68",
+ "3b0174b.ca42c8c",
+ "f11b3f16.9273d"
]
]
},
{
- "id": "9ae33420.b55878",
+ "id": "1c1826b8.c69939",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4255.576343536377,
- "y": 5637.541639328003,
- "z": "a2c243d0.ad36e",
+ "x": 4279.270801544189,
+ "y": 5551.291618347168,
+ "z": "54a98307.1c261c",
"wires": [
[
- "18bee052.c2aa5"
+ "22aa0807.fc20d8"
]
]
},
{
- "id": "18bee052.c2aa5",
+ "id": "22aa0807.fc20d8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated gNBCUUP info in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 4380.576347351074,
- "y": 5607.541640281677,
- "z": "a2c243d0.ad36e",
+ "x": 4404.270805358887,
+ "y": 5521.291619300842,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "a6237649.57a2a8",
+ "id": "847cb576.188c68",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4377.5765380859375,
- "y": 5519.541494369507,
- "z": "a2c243d0.ad36e",
+ "x": 4401.27099609375,
+ "y": 5433.291473388672,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "6a1d6fa9.97303",
+ "id": "3b0174b.ca42c8c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating configCUUP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4302.5765380859375,
- "y": 5339.653310775757,
- "z": "a2c243d0.ad36e",
+ "x": 4326.27099609375,
+ "y": 5253.403289794922,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "af642ec7.053e1",
+ "id": "d57ee8a5.8e9408",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy CUUP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4376.546073913574,
- "y": 5655.01055431366,
- "z": "a2c243d0.ad36e",
+ "x": 4400.240531921387,
+ "y": 5568.760533332825,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "30126feb.a685b",
+ "id": "b28156c8.ed0388",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4319.545093536377,
- "y": 5717.899715423584,
- "z": "a2c243d0.ad36e",
+ "x": 4343.239551544189,
+ "y": 5631.649694442749,
+ "z": "54a98307.1c261c",
"wires": [
[
- "d83bb88e.c33068",
- "af642ec7.053e1",
- "43e9fff0.abfbe"
+ "835e83c9.bebe6",
+ "d57ee8a5.8e9408",
+ "f11b3f16.9273d"
]
]
},
{
- "id": "d83bb88e.c33068",
+ "id": "835e83c9.bebe6",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy CUUP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4440.545749664307,
- "y": 5781.899066925049,
- "z": "a2c243d0.ad36e",
+ "x": 4464.240207672119,
+ "y": 5695.649045944214,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "1236fff5.2c826",
+ "id": "36d8220e.d9075e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3866.5455780029297,
- "y": 5662.898409843445,
- "z": "a2c243d0.ad36e",
+ "x": 3890.240036010742,
+ "y": 5576.64838886261,
+ "z": "54a98307.1c261c",
"wires": [
[
- "4d93c90f.f04318"
+ "faf2dc9e.ed5c4"
]
]
},
{
- "id": "4d93c90f.f04318",
+ "id": "faf2dc9e.ed5c4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3836.5459785461426,
- "y": 5751.899717330933,
- "z": "a2c243d0.ad36e",
+ "x": 3860.240436553955,
+ "y": 5665.649696350098,
+ "z": "54a98307.1c261c",
"wires": [
[
- "edd71964.f62998",
- "c63c14cd.2aed58"
+ "116665bb.88939a",
+ "c7a12058.a4384"
]
]
},
{
- "id": "edd71964.f62998",
+ "id": "116665bb.88939a",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated RRMPolicy CUUP info in ConfigDB\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />",
"comments": "",
"outputs": 1,
- "x": 3992.54598236084,
- "y": 5786.899719238281,
- "z": "a2c243d0.ad36e",
+ "x": 4016.2404403686523,
+ "y": 5700.649698257446,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "c63c14cd.2aed58",
+ "id": "c7a12058.a4384",
"type": "set",
"name": "Increment RRMPolicyID",
"xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
"comments": "",
- "x": 4043.778408050537,
- "y": 5716.464819908142,
- "z": "a2c243d0.ad36e",
+ "x": 4067.4728660583496,
+ "y": 5630.214798927307,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "a3e55510.78b598",
+ "id": "4374f72c.243e38",
"type": "execute",
"name": "Update RRMPolicy for gNBCUCP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-rrmpolicy-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": 2946.5455322265625,
- "y": 5526.010244369507,
- "z": "a2c243d0.ad36e",
+ "x": 2970.239990234375,
+ "y": 5439.760223388672,
+ "z": "54a98307.1c261c",
"wires": [
[
- "1236fff5.2c826",
- "4c288654.97c208"
+ "36d8220e.d9075e",
+ "c573fc83.875f1"
]
]
},
{
- "id": "4c288654.97c208",
+ "id": "c573fc83.875f1",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3871.7118797302246,
- "y": 5599.343887329102,
- "z": "a2c243d0.ad36e",
+ "x": 3895.406337738037,
+ "y": 5513.093866348267,
+ "z": "54a98307.1c261c",
"wires": [
[
- "30126feb.a685b"
+ "b28156c8.ed0388"
]
]
},
{
- "id": "ea361c3.cee77e",
+ "id": "51fee1b0.a1538",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3007.380241394043,
- "y": 7260.681188106537,
- "z": "a2c243d0.ad36e",
+ "x": 3031.0746994018555,
+ "y": 7174.431167125702,
+ "z": "54a98307.1c261c",
"wires": [
[
- "c47caf0e.2a57",
- "9afa36a0.b04028",
- "2d36f6e8.33495a"
+ "e7a946d9.c80a38",
+ "84731624.7ed9b8",
+ "7e31703c.57f0a"
]
]
},
{
- "id": "c47caf0e.2a57",
+ "id": "e7a946d9.c80a38",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
"comments": "",
- "x": 3133.3808975219727,
- "y": 7157.579624176025,
- "z": "a2c243d0.ad36e",
+ "x": 3157.075355529785,
+ "y": 7071.32960319519,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "9afa36a0.b04028",
+ "id": "84731624.7ed9b8",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
"comments": "",
"outputs": 1,
- "x": 3295.3802490234375,
- "y": 7285.681188583374,
- "z": "a2c243d0.ad36e",
+ "x": 3319.07470703125,
+ "y": 7199.431167602539,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "2d36f6e8.33495a",
+ "id": "7e31703c.57f0a",
"type": "execute",
"name": "Send to SO",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 3114.3798484802246,
- "y": 7448.680581569672,
- "z": "a2c243d0.ad36e",
+ "x": 3138.074306488037,
+ "y": 7362.430560588837,
+ "z": "54a98307.1c261c",
"wires": [
[
- "c69c32e2.dab66",
- "a10f6695.aa9f78"
+ "f1378a16.f9ead8",
+ "bc4ee866.d45cf8"
]
]
},
{
- "id": "c69c32e2.dab66",
+ "id": "f1378a16.f9ead8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3224.3803367614746,
- "y": 7360.680337905884,
- "z": "a2c243d0.ad36e",
+ "x": 3248.074794769287,
+ "y": 7274.430316925049,
+ "z": "54a98307.1c261c",
"wires": [
[
- "390a3702.a2b0f8"
+ "55146897.794008"
]
]
},
{
- "id": "a10f6695.aa9f78",
+ "id": "bc4ee866.d45cf8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3166.380214691162,
- "y": 7534.680219173431,
- "z": "a2c243d0.ad36e",
+ "x": 3190.0746726989746,
+ "y": 7448.430198192596,
+ "z": "54a98307.1c261c",
"wires": [
[
- "18e8d0ff.de85ff"
+ "a23da5de.e784c8"
]
]
},
{
- "id": "18e8d0ff.de85ff",
+ "id": "a23da5de.e784c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3297.3802757263184,
- "y": 7489.681196451187,
- "z": "a2c243d0.ad36e",
+ "x": 3321.074733734131,
+ "y": 7403.431175470352,
+ "z": "54a98307.1c261c",
"wires": [
[
- "de926c9f.09fe3"
+ "76adc907.698628"
]
]
},
{
- "id": "390a3702.a2b0f8",
+ "id": "55146897.794008",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3333.3805198669434,
- "y": 7429.681070804596,
- "z": "a2c243d0.ad36e",
+ "x": 3357.074977874756,
+ "y": 7343.431049823761,
+ "z": "54a98307.1c261c",
"wires": [
[
- "a8ec5b12.746bc8"
+ "a0c9c2b0.201f"
]
]
},
{
- "id": "a8ec5b12.746bc8",
+ "id": "a0c9c2b0.201f",
"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": 3422.3796043395996,
- "y": 7361.681192398071,
- "z": "a2c243d0.ad36e",
+ "x": 3446.074062347412,
+ "y": 7275.431171417236,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "de926c9f.09fe3",
+ "id": "76adc907.698628",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 3330.380397796631,
- "y": 7571.680464267731,
- "z": "a2c243d0.ad36e",
+ "x": 3354.0748558044434,
+ "y": 7485.430443286896,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "7b7a7410.5e975c",
+ "id": "1dbc1598.932e0a",
"type": "execute",
"name": "Update gNBDU in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBDU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-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": 2399.3796997070312,
- "y": 7021.0138630867,
- "z": "a2c243d0.ad36e",
+ "x": 2423.0741577148438,
+ "y": 6934.7638421058655,
+ "z": "54a98307.1c261c",
"wires": [
[
- "af443bcb.1c9fb8",
- "223367ec.f850c8"
+ "107ac0f7.c5d90f",
+ "7f1136e6.30b988"
]
]
},
{
- "id": "af443bcb.1c9fb8",
+ "id": "107ac0f7.c5d90f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2564.3792572021484,
- "y": 7082.013213157654,
- "z": "a2c243d0.ad36e",
+ "x": 2588.073715209961,
+ "y": 6995.763192176819,
+ "z": "54a98307.1c261c",
"wires": [
[
- "f32b60fc.c5c97"
+ "b3ef05b9.5598f8"
]
]
},
{
- "id": "223367ec.f850c8",
+ "id": "7f1136e6.30b988",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2614.3797454833984,
- "y": 6994.013210058212,
- "z": "a2c243d0.ad36e",
+ "x": 2638.074203491211,
+ "y": 6907.763189077377,
+ "z": "54a98307.1c261c",
"wires": [
[
- "3f4313dd.77b5dc"
+ "4fc09707.2dc378"
]
]
},
{
- "id": "f32b60fc.c5c97",
+ "id": "b3ef05b9.5598f8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2804.378936767578,
- "y": 7050.014513492584,
- "z": "a2c243d0.ad36e",
+ "x": 2828.0733947753906,
+ "y": 6963.764492511749,
+ "z": "54a98307.1c261c",
"wires": [
[
- "8c43a78.034ad58",
- "c284812.ce66b8",
- "ea361c3.cee77e"
+ "ba1fa29d.e593",
+ "99020d30.8171",
+ "51fee1b0.a1538"
]
]
},
{
- "id": "3f4313dd.77b5dc",
+ "id": "4fc09707.2dc378",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2777.378936767578,
- "y": 6983.0132093429565,
- "z": "a2c243d0.ad36e",
+ "x": 2801.0733947753906,
+ "y": 6896.763188362122,
+ "z": "54a98307.1c261c",
"wires": [
[
- "c013781.c643f88"
+ "bb10968e.c3e3c8"
]
]
},
{
- "id": "c013781.c643f88",
+ "id": "bb10968e.c3e3c8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated DU info in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 2954.3789405822754,
- "y": 7001.010605812073,
- "z": "a2c243d0.ad36e",
+ "x": 2978.073398590088,
+ "y": 6914.760584831238,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "8c43a78.034ad58",
+ "id": "ba1fa29d.e593",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2748.3787689208984,
- "y": 7135.013214111328,
- "z": "a2c243d0.ad36e",
+ "x": 2772.073226928711,
+ "y": 7048.763193130493,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "c284812.ce66b8",
+ "id": "99020d30.8171",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating configCUUP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2969.3789443969727,
- "y": 7064.123888015747,
- "z": "a2c243d0.ad36e",
+ "x": 2993.073402404785,
+ "y": 6977.873867034912,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "f772fde7.45a8e",
+ "id": "3d18de3c.cda792",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy DU info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2768.3486614227295,
- "y": 7301.482131958008,
- "z": "a2c243d0.ad36e",
+ "x": 2792.043119430542,
+ "y": 7215.232110977173,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "e4d0443f.304868",
+ "id": "dbea4100.0599a",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2636.3476791381836,
- "y": 7356.36999130249,
- "z": "a2c243d0.ad36e",
+ "x": 2660.042137145996,
+ "y": 7270.119970321655,
+ "z": "54a98307.1c261c",
"wires": [
[
- "9639750b.a150f8",
- "f772fde7.45a8e",
- "ea361c3.cee77e"
+ "47ae6743.716728",
+ "3d18de3c.cda792",
+ "51fee1b0.a1538"
]
]
},
{
- "id": "9639750b.a150f8",
+ "id": "47ae6743.716728",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy DU info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2793.3484954833984,
- "y": 7404.370156288147,
- "z": "a2c243d0.ad36e",
+ "x": 2817.042953491211,
+ "y": 7318.120135307312,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "4cd76ed.442f99",
+ "id": "6041cdf8.ab0714",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2520.3483276367188,
- "y": 7144.368682861328,
- "z": "a2c243d0.ad36e",
+ "x": 2544.0427856445312,
+ "y": 7058.118661880493,
+ "z": "54a98307.1c261c",
"wires": [
[
- "e62138e9.c4c3a8"
+ "a129bb0d.eadaf8"
]
]
},
{
- "id": "e62138e9.c4c3a8",
+ "id": "a129bb0d.eadaf8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2608.348979949951,
- "y": 7247.369337081909,
- "z": "a2c243d0.ad36e",
+ "x": 2632.0434379577637,
+ "y": 7161.119316101074,
+ "z": "54a98307.1c261c",
"wires": [
[
- "f9a3c636.a64f28",
- "6cc38ae7.1633f4"
+ "6aae1d58.216854",
+ "54ce99e.9107468"
]
]
},
{
- "id": "f9a3c636.a64f28",
+ "id": "6aae1d58.216854",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated RRMPolicy DU info in ConfigDB\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />",
"comments": "",
"outputs": 1,
- "x": 2752.3493118286133,
- "y": 7247.370151519775,
- "z": "a2c243d0.ad36e",
+ "x": 2776.043769836426,
+ "y": 7161.12013053894,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "6cc38ae7.1633f4",
+ "id": "54ce99e.9107468",
"type": "set",
"name": "Increment RRMPolicyID",
"xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
"comments": "",
- "x": 2778.581081390381,
- "y": 7192.935091018677,
- "z": "a2c243d0.ad36e",
+ "x": 2802.2755393981934,
+ "y": 7106.685070037842,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "3e62eb56.c77764",
+ "id": "be7871a3.76ecc",
"type": "execute",
"name": " RRMPolicy gNBDU ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-DU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-DU-rrmpolicy-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": 2337.348434448242,
- "y": 7239.480665206909,
- "z": "a2c243d0.ad36e",
+ "x": 2361.0428924560547,
+ "y": 7153.230644226074,
+ "z": "54a98307.1c261c",
"wires": [
[
- "4cd76ed.442f99",
- "12a6b880.fd3a17"
+ "6041cdf8.ab0714",
+ "4cb5b1ef.b6331"
]
]
},
{
- "id": "12a6b880.fd3a17",
+ "id": "4cb5b1ef.b6331",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2477.5144653320312,
- "y": 7346.814002990723,
- "z": "a2c243d0.ad36e",
+ "x": 2501.2089233398438,
+ "y": 7260.563982009888,
+ "z": "54a98307.1c261c",
"wires": [
[
- "e4d0443f.304868"
+ "dbea4100.0599a"
]
]
},
{
- "id": "cde223c2.7eeac",
+ "id": "36b14789.c34c18",
"type": "for",
"name": "For cellCU List",
"xml": "<for index='idCell' start='0' end='`$tmp.cellCUListEntries `' >",
"comments": "",
"outputs": 1,
- "x": 2439.0452880859375,
- "y": 2444.010488510132,
- "z": "a2c243d0.ad36e",
+ "x": 2462.73974609375,
+ "y": 2357.760467529297,
+ "z": "54a98307.1c261c",
"wires": [
[
- "abb1f347.e4d5"
+ "32a551cc.6c701e"
]
]
},
{
- "id": "ec459266.1687d",
+ "id": "da7d7341.18f2e",
"type": "execute",
"name": "gNBCUCPList.gNBCUName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.cellLocalId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].cellCUList[' + $idCell + '].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2748.0452880859375,
- "y": 2248.010488510132,
- "z": "a2c243d0.ad36e",
+ "x": 2771.73974609375,
+ "y": 2161.760467529297,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "53bf40e4.de041",
+ "id": "cef58c44.a4a82",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$tmp.gNBCUCPList.cellLocalId == $tmp.cellLocalId`\"> \n",
"comments": "",
"outputs": 1,
- "x": 2687.0457763671875,
- "y": 2500.010488510132,
- "z": "a2c243d0.ad36e",
+ "x": 2710.740234375,
+ "y": 2413.760467529297,
+ "z": "54a98307.1c261c",
"wires": [
[
- "f9c7788c.822448"
+ "7b89eede.86ad6"
]
]
},
{
- "id": "f9c7788c.822448",
+ "id": "7b89eede.86ad6",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2791.0457763671875,
- "y": 2409.010488510132,
- "z": "a2c243d0.ad36e",
+ "x": 2814.740234375,
+ "y": 2322.760467529297,
+ "z": "54a98307.1c261c",
"wires": [
[
- "f1beccb7.9b84e"
+ "ace35e33.91e8b"
]
]
},
{
- "id": "f1beccb7.9b84e",
+ "id": "ace35e33.91e8b",
"type": "block",
"name": "UpdateCell",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2869.0452880859375,
- "y": 2321.010488510132,
- "z": "a2c243d0.ad36e",
+ "x": 2892.73974609375,
+ "y": 2234.760467529297,
+ "z": "54a98307.1c261c",
"wires": [
[
- "187d9e29.2ec5c2",
- "1c9c9154.0f3fdf",
- "17779f4e.286261",
- "ab4851e7.0f9ee",
- "44aa82b6.04d01c",
- "3f006895.7f8de8",
- "e309ba57.6c6788",
- "2c479225.b4d6de",
- "3c04bde7.59dfb2",
- "ceda3611.738b98"
+ "41050eb0.bf5a3",
+ "e466ad92.c678f",
+ "f40dbef8.c70c5",
+ "60c0bef6.a3d11",
+ "29dd5fa6.5825a",
+ "298b3320.23706c",
+ "76dac9bc.b2da38",
+ "84550c.db026af8",
+ "91a92ff.7f502d",
+ "c05b849e.a1d4a8"
]
]
},
{
- "id": "abb1f347.e4d5",
+ "id": "32a551cc.6c701e",
"type": "block",
"name": "Block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2553.0450439453125,
- "y": 2356.010488510132,
- "z": "a2c243d0.ad36e",
+ "x": 2576.739501953125,
+ "y": 2269.760467529297,
+ "z": "54a98307.1c261c",
"wires": [
[
- "ec459266.1687d",
- "53bf40e4.de041"
+ "da7d7341.18f2e",
+ "cef58c44.a4a82"
]
]
},
{
- "id": "ff78794a.ef5ea8",
+ "id": "54d4f395.d0918c",
"type": "for",
"name": "For cellDU List",
"xml": "<for index='idCell' start='0' end='`$tmp.cellDUListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 2780.299835205078,
- "y": 6151.016935348511,
- "z": "a2c243d0.ad36e",
+ "x": 2803.9942932128906,
+ "y": 6064.766914367676,
+ "z": "54a98307.1c261c",
"wires": [
[
- "fe2f2180.a9269",
- "384553a9.a2a01c"
+ "71ffc8c5.31c288",
+ "d905d754.20d498"
]
]
},
{
- "id": "50f01209.22749c",
+ "id": "73036a2b.72f344",
"type": "execute",
"name": "gNBDUList.cellLocalId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBDUList.cellLocalId' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id3 + ']'`\" />",
"comments": "",
"outputs": 1,
- "x": 2899.4110794067383,
- "y": 6238.014590680599,
- "z": "a2c243d0.ad36e",
+ "x": 2923.105537414551,
+ "y": 6151.764569699764,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "756583b6.6618bc",
+ "id": "b4617d27.b98d5",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$tmp.gNBDUList.cellLocalId == $tmp.cellLocalId`\">",
"comments": "",
"outputs": 1,
- "x": 2803.2995223999023,
- "y": 6338.014337539673,
- "z": "a2c243d0.ad36e",
+ "x": 2826.993980407715,
+ "y": 6251.764316558838,
+ "z": "54a98307.1c261c",
"wires": [
[
- "517a64ea.8e549c"
+ "7385336a.5b0abc"
]
]
},
{
- "id": "517a64ea.8e549c",
+ "id": "7385336a.5b0abc",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3017.299850463867,
- "y": 6296.014337539673,
- "z": "a2c243d0.ad36e",
+ "x": 3040.9943084716797,
+ "y": 6209.764316558838,
+ "z": "54a98307.1c261c",
"wires": [
[
- "6f06f096.c304b"
+ "602b1350.3e52bc"
]
]
},
{
- "id": "6f06f096.c304b",
+ "id": "602b1350.3e52bc",
"type": "block",
"name": "UpdateCell",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3185.300178527832,
- "y": 6305.01499080658,
- "z": "a2c243d0.ad36e",
+ "x": 3208.9946365356445,
+ "y": 6218.764969825745,
+ "z": "54a98307.1c261c",
"wires": [
[
- "3a7d24e4.71829c",
- "d6bfe081.3e2f3",
- "2314bf60.abe34"
+ "9e313260.3a853",
+ "4d801f1e.5adeb",
+ "668c29b8.317378"
]
]
},
{
- "id": "fe2f2180.a9269",
+ "id": "71ffc8c5.31c288",
"type": "block",
"name": "Block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2561.2995071411133,
- "y": 6279.014335632324,
- "z": "a2c243d0.ad36e",
+ "x": 2584.993965148926,
+ "y": 6192.764314651489,
+ "z": "54a98307.1c261c",
"wires": [
[
- "50f01209.22749c",
- "756583b6.6618bc",
- "e87ad1e6.6de69"
+ "73036a2b.72f344",
+ "b4617d27.b98d5",
+ "ebc3cca8.a917a"
]
]
},
{
- "id": "682dfdf2.a09a94",
+ "id": "6766aaed.fd8c74",
"type": "block",
"name": "rrmPolicyRatioPerCELLCU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2259.045280456543,
- "y": 2052.010488510132,
- "z": "a2c243d0.ad36e",
+ "x": 2282.7397384643555,
+ "y": 1965.7604675292969,
+ "z": "54a98307.1c261c",
"wires": [
[
- "8ab57c39.e5212",
- "ee42ea5e.86d058",
- "de7e3ad.6a5adc8",
- "d0c86467.097018"
+ "cd8fbbb6.6015d8",
+ "5b2ab8eb.325c08",
+ "c40d8acd.af6df8",
+ "82a132f.12b33d"
]
]
},
{
- "id": "8ab57c39.e5212",
+ "id": "cd8fbbb6.6015d8",
"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=\"rRMPolicyDedicatedRatio for CellCU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>\n<parameter name=\"field3\" value=\"maxNumberOfConnsPercellCU \"/>\n<parameter name=\"field4\" value=\"`$tmp.maxNumberOfConnsPercellCU`\"/>\n<parameter name=\"field5\" value=\"rRMPolicyDedicatedRatio.CellCU1 \"/>\n<parameter name=\"field6\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU1`\"/>",
"comments": "",
"outputs": 1,
- "x": 2414.045108795166,
- "y": 2182.455047607422,
- "z": "a2c243d0.ad36e",
+ "x": 2437.7395668029785,
+ "y": 2096.205026626587,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "4a387951.f6db68",
+ "id": "23bd5f13.8478b",
"type": "set",
"name": "Calculate for RRM1",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns-CUUP' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`' />\n",
"comments": "",
- "x": 3213.045742034912,
- "y": 3481.0102319717407,
- "z": "a2c243d0.ad36e",
+ "x": 3236.7402000427246,
+ "y": 3394.7602109909058,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "1be107b7.bce408",
+ "id": "83b9dcdb.92e4f",
"type": "set",
"name": "Calculate RRM Parms1",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
"comments": "",
- "x": 2597.0456314086914,
- "y": 5439.012104988098,
- "z": "a2c243d0.ad36e",
+ "x": 2620.740089416504,
+ "y": 5352.762084007263,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "2a1f5ef8.61f292",
+ "id": "cf06c6de.352398",
"type": "set",
"name": "calculation10",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
"comments": "",
- "x": 2543.0456924438477,
- "y": 5951.011860847473,
- "z": "a2c243d0.ad36e",
+ "x": 2566.74015045166,
+ "y": 5864.761839866638,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "a2c26d26.d596b",
+ "id": "11dba4bb.b755fb",
"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": 1071.559681892395,
- "y": 2642.754030227661,
- "z": "a2c243d0.ad36e",
+ "x": 1095.2541399002075,
+ "y": 2556.504009246826,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "5ac0fba4.e05764",
+ "id": "269d37f1.59d8b8",
"type": "execute",
"name": "add RRM Policy ToNRCellDU using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 4068.056640625,
- "y": 7468.00020980835,
- "z": "a2c243d0.ad36e",
+ "x": 4091.7510986328125,
+ "y": 7381.750188827515,
+ "z": "54a98307.1c261c",
"wires": [
[
- "e8e33021.dad23",
- "6aac16ca.963d48"
+ "3bc83419.e1b1bc",
+ "75faced1.866dc"
]
]
},
{
- "id": "e8e33021.dad23",
+ "id": "3bc83419.e1b1bc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4493.055679321289,
- "y": 7457.989795684814,
- "z": "a2c243d0.ad36e",
+ "x": 4516.750137329102,
+ "y": 7371.7397747039795,
+ "z": "54a98307.1c261c",
"wires": [
[
- "65dd09b0.9758f8"
+ "4481deb4.65261"
]
]
},
{
- "id": "65dd09b0.9758f8",
+ "id": "4481deb4.65261",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4679.055034637451,
- "y": 7450.989793777466,
- "z": "a2c243d0.ad36e",
+ "x": 4702.749492645264,
+ "y": 7364.739772796631,
+ "z": "54a98307.1c261c",
"wires": [
[
- "47eadd96.615a54"
+ "77f30611.fdb308"
]
]
},
{
- "id": "47eadd96.615a54",
+ "id": "77f30611.fdb308",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio to NRCELLDU Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4859.055694580078,
- "y": 7467.989793777466,
- "z": "a2c243d0.ad36e",
+ "x": 4882.750152587891,
+ "y": 7381.739772796631,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "a4d56b0e.208708",
+ "id": "616820a4.d45b2",
"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": 769.3891801834106,
- "y": 2541.7502031326294,
- "z": "a2c243d0.ad36e",
+ "x": 785.0836296081543,
+ "y": 2495.5003398656845,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "43cf6d42.9d8564",
+ "id": "ab32a37b.a7ea9",
"type": "block",
"name": "Action Per DU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2110.5555992126465,
- "y": 6016.33366060257,
- "z": "a2c243d0.ad36e",
+ "x": 2134.250057220459,
+ "y": 5930.083639621735,
+ "z": "54a98307.1c261c",
"wires": [
[
- "759bc67c.d0a178",
- "ad3e4e54.09c4e",
- "78e49ab0.99dd04",
- "98fa4692.14fe28"
+ "301163d1.20ee9c",
+ "8163d3a4.91eaf",
+ "86dbc745.8e5fc8",
+ "18a9ad0d.5c5343"
]
]
},
{
- "id": "cf3ce850.7dfe18",
+ "id": "16752bb9.492594",
"type": "block",
"name": "Activies Per Call",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2603.2222442626953,
- "y": 6111.3335728645325,
- "z": "a2c243d0.ad36e",
+ "x": 2626.916702270508,
+ "y": 6025.0835518836975,
+ "z": "54a98307.1c261c",
"wires": [
[
- "ff78794a.ef5ea8"
+ "54d4f395.d0918c"
]
]
},
{
- "id": "2314bf60.abe34",
+ "id": "668c29b8.317378",
"type": "block",
"name": "ConfigDB DU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2234.8894577026367,
- "y": 7093.001183509827,
- "z": "a2c243d0.ad36e",
+ "x": 2258.583915710449,
+ "y": 7006.751162528992,
+ "z": "54a98307.1c261c",
"wires": [
[
- "7b7a7410.5e975c",
- "3e62eb56.c77764",
- "c89590a8.227f1"
+ "1dbc1598.932e0a",
+ "be7871a3.76ecc",
+ "dd84da6a.0eec48"
]
]
},
{
- "id": "384553a9.a2a01c",
+ "id": "d905d754.20d498",
"type": "block",
"name": "Block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3056.222496032715,
- "y": 6153.000564575195,
- "z": "a2c243d0.ad36e",
+ "x": 3079.9169540405273,
+ "y": 6066.75054359436,
+ "z": "54a98307.1c261c",
"wires": [
[
- "86313b29.5ee168",
- "bca09be3.a79318",
- "9c4d71d8.004f7"
+ "f3d8819d.3f5f8",
+ "93b19d0d.e03ec",
+ "b7e0d585.4b5728"
]
]
},
{
- "id": "e87ad1e6.6de69",
+ "id": "ebc3cca8.a917a",
"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=\"CellLocal ID for comparison -- specific DUList\"/>\n<parameter name=\"field2\" value=\"`$tmp.gNBDUList.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"CellLocal ID for comparison - overall TA \"/>\n<parameter name=\"field4\" value=\"`$tmp.cellLocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2832.2226943969727,
- "y": 6275.000663757324,
- "z": "a2c243d0.ad36e",
+ "x": 2855.917152404785,
+ "y": 6188.750642776489,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "911e2882.b267a8",
+ "id": "b9271318.08fc5",
"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=\"Payload slice parameters - maxNumberofUEs \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field3\" value=\"Payload slice parameters - maxNumberofConns\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>\n<parameter name=\"field5\" value=\"Payload slice parameters - dLThptPerSlice\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.dLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Payload slice parameters - uLThptPerSlice\"/>\n<parameter name=\"field8\" value=\"`$payloadJson.input.sliceProfile.uLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 2101.5557746887207,
- "y": 798.3334274291992,
- "z": "a2c243d0.ad36e",
+ "x": 2125.250232696533,
+ "y": 712.0834064483643,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "6109ce31.790db",
+ "id": "7b399054.3f93d",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-sliceparms-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2127.2223625183105,
- "y": 958.6668276786804,
- "z": "a2c243d0.ad36e",
+ "x": 2150.916820526123,
+ "y": 872.4168066978455,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "f4e14609.f8d008",
+ "id": "d7f2b22c.00ae4",
"type": "set",
"name": "Calculate parms",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`' />\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`' />\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />",
"comments": "",
- "x": 2149.2223014831543,
- "y": 899.3334007263184,
- "z": "a2c243d0.ad36e",
+ "x": 2172.916759490967,
+ "y": 813.0833797454834,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "35994541.ad761a",
+ "id": "f99edeaa.b1b62",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-sliceparms-context2.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2105.555675506592,
- "y": 1064.3334617614746,
- "z": "a2c243d0.ad36e",
+ "x": 2129.2501335144043,
+ "y": 978.0834407806396,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "ee42ea5e.86d058",
+ "id": "5b2ab8eb.325c08",
"type": "set",
"name": "calculation1",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.maxNumberOfConns / $tmp.cellCUListEntries`' />",
"comments": "",
- "x": 2464.8888549804688,
- "y": 2021.000005722046,
- "z": "a2c243d0.ad36e",
+ "x": 2488.5833129882812,
+ "y": 1934.749984741211,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "de7e3ad.6a5adc8",
+ "id": "c40d8acd.af6df8",
"type": "set",
"name": "calculation2",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />",
"comments": "",
- "x": 2491.888858795166,
- "y": 2061.6666736602783,
- "z": "a2c243d0.ad36e",
+ "x": 2515.5833168029785,
+ "y": 1975.4166526794434,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "d0c86467.097018",
+ "id": "82a132f.12b33d",
"type": "set",
"name": "calculation3",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
"comments": "",
- "x": 2502.888786315918,
- "y": 2112.6666164398193,
- "z": "a2c243d0.ad36e",
+ "x": 2526.5832443237305,
+ "y": 2026.4165954589844,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "93ac429d.73aba",
+ "id": "e17dd25a.d2dd8",
"type": "set",
"name": "Calculate for RRM2",
"xml": "<set>\n<parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns-CUUP*4`' />",
"comments": "",
- "x": 3239.0871925354004,
- "y": 3554.53168964386,
- "z": "a2c243d0.ad36e",
+ "x": 3262.781650543213,
+ "y": 3468.281668663025,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "a22f23c2.f41a3",
+ "id": "5bb1f566.70cf0c",
"type": "set",
"name": "Calculate for RRM3",
"xml": "<set>\n<parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' />",
"comments": "",
- "x": 3253.08731842041,
- "y": 3607.531566619873,
- "z": "a2c243d0.ad36e",
+ "x": 3276.7817764282227,
+ "y": 3521.281545639038,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "afd8bf3d.07b45",
+ "id": "ab13fa24.13ecd8",
"type": "set",
"name": "calculation rrm4",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP1' value='`$tmp.DRBPerCUUPForSNSSAI * 100`' />",
"comments": "",
- "x": 3225.086826324463,
- "y": 3645.531445503235,
- "z": "a2c243d0.ad36e",
+ "x": 3248.7812843322754,
+ "y": 3559.2814245224,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "38b7246b.48c55c",
+ "id": "1d77c151.652b2f",
"type": "set",
"name": "Calculate RRM Parms2",
"xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
"comments": "",
- "x": 2605.5868911743164,
- "y": 5484.0321244597435,
- "z": "a2c243d0.ad36e",
+ "x": 2629.281349182129,
+ "y": 5397.7821034789085,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "3f12b751.bbbcb8",
+ "id": "ac8e30b7.1940f",
"type": "set",
"name": "Calculate RRM Parms3",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
"comments": "",
- "x": 2595.587013244629,
- "y": 5539.032002389431,
- "z": "a2c243d0.ad36e",
+ "x": 2619.2814712524414,
+ "y": 5452.781981408596,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "1235262c.0f386a",
+ "id": "60ae95a3.4dca8c",
"type": "set",
"name": "Calculate RRM Parms4",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
"comments": "",
- "x": 2595.5868911743164,
- "y": 5590.032002449036,
- "z": "a2c243d0.ad36e",
+ "x": 2619.281349182129,
+ "y": 5503.781981468201,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "92d34980.56c9d8",
+ "id": "1e994da6.548422",
"type": "set",
"name": "Calculate RRM Parms5",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
"comments": "",
- "x": 2583.587013244629,
- "y": 5650.0321244597435,
- "z": "a2c243d0.ad36e",
+ "x": 2607.2814712524414,
+ "y": 5563.7821034789085,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "d44c7ea9.8056d",
+ "id": "4d95ba67.f72534",
"type": "set",
"name": "Calculate RRM Parms6",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />",
"comments": "",
- "x": 2621.5868911743164,
- "y": 5700.0321244597435,
- "z": "a2c243d0.ad36e",
+ "x": 2645.281349182129,
+ "y": 5613.7821034789085,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "e2376f49.6ec05",
+ "id": "db956f11.57cd1",
"type": "set",
"name": "Calculate RRM Parms7",
"xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
"comments": "",
- "x": 2608.58683013916,
- "y": 5770.032490730286,
- "z": "a2c243d0.ad36e",
+ "x": 2632.2812881469727,
+ "y": 5683.782469749451,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "36523401.1c2b8c",
+ "id": "41a84fb0.0ffb8",
"type": "set",
"name": "calculation8",
"xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.DUListEntries`' />\n",
"comments": "",
- "x": 2579.58683013916,
- "y": 5834.031514167786,
- "z": "a2c243d0.ad36e",
+ "x": 2603.2812881469727,
+ "y": 5747.781493186951,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "6ea5ef76.13161",
+ "id": "fb9768c3.587378",
"type": "set",
"name": "calculation9",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
"comments": "",
- "x": 2567.5873794555664,
- "y": 5885.031392097473,
- "z": "a2c243d0.ad36e",
+ "x": 2591.281837463379,
+ "y": 5798.781371116638,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "e621af7d.c68f2",
+ "id": "f53d109e.0f989",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2123.0867195129395,
- "y": 1151.0781300067902,
- "z": "a2c243d0.ad36e",
+ "x": 2146.781177520752,
+ "y": 1064.8281090259552,
+ "z": "54a98307.1c261c",
"wires": [
[
- "f9400142.2adfe",
- "af41045d.c2e618"
+ "e983ffce.697df",
+ "c61b79b5.851588"
]
]
},
{
- "id": "f9400142.2adfe",
+ "id": "e983ffce.697df",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2313.086700439453,
- "y": 1121.0779135227203,
- "z": "a2c243d0.ad36e",
+ "x": 2336.7811584472656,
+ "y": 1034.8278925418854,
+ "z": "54a98307.1c261c",
"wires": [
[
- "dd3eb868.c05128"
+ "f3b31d7b.b603b"
]
]
},
{
- "id": "af41045d.c2e618",
+ "id": "c61b79b5.851588",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2293.0866737365723,
- "y": 1200.0780050754547,
- "z": "a2c243d0.ad36e",
+ "x": 2316.7811317443848,
+ "y": 1113.8279840946198,
+ "z": "54a98307.1c261c",
"wires": [
[
- "db9d5065.84ab2"
+ "102f7d7.d88ea83"
]
]
},
{
- "id": "ba4adfd8.dd98f",
+ "id": "90dd477e.fad0a8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for ADD SliceProfile ToNearRTRIC\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.latency`\"/>\n<parameter name=\"field7\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field9\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field10\" value=\"`$payloadJson.input.sliceProfile.uEMobilityLevel`\"/>\n<parameter name=\"field11\" value=\"`$tmp.trackingArea`\"/>\n<parameter name=\"field12\" value=\"`$payloadJson.input.sliceProfile.resourceSharingLevel`\"/>",
"comments": "",
"outputs": 1,
- "x": 2314.0873680114746,
- "y": 1346.4113838672638,
- "z": "a2c243d0.ad36e",
+ "x": 2337.781826019287,
+ "y": 1260.1613628864288,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "90eda30c.3bf6a",
+ "id": "44d9d024.fab18",
"type": "block",
"name": "Add sliceprofile NRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1989.0864028930664,
- "y": 1352.4219012260437,
- "z": "a2c243d0.ad36e",
+ "x": 2012.780860900879,
+ "y": 1266.1718802452087,
+ "z": "54a98307.1c261c",
"wires": [
[
- "ba4adfd8.dd98f",
- "4da9e6d7.441988",
- "e621af7d.c68f2",
- "b60cb739.a1b078"
+ "90dd477e.fad0a8",
+ "3a359137.cdf98e",
+ "f53d109e.0f989",
+ "e5680662.f48e48"
]
]
},
{
- "id": "b60cb739.a1b078",
+ "id": "e5680662.f48e48",
"type": "execute",
"name": "add addSliceProfile.ToNearRTRIC using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-sliceProfile-NRRIC.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addSliceProfile-NRTRIC-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2385.0876083374023,
- "y": 1412.4220342636108,
- "z": "a2c243d0.ad36e",
+ "x": 2408.782066345215,
+ "y": 1326.1720132827759,
+ "z": "54a98307.1c261c",
"wires": [
[
- "719e93d2.4f9d0c",
- "2c236f13.a7f0d"
+ "21013089.cf8ef",
+ "1a7c30c9.494c9f"
]
]
},
{
- "id": "4da9e6d7.441988",
+ "id": "3a359137.cdf98e",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add SliceProfile ToNearRTRIC url:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 2314.086944580078,
- "y": 1280.4220345020294,
- "z": "a2c243d0.ad36e",
+ "x": 2337.7814025878906,
+ "y": 1194.1720135211945,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "d4d7a45f.103938",
+ "id": "5f4cdb00.c2fb04",
"type": "execute",
"name": "generate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2701.0866661071777,
- "y": 1021.0782547295094,
- "z": "a2c243d0.ad36e",
+ "x": 2724.7811241149902,
+ "y": 934.8282337486744,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "719e93d2.4f9d0c",
+ "id": "21013089.cf8ef",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2785.0867309570312,
- "y": 1290.411304473877,
- "z": "a2c243d0.ad36e",
+ "x": 2808.7811889648438,
+ "y": 1204.161283493042,
+ "z": "54a98307.1c261c",
"wires": [
[
- "1590defd.561a01"
+ "5b7d5a1e.aede44"
]
]
},
{
- "id": "2c236f13.a7f0d",
+ "id": "1a7c30c9.494c9f",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2695.087615966797,
- "y": 1405.4112920761108,
- "z": "a2c243d0.ad36e",
+ "x": 2718.7820739746094,
+ "y": 1319.1612710952759,
+ "z": "54a98307.1c261c",
"wires": [
[
- "82242dbf.b1db2"
+ "e6b809bb.a37078"
]
]
},
{
- "id": "82242dbf.b1db2",
+ "id": "e6b809bb.a37078",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2860.0863342285156,
- "y": 1406.4112920761108,
- "z": "a2c243d0.ad36e",
+ "x": 2883.780792236328,
+ "y": 1320.1612710952759,
+ "z": "54a98307.1c261c",
"wires": [
[
- "415ec6d6.d111f8"
+ "327b61a.a960d9e"
]
]
},
{
- "id": "a873c60d.413338",
+ "id": "e949fc2b.322c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding slice proficle to NearRTRIC\" />",
"comments": "",
- "x": 2970.0872192382812,
- "y": 1345.411548614502,
- "z": "a2c243d0.ad36e",
+ "x": 2993.7816772460938,
+ "y": 1259.161527633667,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "415ec6d6.d111f8",
+ "id": "327b61a.a960d9e",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add to NRCELLCU Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 3024.087127685547,
- "y": 1399.4117813110352,
- "z": "a2c243d0.ad36e",
+ "x": 3047.7815856933594,
+ "y": 1313.1617603302002,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "db9d5065.84ab2",
+ "id": "102f7d7.d88ea83",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2486.0763244628906,
- "y": 1195.0780050754547,
- "z": "a2c243d0.ad36e",
+ "x": 2509.770782470703,
+ "y": 1108.8279840946198,
+ "z": "54a98307.1c261c",
"wires": [
[
- "84009921.8eae98",
- "9745ebb9.0c4148",
- "fce0d5df.4e7ca8"
+ "c3e1045b.db61e8",
+ "4162e6dc.1e3f28",
+ "151abb30.1d1735"
]
]
},
{
- "id": "cf1494ab.df89f8",
+ "id": "ef2c25da.239dd8",
"type": "execute",
"name": "Populate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2701.621440887451,
- "y": 1076.6772155761719,
- "z": "a2c243d0.ad36e",
+ "x": 2725.3158988952637,
+ "y": 990.4271945953369,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "84009921.8eae98",
+ "id": "c3e1045b.db61e8",
"type": "execute",
"name": "generate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2765.6212730407715,
- "y": 1123.6773252487183,
- "z": "a2c243d0.ad36e",
+ "x": 2789.315731048584,
+ "y": 1037.4273042678833,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "9745ebb9.0c4148",
+ "id": "4162e6dc.1e3f28",
"type": "execute",
"name": "Populate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2781.1562728881836,
- "y": 1175.2761497497559,
- "z": "a2c243d0.ad36e",
+ "x": 2804.850730895996,
+ "y": 1089.026128768921,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "fce0d5df.4e7ca8",
+ "id": "151abb30.1d1735",
"type": "execute",
"name": "Populate MOUNT NAME",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2799.621593475342,
- "y": 1228.6771383285522,
- "z": "a2c243d0.ad36e",
+ "x": 2823.3160514831543,
+ "y": 1142.4271173477173,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "1590defd.561a01",
+ "id": "5b7d5a1e.aede44",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2934.5103607177734,
- "y": 1295.2326760292053,
- "z": "a2c243d0.ad36e",
+ "x": 2958.204818725586,
+ "y": 1208.9826550483704,
+ "z": "54a98307.1c261c",
"wires": [
[
- "a873c60d.413338"
+ "e949fc2b.322c"
]
]
},
{
- "id": "dd3eb868.c05128",
+ "id": "f3b31d7b.b603b",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2417.288200378418,
- "y": 1006.6771144866943,
- "z": "a2c243d0.ad36e",
+ "x": 2440.9826583862305,
+ "y": 920.4270935058594,
+ "z": "54a98307.1c261c",
"wires": [
[
- "d4d7a45f.103938",
- "cf1494ab.df89f8"
+ "5f4cdb00.c2fb04",
+ "ef2c25da.239dd8"
]
]
},
{
- "id": "e309ba57.6c6788",
+ "id": "76dac9bc.b2da38",
"type": "execute",
"name": "prepare gNBCUCPList for SO callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUCPList.response' />\n\t<parameter name='keyName' value='gNBCUName' />\n\t<parameter name='keyValue' value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3204.5558166503906,
- "y": 1960.0001096725464,
- "z": "a2c243d0.ad36e",
+ "x": 3228.250274658203,
+ "y": 1873.7500886917114,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "2c479225.b4d6de",
+ "id": "84550c.db026af8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPList length\"/>\n<parameter name=\"field2\" value=\"`$CUCPListEntries_size`\"/>",
"comments": "",
"outputs": 1,
- "x": 3134.5555419921875,
- "y": 2111.9999952316284,
- "z": "a2c243d0.ad36e",
+ "x": 3158.25,
+ "y": 2025.7499742507935,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "3c04bde7.59dfb2",
+ "id": "91a92ff.7f502d",
"type": "execute",
"name": "CUCP List size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='CUCPListEntries_size' />\n\t<parameter name='source' value=\"`tmp.CUCPList.response_length`\" />",
"comments": "",
"outputs": 1,
- "x": 3161.8055114746094,
- "y": 2062.499990463257,
- "z": "a2c243d0.ad36e",
+ "x": 3185.499969482422,
+ "y": 1976.2499694824219,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "24247669.aa7e8a",
+ "id": "b541e97a.091298",
"type": "execute",
"name": "prepare gNBCUUPList for SO callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUUPList.response' />\n\t<parameter name='keyName' value='gNBCUUPId' />\n\t<parameter name='keyValue' value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3807.8056449890137,
- "y": 4830.000117301941,
- "z": "a2c243d0.ad36e",
+ "x": 3831.500102996826,
+ "y": 4743.750096321106,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "8d944f2b.db7d2",
+ "id": "854b6672.9b3c78",
"type": "execute",
"name": "prepare gNBDUList for SO callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.DUList.response' />\n\t<parameter name='keyName' value='gNBDUId' />\n\t<parameter name='keyValue' value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3768.305709838867,
- "y": 7029.250091552734,
- "z": "a2c243d0.ad36e",
+ "x": 3792.0001678466797,
+ "y": 6943.000070571899,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "5cb5359.f0b26cc",
+ "id": "ea1799b4.500598",
"type": "set",
"name": "callback payload",
"xml": "<set>\n<parameter name='tmp.CUCPList.response' value='`$tmp.CUCPList.response`' />\n<parameter name='tmp.CUUPList.response' value='`$tmp.CUUPList.response`' />\n<parameter name='tmp.DUList.response' value='`$tmp.DUList.response`' />\n",
"comments": "",
- "x": 733.305645942688,
- "y": 2579.4999895095825,
- "z": "a2c243d0.ad36e",
+ "x": 749.0001411437988,
+ "y": 2553.249973654747,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "156f533b.4aa76d",
+ "id": "353ca2b5.8b991e",
"type": "execute",
"name": "gNBCUCPList",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList.response' />\n\t<parameter name='source' value=\"`$tmp.CUCPList.response`\" />",
"comments": "",
"outputs": 1,
- "x": 3163.8055419921875,
- "y": 2012.9999952316284,
- "z": "a2c243d0.ad36e",
+ "x": 3187.5,
+ "y": 1926.7499742507935,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "43439aa8.8be184",
+ "id": "855e02b5.654e5",
"type": "set",
"name": "set maxNumberOfConns",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`'/>",
"comments": "",
- "x": 3508.555576324463,
- "y": 2687.2502069473267,
- "z": "a2c243d0.ad36e",
+ "x": 3532.2500343322754,
+ "y": 2601.0001859664917,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "2a97eefa.4b80d2",
+ "id": "f675c08c.37fb7",
"type": "set",
"name": "set maxNumberOfConns",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`'/>",
"comments": "",
- "x": 3870.3055381774902,
- "y": 4625.24999332428,
- "z": "a2c243d0.ad36e",
+ "x": 3893.9999961853027,
+ "y": 4538.999972343445,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "66f14c1e.e327f4",
+ "id": "ff5ac918.e30a48",
"type": "set",
"name": "set throughput",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice/$tmp.cellDUListEntries`'/>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice/$tmp.cellDUListEntries`'/>",
"comments": "",
- "x": 3975.0555381774902,
- "y": 6814.99999332428,
- "z": "a2c243d0.ad36e",
+ "x": 3998.7499961853027,
+ "y": 6728.749972343445,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "32229efd.5611c2",
+ "id": "9f5cd12d.485b5",
"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=\"maxNumberOfConns.CUUP \"/>\n<parameter name=\"field2\" value=\"`$tmp.maxNumberOfConns-CUUP`\"/>",
"comments": "",
"outputs": 1,
- "x": 3192.0555381774902,
- "y": 3513.49999332428,
- "z": "a2c243d0.ad36e",
+ "x": 3215.7499961853027,
+ "y": 3427.249972343445,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "46875c25.62c1e4",
+ "id": "2e69d89d.b17738",
"type": "set",
"name": "set resourceID",
"xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.cellLocalId`'/>",
"comments": "",
- "x": 3487.0555381774902,
- "y": 3161.74999332428,
- "z": "a2c243d0.ad36e",
+ "x": 3510.7499961853027,
+ "y": 3075.499972343445,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "dde70b52.a80088",
+ "id": "c71b4eec.95244",
"type": "set",
"name": "set resourceID",
"xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.gNBCUUPList.gNBCUUPId`'/>",
"comments": "",
- "x": 3674.8055381774902,
- "y": 5141.49999332428,
- "z": "a2c243d0.ad36e",
+ "x": 3698.4999961853027,
+ "y": 5055.249972343445,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "c89590a8.227f1",
+ "id": "dd84da6a.0eec48",
"type": "set",
"name": "set resourceID",
"xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.gNBDUList.cellLocalId`'/>",
"comments": "",
- "x": 2369.0555381774902,
- "y": 7184.74999332428,
- "z": "a2c243d0.ad36e",
+ "x": 2392.7499961853027,
+ "y": 7098.499972343445,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "afcd8575.ce5a88",
+ "id": "4f781aac.7f8e84",
"type": "execute",
"name": "Update RAN Inventory ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRANSliceInventory`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRANSliceInventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-inventory-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": 720.0555381774902,
- "y": 2355.99999332428,
- "z": "a2c243d0.ad36e",
+ "x": 743.7499961853027,
+ "y": 2269.749972343445,
+ "z": "54a98307.1c261c",
"wires": [
[
- "9afc9dfb.ae7ab",
- "210db229.58527e"
+ "fb2d1ad3.a7f9d8",
+ "bb44721e.670c7"
]
]
},
{
- "id": "9afc9dfb.ae7ab",
+ "id": "fb2d1ad3.a7f9d8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 955.056209564209,
- "y": 2269.00026512146,
- "z": "a2c243d0.ad36e",
+ "x": 978.7506675720215,
+ "y": 2182.750244140625,
+ "z": "54a98307.1c261c",
"wires": [
[
- "b8980e33.87c85"
+ "79aa3034.40fc2"
]
]
},
{
- "id": "210db229.58527e",
+ "id": "bb44721e.670c7",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 960.0561485290527,
- "y": 2389.9999895095825,
- "z": "a2c243d0.ad36e",
+ "x": 983.7506065368652,
+ "y": 2303.7499685287476,
+ "z": "54a98307.1c261c",
"wires": [
[
- "2af88722.e8f178"
+ "73e80867.8e9958"
]
]
},
{
- "id": "2af88722.e8f178",
+ "id": "73e80867.8e9958",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1118.0559387207031,
- "y": 2389.000234603882,
- "z": "a2c243d0.ad36e",
+ "x": 1141.7503967285156,
+ "y": 2302.750213623047,
+ "z": "54a98307.1c261c",
"wires": [
[
- "c1bc5b94.d11a78"
+ "4ce0fb09.4ce974"
]
]
},
{
- "id": "c1bc5b94.d11a78",
+ "id": "4ce0fb09.4ce974",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated inventory in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 1304.0561866760254,
- "y": 2373.000478744507,
- "z": "a2c243d0.ad36e",
+ "x": 1327.750644683838,
+ "y": 2286.750457763672,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "60843518.20b42c",
+ "id": "2c97a828.11f208",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1300.0558815002441,
- "y": 2273.0002641677856,
- "z": "a2c243d0.ad36e",
+ "x": 1323.7503395080566,
+ "y": 2186.7502431869507,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "b8980e33.87c85",
+ "id": "79aa3034.40fc2",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1114.0564918518066,
- "y": 2267.0003566741943,
- "z": "a2c243d0.ad36e",
+ "x": 1137.7509498596191,
+ "y": 2180.7503356933594,
+ "z": "54a98307.1c261c",
"wires": [
[
- "60843518.20b42c",
- "237e3bf7.a15ba4",
- "43e9fff0.abfbe"
+ "2c97a828.11f208",
+ "6351c66d.759828",
+ "f11b3f16.9273d"
]
]
},
{
- "id": "237e3bf7.a15ba4",
+ "id": "6351c66d.759828",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1290.0561218261719,
- "y": 2187.1113786697388,
- "z": "a2c243d0.ad36e",
+ "x": 1313.7505798339844,
+ "y": 2100.861357688904,
+ "z": "54a98307.1c261c",
"wires": []
},
{
- "id": "946e6c1f.7bb9d",
+ "id": "4254aab2.1c4e64",
"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=\"Update inventory in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 755.3055572509766,
- "y": 2235.5000376701355,
- "z": "a2c243d0.ad36e",
+ "x": 779.0000152587891,
+ "y": 2149.2500166893005,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "8fb0f823.745438",
+ "id": "e193df81.4bb3b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1848.8888320922852,
- "y": 441.6666898727417,
- "z": "a2c243d0.ad36e",
+ "x": 1872.5832901000977,
+ "y": 355.41666889190674,
+ "z": "54a98307.1c261c",
"wires": [
[
- "31f24c7a.033584",
- "8282f63d.edb3e8",
- "e13282a4.a3907"
+ "bdaa897e.2cd2b8",
+ "c6b40762.ea2b08",
+ "7f6d8a09.6705c4"
]
]
},
{
- "id": "5a6dbfd5.a48f5",
+ "id": "7c7117bf.eff588",
"type": "execute",
"name": "set trackingArea",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.payload.trackingArea' />\n\t<parameter name='source' value=\"`'payloadJson.input.sliceProfile.coverageAreaList[' + $ta + ']'`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.payload.trackingArea' />\n\t<parameter name='source' value=\"`'payloadJson.input.sliceProfile.coverageAreaTAList[' + $ta + ']'`\"/>",
"comments": "",
"outputs": 1,
- "x": 1365.631492614746,
- "y": 288.48922061920166,
- "z": "a2c243d0.ad36e",
+ "x": 1378.3261642456055,
+ "y": 210.23923873901367,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "2bb85138.bdd50e",
+ "id": "c0ee40ba.589e9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 977.0205383300781,
- "y": 449.60031175613403,
- "z": "a2c243d0.ad36e",
+ "x": 1000.7149963378906,
+ "y": 363.3502907752991,
+ "z": "54a98307.1c261c",
"wires": [
[
- "5a6dbfd5.a48f5",
- "1c0164dc.8d644b",
- "8e4a2db8.c53ca",
- "bd377d99.e91fd"
+ "7c7117bf.eff588",
+ "cc746ae2.0a52c8",
+ "5a3cb019.dea83",
+ "a70cf700.ce1f28"
]
]
},
{
- "id": "1c0164dc.8d644b",
+ "id": "cc746ae2.0a52c8",
"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=\"Tracking Area\"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.trackingArea`\"/>",
"comments": "",
"outputs": 1,
- "x": 1349.2426452636719,
- "y": 338.489200592041,
- "z": "a2c243d0.ad36e",
+ "x": 1355.937156677246,
+ "y": 249.23921585083008,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "add03b35.2459c8",
+ "id": "f060cdfa.0562e",
"type": "for",
"name": "For coverageAreaTAList",
"xml": "<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>",
"comments": "",
"outputs": 1,
- "x": 743.0555191040039,
- "y": 500.83333015441895,
- "z": "a2c243d0.ad36e",
+ "x": 766.7499771118164,
+ "y": 414.583309173584,
+ "z": "54a98307.1c261c",
"wires": [
[
- "2bb85138.bdd50e"
+ "c0ee40ba.589e9"
]
]
},
{
- "id": "e89fecb2.b5374",
+ "id": "9bdae950.00c5d8",
"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=\"Tracking Area size\"/>\n<parameter name=\"field2\" value=\"`$tmp.trackingAreaListEntries`\"/>",
"comments": "",
"outputs": 1,
- "x": 715.2777709960938,
- "y": 445.5555419921875,
- "z": "a2c243d0.ad36e",
+ "x": 738.9722290039062,
+ "y": 359.30552101135254,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
},
{
- "id": "3f7470f5.37976",
+ "id": "3582eebd.3c7cf2",
"type": "execute",
"name": "set trackingArea size",
- "xml": "<set>\n\t<parameter name='tmp.trackingAreaListEntries' value=\"`$payloadJson.input.sliceProfile.coverageAreaList_length`\"/>\n\t",
+ "xml": "<set>\n\t<parameter name='tmp.trackingAreaListEntries' value=\"`$payloadJson.input.sliceProfile.coverageAreaTAList_length`\"/>\n\t",
"comments": "",
"outputs": 1,
- "x": 746.3888549804688,
- "y": 395.5555419921875,
- "z": "a2c243d0.ad36e",
+ "x": 770.0833129882812,
+ "y": 309.30552101135254,
+ "z": "54a98307.1c261c",
"wires": [
[]
]
+ },
+ {
+ "id": "b072d63c.a49af8",
+ "type": "set",
+ "name": "set RRMPolicyRatio IDs",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value=\"`'NearRTRIC-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value=\"`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellDU' value=\"`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value=\"`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value=\"`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellCU' value=\"`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />",
+ "comments": "",
+ "x": 1490.886474609375,
+ "y": 551.9318237304688,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "c3110c8d.ffdca",
+ "type": "execute",
+ "name": "tmp.ranNFNSSIListEntry",
+ "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value='`$tmp.payload.RANNFNSSIId`'/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1697.386474609375,
+ "y": 718.6818237304688,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2c323ebf.7788d2",
+ "type": "switchNode",
+ "name": "check status",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 709.2500305175781,
+ "y": 2392.5000286102295,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "422c435a.dbe19c",
+ "9336c4d6.1c5b58"
+ ]
+ ]
+ },
+ {
+ "id": "422c435a.dbe19c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 892.2500114440918,
+ "y": 2349.5000957250595,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "faa56729.7bb638"
+ ]
+ ]
+ },
+ {
+ "id": "faa56729.7bb638",
+ "type": "set",
+ "name": "status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+ "comments": "",
+ "x": 1068.2500114440918,
+ "y": 2352.50024831295,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "71dbbd93.33af74",
+ "type": "set",
+ "name": "failure status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+ "comments": "",
+ "x": 1069.2499961853027,
+ "y": 2396.499973654747,
+ "z": "54a98307.1c261c",
+ "wires": []
+ },
+ {
+ "id": "9336c4d6.1c5b58",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 908.2499961853027,
+ "y": 2401.499973654747,
+ "z": "54a98307.1c261c",
+ "wires": [
+ [
+ "71dbbd93.33af74"
+ ]
+ ]
+ },
+ {
+ "id": "529080e3.eae63",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Response code\"/>\n<parameter name=\"field2\" value=\"`$error-code`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 684.2499885559082,
+ "y": 2338.7500286102295,
+ "z": "54a98307.1c261c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "62b5105e.53365",
+ "type": "set",
+ "name": "set plmn id",
+ "xml": "<set>\n<parameter name=\"tmp.pLMNId\" value=\"`$tmp.payload.pLMNId`\"/>\n",
+ "comments": "",
+ "x": 3980.249984741211,
+ "y": 6118.499961853027,
+ "z": "54a98307.1c261c",
+ "wires": []
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json
index 242d276e..23d47438 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json
@@ -1,20 +1,20 @@
[
{
- "id": "cdce3934.f2aa38",
+ "id": "e68c4026.1d1e7",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 215.27777099609375,
- "y": 114.74999332427979,
- "z": "ecab9296.c8bb5",
+ "x": 123.75,
+ "y": 64.74999713897705,
+ "z": "759e49d3.adb538",
"wires": [
[
- "ffd03bbd.6b30f8"
+ "a543d793.4fa118"
]
]
},
{
- "id": "ffd03bbd.6b30f8",
+ "id": "a543d793.4fa118",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -22,7396 +22,7796 @@
"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": 300.27779388427734,
- "y": 181.74996280670166,
- "z": "ecab9296.c8bb5",
+ "x": 208.7500228881836,
+ "y": 131.74996662139893,
+ "z": "759e49d3.adb538",
"wires": [
[
- "2dcf0e40.745bf2"
+ "d8707537.a71618"
]
]
},
{
- "id": "2dcf0e40.745bf2",
+ "id": "d8707537.a71618",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceModifyAllocate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 234.27777099609375,
- "y": 241.74992847442627,
- "z": "ecab9296.c8bb5",
+ "x": 142.75,
+ "y": 191.74993228912354,
+ "z": "759e49d3.adb538",
"wires": [
[
- "3c5a09dd.4e50a6"
+ "fa8d210f.82ece"
]
]
},
{
- "id": "3c5a09dd.4e50a6",
+ "id": "fa8d210f.82ece",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 230.27776336669922,
- "y": 302.7499647140503,
- "z": "ecab9296.c8bb5",
+ "x": 138.74999237060547,
+ "y": 252.74996852874756,
+ "z": "759e49d3.adb538",
"wires": [
[
- "a604076f.7c0c88",
- "df01ad79.7438a",
- "1801c640.1eb6aa",
- "ed3c9a78.956f38",
- "ade269f7.3d78c8",
- "d0d24863.8121f8",
- "963ff2bf.d8e52"
+ "aa798111.5f0f5",
+ "f60762ce.54f0f",
+ "6f0046fe.7f6388",
+ "dd339cfd.b337b",
+ "5f8a32d4.ef21cc",
+ "89d19ba6.2eb0d8",
+ "19504430.043d4c",
+ "581db54e.a0064c",
+ "e2d6e587.376b48"
]
]
},
{
- "id": "a604076f.7c0c88",
+ "id": "aa798111.5f0f5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 488.2777557373047,
- "y": 304.74998569488525,
- "z": "ecab9296.c8bb5",
+ "x": 405.75,
+ "y": 243.7500069141388,
+ "z": "759e49d3.adb538",
"wires": [
[
- "1ea6b30a.d33abd",
- "eb434aa7.d801d8",
- "3d6aa191.e0db3e",
- "2fed7838.3e4478",
- "ea194ca9.b5136",
- "38665c6f.b68994"
+ "57292ac.06c32d4",
+ "3f2c75a.ef13f8a",
+ "ae453b51.dc9688"
]
]
},
{
- "id": "1ea6b30a.d33abd",
+ "id": "57292ac.06c32d4",
"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=\"`$tmp.payload.RANNFNSSIId`\"/>",
"comments": "",
"outputs": 1,
- "x": 832.7777709960938,
- "y": 257.7500066757202,
- "z": "ecab9296.c8bb5",
+ "x": 741.25,
+ "y": 207.75001049041748,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "eb434aa7.d801d8",
+ "id": "3f2c75a.ef13f8a",
"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/instantiateRANSliceModifyAllocate.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=\"`$tmp.payload.RANNFNSSIId`\" />",
"comments": "",
"outputs": 1,
- "x": 791.7777786254883,
- "y": 297.49999141693115,
- "z": "ecab9296.c8bb5",
+ "x": 700.2500076293945,
+ "y": 247.49999523162842,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "3d6aa191.e0db3e",
+ "id": "ae453b51.dc9688",
"type": "execute",
"name": "Get nearRTRIC for RANNFNSSIId",
"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": 802.7778472900391,
- "y": 340.99999713897705,
- "z": "ecab9296.c8bb5",
+ "x": 711.2500762939453,
+ "y": 291.0000009536743,
+ "z": "759e49d3.adb538",
"wires": [
[
- "41141f2f.3a29e",
- "f867a9f7.6835f8"
+ "21591d1a.bc16a2",
+ "ec0e19a2.ed43f8"
]
]
},
{
- "id": "41141f2f.3a29e",
+ "id": "21591d1a.bc16a2",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1053.0960083007812,
- "y": 369.5680932998657,
- "z": "ecab9296.c8bb5",
+ "x": 961.5682373046875,
+ "y": 319.568097114563,
+ "z": "759e49d3.adb538",
"wires": [
[
- "30af1a9a.7284f6"
+ "7e9aebe3.8e7964"
]
]
},
{
- "id": "30af1a9a.7284f6",
+ "id": "7e9aebe3.8e7964",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1226.0958099365234,
- "y": 358.56816577911377,
- "z": "ecab9296.c8bb5",
+ "x": 1134.5680389404297,
+ "y": 308.56816959381104,
+ "z": "759e49d3.adb538",
"wires": [
[
- "23c782a5.d5b7fe",
- "20106467.d1db5c"
+ "16983893.a12ae7",
+ "2bfa9688.c4e94a"
]
]
},
{
- "id": "23c782a5.d5b7fe",
+ "id": "16983893.a12ae7",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 1426.8455390930176,
- "y": 358.318190574646,
- "z": "ecab9296.c8bb5",
+ "x": 1335.3177680969238,
+ "y": 308.31819438934326,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "20106467.d1db5c",
+ "id": "2bfa9688.c4e94a",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1462.6237525939941,
- "y": 401.56819915771484,
- "z": "ecab9296.c8bb5",
+ "x": 1371.0959815979004,
+ "y": 351.5682029724121,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "f867a9f7.6835f8",
+ "id": "ec0e19a2.ed43f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1063.5958671569824,
- "y": 318.06813526153564,
- "z": "ecab9296.c8bb5",
+ "x": 972.0680961608887,
+ "y": 268.0681390762329,
+ "z": "759e49d3.adb538",
"wires": [
[
- "9ee1ca8d.8df468"
+ "db2c4e39.d6196"
]
]
},
{
- "id": "9ee1ca8d.8df468",
+ "id": "db2c4e39.d6196",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1222.345947265625,
- "y": 292.0682067871094,
- "z": "ecab9296.c8bb5",
+ "x": 1130.8181762695312,
+ "y": 242.06821060180664,
+ "z": "759e49d3.adb538",
"wires": [
[
- "fd49cb37.a1ec88",
- "dd5a532a.31de7"
+ "b2b2410b.6d682",
+ "24da6566.d832ba"
]
]
},
{
- "id": "fd49cb37.a1ec88",
+ "id": "b2b2410b.6d682",
"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": 1395.0955848693848,
- "y": 304.6792325973511,
- "z": "ecab9296.c8bb5",
+ "x": 1303.567813873291,
+ "y": 254.67923641204834,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "df01ad79.7438a",
+ "id": "409ce852.c50a18",
"type": "for",
"name": "foreach NearRTRIC",
"xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
"comments": "",
"outputs": 1,
- "x": 357.2778091430664,
- "y": 1403.5682625174522,
- "z": "ecab9296.c8bb5",
+ "x": 265.75003814697266,
+ "y": 1353.5682663321495,
+ "z": "759e49d3.adb538",
"wires": [
[
- "fd4b53be.08fe7",
- "792d179c.cbe1f8",
- "eda7021e.42543",
- "ea01a433.33d248",
- "7d0cab41.5d62e4",
- "759313f.9d96dec",
- "b2bbe86b.51d5b8"
+ "cf2e847a.3179b8",
+ "4ba2f0bc.9a171",
+ "e1a056f0.6d4398",
+ "38ad1f4.97b71e"
]
]
},
{
- "id": "fd4b53be.08fe7",
+ "id": "cf2e847a.3179b8",
"type": "block",
"name": "Process NearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 683.1868362426758,
- "y": 1197.4773273468018,
- "z": "ecab9296.c8bb5",
+ "x": 591.659065246582,
+ "y": 1147.477331161499,
+ "z": "759e49d3.adb538",
"wires": [
[
- "bcd60b3d.7cf3b8",
- "946fa1ac.5143f",
- "321a0c36.154ba4",
- "a3aa3e0c.1bd7",
- "ef603cfd.b12c2",
- "b84025f8.34bc78"
+ "a1b18c5c.659da",
+ "e87aed0d.e329a",
+ "794c8e61.964b4",
+ "621b59e6.f8c8b8",
+ "e8a945e8.149658",
+ "4c7fb5c.2c9664c"
]
]
},
{
- "id": "bcd60b3d.7cf3b8",
+ "id": "a1b18c5c.659da",
"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": 1136.8232879638672,
- "y": 1028.4772987365723,
- "z": "ecab9296.c8bb5",
+ "x": 1045.2955169677734,
+ "y": 978.4773025512695,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "946fa1ac.5143f",
+ "id": "e87aed0d.e329a",
"type": "execute",
"name": "read gNBId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1107.8232727050781,
- "y": 1071.4773597717285,
- "z": "ecab9296.c8bb5",
+ "x": 1016.2955017089844,
+ "y": 1021.4773635864258,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "321a0c36.154ba4",
+ "id": "794c8e61.964b4",
"type": "set",
"name": "Calculate uLThptPerSlice dLThptPerSlice maxNumberOfConns",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNFNSSIRIC-configdb-response._length`' />",
"comments": "",
- "x": 1238.1869049072266,
- "y": 1146.295461654663,
- "z": "ecab9296.c8bb5",
+ "x": 1146.6591339111328,
+ "y": 1096.2954654693604,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "a3aa3e0c.1bd7",
+ "id": "621b59e6.f8c8b8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConn for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"nearRTRICId\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"RANNFNSSI\"/>\n<parameter name=\"field12\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n<parameter name=\"field13\" value=\"NSSAI\"/>\n<parameter name=\"field14\" value=\"`$tmp.payload.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1084.0959014892578,
- "y": 1187.2955379486084,
- "z": "ecab9296.c8bb5",
+ "x": 992.5681304931641,
+ "y": 1137.2955417633057,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "ef603cfd.b12c2",
+ "id": "e8a945e8.149658",
"type": "execute",
"name": "Update nearRT RIC Details in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updatenearRTRIC.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"modify-allocate-nearRTRIC-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": 1190.0959930419922,
- "y": 1233.204626083374,
- "z": "ecab9296.c8bb5",
+ "x": 1098.5682220458984,
+ "y": 1183.2046298980713,
+ "z": "759e49d3.adb538",
"wires": [
[
- "85a5cf93.5a30a",
- "39b8aa37.8591b6"
+ "dfb784aa.2c0408",
+ "7170c833.e214e8"
]
]
},
{
- "id": "85a5cf93.5a30a",
+ "id": "dfb784aa.2c0408",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1546.0958862304688,
- "y": 1158.0226373672485,
- "z": "ecab9296.c8bb5",
+ "x": 1454.568115234375,
+ "y": 1108.0226411819458,
+ "z": "759e49d3.adb538",
"wires": [
[
- "9ff7d9ea.c447a8"
+ "a4721527.352d88"
]
]
},
{
- "id": "9ff7d9ea.c447a8",
+ "id": "a4721527.352d88",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1678.0960083007812,
- "y": 1120.0226373672485,
- "z": "ecab9296.c8bb5",
+ "x": 1586.5682373046875,
+ "y": 1070.0226411819458,
+ "z": "759e49d3.adb538",
"wires": [
[
- "aa0fd77a.778858",
- "88e8c925.ecbbd8"
+ "8c6f9399.c9a82",
+ "e4b6ad3f.014c4"
]
]
},
{
- "id": "88e8c925.ecbbd8",
+ "id": "e4b6ad3f.014c4",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1867.0957641601562,
- "y": 1067.1336603164673,
- "z": "ecab9296.c8bb5",
+ "x": 1775.5679931640625,
+ "y": 1017.1336641311646,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "aa0fd77a.778858",
+ "id": "8c6f9399.c9a82",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1875.0957641601562,
- "y": 1167.0226984024048,
- "z": "ecab9296.c8bb5",
+ "x": 1783.5679931640625,
+ "y": 1117.022702217102,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "39b8aa37.8591b6",
+ "id": "7170c833.e214e8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1543.9140014648438,
- "y": 1257.9317560195923,
- "z": "ecab9296.c8bb5",
+ "x": 1452.38623046875,
+ "y": 1207.9317598342896,
+ "z": "759e49d3.adb538",
"wires": [
[
- "c50b6ead.b3a8f"
+ "5b12bb4c.c02a24"
]
]
},
{
- "id": "c50b6ead.b3a8f",
+ "id": "5b12bb4c.c02a24",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1707.9138793945312,
- "y": 1258.9318780899048,
- "z": "ecab9296.c8bb5",
+ "x": 1616.3861083984375,
+ "y": 1208.931881904602,
+ "z": "759e49d3.adb538",
"wires": [
[
- "86bd14f4.969ee8"
+ "f24dbbb0.6d6e18"
]
]
},
{
- "id": "86bd14f4.969ee8",
+ "id": "f24dbbb0.6d6e18",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NearRT RIC info in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 1857.9138793945312,
- "y": 1253.9320001602173,
- "z": "ecab9296.c8bb5",
+ "x": 1766.3861083984375,
+ "y": 1203.9320039749146,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "b84025f8.34bc78",
+ "id": "4c7fb5c.2c9664c",
"type": "execute",
"name": "set params",
- "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name='tmp.payload.pLMNId' value=\"`$tmp.pLMNId`\"/>",
+ "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1140.2777862548828,
- "y": 1109.750020980835,
- "z": "ecab9296.c8bb5",
+ "x": 1048.750015258789,
+ "y": 1059.7500247955322,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "f4fee64.5630718",
+ "id": "1297ddc9.2934e2",
"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": 1061.2777709960938,
- "y": 1301.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 969.75,
+ "y": 1251.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "792d179c.cbe1f8",
+ "id": "4ba2f0bc.9a171",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 661.2777709960938,
- "y": 1285.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 569.75,
+ "y": 1235.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "f4fee64.5630718",
- "b895d39e.358cc",
- "9a95f4b6.c00a88"
+ "1297ddc9.2934e2",
+ "68041a62.fa3314",
+ "5c593b00.a32a94"
]
]
},
{
- "id": "b895d39e.358cc",
+ "id": "68041a62.fa3314",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1033.2777709960938,
- "y": 1366.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 941.75,
+ "y": 1316.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "9a95f4b6.c00a88",
+ "id": "5c593b00.a32a94",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1061.2777709960938,
- "y": 1441.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 969.75,
+ "y": 1391.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "4a8ecad1.d36ae4"
+ "7014ee89.23936"
]
]
},
{
- "id": "4a8ecad1.d36ae4",
+ "id": "7014ee89.23936",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1282.2777709960938,
- "y": 1448.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 1190.75,
+ "y": 1398.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "41f7da9.0438224",
- "111964c0.00cfab",
- "e128ba2b.0271c8",
- "8889a908.a7eeb8"
+ "b2c6d93d.637008",
+ "84eb3e8c.ede5b",
+ "fb834b7f.07d058",
+ "ff2694ed.8d44c8"
]
]
},
{
- "id": "41f7da9.0438224",
+ "id": "b2c6d93d.637008",
"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": 1633.2777709960938,
- "y": 1301.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 1541.75,
+ "y": 1251.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "111964c0.00cfab",
+ "id": "84eb3e8c.ede5b",
"type": "for",
"name": "for cellCUList",
"xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1637.2777709960938,
- "y": 1445.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 1545.75,
+ "y": 1395.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "a7b5e345.afac6"
+ "db543ed1.a7e94"
]
]
},
{
- "id": "33dfc44e.7fcfec",
+ "id": "cfce49f3.f79c98",
"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": 2286.2777709960938,
- "y": 1469.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2194.75,
+ "y": 1419.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "a0230d06.2b562",
+ "id": "e2033152.6ac3e",
"type": "execute",
"name": "patch PLMNInfoListEntry ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.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=\"patch-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": 2315.277786254883,
- "y": 1544.7500414848328,
- "z": "ecab9296.c8bb5",
+ "x": 2223.750015258789,
+ "y": 1494.75004529953,
+ "z": "759e49d3.adb538",
"wires": [
[
- "1611afed.23ffc",
- "c6160ccd.43539"
+ "bca4f806.acaf78",
+ "3687dc64.7965e4"
]
]
},
{
- "id": "6822adf8.543824",
+ "id": "8c5e0143.9a807",
"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/instantiateRANSliceModifyAllocate.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": 2280.2778549194336,
- "y": 1506.750102519989,
- "z": "ecab9296.c8bb5",
+ "x": 2188.75008392334,
+ "y": 1456.7501063346863,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "882e7a80.d74e58",
+ "id": "33ce0cbb.f24934",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2151.2777709960938,
- "y": 1052.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2059.75,
+ "y": 1002.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "33dfc44e.7fcfec",
- "6822adf8.543824",
- "a0230d06.2b562",
- "4724cb0f.9daf64",
- "19e0241b.9cd70c",
- "edb92967.0e18f8",
- "a7b6d79c.8829b8",
- "8901584a.ca65c8",
- "52873cd.a7928c4",
- "e6011289.53a58",
- "2cf8049f.4b337c"
+ "cfce49f3.f79c98",
+ "8c5e0143.9a807",
+ "e2033152.6ac3e",
+ "315960eb.d54c",
+ "36616e5c.37c822",
+ "7263aeeb.44e3e",
+ "7278acee.486974",
+ "264a7ee6.a24eb2",
+ "37abe676.ea6d5a",
+ "6310f520.7ba69c",
+ "aae2cdd.6be563"
]
]
},
{
- "id": "1611afed.23ffc",
+ "id": "bca4f806.acaf78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2571.2778854370117,
- "y": 1594.750210762024,
- "z": "ecab9296.c8bb5",
+ "x": 2479.750114440918,
+ "y": 1544.7502145767212,
+ "z": "759e49d3.adb538",
"wires": [
[
- "8555826b.8073e"
+ "b5db8475.ac9318"
]
]
},
{
- "id": "8555826b.8073e",
+ "id": "b5db8475.ac9318",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2744.277671813965,
- "y": 1593.7502717971802,
- "z": "ecab9296.c8bb5",
+ "x": 2652.749900817871,
+ "y": 1543.7502756118774,
+ "z": "759e49d3.adb538",
"wires": [
[
- "25c76a36.46adf6"
+ "b28bad78.371f7"
]
]
},
{
- "id": "25c76a36.46adf6",
+ "id": "b28bad78.371f7",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 2942.277732849121,
- "y": 1590.7503938674927,
- "z": "ecab9296.c8bb5",
+ "x": 2850.7499618530273,
+ "y": 1540.75039768219,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "c6160ccd.43539",
+ "id": "3687dc64.7965e4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2536.2778549194336,
- "y": 1477.749966621399,
- "z": "ecab9296.c8bb5",
+ "x": 2444.75008392334,
+ "y": 1427.7499704360962,
+ "z": "759e49d3.adb538",
"wires": [
[
- "a2dd1082.75323"
+ "8bd3ec20.33ea1"
]
]
},
{
- "id": "a2dd1082.75323",
+ "id": "8bd3ec20.33ea1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2686.2781295776367,
- "y": 1436.7501497268677,
- "z": "ecab9296.c8bb5",
+ "x": 2594.750358581543,
+ "y": 1386.750153541565,
+ "z": "759e49d3.adb538",
"wires": [
[
- "93c97fee.70da5",
- "539fbec5.c3f24",
- "dd5a532a.31de7"
+ "6e5507a6.947d98",
+ "2a8f179e.e88ed8",
+ "24da6566.d832ba"
]
]
},
{
- "id": "93c97fee.70da5",
+ "id": "6e5507a6.947d98",
"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": 2857.277763366699,
- "y": 1497.750210762024,
- "z": "ecab9296.c8bb5",
+ "x": 2765.7499923706055,
+ "y": 1447.7502145767212,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "539fbec5.c3f24",
+ "id": "2a8f179e.e88ed8",
"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": 2852.2778854370117,
- "y": 1402.7501497268677,
- "z": "ecab9296.c8bb5",
+ "x": 2760.750114440918,
+ "y": 1352.750153541565,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "4724cb0f.9daf64",
+ "id": "315960eb.d54c",
"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": 2368.2777709960938,
- "y": 1279.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2276.75,
+ "y": 1229.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "19e0241b.9cd70c",
+ "id": "36616e5c.37c822",
"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": 2329.2777709960938,
- "y": 1347.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2237.75,
+ "y": 1297.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "edb92967.0e18f8",
+ "id": "7263aeeb.44e3e",
"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": 2296.2777709960938,
- "y": 1405.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2204.75,
+ "y": 1355.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "e128ba2b.0271c8",
+ "id": "fb834b7f.07d058",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1606.2777709960938,
- "y": 1352.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 1514.75,
+ "y": 1302.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "8889a908.a7eeb8",
+ "id": "ff2694ed.8d44c8",
"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": 1647.2777709960938,
- "y": 1401.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 1555.75,
+ "y": 1351.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "a7b6d79c.8829b8",
+ "id": "7278acee.486974",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2374.2777709960938,
- "y": 1115.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2282.75,
+ "y": 1065.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "b37bf738.d5c038",
- "4af07c3f.5bcf94"
+ "3afc0370.09ffac",
+ "6a23acdd.3a0f24"
]
]
},
{
- "id": "b37bf738.d5c038",
+ "id": "3afc0370.09ffac",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2582.2777709960938,
- "y": 1080.7497491836548,
- "z": "ecab9296.c8bb5",
+ "x": 2490.75,
+ "y": 1030.749752998352,
+ "z": "759e49d3.adb538",
"wires": [
[
- "e6d8c1e4.44fd5"
+ "3e8db4ec.d3f08c"
]
]
},
{
- "id": "e6d8c1e4.44fd5",
+ "id": "3e8db4ec.d3f08c",
"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": 2902.2777709960938,
- "y": 1095.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2810.75,
+ "y": 1045.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "4af07c3f.5bcf94",
+ "id": "6a23acdd.3a0f24",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2570.2777709960938,
- "y": 1182.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2478.75,
+ "y": 1132.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "b5b52336.410c8"
+ "f066a98c.b53548"
]
]
},
{
- "id": "8901584a.ca65c8",
+ "id": "264a7ee6.a24eb2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1929.2777709960938,
- "y": 1866.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 1837.75,
+ "y": 1816.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "9caed6bf.227748",
- "bfa7bf54.50cee",
- "e9b83795.78e768",
- "859856d2.8ff3d8",
- "ee648713.59eb88",
- "199042fe.6ade4d",
- "24fc98b8.40ad88",
- "44cbbc9e.66bad4",
- "c7cf6a0a.7602d8",
- "1a62fde5.66d4f2",
- "286ddbec.57d7c4"
+ "d883af29.fc32a",
+ "44cfab74.c73c24",
+ "243c7b71.bc25b4",
+ "820a74d8.98abe8",
+ "b5cc076a.1a2f88",
+ "1b8a120e.c94b9e",
+ "3667de28.b5b912",
+ "d7eed26c.50d1a",
+ "4cd7f162.536ce",
+ "2af6d7eb.224e68",
+ "8ee56bd1.fa1718"
]
]
},
{
- "id": "9caed6bf.227748",
+ "id": "d883af29.fc32a",
"type": "set",
"name": "Calculate maxNumberOfConnsPercellCU",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n",
"comments": "",
- "x": 2185.277910232544,
- "y": 1637.7501010894775,
- "z": "ecab9296.c8bb5",
+ "x": 2093.75013923645,
+ "y": 1587.7501049041748,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "bfa7bf54.50cee",
+ "id": "44cfab74.c73c24",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio temp1 - \"/>\n<parameter name=\"field2\" value=\"`$tmp.maxNumberOfConnsPercellCU`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio temp2 - \"/>\n<parameter name=\"field4\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU1`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.rRMPolicyDedicatedRatio_SliceProfile`\"/>",
"comments": "",
"outputs": 1,
- "x": 2128.2778453826904,
- "y": 1765.7500705718994,
- "z": "ecab9296.c8bb5",
+ "x": 2036.7500743865967,
+ "y": 1715.7500743865967,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "e9b83795.78e768",
+ "id": "243c7b71.bc25b4",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2149.2778453826904,
- "y": 1801.7500400543213,
- "z": "ecab9296.c8bb5",
+ "x": 2057.7500743865967,
+ "y": 1751.7500438690186,
+ "z": "759e49d3.adb538",
"wires": [
[
- "eca2cb2.9c54538",
- "7f6e77c.a8aac88"
+ "17f906ee.fdd429",
+ "5917f308.c923fc"
]
]
},
{
- "id": "eca2cb2.9c54538",
+ "id": "17f906ee.fdd429",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2329.2777709960938,
- "y": 1739.7497491836548,
- "z": "ecab9296.c8bb5",
+ "x": 2237.75,
+ "y": 1689.749752998352,
+ "z": "759e49d3.adb538",
"wires": [
[
- "e258ca0a.72ec58"
+ "96d6cd4a.907b9"
]
]
},
{
- "id": "e258ca0a.72ec58",
+ "id": "96d6cd4a.907b9",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellCU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2607.2777709960938,
- "y": 1731.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2515.75,
+ "y": 1681.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "859856d2.8ff3d8",
+ "id": "820a74d8.98abe8",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2186.2777709960938,
- "y": 1844.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2094.75,
+ "y": 1794.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "ee648713.59eb88",
+ "id": "b5cc076a.1a2f88",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2185.277811050415,
- "y": 1884.7500133514404,
- "z": "ecab9296.c8bb5",
+ "x": 2093.7500400543213,
+ "y": 1834.7500171661377,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "874a9bd9.e5b518",
+ "id": "f21d518b.c4569",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2442.277750015259,
- "y": 1987.7501049041748,
- "z": "ecab9296.c8bb5",
+ "x": 2350.749979019165,
+ "y": 1937.750108718872,
+ "z": "759e49d3.adb538",
"wires": [
[
- "9d7eb3e9.03b87"
+ "111e16ae.8da919"
]
]
},
{
- "id": "9d7eb3e9.03b87",
+ "id": "111e16ae.8da919",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2601.2776489257812,
- "y": 2024.7501153945923,
- "z": "ecab9296.c8bb5",
+ "x": 2509.7498779296875,
+ "y": 1974.7501192092896,
+ "z": "759e49d3.adb538",
"wires": [
[
- "162e9419.1f338c",
- "66de30e8.1abc9"
+ "915386e5.100cf8",
+ "3e1bce91.1c0fb2"
]
]
},
{
- "id": "162e9419.1f338c",
+ "id": "915386e5.100cf8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2752.2777576446533,
- "y": 1992.7503190040588,
- "z": "ecab9296.c8bb5",
+ "x": 2660.7499866485596,
+ "y": 1942.750322818756,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "1e4cd16.6779c2f",
+ "id": "55ede1ab.ea75e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2439.277723312378,
- "y": 1894.7500133514404,
- "z": "ecab9296.c8bb5",
+ "x": 2347.749952316284,
+ "y": 1844.7500171661377,
+ "z": "759e49d3.adb538",
"wires": [
[
- "9d6caf15.b08f4"
+ "3c1279f2.1ce766"
]
]
},
{
- "id": "9d6caf15.b08f4",
+ "id": "3c1279f2.1ce766",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2591.2780151367188,
- "y": 1892.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2499.750244140625,
+ "y": 1842.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "6bdcf3ef.3de21c",
- "c8eb5f5.7095da",
- "dd5a532a.31de7"
+ "70c48433.058cac",
+ "6dbcf243.6696ec",
+ "24da6566.d832ba"
]
]
},
{
- "id": "6bdcf3ef.3de21c",
+ "id": "70c48433.058cac",
"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 in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2762.2776489257812,
- "y": 1953.750054359436,
- "z": "ecab9296.c8bb5",
+ "x": 2670.7498779296875,
+ "y": 1903.7500581741333,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "c8eb5f5.7095da",
+ "id": "6dbcf243.6696ec",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2757.2777709960938,
- "y": 1858.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2665.75,
+ "y": 1808.749997138977,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "199042fe.6ade4d",
+ "id": "1b8a120e.c94b9e",
"type": "execute",
"name": "fetch RRMPolicyRatio - NRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-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": 2218.277841567993,
- "y": 1939.7500133514404,
- "z": "ecab9296.c8bb5",
+ "x": 2126.7500705718994,
+ "y": 1889.7500171661377,
+ "z": "759e49d3.adb538",
"wires": [
[
- "1e4cd16.6779c2f",
- "874a9bd9.e5b518"
+ "55ede1ab.ea75e",
+ "f21d518b.c4569"
]
]
},
{
- "id": "66de30e8.1abc9",
+ "id": "3e1bce91.1c0fb2",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2778.277696609497,
- "y": 2025.7500438690186,
- "z": "ecab9296.c8bb5",
+ "x": 2686.7499256134033,
+ "y": 1975.7500476837158,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "24fc98b8.40ad88",
+ "id": "3667de28.b5b912",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2121.2777709960938,
- "y": 2129.7502222061157,
- "z": "ecab9296.c8bb5",
+ "x": 2029.75,
+ "y": 2079.750226020813,
+ "z": "759e49d3.adb538",
"wires": [
[
- "44a4d00d.c80db"
+ "f34c8bf6.6df258"
]
]
},
{
- "id": "44a4d00d.c80db",
+ "id": "f34c8bf6.6df258",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2342.2777709960938,
- "y": 2149.7502222061157,
- "z": "ecab9296.c8bb5",
+ "x": 2250.75,
+ "y": 2099.750226020813,
+ "z": "759e49d3.adb538",
"wires": [
[
- "e78a4f0f.bce4c",
- "e6c4828b.edd3c",
- "27dba04e.02ff",
- "36b8da14.33d876",
- "8be06558.e14bf8",
- "ba00bd4a.546d6",
- "cb603df3.12a5a",
- "c282a260.9d8de",
- "b3c3cf99.6f492",
- "8f54fffc.9c001",
- "148d5e51.205352"
+ "59243738.c4dc48",
+ "3edf4b2a.306634",
+ "a0afcdc.d95b73",
+ "5c1b94cd.7a5e4c",
+ "66a7148b.8c2f6c",
+ "2571909d.7ead5",
+ "510e1bea.eaddd4",
+ "6aae55af.746a8c",
+ "84f94ac7.29a9f8",
+ "c5d98457.57fed8",
+ "c24f6f07.1cb2f"
]
]
},
{
- "id": "e78a4f0f.bce4c",
+ "id": "59243738.c4dc48",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_new' value='`$tmp.rrmPolicyDedicatedRatiocellCU_old + $tmp.rRMPolicyDedicatedRatio_SliceProfile`' />",
"comments": "",
- "x": 2660.2777881622314,
- "y": 2109.7502908706665,
- "z": "ecab9296.c8bb5",
+ "x": 2568.7500171661377,
+ "y": 2059.7502946853638,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "e6c4828b.edd3c",
+ "id": "3edf4b2a.306634",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Existing RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatiocellCU_old`\"/>\n<parameter name=\"field3\" value=\"Updated RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field4\" value=\"`$tmp.rrmPolicyDedicatedRatio_CellCU_new`\"/>",
"comments": "",
"outputs": 1,
- "x": 2585.2778186798096,
- "y": 2143.7499866485596,
- "z": "ecab9296.c8bb5",
+ "x": 2493.750047683716,
+ "y": 2093.749990463257,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "27dba04e.02ff",
+ "id": "a0afcdc.d95b73",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2635.2777709960938,
- "y": 2177.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 2543.75,
+ "y": 2127.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "48924713.d17858",
- "e3bb4f1.511c9b"
+ "91da454a.8df758",
+ "ed3d4504.d50d98"
]
]
},
{
- "id": "48924713.d17858",
+ "id": "91da454a.8df758",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2916.388816833496,
- "y": 2105.8610315322876,
- "z": "ecab9296.c8bb5",
+ "x": 2824.8610458374023,
+ "y": 2055.861035346985,
+ "z": "759e49d3.adb538",
"wires": [
[
- "779fca32.3495e4"
+ "abaaf061.485d8"
]
]
},
{
- "id": "779fca32.3495e4",
+ "id": "abaaf061.485d8",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellCU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3161.278175354004,
- "y": 2107.638882637024,
- "z": "ecab9296.c8bb5",
+ "x": 3069.75040435791,
+ "y": 2057.638886451721,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "36b8da14.33d876",
+ "id": "5c1b94cd.7a5e4c",
"type": "execute",
"name": "patch NRCellCU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.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=\"patch-cellCU-RRMPolicyRatio-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": 2673.166549682617,
- "y": 2355.416706085205,
- "z": "ecab9296.c8bb5",
+ "x": 2581.6387786865234,
+ "y": 2305.4167098999023,
+ "z": "759e49d3.adb538",
"wires": [
[
- "19a156b1.f32ab9",
- "257d1061.7fc23"
+ "1b0ecdda.6496a2",
+ "3df22710.ba4e68"
]
]
},
{
- "id": "19a156b1.f32ab9",
+ "id": "1b0ecdda.6496a2",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2936.2777709960938,
- "y": 2340.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 2844.75,
+ "y": 2290.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "9b9c1569.6f8068"
+ "cba6ab19.9bfc58"
]
]
},
{
- "id": "9b9c1569.6f8068",
+ "id": "cba6ab19.9bfc58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3127.2777709960938,
- "y": 2340.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3035.75,
+ "y": 2290.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "8eb39019.8e726"
+ "71a8f142.9056d"
]
]
},
{
- "id": "8eb39019.8e726",
+ "id": "71a8f142.9056d",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 3312.2775268554688,
- "y": 2341.750237464905,
- "z": "ecab9296.c8bb5",
+ "x": 3220.749755859375,
+ "y": 2291.750241279602,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "257d1061.7fc23",
+ "id": "3df22710.ba4e68",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2935.2777709960938,
- "y": 2428.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 2843.75,
+ "y": 2378.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "39629f26.1f32c"
+ "217bb0db.2105b"
]
]
},
{
- "id": "39629f26.1f32c",
+ "id": "217bb0db.2105b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3154.2780151367188,
- "y": 2433.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3062.750244140625,
+ "y": 2383.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "4bcb96b0.5c6438",
- "41d5ec67.b7e364",
- "dd5a532a.31de7"
+ "8581e932.8b5f68",
+ "647b2b81.9dc534",
+ "24da6566.d832ba"
]
]
},
{
- "id": "4bcb96b0.5c6438",
+ "id": "8581e932.8b5f68",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3399.2776489257812,
- "y": 2479.750054359436,
- "z": "ecab9296.c8bb5",
+ "x": 3307.7498779296875,
+ "y": 2429.7500581741333,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "41d5ec67.b7e364",
+ "id": "647b2b81.9dc534",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3394.2777709960938,
- "y": 2384.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3302.75,
+ "y": 2334.749997138977,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "44cbbc9e.66bad4",
+ "id": "d7eed26c.50d1a",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2105.2777709960938,
- "y": 2079.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 2013.75,
+ "y": 2029.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "a7b5e345.afac6",
+ "id": "db543ed1.a7e94",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1857.2777709960938,
- "y": 1354.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 1765.75,
+ "y": 1304.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "3fcfd799.26f778"
+ "451a06f1.e68438"
]
]
},
{
- "id": "52873cd.a7928c4",
+ "id": "37abe676.ea6d5a",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field2\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2346.2777709960938,
- "y": 1047.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2254.75,
+ "y": 997.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "e6011289.53a58",
+ "id": "6310f520.7ba69c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1746.2777252197266,
- "y": 2331.7500047683716,
- "z": "ecab9296.c8bb5",
+ "x": 1654.7499542236328,
+ "y": 2281.750008583069,
+ "z": "759e49d3.adb538",
"wires": [
[
- "cab0c653.68fca8",
- "1031436d.d4c14d",
- "8f418c29.a17f4",
- "ca3912f.d1798f",
- "29ac3d55.731702",
- "295dcd8f.d34882",
- "e67c1235.a668b",
- "4639f97.7feb608",
- "79add8fe.1d3c58",
- "30531c3.32959e4",
- "5b1ca906.eba328"
+ "b2a1bbcc.826408",
+ "678682c0.b94e4c",
+ "c2224ad0.15c998",
+ "16923767.56c8d9",
+ "c94ce5be.aa8a58",
+ "b3e4cb3c.f52fe8",
+ "e4fcb239.0de",
+ "184dd5a5.577a3a",
+ "80361e5c.20845",
+ "186543e1.ed936c"
]
]
},
{
- "id": "cab0c653.68fca8",
+ "id": "b2a1bbcc.826408",
"type": "execute",
"name": "Update cellCU for gNBCUCP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUCP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-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": 2029.2777252197266,
- "y": 2331.7500047683716,
- "z": "ecab9296.c8bb5",
+ "x": 1937.7499542236328,
+ "y": 2281.750008583069,
+ "z": "759e49d3.adb538",
"wires": [
[
- "31364e32.2027c2",
- "e32e339f.5cb42"
+ "4bb8bdd2.9a73b4",
+ "11ea4181.a4e4fe"
]
]
},
{
- "id": "e32e339f.5cb42",
+ "id": "11ea4181.a4e4fe",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2303.2778549194336,
- "y": 2388.750114440918,
- "z": "ecab9296.c8bb5",
+ "x": 2211.75008392334,
+ "y": 2338.7501182556152,
+ "z": "759e49d3.adb538",
"wires": [
[
- "db869b45.96ea18"
+ "324f6e56.5f7042"
]
]
},
{
- "id": "31364e32.2027c2",
+ "id": "4bb8bdd2.9a73b4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2300.7222900390625,
- "y": 2350.5280332565308,
- "z": "ecab9296.c8bb5",
+ "x": 2209.1945190429688,
+ "y": 2300.528037071228,
+ "z": "759e49d3.adb538",
"wires": [
[
- "b1f9e8c8.11fee8"
+ "a53eedff.333a3"
]
]
},
{
- "id": "b1f9e8c8.11fee8",
+ "id": "a53eedff.333a3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2508.2777252197266,
- "y": 2418.7500047683716,
- "z": "ecab9296.c8bb5",
+ "x": 2416.749954223633,
+ "y": 2368.750008583069,
+ "z": "759e49d3.adb538",
"wires": [
[
- "4fa6deb.8eba52",
- "404a2781.cb3848",
- "dd5a532a.31de7"
+ "52d3db38.e54d84",
+ "6bf1410b.82db5",
+ "24da6566.d832ba"
]
]
},
{
- "id": "404a2781.cb3848",
+ "id": "6bf1410b.82db5",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2675.388687133789,
- "y": 2393.416693687439,
- "z": "ecab9296.c8bb5",
+ "x": 2583.8609161376953,
+ "y": 2343.4166975021362,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "4fa6deb.8eba52",
+ "id": "52d3db38.e54d84",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2732.6106872558594,
- "y": 2454.1943731307983,
- "z": "ecab9296.c8bb5",
+ "x": 2641.0829162597656,
+ "y": 2404.1943769454956,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "7dc5f273.6d6e8c",
+ "id": "4a5466e7.a36c38",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 2576.3889389038086,
- "y": 2462.972159385681,
- "z": "ecab9296.c8bb5",
+ "x": 2484.861167907715,
+ "y": 2412.9721632003784,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "db869b45.96ea18",
+ "id": "324f6e56.5f7042",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2435.722270965576,
- "y": 2460.3055124282837,
- "z": "ecab9296.c8bb5",
+ "x": 2344.1944999694824,
+ "y": 2410.305516242981,
+ "z": "759e49d3.adb538",
"wires": [
[
- "7dc5f273.6d6e8c"
+ "4a5466e7.a36c38"
]
]
},
{
- "id": "1031436d.d4c14d",
+ "id": "4f25ca6f.2ed7e4",
"type": "execute",
"name": "Update RRMPolicy for gNBCUCP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-rrmpolicy-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": 2050.2777709960938,
- "y": 2617.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 2078.7500610351562,
+ "y": 2651.750153541565,
+ "z": "759e49d3.adb538",
"wires": [
[
- "460b691c.339e68",
- "c97bdf3e.ba40a"
+ "bb36658c.fec7b8",
+ "14aa29c2.5f4dd6"
]
]
},
{
- "id": "460b691c.339e68",
+ "id": "bb36658c.fec7b8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2350.500072479248,
- "y": 2628.861020088196,
- "z": "ecab9296.c8bb5",
+ "x": 2395.9724349975586,
+ "y": 2573.8614196777344,
+ "z": "759e49d3.adb538",
"wires": [
[
- "4a0eb18.9b9485"
+ "a7f4fc11.29da2"
]
]
},
{
- "id": "c97bdf3e.ba40a",
+ "id": "14aa29c2.5f4dd6",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2348.2777709960938,
- "y": 2677.749749183655,
- "z": "ecab9296.c8bb5",
+ "x": 2336.7500534057617,
+ "y": 2632.7497873306274,
+ "z": "759e49d3.adb538",
"wires": [
[
- "f0f38d2d.ffe45"
+ "1e128f6d.125ef1"
]
]
},
{
- "id": "4a0eb18.9b9485",
+ "id": "a7f4fc11.29da2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2691.277717590332,
- "y": 2624.7499866485596,
- "z": "ecab9296.c8bb5",
+ "x": 2599.7499465942383,
+ "y": 2574.749990463257,
+ "z": "759e49d3.adb538",
"wires": [
[
- "18dbad94.def5b2",
- "d4da7a32.2d7768",
- "dd5a532a.31de7"
+ "dba7be20.2143b",
+ "73ad5d82.73f644",
+ "24da6566.d832ba"
]
]
},
{
- "id": "d4da7a32.2d7768",
+ "id": "73ad5d82.73f644",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2872.8330154418945,
- "y": 2618.527932167053,
- "z": "ecab9296.c8bb5",
+ "x": 2781.305244445801,
+ "y": 2568.5279359817505,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "18dbad94.def5b2",
+ "id": "dba7be20.2143b",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2867.832862854004,
- "y": 2656.8612146377563,
- "z": "ecab9296.c8bb5",
+ "x": 2776.30509185791,
+ "y": 2606.8612184524536,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "f0f38d2d.ffe45",
+ "id": "1e128f6d.125ef1",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2529.2777709960938,
- "y": 2671.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 2464.7499923706055,
+ "y": 2630.7500314712524,
+ "z": "759e49d3.adb538",
"wires": [
[
- "124303f5.c46bbc"
+ "8795e484.b9d868"
]
]
},
{
- "id": "124303f5.c46bbc",
+ "id": "8795e484.b9d868",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 2695.2777709960938,
- "y": 2672.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 2603.75,
+ "y": 2622.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "eda7021e.42543",
+ "id": "e1a056f0.6d4398",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 642.2777709960938,
- "y": 1511.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 550.75,
+ "y": 1461.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "c6b13c72.e3d36",
- "25c8461e.97134a",
- "fea4da3b.bcfee8"
+ "1ef058f2.6cc2e7",
+ "41e8f97e.2f28a8",
+ "6250c47b.2e440c"
]
]
},
{
- "id": "c6b13c72.e3d36",
+ "id": "1ef058f2.6cc2e7",
"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": 973.2777709960938,
- "y": 1521.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 881.75,
+ "y": 1471.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "25c8461e.97134a",
+ "id": "41e8f97e.2f28a8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUUP 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": 945.2777709960938,
- "y": 1586.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 853.75,
+ "y": 1536.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "fea4da3b.bcfee8",
+ "id": "6250c47b.2e440c",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 973.2777709960938,
- "y": 1661.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 881.75,
+ "y": 1611.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "40823d38.9d16f4"
+ "3569862e.6dec4a"
]
]
},
{
- "id": "40823d38.9d16f4",
+ "id": "3569862e.6dec4a",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1194.2777709960938,
- "y": 1668.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 1102.75,
+ "y": 1618.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "3528e116.e7894e",
- "e7bc5124.45b36",
- "342badce.4abd62"
+ "4f6e4831.5ed598",
+ "56233258.f35f6c",
+ "7a2506c7.56bb28"
]
]
},
{
- "id": "3528e116.e7894e",
+ "id": "4f6e4831.5ed598",
"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": 1448.2777786254883,
- "y": 1490.5277490615845,
- "z": "ecab9296.c8bb5",
+ "x": 1356.7500076293945,
+ "y": 1440.5277528762817,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "e7bc5124.45b36",
+ "id": "56233258.f35f6c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1427.6111221313477,
- "y": 1542.3055491447449,
- "z": "ecab9296.c8bb5",
+ "x": 1336.083351135254,
+ "y": 1492.3055529594421,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "342badce.4abd62",
+ "id": "7a2506c7.56bb28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1427.2777709960938,
- "y": 2752.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 1335.75,
+ "y": 2702.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "21f29aee.0eff86",
- "94e7e0a7.b58c3",
- "c27a2824.18ffe8",
- "821dc568.77ed88",
- "48166ee0.cdff5",
- "c9836807.47c9b8",
- "1ba6a41f.c38c2c",
- "43557902.4f4158",
- "b151ef4e.63d69",
- "157cf93d.767517",
- "11b56769.6027f9",
- "69ec533e.600d9c",
- "14b3dc4d.71ca44",
- "d4cbbf53.53515",
- "a36cc0c6.861ae",
- "2ff98ab1.8da426",
- "46dc7d95.4c06c4",
- "304737db.ae6f58",
- "bbd1f9a3.442938"
+ "1058528.853f1ae",
+ "d84beea.957411",
+ "c5f6d3d4.1bebd",
+ "23364ec2.9ea012",
+ "b8a16d7e.14bea",
+ "cdf34eac.fa4e9",
+ "9eb1ae8c.9a2b3",
+ "972753f6.2403c",
+ "d3773808.91cee8",
+ "829407fd.e9b088",
+ "95a274b3.8c6eb8",
+ "c5fe3b99.1d3e78",
+ "a1b8c8f8.74d788",
+ "19ef14fc.39bc0b",
+ "e10674b2.c2e2b8",
+ "90ddb2d0.d87ff",
+ "4d887879.598528",
+ "a8b910c1.35bd6",
+ "a955d476.950388"
]
]
},
{
- "id": "c27a2824.18ffe8",
+ "id": "c5f6d3d4.1bebd",
"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-NRCellCU.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=\"patch-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": 1741.9445495605469,
- "y": 2955.194511413574,
- "z": "ecab9296.c8bb5",
+ "x": 1650.4167785644531,
+ "y": 2905.1945152282715,
+ "z": "759e49d3.adb538",
"wires": [
[
- "17c00fc4.0c225",
- "828b843e.8f20a8"
+ "f3e16298.71ef4",
+ "47f2ff0d.0ad4b"
]
]
},
{
- "id": "17c00fc4.0c225",
+ "id": "f3e16298.71ef4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2038.3890190124512,
- "y": 2986.0835132598877,
- "z": "ecab9296.c8bb5",
+ "x": 1946.8612480163574,
+ "y": 2936.083517074585,
+ "z": "759e49d3.adb538",
"wires": [
[
- "ac880ef2.b7ff8"
+ "36698001.c5eb7"
]
]
},
{
- "id": "ac880ef2.b7ff8",
+ "id": "36698001.c5eb7",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2227.6112899780273,
- "y": 2972.861393928528,
- "z": "ecab9296.c8bb5",
+ "x": 2136.0835189819336,
+ "y": 2922.861397743225,
+ "z": "759e49d3.adb538",
"wires": [
[
- "b619434f.2071",
- "bdfa000d.a6bf6",
- "dd5a532a.31de7"
+ "473bd742.5bc978",
+ "d183a628.44c948",
+ "24da6566.d832ba"
]
]
},
{
- "id": "bdfa000d.a6bf6",
+ "id": "d183a628.44c948",
"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": 2458.611301422119,
- "y": 2934.639319419861,
- "z": "ecab9296.c8bb5",
+ "x": 2367.0835304260254,
+ "y": 2884.639323234558,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "b619434f.2071",
+ "id": "473bd742.5bc978",
"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": 2485.8337936401367,
- "y": 2975.3060750961304,
- "z": "ecab9296.c8bb5",
+ "x": 2394.306022644043,
+ "y": 2925.3060789108276,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "48625087.b9c9e",
+ "id": "14efed05.9abe53",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 2400.944194793701,
- "y": 3016.9724130630493,
- "z": "ecab9296.c8bb5",
+ "x": 2309.4164237976074,
+ "y": 2966.9724168777466,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "d5e14c57.5e601",
+ "id": "d534110d.ead13",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2214.611011505127,
- "y": 3022.5279817581177,
- "z": "ecab9296.c8bb5",
+ "x": 2123.083240509033,
+ "y": 2972.527985572815,
+ "z": "759e49d3.adb538",
"wires": [
[
- "48625087.b9c9e"
+ "14efed05.9abe53"
]
]
},
{
- "id": "828b843e.8f20a8",
+ "id": "47f2ff0d.0ad4b",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2029.055519104004,
- "y": 3026.4169912338257,
- "z": "ecab9296.c8bb5",
+ "x": 1937.5277481079102,
+ "y": 2976.416995048523,
+ "z": "759e49d3.adb538",
"wires": [
[
- "d5e14c57.5e601"
+ "d534110d.ead13"
]
]
},
{
- "id": "21f29aee.0eff86",
+ "id": "1058528.853f1ae",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1694.2777709960938,
- "y": 2754.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 1602.75,
+ "y": 2704.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "c4866ad0.39c4e8",
- "7473b922.9a0358"
+ "7f383c74.1f9204",
+ "570f2eed.3959d"
]
]
},
{
- "id": "c4866ad0.39c4e8",
+ "id": "7f383c74.1f9204",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1902.2777709960938,
- "y": 2719.749749183655,
- "z": "ecab9296.c8bb5",
+ "x": 1810.75,
+ "y": 2669.749752998352,
+ "z": "759e49d3.adb538",
"wires": [
[
- "b3310007.d5e61"
+ "2e5ad0c9.560c8"
]
]
},
{
- "id": "7473b922.9a0358",
+ "id": "570f2eed.3959d",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1885.8334350585938,
- "y": 2770.6389875411987,
- "z": "ecab9296.c8bb5",
+ "x": 1794.3056640625,
+ "y": 2720.638991355896,
+ "z": "759e49d3.adb538",
"wires": [
[
- "3e7fc5f2.be339a"
+ "29d32973.cf8926"
]
]
},
{
- "id": "b3310007.d5e61",
+ "id": "2e5ad0c9.560c8",
"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": 2222.2777709960938,
- "y": 2734.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 2130.75,
+ "y": 2684.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "94e7e0a7.b58c3",
+ "id": "d84beea.957411",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"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": 1705.9443969726562,
- "y": 2799.3057079315186,
- "z": "ecab9296.c8bb5",
+ "x": 1614.4166259765625,
+ "y": 2749.305711746216,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "8be06558.e14bf8",
+ "id": "66a7148b.8c2f6c",
"type": "set",
"name": "RRMPolicyRatio id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />\n",
"comments": "",
- "x": 2637.055938720703,
- "y": 2253.5274801254272,
- "z": "ecab9296.c8bb5",
+ "x": 2545.5281677246094,
+ "y": 2203.5274839401245,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "ba00bd4a.546d6",
+ "id": "2571909d.7ead5",
"type": "set",
"name": "RRMPolicyMember Id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.rrmPolicyMembers+1`'/>\n",
"comments": "",
- "x": 2648.055679321289,
- "y": 2289.4170446395874,
- "z": "ecab9296.c8bb5",
+ "x": 2556.5279083251953,
+ "y": 2239.4170484542847,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "821dc568.77ed88",
+ "id": "23364ec2.9ea012",
"type": "set",
"name": "Calculate rRMPolicyDedicatedRatio Temp",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n",
"comments": "",
- "x": 1763.8335723876953,
- "y": 3064.973126411438,
- "z": "ecab9296.c8bb5",
+ "x": 1672.3058013916016,
+ "y": 3014.9731302261353,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "48166ee0.cdff5",
+ "id": "b8a16d7e.14bea",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio-CUUP`\"/>",
"comments": "",
"outputs": 1,
- "x": 1667.6113014221191,
- "y": 3129.1949515342712,
- "z": "ecab9296.c8bb5",
+ "x": 1576.0835304260254,
+ "y": 3079.1949553489685,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "c9836807.47c9b8",
+ "id": "cdf34eac.fa4e9",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1685.2777709960938,
- "y": 3169.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 1593.75,
+ "y": 3119.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "ccf3c09b.00194",
- "daec73d6.40c28"
+ "2be6f2be.3df0ee",
+ "cd497a23.aae548"
]
]
},
{
- "id": "ccf3c09b.00194",
+ "id": "2be6f2be.3df0ee",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1863.2777709960938,
- "y": 3136.749749183655,
- "z": "ecab9296.c8bb5",
+ "x": 1771.75,
+ "y": 3086.749752998352,
+ "z": "759e49d3.adb538",
"wires": [
[
- "d83af7ba.bc8058"
+ "f34b5e2a.c9d71"
]
]
},
{
- "id": "d83af7ba.bc8058",
+ "id": "f34b5e2a.c9d71",
"type": "execute",
"name": "fetch RRMPolicyRatio CUUP - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2158.277801513672,
- "y": 3082.7500495910645,
- "z": "ecab9296.c8bb5",
+ "x": 2066.750030517578,
+ "y": 3032.7500534057617,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "1ba6a41f.c38c2c",
+ "id": "9eb1ae8c.9a2b3",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1722.2778549194336,
- "y": 3224.75000667572,
- "z": "ecab9296.c8bb5",
+ "x": 1630.7500839233398,
+ "y": 3174.7500104904175,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "43557902.4f4158",
+ "id": "972753f6.2403c",
"type": "execute",
"name": "fetch RRMPolicyRatio - CUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-cuup-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": 1711.278091430664,
- "y": 3330.7500352859497,
- "z": "ecab9296.c8bb5",
+ "x": 1619.7503204345703,
+ "y": 3280.750039100647,
+ "z": "759e49d3.adb538",
"wires": [
[
- "bf4d51cf.bdf42",
- "3a68aacb.1f5256"
+ "e79c8ddc.2d4c",
+ "af552399.6a41c"
]
]
},
{
- "id": "bf4d51cf.bdf42",
+ "id": "e79c8ddc.2d4c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1968.2778663635254,
- "y": 3271.750171661377,
- "z": "ecab9296.c8bb5",
+ "x": 1876.7500953674316,
+ "y": 3221.750175476074,
+ "z": "759e49d3.adb538",
"wires": [
[
- "de80ac45.5374a"
+ "ddb6455a.3d8fd8"
]
]
},
{
- "id": "de80ac45.5374a",
+ "id": "ddb6455a.3d8fd8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2129.2780151367188,
- "y": 3290.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 2037.750244140625,
+ "y": 3240.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "5d79f9c5.14c278",
- "61c01400.b9f29c",
- "dd5a532a.31de7"
+ "f63a8f72.c7e34",
+ "92d3e352.5f9a",
+ "24da6566.d832ba"
]
]
},
{
- "id": "61c01400.b9f29c",
+ "id": "92d3e352.5f9a",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2295.2777709960938,
- "y": 3256.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 2203.75,
+ "y": 3206.749997138977,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "5d79f9c5.14c278",
+ "id": "f63a8f72.c7e34",
"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 in fetching RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2351.3885803222656,
- "y": 3300.639016151428,
- "z": "ecab9296.c8bb5",
+ "x": 2259.860809326172,
+ "y": 3250.6390199661255,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "2ffa2827.57bd28",
+ "id": "e6246d05.b4426",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2336.4998779296875,
- "y": 3396.3055725097656,
- "z": "ecab9296.c8bb5",
+ "x": 2244.9721069335938,
+ "y": 3346.305576324463,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "73778204.755dcc",
+ "id": "1bc90a18.93f796",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2331.499687194824,
- "y": 3339.972331047058,
- "z": "ecab9296.c8bb5",
+ "x": 2239.9719161987305,
+ "y": 3289.9723348617554,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "2c33dae2.508956",
+ "id": "7810d30c.8384fc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2138.833236694336,
- "y": 3338.194640159607,
- "z": "ecab9296.c8bb5",
+ "x": 2047.3054656982422,
+ "y": 3288.194643974304,
+ "z": "759e49d3.adb538",
"wires": [
[
- "73778204.755dcc",
- "2ffa2827.57bd28"
+ "1bc90a18.93f796",
+ "e6246d05.b4426"
]
]
},
{
- "id": "3a68aacb.1f5256",
+ "id": "af552399.6a41c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1959.2778663635254,
- "y": 3341.7501745224,
- "z": "ecab9296.c8bb5",
+ "x": 1867.7500953674316,
+ "y": 3291.750178337097,
+ "z": "759e49d3.adb538",
"wires": [
[
- "2c33dae2.508956"
+ "7810d30c.8384fc"
]
]
},
{
- "id": "b151ef4e.63d69",
+ "id": "d3773808.91cee8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1646.2779998779297,
- "y": 3466.750096321106,
- "z": "ecab9296.c8bb5",
+ "x": 1554.750228881836,
+ "y": 3416.750100135803,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "157cf93d.767517",
+ "id": "829407fd.e9b088",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1683.9444427490234,
- "y": 3538.083430290222,
- "z": "ecab9296.c8bb5",
+ "x": 1594.4167175292969,
+ "y": 3499.0835987329483,
+ "z": "759e49d3.adb538",
"wires": [
[
- "8c2cee50.77277"
+ "95f41f88.981d3"
]
]
},
{
- "id": "8c2cee50.77277",
+ "id": "95f41f88.981d3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1901.9443969726562,
- "y": 3565.083245277405,
- "z": "ecab9296.c8bb5",
+ "x": 1810.4166259765625,
+ "y": 3515.083249092102,
+ "z": "759e49d3.adb538",
"wires": [
[
- "e6f36cff.5f7ac",
- "994124a.6a81ed8",
- "e93d3907.dbe0b8",
- "5971d0a9.8775a",
- "495b7e0.94ea084",
- "323b9ab7.0a7686",
- "4c95d3de.dafcac",
- "91bdd1cb.225b5",
- "74f76f8.3409a9"
+ "6bc6c2f9.e1db6c",
+ "324ffe96.a0d162",
+ "6a19ff28.eca0b",
+ "911dcc3.a5e033",
+ "5a096f71.8ec03",
+ "7ed18747.897518",
+ "966f5f6c.79424",
+ "5eb910dc.63339",
+ "b942a6b.7960d58"
]
]
},
{
- "id": "e6f36cff.5f7ac",
+ "id": "6bc6c2f9.e1db6c",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`\" />",
"comments": "",
- "x": 2226.9443969726562,
- "y": 3542.083245277405,
- "z": "ecab9296.c8bb5",
+ "x": 2135.4166259765625,
+ "y": 3492.083249092102,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "e93d3907.dbe0b8",
+ "id": "6a19ff28.eca0b",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2194.9443740844727,
- "y": 3584.1944813728333,
- "z": "ecab9296.c8bb5",
+ "x": 2103.416603088379,
+ "y": 3534.1944851875305,
+ "z": "759e49d3.adb538",
"wires": [
[
- "c2e2c59a.964ca8",
- "70e9bf72.db75d"
+ "c0d24782.5a22f8",
+ "3c3546a7.03ac0a"
]
]
},
{
- "id": "c2e2c59a.964ca8",
+ "id": "c0d24782.5a22f8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2411.944496154785,
- "y": 3580.083065032959,
- "z": "ecab9296.c8bb5",
+ "x": 2320.4167251586914,
+ "y": 3530.0830688476562,
+ "z": "759e49d3.adb538",
"wires": [
[
- "29bbb805.9ee6c8"
+ "22af3d11.a6f292"
]
]
},
{
- "id": "29bbb805.9ee6c8",
+ "id": "22af3d11.a6f292",
"type": "execute",
"name": "patch RRMPolicyRatio CUUP- URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2684.944366455078,
- "y": 3550.0836153030396,
- "z": "ecab9296.c8bb5",
+ "x": 2593.4165954589844,
+ "y": 3500.083619117737,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "495b7e0.94ea084",
+ "id": "5a096f71.8ec03",
"type": "set",
"name": "RRMPolicyMember Id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.rrmPolicyMembers-CUUP+1`\" />",
"comments": "",
- "x": 2198.833297729492,
- "y": 3735.8612957000732,
- "z": "ecab9296.c8bb5",
+ "x": 2107.3055267333984,
+ "y": 3685.8612995147705,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "994124a.6a81ed8",
+ "id": "324ffe96.a0d162",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Updated RRMPolicyRatio for CUUP is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio_id is - \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyMember_id CUUP is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field7\" value=\"Existing RRMPolicyMembers Length\"/>\n<parameter name=\"field8\" value=\"`$tmp.rrmPolicyMembers-CUUP`\"/>\n<parameter name=\"field9\" value=\"Update RRMPolicyRatio URL - \"/>\n<parameter name=\"field10\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 2160.2780380249023,
- "y": 3768.7502479553223,
- "z": "ecab9296.c8bb5",
+ "x": 2068.7502670288086,
+ "y": 3718.7502517700195,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "5971d0a9.8775a",
+ "id": "911dcc3.a5e033",
"type": "execute",
"name": "patch CUUP- RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-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=\"patch-CUUP-RRMPolicyRatio-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": 2222.8333053588867,
- "y": 3805.1942443847656,
- "z": "ecab9296.c8bb5",
+ "x": 2131.305534362793,
+ "y": 3755.194248199463,
+ "z": "759e49d3.adb538",
"wires": [
[
- "e3174968.023078",
- "2c3ec3b8.faaecc"
+ "92a55354.6434",
+ "3aec8ca9.20c9f4"
]
]
},
{
- "id": "e3174968.023078",
+ "id": "92a55354.6434",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2495.9443969726562,
- "y": 3756.083245277405,
- "z": "ecab9296.c8bb5",
+ "x": 2404.4166259765625,
+ "y": 3706.083249092102,
+ "z": "759e49d3.adb538",
"wires": [
[
- "f53b4c9e.c5d56"
+ "bb88e640.bcbf68"
]
]
},
{
- "id": "f53b4c9e.c5d56",
+ "id": "bb88e640.bcbf68",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2686.9443969726562,
- "y": 3756.083245277405,
- "z": "ecab9296.c8bb5",
+ "x": 2595.4166259765625,
+ "y": 3706.083249092102,
+ "z": "759e49d3.adb538",
"wires": [
[
- "2851387d.d21c18"
+ "ac67df0a.e8956"
]
]
},
{
- "id": "2851387d.d21c18",
+ "id": "ac67df0a.e8956",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2871.9441528320312,
- "y": 3757.08348941803,
- "z": "ecab9296.c8bb5",
+ "x": 2780.4163818359375,
+ "y": 3707.083493232727,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "a57054f0.8f2cf8",
+ "id": "26913663.d578aa",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2953.9443969726562,
- "y": 3800.083245277405,
- "z": "ecab9296.c8bb5",
+ "x": 2862.4166259765625,
+ "y": 3750.083249092102,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "799ed5ea.0660dc",
+ "id": "981ef626.389578",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2958.9442749023438,
- "y": 3895.083306312561,
- "z": "ecab9296.c8bb5",
+ "x": 2867.41650390625,
+ "y": 3845.0833101272583,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "89b318ab.323c98",
+ "id": "f6df9690.a933c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2713.9446411132812,
- "y": 3849.083245277405,
- "z": "ecab9296.c8bb5",
+ "x": 2622.4168701171875,
+ "y": 3799.083249092102,
+ "z": "759e49d3.adb538",
"wires": [
[
- "799ed5ea.0660dc",
- "a57054f0.8f2cf8",
- "dd5a532a.31de7"
+ "981ef626.389578",
+ "26913663.d578aa",
+ "24da6566.d832ba"
]
]
},
{
- "id": "2c3ec3b8.faaecc",
+ "id": "3aec8ca9.20c9f4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2494.9443969726562,
- "y": 3844.083245277405,
- "z": "ecab9296.c8bb5",
+ "x": 2403.4166259765625,
+ "y": 3794.083249092102,
+ "z": "759e49d3.adb538",
"wires": [
[
- "89b318ab.323c98"
+ "f6df9690.a933c8"
]
]
},
{
- "id": "11b56769.6027f9",
+ "id": "95a274b3.8c6eb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1640.6111907958984,
- "y": 3877.4168548583984,
- "z": "ecab9296.c8bb5",
+ "x": 1549.0834197998047,
+ "y": 3827.4168586730957,
+ "z": "759e49d3.adb538",
"wires": [
[
- "432a8afd.ff3744",
- "369fee46.9ff212",
- "e0eae9af.e47b18",
- "aaab029a.73315",
- "197ebca7.656673",
- "d0d818c6.4b2608",
- "27aaafdc.f134",
- "28f0e3bf.db6d3c",
- "7153e6fc.a20688",
- "3d2034c9.c91a4c",
- "4a3e020d.51ae0c"
+ "ee74d482.868158",
+ "84a4604f.8d728",
+ "299e974e.339708",
+ "6c24c782.d0a758",
+ "7058946c.55742c",
+ "fdf0bdc3.1bcf5",
+ "b7846e74.a07df",
+ "79a67268.2b630c",
+ "68a30b4e.793cd4",
+ "94801ef6.a02f1"
]
]
},
{
- "id": "432a8afd.ff3744",
+ "id": "ee74d482.868158",
"type": "execute",
"name": "Update gNBCUUP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-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": 1944.8611907958984,
- "y": 3889.666790008545,
- "z": "ecab9296.c8bb5",
+ "x": 1853.3334197998047,
+ "y": 3839.666793823242,
+ "z": "759e49d3.adb538",
"wires": [
[
- "f6e87948.f89288",
- "ab3317f.d87cee8"
+ "30604c98.3d4294",
+ "c76bd033.36e27"
]
]
},
{
- "id": "f6e87948.f89288",
+ "id": "30604c98.3d4294",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2260.6111450195312,
- "y": 3849.41698551178,
- "z": "ecab9296.c8bb5",
+ "x": 2169.0833740234375,
+ "y": 3799.416989326477,
+ "z": "759e49d3.adb538",
"wires": [
[
- "ba24cd75.0dfab"
+ "7107c1ad.71526"
]
]
},
{
- "id": "ab3317f.d87cee8",
+ "id": "c76bd033.36e27",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2247.111225128174,
- "y": 3899.166910171509,
- "z": "ecab9296.c8bb5",
+ "x": 2155.58345413208,
+ "y": 3849.166913986206,
+ "z": "759e49d3.adb538",
"wires": [
[
- "af3f3ee.4697ec"
+ "601d6f2e.ccf3"
]
]
},
{
- "id": "af3f3ee.4697ec",
+ "id": "601d6f2e.ccf3",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2405.6110458374023,
- "y": 3927.666972398758,
- "z": "ecab9296.c8bb5",
+ "x": 2314.0832748413086,
+ "y": 3877.666976213455,
+ "z": "759e49d3.adb538",
"wires": [
[
- "45a699a5.339a98"
+ "efe7fffe.0acbd"
]
]
},
{
- "id": "ba24cd75.0dfab",
+ "id": "7107c1ad.71526",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2448.86141204834,
- "y": 3886.666910171509,
- "z": "ecab9296.c8bb5",
+ "x": 2357.333641052246,
+ "y": 3836.666913986206,
+ "z": "759e49d3.adb538",
"wires": [
[
- "2988f3b4.0cd97c",
- "c023d158.5af6d",
- "dd5a532a.31de7"
+ "c9d3fcae.9d476",
+ "8043654d.6ea6f8",
+ "24da6566.d832ba"
]
]
},
{
- "id": "45a699a5.339a98",
+ "id": "efe7fffe.0acbd",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 2542.1112899780273,
- "y": 3941.16703414917,
- "z": "ecab9296.c8bb5",
+ "x": 2450.5835189819336,
+ "y": 3891.167037963867,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "2988f3b4.0cd97c",
+ "id": "c9d3fcae.9d476",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2707.3608932495117,
- "y": 3930.1669726371765,
- "z": "ecab9296.c8bb5",
+ "x": 2615.833122253418,
+ "y": 3880.166976451874,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "c023d158.5af6d",
+ "id": "8043654d.6ea6f8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - CUUP. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2616.1110763549805,
- "y": 3895.9167881011963,
- "z": "ecab9296.c8bb5",
+ "x": 2524.5833053588867,
+ "y": 3845.9167919158936,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "1ea853ee.e7636c",
+ "id": "8110ab91.7f1c88",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2670.361110687256,
- "y": 4131.167035102844,
- "z": "ecab9296.c8bb5",
+ "x": 2578.833339691162,
+ "y": 4081.1670389175415,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "cb3cd22b.a342e",
+ "id": "cdb9ed9a.068da",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2666.610824584961,
- "y": 4172.416790962219,
- "z": "ecab9296.c8bb5",
+ "x": 2575.083053588867,
+ "y": 4122.4167947769165,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "cc430433.e39b08",
+ "id": "e8daf348.fe4b5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2486.8612899780273,
- "y": 4165.166974067688,
- "z": "ecab9296.c8bb5",
+ "x": 2395.3335189819336,
+ "y": 4115.166977882385,
+ "z": "759e49d3.adb538",
"wires": [
[
- "cb3cd22b.a342e",
- "1ea853ee.e7636c",
- "dd5a532a.31de7"
+ "cdb9ed9a.068da",
+ "8110ab91.7f1c88",
+ "24da6566.d832ba"
]
]
},
{
- "id": "6184c0ce.94a5f",
+ "id": "19e8f479.fe074c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - CUUP RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 2639.6111907958984,
- "y": 4219.416729927063,
- "z": "ecab9296.c8bb5",
+ "x": 2548.0834197998047,
+ "y": 4169.41673374176,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "3600b138.5845ae",
+ "id": "3562a189.6c599e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2473.6111907958984,
- "y": 4218.416729927063,
- "z": "ecab9296.c8bb5",
+ "x": 2382.0834197998047,
+ "y": 4168.41673374176,
+ "z": "759e49d3.adb538",
"wires": [
[
- "6184c0ce.94a5f"
+ "19e8f479.fe074c"
]
]
},
{
- "id": "d164770d.eef5f8",
+ "id": "d3c09ffe.c1f7e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2292.6111907958984,
- "y": 4224.416485786438,
- "z": "ecab9296.c8bb5",
+ "x": 2201.0834197998047,
+ "y": 4174.416489601135,
+ "z": "759e49d3.adb538",
"wires": [
[
- "3600b138.5845ae"
+ "3562a189.6c599e"
]
]
},
{
- "id": "c510da45.23cf18",
+ "id": "dc481875.f862a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2286.3613204956055,
- "y": 4176.9168519973755,
- "z": "ecab9296.c8bb5",
+ "x": 2194.8335494995117,
+ "y": 4126.916855812073,
+ "z": "759e49d3.adb538",
"wires": [
[
- "cc430433.e39b08"
+ "e8daf348.fe4b5"
]
]
},
{
- "id": "369fee46.9ff212",
+ "id": "260f1453.e9193c",
"type": "execute",
"name": "Update RRMPolicy for gNBCUUP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-rrmpolicy-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": 1968.3612823486328,
- "y": 4218.16685295105,
- "z": "ecab9296.c8bb5",
+ "x": 1988.8336334228516,
+ "y": 4220.167231559753,
+ "z": "759e49d3.adb538",
"wires": [
[
- "c510da45.23cf18",
- "d164770d.eef5f8"
+ "dc481875.f862a8",
+ "d3c09ffe.c1f7e"
]
]
},
{
- "id": "ea01a433.33d248",
+ "id": "38ad1f4.97b71e",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1106.0279922485352,
- "y": 3840.500594139099,
- "z": "ecab9296.c8bb5",
+ "x": 1014.5002212524414,
+ "y": 3790.5005979537964,
+ "z": "759e49d3.adb538",
"wires": [
[
- "8ac3f0ad.30e56",
- "2b669098.1e82",
- "dd3d3af9.52d6f8"
+ "b26ca130.207ff",
+ "8332ea66.2651d8",
+ "d39d8bc5.b41278"
]
]
},
{
- "id": "8ac3f0ad.30e56",
+ "id": "b26ca130.207ff",
"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": 1359.027931213379,
- "y": 3930.5006551742554,
- "z": "ecab9296.c8bb5",
+ "x": 1267.5001602172852,
+ "y": 3880.5006589889526,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "2b669098.1e82",
+ "id": "8332ea66.2651d8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of 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": 1327.0278816223145,
- "y": 3980.5007190704346,
- "z": "ecab9296.c8bb5",
+ "x": 1235.5001106262207,
+ "y": 3930.500722885132,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "dd3d3af9.52d6f8",
+ "id": "d39d8bc5.b41278",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1328.0280685424805,
- "y": 4023.500720024109,
- "z": "ecab9296.c8bb5",
+ "x": 1236.5002975463867,
+ "y": 3973.500723838806,
+ "z": "759e49d3.adb538",
"wires": [
[
- "5091954e.43f6dc"
+ "53cc5207.726b2c"
]
]
},
{
- "id": "5091954e.43f6dc",
+ "id": "53cc5207.726b2c",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1590.0279273986816,
- "y": 4129.500475883484,
- "z": "ecab9296.c8bb5",
+ "x": 1498.500156402588,
+ "y": 4079.500479698181,
+ "z": "759e49d3.adb538",
"wires": [
[
- "ad634841.f1df18",
- "d1a41858.dbd2e8",
- "5b5b644f.dcb89c",
- "693e7bc8.1946f4"
+ "52966fa6.3d564",
+ "e78f1bcd.c2be88",
+ "8b9eaa7d.836a98",
+ "6d26d603.017c58"
]
]
},
{
- "id": "ad634841.f1df18",
+ "id": "52966fa6.3d564",
"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": 1864.0277709960938,
- "y": 4308.49999332428,
- "z": "ecab9296.c8bb5",
+ "x": 1772.5,
+ "y": 4258.499997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "d1a41858.dbd2e8",
+ "id": "e78f1bcd.c2be88",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1837.0277709960938,
- "y": 4359.49999332428,
- "z": "ecab9296.c8bb5",
+ "x": 1745.5,
+ "y": 4309.499997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "5b5b644f.dcb89c",
+ "id": "8b9eaa7d.836a98",
"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": 1878.0277709960938,
- "y": 4408.49999332428,
- "z": "ecab9296.c8bb5",
+ "x": 1786.5,
+ "y": 4358.499997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "693e7bc8.1946f4",
+ "id": "6d26d603.017c58",
"type": "for",
"name": "for cellDUList",
"xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1868.0277709960938,
- "y": 4452.49999332428,
- "z": "ecab9296.c8bb5",
+ "x": 1776.5,
+ "y": 4402.499997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "2e61752a.3c32aa"
+ "157c4b84.4d0224"
]
]
},
{
- "id": "8ca9297e.0bb688",
+ "id": "83218ecb.afe25",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2894.7777709960938,
- "y": 4506.49999332428,
- "z": "ecab9296.c8bb5",
+ "x": 2803.25,
+ "y": 4456.499997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "854a9c7d.7606",
- "6818c49e.7be4ac",
- "dccf3b3f.871b98",
- "90de618b.cad",
- "d8f0231.2a5b4e",
- "2b662b6d.42a6c4",
- "12ff3e46.f96772",
- "bd503cb1.d0e98",
- "de0d36d5.d71918",
- "63c4b3a7.33644c",
- "42884319.8bf8dc",
- "d815d930.ba6bb8"
+ "34d879aa.02e4c6",
+ "d4ae95a0.59a118",
+ "81c9e8ef.7419b8",
+ "fd3816b4.0811a8",
+ "26a447df.61f3c8",
+ "221df7f3.e178b8",
+ "14296487.9d253b",
+ "239a411b.bee69e",
+ "910c0b89.45ac98",
+ "93fd32e9.bb36f",
+ "1d17e896.af5da7",
+ "cdc08301.def3d"
]
]
},
{
- "id": "bd503cb1.d0e98",
+ "id": "239a411b.bee69e",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3089.7777709960938,
- "y": 4501.49999332428,
- "z": "ecab9296.c8bb5",
+ "x": 2998.25,
+ "y": 4451.499997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "12ff3e46.f96772",
+ "id": "14296487.9d253b",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3117.7777709960938,
- "y": 4569.49999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3026.25,
+ "y": 4519.499997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "96175473.d9eb48",
- "6b0e69e0.617508"
+ "d53365c5.2b8398",
+ "73a14f66.02bbe"
]
]
},
{
- "id": "96175473.d9eb48",
+ "id": "d53365c5.2b8398",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3325.7777709960938,
- "y": 4534.499749183655,
- "z": "ecab9296.c8bb5",
+ "x": 3234.25,
+ "y": 4484.499752998352,
+ "z": "759e49d3.adb538",
"wires": [
[
- "d039005a.704dc"
+ "93e2986b.4de098"
]
]
},
{
- "id": "6b0e69e0.617508",
+ "id": "73a14f66.02bbe",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3320.777820587158,
- "y": 4603.500317573547,
- "z": "ecab9296.c8bb5",
+ "x": 3229.2500495910645,
+ "y": 4553.500321388245,
+ "z": "759e49d3.adb538",
"wires": [
[
- "21313198.fd408e"
+ "77cc114f.7824e"
]
]
},
{
- "id": "d039005a.704dc",
+ "id": "93e2986b.4de098",
"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": 3645.7777709960938,
- "y": 4549.49999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3554.25,
+ "y": 4499.499997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "854a9c7d.7606",
+ "id": "34d879aa.02e4c6",
"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": 3114.7779235839844,
- "y": 4657.500237464905,
- "z": "ecab9296.c8bb5",
+ "x": 3023.2501525878906,
+ "y": 4607.500241279602,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "90de618b.cad",
+ "id": "fd3816b4.0811a8",
"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": 3169.7779846191406,
- "y": 4722.500175476074,
- "z": "ecab9296.c8bb5",
+ "x": 3078.250213623047,
+ "y": 4672.5001792907715,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "d8f0231.2a5b4e",
+ "id": "26a447df.61f3c8",
"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": 3142.7781677246094,
- "y": 4777.500177383423,
- "z": "ecab9296.c8bb5",
+ "x": 3051.2503967285156,
+ "y": 4727.50018119812,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "2b662b6d.42a6c4",
+ "id": "221df7f3.e178b8",
"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": 3122.777862548828,
- "y": 4840.500483512878,
- "z": "ecab9296.c8bb5",
+ "x": 3031.2500915527344,
+ "y": 4790.500487327576,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "6818c49e.7be4ac",
+ "id": "d4ae95a0.59a118",
"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": 3124.778106689453,
- "y": 4898.500116348267,
- "z": "ecab9296.c8bb5",
+ "x": 3033.2503356933594,
+ "y": 4848.500120162964,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "dccf3b3f.871b98",
+ "id": "81c9e8ef.7419b8",
"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/instantiateRANSliceModifyAllocate.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.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": 3128.7779846191406,
- "y": 4944.500733375549,
- "z": "ecab9296.c8bb5",
+ "x": 3037.250213623047,
+ "y": 4894.500737190247,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "de0d36d5.d71918",
+ "id": "910c0b89.45ac98",
"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-NRCellCU.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=\"patch-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": 3183.7779846191406,
- "y": 4990.7500014305115,
- "z": "ecab9296.c8bb5",
+ "x": 3092.250213623047,
+ "y": 4940.750005245209,
+ "z": "759e49d3.adb538",
"wires": [
[
- "218c5ac9.adcf96",
- "9be6e332.adf83"
+ "e16ebd31.369c4",
+ "e8ee8ff0.6ddb1"
]
]
},
{
- "id": "9be6e332.adf83",
+ "id": "e8ee8ff0.6ddb1",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3432.3493366241455,
- "y": 4831.750117301941,
- "z": "ecab9296.c8bb5",
+ "x": 3340.8215656280518,
+ "y": 4781.750121116638,
+ "z": "759e49d3.adb538",
"wires": [
[
- "bec61c09.9b2b7"
+ "4ec6ce8f.3f2a9"
]
]
},
{
- "id": "218c5ac9.adcf96",
+ "id": "e16ebd31.369c4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3438.492027282715,
- "y": 4887.892823219299,
- "z": "ecab9296.c8bb5",
+ "x": 3346.964256286621,
+ "y": 4837.892827033997,
+ "z": "759e49d3.adb538",
"wires": [
[
- "7408d31.0dc862c"
+ "e72b5e91.1fca7"
]
]
},
{
- "id": "bec61c09.9b2b7",
+ "id": "4ec6ce8f.3f2a9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3608.920944213867,
- "y": 4831.178339958191,
- "z": "ecab9296.c8bb5",
+ "x": 3517.3931732177734,
+ "y": 4781.178343772888,
+ "z": "759e49d3.adb538",
"wires": [
[
- "13752f4e.dc57d1",
- "a3fa5004.f668b",
- "dd5a532a.31de7"
+ "a377e4b0.193a48",
+ "442d3fea.6c078",
+ "24da6566.d832ba"
]
]
},
{
- "id": "7408d31.0dc862c",
+ "id": "e72b5e91.1fca7",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3592.206329345703,
- "y": 4887.749948501587,
- "z": "ecab9296.c8bb5",
+ "x": 3500.6785583496094,
+ "y": 4837.749952316284,
+ "z": "759e49d3.adb538",
"wires": [
[
- "b2c21e16.d6e5b"
+ "13829975.cb38a7"
]
]
},
{
- "id": "b2c21e16.d6e5b",
+ "id": "13829975.cb38a7",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 3629.635021209717,
- "y": 4953.892745018005,
- "z": "ecab9296.c8bb5",
+ "x": 3538.107250213623,
+ "y": 4903.892748832703,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "13752f4e.dc57d1",
+ "id": "a377e4b0.193a48",
"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": 3795.6347579956055,
- "y": 4907.892684936523,
- "z": "ecab9296.c8bb5",
+ "x": 3704.1069869995117,
+ "y": 4857.892688751221,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "a3fa5004.f668b",
+ "id": "442d3fea.6c078",
"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": 3777.7777709960938,
- "y": 4855.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3686.25,
+ "y": 4805.749997138977,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "63c4b3a7.33644c",
+ "id": "93fd32e9.bb36f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2988.0277709960938,
- "y": 5314.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 2896.5,
+ "y": 5264.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "1f3099be.fd0396",
- "428380a3.2e5c6",
- "77470c30.7ccea4",
- "1ad44e5f.06dc02",
- "54740594.78e32c",
- "e7a02896.74e638",
- "36f9af95.9beb7",
- "517677f0.6d4018",
- "9f04c1f2.bf256",
- "8e869cc0.cfb58"
+ "20f8b3ef.30b18c",
+ "f21746bf.0d8818",
+ "b15fc208.5ce6b",
+ "65b03e4e.8b86a",
+ "bd70dd2b.b85da",
+ "98444542.d2de08",
+ "64119bcd.9a1944",
+ "18e4f7f5.7b1998",
+ "46f6e640.8000c8",
+ "2aaa05de.a7f94a"
]
]
},
{
- "id": "1f3099be.fd0396",
+ "id": "20f8b3ef.30b18c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3210.0277709960938,
- "y": 5220.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3118.5,
+ "y": 5170.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "8c2e0cd.722b2f",
- "3185509b.b104a"
+ "74eba97d.894958",
+ "ea2722b2.5bcd5"
]
]
},
{
- "id": "3185509b.b104a",
+ "id": "ea2722b2.5bcd5",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3458.742477416992,
- "y": 5233.036768913269,
- "z": "ecab9296.c8bb5",
+ "x": 3367.2147064208984,
+ "y": 5183.036772727966,
+ "z": "759e49d3.adb538",
"wires": [
[
- "223eb619.f4921a"
+ "474ffd1b.d8c224"
]
]
},
{
- "id": "223eb619.f4921a",
+ "id": "474ffd1b.d8c224",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellDU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3653.0276794433594,
- "y": 5171.179366111755,
- "z": "ecab9296.c8bb5",
+ "x": 3561.4999084472656,
+ "y": 5121.179369926453,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "428380a3.2e5c6",
+ "id": "f21746bf.0d8818",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3245.0277709960938,
- "y": 5292.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3153.5,
+ "y": 5242.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "77470c30.7ccea4",
+ "id": "b15fc208.5ce6b",
"type": "execute",
"name": "prepare idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3210.0277709960938,
- "y": 5344.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3118.5,
+ "y": 5294.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "1ad44e5f.06dc02",
+ "id": "65b03e4e.8b86a",
"type": "execute",
"name": "fetch RRMPolicyRatio - NRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-du-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": 3245.0277709960938,
- "y": 5419.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3153.5,
+ "y": 5369.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "77060035.b3e31",
- "8c4eb3c3.ad48"
+ "6981637b.74693c",
+ "c0fd401.710e8c"
]
]
},
{
- "id": "77060035.b3e31",
+ "id": "6981637b.74693c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3492.0277709960938,
- "y": 5392.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3400.5,
+ "y": 5342.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "38aa7b88.8cc164"
+ "14ceaae3.6b9005"
]
]
},
{
- "id": "8c4eb3c3.ad48",
+ "id": "c0fd401.710e8c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3496.0277709960938,
- "y": 5471.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3404.5,
+ "y": 5421.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "af08c4f9.c8c558"
+ "c14d6efd.2a378"
]
]
},
{
- "id": "38aa7b88.8cc164",
+ "id": "14ceaae3.6b9005",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3660.0282440185547,
- "y": 5403.607346534729,
- "z": "ecab9296.c8bb5",
+ "x": 3568.500473022461,
+ "y": 5353.607350349426,
+ "z": "759e49d3.adb538",
"wires": [
[
- "85bd27d6.ac5078",
- "560e6dc6.7ff184",
- "dd5a532a.31de7"
+ "90619558.5c2698",
+ "2f596670.00d06a",
+ "24da6566.d832ba"
]
]
},
{
- "id": "560e6dc6.7ff184",
+ "id": "2f596670.00d06a",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3816.0277709960938,
- "y": 5306.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3724.5,
+ "y": 5256.749997138977,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "85bd27d6.ac5078",
+ "id": "90619558.5c2698",
"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 in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3821.0276489257812,
- "y": 5401.750054359436,
- "z": "ecab9296.c8bb5",
+ "x": 3729.4998779296875,
+ "y": 5351.750058174133,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "af08c4f9.c8c558",
+ "id": "c14d6efd.2a378",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3660.0276489257812,
- "y": 5472.750115394592,
- "z": "ecab9296.c8bb5",
+ "x": 3568.4998779296875,
+ "y": 5422.75011920929,
+ "z": "759e49d3.adb538",
"wires": [
[
- "6568d8a0.54f4a8",
- "f8fa3865.3b8818"
+ "accb3bfc.2306a8",
+ "840115d3.8aeb58"
]
]
},
{
- "id": "6568d8a0.54f4a8",
+ "id": "accb3bfc.2306a8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 3817.1708221435547,
- "y": 5444.892781257629,
- "z": "ecab9296.c8bb5",
+ "x": 3725.643051147461,
+ "y": 5394.892785072327,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "f8fa3865.3b8818",
+ "id": "840115d3.8aeb58",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3825.027862548828,
- "y": 5482.17870426178,
- "z": "ecab9296.c8bb5",
+ "x": 3733.5000915527344,
+ "y": 5432.178708076477,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "54740594.78e32c",
+ "id": "bd70dd2b.b85da",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioDUList_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3182.5991821289062,
- "y": 5552.035391807556,
- "z": "ecab9296.c8bb5",
+ "x": 3091.0714111328125,
+ "y": 5502.035395622253,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "e7a02896.74e638",
+ "id": "98444542.d2de08",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3244.741867542267,
- "y": 5099.035620689392,
- "z": "ecab9296.c8bb5",
+ "x": 3153.214096546173,
+ "y": 5049.035624504089,
+ "z": "759e49d3.adb538",
"wires": [
[
- "c8f8181b.bc8a58",
- "3468bb65.a0fb14",
- "cfb5acf8.f3faa",
- "b50cab3a.7d6a28",
- "54ff605d.37b67",
- "ab9b5495.2642d8",
- "f5338014.ba63",
- "aff055e3.016bb8",
- "7ed07848.a83168",
- "77504964.a2aa18",
- "f15200d5.f48dd"
+ "e699b813.fc8268",
+ "64f777a8.2a0e08",
+ "87e24146.25b4e",
+ "8ba642f.30254c",
+ "3bdafb69.c95854",
+ "f3f75181.3bb7a",
+ "9d361aaa.9a72b8",
+ "e7312713.f985c8",
+ "b2100b90.7c0618",
+ "3caf98d3.e08e38",
+ "8b9f360a.b624f8"
]
]
},
{
- "id": "cfb5acf8.f3faa",
+ "id": "87e24146.25b4e",
"type": "set",
"name": "Calculate RRM Parms1",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
"comments": "",
- "x": 4213.017578125,
- "y": 4885.0727462768555,
- "z": "ecab9296.c8bb5",
+ "x": 4121.489807128906,
+ "y": 4835.072750091553,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "b50cab3a.7d6a28",
+ "id": "8ba642f.30254c",
"type": "set",
"name": "Calculate RRM Parms2",
"xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4221.558837890625,
- "y": 4930.092765748501,
- "z": "ecab9296.c8bb5",
+ "x": 4130.031066894531,
+ "y": 4880.092769563198,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "54ff605d.37b67",
+ "id": "3bdafb69.c95854",
"type": "set",
"name": "Calculate RRM Parms3",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
"comments": "",
- "x": 4211.5589599609375,
- "y": 4985.092643678188,
- "z": "ecab9296.c8bb5",
+ "x": 4120.031188964844,
+ "y": 4935.092647492886,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "ab9b5495.2642d8",
+ "id": "f3f75181.3bb7a",
"type": "set",
"name": "Calculate RRM Parms4",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4211.558837890625,
- "y": 5036.092643737793,
- "z": "ecab9296.c8bb5",
+ "x": 4120.031066894531,
+ "y": 4986.09264755249,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "f5338014.ba63",
+ "id": "9d361aaa.9a72b8",
"type": "set",
"name": "Calculate RRM Parms5",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
"comments": "",
- "x": 4199.5589599609375,
- "y": 5096.092765748501,
- "z": "ecab9296.c8bb5",
+ "x": 4108.031188964844,
+ "y": 5046.092769563198,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "aff055e3.016bb8",
+ "id": "e7312713.f985c8",
"type": "set",
"name": "Calculate RRM Parms6",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />",
"comments": "",
- "x": 4237.558837890625,
- "y": 5146.092765748501,
- "z": "ecab9296.c8bb5",
+ "x": 4146.031066894531,
+ "y": 5096.092769563198,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "7ed07848.a83168",
+ "id": "b2100b90.7c0618",
"type": "set",
"name": "Calculate RRM Parms7",
"xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
"comments": "",
- "x": 4224.558776855469,
- "y": 5216.093132019043,
- "z": "ecab9296.c8bb5",
+ "x": 4133.031005859375,
+ "y": 5166.09313583374,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "77504964.a2aa18",
+ "id": "3caf98d3.e08e38",
"type": "set",
"name": "calculation8",
"xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
"comments": "",
- "x": 4195.558776855469,
- "y": 5280.092155456543,
- "z": "ecab9296.c8bb5",
+ "x": 4104.031005859375,
+ "y": 5230.09215927124,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "f15200d5.f48dd",
+ "id": "8b9f360a.b624f8",
"type": "set",
"name": "calculation9",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
"comments": "",
- "x": 4183.559326171875,
- "y": 5331.0920333862305,
- "z": "ecab9296.c8bb5",
+ "x": 4092.0315551757812,
+ "y": 5281.092037200928,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "3468bb65.a0fb14",
+ "id": "64f777a8.2a0e08",
"type": "set",
"name": "calculation10",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
"comments": "",
- "x": 4159.017639160156,
- "y": 5397.0725021362305,
- "z": "ecab9296.c8bb5",
+ "x": 4067.4898681640625,
+ "y": 5347.072505950928,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "c8f8181b.bc8a58",
+ "id": "e699b813.fc8268",
"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=\"rRMPolicyDedicatedRatio for CellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"tmp.nearRTRIC.trafficCapacity1 \"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.trafficCapacity1`\"/>\n<parameter name=\"field5\" value=\"tmp.nearRTRIC.trafficCapacity \"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.trafficCapacity`\"/>\n<parameter name=\"field7\" value=\"tmp.nearRTRIC.trafficCapacityBPS\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.trafficCapacityBPS`\"/>\n<parameter name=\"field9\" value=\"tmp.nrcelldu.totalPRBForSNSSAI \"/>\n<parameter name=\"field10\" value=\"`$tmp.nrcelldu.totalPRBForSNSSAI`\"/>\n<parameter name=\"field11\" value=\"tmp.nrcelldu.PRBPerImpactedCell \"/>\n<parameter name=\"field12\" value=\"`$tmp.nrcelldu.PRBPerImpactedCell`\"/>\n<parameter name=\"field13\" value=\"tmp.rRMPolicyDedicatedRatio.CellDU1 \"/>\n<parameter name=\"field14\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU1`\"/>",
"comments": "",
"outputs": 1,
- "x": 3985.0275650024414,
- "y": 5409.193808555603,
- "z": "ecab9296.c8bb5",
+ "x": 3893.4997940063477,
+ "y": 5359.1938123703,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "36f9af95.9beb7",
+ "id": "64119bcd.9a1944",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3205.2777709960938,
- "y": 5598.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3113.75,
+ "y": 5548.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "d26b6e59.02e24"
+ "88edaa15.42a378"
]
]
},
{
- "id": "d26b6e59.02e24",
+ "id": "88edaa15.42a378",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3426.2777709960938,
- "y": 5618.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3334.75,
+ "y": 5568.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "c4eda641.393e38",
- "895911c8.825af",
- "1c77de16.c5c312",
- "51620ac7.2631e4",
- "bb00cbfa.ae7d18",
- "16cb87b2.5be1d8",
- "52ba99b7.987b88",
- "4ff78ad7.0a8bd4",
- "8d0864dd.8c8528",
- "63a19143.589a9"
+ "fa4c4e2d.65c7",
+ "decbdedf.9b42",
+ "5e8cc058.fbad5",
+ "3f3ebfed.e4951",
+ "1764ec3a.804604",
+ "62981279.b1c13c",
+ "ad4a2912.9c54c8",
+ "c6939012.bd05e",
+ "51420a75.e5cb44",
+ "95013c06.0cd9f"
]
]
},
{
- "id": "c4eda641.393e38",
+ "id": "fa4c4e2d.65c7",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`\" />",
"comments": "",
- "x": 3752.706283569336,
- "y": 5558.607483386993,
- "z": "ecab9296.c8bb5",
+ "x": 3661.178512573242,
+ "y": 5508.607487201691,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "1c77de16.c5c312",
+ "id": "5e8cc058.fbad5",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3697.8495330810547,
- "y": 5602.464260101318,
- "z": "ecab9296.c8bb5",
+ "x": 3606.321762084961,
+ "y": 5552.464263916016,
+ "z": "759e49d3.adb538",
"wires": [
[
- "90686092.5480b",
- "f3ac1470.9f0a28"
+ "adbd5013.4d5ad",
+ "278fcb95.1037b4"
]
]
},
{
- "id": "90686092.5480b",
+ "id": "adbd5013.4d5ad",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3893.5635299682617,
- "y": 5593.749746322632,
- "z": "ecab9296.c8bb5",
+ "x": 3802.035758972168,
+ "y": 5543.749750137329,
+ "z": "759e49d3.adb538",
"wires": [
[
- "d65c36b4.b13ff8"
+ "a6126caa.a0f83"
]
]
},
{
- "id": "d65c36b4.b13ff8",
+ "id": "a6126caa.a0f83",
"type": "execute",
"name": "patchRRMPolicyRatio NRCellDU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4211.277988433838,
- "y": 5563.036683082581,
- "z": "ecab9296.c8bb5",
+ "x": 4119.750217437744,
+ "y": 5513.036686897278,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "bb00cbfa.ae7d18",
+ "id": "1764ec3a.804604",
"type": "set",
"name": "RRMPolicyMember Id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.RRMPolicyMembersDU_Length+1`\" />",
"comments": "",
- "x": 3682.8493041992188,
- "y": 5770.321383476257,
- "z": "ecab9296.c8bb5",
+ "x": 3591.321533203125,
+ "y": 5720.321387290955,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "895911c8.825af",
+ "id": "decbdedf.9b42",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioid - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyMemberid- \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field5\" value=\"Updated RRMPolicyRatio for CellDU is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`\"/>",
"comments": "",
"outputs": 1,
- "x": 3658.4208221435547,
- "y": 5810.036261558533,
- "z": "ecab9296.c8bb5",
+ "x": 3566.893051147461,
+ "y": 5760.03626537323,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "51620ac7.2631e4",
+ "id": "3f3ebfed.e4951",
"type": "execute",
"name": "patch NRCellDU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.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=\"patch-cellDU-RRMPolicyRatio-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": 3742.5635681152344,
- "y": 5846.3214864730835,
- "z": "ecab9296.c8bb5",
+ "x": 3651.0357971191406,
+ "y": 5796.321490287781,
+ "z": "759e49d3.adb538",
"wires": [
[
- "fa066444.802018",
- "867f45b5.2aa548"
+ "939e18e5.427428",
+ "3c50e259.95016e"
]
]
},
{
- "id": "fa066444.802018",
+ "id": "939e18e5.427428",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4020.2777709960938,
- "y": 5809.749764442444,
- "z": "ecab9296.c8bb5",
+ "x": 3928.75,
+ "y": 5759.749768257141,
+ "z": "759e49d3.adb538",
"wires": [
[
- "e6fdee9b.4cad3"
+ "55084df3.fc70c4"
]
]
},
{
- "id": "e6fdee9b.4cad3",
+ "id": "55084df3.fc70c4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4211.277770996094,
- "y": 5809.749764442444,
- "z": "ecab9296.c8bb5",
+ "x": 4119.75,
+ "y": 5759.749768257141,
+ "z": "759e49d3.adb538",
"wires": [
[
- "b5661953.85d578"
+ "d07e182d.ffdea8"
]
]
},
{
- "id": "b5661953.85d578",
+ "id": "d07e182d.ffdea8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 4396.277526855469,
- "y": 5810.750008583069,
- "z": "ecab9296.c8bb5",
+ "x": 4304.749755859375,
+ "y": 5760.750012397766,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "ebe1df71.0820d",
+ "id": "e8da12db.6f31",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4478.277770996094,
- "y": 5853.749764442444,
- "z": "ecab9296.c8bb5",
+ "x": 4386.75,
+ "y": 5803.749768257141,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "14b7d895.4babb7",
+ "id": "7b995886.ff02d8",
"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 RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4483.277648925781,
- "y": 5948.7498254776,
- "z": "ecab9296.c8bb5",
+ "x": 4391.7498779296875,
+ "y": 5898.749829292297,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "48902170.44222",
+ "id": "6ba11bf2.588f04",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4215.778049468994,
- "y": 5851.500406742096,
- "z": "ecab9296.c8bb5",
+ "x": 4124.2502784729,
+ "y": 5801.500410556793,
+ "z": "759e49d3.adb538",
"wires": [
[
- "14b7d895.4babb7",
- "ebe1df71.0820d",
- "dd5a532a.31de7"
+ "7b995886.ff02d8",
+ "e8da12db.6f31",
+ "24da6566.d832ba"
]
]
},
{
- "id": "867f45b5.2aa548",
+ "id": "3c50e259.95016e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4029.277862548828,
- "y": 5857.750407218933,
- "z": "ecab9296.c8bb5",
+ "x": 3937.7500915527344,
+ "y": 5807.75041103363,
+ "z": "759e49d3.adb538",
"wires": [
[
- "48902170.44222"
+ "6ba11bf2.588f04"
]
]
},
{
- "id": "42884319.8bf8dc",
+ "id": "1d17e896.af5da7",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2940.777862548828,
- "y": 5902.75009059906,
- "z": "ecab9296.c8bb5",
+ "x": 2849.2500915527344,
+ "y": 5852.750094413757,
+ "z": "759e49d3.adb538",
"wires": [
[
- "16890fa5.e64db",
- "aec15b06.02fe68",
- "e4ce6413.ed6fd8",
- "8e49b3c8.74b25",
- "ee5b9b09.ca97c8",
- "176390ef.cbac9f",
- "48796b63.39bec4",
- "3087ba3a.ed4566",
- "68990179.2bf66",
- "89e3c3a4.70c62"
+ "7da601f2.31cd5",
+ "171ddb52.565cc5",
+ "8d294361.afdd2",
+ "345b415d.aacd5e",
+ "602003b3.449a6c",
+ "c5245322.f9538",
+ "ba082b19.30b718",
+ "cf96e759.6ebad8",
+ "c6b96ce4.c01ef"
]
]
},
{
- "id": "16890fa5.e64db",
+ "id": "7da601f2.31cd5",
"type": "execute",
"name": "Update cellDU for gNBDU in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBDU.json\n'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-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": 3403.7777709960938,
- "y": 5910.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3312.25,
+ "y": 5860.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "2d8902f3.e33f8e",
- "7e64488b.4a4c58"
+ "22dcf8b.4f1f508",
+ "177878d2.cf9a57"
]
]
},
{
- "id": "2d8902f3.e33f8e",
+ "id": "22dcf8b.4f1f508",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3690.7777709960938,
- "y": 5881.750237464905,
- "z": "ecab9296.c8bb5",
+ "x": 3599.25,
+ "y": 5831.750241279602,
+ "z": "759e49d3.adb538",
"wires": [
[
- "a2b007bf.eb5648"
+ "b186195f.911728"
]
]
},
{
- "id": "7e64488b.4a4c58",
+ "id": "177878d2.cf9a57",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3691.0279846191406,
- "y": 5920.250407218933,
- "z": "ecab9296.c8bb5",
+ "x": 3599.500213623047,
+ "y": 5870.25041103363,
+ "z": "759e49d3.adb538",
"wires": [
[
- "31372a2.f90eed6"
+ "95f2039.0bdc7"
]
]
},
{
- "id": "31372a2.f90eed6",
+ "id": "95f2039.0bdc7",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3864.5277976989746,
- "y": 5941.250164985657,
- "z": "ecab9296.c8bb5",
+ "x": 3773.000026702881,
+ "y": 5891.250168800354,
+ "z": "759e49d3.adb538",
"wires": [
[
- "9c01d7e3.c1cee8"
+ "1d2ab0af.27b5df"
]
]
},
{
- "id": "a2b007bf.eb5648",
+ "id": "b186195f.911728",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3884.027862548828,
- "y": 5904.000409126282,
- "z": "ecab9296.c8bb5",
+ "x": 3792.5000915527344,
+ "y": 5854.000412940979,
+ "z": "759e49d3.adb538",
"wires": [
[
- "2516ca3.9ce6f36",
- "cf1f0edd.a9376",
- "dd5a532a.31de7"
+ "13479fec.b3f98",
+ "fb8efc86.b3a44",
+ "24da6566.d832ba"
]
]
},
{
- "id": "cf1f0edd.a9376",
+ "id": "fb8efc86.b3a44",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4087.5276832580566,
- "y": 5907.000285461545,
- "z": "ecab9296.c8bb5",
+ "x": 3995.999912261963,
+ "y": 5857.000289276242,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "9c01d7e3.c1cee8",
+ "id": "1d2ab0af.27b5df",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 4077.278045654297,
- "y": 5978.500531196594,
- "z": "ecab9296.c8bb5",
+ "x": 3985.750274658203,
+ "y": 5928.5005350112915,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "2516ca3.9ce6f36",
+ "id": "13479fec.b3f98",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4102.527496337891,
- "y": 5946.250164985657,
- "z": "ecab9296.c8bb5",
+ "x": 4010.999725341797,
+ "y": 5896.250168800354,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "6de737e8.019fd8",
+ "id": "5e5456a1.14a948",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4101.777557373047,
- "y": 6207.250532150269,
- "z": "ecab9296.c8bb5",
+ "x": 4010.249786376953,
+ "y": 6157.250535964966,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "39b9f4ac.e5765c",
+ "id": "57f18e36.6cd23",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4121.777683258057,
- "y": 6248.500533103943,
- "z": "ecab9296.c8bb5",
+ "x": 4030.249912261963,
+ "y": 6198.50053691864,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "351456c3.606afa",
+ "id": "cf6a60b.99fe0a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3912.028045654297,
- "y": 6240.000166893005,
- "z": "ecab9296.c8bb5",
+ "x": 3820.500274658203,
+ "y": 6190.000170707703,
+ "z": "759e49d3.adb538",
"wires": [
[
- "39b9f4ac.e5765c",
- "6de737e8.019fd8",
- "dd5a532a.31de7"
+ "57f18e36.6cd23",
+ "5e5456a1.14a948",
+ "24da6566.d832ba"
]
]
},
{
- "id": "190dc42c.27b26c",
+ "id": "c3e36532.04dda8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3719.0279235839844,
- "y": 6214.250044822693,
- "z": "ecab9296.c8bb5",
+ "x": 3634.500217437744,
+ "y": 6284.250087738037,
+ "z": "759e49d3.adb538",
"wires": [
[
- "351456c3.606afa"
+ "cf6a60b.99fe0a"
]
]
},
{
- "id": "aec15b06.02fe68",
+ "id": "9f3572a0.a276d",
"type": "execute",
"name": "Update RRMPolicy for gNBDU in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-DU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-rrmpolicy-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": 3424.777816772461,
- "y": 6196.749981880188,
- "z": "ecab9296.c8bb5",
+ "x": 3412.250701904297,
+ "y": 6305.749965190887,
+ "z": "759e49d3.adb538",
"wires": [
[
- "190dc42c.27b26c",
- "ee3128b4.0da778"
+ "c3e36532.04dda8",
+ "64edd671.12f178"
]
]
},
{
- "id": "ee3128b4.0da778",
+ "id": "64edd671.12f178",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3722.777816772461,
- "y": 6256.749737739563,
- "z": "ecab9296.c8bb5",
+ "x": 3644.250156402588,
+ "y": 6326.7494764328,
+ "z": "759e49d3.adb538",
"wires": [
[
- "57dc382f.00fb78"
+ "6448d33f.bbcb5c"
]
]
},
{
- "id": "57dc382f.00fb78",
+ "id": "6448d33f.bbcb5c",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3905.0279846191406,
- "y": 6300.750289916992,
- "z": "ecab9296.c8bb5",
+ "x": 3813.500213623047,
+ "y": 6250.750293731689,
+ "z": "759e49d3.adb538",
"wires": [
[
- "1f81d34d.b9bc8d"
+ "f26c7be5.a09148"
]
]
},
{
- "id": "1f81d34d.b9bc8d",
+ "id": "f26c7be5.a09148",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellDU RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 4069.778045654297,
- "y": 6305.500045776367,
- "z": "ecab9296.c8bb5",
+ "x": 3978.250274658203,
+ "y": 6255.500049591064,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "dd5a532a.31de7",
+ "id": "24da6566.d832ba",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4562.762145996094,
- "y": 2802.749995946884,
- "z": "ecab9296.c8bb5",
+ "x": 4471.234375,
+ "y": 2752.7499997615814,
+ "z": "759e49d3.adb538",
"wires": [
[
- "4993a717.46f8a8",
- "a189426a.e06f",
- "407cd551.8c0b3c"
+ "1dd03597.aeb04a",
+ "1e25504f.40132",
+ "9d32db3d.f24b58",
+ "e7b7e590.b78e68",
+ "8697076f.a80788"
]
]
},
{
- "id": "4993a717.46f8a8",
+ "id": "1dd03597.aeb04a",
"type": "set",
"name": "set tmp variables for SO response",
- "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
+ "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
"comments": "",
- "x": 5224.763122558594,
- "y": 2594.649654150009,
- "z": "ecab9296.c8bb5",
+ "x": 5124.2354736328125,
+ "y": 2576.6497507095337,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "a189426a.e06f",
+ "id": "1e25504f.40132",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
"comments": "",
"outputs": 1,
- "x": 5199.762008666992,
- "y": 2691.7503316402435,
- "z": "ecab9296.c8bb5",
+ "x": 5108.234237670898,
+ "y": 2641.750335454941,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "407cd551.8c0b3c",
+ "id": "9d32db3d.f24b58",
"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-modify-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\"/>",
+ "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-modify-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\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 5114.762020111084,
- "y": 2788.750209569931,
- "z": "ecab9296.c8bb5",
+ "x": 5023.23424911499,
+ "y": 2738.7502133846283,
+ "z": "759e49d3.adb538",
"wires": [
[
- "5c35317c.25782",
- "406c58b9.0af8e8"
+ "23ed0542.d1b22a",
+ "4c1017e6.531dd8"
]
]
},
{
- "id": "5c35317c.25782",
+ "id": "23ed0542.d1b22a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5340.762028694153,
- "y": 2765.7501785755157,
- "z": "ecab9296.c8bb5",
+ "x": 5249.234257698059,
+ "y": 2715.750182390213,
+ "z": "759e49d3.adb538",
"wires": [
[
- "e738ce4d.3ec9a"
+ "1d6db6d7.fc0009"
]
]
},
{
- "id": "406c58b9.0af8e8",
+ "id": "4c1017e6.531dd8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5330.761882781982,
- "y": 2873.7501180171967,
- "z": "ecab9296.c8bb5",
+ "x": 5239.234111785889,
+ "y": 2823.750121831894,
+ "z": "759e49d3.adb538",
"wires": [
[
- "81c7f73b.bb5988"
+ "3af12caa.dd2294"
]
]
},
{
- "id": "81c7f73b.bb5988",
+ "id": "3af12caa.dd2294",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5480.761669158936,
- "y": 2892.750179052353,
- "z": "ecab9296.c8bb5",
+ "x": 5389.233898162842,
+ "y": 2842.75018286705,
+ "z": "759e49d3.adb538",
"wires": [
[
- "685257c1.dbd598"
+ "ba3b19.9e93b4e8"
]
]
},
{
- "id": "e738ce4d.3ec9a",
+ "id": "1d6db6d7.fc0009",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5491.7618980407715,
- "y": 2760.7503006458282,
- "z": "ecab9296.c8bb5",
+ "x": 5400.234127044678,
+ "y": 2710.7503044605255,
+ "z": "759e49d3.adb538",
"wires": [
[
- "6fc8ce12.ffbf7"
+ "91986d6c.78314"
]
]
},
{
- "id": "6fc8ce12.ffbf7",
+ "id": "91986d6c.78314",
"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": 5657.761577606201,
- "y": 2763.7501180171967,
- "z": "ecab9296.c8bb5",
+ "x": 5566.233806610107,
+ "y": 2713.750121831894,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "685257c1.dbd598",
+ "id": "ba3b19.9e93b4e8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 5644.761684417725,
- "y": 2898.7501180171967,
- "z": "ecab9296.c8bb5",
+ "x": 5553.233913421631,
+ "y": 2848.750121831894,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "1801c640.1eb6aa",
+ "id": "f60762ce.54f0f",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 644.7621459960938,
- "y": 4484.749995946884,
- "z": "ecab9296.c8bb5",
+ "x": 553.234375,
+ "y": 4434.749999761581,
+ "z": "759e49d3.adb538",
"wires": [
[
- "2c6206d.6de70fa",
- "1ddffe68.aee752",
- "2cffaaba.2b0726",
- "d4ac5731.8f4448"
+ "1755f365.2d9e9d",
+ "a183f9cb.ab9fe8",
+ "5370b94c.47c738",
+ "b9682005.55ec2",
+ "c7b28301.8ff26",
+ "f118882b.21e7f8"
]
]
},
{
- "id": "2cffaaba.2b0726",
+ "id": "5370b94c.47c738",
"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=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
+ "xml": "<set>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
"comments": "",
- "x": 924.7632904052734,
- "y": 4334.649480581284,
- "z": "ecab9296.c8bb5",
+ "x": 830.2355804443359,
+ "y": 4382.649537086487,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "2c6206d.6de70fa",
+ "id": "1755f365.2d9e9d",
"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`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$prop.restapi.so.user`\" />\n<parameter name='field8' value=\"`$prop.restapi.so.password`\" />",
"comments": "",
"outputs": 1,
- "x": 921.7621231079102,
- "y": 4488.750179052353,
- "z": "ecab9296.c8bb5",
+ "x": 828.2344131469727,
+ "y": 4474.750185012817,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "1ddffe68.aee752",
+ "id": "a183f9cb.ab9fe8",
"type": "execute",
"name": "Send to SO",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 790.7622222900391,
- "y": 4605.749883413315,
- "z": "ecab9296.c8bb5",
+ "x": 699.2344512939453,
+ "y": 4555.749887228012,
+ "z": "759e49d3.adb538",
"wires": [
[
- "a55efb74.e8f6e8",
- "48bc51e1.3154e"
+ "8ac6be78.97186",
+ "883df747.690ce8"
]
]
},
{
- "id": "a55efb74.e8f6e8",
+ "id": "8ac6be78.97186",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 955.7622222900391,
- "y": 4585.7498824596405,
- "z": "ecab9296.c8bb5",
+ "x": 864.2344512939453,
+ "y": 4535.749886274338,
+ "z": "759e49d3.adb538",
"wires": [
[
- "d66ff12f.16632"
+ "83eb3825.695bf8"
]
]
},
{
- "id": "48bc51e1.3154e",
+ "id": "883df747.690ce8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 947.7621154785156,
- "y": 4658.749832868576,
- "z": "ecab9296.c8bb5",
+ "x": 856.2343444824219,
+ "y": 4608.749836683273,
+ "z": "759e49d3.adb538",
"wires": [
[
- "9a5e9c9.84c586"
+ "19a02437.9d387c"
]
]
},
{
- "id": "9a5e9c9.84c586",
+ "id": "19a02437.9d387c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1093.7619590759277,
- "y": 4663.749941587448,
- "z": "ecab9296.c8bb5",
+ "x": 1002.234188079834,
+ "y": 4613.749945402145,
+ "z": "759e49d3.adb538",
"wires": [
[
- "229f34c3.38d9cc"
+ "df817796.837228"
]
]
},
{
- "id": "d66ff12f.16632",
+ "id": "83eb3825.695bf8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1104.7621231079102,
- "y": 4581.750017881393,
- "z": "ecab9296.c8bb5",
+ "x": 1013.2343521118164,
+ "y": 4531.750021696091,
+ "z": "759e49d3.adb538",
"wires": [
[
- "95dd5894.9881e8",
- "6e82bdb4.1291d4"
+ "975b3c1a.897ed",
+ "646ea05a.05307"
]
]
},
{
- "id": "95dd5894.9881e8",
+ "id": "975b3c1a.897ed",
"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": 1251.7617416381836,
- "y": 4592.749759435654,
- "z": "ecab9296.c8bb5",
+ "x": 1160.2339706420898,
+ "y": 4542.749763250351,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "229f34c3.38d9cc",
+ "id": "df817796.837228",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 1254.7618789672852,
- "y": 4669.74983382225,
- "z": "ecab9296.c8bb5",
+ "x": 1163.2341079711914,
+ "y": 4619.749837636948,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "6e82bdb4.1291d4",
+ "id": "646ea05a.05307",
"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": 1239.2723503112793,
- "y": 4496.739250898361,
- "z": "ecab9296.c8bb5",
+ "x": 1147.7445793151855,
+ "y": 4446.7392547130585,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "d4ac5731.8f4448",
+ "id": "b9682005.55ec2",
"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": 944.1017456054688,
- "y": 4424.735333204269,
- "z": "ecab9296.c8bb5",
+ "x": 850.5740203857422,
+ "y": 4428.735597610474,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "7f6e77c.a8aac88",
+ "id": "5917f308.c923fc",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2346.2777709960938,
- "y": 1799.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2254.75,
+ "y": 1749.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "d8f59417.85a648"
+ "3b58a3b7.12a87c"
]
]
},
{
- "id": "d8f59417.85a648",
+ "id": "3b58a3b7.12a87c",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2539.2674293518066,
- "y": 1799.7501153945923,
- "z": "ecab9296.c8bb5",
+ "x": 2447.739658355713,
+ "y": 1749.7501192092896,
+ "z": "759e49d3.adb538",
"wires": [
[
- "d6105a5.b6d1ea8",
- "222f51f0.5525ce"
+ "c63a8d49.259f2",
+ "f00ef21a.e935d"
]
]
},
{
- "id": "d6105a5.b6d1ea8",
+ "id": "c63a8d49.259f2",
"type": "execute",
"name": "generate fetchRRMPolicyRatio.ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2846.2676162719727,
- "y": 1766.7502164840698,
- "z": "ecab9296.c8bb5",
+ "x": 2754.739845275879,
+ "y": 1716.750220298767,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "222f51f0.5525ce",
+ "id": "f00ef21a.e935d",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 2790.2680168151855,
- "y": 1819.750410079956,
- "z": "ecab9296.c8bb5",
+ "x": 2698.740245819092,
+ "y": 1769.7504138946533,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "b5b52336.410c8",
+ "id": "f066a98c.b53548",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2773.7777709960938,
- "y": 1183.7499933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2682.25,
+ "y": 1133.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "c34315fa.1db498",
- "6d09e853.849f08"
+ "bc755039.bd697",
+ "50af46a2.3d8b28"
]
]
},
{
- "id": "6d09e853.849f08",
+ "id": "50af46a2.3d8b28",
"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": 3024.7782020568848,
- "y": 1206.7501258850098,
- "z": "ecab9296.c8bb5",
+ "x": 2933.250431060791,
+ "y": 1156.750129699707,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "c34315fa.1db498",
+ "id": "bc755039.bd697",
"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": 3080.777801513672,
- "y": 1153.7499322891235,
- "z": "ecab9296.c8bb5",
+ "x": 2989.250030517578,
+ "y": 1103.7499361038208,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "af2d8803.1f17e8",
+ "id": "f4cb4e30.2d928",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3262.3337936401367,
- "y": 2189.638879776001,
- "z": "ecab9296.c8bb5",
+ "x": 3170.806022644043,
+ "y": 2139.6388835906982,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "5834fa69.5c6e14",
+ "id": "37a5c8ff.003f58",
"type": "execute",
"name": "generate patchRRMPolicyRatio.ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3320.5557708740234,
- "y": 2146.6389694213867,
- "z": "ecab9296.c8bb5",
+ "x": 3229.0279998779297,
+ "y": 2096.638973236084,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "2e20d9b3.457fa6",
+ "id": "58f99f37.d5f6e",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3036.8885040283203,
- "y": 2148.527316093445,
- "z": "ecab9296.c8bb5",
+ "x": 2945.3607330322266,
+ "y": 2098.527319908142,
+ "z": "759e49d3.adb538",
"wires": [
[
- "5834fa69.5c6e14",
- "af2d8803.1f17e8"
+ "37a5c8ff.003f58",
+ "f4cb4e30.2d928"
]
]
},
{
- "id": "e3bb4f1.511c9b",
+ "id": "ed3d4504.d50d98",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2872.7879180908203,
- "y": 2148.5279393196106,
- "z": "ecab9296.c8bb5",
+ "x": 2781.2601470947266,
+ "y": 2098.527943134308,
+ "z": "759e49d3.adb538",
"wires": [
[
- "2e20d9b3.457fa6"
+ "58f99f37.d5f6e"
]
]
},
{
- "id": "7e48e4bd.28eafc",
+ "id": "57b0cfc5.90ed8",
"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": 2313.2777709960938,
- "y": 2836.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 2221.75,
+ "y": 2786.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "b8c91b91.bc1ed8",
+ "id": "c71f00fb.5e8fd",
"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": 2369.277370452881,
- "y": 2783.7497997283936,
- "z": "ecab9296.c8bb5",
+ "x": 2277.749599456787,
+ "y": 2733.749803543091,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "3e7fc5f2.be339a",
+ "id": "29d32973.cf8926",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2050.6107215881348,
- "y": 2779.305579185486,
- "z": "ecab9296.c8bb5",
+ "x": 1959.082950592041,
+ "y": 2729.305583000183,
+ "z": "759e49d3.adb538",
"wires": [
[
- "b8c91b91.bc1ed8",
- "7e48e4bd.28eafc"
+ "c71f00fb.5e8fd",
+ "57b0cfc5.90ed8"
]
]
},
{
- "id": "ec1ec2d5.64a1",
+ "id": "1a557bea.17f494",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2093.2777709960938,
- "y": 3180.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 2001.75,
+ "y": 3130.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "22c23be2.23e954",
- "132387bc.eb1048"
+ "7e96f89a.a2d088",
+ "a263fb8d.9e3108"
]
]
},
{
- "id": "22c23be2.23e954",
+ "id": "7e96f89a.a2d088",
"type": "execute",
"name": "fetch RRMPolicyRatio.TogNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2395.2777061462402,
- "y": 3140.750054359436,
- "z": "ecab9296.c8bb5",
+ "x": 2303.7499351501465,
+ "y": 3090.7500581741333,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "132387bc.eb1048",
+ "id": "a263fb8d.9e3108",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 2339.278106689453,
- "y": 3193.7502479553223,
- "z": "ecab9296.c8bb5",
+ "x": 2247.7503356933594,
+ "y": 3143.7502517700195,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "daec73d6.40c28",
+ "id": "cd497a23.aae548",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1865.7777709960938,
- "y": 3189.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 1774.25,
+ "y": 3139.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "ec1ec2d5.64a1"
+ "1a557bea.17f494"
]
]
},
{
- "id": "70e9bf72.db75d",
+ "id": "3c3546a7.03ac0a",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2410.555721282959,
- "y": 3613.5277214050293,
- "z": "ecab9296.c8bb5",
+ "x": 2319.0279502868652,
+ "y": 3563.5277252197266,
+ "z": "759e49d3.adb538",
"wires": [
[
- "8f68384b.4bdba8"
+ "e8278632.cf5c78"
]
]
},
{
- "id": "8f68384b.4bdba8",
+ "id": "e8278632.cf5c78",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2625.8333778381348,
- "y": 3591.1944494247437,
- "z": "ecab9296.c8bb5",
+ "x": 2534.305606842041,
+ "y": 3541.194453239441,
+ "z": "759e49d3.adb538",
"wires": [
[
- "7f8b4700.95f468",
- "92b538c5.19ca88"
+ "4a21c13d.1cb57",
+ "9a9a4071.9e129"
]
]
},
{
- "id": "7f8b4700.95f468",
+ "id": "4a21c13d.1cb57",
"type": "execute",
"name": "patch RRMPolicyRatio.TogNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2932.2777061462402,
- "y": 3586.750054359436,
- "z": "ecab9296.c8bb5",
+ "x": 2840.7499351501465,
+ "y": 3536.7500581741333,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "92b538c5.19ca88",
+ "id": "9a9a4071.9e129",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 2876.278106689453,
- "y": 3639.7502479553223,
- "z": "ecab9296.c8bb5",
+ "x": 2784.7503356933594,
+ "y": 3589.7502517700195,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "21313198.fd408e",
+ "id": "77cc114f.7824e",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3515.7777709960938,
- "y": 4618.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3424.25,
+ "y": 4568.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "b8295417.a1dfa8",
- "d6d6f49f.c6e468"
+ "109429fc.7388b6",
+ "da00ff7a.d7e7c"
]
]
},
{
- "id": "b8295417.a1dfa8",
+ "id": "109429fc.7388b6",
"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": 3822.777801513672,
- "y": 4588.7499322891235,
- "z": "ecab9296.c8bb5",
+ "x": 3731.250030517578,
+ "y": 4538.749936103821,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "d6d6f49f.c6e468",
+ "id": "da00ff7a.d7e7c",
"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": 3766.7782020568848,
- "y": 4641.75012588501,
- "z": "ecab9296.c8bb5",
+ "x": 3675.250431060791,
+ "y": 4591.750129699707,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "8c2e0cd.722b2f",
+ "id": "74eba97d.894958",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3453.9564895629883,
- "y": 5287.464415550232,
- "z": "ecab9296.c8bb5",
+ "x": 3362.4287185668945,
+ "y": 5237.464419364929,
+ "z": "759e49d3.adb538",
"wires": [
[
- "5c6cdb05.94d3d4"
+ "8ec442ad.86776"
]
]
},
{
- "id": "5c6cdb05.94d3d4",
+ "id": "8ec442ad.86776",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3585.2425689697266,
- "y": 5314.285113334656,
- "z": "ecab9296.c8bb5",
+ "x": 3493.714797973633,
+ "y": 5264.285117149353,
+ "z": "759e49d3.adb538",
"wires": [
[
- "9b4abfa0.2e116",
- "50af952f.c2746c"
+ "c45fd251.f69db",
+ "29cb8cc7.76a6f4"
]
]
},
{
- "id": "9b4abfa0.2e116",
+ "id": "c45fd251.f69db",
"type": "execute",
"name": "generate patchRRMPolicyRatio.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3826.527820587158,
- "y": 5206.999590873718,
- "z": "ecab9296.c8bb5",
+ "x": 3735.0000495910645,
+ "y": 5156.9995946884155,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "50af952f.c2746c",
+ "id": "29cb8cc7.76a6f4",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3769.528308868408,
- "y": 5267.999957084656,
- "z": "ecab9296.c8bb5",
+ "x": 3678.0005378723145,
+ "y": 5217.999960899353,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "f3ac1470.9f0a28",
+ "id": "278fcb95.1037b4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3888.2421875,
- "y": 5633.893160820007,
- "z": "ecab9296.c8bb5",
+ "x": 3796.7144165039062,
+ "y": 5583.893164634705,
+ "z": "759e49d3.adb538",
"wires": [
[
- "568823eb.c15dec"
+ "e3e6fddb.61944"
]
]
},
{
- "id": "568823eb.c15dec",
+ "id": "e3e6fddb.61944",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4046.671443939209,
- "y": 5645.0000076293945,
- "z": "ecab9296.c8bb5",
+ "x": 3955.1436729431152,
+ "y": 5595.000011444092,
+ "z": "759e49d3.adb538",
"wires": [
[
- "808dce4b.d2c8d",
- "81b47bd.3567288"
+ "6cc48551.eedd9c",
+ "4154317.6ae2dd"
]
]
},
{
- "id": "808dce4b.d2c8d",
+ "id": "6cc48551.eedd9c",
"type": "execute",
"name": "generate patchRRMPolicyRatio.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4296.527542114258,
- "y": 5607.714659690857,
- "z": "ecab9296.c8bb5",
+ "x": 4204.999771118164,
+ "y": 5557.714663505554,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "81b47bd.3567288",
+ "id": "4154317.6ae2dd",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4235.24259185791,
- "y": 5657.285738945007,
- "z": "ecab9296.c8bb5",
+ "x": 4143.714820861816,
+ "y": 5607.285742759705,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "d966e0a4.06f35",
+ "id": "15e23cfb.51bb63",
"type": "comment",
"name": "instantiateRANSlice-ModifyAllocate",
"info": "",
"comments": "",
- "x": 783.0277557373047,
- "y": 69.99999618530273,
- "z": "ecab9296.c8bb5",
+ "x": 691.4999847412109,
+ "y": 20,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "ed3c9a78.956f38",
+ "id": "6f0046fe.7f6388",
"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": 293.298583984375,
- "y": 1486.1041193008423,
- "z": "ecab9296.c8bb5",
+ "x": 201.77081298828125,
+ "y": 1436.1041231155396,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "2fed7838.3e4478",
+ "id": "9307ebd4.385188",
"type": "execute",
- "name": "set sNSSAI",
- "xml": "<set>\n<parameter name='tmp.sNSSAI' value='`$tmp.payload.sNSSAI`'/>\n",
+ "name": "set sNSSAI & PLMN id",
+ "xml": "<set>\n\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.snssaiList[0]`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>\n",
"comments": "",
"outputs": 1,
- "x": 727.0277404785156,
- "y": 214.0000057220459,
- "z": "ecab9296.c8bb5",
+ "x": 635.4999694824219,
+ "y": 164.00000953674316,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "c7cf6a0a.7602d8",
+ "id": "4cd7f162.536ce",
"type": "set",
"name": "Calculate maxNumberOfConnsPercellCU * 100",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n",
"comments": "",
- "x": 2209.7778491973877,
- "y": 1675.2500095367432,
- "z": "ecab9296.c8bb5",
+ "x": 2118.250078201294,
+ "y": 1625.2500133514404,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "1a62fde5.66d4f2",
+ "id": "2af6d7eb.224e68",
"type": "set",
"name": "Calculate RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
"comments": "",
- "x": 2161.7778491973877,
- "y": 1713.2500095367432,
- "z": "ecab9296.c8bb5",
+ "x": 2070.250078201294,
+ "y": 1663.2500133514404,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "286ddbec.57d7c4",
+ "id": "8ee56bd1.fa1718",
"type": "set",
"name": "set rrmpolicyratio list size",
"xml": "<set>\n<parameter name='tmp.rrmPolicyRatioList_length' value='`$get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
"comments": "",
- "x": 2196.0277576446533,
- "y": 2002.250135421753,
- "z": "ecab9296.c8bb5",
+ "x": 2104.4999866485596,
+ "y": 1952.2501392364502,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "cb603df3.12a5a",
+ "id": "510e1bea.eaddd4",
"type": "execute",
"name": "read rrmPolicyDedicatedRatio_cellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatiocellCU_old' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2662.0277576446533,
- "y": 2075.000078201294,
- "z": "ecab9296.c8bb5",
+ "x": 2570.4999866485596,
+ "y": 2025.0000820159912,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "51b41b66.216574",
+ "id": "1e69e183.e792ce",
"type": "block",
"name": "Get Cells List in TA",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 502.2777404785156,
- "y": 1002.0000991821289,
- "z": "ecab9296.c8bb5",
+ "x": 410.7499694824219,
+ "y": 952.0001029968262,
+ "z": "759e49d3.adb538",
"wires": [
[
- "faf6dcc0.4a777",
- "d2bb3cf4.20a25",
- "3b9e8228.6b4d7e"
+ "c1c79d1d.7eb9e",
+ "d9f8000c.d22ee",
+ "55528c9b.84e8b4"
]
]
},
{
- "id": "faf6dcc0.4a777",
+ "id": "c1c79d1d.7eb9e",
"type": "execute",
"name": "generate getListOfCells URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getListOfCells`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getListOfCells.url\"/>\n <parameter name=\"target\" value=\"{trackingArea}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.trackingArea`\"/>",
"comments": "",
"outputs": 1,
- "x": 758.7778930664062,
- "y": 1000.4999394416809,
- "z": "ecab9296.c8bb5",
+ "x": 667.2501220703125,
+ "y": 950.4999432563782,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "d2bb3cf4.20a25",
+ "id": "d9f8000c.d22ee",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB Get getListOfCells for tracking area\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getListOfCells.url`\" />\n<parameter name='field3' value=\"`$tmp.payload.trackingArea`\" />",
"comments": "",
"outputs": 1,
- "x": 758.7779159545898,
- "y": 1042.2502136230469,
- "z": "ecab9296.c8bb5",
+ "x": 667.2501449584961,
+ "y": 992.2502174377441,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "3b9e8228.6b4d7e",
+ "id": "55528c9b.84e8b4",
"type": "execute",
"name": "Get ListOfCells for TrackingArea",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getListOfCells.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getListofCells-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 744.2778930664062,
- "y": 1094.0000925064087,
- "z": "ecab9296.c8bb5",
+ "x": 652.7501220703125,
+ "y": 1044.000096321106,
+ "z": "759e49d3.adb538",
"wires": [
[
- "822850d6.990ce",
- "b3f26a14.d5d5c8"
+ "8d56a004.6b7f",
+ "356c8ddb.9c2e32"
]
]
},
{
- "id": "822850d6.990ce",
+ "id": "8d56a004.6b7f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1074.2776184082031,
- "y": 927.0001354217529,
- "z": "ecab9296.c8bb5",
+ "x": 982.7498474121094,
+ "y": 877.0001392364502,
+ "z": "759e49d3.adb538",
"wires": [
[
- "a262f43a.5283d8"
+ "b5ce958.cf15e68"
]
]
},
{
- "id": "b3f26a14.d5d5c8",
+ "id": "356c8ddb.9c2e32",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1068.2775421142578,
- "y": 973.0001220703125,
- "z": "ecab9296.c8bb5",
+ "x": 976.7497711181641,
+ "y": 923.0001258850098,
+ "z": "759e49d3.adb538",
"wires": [
[
- "be9b511e.c44ae"
+ "73fff598.1708bc"
]
]
},
{
- "id": "be9b511e.c44ae",
+ "id": "73fff598.1708bc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1218.2772674560547,
- "y": 974.0001683235168,
- "z": "ecab9296.c8bb5",
+ "x": 1126.749496459961,
+ "y": 924.0001721382141,
+ "z": "759e49d3.adb538",
"wires": [
[
- "73fca4fd.b7362c",
- "e98da22b.3aff5",
- "8fe33e85.79785"
+ "cd06a95.7992a58",
+ "97bab026.5a91",
+ "8993bded.eea73"
]
]
},
{
- "id": "73fca4fd.b7362c",
+ "id": "cd06a95.7992a58",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained List of Cells from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getListofCells-configdb-response._length`\"/>\n<parameter name=\"field3\" value=\"List of Cells in the Tracking Area Relevant for RAN Slice Instantiation \"/>",
"comments": "",
"outputs": 1,
- "x": 1407.277328491211,
- "y": 887.0001220703125,
- "z": "ecab9296.c8bb5",
+ "x": 1315.7495574951172,
+ "y": 837.0001258850098,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "8fe33e85.79785",
+ "id": "8993bded.eea73",
"type": "for",
"name": "For list of cells",
"xml": "<for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 1416.2984313964844,
- "y": 924.6663513183594,
- "z": "ecab9296.c8bb5",
+ "x": 1324.7706604003906,
+ "y": 874.6663551330566,
+ "z": "759e49d3.adb538",
"wires": [
[
- "2d309897.8f3dc8",
- "93a840ae.96884"
+ "ea95221.f1f85e",
+ "ae18d26e.68e0f"
]
]
},
{
- "id": "e98da22b.3aff5",
+ "id": "97bab026.5a91",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1387.055648803711,
- "y": 972.0001373291016,
- "z": "ecab9296.c8bb5",
+ "x": 1295.5278778076172,
+ "y": 922.0001411437988,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "2d309897.8f3dc8",
+ "id": "ea95221.f1f85e",
"type": "execute",
"name": "Cells in TrackingArea",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $idx + ']'`\" />",
"comments": "",
"outputs": 1,
- "x": 1621.2982788085938,
- "y": 874.3328857421875,
- "z": "ecab9296.c8bb5",
+ "x": 1529.7705078125,
+ "y": 824.3328895568848,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "93a840ae.96884",
+ "id": "ae18d26e.68e0f",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.trackingarea.cell`\"/>",
"comments": "",
"outputs": 1,
- "x": 1574.2982788085938,
- "y": 917.6662607192993,
- "z": "ecab9296.c8bb5",
+ "x": 1482.7705078125,
+ "y": 867.6662645339966,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "a262f43a.5283d8",
+ "id": "b5ce958.cf15e68",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1235.2774963378906,
- "y": 897.0000600814819,
- "z": "ecab9296.c8bb5",
+ "x": 1143.7497253417969,
+ "y": 847.0000638961792,
+ "z": "759e49d3.adb538",
"wires": [
[
- "796502a3.c2f65c",
- "8a99cf77.1c2c8"
+ "2153806e.85179",
+ "1cdc5774.13a179"
]
]
},
{
- "id": "8a99cf77.1c2c8",
+ "id": "1cdc5774.13a179",
"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": 1494.2777099609375,
- "y": 793.1111373901367,
- "z": "ecab9296.c8bb5",
+ "x": 1402.7499389648438,
+ "y": 743.111141204834,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "796502a3.c2f65c",
+ "id": "2153806e.85179",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1479.2773742675781,
- "y": 837.0001373291016,
- "z": "ecab9296.c8bb5",
+ "x": 1387.7496032714844,
+ "y": 787.0001411437988,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "3fcfd799.26f778",
+ "id": "451a06f1.e68438",
"type": "for",
"name": "foreach TACell",
"xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2084.361152648926,
- "y": 951.3612060546875,
- "z": "ecab9296.c8bb5",
+ "x": 1992.833381652832,
+ "y": 901.3612098693848,
+ "z": "759e49d3.adb538",
"wires": [
[
- "fe79e9a1.bd9268"
+ "3dde4e2f.e3f042"
]
]
},
{
- "id": "3adedaf9.ad7a56",
+ "id": "2ae1a49e.253ebc",
"type": "switchNode",
"name": "is cellCU applicable for NSSAI",
"xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
"comments": "",
"outputs": 1,
- "x": 2333.2777709960938,
- "y": 886.4999933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2241.75,
+ "y": 836.499997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "14792223.bbe25e"
+ "af18df.a86b672"
]
]
},
{
- "id": "14792223.bbe25e",
+ "id": "af18df.a86b672",
"type": "outcome",
"name": "Applicable",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2274.2777709960938,
- "y": 959.4999933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2182.75,
+ "y": 909.499997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "882e7a80.d74e58"
+ "33ce0cbb.f24934"
]
]
},
{
- "id": "fe79e9a1.bd9268",
+ "id": "3dde4e2f.e3f042",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2126.2777709960938,
- "y": 786.4999933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2034.75,
+ "y": 736.499997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "3adedaf9.ad7a56",
- "4f62074b.7611d8",
- "bdd0d419.d8f3f8"
+ "2ae1a49e.253ebc",
+ "30c1ba1c.3122f6",
+ "8d003d00.b29f2"
]
]
},
{
- "id": "4f62074b.7611d8",
+ "id": "30c1ba1c.3122f6",
"type": "execute",
"name": "read Cell from getNFNSSIRIC-configdb-response",
"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": 2452.2777709960938,
- "y": 729.4999933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2360.75,
+ "y": 679.499997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "bdd0d419.d8f3f8",
+ "id": "8d003d00.b29f2",
"type": "execute",
"name": "read cellCU from getListofCells-configdb-response",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id-ta + ']'`\" />",
"comments": "",
"outputs": 1,
- "x": 2462.2777709960938,
- "y": 794.4999933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2370.75,
+ "y": 744.499997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "c282a260.9d8de",
+ "id": "6aae55af.746a8c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio_id is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyMember_id - \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyRatio update URL is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2607.472267150879,
- "y": 2319.6111402511597,
- "z": "ecab9296.c8bb5",
+ "x": 2515.944496154785,
+ "y": 2269.611144065857,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "b3c3cf99.6f492",
+ "id": "84f94ac7.29a9f8",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2892.194320678711,
- "y": 2185.444308280945,
- "z": "ecab9296.c8bb5",
+ "x": 2800.666549682617,
+ "y": 2135.444312095642,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "8f54fffc.9c001",
+ "id": "c5d98457.57fed8",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2886.7497787475586,
- "y": 2215.4445486068726,
- "z": "ecab9296.c8bb5",
+ "x": 2795.222007751465,
+ "y": 2165.44455242157,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "148d5e51.205352",
+ "id": "c24f6f07.1cb2f",
"type": "execute",
"name": "read rrmPolicyMemberListLength",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyMembers' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2897.472396850586,
- "y": 2248.777892112732,
- "z": "ecab9296.c8bb5",
+ "x": 2805.944625854492,
+ "y": 2198.777895927429,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "8f418c29.a17f4",
+ "id": "678682c0.b94e4c",
"type": "set",
"name": "set API params",
- "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.CUCPName`'/>\n<parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBCUCPList.nFType' value='RRC Connected Users'/>\n ",
+ "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.CUCPName`'/>\n<parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBCUCPList.nFType' value='RRC Connected Users'/>\n ",
"comments": "",
- "x": 1985.0001029968262,
- "y": 2250.4444789886475,
- "z": "ecab9296.c8bb5",
+ "x": 1893.4723320007324,
+ "y": 2200.4444828033447,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "ca3912f.d1798f",
+ "id": "c2224ad0.15c998",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"gNBCUName\"/>\n<parameter name=\"field8\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBCUCPList.gNBId`\"/>\n<parameter name=\"field11\" value=\"nFType\"/>\n<parameter name=\"field12\" value=\"`$tmp.gNBCUCPList.nFType`\"/>",
"comments": "",
"outputs": 1,
- "x": 1971.4999504089355,
- "y": 2292.6666173934937,
- "z": "ecab9296.c8bb5",
+ "x": 1879.9721794128418,
+ "y": 2242.666621208191,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "29ac3d55.731702",
+ "id": "16923767.56c8d9",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config DB update\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1955.2152709960938,
- "y": 2207.24999332428,
- "z": "ecab9296.c8bb5",
+ "x": 1863.6875,
+ "y": 2157.249997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "ecf0eb94.11b9d8",
+ "id": "e5c03462.fa86e8",
"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=\"`$tmp.payload.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 761.4652709960938,
- "y": 393.1874933242798,
- "z": "ecab9296.c8bb5",
+ "x": 669.9375,
+ "y": 343.18749713897705,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "83908c36.67ca7",
+ "id": "69c21735.b71928",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 734.9653396606445,
- "y": 436.1875276565552,
- "z": "ecab9296.c8bb5",
+ "x": 643.4375686645508,
+ "y": 386.18753147125244,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "af70e055.a55d3",
+ "id": "d2cc7abd.c97368",
"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": 802.7152709960938,
- "y": 479.1874809265137,
- "z": "ecab9296.c8bb5",
+ "x": 711.1875,
+ "y": 429.18748474121094,
+ "z": "759e49d3.adb538",
"wires": [
[
- "16b504ec.cfbb6b",
- "787f632a.4559bc"
+ "5eb99eb9.515aa",
+ "da8a8469.d36798"
]
]
},
{
- "id": "1b3d2270.9f737e",
+ "id": "47dfc3fa.5c07bc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 748.2088241577148,
- "y": 638.6809701919556,
- "z": "ecab9296.c8bb5",
+ "x": 656.6810531616211,
+ "y": 588.6809740066528,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "6c2905b1.5d124c",
+ "id": "db7c909d.0349f",
"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": 743.7152709960938,
- "y": 559.4376137256622,
- "z": "ecab9296.c8bb5",
+ "x": 652.1875,
+ "y": 509.4376175403595,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "3abeea9c.1b2eb6",
+ "id": "10c59f19.bc3e91",
"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": 747.4653472900391,
- "y": 596.6874465942383,
- "z": "ecab9296.c8bb5",
+ "x": 655.9375762939453,
+ "y": 546.6874504089355,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "ade269f7.3d78c8",
+ "id": "2b886fc1.3682c",
"type": "block",
"name": "get PLMNId",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 496.4652786254883,
- "y": 503.1874990463257,
- "z": "ecab9296.c8bb5",
+ "x": 404.93750762939453,
+ "y": 453.18750286102295,
+ "z": "759e49d3.adb538",
"wires": [
[
- "ecf0eb94.11b9d8",
- "83908c36.67ca7",
- "af70e055.a55d3",
- "6c2905b1.5d124c",
- "3abeea9c.1b2eb6",
- "1b3d2270.9f737e",
- "cea464b4.22b448"
+ "e5c03462.fa86e8",
+ "69c21735.b71928",
+ "d2cc7abd.c97368",
+ "db7c909d.0349f",
+ "10c59f19.bc3e91",
+ "47dfc3fa.5c07bc",
+ "2969fa25.1ec4a6"
]
]
},
{
- "id": "cea464b4.22b448",
+ "id": "2969fa25.1ec4a6",
"type": "set",
"name": "set PLMNId",
"xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-configdb-response.plmnId`'/>",
"comments": "",
- "x": 759.9028282165527,
- "y": 517.875,
- "z": "ecab9296.c8bb5",
+ "x": 668.375057220459,
+ "y": 467.87500381469727,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "16b504ec.cfbb6b",
+ "id": "5eb99eb9.515aa",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1040.2152709960938,
- "y": 484.4374933242798,
- "z": "ecab9296.c8bb5",
+ "x": 948.6875,
+ "y": 434.43749713897705,
+ "z": "759e49d3.adb538",
"wires": [
[
- "29352de3.1f0e32"
+ "f9a6e91c.f3c608"
]
]
},
{
- "id": "29352de3.1f0e32",
+ "id": "f9a6e91c.f3c608",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1213.215072631836,
- "y": 473.43756580352783,
- "z": "ecab9296.c8bb5",
+ "x": 1121.6873016357422,
+ "y": 423.4375696182251,
+ "z": "759e49d3.adb538",
"wires": [
[
- "3bc43a09.4c5556",
- "d5e7d38e.57b25"
+ "a414c006.73b36",
+ "c133b739.422de8"
]
]
},
{
- "id": "3bc43a09.4c5556",
+ "id": "a414c006.73b36",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained PLMNId info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getPLMN-configdb-response`\"/>",
"comments": "",
"outputs": 1,
- "x": 1413.96480178833,
- "y": 473.18759059906006,
- "z": "ecab9296.c8bb5",
+ "x": 1322.4370307922363,
+ "y": 423.1875944137573,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "d5e7d38e.57b25",
+ "id": "c133b739.422de8",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1449.7430152893066,
- "y": 516.4375991821289,
- "z": "ecab9296.c8bb5",
+ "x": 1358.215244293213,
+ "y": 466.4376029968262,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "295dcd8f.d34882",
+ "id": "27bc4086.0e4df",
"type": "set",
"name": "set API params",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfo-configdb-response.rrmPolicyID`'/>\n<parameter name='tmp.resourceID' value='`$tmp.cellCULocalId`'/>",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>\n<parameter name='tmp.resourceID' value='`$tmp.cellCULocalId`'/>",
"comments": "",
- "x": 2020.8404083251953,
- "y": 2510.0625562667847,
- "z": "ecab9296.c8bb5",
+ "x": 2080.312759399414,
+ "y": 2584.063018798828,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "e67c1235.a668b",
+ "id": "31c945af.5bb96a",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
"comments": "",
"outputs": 1,
- "x": 1986.0902366638184,
- "y": 2561.0345702171326,
- "z": "ecab9296.c8bb5",
+ "x": 2009.5627059936523,
+ "y": 2615.035126686096,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "4639f97.7feb608",
+ "id": "c94ce5be.aa8a58",
"type": "execute",
"name": "generate getRRMPolicyRatio URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getRRMPolicyRatio`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceType}\"/>\n <parameter name=\"replacement\" value=\"RRC Connected Users\"/>",
"comments": "",
"outputs": 1,
- "x": 2069.249984741211,
- "y": 2369.0556211471558,
- "z": "ecab9296.c8bb5",
+ "x": 1977.7222137451172,
+ "y": 2319.055624961853,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "30531c3.32959e4",
+ "id": "e4fcb239.0de",
"type": "execute",
"name": "Get rrmPolicy by resourceid",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfo-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 2071.638687133789,
- "y": 2473.2220945358276,
- "z": "ecab9296.c8bb5",
+ "x": 1980.1109161376953,
+ "y": 2423.222098350525,
+ "z": "759e49d3.adb538",
"wires": [
[
- "41528a78.b36974",
- "d30b0dd8.157b5"
+ "262106e3.4c877a",
+ "ddc13490.2ba608"
]
]
},
{
- "id": "79add8fe.1d3c58",
+ "id": "b3e4cb3c.f52fe8",
"type": "execute",
"name": "prepare resourceId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2024.8054656982422,
- "y": 2398.222234725952,
- "z": "ecab9296.c8bb5",
+ "x": 1933.2776947021484,
+ "y": 2348.2222385406494,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "41528a78.b36974",
+ "id": "262106e3.4c877a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2375.3610229492188,
- "y": 2524.055413246155,
- "z": "ecab9296.c8bb5",
+ "x": 2283.833251953125,
+ "y": 2474.055417060852,
+ "z": "759e49d3.adb538",
"wires": [
[
- "8c18dc3c.f60c2"
+ "3c4de390.1f0a8c"
]
]
},
{
- "id": "d30b0dd8.157b5",
+ "id": "ddc13490.2ba608",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2379.47208404541,
- "y": 2569.2777161598206,
- "z": "ecab9296.c8bb5",
+ "x": 2287.9443130493164,
+ "y": 2519.277719974518,
+ "z": "759e49d3.adb538",
"wires": [
[
- "ac147d54.4bfb7"
+ "11c274a0.f6a09b"
]
]
},
{
- "id": "8c18dc3c.f60c2",
+ "id": "3c4de390.1f0a8c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2527.3613147735596,
- "y": 2522.055393218994,
- "z": "ecab9296.c8bb5",
+ "x": 2435.833543777466,
+ "y": 2472.0553970336914,
+ "z": "759e49d3.adb538",
"wires": [
[
- "c1d90c31.c6d7f",
- "5505e414.d72ebc"
+ "baa30b72.bd8df8",
+ "3fd2f1bd.7cd9de"
]
]
},
{
- "id": "5505e414.d72ebc",
+ "id": "3fd2f1bd.7cd9de",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2693.3610706329346,
- "y": 2488.055393218994,
- "z": "ecab9296.c8bb5",
+ "x": 2601.833299636841,
+ "y": 2438.0553970336914,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "c1d90c31.c6d7f",
+ "id": "baa30b72.bd8df8",
"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 in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2721.694534301758,
- "y": 2520.833411216736,
- "z": "ecab9296.c8bb5",
+ "x": 2630.166763305664,
+ "y": 2470.833415031433,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "71c39fca.ccb7c",
+ "id": "9a7e45c8.f220d8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2697.250015258789,
- "y": 2552.055764198303,
- "z": "ecab9296.c8bb5",
+ "x": 2605.7222442626953,
+ "y": 2502.0557680130005,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "742be788.ee2cd8",
+ "id": "dbb82033.dbab2",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2795.472183227539,
- "y": 2578.3888597488403,
- "z": "ecab9296.c8bb5",
+ "x": 2703.9444122314453,
+ "y": 2528.3888635635376,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "ac147d54.4bfb7",
+ "id": "11c274a0.f6a09b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2534.0276794433594,
- "y": 2572.944191932678,
- "z": "ecab9296.c8bb5",
+ "x": 2442.4999084472656,
+ "y": 2522.9441957473755,
+ "z": "759e49d3.adb538",
"wires": [
[
- "71c39fca.ccb7c",
- "742be788.ee2cd8"
+ "9a7e45c8.f220d8",
+ "dbb82033.dbab2"
]
]
},
{
- "id": "5b1ca906.eba328",
+ "id": "184dd5a5.577a3a",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2009.2499389648438,
- "y": 2442.38866519928,
- "z": "ecab9296.c8bb5",
+ "x": 1917.7221908569336,
+ "y": 2383.3887016773224,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "69ec533e.600d9c",
+ "id": "c5fe3b99.1d3e78",
"type": "set",
"name": "Calculate maxNumberOfDRBsPerNSSAI",
"xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />",
"comments": "",
- "x": 1756.7499542236328,
- "y": 2992.6668615341187,
- "z": "ecab9296.c8bb5",
+ "x": 1665.222183227539,
+ "y": 2942.666865348816,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "14b3dc4d.71ca44",
+ "id": "a1b8c8f8.74d788",
"type": "set",
"name": "Calculate maxNumberOfDRBsPerCUUP",
"xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />",
"comments": "",
- "x": 1765.6388092041016,
- "y": 3027.1108541488647,
- "z": "ecab9296.c8bb5",
+ "x": 1674.1110382080078,
+ "y": 2977.110857963562,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "d4cbbf53.53515",
+ "id": "19ef14fc.39bc0b",
"type": "set",
"name": "Calculate RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
"comments": "",
- "x": 1716.7499465942383,
- "y": 3098.222252845764,
- "z": "ecab9296.c8bb5",
+ "x": 1625.2221755981445,
+ "y": 3048.2222566604614,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "a36cc0c6.861ae",
+ "id": "e10674b2.c2e2b8",
"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": 1703.1388549804688,
- "y": 2843.499749183655,
- "z": "ecab9296.c8bb5",
+ "x": 1611.611083984375,
+ "y": 2793.499752998352,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "2ff98ab1.8da426",
+ "id": "90ddb2d0.d87ff",
"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`\"/>",
"comments": "",
"outputs": 1,
- "x": 1712.027847290039,
- "y": 2879.722228050232,
- "z": "ecab9296.c8bb5",
+ "x": 1620.5000762939453,
+ "y": 2829.722231864929,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "46dc7d95.4c06c4",
+ "id": "4d887879.598528",
"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/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch CUUP NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1714.9168548583984,
- "y": 2915.722222328186,
- "z": "ecab9296.c8bb5",
+ "x": 1623.3890838623047,
+ "y": 2865.7222261428833,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "323b9ab7.0a7686",
+ "id": "7ed18747.897518",
"type": "execute",
"name": "read existing rrmPolicyDedicatedRatio ",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_CUUP' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2238.9720458984375,
- "y": 3497.9442110061646,
- "z": "ecab9296.c8bb5",
+ "x": 2147.4442749023438,
+ "y": 3447.944214820862,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "91bdd1cb.225b5",
+ "id": "5eb910dc.63339",
"type": "execute",
"name": "read rrmPolicyMemberListLength",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyMembers-CUUP' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2239.527847290039,
- "y": 3697.9441614151,
- "z": "ecab9296.c8bb5",
+ "x": 2148.0000762939453,
+ "y": 3647.9441652297974,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "4c95d3de.dafcac",
+ "id": "966f5f6c.79424",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2242.5831909179688,
- "y": 3627.94432926178,
- "z": "ecab9296.c8bb5",
+ "x": 2151.055419921875,
+ "y": 3577.944333076477,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "304737db.ae6f58",
+ "id": "a8b910c1.35bd6",
"type": "set",
"name": "set rrmpolicyratio list size",
"xml": "<set>\n<parameter name='tmp.rrmPolicyRatioList_CUUP_length' value='`$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
"comments": "",
- "x": 1700.0277252197266,
- "y": 3408.944493293762,
- "z": "ecab9296.c8bb5",
+ "x": 1608.4999542236328,
+ "y": 3358.9444971084595,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "74f76f8.3409a9",
+ "id": "b942a6b.7960d58",
"type": "execute",
"name": "read RRMPolicyRatio_id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2221.7499771118164,
- "y": 3664.610743522644,
- "z": "ecab9296.c8bb5",
+ "x": 2130.2222061157227,
+ "y": 3614.6107473373413,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "e0eae9af.e47b18",
+ "id": "84a4604f.8d728",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config DB update\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1888.5902709960938,
- "y": 3744.74999332428,
- "z": "ecab9296.c8bb5",
+ "x": 1797.0625,
+ "y": 3694.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "aaab029a.73315",
+ "id": "299e974e.339708",
"type": "set",
"name": "set API params",
- "xml": "<set>\n<parameter name='tmp.gNBCUUPList.gNBCUUPId' value='`$tmp.idGNBCUUPFunction`'/>\n<parameter name='tmp.gNBCUUPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='payloadJson.input.sliceProfile.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n ",
+ "xml": "<set>\n<parameter name='tmp.gNBCUUPList.gNBCUUPId' value='`$tmp.idGNBCUUPFunction`'/>\n<parameter name='tmp.gNBCUUPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n ",
"comments": "",
- "x": 1918.3751029968262,
- "y": 3787.9444789886475,
- "z": "ecab9296.c8bb5",
+ "x": 1826.8473320007324,
+ "y": 3737.9444828033447,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "197ebca7.656673",
+ "id": "6c24c782.d0a758",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI\"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field4\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field5\" value=\"gNBCUUPId\"/>\n<parameter name=\"field6\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n<parameter name=\"field7\" value=\"pLMNId\"/>\n<parameter name=\"field8\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBCUUPList.gNBId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1904.8749504089355,
- "y": 3830.1666173934937,
- "z": "ecab9296.c8bb5",
+ "x": 1813.3471794128418,
+ "y": 3780.166621208191,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "d0d818c6.4b2608",
+ "id": "7058946c.55742c",
"type": "execute",
"name": "generate getRRMPolicyRatio URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getRRMPolicyRatio`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceType}\"/>\n <parameter name=\"replacement\" value=\"DRB\"/>",
"comments": "",
"outputs": 1,
- "x": 1984.6666107177734,
- "y": 3938.9514265060425,
- "z": "ecab9296.c8bb5",
+ "x": 1893.1388397216797,
+ "y": 3888.9514303207397,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "27aaafdc.f134",
+ "id": "fdf0bdc3.1bcf5",
"type": "execute",
"name": "prepare resourceId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1936.8887100219727,
- "y": 3982.562382698059,
- "z": "ecab9296.c8bb5",
+ "x": 1845.360939025879,
+ "y": 3932.5623865127563,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "28f0e3bf.db6d3c",
+ "id": "b7846e74.a07df",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1900.2222518920898,
- "y": 4020.0623922348022,
- "z": "ecab9296.c8bb5",
+ "x": 1808.694480895996,
+ "y": 3970.0623960494995,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "7153e6fc.a20688",
+ "id": "79a67268.2b630c",
"type": "execute",
"name": "Get rrmPolicy by resourceid",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfo-cuup-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 1963.7220840454102,
- "y": 4059.784499168396,
- "z": "ecab9296.c8bb5",
+ "x": 1872.1944427490234,
+ "y": 3999.7846603393555,
+ "z": "759e49d3.adb538",
"wires": [
[
- "5d347054.f7c5a",
- "f89ac2d4.50c37"
+ "4312b789.e7cd78",
+ "f055c888.5bd8d8"
]
]
},
{
- "id": "3d2034c9.c91a4c",
+ "id": "b77378b.9f21e88",
"type": "set",
"name": "set API params",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfo-cuup-configdb-response.rrmPolicyID`'/>\n<parameter name='tmp.resourceID' value='`$tmp.idGNBCUUPFunction`'/>",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>\n<parameter name='tmp.resourceID' value='`$tmp.idGNBCUUPFunction`'/>",
"comments": "",
- "x": 1922.9238739013672,
- "y": 4103.291432380676,
- "z": "ecab9296.c8bb5",
+ "x": 1935.3963203430176,
+ "y": 4145.291499137878,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "4a3e020d.51ae0c",
+ "id": "8cf0b3fc.b6ae4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
"comments": "",
"outputs": 1,
- "x": 1895.9513473510742,
- "y": 4162.041583061218,
- "z": "ecab9296.c8bb5",
+ "x": 1886.4236907958984,
+ "y": 4180.041500091553,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "5d347054.f7c5a",
+ "id": "4312b789.e7cd78",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2286.8889656066895,
- "y": 4008.8122987747192,
- "z": "ecab9296.c8bb5",
+ "x": 2195.3611946105957,
+ "y": 3958.8123025894165,
+ "z": "759e49d3.adb538",
"wires": [
[
- "2173ce6d.d1fb72"
+ "5ca42f27.2ff53"
]
]
},
{
- "id": "2173ce6d.d1fb72",
+ "id": "5ca42f27.2ff53",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2435.1391830444336,
- "y": 4016.812481880188,
- "z": "ecab9296.c8bb5",
+ "x": 2343.61141204834,
+ "y": 3966.8124856948853,
+ "z": "759e49d3.adb538",
"wires": [
[
- "47c101.94aa2f",
- "a17e37ba.d1f118"
+ "d21fcdf9.6166e",
+ "722236db.b72138"
]
]
},
{
- "id": "a17e37ba.d1f118",
+ "id": "722236db.b72138",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2622.3890018463135,
- "y": 3996.56254196167,
- "z": "ecab9296.c8bb5",
+ "x": 2530.8612308502197,
+ "y": 3946.562545776367,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "47c101.94aa2f",
+ "id": "d21fcdf9.6166e",
"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 in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2640.7224044799805,
- "y": 4039.340558052063,
- "z": "ecab9296.c8bb5",
+ "x": 2549.1946334838867,
+ "y": 3989.3405618667603,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "ce6218de.e91bd8",
+ "id": "8366b247.32cbe",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2704.4999923706055,
- "y": 4103.145795822144,
- "z": "ecab9296.c8bb5",
+ "x": 2612.9722213745117,
+ "y": 4053.145799636841,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "d0f0843d.d984f8",
+ "id": "90eb5383.931df",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2646.277858734131,
- "y": 4069.3127870559692,
- "z": "ecab9296.c8bb5",
+ "x": 2554.750087738037,
+ "y": 4019.3127908706665,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "424ea0ba.7617a",
+ "id": "2498d66f.05e3ba",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2450.5554428100586,
- "y": 4097.701459884644,
- "z": "ecab9296.c8bb5",
+ "x": 2359.027671813965,
+ "y": 4047.701463699341,
+ "z": "759e49d3.adb538",
"wires": [
[
- "d0f0843d.d984f8",
- "ce6218de.e91bd8"
+ "90eb5383.931df",
+ "8366b247.32cbe"
]
]
},
{
- "id": "f89ac2d4.50c37",
+ "id": "f055c888.5bd8d8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2280.444580078125,
- "y": 4080.284736633301,
- "z": "ecab9296.c8bb5",
+ "x": 2188.9168090820312,
+ "y": 4030.284740447998,
+ "z": "759e49d3.adb538",
"wires": [
[
- "424ea0ba.7617a"
+ "2498d66f.05e3ba"
]
]
},
{
- "id": "2e61752a.3c32aa",
+ "id": "157c4b84.4d0224",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2057.027587890625,
- "y": 4452.9441385269165,
- "z": "ecab9296.c8bb5",
+ "x": 1965.4998168945312,
+ "y": 4402.944142341614,
+ "z": "759e49d3.adb538",
"wires": [
[
- "2cd3b5f5.23ff3a"
+ "f47ab622.b214b8"
]
]
},
{
- "id": "2cd3b5f5.23ff3a",
+ "id": "f47ab622.b214b8",
"type": "for",
"name": "foreach TACell",
"xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2243.0000228881836,
- "y": 4452.889126777649,
- "z": "ecab9296.c8bb5",
+ "x": 2151.47225189209,
+ "y": 4402.889130592346,
+ "z": "759e49d3.adb538",
"wires": [
[
- "c05eb786.188d58"
+ "bcbae4bb.bc1858"
]
]
},
{
- "id": "c05eb786.188d58",
+ "id": "bcbae4bb.bc1858",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2443.8053283691406,
- "y": 4454.694352149963,
- "z": "ecab9296.c8bb5",
+ "x": 2352.277557373047,
+ "y": 4404.694355964661,
+ "z": "759e49d3.adb538",
"wires": [
[
- "91f4eff5.01fd4",
- "c929fc4b.7fe69",
- "a294df58.248b4"
+ "a35c3f65.80d9f",
+ "bf0671ef.cd08",
+ "aec85d5b.3acb9"
]
]
},
{
- "id": "c929fc4b.7fe69",
+ "id": "bf0671ef.cd08",
"type": "execute",
"name": "read Cell from getNFNSSIRIC-configdb-response",
"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 +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2725.361053466797,
- "y": 4281.027560830116,
- "z": "ecab9296.c8bb5",
+ "x": 2633.833282470703,
+ "y": 4231.0275646448135,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "a294df58.248b4",
+ "id": "aec85d5b.3acb9",
"type": "execute",
"name": "read cellCU from getListofCells-configdb-response",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id-ta + ']'`\" />",
"comments": "",
"outputs": 1,
- "x": 2728.694381713867,
- "y": 4322.694230079651,
- "z": "ecab9296.c8bb5",
+ "x": 2637.1666107177734,
+ "y": 4272.694233894348,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "91f4eff5.01fd4",
+ "id": "a35c3f65.80d9f",
"type": "switchNode",
"name": "is cellCU applicable for NSSAI",
"xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
"comments": "",
"outputs": 1,
- "x": 2688.583137512207,
- "y": 4365.805629566312,
- "z": "ecab9296.c8bb5",
+ "x": 2597.0553665161133,
+ "y": 4315.805633381009,
+ "z": "759e49d3.adb538",
"wires": [
[
- "375d9009.4414e"
+ "41f14699.885338"
]
]
},
{
- "id": "375d9009.4414e",
+ "id": "41f14699.885338",
"type": "outcome",
"name": "Applicable",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2926.2499084472656,
- "y": 4369.916241645813,
- "z": "ecab9296.c8bb5",
+ "x": 2834.722137451172,
+ "y": 4319.91624546051,
+ "z": "759e49d3.adb538",
"wires": [
[
- "8ca9297e.0bb688"
+ "83218ecb.afe25"
]
]
},
{
- "id": "517677f0.6d4018",
+ "id": "18e4f7f5.7b1998",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated RRMPolicyRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>",
"comments": "",
"outputs": 1,
- "x": 3221.6705932617188,
- "y": 5150.64305973053,
- "z": "ecab9296.c8bb5",
+ "x": 3130.142822265625,
+ "y": 5100.643063545227,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "9f04c1f2.bf256",
+ "id": "46f6e640.8000c8",
"type": "set",
"name": "set rrmpolicyratio list size",
"xml": "<set>\n<parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
"comments": "",
- "x": 3235.9565811157227,
- "y": 5494.571227073669,
- "z": "ecab9296.c8bb5",
+ "x": 3144.428810119629,
+ "y": 5444.571230888367,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "16cb87b2.5be1d8",
+ "id": "62981279.b1c13c",
"type": "execute",
"name": "Set existing RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellDU-old' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n\t\n\t",
"comments": "",
"outputs": 1,
- "x": 3743.456588745117,
- "y": 5519.21413898468,
- "z": "ecab9296.c8bb5",
+ "x": 3651.9288177490234,
+ "y": 5469.214142799377,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "52ba99b7.987b88",
+ "id": "ad4a2912.9c54c8",
"type": "execute",
"name": "Read RRMPolicyRatioid",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3706.6710357666016,
- "y": 5642.785704612732,
- "z": "ecab9296.c8bb5",
+ "x": 3615.143264770508,
+ "y": 5592.785708427429,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "4ff78ad7.0a8bd4",
+ "id": "c6939012.bd05e",
"type": "execute",
"name": "Read RRMPolicyMembers Length",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyMembersDU_Length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3712.384979248047,
- "y": 5735.285477638245,
- "z": "ecab9296.c8bb5",
+ "x": 3620.857208251953,
+ "y": 5685.285481452942,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "8d0864dd.8c8528",
+ "id": "51420a75.e5cb44",
"type": "execute",
"name": "set gNBDUId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3879.1705932617188,
- "y": 5674.92870426178,
- "z": "ecab9296.c8bb5",
+ "x": 3787.642822265625,
+ "y": 5624.928708076477,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "63a19143.589a9",
+ "id": "95013c06.0cd9f",
"type": "execute",
"name": "set NRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3872.0277709960938,
- "y": 5706.35692691803,
- "z": "ecab9296.c8bb5",
+ "x": 3780.5,
+ "y": 5656.356930732727,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "8e869cc0.cfb58",
+ "id": "2aaa05de.a7f94a",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idNRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3202.7777709960938,
- "y": 5382.99999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3111.25,
+ "y": 5332.999997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "e4ce6413.ed6fd8",
+ "id": "171ddb52.565cc5",
"type": "set",
"name": "set API params",
- "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>\n ",
+ "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>\n<parameter name='tmp.pLMNId' value='`$tmp.payload.pLMNId`'/>\n ",
"comments": "",
- "x": 3322.4027709960938,
- "y": 5816.56249332428,
- "z": "ecab9296.c8bb5",
+ "x": 3230.875,
+ "y": 5766.562497138977,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "8e49b3c8.74b25",
+ "id": "8d294361.afdd2",
"type": "execute",
"name": "generate getRRMPolicyRatio URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getRRMPolicyRatio`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceType}\"/>\n <parameter name=\"replacement\" value=\"PRB\"/>",
"comments": "",
"outputs": 1,
- "x": 3389.9027709960938,
- "y": 5950.93749332428,
- "z": "ecab9296.c8bb5",
+ "x": 3298.375,
+ "y": 5900.937497138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "ee5b9b09.ca97c8",
+ "id": "345b415d.aacd5e",
"type": "execute",
"name": "prepare resourceId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3348.458282470703,
- "y": 5990.10395526886,
- "z": "ecab9296.c8bb5",
+ "x": 3256.9305114746094,
+ "y": 5940.103959083557,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "176390ef.cbac9f",
+ "id": "602003b3.449a6c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3329.9027252197266,
- "y": 6024.270537376404,
- "z": "ecab9296.c8bb5",
+ "x": 3238.374954223633,
+ "y": 5974.270541191101,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "48796b63.39bec4",
+ "id": "c5245322.f9538",
"type": "execute",
"name": "Get rrmPolicy by resourceid",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfoDU-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 3392.291473388672,
- "y": 6055.103966712952,
- "z": "ecab9296.c8bb5",
+ "x": 3300.763702392578,
+ "y": 6005.103970527649,
+ "z": "759e49d3.adb538",
"wires": [
[
- "82eba9bc.600fa8",
- "e4549693.a57628"
+ "85dce642.2bebd8",
+ "4c54c4da.ee1e8c"
]
]
},
{
- "id": "82eba9bc.600fa8",
+ "id": "85dce642.2bebd8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3696.0138092041016,
- "y": 6105.937285423279,
- "z": "ecab9296.c8bb5",
+ "x": 3604.486038208008,
+ "y": 6055.937289237976,
+ "z": "759e49d3.adb538",
"wires": [
[
- "4230df12.02c06"
+ "b874d9f1.6024b8"
]
]
},
{
- "id": "4230df12.02c06",
+ "id": "b874d9f1.6024b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3848.0141010284424,
- "y": 6103.937265396118,
- "z": "ecab9296.c8bb5",
+ "x": 3756.4863300323486,
+ "y": 6053.937269210815,
+ "z": "759e49d3.adb538",
"wires": [
[
- "4d5d2a4c.3e1c64",
- "2aa87dd5.bc2d82"
+ "c4ea1ef2.4ec8e",
+ "5974071.792b2f8"
]
]
},
{
- "id": "2aa87dd5.bc2d82",
+ "id": "5974071.792b2f8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4014.0138568878174,
- "y": 6069.937265396118,
- "z": "ecab9296.c8bb5",
+ "x": 3922.4860858917236,
+ "y": 6019.937269210815,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "4d5d2a4c.3e1c64",
+ "id": "c4ea1ef2.4ec8e",
"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 in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4042.3473205566406,
- "y": 6102.71528339386,
- "z": "ecab9296.c8bb5",
+ "x": 3950.819549560547,
+ "y": 6052.715287208557,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "ccd58b56.7508b8",
+ "id": "cd328618.d23d98",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 4017.902801513672,
- "y": 6133.937636375427,
- "z": "ecab9296.c8bb5",
+ "x": 3926.375030517578,
+ "y": 6083.9376401901245,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "644df9cc.25e248",
+ "id": "80b6004.9fed",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 4116.124969482422,
- "y": 6160.270731925964,
- "z": "ecab9296.c8bb5",
+ "x": 4024.597198486328,
+ "y": 6110.270735740662,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "c9dddcc2.c2163",
+ "id": "29428dd9.ccd022",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3854.680465698242,
- "y": 6154.826064109802,
- "z": "ecab9296.c8bb5",
+ "x": 3763.1526947021484,
+ "y": 6104.8260679244995,
+ "z": "759e49d3.adb538",
"wires": [
[
- "ccd58b56.7508b8",
- "644df9cc.25e248"
+ "cd328618.d23d98",
+ "80b6004.9fed"
]
]
},
{
- "id": "e4549693.a57628",
+ "id": "4c54c4da.ee1e8c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3700.124870300293,
- "y": 6151.159588336945,
- "z": "ecab9296.c8bb5",
+ "x": 3608.597099304199,
+ "y": 6101.159592151642,
+ "z": "759e49d3.adb538",
"wires": [
[
- "c9dddcc2.c2163"
+ "29428dd9.ccd022"
]
]
},
{
- "id": "3087ba3a.ed4566",
+ "id": "c031f54a.8eeba8",
"type": "set",
"name": "set API params",
- "xml": "<set>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfoDU-configdb-response.rrmPolicyID`'/>\n<parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>",
+ "xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>",
"comments": "",
- "x": 3341.493194580078,
- "y": 6091.944428443909,
- "z": "ecab9296.c8bb5",
+ "x": 3419.9662857055664,
+ "y": 6223.944789886475,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "68990179.2bf66",
+ "id": "f64c9af4.5d8e28",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
"comments": "",
"outputs": 1,
- "x": 3306.743022918701,
- "y": 6142.916442394257,
- "z": "ecab9296.c8bb5",
+ "x": 3382.2155532836914,
+ "y": 6259.916957378387,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "89e3c3a4.70c62",
+ "id": "ba082b19.30b718",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"GNBDUId\"/>\n<parameter name=\"field8\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"dLThptPerSlice\"/>\n<parameter name=\"field12\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field13\" value=\"uLThptPerSlice\"/>\n<parameter name=\"field14\" value=\"`$tmp.uLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3308.902618408203,
- "y": 5858.784631729126,
- "z": "ecab9296.c8bb5",
+ "x": 3217.3748474121094,
+ "y": 5808.784635543823,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "d0d24863.8121f8",
+ "id": "6246985c.a1d8d8",
"type": "block",
"name": "get coverageAreaTAList",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 491.83331298828125,
- "y": 638.5278072357178,
- "z": "ecab9296.c8bb5",
+ "x": 433.30553436279297,
+ "y": 572.5278453826904,
+ "z": "759e49d3.adb538",
"wires": [
[
- "892d9ba0.af4bf8",
- "f123c975.195038",
- "19b64655.2401aa",
- "70150931.91cfa8",
- "c28b4d37.26d9",
- "b4a6eeb6.15b65",
- "abc69ccc.b8816",
- "facbc015.91451"
+ "d407c748.47e858",
+ "80d6202d.243e7",
+ "994bf0b6.a3e3e",
+ "bc59234b.cda55",
+ "4283267f.559be8",
+ "85fe1db5.c68f6",
+ "909aa702.3408d8",
+ "d35d291d.462898"
]
]
},
{
- "id": "892d9ba0.af4bf8",
+ "id": "d407c748.47e858",
"type": "execute",
"name": "prepare URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.aai.fetchSliceProfile`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{global-customer-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.globalCustomerId`\"/>",
"comments": "",
"outputs": 1,
- "x": 764.2777786254883,
- "y": 686.9999961853027,
- "z": "ecab9296.c8bb5",
+ "x": 672.7500076293945,
+ "y": 637,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "c28b4d37.26d9",
+ "id": "4283267f.559be8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get coverageAreaTAList URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 788.77783203125,
- "y": 842.000165939331,
- "z": "ecab9296.c8bb5",
+ "x": 697.2500610351562,
+ "y": 792.0001697540283,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "f123c975.195038",
+ "id": "80d6202d.243e7",
"type": "execute",
"name": "prepare serviceType",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{service-type}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.serviceType`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 784.7777709960938,
- "y": 724.4999942779541,
- "z": "ecab9296.c8bb5",
+ "x": 693.25,
+ "y": 674.4999980926514,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "19b64655.2401aa",
+ "id": "994bf0b6.a3e3e",
"type": "execute",
"name": "prepare service-instance-id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.RANNFNSSIId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 812.7777709960938,
- "y": 764.6111183166504,
- "z": "ecab9296.c8bb5",
+ "x": 721.25,
+ "y": 714.6111221313477,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "70150931.91cfa8",
+ "id": "bc59234b.cda55",
"type": "execute",
"name": "prepare profile-id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{profile-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.sliceProfileId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 787.7777709960938,
- "y": 801.4999942779541,
- "z": "ecab9296.c8bb5",
+ "x": 696.25,
+ "y": 751.4999980926514,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "efd6d90c.fb6e68",
+ "id": "af985b15.659c38",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1444.7779235839844,
- "y": 585.0000038146973,
- "z": "ecab9296.c8bb5",
+ "x": 1353.2501525878906,
+ "y": 535.0000076293945,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "7a9d2dcb.42c724",
+ "id": "6b8efaf1.3387c4",
"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": 1444.7782287597656,
- "y": 549.1110191345215,
- "z": "ecab9296.c8bb5",
+ "x": 1353.2504577636719,
+ "y": 499.11102294921875,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "963cd407.589818",
+ "id": "85d2f084.0293f",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1199.7778778076172,
- "y": 511.9999189376831,
- "z": "ecab9296.c8bb5",
+ "x": 1108.2501068115234,
+ "y": 461.99992275238037,
+ "z": "759e49d3.adb538",
"wires": [
[
- "efd6d90c.fb6e68",
- "7a9d2dcb.42c724"
+ "af985b15.659c38",
+ "6b8efaf1.3387c4"
]
]
},
{
- "id": "787f632a.4559bc",
+ "id": "da8a8469.d36798",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1038.7780151367188,
- "y": 533.9999923706055,
- "z": "ecab9296.c8bb5",
+ "x": 947.250244140625,
+ "y": 483.99999618530273,
+ "z": "759e49d3.adb538",
"wires": [
[
- "963cd407.589818"
+ "85d2f084.0293f"
]
]
},
{
- "id": "b4a6eeb6.15b65",
+ "id": "85fe1db5.c68f6",
"type": "execute",
"name": "invoke API",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.org.onap.ccsdk.sli.adaptors.aai.uri + $tmp.aai.fetchSliceProfile.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-coverageAreaTAList-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": 821.0277862548828,
- "y": 879.9999837875366,
- "z": "ecab9296.c8bb5",
+ "x": 729.5000152587891,
+ "y": 829.9999876022339,
+ "z": "759e49d3.adb538",
"wires": [
[
- "66ca8354.c0068c",
- "e508608e.0352f"
+ "b7729bd0.54e888",
+ "5f02ba2a.e6e3c4"
]
]
},
{
- "id": "66ca8354.c0068c",
+ "id": "b7729bd0.54e888",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 974.0834159851074,
- "y": 795.472339630127,
- "z": "ecab9296.c8bb5",
+ "x": 882.5556449890137,
+ "y": 745.4723434448242,
+ "z": "759e49d3.adb538",
"wires": [
[
- "5dfce11f.c3cec"
+ "7b8ca492.84ea8c"
]
]
},
{
- "id": "5dfce11f.c3cec",
+ "id": "7b8ca492.84ea8c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1133.1940898895264,
- "y": 786.3613233566284,
- "z": "ecab9296.c8bb5",
+ "x": 1041.6663188934326,
+ "y": 736.3613271713257,
+ "z": "759e49d3.adb538",
"wires": [
[
- "8de7df6e.15597",
- "3f2fbfdf.2aa34",
- "71818c2.be80c74",
- "699af871.c57d28",
- "6b78e53.3ea641c",
- "a67af35e.5f654",
- "1c1677de.c69718"
+ "69c0134b.12d4bc",
+ "2406746d.718e9c",
+ "1219e20.189511e",
+ "ddf06b3c.919978",
+ "5ad39d41.5556a4",
+ "32a7e5dd.ba553a",
+ "b549a3f6.730b"
]
]
},
{
- "id": "8de7df6e.15597",
+ "id": "69c0134b.12d4bc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved coverageAreaTAList\"/>\n<parameter name=\"field2\" value=\"`$get-coverageAreaTAList-response.coverage-area-TA-list`\"/>",
"comments": "",
"outputs": 1,
- "x": 1238.2774810791016,
- "y": 547.1113529205322,
- "z": "ecab9296.c8bb5",
+ "x": 1146.7497100830078,
+ "y": 497.1113567352295,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "3f2fbfdf.2aa34",
+ "id": "2406746d.718e9c",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1269.3889999389648,
- "y": 590.5835800170898,
- "z": "ecab9296.c8bb5",
+ "x": 1177.861228942871,
+ "y": 540.5835838317871,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "34fcf10d.3494ae",
+ "id": "4d8fc93.38a1b38",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from AAI. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1230.7574729919434,
- "y": 822.3680152893066,
- "z": "ecab9296.c8bb5",
+ "x": 1139.2297019958496,
+ "y": 772.3680191040039,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "f822f9e7.eb42a8",
+ "id": "50de94e0.af3a4c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1267.8683700561523,
- "y": 856.1458129882812,
- "z": "ecab9296.c8bb5",
+ "x": 1176.3405990600586,
+ "y": 806.1458168029785,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "5bdee52e.a5383c",
+ "id": "1afef89e.d676f7",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1125.9793224334717,
- "y": 857.5903253555298,
- "z": "ecab9296.c8bb5",
+ "x": 1034.451551437378,
+ "y": 807.590329170227,
+ "z": "759e49d3.adb538",
"wires": [
[
- "f822f9e7.eb42a8",
- "34fcf10d.3494ae"
+ "50de94e0.af3a4c",
+ "4d8fc93.38a1b38"
]
]
},
{
- "id": "e508608e.0352f",
+ "id": "5f02ba2a.e6e3c4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1000.312801361084,
- "y": 856.5903720855713,
- "z": "ecab9296.c8bb5",
+ "x": 908.7850303649902,
+ "y": 806.5903759002686,
+ "z": "759e49d3.adb538",
"wires": [
[
- "5bdee52e.a5383c"
+ "1afef89e.d676f7"
]
]
},
{
- "id": "ea194ca9.b5136",
+ "id": "dc02e934.210fe8",
"type": "execute",
"name": "set globalCustomerId",
- "xml": "<set>\n<parameter name='tmp.payload.globalCustomerId' value='`$payloadJson.input.globalCustomerId`'/>\n",
+ "xml": "<set>\n<parameter name='tmp.payload.globalCustomerId' value='`$payloadJson.input.globalSubscriberId`'/>\n",
"comments": "",
"outputs": 1,
- "x": 721.2777786254883,
- "y": 127.7499930858612,
- "z": "ecab9296.c8bb5",
+ "x": 630.7500228881836,
+ "y": 76.7499942779541,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "38665c6f.b68994",
+ "id": "870f1e08.970a2",
"type": "execute",
"name": "set serviceType",
- "xml": "<set>\n<parameter name='tmp.serviceType' value='`$payloadJson.input.serviceType`'/>\n",
+ "xml": "<set>\n<parameter name='tmp.serviceType' value='`$payloadJson.input.subscriptionServiceType`'/>\n",
"comments": "",
"outputs": 1,
- "x": 726.2777709960938,
- "y": 165.7499942779541,
- "z": "ecab9296.c8bb5",
+ "x": 634.75,
+ "y": 115.74999809265137,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "7d0cab41.5d62e4",
+ "id": "89d19ba6.2eb0d8",
"type": "execute",
"name": "Update RAN Inventory ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRANSliceInventory`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRANSliceInventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-inventory-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": 878.5277709960938,
- "y": 4211.24999332428,
- "z": "ecab9296.c8bb5",
+ "x": 787,
+ "y": 4161.249997138977,
+ "z": "759e49d3.adb538",
"wires": [
[
- "8dfc5bef.c5fd18",
- "f2e75191.d32ee"
+ "484fabb2.542944",
+ "129ccd65.29e5c3"
]
]
},
{
- "id": "759313f.9d96dec",
+ "id": "19504430.043d4c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Update inventory in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 847.777759552002,
- "y": 3992.749984741211,
- "z": "ecab9296.c8bb5",
+ "x": 756.2499885559082,
+ "y": 3942.749988555908,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "8dfc5bef.c5fd18",
+ "id": "484fabb2.542944",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1114.528429031372,
- "y": 4165.250351905823,
- "z": "ecab9296.c8bb5",
+ "x": 1023.0006580352783,
+ "y": 4115.25035572052,
+ "z": "759e49d3.adb538",
"wires": [
[
- "bf86086a.86c988"
+ "5c99481b.b084e8"
]
]
},
{
- "id": "bf86086a.86c988",
+ "id": "5c99481b.b084e8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1254.5287475585938,
- "y": 4173.25022983551,
- "z": "ecab9296.c8bb5",
+ "x": 1163.0009765625,
+ "y": 4123.2502336502075,
+ "z": "759e49d3.adb538",
"wires": [
[
- "7e19d8f9.fe3008",
- "bd21f51e.fa5d18"
+ "1020acb1.416ca3",
+ "14910601.7b4e9a"
]
]
},
{
- "id": "bd21f51e.fa5d18",
+ "id": "14910601.7b4e9a",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1389.5284423828125,
- "y": 4139.361741065979,
- "z": "ecab9296.c8bb5",
+ "x": 1298.0006713867188,
+ "y": 4089.3617448806763,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "7e19d8f9.fe3008",
+ "id": "1020acb1.416ca3",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1443.5281677246094,
- "y": 4176.2502908706665,
- "z": "ecab9296.c8bb5",
+ "x": 1352.0003967285156,
+ "y": 4126.250294685364,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "4fdaf51a.7597fc",
+ "id": "87b36f06.7ddc6",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated inventory in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 1462.528419494629,
- "y": 4228.250478744507,
- "z": "ecab9296.c8bb5",
+ "x": 1371.0006484985352,
+ "y": 4178.250482559204,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "75deb288.c5307c",
+ "id": "2731b362.1d44bc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1276.5281715393066,
- "y": 4244.250234603882,
- "z": "ecab9296.c8bb5",
+ "x": 1185.000400543213,
+ "y": 4194.250238418579,
+ "z": "759e49d3.adb538",
"wires": [
[
- "4fdaf51a.7597fc",
- "dd5a532a.31de7"
+ "87b36f06.7ddc6",
+ "24da6566.d832ba"
]
]
},
{
- "id": "f2e75191.d32ee",
+ "id": "129ccd65.29e5c3",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1118.5283813476562,
- "y": 4245.2499895095825,
- "z": "ecab9296.c8bb5",
+ "x": 1027.0006103515625,
+ "y": 4195.24999332428,
+ "z": "759e49d3.adb538",
"wires": [
[
- "75deb288.c5307c"
+ "2731b362.1d44bc"
]
]
},
{
- "id": "b2bbe86b.51d5b8",
+ "id": "5f8a32d4.ef21cc",
"type": "set",
"name": "set API params",
"xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberOfConns`'/>",
"comments": "",
- "x": 838.5277709960938,
- "y": 4080.49999332428,
- "z": "ecab9296.c8bb5",
+ "x": 747,
+ "y": 4030.499997138977,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "d815d930.ba6bb8",
+ "id": "cdc08301.def3d",
"type": "execute",
"name": "prepare gNBDUList for SO callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.DUList.response' />\n\t<parameter name='keyName' value='gNBDUId' />\n\t<parameter name='keyValue' value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3195.2777709960938,
- "y": 5041.49999332428,
- "z": "ecab9296.c8bb5",
+ "x": 3103.75,
+ "y": 4991.499997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "bbd1f9a3.442938",
+ "id": "a955d476.950388",
"type": "execute",
"name": "prepare gNBCUUPList for SO callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUUPList.response' />\n\t<parameter name='keyName' value='gNBCUUPId' />\n\t<parameter name='keyValue' value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1749.5277709960938,
- "y": 3267.24999332428,
- "z": "ecab9296.c8bb5",
+ "x": 1658,
+ "y": 3217.249997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "2cf8049f.4b337c",
+ "id": "aae2cdd.6be563",
"type": "execute",
"name": "prepare gNBCUCPList for SO callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUCPList.response' />\n\t<parameter name='keyName' value='gNBCUName' />\n\t<parameter name='keyValue' value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2274.5277709960938,
- "y": 1591.4999933242798,
- "z": "ecab9296.c8bb5",
+ "x": 2183,
+ "y": 1541.499997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "963ff2bf.d8e52",
+ "id": "dd339cfd.b337b",
"type": "for",
"name": "For coverageAreaTAList",
"xml": "<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>",
"comments": "",
"outputs": 1,
- "x": 492.2222442626953,
- "y": 756.6666660308838,
- "z": "ecab9296.c8bb5",
+ "x": 400.69447326660156,
+ "y": 706.666669845581,
+ "z": "759e49d3.adb538",
"wires": [
[
- "5bcb2c99.0378c4"
+ "cd4b6235.e0287"
]
]
},
{
- "id": "5bcb2c99.0378c4",
+ "id": "cd4b6235.e0287",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 508.4094543457031,
- "y": 810.9892473220825,
- "z": "ecab9296.c8bb5",
+ "x": 416.8816833496094,
+ "y": 760.9892511367798,
+ "z": "759e49d3.adb538",
"wires": [
[
- "c16418c0.4be368",
- "51b41b66.216574",
- "338340aa.07add"
+ "19ff865.3194d7a",
+ "1e69e183.e792ce",
+ "4fc256fa.a4e358",
+ "c7a236b2.5dc938",
+ "828ff83a.c5b398",
+ "409ce852.c50a18"
]
]
},
{
- "id": "abc69ccc.b8816",
+ "id": "909aa702.3408d8",
"type": "execute",
"name": "set trackingArea size",
"xml": "<set>\n\t<parameter name='tmp.trackingAreaListEntries' value=\"`$tmp.coverageAreaTAList_length`\"/>\n\t",
"comments": "",
"outputs": 1,
- "x": 847.7777709960938,
- "y": 913.0555419921875,
- "z": "ecab9296.c8bb5",
+ "x": 756.25,
+ "y": 863.0555458068848,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "facbc015.91451",
+ "id": "d35d291d.462898",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Tracking Area size\"/>\n<parameter name=\"field2\" value=\"`$tmp.trackingAreaListEntries`\"/>",
"comments": "",
"outputs": 1,
- "x": 811.111083984375,
- "y": 944.1666259765625,
- "z": "ecab9296.c8bb5",
+ "x": 719.5833129882812,
+ "y": 894.1666297912598,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "699af871.c57d28",
+ "id": "ddf06b3c.919978",
"type": "execute",
"name": "SliStringUtils - split",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.aai.coverageAreaTAList`\" />\n <parameter name=\"regex\" value=\",\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.coverageAreaTAList\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 1334.1668701171875,
- "y": 758.3334369659424,
- "z": "ecab9296.c8bb5",
+ "x": 1242.6390991210938,
+ "y": 708.3334407806396,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "71818c2.be80c74",
+ "id": "1219e20.189511e",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='tmp.aai.coverageAreaTAList' value=\"`$get-coverageAreaTAList-response.coverage-area-TA-list`\"/>\n",
"comments": "",
- "x": 1262.5000801086426,
- "y": 629.1667566299438,
- "z": "ecab9296.c8bb5",
+ "x": 1170.9723091125488,
+ "y": 579.1667604446411,
+ "z": "759e49d3.adb538",
"wires": []
},
{
- "id": "a67af35e.5f654",
+ "id": "32a7e5dd.ba553a",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1346.1112213134766,
- "y": 795.2779369354248,
- "z": "ecab9296.c8bb5",
+ "x": 1254.5834503173828,
+ "y": 745.2779407501221,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "c16418c0.4be368",
+ "id": "19ff865.3194d7a",
"type": "execute",
"name": "read trackingArea",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.payload.trackingArea' />\n\t<parameter name='source' value=\"`'tmp.coverageAreaTAList['+ $ta+']'`\" />\n",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.payload.trackingArea' />\n\t<parameter name='source' value=\"`'payloadJson.input.sliceProfile.coverageAreaTAList['+ $ta+']'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 598.3333892822266,
- "y": 896.9444751739502,
- "z": "ecab9296.c8bb5",
+ "x": 506.8056182861328,
+ "y": 846.9444789886475,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "338340aa.07add",
+ "id": "4fc256fa.a4e358",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"trackingArea \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.trackingArea`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 552.2222290039062,
- "y": 945.2777099609375,
- "z": "ecab9296.c8bb5",
+ "x": 460.6944580078125,
+ "y": 895.2777137756348,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "1c1677de.c69718",
+ "id": "b549a3f6.730b",
"type": "execute",
"name": "replace [",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.coverageAreaTAList`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.coverageAreaTAList\"/>\n <parameter name=\"target\" value=\"[\"/>\n <parameter name=\"replacement\" value=\"\"/>",
"comments": "",
"outputs": 1,
- "x": 1277.7779006958008,
- "y": 667.2221508026123,
- "z": "ecab9296.c8bb5",
+ "x": 1186.250129699707,
+ "y": 617.2221546173096,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
},
{
- "id": "6b78e53.3ea641c",
+ "id": "5ad39d41.5556a4",
"type": "execute",
"name": "replace ]",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.coverageAreaTAList`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.coverageAreaTAList\"/>\n <parameter name=\"target\" value=\"]\"/>\n <parameter name=\"replacement\" value=\"\"/>",
"comments": "",
"outputs": 1,
- "x": 1293.6110763549805,
- "y": 704.1666836738586,
- "z": "ecab9296.c8bb5",
+ "x": 1202.0833053588867,
+ "y": 654.1666874885559,
+ "z": "759e49d3.adb538",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "94801ef6.a02f1",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcuup-rrm1' start='0' end='`$tmp.rrmPolicyRatio_configdb_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1798.0001678466797,
+ "y": 4060.750663757324,
+ "z": "759e49d3.adb538",
+ "wires": [
+ [
+ "af91dea7.b5d84"
+ ]
+ ]
+ },
+ {
+ "id": "68a30b4e.793cd4",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatio_configdb_length' value='`$getrrmpolicyratioinfo-cuup-configdb-response._length`'/>\n\n ",
+ "comments": "",
+ "x": 1859,
+ "y": 4028.75,
+ "z": "759e49d3.adb538",
+ "wires": []
+ },
+ {
+ "id": "af91dea7.b5d84",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2006,
+ "y": 4060.75,
+ "z": "759e49d3.adb538",
+ "wires": [
+ [
+ "7669c163.4084b",
+ "b77378b.9f21e88",
+ "8cf0b3fc.b6ae4",
+ "260f1453.e9193c"
+ ]
+ ]
+ },
+ {
+ "id": "7669c163.4084b",
+ "type": "set",
+ "name": "set rrmpolicyratioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'getrrmpolicyratioinfo-cuup-configdb-response.['+$idcuup-rrm1+'].rrmPolicyID'`\" />\n\n ",
+ "comments": "",
+ "x": 2023.000015258789,
+ "y": 4112.750178337097,
+ "z": "759e49d3.adb538",
+ "wires": []
+ },
+ {
+ "id": "c537c039.da2e7",
+ "type": "set",
+ "name": "set rrmpolicyratioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'getrrmpolicyratioinfo-configdb-response.['+$idcu-rrm1+'].rrmPolicyID'`\" />\n",
+ "comments": "",
+ "x": 2098.2502059936523,
+ "y": 2547.750701904297,
+ "z": "759e49d3.adb538",
+ "wires": []
+ },
+ {
+ "id": "68d1d5b7.b6490c",
+ "type": "set",
+ "name": "set rrmpolicyratioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'getrrmpolicyratioinfoDU-configdb-response.['+$iddu-rrm1+'].rrmPolicyID'`\" />\n",
+ "comments": "",
+ "x": 3433.25040435791,
+ "y": 6186.750330924988,
+ "z": "759e49d3.adb538",
+ "wires": []
+ },
+ {
+ "id": "80361e5c.20845",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioConfigDB_length' value='`$getrrmpolicyratioinfo-configdb-response._length`'/>\n\n ",
+ "comments": "",
+ "x": 1974.5,
+ "y": 2457.2500009536743,
+ "z": "759e49d3.adb538",
+ "wires": []
+ },
+ {
+ "id": "186543e1.ed936c",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.rrmPolicyRatioConfigDB_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1791.500114440918,
+ "y": 2497.2500925064087,
+ "z": "759e49d3.adb538",
+ "wires": [
+ [
+ "7b6cbdc7.03ebe4"
+ ]
+ ]
+ },
+ {
+ "id": "7b6cbdc7.03ebe4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1983.5000228881836,
+ "y": 2499.2503051757812,
+ "z": "759e49d3.adb538",
+ "wires": [
+ [
+ "c537c039.da2e7",
+ "27bc4086.0e4df",
+ "31c945af.5bb96a",
+ "4f25ca6f.2ed7e4"
+ ]
+ ]
+ },
+ {
+ "id": "cf96e759.6ebad8",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioDUList_length' value='`$getrrmpolicyratioinfoDU-configdb-response._length`'/>\n\n ",
+ "comments": "",
+ "x": 3288.000099182129,
+ "y": 6043.250206947327,
+ "z": "759e49d3.adb538",
+ "wires": []
+ },
+ {
+ "id": "c6b96ce4.c01ef",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='iddu-rrm1' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3270,
+ "y": 6087.250000953674,
+ "z": "759e49d3.adb538",
+ "wires": [
+ [
+ "5809a0a2.f455d"
+ ]
+ ]
+ },
+ {
+ "id": "5809a0a2.f455d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3454.25,
+ "y": 6122.250000953674,
+ "z": "759e49d3.adb538",
+ "wires": [
+ [
+ "68d1d5b7.b6490c",
+ "c031f54a.8eeba8",
+ "f64c9af4.5d8e28",
+ "9f3572a0.a276d"
+ ]
+ ]
+ },
+ {
+ "id": "c7a236b2.5dc938",
+ "type": "execute",
+ "name": "set params",
+ "xml": "<set>\n<parameter name='tmp.RICEntries' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 296.75,
+ "y": 1243.749997138977,
+ "z": "759e49d3.adb538",
"wires": [
[]
]
+ },
+ {
+ "id": "828ff83a.c5b398",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConn for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"nearRTRICId\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"RANNFNSSI\"/>\n<parameter name=\"field12\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n<parameter name=\"field13\" value=\"NSSAI\"/>\n<parameter name=\"field14\" value=\"`$tmp.payload.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 276.75,
+ "y": 1293.749997138977,
+ "z": "759e49d3.adb538",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "581db54e.a0064c",
+ "type": "execute",
+ "name": "set trackingArea size",
+ "xml": "<set>\n\t<parameter name='tmp.trackingAreaListEntries' value=\"`$payloadJson.input.sliceProfile.coverageAreaTAList_length`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 413.75,
+ "y": 610.749997138977,
+ "z": "759e49d3.adb538",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e2d6e587.376b48",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Tracking Area size\"/>\n<parameter name=\"field2\" value=\"`$tmp.trackingAreaListEntries`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 392.75,
+ "y": 652.749997138977,
+ "z": "759e49d3.adb538",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f118882b.21e7f8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Response code\"/>\n<parameter name=\"field2\" value=\"`$error-code`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 719.5,
+ "y": 4258.25,
+ "z": "759e49d3.adb538",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7b28301.8ff26",
+ "type": "switchNode",
+ "name": "check status",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 744.4999961853027,
+ "y": 4311.999973654747,
+ "z": "759e49d3.adb538",
+ "wires": [
+ [
+ "ee2b01b1.13f8f",
+ "36ace43f.34380c"
+ ]
+ ]
+ },
+ {
+ "id": "ee2b01b1.13f8f",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 927.5000114440918,
+ "y": 4269.0000957250595,
+ "z": "759e49d3.adb538",
+ "wires": [
+ [
+ "986f0682.38af78"
+ ]
+ ]
+ },
+ {
+ "id": "36ace43f.34380c",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 943.4999961853027,
+ "y": 4320.999973654747,
+ "z": "759e49d3.adb538",
+ "wires": [
+ [
+ "a96f560f.b05888"
+ ]
+ ]
+ },
+ {
+ "id": "986f0682.38af78",
+ "type": "set",
+ "name": "status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+ "comments": "",
+ "x": 1103.5000114440918,
+ "y": 4272.00024831295,
+ "z": "759e49d3.adb538",
+ "wires": []
+ },
+ {
+ "id": "a96f560f.b05888",
+ "type": "set",
+ "name": "failure status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+ "comments": "",
+ "x": 1104.4999961853027,
+ "y": 4315.999973654747,
+ "z": "759e49d3.adb538",
+ "wires": []
+ },
+ {
+ "id": "8697076f.a80788",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Response code\"/>\n<parameter name=\"field2\" value=\"`$error-code`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4689.000240325928,
+ "y": 2523.750002384186,
+ "z": "759e49d3.adb538",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e7b7e590.b78e68",
+ "type": "switchNode",
+ "name": "check status",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4705.000240325928,
+ "y": 2579.500002384186,
+ "z": "759e49d3.adb538",
+ "wires": [
+ [
+ "e6c9570f.ec4158",
+ "8dd2c80.2963e38"
+ ]
+ ]
+ },
+ {
+ "id": "e6c9570f.ec4158",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4876.000011444092,
+ "y": 2451.5000957250595,
+ "z": "759e49d3.adb538",
+ "wires": [
+ [
+ "73f6f8e5.9c9ef8"
+ ]
+ ]
+ },
+ {
+ "id": "73f6f8e5.9c9ef8",
+ "type": "set",
+ "name": "status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+ "comments": "",
+ "x": 5052.000011444092,
+ "y": 2454.50024831295,
+ "z": "759e49d3.adb538",
+ "wires": []
+ },
+ {
+ "id": "44b2efa3.d562a",
+ "type": "set",
+ "name": "failure status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+ "comments": "",
+ "x": 5052.999996185303,
+ "y": 2498.499973654747,
+ "z": "759e49d3.adb538",
+ "wires": []
+ },
+ {
+ "id": "8dd2c80.2963e38",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4891.999996185303,
+ "y": 2503.499973654747,
+ "z": "759e49d3.adb538",
+ "wires": [
+ [
+ "44b2efa3.d562a"
+ ]
+ ]
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceReconfigure.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceReconfigure.json
index 9219cce7..ad88d133 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceReconfigure.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceReconfigure.json
@@ -1,36 +1,36 @@
[
{
- "id": "5308c2c7.98350c",
+ "id": "b24c7db0.969cf",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceReconfigure' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 561.9443969726562,
- "y": 231.6666965484619,
- "z": "a4132826.623598",
+ "x": 510.75,
+ "y": 166.75,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "8c2d7a68.272f18"
+ "4b8ac01.a9b434"
]
]
},
{
- "id": "1e35add3.3e43a2",
+ "id": "ed8ce47a.fe3698",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 185.94439315795898,
- "y": 136.66666889190674,
- "z": "a4132826.623598",
+ "x": 134.74999618530273,
+ "y": 71.74997234344482,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "c4fcfd13.be6c3"
+ "9f703b81.c1aae8"
]
]
},
{
- "id": "c4fcfd13.be6c3",
+ "id": "9f703b81.c1aae8",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,2072 +38,2113 @@
"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": 318.9443664550781,
- "y": 233.66674995422363,
- "z": "a4132826.623598",
+ "x": 267.7499694824219,
+ "y": 168.75005340576172,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "5308c2c7.98350c"
+ "b24c7db0.969cf"
]
]
},
{
- "id": "54c1cf1c.bd234",
+ "id": "f4b6650c.a050e8",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"N\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
"comments": "",
- "x": 247.43402099609375,
- "y": 1174.6669874191284,
- "z": "a4132826.623598",
+ "x": 196.2396240234375,
+ "y": 1109.7502908706665,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "eb3544f6.254898",
+ "id": "f059fd37.4ed2c",
"type": "comment",
"name": "instantiateRANSliceReconfigure",
"info": "",
"comments": "",
- "x": 530.9443969726562,
- "y": 173.67706871032715,
- "z": "a4132826.623598",
+ "x": 479.75,
+ "y": 108.76037216186523,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "8c2d7a68.272f18",
+ "id": "4b8ac01.a9b434",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 196.94436645507812,
- "y": 353.6770725250244,
- "z": "a4132826.623598",
+ "x": 145.74996948242188,
+ "y": 288.7603759765625,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "54c1cf1c.bd234",
- "c2abc765.421ae8",
- "a0d1b936.212298",
- "d43ab3b7.dd413"
+ "f4b6650c.a050e8",
+ "27157e51.0df202",
+ "2731e85b.601c28",
+ "5bf86ac4.b8b1e4"
]
]
},
{
- "id": "d4657d67.267b3",
+ "id": "58a18f59.28a6a",
"type": "execute",
"name": "add RRM Policy ToNRCellDU using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 4077.9343032836914,
- "y": 7658.687556028366,
- "z": "a4132826.623598",
+ "x": 4026.739906311035,
+ "y": 7593.770859479904,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "4089eb9.7d62b14"
+ "6fd77e68.2d0ec"
]
]
},
{
- "id": "4089eb9.7d62b14",
+ "id": "6fd77e68.2d0ec",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4414.934181213379,
- "y": 7684.677057981491,
- "z": "a4132826.623598",
+ "x": 4363.739784240723,
+ "y": 7619.760361433029,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "f8a7a2.295fe86"
+ "f0bd358f.a700e8"
]
]
},
{
- "id": "f8a7a2.295fe86",
+ "id": "f0bd358f.a700e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4594.933937072754,
- "y": 7681.677057981491,
- "z": "a4132826.623598",
+ "x": 4543.739540100098,
+ "y": 7616.760361433029,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "f1aae18.c61032"
+ "c94f16ac.80d678"
]
]
},
{
- "id": "f1aae18.c61032",
+ "id": "c94f16ac.80d678",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio to NRCELLDU Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4743.934238433838,
- "y": 7707.677250623703,
- "z": "a4132826.623598",
+ "x": 4692.739841461182,
+ "y": 7642.760554075241,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "d43ab3b7.dd413",
+ "id": "5bf86ac4.b8b1e4",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 276.69439697265625,
- "y": 1124.9313163757324,
- "z": "a4132826.623598",
+ "x": 225.5,
+ "y": 1060.0146198272705,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "a44cfa3.bf3a708",
- "b4fdb0c.13b025",
- "869a42e7.ad168",
- "f189ead7.d54db8"
+ "fbdf36d2.d428a8",
+ "3f1931e1.a211de",
+ "efd0b10c.a5819",
+ "9d63de5e.8e682"
]
]
},
{
- "id": "a44cfa3.bf3a708",
+ "id": "fbdf36d2.d428a8",
"type": "record",
"name": "record SO reply parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
"comments": "",
"outputs": 1,
- "x": 444.94437408447266,
- "y": 1492.6815214157104,
- "z": "a4132826.623598",
+ "x": 393.7499771118164,
+ "y": 1427.7648248672485,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "863c82b0.fee6b",
+ "id": "cbc8b2d8.13b52",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 478.94447326660156,
- "y": 1589.681224822998,
- "z": "a4132826.623598",
+ "x": 427.7500762939453,
+ "y": 1524.7645282745361,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "8dff7c51.8074c"
+ "474c52c2.f0ec3c"
]
]
},
{
- "id": "c7b37697.cf47b8",
+ "id": "8daf872.91ed978",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 470.9443664550781,
- "y": 1662.6811752319336,
- "z": "a4132826.623598",
+ "x": 419.7499694824219,
+ "y": 1597.7644786834717,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "62cb6247.26a1bc"
+ "2e8aa5dc.02933a"
]
]
},
{
- "id": "62cb6247.26a1bc",
+ "id": "2e8aa5dc.02933a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 616.9442100524902,
- "y": 1667.6812839508057,
- "z": "a4132826.623598",
+ "x": 565.749813079834,
+ "y": 1602.7645874023438,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "63c5cf27.850e5"
+ "85a46ab6.8bc958"
]
]
},
{
- "id": "8dff7c51.8074c",
+ "id": "474c52c2.f0ec3c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 627.9443740844727,
- "y": 1585.681360244751,
- "z": "a4132826.623598",
+ "x": 576.7499771118164,
+ "y": 1520.764663696289,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "7d4ea125.78427",
- "814141f.22dd5c"
+ "99e0e1e0.b2633",
+ "9e1a252f.d9b4e8"
]
]
},
{
- "id": "7d4ea125.78427",
+ "id": "99e0e1e0.b2633",
"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": 774.9439926147461,
- "y": 1596.6811017990112,
- "z": "a4132826.623598",
+ "x": 723.7495956420898,
+ "y": 1531.7644052505493,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "63c5cf27.850e5",
+ "id": "85a46ab6.8bc958",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 777.9441299438477,
- "y": 1673.681176185608,
- "z": "a4132826.623598",
+ "x": 726.7497329711914,
+ "y": 1608.764479637146,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "e78d6df2.248be",
+ "id": "c48f89b1.d18a38",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3009.435417175293,
- "y": 778.6772365570068,
- "z": "a4132826.623598",
+ "x": 2958.2410202026367,
+ "y": 713.7605400085449,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "4dccd993.baa5d8",
- "315b9b37.039924",
- "8fff961f.91e078"
+ "63712045.5256a",
+ "7b2f35ba.28701c",
+ "19ea2004.4e897"
]
]
},
{
- "id": "4dccd993.baa5d8",
+ "id": "63712045.5256a",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
"comments": "",
- "x": 3327.436393737793,
- "y": 702.5768947601318,
- "z": "a4132826.623598",
+ "x": 3276.2419967651367,
+ "y": 637.6601982116699,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "315b9b37.039924",
+ "id": "7b2f35ba.28701c",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
"comments": "",
"outputs": 1,
- "x": 3302.4352798461914,
- "y": 799.6775722503662,
- "z": "a4132826.623598",
+ "x": 3251.240882873535,
+ "y": 734.7608757019043,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "8fff961f.91e078",
+ "id": "19ea2004.4e897",
"type": "execute",
"name": "Send to SO",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />",
"comments": "",
"outputs": 1,
- "x": 3217.435291290283,
- "y": 896.6774501800537,
- "z": "a4132826.623598",
+ "x": 3166.240894317627,
+ "y": 831.7607536315918,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "7e1c2bf9.164ef4",
- "3ca3479b.4461d8"
+ "fbcf6132.18bc7",
+ "4cad675d.c40118"
]
]
},
{
- "id": "7e1c2bf9.164ef4",
+ "id": "fbcf6132.18bc7",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3443.435299873352,
- "y": 873.6774191856384,
- "z": "a4132826.623598",
+ "x": 3392.240902900696,
+ "y": 808.7607226371765,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "9c99489.850dbb8"
+ "fed346c0.cea928"
]
]
},
{
- "id": "3ca3479b.4461d8",
+ "id": "4cad675d.c40118",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3433.4351539611816,
- "y": 981.6773586273193,
- "z": "a4132826.623598",
+ "x": 3382.2407569885254,
+ "y": 916.7606620788574,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "712d9e67.b479"
+ "d218d0cb.23013"
]
]
},
{
- "id": "712d9e67.b479",
+ "id": "d218d0cb.23013",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3583.4349403381348,
- "y": 1000.6774196624756,
- "z": "a4132826.623598",
+ "x": 3532.2405433654785,
+ "y": 935.7607231140137,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "fd17f41d.93ec88"
+ "f78009ee.ed8188"
]
]
},
{
- "id": "9c99489.850dbb8",
+ "id": "fed346c0.cea928",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3594.4351692199707,
- "y": 868.6775412559509,
- "z": "a4132826.623598",
+ "x": 3543.2407722473145,
+ "y": 803.760844707489,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "fa169b05.eb4498"
+ "fe21cfa5.d67e1"
]
]
},
{
- "id": "fa169b05.eb4498",
+ "id": "fe21cfa5.d67e1",
"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": 3760.4348487854004,
- "y": 871.6773586273193,
- "z": "a4132826.623598",
+ "x": 3709.240451812744,
+ "y": 806.7606620788574,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "fd17f41d.93ec88",
+ "id": "f78009ee.ed8188",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 3747.434955596924,
- "y": 1006.6773586273193,
- "z": "a4132826.623598",
+ "x": 3696.2405586242676,
+ "y": 941.7606620788574,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "814141f.22dd5c",
+ "id": "9e1a252f.d9b4e8",
"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": 762.4546012878418,
- "y": 1500.6705932617188,
- "z": "a4132826.623598",
+ "x": 711.2602043151855,
+ "y": 1435.7538967132568,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "869a42e7.ad168",
+ "id": "efd0b10c.a5819",
"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": 467.28399658203125,
- "y": 1428.666675567627,
- "z": "a4132826.623598",
+ "x": 416.089599609375,
+ "y": 1363.749979019165,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "f6b3def0.84eaf",
+ "id": "e0df4b22.4af068",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 753.9446296691895,
- "y": 291.66675662994385,
- "z": "a4132826.623598",
+ "x": 702.7502326965332,
+ "y": 226.75006008148193,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "600b130a.e6aa6c"
+ "dc796750.c188e8"
]
]
},
{
- "id": "c2abc765.421ae8",
+ "id": "27157e51.0df202",
"type": "execute",
"name": "payload has dLThptPerSlice",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n <parameter name='target' value='dLThptPerSlice' />\n",
"comments": "",
"outputs": 1,
- "x": 513.9444961547852,
- "y": 569.6667218208313,
- "z": "a4132826.623598",
+ "x": 462.7500991821289,
+ "y": 504.7500252723694,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "f6b3def0.84eaf",
- "b652bd04.df2a9"
+ "e0df4b22.4af068",
+ "bcbebaf7.2d1a18"
]
]
},
{
- "id": "b652bd04.df2a9",
+ "id": "bcbebaf7.2d1a18",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 378.4510498046875,
- "y": 711.666919708252,
- "z": "a4132826.623598",
+ "x": 327.25665283203125,
+ "y": 646.75022315979,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "10e9abdc.f3b004"
+ "f620650.32c2f98"
]
]
},
{
- "id": "537a864f.b41268",
+ "id": "c888e6a6.7e5708",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 545.9447784423828,
- "y": 1073.6669187545776,
- "z": "a4132826.623598",
+ "x": 494.75038146972656,
+ "y": 1008.7502222061157,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "9ee08b5b.832ee8"
+ "f4ba67c0.a31e88"
]
]
},
{
- "id": "600b130a.e6aa6c",
+ "id": "dc796750.c188e8",
"type": "block",
"name": "Closed Loop",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 815.9446258544922,
- "y": 152.66672658920288,
- "z": "a4132826.623598",
+ "x": 764.7502288818359,
+ "y": 87.75003004074097,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "b53f7876.b70068",
- "95070b76.1c0098"
+ "d279fa53.715268",
+ "c667ee72.f52b7"
]
]
},
{
- "id": "9ee08b5b.832ee8",
+ "id": "f4ba67c0.a31e88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 712.9446868896484,
- "y": 1072.666904449463,
- "z": "a4132826.623598",
+ "x": 661.7502899169922,
+ "y": 1007.750207901001,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "8f0e2656.224048",
- "f6b65386.cb3fc",
- "186dbba8.f40024",
- "d1e08c64.f9b07"
+ "d80bb00a.4839a",
+ "51fc4962.028358",
+ "94895eee.b9676",
+ "39732f52.6ba52"
]
]
},
{
- "id": "10e9abdc.f3b004",
+ "id": "f620650.32c2f98",
"type": "execute",
"name": "Intelligent Slicing",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n <parameter name='target' value='maxNumberofConns' />\n",
"comments": "",
"outputs": 1,
- "x": 371.9448547363281,
- "y": 1071.6669654846191,
- "z": "a4132826.623598",
+ "x": 320.7504577636719,
+ "y": 1006.7502689361572,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "537a864f.b41268"
+ "c888e6a6.7e5708"
]
]
},
{
- "id": "b53f7876.b70068",
+ "id": "d279fa53.715268",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PAYLOAD contains dLThptPerSlice...Closed loop \"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1021.9444122314453,
- "y": 137.66672229766846,
- "z": "a4132826.623598",
+ "x": 970.7500152587891,
+ "y": 72.75002574920654,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "8f0e2656.224048",
+ "id": "d80bb00a.4839a",
"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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PAYLOAD contains maxNumberofConns...Inntelligent Slicing \"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 869.9447937011719,
- "y": 1043.6669483184814,
- "z": "a4132826.623598",
+ "x": 818.7503967285156,
+ "y": 978.7502517700195,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "a0d1b936.212298",
+ "id": "2731e85b.601c28",
"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=\"Reached instantiateRANSliceReconfigure \"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 586.9443969726562,
- "y": 304.6666965484619,
- "z": "a4132826.623598",
+ "x": 535.75,
+ "y": 239.75,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "95070b76.1c0098",
+ "id": "c667ee72.f52b7",
"type": "block",
"name": "NearRTRIC",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 919.954948425293,
- "y": 266.677134513855,
- "z": "a4132826.623598",
+ "x": 868.7605514526367,
+ "y": 201.76043796539307,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "cfbc1f43.5c09a",
- "9ae16990.24b758"
+ "5d65741b.2f5dbc",
+ "90c3b588.12eb28"
]
]
},
{
- "id": "f6b65386.cb3fc",
+ "id": "51fc4962.028358",
"type": "block",
"name": "CUCP",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 846.955192565918,
- "y": 1187.6772193908691,
- "z": "a4132826.623598",
+ "x": 795.7607955932617,
+ "y": 1122.7605228424072,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "db0afa2f.d8a5d8",
- "714d1164.e315b"
+ "2f3cb6aa.93898a",
+ "6af9dda3.2dd684"
]
]
},
{
- "id": "709ede26.eecf8",
+ "id": "1aea211b.c8b17f",
"type": "execute",
"name": "Update slice profile for nearRTRIC",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"nearRTRIC-slice-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
"comments": "",
"outputs": 1,
- "x": 1490.8439712524414,
- "y": 449.6771602630615,
- "z": "a4132826.623598",
+ "x": 1439.6495742797852,
+ "y": 384.7604637145996,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "37a47363.e1d71c",
- "db0bbf38.87581"
+ "6578c65d.779e88",
+ "adfe63a5.2b78"
]
]
},
{
- "id": "37a47363.e1d71c",
+ "id": "6578c65d.779e88",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1776.8443069458008,
- "y": 390.66669273376465,
- "z": "a4132826.623598",
+ "x": 1725.6499099731445,
+ "y": 325.74999618530273,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "5da00f62.c1caa"
+ "75b1597a.f98078"
]
]
},
{
- "id": "db0bbf38.87581",
+ "id": "adfe63a5.2b78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1769.8443717956543,
- "y": 450.6666011810303,
- "z": "a4132826.623598",
+ "x": 1718.649974822998,
+ "y": 385.74990463256836,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "bb94707a.c3725"
+ "5fada710.663628"
]
]
},
{
- "id": "5da00f62.c1caa",
+ "id": "75b1597a.f98078",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1959.8444023132324,
- "y": 433.6667003631592,
- "z": "a4132826.623598",
+ "x": 1908.6500053405762,
+ "y": 368.75000381469727,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "78e5f08b.43c2d",
- "c53690e.569fd7",
- "e78d6df2.248be"
+ "5f9052e7.0e233c",
+ "b7aa5934.3c40c8",
+ "c48f89b1.d18a38"
]
]
},
{
- "id": "bb94707a.c3725",
+ "id": "5fada710.663628",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1951.844036102295,
- "y": 479.6666622161865,
- "z": "a4132826.623598",
+ "x": 1900.6496391296387,
+ "y": 414.7499656677246,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "18d514d9.ae98eb",
- "d4beff80.9c512"
+ "cfb61ca.7540ee",
+ "ef54b6a8.1c5338"
]
]
},
{
- "id": "7acabf3a.829b6",
+ "id": "ea9b6d81.24726",
"type": "block",
"name": "Update SiceProfile for NeaeRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1087.9444885253906,
- "y": 434.41147232055664,
- "z": "a4132826.623598",
+ "x": 1036.7500915527344,
+ "y": 369.4947757720947,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "850543de.8fe82",
- "982ee349.15cdd",
- "bce2f4fb.bbd318",
- "709ede26.eecf8"
+ "49f3f9d8.e70bb8",
+ "1bef58c6.1c4687",
+ "6178a226.da38bc",
+ "1aea211b.c8b17f"
]
]
},
{
- "id": "bce2f4fb.bbd318",
+ "id": "6178a226.da38bc",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1439.9447917938232,
- "y": 325.0677165687084,
- "z": "a4132826.623598",
+ "x": 1388.750394821167,
+ "y": 260.1510200202465,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "ce59e011.1537f",
- "f221e301.437b2"
+ "c777f294.db18d",
+ "be048c30.591ad"
]
]
},
{
- "id": "ce59e011.1537f",
+ "id": "c777f294.db18d",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1602.944715499878,
- "y": 257.06750628352165,
- "z": "a4132826.623598",
+ "x": 1551.7503185272217,
+ "y": 192.15080973505974,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "f4c8a31d.8b0e8"
+ "c0e08831.f060d8"
]
]
},
{
- "id": "f221e301.437b2",
+ "id": "be048c30.591ad",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1614.9448356628418,
- "y": 334.0676097869873,
- "z": "a4132826.623598",
+ "x": 1563.7504386901855,
+ "y": 269.1509132385254,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "66aabfa5.98ccb"
+ "cfd0d98e.4a1168"
]
]
},
{
- "id": "982ee349.15cdd",
+ "id": "1bef58c6.1c4687",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Patch SliceProfile ToNearRTRIC url for closed loop:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 1416.9450492858887,
- "y": 360.4116805754602,
- "z": "a4132826.623598",
+ "x": 1365.7506523132324,
+ "y": 295.4949840269983,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "850543de.8fe82",
+ "id": "49f3f9d8.e70bb8",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PATCH SliceProfile ToNearRTRIC - closed loop\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field4\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field6\" value=\"`$tmp.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1417.9456901550293,
- "y": 405.4010372161865,
- "z": "a4132826.623598",
+ "x": 1366.751293182373,
+ "y": 340.4843406677246,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "3c7063e.d58929c",
+ "id": "7dc45260.33f05c",
"type": "execute",
"name": "Populate MOUNT NAME",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2031.4797134399414,
- "y": 384.6667308807373,
- "z": "a4132826.623598",
+ "x": 1980.2853164672852,
+ "y": 319.7500343322754,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "b7125863.e9ab68",
+ "id": "75187e82.ea858",
"type": "execute",
"name": "Populate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2102.0143280029297,
- "y": 340.2657527923584,
- "z": "a4132826.623598",
+ "x": 2050.8199310302734,
+ "y": 275.3490562438965,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "66aabfa5.98ccb",
+ "id": "cfd0d98e.4a1168",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1797.9344902038574,
- "y": 340.06759452819824,
- "z": "a4132826.623598",
+ "x": 1746.7400932312012,
+ "y": 275.1508979797363,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "52dd7d07.790684",
- "b7125863.e9ab68",
- "3c7063e.d58929c"
+ "66cb49b8.a09c78",
+ "75187e82.ea858",
+ "7dc45260.33f05c"
]
]
},
{
- "id": "52dd7d07.790684",
+ "id": "66cb49b8.a09c78",
"type": "execute",
"name": "generate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2093.4791717529297,
- "y": 295.6669411659241,
- "z": "a4132826.623598",
+ "x": 2042.2847747802734,
+ "y": 230.75024461746216,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "d3815dd0.19892",
+ "id": "4bca87c6.56bc38",
"type": "execute",
"name": "Populate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2064.479537963867,
- "y": 240.66683387756348,
- "z": "a4132826.623598",
+ "x": 2013.285140991211,
+ "y": 175.75013732910156,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "a9f62851.aa99d8",
+ "id": "93f2c37e.52446",
"type": "execute",
"name": "generate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2059.9447631835938,
- "y": 191.0678367614746,
- "z": "a4132826.623598",
+ "x": 2008.7503662109375,
+ "y": 126.1511402130127,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "f4c8a31d.8b0e8",
+ "id": "c0e08831.f060d8",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1762.146240234375,
- "y": 263.6667012870312,
- "z": "a4132826.623598",
+ "x": 1710.9518432617188,
+ "y": 198.75000473856926,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "a9f62851.aa99d8",
- "d3815dd0.19892"
+ "93f2c37e.52446",
+ "4bca87c6.56bc38"
]
]
},
{
- "id": "9ae16990.24b758",
+ "id": "90c3b588.12eb28",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.numberUpdates' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>",
"comments": "",
- "x": 1083.9483795166016,
- "y": 210.67061710357666,
- "z": "a4132826.623598",
+ "x": 1032.7539825439453,
+ "y": 145.75392055511475,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "cfbc1f43.5c09a",
+ "id": "5d65741b.2f5dbc",
"type": "for",
"name": "For Number of patches",
"xml": "<for index='id1' start='0' end=\"`$tmp.payload.numberUpdates`\" >",
"comments": "",
"outputs": 1,
- "x": 1064.9483184814453,
- "y": 333.67061710357666,
- "z": "a4132826.623598",
+ "x": 1013.7539215087891,
+ "y": 268.75392055511475,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "7acabf3a.829b6",
- "f207a54e.c3ea88",
- "7782fbac.8910b4",
- "714d1164.e315b"
+ "ea9b6d81.24726",
+ "71c3e979.58d858",
+ "b7410b4b.5d8d98",
+ "6af9dda3.2dd684"
]
]
},
{
- "id": "f207a54e.c3ea88",
+ "id": "71c3e979.58d858",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name=\"tmp.dLThptPerSlice\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].dLThptPerSlice`\"/>\n<parameter name=\"tmp.uLThptPerSlice\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].uLThptPerSlice`\"/>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].nearRTRICId`\"/>",
"comments": "",
- "x": 1263.3993797302246,
- "y": 254.67712879180908,
- "z": "a4132826.623598",
+ "x": 1212.2049827575684,
+ "y": 189.76043224334717,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "78e5f08b.43c2d",
+ "id": "5f9052e7.0e233c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Patching slice profile parms for close loop. Exiting close loop operation'/>",
"comments": "",
- "x": 2145.39933013916,
- "y": 434.67712211608887,
- "z": "a4132826.623598",
+ "x": 2094.204933166504,
+ "y": 369.76042556762695,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "c53690e.569fd7",
+ "id": "b7aa5934.3c40c8",
"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 slice profile parms for close loop. Exiting close loop operation'/>",
"comments": "",
- "x": 2155.3991165161133,
- "y": 473.56610679626465,
- "z": "a4132826.623598",
+ "x": 2104.204719543457,
+ "y": 408.64941024780273,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "18d514d9.ae98eb",
+ "id": "cfb61ca.7540ee",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully PATCHED NearRTRIC for close loop operation\"/>",
"comments": "",
"outputs": 1,
- "x": 2143.399028778076,
- "y": 510.5660762786865,
- "z": "a4132826.623598",
+ "x": 2092.20463180542,
+ "y": 445.6493797302246,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "d4beff80.9c512",
+ "id": "ef54b6a8.1c5338",
"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-closedloop-nearRTRIC-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2162.1774368286133,
- "y": 546.5661144256592,
- "z": "a4132826.623598",
+ "x": 2110.983039855957,
+ "y": 481.64941787719727,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "186dbba8.f40024",
+ "id": "94895eee.b9676",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.dataPoints' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>\n<parameter name=\"tmp.payload.sNSSAI\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.snssai`\"/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
"comments": "",
- "x": 904.0664215087891,
- "y": 1084.5662250518799,
- "z": "a4132826.623598",
+ "x": 852.8720245361328,
+ "y": 1019.649528503418,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "db0afa2f.d8a5d8",
+ "id": "2f3cb6aa.93898a",
"type": "for",
"name": "For Number of data Points",
"xml": "<for index='id-is' start='0' end=\"`$tmp.payload.dataPoints`\" >",
"comments": "",
"outputs": 1,
- "x": 1079.0659866333008,
- "y": 1177.5661506652832,
- "z": "a4132826.623598",
+ "x": 1027.8715896606445,
+ "y": 1112.6494541168213,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "997d5a8f.bd5138"
+ "ff317ab.8735a88"
]
]
},
{
- "id": "714d1164.e315b",
+ "id": "6af9dda3.2dd684",
"type": "block",
"name": "get PLMNId",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1052.6943969726562,
- "y": 600.416669845581,
- "z": "a4132826.623598",
+ "x": 1001.5,
+ "y": 535.4999732971191,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "8c3c684d.6b7008",
- "6adac12f.ecb27",
- "ec2e9015.a465a",
- "f14d513c.ba7bc",
- "ddd5395f.7eb198",
- "514838fc.4f4588",
- "8336120c.00cad"
+ "86788587.f52058",
+ "2bd64b8f.82f544",
+ "2dd88d01.be5312",
+ "91b028e9.9f93d8",
+ "528944a9.bc790c",
+ "5303822c.a01cdc"
]
]
},
{
- "id": "8c3c684d.6b7008",
+ "id": "86788587.f52058",
"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=\"`$tmp.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1317.6943893432617,
- "y": 490.41666412353516,
- "z": "a4132826.623598",
+ "x": 1266.4999923706055,
+ "y": 425.49996757507324,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "6adac12f.ecb27",
+ "id": "2bd64b8f.82f544",
"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/closedLoop.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": 1291.1945152282715,
- "y": 538.4167022705078,
- "z": "a4132826.623598",
+ "x": 1240.0001182556152,
+ "y": 473.5000057220459,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "ec2e9015.a465a",
+ "id": "2dd88d01.be5312",
"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-CL-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": 1358.9443893432617,
- "y": 576.416651725769,
- "z": "a4132826.623598",
+ "x": 1307.7499923706055,
+ "y": 511.49995517730713,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "f8debae8.8f1b68",
- "419dc3d0.d48c9c"
+ "c725b1f.9c17f5",
+ "81e5d438.cdec78"
]
]
},
{
- "id": "8336120c.00cad",
+ "id": "528944a9.bc790c",
"type": "set",
"name": "set PLMNId",
"xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/>",
"comments": "",
- "x": 1316.1319198608398,
- "y": 617.1042184829712,
- "z": "a4132826.623598",
+ "x": 1264.9375228881836,
+ "y": 552.1875219345093,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "f14d513c.ba7bc",
+ "id": "f7be8f11.e7337",
"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": 1299.9443893432617,
- "y": 656.6667845249176,
- "z": "a4132826.623598",
+ "x": 1665.7500343322754,
+ "y": 604.7500696182251,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "ddd5395f.7eb198",
+ "id": "12967770.314669",
"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": 1303.694465637207,
- "y": 693.9166173934937,
- "z": "a4132826.623598",
+ "x": 1676.5002136230469,
+ "y": 638.9999475479126,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "514838fc.4f4588",
+ "id": "91b028e9.9f93d8",
"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/closedLoop.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": 1304.4379425048828,
- "y": 735.9101409912109,
- "z": "a4132826.623598",
+ "x": 1253.2435455322266,
+ "y": 670.993444442749,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "f8debae8.8f1b68",
+ "id": "c725b1f.9c17f5",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1596.4443893432617,
- "y": 581.6666641235352,
- "z": "a4132826.623598",
+ "x": 1545.2499923706055,
+ "y": 516.7499675750732,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "7c0f178b.1c54e8"
+ "86c1ac17.260a"
]
]
},
{
- "id": "419dc3d0.d48c9c",
+ "id": "81e5d438.cdec78",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1595.0071334838867,
- "y": 631.2291631698608,
- "z": "a4132826.623598",
+ "x": 1543.8127365112305,
+ "y": 566.3124666213989,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "49e6c73.14af838"
+ "de2f65b2.380ce8"
]
]
},
{
- "id": "7c0f178b.1c54e8",
+ "id": "86c1ac17.260a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1769.444190979004,
- "y": 570.6667366027832,
- "z": "a4132826.623598",
+ "x": 1718.2497940063477,
+ "y": 505.7500400543213,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "3919f283.d8506e",
- "7c4be284.1c798c"
+ "83c28bb6.d51a18",
+ "fad3d54e.815758"
]
]
},
{
- "id": "49e6c73.14af838",
+ "id": "de2f65b2.380ce8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1756.0069961547852,
- "y": 609.2290897369385,
- "z": "a4132826.623598",
+ "x": 1704.812599182129,
+ "y": 544.3123931884766,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "78b85648.bb2458",
- "20ea74cc.4fa27c",
- "e78d6df2.248be"
+ "3b1555d0.f69e0a",
+ "29de30a2.74c7a",
+ "c48f89b1.d18a38"
]
]
},
{
- "id": "3919f283.d8506e",
+ "id": "83c28bb6.d51a18",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained PLMNId info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getPLMN-CL-configdb-response`\"/>",
"comments": "",
"outputs": 1,
- "x": 1970.193920135498,
- "y": 570.4167613983154,
- "z": "a4132826.623598",
+ "x": 1918.9995231628418,
+ "y": 505.5000648498535,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "7c4be284.1c798c",
+ "id": "fad3d54e.815758",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2005.9721336364746,
- "y": 613.6667699813843,
- "z": "a4132826.623598",
+ "x": 1954.7777366638184,
+ "y": 548.7500734329224,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "20ea74cc.4fa27c",
+ "id": "29de30a2.74c7a",
"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": 2001.0073471069336,
- "y": 646.3401899337769,
- "z": "a4132826.623598",
+ "x": 1949.8129501342773,
+ "y": 581.4234933853149,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "78b85648.bb2458",
+ "id": "3b1555d0.f69e0a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2001.0070419311523,
- "y": 682.2291746139526,
- "z": "a4132826.623598",
+ "x": 1949.812644958496,
+ "y": 617.3124780654907,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "7782fbac.8910b4",
+ "id": "b7410b4b.5d8d98",
"type": "block",
"name": "Update NearRTRIC Config",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 813.4443969726562,
- "y": 797.166669845581,
- "z": "a4132826.623598",
+ "x": 762.25,
+ "y": 732.2499732971191,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "56cbc2f3.98600c",
- "b0f2567.bbb75a8",
- "cb02fedf.54fae",
- "898f3f4d.3a21c",
- "9125173f.757b88"
+ "98e2e029.d50e8",
+ "47327c2c.cdd6a4",
+ "f9c127e5.84e9e8",
+ "e61c1415.20c848",
+ "8d6f5090.6c973"
]
]
},
{
- "id": "56cbc2f3.98600c",
+ "id": "98e2e029.d50e8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1052.194435119629,
- "y": 717.6667079925537,
- "z": "a4132826.623598",
+ "x": 1001.0000381469727,
+ "y": 652.7500114440918,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "18a7b674.c4977a",
- "ee798340.3d286"
+ "223d5a1c.1b0fb6",
+ "9f90767.43c7588"
]
]
},
{
- "id": "18a7b674.c4977a",
+ "id": "223d5a1c.1b0fb6",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1273.194320678711,
- "y": 774.6664595603943,
- "z": "a4132826.623598",
+ "x": 1221.9999237060547,
+ "y": 709.7497630119324,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "b188c1e4.390b4"
+ "55a7c56a.3fce3c"
]
]
},
{
- "id": "ee798340.3d286",
+ "id": "9f90767.43c7588",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1267.1944007873535,
- "y": 811.6665983200073,
- "z": "a4132826.623598",
+ "x": 1216.0000038146973,
+ "y": 746.7499017715454,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "ae0428b2.06c978"
+ "e8940986.b7ee28"
]
]
},
{
- "id": "ae0428b2.06c978",
+ "id": "e8940986.b7ee28",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1444.184238433838,
- "y": 822.6665840148926,
- "z": "a4132826.623598",
+ "x": 1392.9898414611816,
+ "y": 757.7498874664307,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "17ee6d36.c93db3",
- "af82770a.456508"
+ "1d74dbdf.25ea24",
+ "4c4c0bee.483e74"
]
]
},
{
- "id": "b188c1e4.390b4",
+ "id": "55a7c56a.3fce3c",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1432.395845413208,
- "y": 781.2656545639038,
- "z": "a4132826.623598",
+ "x": 1381.2014484405518,
+ "y": 716.3489580154419,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "3c967c46.f89f74"
+ "a7f2c835.dac1d8"
]
]
},
{
- "id": "3c967c46.f89f74",
+ "id": "a7f2c835.dac1d8",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1714.1943817138672,
- "y": 771.6667957305908,
- "z": "a4132826.623598",
+ "x": 1662.999984741211,
+ "y": 706.7500991821289,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "17ee6d36.c93db3",
+ "id": "1d74dbdf.25ea24",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1763.7287769317627,
- "y": 813.2658944427967,
- "z": "a4132826.623598",
+ "x": 1712.5343799591064,
+ "y": 748.3491978943348,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "af82770a.456508",
+ "id": "4c4c0bee.483e74",
"type": "execute",
"name": "Populate MOUNT NAME",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1706.7292938232422,
- "y": 858.2656574249268,
- "z": "a4132826.623598",
+ "x": 1655.534896850586,
+ "y": 793.3489608764648,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "b0f2567.bbb75a8",
+ "id": "47327c2c.cdd6a4",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1048.4444770812988,
- "y": 760.1667685508728,
- "z": "a4132826.623598",
+ "x": 997.2500801086426,
+ "y": 695.2500720024109,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "cb02fedf.54fae",
+ "id": "f9c127e5.84e9e8",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1049.944450378418,
- "y": 800.1667079925537,
- "z": "a4132826.623598",
+ "x": 998.7500534057617,
+ "y": 735.2500114440918,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "8a295a94.bf98d8",
+ "id": "d98e12cf.209e7",
"type": "execute",
"name": "prepare sNssai",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1052.944450378418,
- "y": 840.1666612625122,
- "z": "a4132826.623598",
+ "x": 1001.7500534057617,
+ "y": 775.2499647140503,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "e3530f45.0dc46",
+ "id": "3a1d2a35.6a00e6",
"type": "execute",
"name": "prepare uLThptPerSlice",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{configParameter}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.uLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 1055.194435119629,
- "y": 884.166750907898,
- "z": "a4132826.623598",
+ "x": 1004.0000381469727,
+ "y": 819.250054359436,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "ccbdff4b.c27e3",
+ "id": "d6823a6a.4c6468",
"type": "execute",
"name": "prepare dLThptPerSlice",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{configParameter}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 1048.444450378418,
- "y": 924.9167203903198,
- "z": "a4132826.623598",
+ "x": 997.2500534057617,
+ "y": 860.0000238418579,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "898f3f4d.3a21c",
+ "id": "e61c1415.20c848",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Closed loop API params\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1001.6943855285645,
- "y": 960.416675567627,
- "z": "a4132826.623598",
+ "x": 950.4999885559082,
+ "y": 895.499979019165,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "288b2cdc.4b1194",
+ "id": "f1747783.e30e98",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1289.1944465637207,
- "y": 1008.9167308807373,
- "z": "a4132826.623598",
+ "x": 1238.0000495910645,
+ "y": 944.0000343322754,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "654b1e51.ddfcb"
+ "c14004b5.9a1838"
]
]
},
{
- "id": "6561b789.668768",
+ "id": "6a9992fc.795c2c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1287.7571907043457,
- "y": 1058.479229927063,
- "z": "a4132826.623598",
+ "x": 1236.5627937316895,
+ "y": 993.5625333786011,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "2eb2806.801878"
+ "a873143.b35e6e8"
]
]
},
{
- "id": "654b1e51.ddfcb",
+ "id": "c14004b5.9a1838",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1458.1941986083984,
- "y": 1002.9167547225952,
- "z": "a4132826.623598",
+ "x": 1406.9998016357422,
+ "y": 938.0000581741333,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "b5b5a3a4.7596a"
+ "71a12d75.5b5994"
]
]
},
{
- "id": "2eb2806.801878",
+ "id": "a873143.b35e6e8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1448.7570533752441,
- "y": 1036.4791564941406,
- "z": "a4132826.623598",
+ "x": 1397.562656402588,
+ "y": 971.5624599456787,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "1fe50b77.077eb5",
- "11434b4d.29f385",
- "e78d6df2.248be"
+ "42069377.24c81c",
+ "8894a5e7.dc7408",
+ "c48f89b1.d18a38"
]
]
},
{
- "id": "b5b5a3a4.7596a",
+ "id": "71a12d75.5b5994",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully patched NearRTRIC configuration\"/>",
"comments": "",
"outputs": 1,
- "x": 1669.944004058838,
- "y": 925.6668424606323,
- "z": "a4132826.623598",
+ "x": 1618.7496070861816,
+ "y": 860.7501459121704,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "11434b4d.29f385",
+ "id": "8894a5e7.dc7408",
"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": 1674.7576026916504,
- "y": 981.5901823043823,
- "z": "a4132826.623598",
+ "x": 1623.5632057189941,
+ "y": 916.6734857559204,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "1fe50b77.077eb5",
+ "id": "42069377.24c81c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1635.7571182250977,
- "y": 1032.4791746139526,
- "z": "a4132826.623598",
+ "x": 1584.5627212524414,
+ "y": 967.5624780654907,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "9125173f.757b88",
+ "id": "8d6f5090.6c973",
"type": "execute",
"name": "patch NearRTRIC - config",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.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=\"patch-nearRTRIC-config-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": 1056.6944465637207,
- "y": 1007.6667184829712,
- "z": "a4132826.623598",
+ "x": 1005.5000495910645,
+ "y": 942.7500219345093,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "288b2cdc.4b1194",
- "6561b789.668768"
+ "f1747783.e30e98",
+ "6a9992fc.795c2c"
]
]
},
{
- "id": "b4fdb0c.13b025",
+ "id": "3f1931e1.a211de",
"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=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
"comments": "",
- "x": 477.63189697265625,
- "y": 1377.291669845581,
- "z": "a4132826.623598",
+ "x": 426.4375,
+ "y": 1312.3749732971191,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "f189ead7.d54db8",
+ "id": "9d63de5e.8e682",
"type": "execute",
"name": "Send to SO",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 315.13189697265625,
- "y": 1621.041669845581,
- "z": "a4132826.623598",
+ "x": 263.9375,
+ "y": 1556.1249732971191,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "863c82b0.fee6b",
- "c7b37697.cf47b8"
+ "cbc8b2d8.13b52",
+ "8daf872.91ed978"
]
]
},
{
- "id": "8cc27aec.7baa58",
+ "id": "49d99fd7.fc694",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1692.6944618225098,
- "y": 1127.6667041778564,
- "z": "a4132826.623598",
+ "x": 1641.5000648498535,
+ "y": 1062.7500076293945,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "3796b847.90c588"
+ "191abe0b.872f32"
]
]
},
{
- "id": "f5dc1311.399f4",
+ "id": "b038eec9.55512",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1686.6945419311523,
- "y": 1164.6668429374695,
- "z": "a4132826.623598",
+ "x": 1635.500144958496,
+ "y": 1099.7501463890076,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "e12e8f30.80866"
+ "478492f6.e3bc0c"
]
]
},
{
- "id": "e12e8f30.80866",
+ "id": "478492f6.e3bc0c",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1863.6843795776367,
- "y": 1175.6668286323547,
- "z": "a4132826.623598",
+ "x": 1812.4899826049805,
+ "y": 1110.7501320838928,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "3c2d36c.67ca5ca",
- "4501a78f.008508"
+ "7610cbcc.f96fe4",
+ "979c14d1.cb1e58"
]
]
},
{
- "id": "3796b847.90c588",
+ "id": "191abe0b.872f32",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1851.8959865570068,
- "y": 1134.265899181366,
- "z": "a4132826.623598",
+ "x": 1800.7015895843506,
+ "y": 1069.349202632904,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "81e1f6af.317318"
+ "893dfdaf.bebe3"
]
]
},
{
- "id": "81e1f6af.317318",
+ "id": "893dfdaf.bebe3",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2133.694522857666,
- "y": 1124.667040348053,
- "z": "a4132826.623598",
+ "x": 2082.5001258850098,
+ "y": 1059.750343799591,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "3c2d36c.67ca5ca",
+ "id": "7610cbcc.f96fe4",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2183.2289180755615,
- "y": 1166.2661390602589,
- "z": "a4132826.623598",
+ "x": 2132.0345211029053,
+ "y": 1101.349442511797,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "4501a78f.008508",
+ "id": "979c14d1.cb1e58",
"type": "execute",
"name": "Populate MOUNT NAME",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2126.229434967041,
- "y": 1211.265902042389,
- "z": "a4132826.623598",
+ "x": 2075.0350379943848,
+ "y": 1146.349205493927,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "ad6e03d7.ad3a8",
+ "id": "34e80fab.94589",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1502.6945266723633,
- "y": 1120.6667022705078,
- "z": "a4132826.623598",
+ "x": 1451.500129699707,
+ "y": 1055.750005722046,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "8cc27aec.7baa58",
- "f5dc1311.399f4"
+ "49d99fd7.fc694",
+ "b038eec9.55512"
]
]
},
{
- "id": "ce7dd64c.558e38",
+ "id": "1f9e057a.b5015b",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1497.6944618225098,
- "y": 1192.6667041778564,
- "z": "a4132826.623598",
+ "x": 1446.5000648498535,
+ "y": 1127.7500076293945,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "10ab84e8.6015fb",
+ "id": "c526ebdc.dcc278",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1499.194435119629,
- "y": 1232.6666436195374,
- "z": "a4132826.623598",
+ "x": 1448.0000381469727,
+ "y": 1167.7499470710754,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "997d5a8f.bd5138",
+ "id": "ff317ab.8735a88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1303.6944198608398,
- "y": 1171.666735649109,
- "z": "a4132826.623598",
+ "x": 1252.5000228881836,
+ "y": 1106.750039100647,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "ad6e03d7.ad3a8",
- "ce7dd64c.558e38",
- "10ab84e8.6015fb",
- "13921f35.757901",
- "fc0ddc3e.f21",
- "ee4d9f87.53648",
- "689fb519.ee1dac"
+ "34e80fab.94589",
+ "1f9e057a.b5015b",
+ "c526ebdc.dcc278",
+ "b7f1dcfa.9099e",
+ "92f9164e.8bd9f8",
+ "a597141c.955aa8",
+ "40a41a92.878344"
]
]
},
{
- "id": "13921f35.757901",
+ "id": "b7f1dcfa.9099e",
"type": "for",
"name": "For Number of cells",
"xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
"comments": "",
"outputs": 1,
- "x": 1512.9445877075195,
- "y": 1336.6667385101318,
- "z": "a4132826.623598",
+ "x": 1461.7501907348633,
+ "y": 1271.75004196167,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "140cbec1.778361"
+ "73ca8487.787a6c"
]
]
},
{
- "id": "67db53db.00cacc",
+ "id": "874d627f.189ca",
"type": "execute",
"name": "cellLocalId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1923.6944427490234,
- "y": 1305.6667575836182,
- "z": "a4132826.623598",
+ "x": 1872.5000457763672,
+ "y": 1240.7500610351562,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "140cbec1.778361",
+ "id": "73ca8487.787a6c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1722.6943969726562,
- "y": 1333.666696548462,
- "z": "a4132826.623598",
+ "x": 1671.5,
+ "y": 1268.75,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "67db53db.00cacc",
- "e46c252f.937788",
- "6720e72f.18e8a8",
- "a790631.68201a"
+ "874d627f.189ca",
+ "b903329b.50594",
+ "81ae2c97.4e515",
+ "add71935.c42ad8"
]
]
},
{
- "id": "e46c252f.937788",
+ "id": "b903329b.50594",
"type": "execute",
"name": "predictedMaxNumberofConns",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.predictedMaxNumberofConns' />\n\t<parameter name='source' value=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].configData.predictedMaxNumberofConns'`\" />",
"comments": "",
"outputs": 1,
- "x": 1980.4444427490234,
- "y": 1340.666802406311,
- "z": "a4132826.623598",
+ "x": 1929.2500457763672,
+ "y": 1275.7501058578491,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "6720e72f.18e8a8",
+ "id": "81ae2c97.4e515",
"type": "execute",
"name": "patch NearRTRIC - config",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.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=\"patch-nearRTRIC-config-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": 1971.1943969726562,
- "y": 1447.666696548462,
- "z": "a4132826.623598",
+ "x": 1920,
+ "y": 1382.75,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "68ef85d7.dd1d4c",
- "9e7160d.46fefa"
+ "573788df.ddddb8",
+ "7bdf8f5b.10a1"
]
]
},
{
- "id": "68ef85d7.dd1d4c",
+ "id": "573788df.ddddb8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2203.6943969726562,
- "y": 1448.916708946228,
- "z": "a4132826.623598",
+ "x": 2152.5,
+ "y": 1384.000012397766,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "a6d7a02e.9cc2e"
+ "4bcc1302.ba043c"
]
]
},
{
- "id": "9e7160d.46fefa",
+ "id": "7bdf8f5b.10a1",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2202.2571411132812,
- "y": 1498.4792079925537,
- "z": "a4132826.623598",
+ "x": 2151.062744140625,
+ "y": 1433.5625114440918,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "b81123b2.7af0b"
+ "b111113c.40f09"
]
]
},
{
- "id": "b81123b2.7af0b",
+ "id": "b111113c.40f09",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2363.2570037841797,
- "y": 1476.4791345596313,
- "z": "a4132826.623598",
+ "x": 2312.0626068115234,
+ "y": 1411.5624380111694,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "720f80da.20089",
- "d11f1a0b.bd81f8",
- "e78d6df2.248be"
+ "a13544b8.2f4298",
+ "1d24e1f0.9e612e",
+ "c48f89b1.d18a38"
]
]
},
{
- "id": "a6d7a02e.9cc2e",
+ "id": "4bcc1302.ba043c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2372.694149017334,
- "y": 1442.916732788086,
- "z": "a4132826.623598",
+ "x": 2321.4997520446777,
+ "y": 1378.000036239624,
+ "z": "d1da56d7.1e7b78",
"wires": [
[
- "329a2f23.e32e6"
+ "8c850a61.9d5d58"
]
]
},
{
- "id": "720f80da.20089",
+ "id": "a13544b8.2f4298",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2550.257068634033,
- "y": 1472.4791526794434,
- "z": "a4132826.623598",
+ "x": 2499.062671661377,
+ "y": 1407.5624561309814,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "d11f1a0b.bd81f8",
+ "id": "1d24e1f0.9e612e",
"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": 2589.257553100586,
- "y": 1421.590160369873,
- "z": "a4132826.623598",
+ "x": 2538.0631561279297,
+ "y": 1356.6734638214111,
+ "z": "d1da56d7.1e7b78",
"wires": []
},
{
- "id": "329a2f23.e32e6",
+ "id": "8c850a61.9d5d58",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully patched NearRTRIC configuration\"/>",
"comments": "",
"outputs": 1,
- "x": 2584.4439544677734,
- "y": 1365.666820526123,
- "z": "a4132826.623598",
+ "x": 2533.249557495117,
+ "y": 1300.7501239776611,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "d1e08c64.f9b07",
+ "id": "39732f52.6ba52",
"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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Data length \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.dataPoints`\"/>\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 872.4443969726562,
- "y": 1141.666696548462,
- "z": "a4132826.623598",
+ "x": 821.25,
+ "y": 1076.75,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "fc0ddc3e.f21",
+ "id": "92f9164e.8bd9f8",
"type": "execute",
"name": "CUCellListEntries",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCellListEntries' />\n\t<parameter name='source' value=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList_length'`\" />\n\t",
"comments": "",
"outputs": 1,
- "x": 1513.9444046020508,
- "y": 1266.9167070388794,
- "z": "a4132826.623598",
+ "x": 1462.7500076293945,
+ "y": 1202.0000104904175,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "ee4d9f87.53648",
+ "id": "a597141c.955aa8",
"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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCEll List length \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCellListEntries`\"/>\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1493.9443969726562,
- "y": 1299.916696548462,
- "z": "a4132826.623598",
+ "x": 1442.75,
+ "y": 1235,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "a790631.68201a",
+ "id": "add71935.c42ad8",
"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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1919.1943969726562,
- "y": 1394.166696548462,
- "z": "a4132826.623598",
+ "x": 1868,
+ "y": 1329.25,
+ "z": "d1da56d7.1e7b78",
"wires": [
[]
]
},
{
- "id": "689fb519.ee1dac",
+ "id": "40a41a92.878344",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`\"/>",
"comments": "",
- "x": 1519.4443969726562,
- "y": 1076.166696548462,
- "z": "a4132826.623598",
+ "x": 1468.25,
+ "y": 1011.25,
+ "z": "d1da56d7.1e7b78",
"wires": []
+ },
+ {
+ "id": "5303822c.a01cdc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1261.2500457763672,
+ "y": 608.7500238418579,
+ "z": "d1da56d7.1e7b78",
+ "wires": [
+ [
+ "18f7864e.7ce22a",
+ "6d3ef7b9.ba50a8"
+ ]
+ ]
+ },
+ {
+ "id": "6d3ef7b9.ba50a8",
+ "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": 1472.9771423339844,
+ "y": 666.3077244758606,
+ "z": "d1da56d7.1e7b78",
+ "wires": []
+ },
+ {
+ "id": "18f7864e.7ce22a",
+ "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": 1480.5224609375,
+ "y": 622.2623138427734,
+ "z": "d1da56d7.1e7b78",
+ "wires": [
+ []
+ ]
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml
index e85db3d3..47e91575 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml
@@ -192,17 +192,17 @@
<parameter name='outputPath' value='tmp.pLMNId' />
<parameter name='source' value="`getPLMN-configdb-response.plmnId`" />
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$tmp.pLMNId`" />
- <parameter name="result" value="tmp.mcc"/>
- <parameter name="begin-index" value="0" />
- <parameter name="end-index" value="3" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$tmp.pLMNId`" />
- <parameter name="result" value="tmp.mnc"/>
- <parameter name="begin-index" value="4" />
- </execute>
+ <block atomic="true">
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+ <parameter name="original_string" value="`$tmp.pLMNId`" />
+ <parameter name="regex" value="-"/>
+ <parameter name="ctx_memory_result_key" value="tmp.plmnList" />
+ </execute>
+ <set>
+ <parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>
+ <parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>
+ </set>
+ </block>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
@@ -262,8 +262,234 @@
<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.snssaiList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+$id-cuplmn+'].sNSSAI_length'`" />
+ </execute>
+ <for index='id-cunssai' start='0' end='`$tmp.snssaiList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.configDBSNSSAI' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI['+$id-cunssai+'].sNSSAI'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
+ <parameter name="field2" value="`$tmp.configDBSNSSAI`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
+ </record>
+ <switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CellCU is applicable for the NSSAI "/>
+ </record>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idGNBCUCPFunction}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNRCellCU}"/>
+ <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mcc}"/>
+ <parameter name="replacement" value="`$tmp.mcc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="patch cellCU NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.CUCPName`"/>
+ <parameter name="field4" value="`$tmp.cellCULocalId`"/>
+ <parameter name="field5" value="`$tmp.mcc`"/>
+ <parameter name="field6" value="`$tmp.mnc`"/>
+ <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="activate-cellCU-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-activate-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellCU PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.CUUPList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Number of CUCP List Entries "/>
+ <parameter name="field2" value="`$tmp.CUUPList_length`"/>
+ <parameter name="field3" value="for the NearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRICId`"/>
+ </record>
+ <for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.idGNBCUUPFunction' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="idGNBCUUPFunction "/>
+ <parameter name="field2" value="`$tmp.idGNBCUUPFunction`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.pLMNInfoList' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`" />
+ </execute>
+ <for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.snssaiListup_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+$id-plmn+'].sNSSAI_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUUP - snssaiList_length"/>
+ <parameter name="field2" value="`$tmp.snssaiListup_length`"/>
+ </record>
+ <for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.configDBSNSSAI' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`" />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI['+$id-cuupnssai+'].sNSSAI'`" />
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
@@ -274,18 +500,20 @@
<parameter name="field4" value="`$tmp.sNSSAI`"/>
</record>
<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>
+ <outcome value='false'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI doesn't match"/>
+ </record>
+ </outcome>
<outcome value='true'>
<block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="CellCU is applicable for the NSSAI "/>
- </record>
<switch test='`$prop.ransim-mounted`'>
<outcome value='false'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
<parameter name="target" value="{idNearRTRIC}"/>
<parameter name="replacement" value="`$tmp.nearRTRICId`"/>
</execute>
@@ -293,66 +521,51 @@
<outcome value='true'>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
<parameter name="target" value="{idNearRTRIC}"/>
<parameter name="replacement" value="`$tmp.nearRTRICId`"/>
</execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
<parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
</execute>
</block>
</outcome>
</switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCULocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
- </execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idGNBCUCPFunction}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
</execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idNRCellCU}"/>
- <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idGNBCUUPFunction}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
</execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
<parameter name="target" value="{mcc}"/>
<parameter name="replacement" value="`$tmp.mcc`"/>
</execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
<parameter name="target" value="{mnc}"/>
<parameter name="replacement" value="`$tmp.mnc`"/>
</execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="patch cellCU NSSAI parameters"/>
- <parameter name="field2" value="`$tmp.nearRTRICId`"/>
- <parameter name="field3" value="`$tmp.CUCPName`"/>
- <parameter name="field4" value="`$tmp.cellCULocalId`"/>
- <parameter name="field5" value="`$tmp.mcc`"/>
- <parameter name="field6" value="`$tmp.mnc`"/>
- <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- </record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`"/>
<parameter name="restapiUser" value="`$prop.controller.user`" />
<parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
<parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="activate-cellCU-PLMNInfoList-response"/>
+ <parameter name="responsePrefix" value="activate-gNBCUUP-PLMNInfoList-response"/>
<parameter name='contentType' value='application/yang.patch+json' />
<parameter name='accept' value='application/yang.patch-status+json'/>
<parameter name='format' value='json' />
@@ -360,12 +573,12 @@
<block atomic='true'>
<set>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>
</set>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>
</return>
<block atomic='true'>
<set>
@@ -421,7 +634,7 @@
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellCU PLMNInfo List"/>
+ <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
</record>
</block>
</outcome>
@@ -438,197 +651,6 @@
</block>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.CUUPList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Number of CUCP List Entries "/>
- <parameter name="field2" value="`$tmp.CUUPList_length`"/>
- <parameter name="field3" value="for the NearRTRIC"/>
- <parameter name="field4" value="`$tmp.nearRTRICId`"/>
- </record>
- <for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.idGNBCUUPFunction' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="idGNBCUUPFunction "/>
- <parameter name="field2" value="`$tmp.idGNBCUUPFunction`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.pLMNInfoList' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`" />
- </execute>
- <for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.configDBSNSSAI' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $idz +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
- <parameter name="field2" value="`$tmp.configDBSNSSAI`"/>
- <parameter name="field3" value="sNSSAI from request"/>
- <parameter name="field4" value="`$tmp.sNSSAI`"/>
- </record>
- <switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>
- <outcome value='false'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="sNSSAI doesn't match"/>
- </record>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idGNBCUUPFunction}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mcc}"/>
- <parameter name="replacement" value="`$tmp.mcc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="activate-gNBCUUP-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>
- </return>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-activate-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </outcome>
- </switch>
- </block>
- </for>
- </block>
- </for>
- </block>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.DUList_length' />
<parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`" />
</execute>
@@ -668,163 +690,173 @@
</execute>
<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >
<block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="DUpLMNInfoList_length"/>
- <parameter name="field2" value="`$tmp.DUpLMNInfoList_length`"/>
- </record>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`" />
+ <parameter name='outputPath' value='tmp.snssaiListdu_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+$id-duplmn+'].sNSSAI_length'`" />
</execute>
- <switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>
- <outcome value='true'>
- <block atomic='true'>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
+ <for index='id-dunssai' start='0' end='`$tmp.snssaiListdu_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI['+$id-dunssai+'].sNSSAI'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
+ <parameter name="field2" value="`$tmp.configDBSNSSAI-DU`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
+ </record>
+ <switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`"/>
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
<parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ <parameter name="target" value="{idGNBDUFunction}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
</execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idGNBDUFunction}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idNRCellDU}"/>
- <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{mcc}"/>
- <parameter name="replacement" value="`$tmp.mcc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="patch cellDU NSSAI parameters"/>
- <parameter name="field2" value="`$tmp.nearRTRICId`"/>
- <parameter name="field3" value="`$tmp.GNBDUId`"/>
- <parameter name="field4" value="`$tmp.cellDULocalId`"/>
- <parameter name="field5" value="`$tmp.mcc`"/>
- <parameter name="field6" value="`$tmp.mnc`"/>
- <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="activate-cellDU-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='failure'>
- <block atomic='true'>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-activate-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellDU PLMNInfo List"/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </outcome>
- </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mcc}"/>
+ <parameter name="replacement" value="`$tmp.mcc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="patch cellDU NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.GNBDUId`"/>
+ <parameter name="field4" value="`$tmp.cellDULocalId`"/>
+ <parameter name="field5" value="`$tmp.mcc`"/>
+ <parameter name="field6" value="`$tmp.mnc`"/>
+ <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="activate-cellDU-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-activate-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellDU PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
</block>
</for>
</block>
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml
index 87c9c461..88338538 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml
@@ -116,21 +116,20 @@
<outcome value='allocate'>
<block atomic="true">
<set>
- <parameter name='tmp.payload.trackingArea' value='`$payloadJson.input.sliceProfile.coverageAreaList[0]`'/>
<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>
<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>
<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>
- <parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaList_length`'/>
+ <parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaTAList_length`'/>
<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>
<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>
<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>
<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>
<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>
<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>
- <parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>
+ <parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.snssaiList[0]`'/>
<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>
<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>
- <parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>
+ <parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.plmnIdList[0]`'/>
</set>
<set>
<parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value="`'NearRTRIC-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
@@ -151,17 +150,15 @@
</outcome>
<outcome value='Other'>
<block atomic="true">
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$tmp.payload.pLMNId`" />
- <parameter name="result" value="tmp.mcc"/>
- <parameter name="begin-index" value="0" />
- <parameter name="end-index" value="3" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$tmp.payload.pLMNId`" />
- <parameter name="result" value="tmp.mnc"/>
- <parameter name="begin-index" value="4" />
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+ <parameter name="original_string" value="`$tmp.payload.pLMNId`" />
+ <parameter name="regex" value="-"/>
+ <parameter name="ctx_memory_result_key" value="tmp.plmnList" />
</execute>
+ <set>
+ <parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>
+ <parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>
+ </set>
</block>
</outcome>
</switch>
@@ -177,21 +174,20 @@
<outcome value='modify-allocate'>
<block atomic="true">
<set>
- <parameter name='tmp.payload.trackingArea' value='`$payloadJson.input.sliceProfile.coverageAreaList[0]`'/>
<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>
<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>
<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>
- <parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaList_length`'/>
+ <parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaTAList_length`'/>
<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>
<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>
<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>
<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>
<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>
<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>
- <parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>
+ <parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.snssaiList[0]`'/>
<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>
<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>
- <parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>
+ <parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.plmnIdList[0]`'/>
</set>
<set>
<parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value="`'NearRTRIC-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
@@ -212,17 +208,15 @@
</outcome>
<outcome value='Other'>
<block atomic="true">
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$tmp.payload.pLMNId`" />
- <parameter name="result" value="tmp.mcc"/>
- <parameter name="begin-index" value="0" />
- <parameter name="end-index" value="3" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$tmp.payload.pLMNId`" />
- <parameter name="result" value="tmp.mnc"/>
- <parameter name="begin-index" value="4" />
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+ <parameter name="original_string" value="`$tmp.payload.pLMNId`" />
+ <parameter name="regex" value="-"/>
+ <parameter name="ctx_memory_result_key" value="tmp.plmnList" />
</execute>
+ <set>
+ <parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>
+ <parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>
+ </set>
</block>
</outcome>
</switch>
@@ -238,21 +232,20 @@
<outcome value='modify-deallocate'>
<block atomic="true">
<set>
- <parameter name='tmp.payload.trackingArea' value='`$payloadJson.input.sliceProfile.coverageAreaList[0]`'/>
<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>
<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>
<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>
- <parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaList_length`'/>
+ <parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaTAList_length`'/>
<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>
<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>
<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>
<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>
<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>
<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>
- <parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>
+ <parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.snssaiList[0]`'/>
<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>
<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>
- <parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>
+ <parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.plmnIdList[0]`'/>
</set>
<set>
<parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value="`'NearRTRIC-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
@@ -273,17 +266,15 @@
</outcome>
<outcome value='Other'>
<block atomic="true">
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$tmp.payload.pLMNId`" />
- <parameter name="result" value="tmp.mcc"/>
- <parameter name="begin-index" value="0" />
- <parameter name="end-index" value="3" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$tmp.payload.pLMNId`" />
- <parameter name="result" value="tmp.mnc"/>
- <parameter name="begin-index" value="4" />
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+ <parameter name="original_string" value="`$tmp.payload.pLMNId`" />
+ <parameter name="regex" value="-"/>
+ <parameter name="ctx_memory_result_key" value="tmp.plmnList" />
</execute>
+ <set>
+ <parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>
+ <parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>
+ </set>
</block>
</outcome>
</switch>
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate.xml
index ede8708d..bd16b093 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate.xml
@@ -4,7 +4,7 @@
<method rpc='instantiateRANSliceAllocate' mode='sync'>
<block atomic='true'>
<set>
- <parameter name='tmp.trackingAreaListEntries' value="`$payloadJson.input.sliceProfile.coverageAreaList_length`"/>
+ <parameter name='tmp.trackingAreaListEntries' value="`$payloadJson.input.sliceProfile.coverageAreaTAList_length`"/>
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
@@ -16,7 +16,7 @@
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.payload.trackingArea' />
- <parameter name='source' value="`'payloadJson.input.sliceProfile.coverageAreaList[' + $ta + ']'`"/>
+ <parameter name='source' value="`'payloadJson.input.sliceProfile.coverageAreaTAList[' + $ta + ']'`"/>
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
@@ -243,6 +243,15 @@
</execute>
</block>
</block>
+ <set>
+ <parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value="`'NearRTRIC-' + $tmp.payload.trackingArea`" />
+ <parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value="`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`" />
+ <parameter name='tmp.RRMPolicyRatioID.NRCellDU' value="`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`" />
+ <parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value="`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`" />
+ <parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value="`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`" />
+ <parameter name='tmp.RRMPolicyRatioID.NRCellCU' value="`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`" />
+ <parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />
+ </set>
<for index='id1' start='0' end="`$getRIC-configdb-response._length`" >
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.nearRTRICId' />
@@ -252,10 +261,9 @@
<parameter name='outputPath' value='tmp.gNBId' />
<parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBId'`" />
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.ranNFNSSIListEntry' />
- <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].ranNFNSSIList[0]'`" />
- </execute>
+ <set>
+ <parameter name='tmp.ranNFNSSIListEntry' value='`$tmp.payload.RANNFNSSIId`'/>
+ </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
<parameter name="level" value="info" />
@@ -839,7 +847,7 @@
<parameter name="field2" value="`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellCU.url`"/>
<parameter name="field3" value="`$tmp.mcc`"/>
<parameter name="field4" value="`$tmp.mnc`"/>
- <parameter name="field5" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
+ <parameter name="field5" value="`$tmp.payload.sNSSAI`"/>
<parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
<parameter name="field7" value="`$tmp.dLThptPerSlice`"/>
</record>
@@ -1697,7 +1705,7 @@
<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />
</set>
<set>
- <parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />
+ <parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />
</set>
<set>
<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />
@@ -1757,10 +1765,9 @@
<parameter name='outputPath' value='tmp.nFType' />
<parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].nFType'`" />
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.pLMNId' />
- <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].pLMNId'`" />
- </execute>
+ <set>
+ <parameter name="tmp.pLMNId" value="`$tmp.payload.pLMNId`"/>
+ </set>
</block>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
@@ -2413,8 +2420,25 @@
</block>
</for>
<block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
<set>
- <parameter name="tmp.status" value="`$error-code`"/>
<parameter name="tmp.reason" value="`$error-message`"/>
<parameter name="tmp.requestID" value="`$instantiate-r-a-n-slice-input.common-header.request-id `"/>
<parameter name="tmp.action" value="`$instantiate-r-a-n-slice-input.action`"/>
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml
index e3e7955a..82d590c8 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml
@@ -4,15 +4,6 @@
<method rpc='instantiateRANSliceModifyAllocate' mode='sync'>
<block atomic='true'>
<block atomic='true'>
- <set>
- <parameter name='tmp.payload.globalCustomerId' value='`$payloadJson.input.globalCustomerId`'/>
- </set>
- <set>
- <parameter name='tmp.serviceType' value='`$payloadJson.input.serviceType`'/>
- </set>
- <set>
- <parameter name='tmp.sNSSAI' value='`$tmp.payload.sNSSAI`'/>
- </set>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
<parameter name="source" value="`$prop.restapi.configdb.getNearRTRICByNSSI`"/>
<parameter name="outputPath" value="tmp.configdb.getNearRTRICByNSSI.url"/>
@@ -41,13 +32,30 @@
<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>
</set>
<block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
<set>
<parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
<parameter name="tmp.reason" value="`$error-message`"/>
<parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
<parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
</set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
<parameter name="level" value="info" />
@@ -67,6 +75,8 @@
<parameter name='format' value='json' />
<parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -104,180 +114,20 @@
</outcome>
</execute>
</block>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.configdb.getplmn`"/>
- <parameter name="outputPath" value="tmp.configdb.getPLMNId.url"/>
- <parameter name="target" value="{sliceProfileId}"/>
- <parameter name="replacement" value="`$tmp.payload.sliceProfileId`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Get PLMN from SliceProfileId URL: "/>
- <parameter name="field2" value="`$tmp.configdb.getPLMNId.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getPLMNId.url`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="getPLMN-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Obtained PLMNId info from ConfigDB"/>
- <parameter name="field2" value="`$getPLMN-configdb-response`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
- </block>
- </outcome>
- <outcome value='failure'>
- <block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.pLMNId' value='`$getPLMN-configdb-response.plmnId`'/>
- </set>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$tmp.pLMNId`" />
- <parameter name="result" value="tmp.mcc"/>
- <parameter name="begin-index" value="0" />
- <parameter name="end-index" value="3" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$tmp.pLMNId`" />
- <parameter name="result" value="tmp.mnc"/>
- <parameter name="begin-index" value="4" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="`$tmp.pLMNId`"/>
- <parameter name="field2" value="`$tmp.mcc`"/>
- <parameter name="field3" value="`$tmp.mnc`"/>
- </record>
- </block>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.aai.fetchSliceProfile`"/>
- <parameter name="outputPath" value="tmp.aai.fetchSliceProfile.url"/>
- <parameter name="target" value="{global-customer-id}"/>
- <parameter name="replacement" value="`$tmp.payload.globalCustomerId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.aai.fetchSliceProfile.url`"/>
- <parameter name="outputPath" value="tmp.aai.fetchSliceProfile.url"/>
- <parameter name="target" value="{service-type}"/>
- <parameter name="replacement" value="`$tmp.serviceType`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.aai.fetchSliceProfile.url`"/>
- <parameter name="outputPath" value="tmp.aai.fetchSliceProfile.url"/>
- <parameter name="target" value="{service-instance-id}"/>
- <parameter name="replacement" value="`$tmp.payload.RANNFNSSIId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.aai.fetchSliceProfile.url`"/>
- <parameter name="outputPath" value="tmp.aai.fetchSliceProfile.url"/>
- <parameter name="target" value="{profile-id}"/>
- <parameter name="replacement" value="`$tmp.payload.sliceProfileId`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Get coverageAreaTAList URL: "/>
- <parameter name="field2" value="`$tmp.aai.fetchSliceProfile.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.org.onap.ccsdk.sli.adaptors.aai.uri + $tmp.aai.fetchSliceProfile.url`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="get-coverageAreaTAList-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Retrieved coverageAreaTAList"/>
- <parameter name="field2" value="`$get-coverageAreaTAList-response.coverage-area-TA-list`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
- <set>
- <parameter name='tmp.aai.coverageAreaTAList' value="`$get-coverageAreaTAList-response.coverage-area-TA-list`"/>
- </set>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.aai.coverageAreaTAList`"/>
- <parameter name="outputPath" value="tmp.aai.coverageAreaTAList"/>
- <parameter name="target" value="["/>
- <parameter name="replacement" value=""/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.aai.coverageAreaTAList`"/>
- <parameter name="outputPath" value="tmp.aai.coverageAreaTAList"/>
- <parameter name="target" value="]"/>
- <parameter name="replacement" value=""/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
- <parameter name="original_string" value="`$tmp.aai.coverageAreaTAList`" />
- <parameter name="regex" value=","/>
- <parameter name="ctx_memory_result_key" value="tmp.coverageAreaTAList"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
- </block>
- </outcome>
- <outcome value='failure'>
- <block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error Getting Info from AAI. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.trackingAreaListEntries' value="`$tmp.coverageAreaTAList_length`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Tracking Area size"/>
- <parameter name="field2" value="`$tmp.trackingAreaListEntries`"/>
- </record>
- </block>
+ <set>
+ <parameter name='tmp.trackingAreaListEntries' value="`$payloadJson.input.sliceProfile.coverageAreaTAList_length`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Tracking Area size"/>
+ <parameter name="field2" value="`$tmp.trackingAreaListEntries`"/>
+ </record>
<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.payload.trackingArea' />
- <parameter name='source' value="`'tmp.coverageAreaTAList['+ $ta+']'`" />
+ <parameter name='source' value="`'payloadJson.input.sliceProfile.coverageAreaTAList['+ $ta+']'`" />
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
@@ -346,29 +196,8 @@
</outcome>
</execute>
</block>
- </block>
- </for>
- <for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.nearRTRICId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].nearRTRICId'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.gNBId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`" />
- </execute>
<set>
- <parameter name='tmp.ranNFNSSIListEntry' value="`$payloadJson.input.RANNFNSSIId`"/>
- <parameter name='tmp.payload.pLMNId' value="`$tmp.pLMNId`"/>
- </set>
- <set>
- <parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />
- <parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />
- <parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />
- <parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />
- <parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />
- <parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNFNSSIRIC-configdb-response._length`' />
+ <parameter name='tmp.RICEntries' value="`$getNFNSSIRIC-configdb-response._length`"/>
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
@@ -388,401 +217,312 @@
<parameter name="field13" value="NSSAI"/>
<parameter name="field14" value="`$tmp.payload.sNSSAI`"/>
</record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updatenearRTRIC.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="modify-allocate-nearRTRIC-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Updated NearRT RIC info in ConfigDB"/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.CUCPList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Number of CUCP List Entries "/>
- <parameter name="field2" value="`$tmp.CUCPList_length`"/>
- <parameter name="field3" value="for the NearRTRIC"/>
- <parameter name="field4" value="`$tmp.nearRTRICId`"/>
- </record>
- <for index='idz' start='0' end='`$tmp.CUCPList_length`'>
+ <for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.CUCPName' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`" />
+ <parameter name='outputPath' value='tmp.nearRTRICId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].nearRTRICId'`" />
</execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.gNBId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.ranNFNSSIListEntry' value="`$payloadJson.input.RANNFNSSIId`"/>
+ </set>
+ <set>
+ <parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />
+ <parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />
+ <parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />
+ <parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />
+ <parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />
+ <parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNFNSSIRIC-configdb-response._length`' />
+ </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="CUCPName "/>
- <parameter name="field2" value="`$tmp.CUCPName`"/>
+ <parameter name="field1" value="Calculated uLThptPerSlice for nearRTRIC "/>
+ <parameter name="field2" value="`$tmp.nearRTRIC.uLThptPerSlice`"/>
+ <parameter name="field3" value="dLThptPerSlice for nearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRIC.dLThptPerSlice`"/>
+ <parameter name="field5" value="maxNumberOfConn for nearRTRIC"/>
+ <parameter name="field6" value="`$tmp.nearRTRIC.maxNumberOfConns`"/>
+ <parameter name="field7" value="nearRTRICId"/>
+ <parameter name="field8" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBId`"/>
+ <parameter name="field11" value="RANNFNSSI"/>
+ <parameter name="field12" value="`$tmp.ranNFNSSIListEntry`"/>
+ <parameter name="field13" value="NSSAI"/>
+ <parameter name="field14" value="`$tmp.payload.sNSSAI`"/>
</record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updatenearRTRIC.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="modify-allocate-nearRTRIC-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Updated NearRT RIC info in ConfigDB"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCUList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`" />
+ <parameter name='outputPath' value='tmp.CUCPList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`" />
</execute>
- <for index='idcu' start='0' end='`$tmp.cellCUList_length`' >
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Number of CUCP List Entries "/>
+ <parameter name="field2" value="`$tmp.CUCPList_length`"/>
+ <parameter name="field3" value="for the NearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRICId`"/>
+ </record>
+ <for index='idz' start='0' end='`$tmp.CUCPList_length`'>
<block atomic='true'>
- <for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.CUCPName' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUCPName "/>
+ <parameter name="field2" value="`$tmp.CUCPName`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCUList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`" />
+ </execute>
+ <for index='idcu' start='0' end='`$tmp.cellCUList_length`' >
<block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCULocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCU2' />
- <parameter name='source' value="`'getListofCells-configdb-response.[' + $id-ta + ']'`" />
- </execute>
- <switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>
- <outcome value='true'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="`$tmp.cellCULocalId`"/>
- <parameter name="field2" value="CellCU is applicable for the NSSAI "/>
- </record>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idGNBCUCPFunction}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idNRCellCU}"/>
- <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{mcc}"/>
- <parameter name="replacement" value="`$tmp.mcc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="patch cellCU NSSAI parameters"/>
- <parameter name="field2" value="`$tmp.nearRTRICId`"/>
- <parameter name="field3" value="`$tmp.CUCPName`"/>
- <parameter name="field4" value="`$tmp.cellCULocalId`"/>
- <parameter name="field5" value="`$tmp.mcc`"/>
- <parameter name="field6" value="`$tmp.mnc`"/>
- <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="patch-cellCU-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>
- </return>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellCU PLMNInfo List"/>
- </record>
- </block>
- </outcome>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
- <parameter name='prefixKey' value='tmp.CUCPList.response' />
- <parameter name='keyName' value='gNBCUName' />
- <parameter name='keyValue' value="`$tmp.CUCPName`"/>
- </execute>
- <block atomic='true'>
- <set>
- <parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />
- </set>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />
- </set>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="RRMPolicyRatio temp1 - "/>
- <parameter name="field2" value="`$tmp.maxNumberOfConnsPercellCU`"/>
- <parameter name="field3" value="RRMPolicyRatio temp2 - "/>
- <parameter name="field4" value="`$tmp.rRMPolicyDedicatedRatio.CellCU1`"/>
- <parameter name="field5" value="RRMPolicyRatio for this profile is - "/>
- <parameter name="field6" value="`$tmp.rRMPolicyDedicatedRatio_SliceProfile`"/>
- </record>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
+ <for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCU2' />
+ <parameter name='source' value="`'getListofCells-configdb-response.[' + $id-ta + ']'`" />
+ </execute>
+ <switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="`$tmp.cellCULocalId`"/>
+ <parameter name="field2" value="CellCU is applicable for the NSSAI "/>
+ </record>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
<parameter name="target" value="{idNearRTRIC}"/>
<parameter name="replacement" value="`$tmp.nearRTRICId`"/>
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{idGNBCUCPFunction}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{idNRCellCU}"/>
- <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="get-rrmpolicyratio-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
- </return>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idGNBCUCPFunction}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNRCellCU}"/>
+ <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mcc}"/>
+ <parameter name="replacement" value="`$tmp.mcc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="patch cellCU NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.CUCPName`"/>
+ <parameter name="field4" value="`$tmp.cellCULocalId`"/>
+ <parameter name="field5" value="`$tmp.mcc`"/>
+ <parameter name="field6" value="`$tmp.mnc`"/>
+ <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-cellCU-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
<block atomic='true'>
<set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>
</set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
+ <parameter name="field1" value="Successfully Patched - cellCU PLMNInfo List"/>
</record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
</block>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
- </block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.rrmPolicyRatioList_length' value='`$get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="RRMPolicyRatioList size"/>
- <parameter name="field2" value="`$tmp.rrmPolicyRatioList_length`"/>
- </record>
- <for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
+ <parameter name='prefixKey' value='tmp.CUCPList.response' />
+ <parameter name='keyName' value='gNBCUName' />
+ <parameter name='keyValue' value="`$tmp.CUCPName`"/>
+ </execute>
<block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatiocellCU_old' />
- <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
- </execute>
<set>
- <parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_new' value='`$tmp.rrmPolicyDedicatedRatiocellCU_old + $tmp.rRMPolicyDedicatedRatio_SliceProfile`' />
+ <parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Existing RRMPolicyRatio for CellCU is - "/>
- <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatiocellCU_old`"/>
- <parameter name="field3" value="Updated RRMPolicyRatio for CellCU is - "/>
- <parameter name="field4" value="`$tmp.rrmPolicyDedicatedRatio_CellCU_new`"/>
+ <parameter name="field1" value="RRMPolicyRatio temp1 - "/>
+ <parameter name="field2" value="`$tmp.maxNumberOfConnsPercellCU`"/>
+ <parameter name="field3" value="RRMPolicyRatio temp2 - "/>
+ <parameter name="field4" value="`$tmp.rRMPolicyDedicatedRatio.CellCU1`"/>
+ <parameter name="field5" value="RRMPolicyRatio for this profile is - "/>
+ <parameter name="field6" value="`$tmp.rRMPolicyDedicatedRatio_SliceProfile`"/>
</record>
<switch test='`$prop.ransim-mounted`'>
<outcome value='false'>
@@ -822,65 +562,52 @@
<parameter name="target" value="{idNRCellCU}"/>
<parameter name="replacement" value="`$tmp.cellCULocalId`"/>
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyMembers' />
- <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
- <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`" />
- </execute>
- <set>
- <parameter name='tmp.RRMPolicyMember_id' value='`$tmp.rrmPolicyMembers+1`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="RRMPolicyRatio_id is - "/>
- <parameter name="field2" value="`$tmp.RRMPolicyRatio_id`"/>
- <parameter name="field3" value="RRMPolicyMember_id - "/>
- <parameter name="field4" value="`$tmp.RRMPolicyMember_id`"/>
- <parameter name="field5" value="RRMPolicyRatio update URL is - "/>
- <parameter name="field6" value="`$tmp.getRRMPolicyRatio.url`"/>
- </record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
<parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio.url`"/>
<parameter name="restapiUser" value="`$prop.controller.user`" />
<parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="patch-cellCU-RRMPolicyRatio-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="get-rrmpolicyratio-response"/>
+ <parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellCU RRMpolicyRatio"/>
- </record>
- </block>
- </outcome>
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block atomic='true'>
<set>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
</set>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
</return>
<block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
<set>
<parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
<parameter name="tmp.reason" value="`$error-message`"/>
<parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
<parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
</set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
<parameter name="level" value="info" />
@@ -900,6 +627,8 @@
<parameter name='format' value='json' />
<parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -922,245 +651,497 @@
</block>
</block>
</outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
</execute>
- </block>
- </for>
- </block>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Config DB update"/>
- </record>
- <set>
- <parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>
- <parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>
- <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
- <parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.CUCPName`'/>
- <parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>
- <parameter name='tmp.gNBCUCPList.nFType' value='RRC Connected Users'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="cellLocalId"/>
- <parameter name="field2" value="`$tmp.cellLocalId`"/>
- <parameter name="field3" value="pLMNId"/>
- <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
- <parameter name="field5" value="maxNumberOfConns"/>
- <parameter name="field6" value="`$tmp.maxNumberOfConns`"/>
- <parameter name="field7" value="gNBCUName"/>
- <parameter name="field8" value="`$tmp.gNBCUCPList.gNBCUName`"/>
- <parameter name="field9" value="gNBId"/>
- <parameter name="field10" value="`$tmp.gNBCUCPList.gNBId`"/>
- <parameter name="field11" value="nFType"/>
- <parameter name="field12" value="`$tmp.gNBCUCPList.nFType`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updategNBCUCP`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUCP.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-gNBCUCP-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
- </return>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioList_length' value='`$get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatioList size"/>
+ <parameter name="field2" value="`$tmp.rrmPolicyRatioList_length`"/>
+ </record>
+ <for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >
<block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatiocellCU_old' />
+ <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
+ </execute>
<set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ <parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_new' value='`$tmp.rrmPolicyDedicatedRatiocellCU_old + $tmp.rRMPolicyDedicatedRatio_SliceProfile`' />
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
+ <parameter name="field1" value="Existing RRMPolicyRatio for CellCU is - "/>
+ <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatiocellCU_old`"/>
+ <parameter name="field3" value="Updated RRMPolicyRatio for CellCU is - "/>
+ <parameter name="field4" value="`$tmp.rrmPolicyDedicatedRatio_CellCU_new`"/>
</record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
</block>
</outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idGNBCUCPFunction}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idNRCellCU}"/>
+ <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyMembers' />
+ <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
+ <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.RRMPolicyMember_id' value='`$tmp.rrmPolicyMembers+1`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatio_id is - "/>
+ <parameter name="field2" value="`$tmp.RRMPolicyRatio_id`"/>
+ <parameter name="field3" value="RRMPolicyMember_id - "/>
+ <parameter name="field4" value="`$tmp.RRMPolicyMember_id`"/>
+ <parameter name="field5" value="RRMPolicyRatio update URL is - "/>
+ <parameter name="field6" value="`$tmp.getRRMPolicyRatio.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-cellCU-RRMPolicyRatio-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
<outcome value='success'>
- <block>
+ <block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
+ <parameter name="field1" value="Successfully Patched - cellCU RRMpolicyRatio"/>
</record>
</block>
</outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
</execute>
</block>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully updated ConfigDB - NRCellCU pLMNinfo "/>
- </record>
- </block>
- </outcome>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.configdb.getRRMPolicyRatio`"/>
- <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
- <parameter name="target" value="{resourceType}"/>
- <parameter name="replacement" value="RRC Connected Users"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
- <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
- <parameter name="target" value="{resourceId}"/>
- <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="get RRMPolicyby Resource URL"/>
- <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="getrrmpolicyratioinfo-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
- </block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>
- <parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>
- <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>
- <parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfo-configdb-response.rrmPolicyID`'/>
- <parameter name='tmp.resourceID' value='`$tmp.cellCULocalId`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellCU`"/>
- <parameter name="field3" value="pLMNId"/>
- <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
- <parameter name="field5" value="sNSSAI"/>
- <parameter name="field6" value="`$tmp.sNSSAI`"/>
- <parameter name="field7" value="rrmPolicyID"/>
- <parameter name="field8" value="`$prop.configDB.rrmPolicyID`"/>
- <parameter name="field9" value="resourceID"/>
- <parameter name="field10" value="`$tmp.resourceID`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-gNBCUCP-rrmpolicy-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
- </return>
+ </for>
+ </block>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Config DB update"/>
+ </record>
+ <set>
+ <parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
+ <parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.CUCPName`'/>
+ <parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>
+ <parameter name='tmp.gNBCUCPList.nFType' value='RRC Connected Users'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="cellLocalId"/>
+ <parameter name="field2" value="`$tmp.cellLocalId`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field5" value="maxNumberOfConns"/>
+ <parameter name="field6" value="`$tmp.maxNumberOfConns`"/>
+ <parameter name="field7" value="gNBCUName"/>
+ <parameter name="field8" value="`$tmp.gNBCUCPList.gNBCUName`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBCUCPList.gNBId`"/>
+ <parameter name="field11" value="nFType"/>
+ <parameter name="field12" value="`$tmp.gNBCUCPList.nFType`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updategNBCUCP`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUCP.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="update-gNBCUCP-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated ConfigDB - NRCellCU pLMNinfo "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.configdb.getRRMPolicyRatio`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceType}"/>
+ <parameter name="replacement" value="RRC Connected Users"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceId}"/>
+ <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="get RRMPolicyby Resource URL"/>
+ <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getrrmpolicyratioinfo-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioConfigDB_length' value='`$getrrmpolicyratioinfo-configdb-response._length`'/>
+ </set>
+ <for index='idcu-rrm1' start='0' end='`$tmp.rrmPolicyRatioConfigDB_length`' >
<block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='prop.configDB.rrmPolicyID' />
+ <parameter name='source' value="`'getrrmpolicyratioinfo-configdb-response.['+$idcu-rrm1+'].rrmPolicyID'`" />
+ </execute>
<set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>
+ <parameter name='tmp.resourceID' value='`$tmp.cellCULocalId`'/>
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
+ <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellCU`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field5" value="sNSSAI"/>
+ <parameter name="field6" value="`$tmp.payload.sNSSAI`"/>
+ <parameter name="field7" value="rrmPolicyID"/>
+ <parameter name="field8" value="`$prop.configDB.rrmPolicyID`"/>
+ <parameter name="field9" value="resourceID"/>
+ <parameter name="field10" value="`$tmp.resourceID`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="update-gNBCUCP-rrmpolicy-configdb-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
+ <parameter name='accept' value='application/json' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
- <block>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>
+ </set>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
</return>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
</block>
</outcome>
<outcome value='success'>
@@ -1168,356 +1149,55 @@
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
+ <parameter name="field1" value="Successfully updated ConfigDB - NRCellCU RRMPolicyRatio "/>
</record>
</block>
</outcome>
</execute>
</block>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully updated ConfigDB - NRCellCU RRMPolicyRatio "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- </switch>
+ </for>
+ </block>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
</block>
</for>
</block>
</for>
</block>
- </for>
- </block>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.CUUPList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Number of CUUP List Entries "/>
- <parameter name="field2" value="`$tmp.CUUPList_length`"/>
- <parameter name="field3" value="for the NearRTRIC"/>
- <parameter name="field4" value="`$tmp.nearRTRICId`"/>
- </record>
- <for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.idGNBCUUPFunction' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`" />
+ <parameter name='outputPath' value='tmp.CUUPList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`" />
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="idGNBCUUPFunction "/>
- <parameter name="field2" value="`$tmp.idGNBCUUPFunction`"/>
+ <parameter name="field1" value="Number of CUUP List Entries "/>
+ <parameter name="field2" value="`$tmp.CUUPList_length`"/>
+ <parameter name="field3" value="for the NearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRICId`"/>
</record>
- <block atomic='true'>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idGNBCUUPFunction}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mcc}"/>
- <parameter name="replacement" value="`$tmp.mcc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="patch CUUP NSSAI parameters"/>
- <parameter name="field2" value="`$tmp.nearRTRICId`"/>
- <parameter name="field3" value="`$tmp.idGNBCUUPFunction`"/>
- <parameter name="field4" value="`$tmp.mcc`"/>
- <parameter name="field5" value="`$tmp.mnc`"/>
- <parameter name="field6" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="patch-gNBCUUP-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='failure'>
- <block atomic='true'>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
- </record>
- </block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />
- </set>
- <set>
- <parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />
- </set>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />
- </set>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="RRMPolicyRatio for this profile is - "/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio-CUUP`"/>
- </record>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{idGNBCUUPFunction}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
- <parameter name='prefixKey' value='tmp.CUUPList.response' />
- <parameter name='keyName' value='gNBCUUPId' />
- <parameter name='keyValue' value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="get-rrmpolicyratio-cuup-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in fetching RRMPolicyRatio. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
- </block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.rrmPolicyRatioList_CUUP_length' value='`$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="CUUP - RRMPolicyRatioList size"/>
- <parameter name="field2" value="`$tmp.rrmPolicyRatioList_CUUP_length`"/>
- </record>
- <for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >
+ <for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.idGNBCUUPFunction' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="idGNBCUUPFunction "/>
+ <parameter name="field2" value="`$tmp.idGNBCUUPFunction`"/>
+ </record>
<block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_CUUP' />
- <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
- </execute>
- <set>
- <parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value="`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`" />
- </set>
<switch test='`$prop.ransim-mounted`'>
<outcome value='false'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
<parameter name="target" value="{idNearRTRIC}"/>
<parameter name="replacement" value="`$tmp.nearRTRICId`"/>
</execute>
@@ -1525,14 +1205,14 @@
<outcome value='true'>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
<parameter name="target" value="{idNearRTRIC}"/>
<parameter name="replacement" value="`$tmp.nearRTRICId`"/>
</execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
<parameter name="target" value="{mountName}"/>
<parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
</execute>
@@ -1540,65 +1220,224 @@
</outcome>
</switch>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
<parameter name="target" value="{idGNBCUUPFunction}"/>
<parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
- <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`" />
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mcc}"/>
+ <parameter name="replacement" value="`$tmp.mcc`"/>
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyMembers-CUUP' />
- <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
</execute>
- <set>
- <parameter name='tmp.RRMPolicyMember_id' value="`$tmp.rrmPolicyMembers-CUUP+1`" />
- </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Updated RRMPolicyRatio for CUUP is - "/>
- <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`"/>
- <parameter name="field3" value="RRMPolicyRatio_id is - "/>
- <parameter name="field4" value="`$tmp.RRMPolicyRatio_id`"/>
- <parameter name="field5" value="RRMPolicyMember_id CUUP is - "/>
- <parameter name="field6" value="`$tmp.RRMPolicyMember_id`"/>
- <parameter name="field7" value="Existing RRMPolicyMembers Length"/>
- <parameter name="field8" value="`$tmp.rrmPolicyMembers-CUUP`"/>
- <parameter name="field9" value="Update RRMPolicyRatio URL - "/>
- <parameter name="field10" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="field1" value="patch CUUP NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.idGNBCUUPFunction`"/>
+ <parameter name="field4" value="`$tmp.mcc`"/>
+ <parameter name="field5" value="`$tmp.mnc`"/>
+ <parameter name="field6" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`"/>
<parameter name="restapiUser" value="`$prop.controller.user`" />
<parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
<parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="patch-CUUP-RRMPolicyRatio-response"/>
+ <parameter name="responsePrefix" value="patch-gNBCUUP-PLMNInfoList-response"/>
<parameter name='contentType' value='application/yang.patch+json' />
<parameter name='accept' value='application/yang.patch-status+json'/>
<parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
<outcome value='success'>
<block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellCU RRMpolicyRatio"/>
+ <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
</record>
</block>
</outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />
+ </set>
+ <set>
+ <parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatio for this profile is - "/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio-CUUP`"/>
+ </record>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idGNBCUUPFunction}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
+ <parameter name='prefixKey' value='tmp.CUUPList.response' />
+ <parameter name='keyName' value='gNBCUUPId' />
+ <parameter name='keyValue' value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="get-rrmpolicyratio-cuup-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block atomic='true'>
<block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
<set>
<parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
<parameter name="tmp.reason" value="`$error-message`"/>
<parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
<parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
</set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
<parameter name="level" value="info" />
@@ -1618,6 +1457,8 @@
<parameter name='format' value='json' />
<parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -1640,240 +1481,490 @@
</block>
<set>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
</set>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error in fetching RRMPolicyRatio. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
- </execute>
- </block>
- </for>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Config DB update"/>
- </record>
- <set>
- <parameter name='tmp.gNBCUUPList.gNBCUUPId' value='`$tmp.idGNBCUUPFunction`'/>
- <parameter name='tmp.gNBCUUPList.gNBId' value='`$tmp.gNBId`'/>
- <parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>
- <parameter name='payloadJson.input.sliceProfile.sNSSAI' value='`$tmp.sNSSAI`'/>
- <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="sNSSAI"/>
- <parameter name="field2" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
- <parameter name="field3" value="maxNumberOfConns"/>
- <parameter name="field4" value="`$tmp.maxNumberOfConns`"/>
- <parameter name="field5" value="gNBCUUPId"/>
- <parameter name="field6" value="`$tmp.gNBCUUPList.gNBCUUPId`"/>
- <parameter name="field7" value="pLMNId"/>
- <parameter name="field8" value="`$tmp.payload.pLMNId`"/>
- <parameter name="field9" value="gNBId"/>
- <parameter name="field10" value="`$tmp.gNBCUUPList.gNBId`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUUP.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-gNBCUUP-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
+ <outcome value='success'>
<block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
</record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
</execute>
</block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioList_CUUP_length' value='`$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUUP - RRMPolicyRatioList size"/>
+ <parameter name="field2" value="`$tmp.rrmPolicyRatioList_CUUP_length`"/>
+ </record>
+ <for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_CUUP' />
+ <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
+ </execute>
<set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating Config DB - CUUP. Aborting RPC executiopn'/>
+ <parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value="`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`" />
</set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating CUUP-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully updated ConfigDB - NRCellCU pLMNinfo "/>
- </record>
- </block>
- </outcome>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.configdb.getRRMPolicyRatio`"/>
- <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
- <parameter name="target" value="{resourceType}"/>
- <parameter name="replacement" value="DRB"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
- <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
- <parameter name="target" value="{resourceId}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="get RRMPolicyby Resource URL"/>
- <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="getrrmpolicyratioinfo-cuup-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <outcome value='failure'>
- <block atomic='true'>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idGNBCUUPFunction}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
+ <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyMembers-CUUP' />
+ <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
+ </execute>
<set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ <parameter name='tmp.RRMPolicyMember_id' value="`$tmp.rrmPolicyMembers-CUUP+1`" />
</set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ <parameter name="field1" value="Updated RRMPolicyRatio for CUUP is - "/>
+ <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`"/>
+ <parameter name="field3" value="RRMPolicyRatio_id is - "/>
+ <parameter name="field4" value="`$tmp.RRMPolicyRatio_id`"/>
+ <parameter name="field5" value="RRMPolicyMember_id CUUP is - "/>
+ <parameter name="field6" value="`$tmp.RRMPolicyMember_id`"/>
+ <parameter name="field7" value="Existing RRMPolicyMembers Length"/>
+ <parameter name="field8" value="`$tmp.rrmPolicyMembers-CUUP`"/>
+ <parameter name="field9" value="Update RRMPolicyRatio URL - "/>
+ <parameter name="field10" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
</record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-CUUP-RRMPolicyRatio-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellCU RRMpolicyRatio"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
</execute>
</block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>
- <parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>
- <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>
- <parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfo-cuup-configdb-response.rrmPolicyID`'/>
- <parameter name='tmp.resourceID' value='`$tmp.idGNBCUUPFunction`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CUUP`"/>
- <parameter name="field3" value="pLMNId"/>
- <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
- <parameter name="field5" value="sNSSAI"/>
- <parameter name="field6" value="`$tmp.sNSSAI`"/>
- <parameter name="field7" value="rrmPolicyID"/>
- <parameter name="field8" value="`$prop.configDB.rrmPolicyID`"/>
- <parameter name="field9" value="resourceID"/>
- <parameter name="field10" value="`$tmp.resourceID`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUUP.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-gNBCUUP-rrmpolicy-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
+ </for>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Config DB update"/>
+ </record>
+ <set>
+ <parameter name='tmp.gNBCUUPList.gNBCUUPId' value='`$tmp.idGNBCUUPFunction`'/>
+ <parameter name='tmp.gNBCUUPList.gNBId' value='`$tmp.gNBId`'/>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI"/>
+ <parameter name="field2" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
+ <parameter name="field3" value="maxNumberOfConns"/>
+ <parameter name="field4" value="`$tmp.maxNumberOfConns`"/>
+ <parameter name="field5" value="gNBCUUPId"/>
+ <parameter name="field6" value="`$tmp.gNBCUUPList.gNBCUUPId`"/>
+ <parameter name="field7" value="pLMNId"/>
+ <parameter name="field8" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBCUUPList.gNBId`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUUP.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="update-gNBCUUP-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in updating Config DB - CUUP. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating CUUP-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated ConfigDB - NRCellCU pLMNinfo "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.configdb.getRRMPolicyRatio`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceType}"/>
+ <parameter name="replacement" value="DRB"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceId}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="get RRMPolicyby Resource URL"/>
+ <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getrrmpolicyratioinfo-cuup-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatio_configdb_length' value='`$getrrmpolicyratioinfo-cuup-configdb-response._length`'/>
+ </set>
+ <for index='idcuup-rrm1' start='0' end='`$tmp.rrmPolicyRatio_configdb_length`' >
<block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='prop.configDB.rrmPolicyID' />
+ <parameter name='source' value="`'getrrmpolicyratioinfo-cuup-configdb-response.['+$idcuup-rrm1+'].rrmPolicyID'`" />
+ </execute>
<set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>
+ <parameter name='tmp.resourceID' value='`$tmp.idGNBCUUPFunction`'/>
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
+ <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CUUP`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field5" value="sNSSAI"/>
+ <parameter name="field6" value="`$tmp.sNSSAI`"/>
+ <parameter name="field7" value="rrmPolicyID"/>
+ <parameter name="field8" value="`$prop.configDB.rrmPolicyID`"/>
+ <parameter name="field9" value="resourceID"/>
+ <parameter name="field10" value="`$tmp.resourceID`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUUP.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="update-gNBCUUP-rrmpolicy-configdb-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
+ <parameter name='accept' value='application/json' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
- <block>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>
+ </set>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
@@ -1882,439 +1973,293 @@
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
+ <parameter name="field1" value="Successfully updated ConfigDB - CUUP RRMPolicyRatio "/>
</record>
</block>
</outcome>
</execute>
</block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully updated ConfigDB - CUUP RRMPolicyRatio "/>
- </record>
- </block>
- </outcome>
- </execute>
+ </for>
+ </block>
+ </block>
</block>
- </block>
+ </for>
</block>
- </for>
- </block>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.DUList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Number of DU List Entries "/>
- <parameter name="field2" value="`$tmp.DUList_length`"/>
- <parameter name="field3" value="for the NearRTRIC"/>
- <parameter name="field4" value="`$tmp.nearRTRICId`"/>
- </record>
- <for index='id-du' start='0' end='`$tmp.DUList_length`'>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.GNBDUId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`" />
+ <parameter name='outputPath' value='tmp.DUList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`" />
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="GNBDUId "/>
- <parameter name="field2" value="`$tmp.GNBDUId`"/>
+ <parameter name="field1" value="Number of DU List Entries "/>
+ <parameter name="field2" value="`$tmp.DUList_length`"/>
+ <parameter name="field3" value="for the NearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRICId`"/>
</record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellDUList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`" />
- </execute>
- <for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >
+ <for index='id-du' start='0' end='`$tmp.DUList_length`'>
<block atomic='true'>
- <for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.GNBDUId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="GNBDUId "/>
+ <parameter name="field2" value="`$tmp.GNBDUId`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellDUList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`" />
+ </execute>
+ <for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >
<block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCULocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCU2' />
- <parameter name='source' value="`'getListofCells-configdb-response.[' + $id-ta + ']'`" />
- </execute>
- <switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>
- <outcome value='true'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="CellDU is applicable for the NSSAI "/>
- </record>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellDULocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idGNBDUFunction}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idNRCellDU}"/>
- <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{mcc}"/>
- <parameter name="replacement" value="`$tmp.mcc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="patch cellCU NSSAI parameters"/>
- <parameter name="field2" value="`$tmp.nearRTRICId`"/>
- <parameter name="field3" value="`$tmp.GNBDUId`"/>
- <parameter name="field4" value="`$tmp.cellDULocalId`"/>
- <parameter name="field5" value="`$tmp.mcc`"/>
- <parameter name="field6" value="`$tmp.mnc`"/>
- <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="patch-cellDU-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='failure'>
- <block atomic='true'>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellDU PLMNInfo List"/>
- </record>
- </block>
- </outcome>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
- <parameter name='prefixKey' value='tmp.DUList.response' />
- <parameter name='keyName' value='gNBDUId' />
- <parameter name='keyValue' value="`$tmp.GNBDUId`"/>
- </execute>
- <block atomic='true'>
+ <for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCU2' />
+ <parameter name='source' value="`'getListofCells-configdb-response.[' + $id-ta + ']'`" />
+ </execute>
+ <switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>
+ <outcome value='true'>
<block atomic='true'>
- <set>
- <parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />
- </set>
- <set>
- <parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />
- </set>
- <set>
- <parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />
- </set>
- <set>
- <parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />
- </set>
- <set>
- <parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />
- </set>
- <set>
- <parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />
- </set>
- <set>
- <parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />
- </set>
- <set>
- <parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />
- </set>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />
- </set>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />
- </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="rRMPolicyDedicatedRatio for CellDU "/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
- <parameter name="field3" value="tmp.nearRTRIC.trafficCapacity1 "/>
- <parameter name="field4" value="`$tmp.nearRTRIC.trafficCapacity1`"/>
- <parameter name="field5" value="tmp.nearRTRIC.trafficCapacity "/>
- <parameter name="field6" value="`$tmp.nearRTRIC.trafficCapacity`"/>
- <parameter name="field7" value="tmp.nearRTRIC.trafficCapacityBPS"/>
- <parameter name="field8" value="`$tmp.nearRTRIC.trafficCapacityBPS`"/>
- <parameter name="field9" value="tmp.nrcelldu.totalPRBForSNSSAI "/>
- <parameter name="field10" value="`$tmp.nrcelldu.totalPRBForSNSSAI`"/>
- <parameter name="field11" value="tmp.nrcelldu.PRBPerImpactedCell "/>
- <parameter name="field12" value="`$tmp.nrcelldu.PRBPerImpactedCell`"/>
- <parameter name="field13" value="tmp.rRMPolicyDedicatedRatio.CellDU1 "/>
- <parameter name="field14" value="`$tmp.rRMPolicyDedicatedRatio.CellDU1`"/>
+ <parameter name="field1" value="CellDU is applicable for the NSSAI "/>
</record>
- </block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Calculated RRMPolicyRatio"/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
- </record>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
<parameter name="target" value="{idNearRTRIC}"/>
<parameter name="replacement" value="`$tmp.nearRTRICId`"/>
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{idGNBDUFunction}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{idNRCellDU}"/>
- <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="idNRCellDU"/>
- <parameter name="field2" value="`$tmp.cellDULocalId`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="get-rrmpolicyratio-du-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellDULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idGNBDUFunction}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mcc}"/>
+ <parameter name="replacement" value="`$tmp.mcc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="patch cellCU NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.GNBDUId`"/>
+ <parameter name="field4" value="`$tmp.cellDULocalId`"/>
+ <parameter name="field5" value="`$tmp.mcc`"/>
+ <parameter name="field6" value="`$tmp.mnc`"/>
+ <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-cellDU-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
<block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
<set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>
</set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
+ <parameter name="field1" value="Successfully Patched - cellDU PLMNInfo List"/>
</record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
</block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
+ <parameter name='prefixKey' value='tmp.DUList.response' />
+ <parameter name='keyName' value='gNBDUId' />
+ <parameter name='keyValue' value="`$tmp.GNBDUId`"/>
+ </execute>
+ <block atomic='true'>
+ <block atomic='true'>
<set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ <parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />
+ </set>
+ <set>
+ <parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />
+ </set>
+ <set>
+ <parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />
+ </set>
+ <set>
+ <parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />
+ </set>
+ <set>
+ <parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />
+ </set>
+ <set>
+ <parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />
+ </set>
+ <set>
+ <parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />
+ </set>
+ <set>
+ <parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />
</set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ <parameter name="field1" value="rRMPolicyDedicatedRatio for CellDU "/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
+ <parameter name="field3" value="tmp.nearRTRIC.trafficCapacity1 "/>
+ <parameter name="field4" value="`$tmp.nearRTRIC.trafficCapacity1`"/>
+ <parameter name="field5" value="tmp.nearRTRIC.trafficCapacity "/>
+ <parameter name="field6" value="`$tmp.nearRTRIC.trafficCapacity`"/>
+ <parameter name="field7" value="tmp.nearRTRIC.trafficCapacityBPS"/>
+ <parameter name="field8" value="`$tmp.nearRTRIC.trafficCapacityBPS`"/>
+ <parameter name="field9" value="tmp.nrcelldu.totalPRBForSNSSAI "/>
+ <parameter name="field10" value="`$tmp.nrcelldu.totalPRBForSNSSAI`"/>
+ <parameter name="field11" value="tmp.nrcelldu.PRBPerImpactedCell "/>
+ <parameter name="field12" value="`$tmp.nrcelldu.PRBPerImpactedCell`"/>
+ <parameter name="field13" value="tmp.rRMPolicyDedicatedRatio.CellDU1 "/>
+ <parameter name="field14" value="`$tmp.rRMPolicyDedicatedRatio.CellDU1`"/>
</record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
</block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="RRMPolicyRatioList size"/>
- <parameter name="field2" value="`$tmp.rrmPolicyRatioDUList_length`"/>
- </record>
- <for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellDU-old' />
- <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
- </execute>
- <set>
- <parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value="`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`" />
- </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Calculated RRMPolicyRatio"/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
+ </record>
<switch test='`$prop.ransim-mounted`'>
<outcome value='false'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
@@ -2341,10 +2286,6 @@
</block>
</outcome>
</switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
- <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`" />
- </execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
<parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
<parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
@@ -2357,52 +2298,49 @@
<parameter name="target" value="{idNRCellDU}"/>
<parameter name="replacement" value="`$tmp.cellDULocalId`"/>
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.RRMPolicyMembersDU_Length' />
- <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
- </execute>
- <set>
- <parameter name='tmp.RRMPolicyMember_id' value="`$tmp.RRMPolicyMembersDU_Length+1`" />
- </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="RRMPolicyRatioid - "/>
- <parameter name="field2" value="`$tmp.RRMPolicyRatio_id`"/>
- <parameter name="field3" value="RRMPolicyMemberid- "/>
- <parameter name="field4" value="`$tmp.RRMPolicyMember_id`"/>
- <parameter name="field5" value="Updated RRMPolicyRatio for CellDU is - "/>
- <parameter name="field6" value="`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`"/>
+ <parameter name="field1" value="idNRCellDU"/>
+ <parameter name="field2" value="`$tmp.cellDULocalId`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
<parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`"/>
<parameter name="restapiUser" value="`$prop.controller.user`" />
<parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="patch-cellDU-RRMPolicyRatio-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="get-rrmpolicyratio-du-response"/>
+ <parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellDU RRMpolicyRatio"/>
- </record>
- </block>
- </outcome>
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block atomic='true'>
<block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
<set>
<parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
<parameter name="tmp.reason" value="`$error-message`"/>
<parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
<parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
</set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
<parameter name="level" value="info" />
@@ -2422,6 +2360,8 @@
<parameter name='format' value='json' />
<parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -2444,282 +2384,518 @@
</block>
<set>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellDU RRMPolicyRatio. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
</set>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
</execute>
- </block>
- </for>
- </block>
- <block atomic='true'>
- <set>
- <parameter name='tmp.cellLocalId' value='`$tmp.cellDULocalId`'/>
- <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
- <parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>
- <parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>
- <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>
- <parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>
- <parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="cellLocalId"/>
- <parameter name="field2" value="`$tmp.cellLocalId`"/>
- <parameter name="field3" value="pLMNId"/>
- <parameter name="field4" value="`$tmp.pLMNId`"/>
- <parameter name="field5" value="maxNumberOfConns"/>
- <parameter name="field6" value="`$tmp.maxNumberOfConns`"/>
- <parameter name="field7" value="GNBDUId"/>
- <parameter name="field8" value="`$tmp.gNBDUList.gNBDUId`"/>
- <parameter name="field9" value="gNBId"/>
- <parameter name="field10" value="`$tmp.gNBId`"/>
- <parameter name="field11" value="dLThptPerSlice"/>
- <parameter name="field12" value="`$tmp.dLThptPerSlice`"/>
- <parameter name="field13" value="uLThptPerSlice"/>
- <parameter name="field14" value="`$tmp.uLThptPerSlice`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBDU.json
-'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-gNBDU-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatioList size"/>
+ <parameter name="field2" value="`$tmp.rrmPolicyRatioDUList_length`"/>
+ </record>
+ <for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >
<block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellDU-old' />
+ <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
+ </execute>
<set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ <parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value="`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`" />
+ </set>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
+ <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idGNBDUFunction}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyMembersDU_Length' />
+ <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.RRMPolicyMember_id' value="`$tmp.RRMPolicyMembersDU_Length+1`" />
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
+ <parameter name="field1" value="RRMPolicyRatioid - "/>
+ <parameter name="field2" value="`$tmp.RRMPolicyRatio_id`"/>
+ <parameter name="field3" value="RRMPolicyMemberid- "/>
+ <parameter name="field4" value="`$tmp.RRMPolicyMember_id`"/>
+ <parameter name="field5" value="Updated RRMPolicyRatio for CellDU is - "/>
+ <parameter name="field6" value="`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-cellDU-RRMPolicyRatio-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
<parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
<outcome value='success'>
- <block>
+ <block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
+ <parameter name="field1" value="Successfully Patched - cellDU RRMpolicyRatio"/>
</record>
</block>
</outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellDU RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
</execute>
</block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating Config DB - NRCellDU. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully updated ConfigDB - NRCellCU pLMNinfo "/>
- </record>
- </block>
- </outcome>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.configdb.getRRMPolicyRatio`"/>
- <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
- <parameter name="target" value="{resourceType}"/>
- <parameter name="replacement" value="PRB"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
- <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
- <parameter name="target" value="{resourceId}"/>
- <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="get RRMPolicyby Resource URL"/>
- <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="getrrmpolicyratioinfoDU-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
- </block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>
- <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>
- <parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfoDU-configdb-response.rrmPolicyID`'/>
- <parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>
- <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
- <parameter name="field3" value="pLMNId"/>
- <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
- <parameter name="field5" value="sNSSAI"/>
- <parameter name="field6" value="`$tmp.sNSSAI`"/>
- <parameter name="field7" value="rrmPolicyID"/>
- <parameter name="field8" value="`$prop.configDB.rrmPolicyID`"/>
- <parameter name="field9" value="resourceID"/>
- <parameter name="field10" value="`$tmp.resourceID`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-DU.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-gNBDU-rrmpolicy-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
+ </for>
+ </block>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.cellLocalId' value='`$tmp.cellDULocalId`'/>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
+ <parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>
+ <parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>
+ <parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>
+ <parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>
+ <parameter name='tmp.pLMNId' value='`$tmp.payload.pLMNId`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="cellLocalId"/>
+ <parameter name="field2" value="`$tmp.cellLocalId`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.pLMNId`"/>
+ <parameter name="field5" value="maxNumberOfConns"/>
+ <parameter name="field6" value="`$tmp.maxNumberOfConns`"/>
+ <parameter name="field7" value="GNBDUId"/>
+ <parameter name="field8" value="`$tmp.gNBDUList.gNBDUId`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBId`"/>
+ <parameter name="field11" value="dLThptPerSlice"/>
+ <parameter name="field12" value="`$tmp.dLThptPerSlice`"/>
+ <parameter name="field13" value="uLThptPerSlice"/>
+ <parameter name="field14" value="`$tmp.uLThptPerSlice`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBDU.json
+'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="update-gNBDU-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in updating Config DB - NRCellDU. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated ConfigDB - NRCellCU pLMNinfo "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.configdb.getRRMPolicyRatio`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceType}"/>
+ <parameter name="replacement" value="PRB"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceId}"/>
+ <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="get RRMPolicyby Resource URL"/>
+ <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getrrmpolicyratioinfoDU-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioDUList_length' value='`$getrrmpolicyratioinfoDU-configdb-response._length`'/>
+ </set>
+ <for index='iddu-rrm1' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >
<block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='prop.configDB.rrmPolicyID' />
+ <parameter name='source' value="`'getrrmpolicyratioinfoDU-configdb-response.['+$iddu-rrm1+'].rrmPolicyID'`" />
+ </execute>
<set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ <parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
+ <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field5" value="sNSSAI"/>
+ <parameter name="field6" value="`$tmp.sNSSAI`"/>
+ <parameter name="field7" value="rrmPolicyID"/>
+ <parameter name="field8" value="`$prop.configDB.rrmPolicyID`"/>
+ <parameter name="field9" value="resourceID"/>
+ <parameter name="field10" value="`$tmp.resourceID`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-DU.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="update-gNBDU-rrmpolicy-configdb-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
+ <parameter name='accept' value='application/json' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
- <block>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/>
+ </set>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
<outcome value='success'>
- <block>
+ <block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
+ <parameter name="field1" value="Successfully updated ConfigDB - NRCellDU RRMPolicyRatio "/>
</record>
</block>
</outcome>
</execute>
</block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully updated ConfigDB - NRCellDU RRMPolicyRatio "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- </switch>
+ </for>
+ </block>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
</block>
</for>
</block>
@@ -2727,106 +2903,142 @@
</block>
</for>
</block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Update inventory in ConfigDB"/>
- </record>
- <set>
- <parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>
- <parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>
- <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>
- <parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>
- <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberOfConns`'/>
- </set>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRANSliceInventory`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRANSliceInventory.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-inventory-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Updated inventory in ConfigDB"/>
- </record>
- </block>
- </outcome>
- </execute>
</for>
<return status='success'>
<parameter name="ack-final" value="Y" />
<parameter name="error-code" value="200" />
<parameter name="error-message" value="SUCCESSFUL Execution" />
</return>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Update inventory in ConfigDB"/>
+ </record>
+ <set>
+ <parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>
+ <parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>
+ <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>
+ <parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberOfConns`'/>
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRANSliceInventory`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRANSliceInventory.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="update-inventory-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Updated inventory in ConfigDB"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
<block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
<set>
- <parameter name="tmp.status" value="`$error-code`"/>
<parameter name="tmp.reason" value="`$error-message`"/>
<parameter name="tmp.requestID" value="`$instantiate-r-a-n-slice-input.common-header.request-id `"/>
<parameter name="tmp.action" value="`$instantiate-r-a-n-slice-input.action`"/>
@@ -2838,7 +3050,7 @@
<parameter name="replacement" value="`$tmp.requestID`"/>
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
<parameter name="field1" value="URL for SO Callback Response"/>
<parameter name='field2' value="`$payloadJson.input.callbackURL`" />
@@ -2846,6 +3058,8 @@
<parameter name='field4' value="`$tmp.reason`" />
<parameter name='field5' value="`$tmp.requestID`" />
<parameter name='field6' value="`$tmp.action`" />
+ <parameter name='field7' value="`$prop.restapi.so.user`" />
+ <parameter name='field8' value="`$prop.restapi.so.password`" />
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml
index adb24742..55283c1f 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml
@@ -273,17 +273,17 @@
<set>
<parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/>
</set>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$tmp.pLMNId`" />
- <parameter name="result" value="tmp.mcc"/>
- <parameter name="begin-index" value="0" />
- <parameter name="end-index" value="3" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$tmp.pLMNId`" />
- <parameter name="result" value="tmp.mnc"/>
- <parameter name="begin-index" value="4" />
- </execute>
+ <block atomic="true">
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+ <parameter name="original_string" value="`$tmp.pLMNId`" />
+ <parameter name="regex" value="-"/>
+ <parameter name="ctx_memory_result_key" value="tmp.plmnList" />
+ </execute>
+ <set>
+ <parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>
+ <parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>
+ </set>
+ </block>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
<parameter name="level" value="info" />
@@ -554,17 +554,17 @@
<set>
<parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/>
</set>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$tmp.pLMNId`" />
- <parameter name="result" value="tmp.mcc"/>
- <parameter name="begin-index" value="0" />
- <parameter name="end-index" value="3" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$tmp.pLMNId`" />
- <parameter name="result" value="tmp.mnc"/>
- <parameter name="begin-index" value="4" />
- </execute>
+ <block atomic="true">
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+ <parameter name="original_string" value="`$tmp.pLMNId`" />
+ <parameter name="regex" value="-"/>
+ <parameter name="ctx_memory_result_key" value="tmp.plmnList" />
+ </execute>
+ <set>
+ <parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>
+ <parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>
+ </set>
+ </block>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
<parameter name="level" value="info" />