summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhila <ahila.pandaram@wipro.com>2021-04-12 18:22:39 +0530
committerDan Timoney <dtimoney@att.com>2021-04-15 07:58:34 -0400
commite021f1d29303a300f481dbd5c01796cf17c34e28 (patch)
tree36a34f52cd129ecce335960379feb998fdd9c9f3
parent5a550d4730601b912b4e3569b5cebeb422053bac (diff)
RAN Slice DG-ModifyAllocate & SO callback fixes
Issue-ID: CCSDK-3244 Signed-off-by: Ahila <ahila.pandaram@wipro.com> Change-Id: I3ce241263d3d838dc3046fd6e8086cdd9861c1d4
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json2096
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json775
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate.json4332
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json5724
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceReconfigure.json1798
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json4820
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml367
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml105
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate.xml459
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml1678
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml813
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml34
12 files changed, 13689 insertions, 9312 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 c974dd01..73a05c2e 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": "761c81c0.93298",
+ "id": "2e3f70a0.8d47d",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 118.4375,
- "y": 113.4375,
- "z": "73e537e.8932bc8",
+ "x": 127.5,
+ "y": 84.44443893432617,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "9f552ddd.503aa"
+ "41f44f.07015bb"
]
]
},
{
- "id": "9f552ddd.503aa",
+ "id": "41f44f.07015bb",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -22,2492 +22,2872 @@
"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": 203.4375228881836,
- "y": 180.43746948242188,
- "z": "73e537e.8932bc8",
+ "x": 212.5000228881836,
+ "y": 151.44440841674805,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "f4b6fe3c.09964"
+ "463cb4d1.3e11bc"
]
]
},
{
- "id": "f4b6fe3c.09964",
+ "id": "463cb4d1.3e11bc",
"type": "method",
"name": "method",
"xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 137.4375,
- "y": 240.43743515014648,
- "z": "73e537e.8932bc8",
+ "x": 146.5,
+ "y": 211.44437408447266,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "43cfd799.e43718"
+ "ad331fd6.efc5a"
]
]
},
{
- "id": "43cfd799.e43718",
+ "id": "ad331fd6.efc5a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 159.9375114440918,
- "y": 320.93750381469727,
- "z": "73e537e.8932bc8",
+ "x": 169.0000114440918,
+ "y": 291.94444274902344,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "f0cba510.d429c8",
- "61526ba5.4b2eb4",
- "1045a904.a81917",
- "db76a950.2c38e8",
- "952aa6bf.fd8938",
- "d3040b3a.dd43a8",
- "66891c41.e89ca4",
- "a052b62c.1fa458",
- "67aabd43.7b3e14",
- "198c87cb.f1d948",
- "d302afcf.237ef",
- "f2b8e61a.a5c8c8",
- "738ca283.54ba9c",
- "c80b56a5.99a988",
- "1c09cf50.00c361",
- "20d20dea.8129f2",
- "a16a753b.c1e978",
- "ef19e8dd.548808",
- "b72487f2.f75598",
- "8eaff649.12a058",
- "f53bf76b.8dba48"
+ "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"
]
]
},
{
- "id": "f0cba510.d429c8",
+ "id": "b8ff0ca8.28a5",
"type": "execute",
"name": "generate getNearRTRICsFromRANNFNSSI URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICByNSSI`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
"comments": "",
"outputs": 1,
- "x": 741.6875,
- "y": 501.6875081062317,
- "z": "73e537e.8932bc8",
+ "x": 750.7500610351562,
+ "y": 487.1388988494873,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "61526ba5.4b2eb4",
+ "id": "1fe0b815.396298",
"type": "record",
"name": "record configdb RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$ranNFNSSIId`\" />",
"comments": "",
"outputs": 1,
- "x": 681.6875152587891,
- "y": 552.687527179718,
- "z": "73e537e.8932bc8",
+ "x": 690.7500152587891,
+ "y": 523.6944661140442,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "1045a904.a81917",
+ "id": "1dcf8d76.830503",
"type": "execute",
- "name": "Get nearRTRIC for TrackingArea",
+ "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": 671.6875915527344,
- "y": 604.6875576972961,
- "z": "73e537e.8932bc8",
+ "x": 680.7500915527344,
+ "y": 575.6944966316223,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "12546ac7.74cd65",
- "dcd91128.9ebfa"
+ "3e76d279.75553e",
+ "5e15e811.5faf68"
]
]
},
{
- "id": "12546ac7.74cd65",
+ "id": "3e76d279.75553e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 970.5055961608887,
- "y": 622.5055813789368,
- "z": "73e537e.8932bc8",
+ "x": 979.5680961608887,
+ "y": 593.5125203132629,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "2520024f.3e60fe"
+ "8dc6ef5d.717c1"
]
]
},
{
- "id": "2520024f.3e60fe",
+ "id": "8dc6ef5d.717c1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1140.5054931640625,
- "y": 623.505696773529,
- "z": "73e537e.8932bc8",
+ "x": 1149.5679931640625,
+ "y": 594.5126357078552,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "c854edfe.78e89",
- "80b014dc.086ba8"
+ "da9c97d.25b1768",
+ "331d3bbf.64aeb4"
]
]
},
{
- "id": "c854edfe.78e89",
+ "id": "da9c97d.25b1768",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 1363.5052909851074,
- "y": 568.5056805610657,
- "z": "73e537e.8932bc8",
+ "x": 1372.5677909851074,
+ "y": 539.5126194953918,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "80b014dc.086ba8",
+ "id": "331d3bbf.64aeb4",
"type": "execute",
"name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",
+ "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": 1359.283432006836,
- "y": 639.5056881904602,
- "z": "73e537e.8932bc8",
+ "x": 1368.345932006836,
+ "y": 610.5126271247864,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "dcd91128.9ebfa",
+ "id": "5e15e811.5faf68",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 976.5055503845215,
- "y": 562.5056653022766,
- "z": "73e537e.8932bc8",
+ "x": 985.5680503845215,
+ "y": 533.5126042366028,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "62e0747d.afde9c"
+ "6058101b.41923"
]
]
},
{
- "id": "62e0747d.afde9c",
+ "id": "6058101b.41923",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1256.5056266784668,
- "y": 468.5057191848755,
- "z": "73e537e.8932bc8",
+ "x": 1265.5681266784668,
+ "y": 439.51265811920166,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "11953360.467cdd",
- "cf52b92f.10a1a8"
+ "fe1b7f80.af15e",
+ "a6171c84.8f453"
]
]
},
{
- "id": "11953360.467cdd",
+ "id": "fe1b7f80.af15e",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1434.50541305542,
- "y": 422.6167459487915,
- "z": "73e537e.8932bc8",
+ "x": 1443.56791305542,
+ "y": 393.6236848831177,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "db76a950.2c38e8",
+ "id": "6e9843e2.482e7c",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$activate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$activate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$activate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$activate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$activate-r-a-n-slice-input.payload`\"/>",
+ "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": 646.4375,
- "y": 129.43748664855957,
- "z": "73e537e.8932bc8",
+ "x": 655.5,
+ "y": 100.44442558288574,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "952aa6bf.fd8938",
+ "id": "3b188957.fce246",
"type": "set",
"name": "set default status value",
- "xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of terminateRANSice RPC' />",
+ "xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of activateRANSice RPC' />",
"comments": "",
- "x": 685.437255859375,
- "y": 172.43749904632568,
- "z": "73e537e.8932bc8",
+ "x": 694.499755859375,
+ "y": 143.44443798065186,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "d3040b3a.dd43a8",
+ "id": "fec23156.86e02",
"type": "execute",
"name": "execute jsonStringToCtx",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='activate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
+ "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": 690.4372711181641,
- "y": 217.18748474121094,
- "z": "73e537e.8932bc8",
+ "x": 699.4997711181641,
+ "y": 188.1944236755371,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "34ba53e7.4fbc7c"
+ "ca5056d6.43deb8"
]
]
},
{
- "id": "66891c41.e89ca4",
+ "id": "f5b38460.dd09d8",
"type": "execute",
"name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />\n\n\n",
+ "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": 661.1872253417969,
- "y": 316.1770477294922,
- "z": "73e537e.8932bc8",
+ "x": 659.1386184692383,
+ "y": 277.1839771270752,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "a052b62c.1fa458",
+ "id": "a67e635a.79297",
"type": "execute",
"name": "execute Properties",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 681.1872100830078,
- "y": 357.1874132156372,
- "z": "73e537e.8932bc8",
+ "x": 688.0275650024414,
+ "y": 318.1944007873535,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "67aabd43.7b3e14",
+ "id": "72972aa.c24f3d4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. controller details \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field5\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field6\" value=\"`$prop.ransim-mounted`\"/>\n<parameter name=\"field7\" value=\"config DB deployed (true/false): \"/>\n<parameter name=\"field8\" value=\"`$prop.configdb-deployed`\"/>",
"comments": "",
"outputs": 1,
- "x": 654.6872825622559,
- "y": 408.18753147125244,
- "z": "73e537e.8932bc8",
+ "x": 657.0832805633545,
+ "y": 363.63891792297363,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "34ba53e7.4fbc7c",
+ "id": "ca5056d6.43deb8",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 956.9372825622559,
- "y": 219.18747425079346,
- "z": "73e537e.8932bc8",
+ "x": 965.9997825622559,
+ "y": 190.19441318511963,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "5b6cca11.9cad94"
+ "f409f85.647a408"
]
]
},
{
- "id": "5b6cca11.9cad94",
+ "id": "f409f85.647a408",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1156.9374389648438,
- "y": 221.9374704360962,
- "z": "73e537e.8932bc8",
+ "x": 1165.9999389648438,
+ "y": 192.94440937042236,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "98c043ee.951b8",
- "423b0303.ed9b0c"
+ "93b984ad.bea558",
+ "42ac8bbd.691104"
]
]
},
{
- "id": "98c043ee.951b8",
+ "id": "93b984ad.bea558",
"type": "execute",
"name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />\n\n\n",
+ "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": 1346.937515258789,
- "y": 183.43750476837158,
- "z": "73e537e.8932bc8",
+ "x": 1356.000015258789,
+ "y": 154.44444370269775,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "423b0303.ed9b0c",
+ "id": "42ac8bbd.691104",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfileId`\"/>\n\n\n",
+ "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": 1346.18745803833,
- "y": 247.43752098083496,
- "z": "73e537e.8932bc8",
+ "x": 1355.24995803833,
+ "y": 218.44445991516113,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "198c87cb.f1d948",
+ "id": "fbda5be.41c6ba8",
"type": "for",
"name": "foreach NearRTRIC",
- "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
+ "xml": "<for index='idy' start='0' end='`$tmp.RICList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 424.3750915527344,
- "y": 1045.3125171661377,
- "z": "73e537e.8932bc8",
+ "x": 433.4375915527344,
+ "y": 1016.3194561004639,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "bb11e40f.ebaa68",
- "623b8887.a167d8",
- "52b3e00e.e5abf"
+ "7c110262.8404cc",
+ "83b3aa05.8be538",
+ "3b09f70f.de57e8",
+ "d74aea1d.4971f8"
]
]
},
{
- "id": "bb11e40f.ebaa68",
+ "id": "7c110262.8404cc",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 689.6250305175781,
- "y": 1038.7444477081299,
- "z": "73e537e.8932bc8",
+ "x": 698.6875305175781,
+ "y": 1009.751386642456,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "4e224bda.30d0a4",
- "d8c32c5c.092ed",
- "8b1c383c.6f0db8"
+ "f2ca7302.db0fb",
+ "64af93d5.849c2c",
+ "967a2e00.a891c"
]
]
},
{
- "id": "4e224bda.30d0a4",
+ "id": "f2ca7302.db0fb",
"type": "execute",
"name": "read CUCP list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1035.875015258789,
- "y": 908.4943561553955,
- "z": "73e537e.8932bc8",
+ "x": 1044.937515258789,
+ "y": 879.5012950897217,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "d8c32c5c.092ed",
+ "id": "64af93d5.849c2c",
"type": "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",
+ "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": 995.3749961853027,
- "y": 955.9944334030151,
- "z": "73e537e.8932bc8",
+ "x": 1004.4374961853027,
+ "y": 927.0013723373413,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "8b1c383c.6f0db8",
+ "id": "967a2e00.a891c",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1012.1251220703125,
- "y": 1005.9944341182709,
- "z": "73e537e.8932bc8",
+ "x": 1021.1876220703125,
+ "y": 977.001373052597,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "52cdfc02.d2b554"
+ "2627c7aa.bdde98"
]
]
},
{
- "id": "52cdfc02.d2b554",
+ "id": "2627c7aa.bdde98",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1223.125015258789,
- "y": 969.244327545166,
- "z": "73e537e.8932bc8",
+ "x": 1232.187515258789,
+ "y": 940.2512664794922,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "646b737c.114bfc",
- "a4f6f876.fca2c8",
- "705aec8e.889684",
- "effc97f7.aa0768"
+ "bb142c16.d827",
+ "fa055768.583dd8",
+ "81577c39.485ae",
+ "cf7b2dea.a1465"
]
]
},
{
- "id": "646b737c.114bfc",
+ "id": "bb142c16.d827",
"type": "execute",
"name": "read CUCP name",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
"comments": "",
"outputs": 1,
- "x": 1477.8750228881836,
- "y": 705.9943523406982,
- "z": "73e537e.8932bc8",
+ "x": 1486.9376068115234,
+ "y": 670.3346672058105,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "705aec8e.889684",
+ "id": "81577c39.485ae",
"type": "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",
+ "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": 1449.625114440918,
- "y": 754.4943389892578,
- "z": "73e537e.8932bc8",
+ "x": 1458.687614440918,
+ "y": 725.501277923584,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "effc97f7.aa0768",
+ "id": "cf7b2dea.a1465",
"type": "execute",
"name": "read cellCU list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1486.8750228881836,
- "y": 802.2443542480469,
- "z": "73e537e.8932bc8",
+ "x": 1495.9375228881836,
+ "y": 773.251293182373,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "a4f6f876.fca2c8",
+ "id": "fa055768.583dd8",
"type": "for",
"name": "for cellCUList",
"xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1461.8749923706055,
- "y": 854.9943695068359,
- "z": "73e537e.8932bc8",
+ "x": 1470.9374923706055,
+ "y": 826.0013084411621,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "e61d08b.c8d36f8"
+ "9d238b51.1eb318"
]
]
},
{
- "id": "e61d08b.c8d36f8",
+ "id": "9d238b51.1eb318",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1676.8750343322754,
- "y": 855.2443866729736,
- "z": "73e537e.8932bc8",
+ "x": 1685.9375343322754,
+ "y": 826.2513256072998,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "d3fb7cf3.0407",
- "90d4169b.0cd418"
+ "e883771f.62ada8",
+ "5789652a.13621c",
+ "ba32eb.352e5d18"
]
]
},
{
- "id": "d3fb7cf3.0407",
+ "id": "e883771f.62ada8",
"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 '`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1908.2781448364258,
- "y": 828.3415851593018,
- "z": "73e537e.8932bc8",
+ "x": 1902.8964233398438,
+ "y": 764.9042949676514,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "90d4169b.0cd418",
+ "id": "ba32eb.352e5d18",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1922.8615798950195,
- "y": 892.091628074646,
- "z": "73e537e.8932bc8",
+ "x": 1931.9240798950195,
+ "y": 863.0985670089722,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "1306eaa1.403c05"
+ "6567a11b.57ba4"
]
]
},
{
- "id": "1306eaa1.403c05",
+ "id": "6567a11b.57ba4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2100.750556945801,
- "y": 814.8694171905518,
- "z": "73e537e.8932bc8",
+ "x": 2109.813056945801,
+ "y": 785.8763561248779,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "d2c18ab3.c24978",
- "eaa59340.e8939",
- "980da038.262e2"
+ "af8a2706.fe3648",
+ "b1460aaf.3d1778",
+ "49bb7059.83e74"
]
]
},
{
- "id": "980da038.262e2",
+ "id": "49bb7059.83e74",
"type": "execute",
"name": "read sNSSAI from getNFNSSIRIC-configdb-response",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 2435.6394119262695,
- "y": 770.0916481018066,
- "z": "73e537e.8932bc8",
+ "x": 2460.2574768066406,
+ "y": 798.8763513565063,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "d2c18ab3.c24978",
+ "id": "af8a2706.fe3648",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "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": 2306.639518737793,
- "y": 838.0915994644165,
- "z": "73e537e.8932bc8",
+ "x": 2319.0353813171387,
+ "y": 832.4318771362305,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "eaa59340.e8939",
+ "id": "b1460aaf.3d1778",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2345.5283584594727,
- "y": 902.6471662521362,
- "z": "73e537e.8932bc8",
+ "x": 2354.5908584594727,
+ "y": 873.6541051864624,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "4f3107a.2937ef8"
+ "f8d9d5cc.331478"
]
]
},
{
- "id": "4f3107a.2937ef8",
+ "id": "f8d9d5cc.331478",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2535.000556945801,
- "y": 902.8694953918457,
- "z": "73e537e.8932bc8",
+ "x": 2544.063056945801,
+ "y": 873.8764343261719,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "1d241be7.c8bbc4"
+ "4bf0bc05.929e64"
]
]
},
{
- "id": "1d241be7.c8bbc4",
+ "id": "4bf0bc05.929e64",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2755.625,
- "y": 900.625,
- "z": "73e537e.8932bc8",
+ "x": 2764.6875,
+ "y": 871.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "a302bf1.efd614",
- "3fd39755.b5cbf8",
- "3a12865a.0d117a",
- "299e60f.af51ea",
- "ba736919.8a3b38",
- "bccb9a19.543658",
- "29628860.8b8dc8",
- "a04a1ff1.c04b6",
- "45de62b8.cced2c"
+ "4e7e556c.845abc",
+ "8a2266a8.1c2d38",
+ "731d42c4.f6e40c",
+ "df02fea.90fde",
+ "e6e24fd0.3cd09",
+ "42fb01d5.8ba33",
+ "9b0a2c7e.8b569",
+ "88ebb234.4318f",
+ "dafd44d3.cdebe8"
]
]
},
{
- "id": "45de62b8.cced2c",
+ "id": "dafd44d3.cdebe8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
+ "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": 2950.625,
- "y": 895.625,
- "z": "73e537e.8932bc8",
+ "x": 2959.6875,
+ "y": 866.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "a04a1ff1.c04b6",
+ "id": "88ebb234.4318f",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2978.625,
- "y": 963.625,
- "z": "73e537e.8932bc8",
+ "x": 2987.6875,
+ "y": 934.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "27bc8985.294fc6",
- "3ce10ed5.092432"
+ "d77c2d0a.fe695",
+ "408dc4a2.df219c"
]
]
},
{
- "id": "27bc8985.294fc6",
+ "id": "d77c2d0a.fe695",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3186.625,
- "y": 928.624755859375,
- "z": "73e537e.8932bc8",
+ "x": 3195.6875,
+ "y": 899.6316947937012,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "5c98a9b7.805fb8"
+ "44f83437.9a11ac"
]
]
},
{
- "id": "5c98a9b7.805fb8",
+ "id": "44f83437.9a11ac",
"type": "execute",
"name": "generate patch PLMNInfoListEntry ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3506.625,
- "y": 943.625,
- "z": "73e537e.8932bc8",
+ "x": 3515.6875,
+ "y": 914.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "c0149f76.a0f0e",
+ "id": "5de7db9d.692f04",
"type": "execute",
"name": "generate patchPLMNInfoList.ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3685.125030517578,
- "y": 1001.6249389648438,
- "z": "73e537e.8932bc8",
+ "x": 3694.187530517578,
+ "y": 972.6318778991699,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "986e780a.2b92f8",
+ "id": "aa989b67.645808",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3629.125431060791,
- "y": 1054.62513256073,
- "z": "73e537e.8932bc8",
+ "x": 3638.187931060791,
+ "y": 1025.6320714950562,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "ceac5f2d.de7c3",
+ "id": "bb1a8099.105d6",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3378.125,
- "y": 1031.625,
- "z": "73e537e.8932bc8",
+ "x": 3387.1875,
+ "y": 1002.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "c0149f76.a0f0e",
- "986e780a.2b92f8"
+ "5de7db9d.692f04",
+ "aa989b67.645808"
]
]
},
{
- "id": "3ce10ed5.092432",
+ "id": "408dc4a2.df219c",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3174.625,
- "y": 1030.625,
- "z": "73e537e.8932bc8",
+ "x": 3183.6875,
+ "y": 1001.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "ceac5f2d.de7c3"
+ "bb1a8099.105d6"
]
]
},
{
- "id": "a302bf1.efd614",
+ "id": "4e7e556c.845abc",
"type": "execute",
"name": "read cellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2945.625,
- "y": 1063.625,
- "z": "73e537e.8932bc8",
+ "x": 2954.6875,
+ "y": 1034.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "ba736919.8a3b38",
+ "id": "e6e24fd0.3cd09",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2972.625,
- "y": 1127.625,
- "z": "73e537e.8932bc8",
+ "x": 2981.6875,
+ "y": 1098.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "bccb9a19.543658",
+ "id": "42fb01d5.8ba33",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2933.625259399414,
- "y": 1173.1250286102295,
- "z": "73e537e.8932bc8",
+ "x": 2942.687759399414,
+ "y": 1144.1319675445557,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "29628860.8b8dc8",
+ "id": "9b0a2c7e.8b569",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 2899.3750610351562,
- "y": 1254.8750562667847,
- "z": "73e537e.8932bc8",
+ "x": 2908.4375610351562,
+ "y": 1225.8819952011108,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "3fd39755.b5cbf8",
+ "id": "8a2266a8.1c2d38",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 2888.12548828125,
- "y": 1315.125072479248,
- "z": "73e537e.8932bc8",
+ "x": 2897.18798828125,
+ "y": 1286.1320114135742,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "3a12865a.0d117a",
+ "id": "731d42c4.f6e40c",
"type": "record",
"name": "record API params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2884.625,
- "y": 1383.625,
- "z": "73e537e.8932bc8",
+ "x": 2893.6875,
+ "y": 1354.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "299e60f.af51ea",
+ "id": "df02fea.90fde",
"type": "execute",
- "name": "activate PLMNInfoListEntry ToNRCellCU",
+ "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": 2924.6251068115234,
- "y": 1446.6249732971191,
- "z": "73e537e.8932bc8",
+ "x": 2933.6876068115234,
+ "y": 1417.6319122314453,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "2cf676c2.3fd4ea",
- "f8fba380.e8c38"
+ "599d4ca5.dae754",
+ "7960760f.a0e828"
]
]
},
{
- "id": "f8fba380.e8c38",
+ "id": "7960760f.a0e828",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3140.62508392334,
- "y": 1325.6249732971191,
- "z": "73e537e.8932bc8",
+ "x": 3149.68758392334,
+ "y": 1296.6319122314453,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "930a46d3.3df258"
+ "7eba1214.d6292c"
]
]
},
{
- "id": "930a46d3.3df258",
+ "id": "7eba1214.d6292c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3290.625358581543,
- "y": 1284.625156402588,
- "z": "73e537e.8932bc8",
+ "x": 3299.687858581543,
+ "y": 1255.632095336914,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "debf2a5f.a15d48",
- "62751a13.a72014",
- "cf52b92f.10a1a8"
+ "d5024375.14d7a",
+ "11cc8a2d.1c0ef6",
+ "a6171c84.8f453"
]
]
},
{
- "id": "62751a13.a72014",
+ "id": "11cc8a2d.1c0ef6",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3456.625114440918,
- "y": 1250.625156402588,
- "z": "73e537e.8932bc8",
+ "x": 3465.687614440918,
+ "y": 1221.632095336914,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "debf2a5f.a15d48",
+ "id": "d5024375.14d7a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3461.6249923706055,
- "y": 1345.6252174377441,
- "z": "73e537e.8932bc8",
+ "x": 3470.6874923706055,
+ "y": 1316.6321563720703,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "54cfb6bf.e47b78",
+ "id": "b7ef60e6.8ba87",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 3546.6249618530273,
- "y": 1438.625400543213,
- "z": "73e537e.8932bc8",
+ "x": 3555.6874618530273,
+ "y": 1409.632339477539,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "188f83ea.3d48fc",
+ "id": "bce86bbc.4e0a78",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3348.624900817871,
- "y": 1441.6252784729004,
- "z": "73e537e.8932bc8",
+ "x": 3357.687400817871,
+ "y": 1412.6322174072266,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "54cfb6bf.e47b78"
+ "b7ef60e6.8ba87"
]
]
},
{
- "id": "2cf676c2.3fd4ea",
+ "id": "599d4ca5.dae754",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3175.625114440918,
- "y": 1442.6252174377441,
- "z": "73e537e.8932bc8",
+ "x": 3184.687614440918,
+ "y": 1413.6321563720703,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "188f83ea.3d48fc"
+ "bce86bbc.4e0a78"
]
]
},
{
- "id": "d302afcf.237ef",
- "type": "set",
- "name": "set status as ACTIVE",
- "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
- "comments": "",
- "x": 693.4375,
- "y": 454.375,
- "z": "73e537e.8932bc8",
- "wires": []
- },
- {
- "id": "f2b8e61a.a5c8c8",
+ "id": "d8a96a7b.dfd628",
"type": "execute",
"name": "read sNSSAI from input",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNSSAI' />\n\t<parameter name='source' value=\"`$payloadJson.input.NSSAI`\" />\n",
+ "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n",
"comments": "",
"outputs": 1,
- "x": 698.1250152587891,
- "y": 263.4375057220459,
- "z": "73e537e.8932bc8",
+ "x": 707.1875152587891,
+ "y": 234.44444465637207,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "623b8887.a167d8",
+ "id": "83b3aa05.8be538",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 690.6250534057617,
- "y": 1180.6250257492065,
- "z": "73e537e.8932bc8",
+ "x": 699.6875534057617,
+ "y": 1151.6319646835327,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "5edb379d.514778",
- "4d3d871.621e378",
- "b3a7abd3.ab2ac8"
+ "ab889fe1.795bc",
+ "767a78bd.0c3858",
+ "bef03ad.2f251c8"
]
]
},
{
- "id": "5edb379d.514778",
+ "id": "ab889fe1.795bc",
"type": "execute",
"name": "read CUUP list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1021.625057220459,
- "y": 1080.6250228881836,
- "z": "73e537e.8932bc8",
+ "x": 1030.687557220459,
+ "y": 1051.6319618225098,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "4d3d871.621e378",
+ "id": "767a78bd.0c3858",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 978.6251220703125,
- "y": 1131.8750252723694,
- "z": "73e537e.8932bc8",
+ "x": 987.6876220703125,
+ "y": 1102.8819642066956,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "b3a7abd3.ab2ac8",
+ "id": "bef03ad.2f251c8",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1004.1250152587891,
- "y": 1180.6250247955322,
- "z": "73e537e.8932bc8",
+ "x": 1013.1875152587891,
+ "y": 1151.6319637298584,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "b36e4008.81623"
+ "a79c0f0.ce909f"
]
]
},
{
- "id": "b36e4008.81623",
+ "id": "a79c0f0.ce909f",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1227.6250610351562,
- "y": 1163.8750705718994,
- "z": "73e537e.8932bc8",
+ "x": 1236.6875610351562,
+ "y": 1134.8820095062256,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "22f58645.55e61a",
- "62e419e7.9c4ab8",
- "7516a8f.7a59058",
- "5c4c4274.95bb3c"
+ "18ef9633.d9bbda",
+ "f9bc59d6.5a5028",
+ "583ebb73.81c944",
+ "fb440a2f.179028"
]
]
},
{
- "id": "22f58645.55e61a",
+ "id": "18ef9633.d9bbda",
"type": "execute",
"name": "read CUUP id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1471.625,
- "y": 939.125,
- "z": "73e537e.8932bc8",
+ "x": 1480.6875,
+ "y": 910.1319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "62e419e7.9c4ab8",
+ "id": "f9bc59d6.5a5028",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1467.625,
- "y": 993.125,
- "z": "73e537e.8932bc8",
+ "x": 1476.6875,
+ "y": 964.1319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "7516a8f.7a59058",
+ "id": "583ebb73.81c944",
"type": "execute",
"name": "read plmninfolist size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1518.625,
- "y": 1058.125,
- "z": "73e537e.8932bc8",
+ "x": 1527.6875,
+ "y": 1029.1319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "5c4c4274.95bb3c",
+ "id": "fb440a2f.179028",
"type": "for",
"name": "foreach pLMNInfo",
"xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
"comments": "",
"outputs": 1,
- "x": 1504.625,
- "y": 1113.125,
- "z": "73e537e.8932bc8",
+ "x": 1513.6875,
+ "y": 1084.1319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "2c5e82ef.5ab08e"
+ "ddf97987.753eb8"
]
]
},
{
- "id": "2c5e82ef.5ab08e",
+ "id": "c41e3776.a23bb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1743.75,
- "y": 1110.3125,
- "z": "73e537e.8932bc8",
+ "x": 1752.8125,
+ "y": 1081.3194389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "d7e78b50.130018",
- "ae1fc405.ff2a58",
- "ce7f221.e3090e"
+ "f6fc9393.56661",
+ "173ddfd.25e492",
+ "60bfcd2e.26d3b4",
+ "5c9636da.117878",
+ "486c8988.17b4e8",
+ "cf837fb7.24118"
]
]
},
{
- "id": "d7e78b50.130018",
+ "id": "f6fc9393.56661",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1957.000259399414,
- "y": 1111.0626487731934,
- "z": "73e537e.8932bc8",
+ "x": 1966.062759399414,
+ "y": 1082.0695877075195,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "43dda371.85d0cc",
- "b28fc0c6.768a6"
+ "32d71801.387438",
+ "f70fa22d.1b3b9"
]
]
},
{
- "id": "43dda371.85d0cc",
+ "id": "32d71801.387438",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2170.000141143799,
- "y": 1078.5622673034668,
- "z": "73e537e.8932bc8",
+ "x": 2179.062641143799,
+ "y": 1049.569206237793,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "92eabe0e.0ecdb"
+ "b23cfcec.7bedc"
]
]
},
{
- "id": "92eabe0e.0ecdb",
+ "id": "b23cfcec.7bedc",
"type": "execute",
"name": "generate patch PLMNInfoListEntry CUUP URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2495.0000228881836,
- "y": 1033.5625715255737,
- "z": "73e537e.8932bc8",
+ "x": 2504.0625228881836,
+ "y": 1004.5695104598999,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "1e03d99f.4b54d6",
+ "id": "d051a6a1.a3b278",
"type": "execute",
"name": "generate patchPLMNInfoList.TogNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2605.7495651245117,
- "y": 1116.3122825622559,
- "z": "73e537e.8932bc8",
+ "x": 2614.8120651245117,
+ "y": 1087.319221496582,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "cfddd286.9a08f",
+ "id": "e9e95b17.1e7758",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 2589.7500858306885,
- "y": 1184.3125429153442,
- "z": "73e537e.8932bc8",
+ "x": 2598.8125858306885,
+ "y": 1155.3194818496704,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "1e46f7a0.12e1b8",
+ "id": "86fac64.a62ab38",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2329.999870300293,
- "y": 1175.062283039093,
- "z": "73e537e.8932bc8",
+ "x": 2339.062370300293,
+ "y": 1146.0692219734192,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "1e03d99f.4b54d6",
- "cfddd286.9a08f"
+ "d051a6a1.a3b278",
+ "e9e95b17.1e7758"
]
]
},
{
- "id": "b28fc0c6.768a6",
+ "id": "f70fa22d.1b3b9",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2155.500015258789,
- "y": 1164.31254196167,
- "z": "73e537e.8932bc8",
+ "x": 2164.562515258789,
+ "y": 1135.319480895996,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "1e46f7a0.12e1b8"
+ "86fac64.a62ab38"
]
]
},
{
- "id": "ae1fc405.ff2a58",
+ "id": "173ddfd.25e492",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1983.4375,
- "y": 1241.875,
- "z": "73e537e.8932bc8",
+ "x": 2034.7221374511719,
+ "y": 1195.104145526886,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "ce7f221.e3090e",
+ "id": "60bfcd2e.26d3b4",
"type": "execute",
"name": "patch PLMNInfoListEntry gNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-gNBCUUP-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 1999.4375,
- "y": 1298.875,
- "z": "73e537e.8932bc8",
+ "x": 1984.0556335449219,
+ "y": 1308.7708168029785,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "aee81218.72027",
- "7d297bbe.d06bd4"
+ "a9f87790.beb6f8",
+ "1b34c3a5.cb065c"
]
]
},
{
- "id": "aee81218.72027",
+ "id": "a9f87790.beb6f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2301.4376525878906,
- "y": 1300.8752393722534,
- "z": "73e537e.8932bc8",
+ "x": 2310.5001525878906,
+ "y": 1271.8821783065796,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "8453c6af.a13a18"
+ "b38e2a02.d20078"
]
]
},
{
- "id": "7d297bbe.d06bd4",
+ "id": "1b34c3a5.cb065c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2295.437530517578,
- "y": 1367.8751783370972,
- "z": "73e537e.8932bc8",
+ "x": 2304.500030517578,
+ "y": 1338.8821172714233,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "d8b21643.b8fd78"
+ "7bb357a6.982188"
]
]
},
{
- "id": "8453c6af.a13a18",
+ "id": "b38e2a02.d20078",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2478.437774658203,
- "y": 1289.875117301941,
- "z": "73e537e.8932bc8",
+ "x": 2487.500274658203,
+ "y": 1260.882056236267,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "1de38af1.68ef85",
- "484c6fd2.3298c",
- "cf52b92f.10a1a8"
+ "fb2c033.9824a",
+ "b337d9a3.fb8778",
+ "a6171c84.8f453"
]
]
},
{
- "id": "d8b21643.b8fd78",
+ "id": "7bb357a6.982188",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2475.437530517578,
- "y": 1372.8749952316284,
- "z": "73e537e.8932bc8",
+ "x": 2484.500030517578,
+ "y": 1343.8819341659546,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "bd12c7c4.296008"
+ "6d52774b.718b58"
]
]
},
{
- "id": "bd12c7c4.296008",
+ "id": "6d52774b.718b58",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 2628.437225341797,
- "y": 1372.8752393722534,
- "z": "73e537e.8932bc8",
+ "x": 2637.499725341797,
+ "y": 1343.8821783065796,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "1de38af1.68ef85",
+ "id": "fb2c033.9824a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2683.1877365112305,
- "y": 1290.3753967285156,
- "z": "73e537e.8932bc8",
+ "x": 2692.2502365112305,
+ "y": 1261.3823356628418,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "484c6fd2.3298c",
+ "id": "b337d9a3.fb8778",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2688.1879234313965,
- "y": 1236.3755326271057,
- "z": "73e537e.8932bc8",
+ "x": 2697.2504234313965,
+ "y": 1207.3824715614319,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "52b3e00e.e5abf",
+ "id": "3b09f70f.de57e8",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 685.0000076293945,
- "y": 1329.0625247955322,
- "z": "73e537e.8932bc8",
+ "x": 694.0625076293945,
+ "y": 1300.0694637298584,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "7e06ceca.74922",
- "1051a27a.b8e44e",
- "352a5eb7.c4dff2"
+ "a2731454.f88ab8",
+ "fed2b0cf.516b5",
+ "490ac02c.0d8af"
]
]
},
{
- "id": "7e06ceca.74922",
+ "id": "a2731454.f88ab8",
"type": "execute",
"name": "read DUlist size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1017.7500305175781,
- "y": 1235.0625114440918,
- "z": "73e537e.8932bc8",
+ "x": 1026.8125305175781,
+ "y": 1206.069450378418,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "1051a27a.b8e44e",
+ "id": "fed2b0cf.516b5",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 990.750057220459,
- "y": 1278.562572479248,
- "z": "73e537e.8932bc8",
+ "x": 999.812557220459,
+ "y": 1249.5695114135742,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "352a5eb7.c4dff2",
+ "id": "490ac02c.0d8af",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1002.7500305175781,
- "y": 1329.8125,
- "z": "73e537e.8932bc8",
+ "x": 1011.8125305175781,
+ "y": 1300.8194389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "e932e598.a8e4d8"
+ "9d0de056.0e88b"
]
]
},
{
- "id": "e932e598.a8e4d8",
+ "id": "9d0de056.0e88b",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1283.75,
- "y": 1330.8124694824219,
- "z": "73e537e.8932bc8",
+ "x": 1292.8125,
+ "y": 1301.819408416748,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "67418177.4b675",
- "76ffbff1.a238b",
- "4501d8aa.3adbf8",
- "48d81af7.03f064"
+ "77316146.f524d",
+ "d1967c77.837a4",
+ "2878771e.95fa18",
+ "2c34edac.88ff82"
]
]
},
{
- "id": "67418177.4b675",
+ "id": "77316146.f524d",
"type": "execute",
"name": "read DU id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1562.7498245239258,
- "y": 1326.8117713928223,
- "z": "73e537e.8932bc8",
+ "x": 1571.8123245239258,
+ "y": 1297.8187103271484,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "76ffbff1.a238b",
+ "id": "d1967c77.837a4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1535.7498245239258,
- "y": 1377.8117713928223,
- "z": "73e537e.8932bc8",
+ "x": 1544.8123245239258,
+ "y": 1348.8187103271484,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "4501d8aa.3adbf8",
+ "id": "2878771e.95fa18",
"type": "execute",
"name": "read cellDU list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1576.7498245239258,
- "y": 1426.8117713928223,
- "z": "73e537e.8932bc8",
+ "x": 1585.8123245239258,
+ "y": 1397.8187103271484,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "48d81af7.03f064",
+ "id": "2c34edac.88ff82",
"type": "for",
"name": "for cellDUList",
"xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1566.7498245239258,
- "y": 1470.8117713928223,
- "z": "73e537e.8932bc8",
+ "x": 1575.8123245239258,
+ "y": 1441.8187103271484,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "98b4252b.430ee8"
+ "418bc08c.4d246"
]
]
},
{
- "id": "98b4252b.430ee8",
+ "id": "418bc08c.4d246",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1726.499885559082,
- "y": 1470.5618963241577,
- "z": "73e537e.8932bc8",
+ "x": 1735.562385559082,
+ "y": 1441.568835258484,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "13016587.c7632a",
- "c22a6693.7c9d58"
+ "7e225a27.bc6134",
+ "3df28e05.782432",
+ "9950a6b.7600558"
]
]
},
{
- "id": "13016587.c7632a",
+ "id": "7e225a27.bc6134",
"type": "execute",
"name": "read PLMNList size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1974.6875,
- "y": 1470.3125,
- "z": "73e537e.8932bc8",
+ "x": 1983.75,
+ "y": 1441.3194389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "c22a6693.7c9d58",
+ "id": "3df28e05.782432",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1953.0208740234375,
- "y": 1540.3125,
- "z": "73e537e.8932bc8",
+ "x": 1962.0833740234375,
+ "y": 1511.3194389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "ae921aff.c45078"
+ "85575f8d.89fd3"
]
]
},
{
- "id": "ae921aff.c45078",
+ "id": "85575f8d.89fd3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2138.4096603393555,
- "y": 1534.3402099609375,
- "z": "73e537e.8932bc8",
+ "x": 2147.4721603393555,
+ "y": 1505.3471488952637,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "7383ae7b.5b99f",
- "7503b7ce.7796d8",
- "e0761d19.bc37e"
+ "d4c5a550.025f88",
+ "6d4bb9ac.6f1ce8",
+ "6b23bbb4.2f26d4"
]
]
},
{
- "id": "e0761d19.bc37e",
+ "id": "6d4bb9ac.6f1ce8",
"type": "execute",
"name": "read sNSSAI from getNFNSSIRIC-configdb-response",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 2513.2986068725586,
- "y": 1453.3128719329834,
- "z": "73e537e.8932bc8",
+ "x": 2519.0278396606445,
+ "y": 1445.4309530258179,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "7383ae7b.5b99f",
+ "id": "1e65b7ed.d3e5f8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2374.2986030578613,
- "y": 1511.3127517700195,
- "z": "73e537e.8932bc8",
+ "x": 2383.3611030578613,
+ "y": 1482.3196907043457,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "7503b7ce.7796d8",
+ "id": "d4c5a550.025f88",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2369.43758392334,
- "y": 1560.8682289123535,
- "z": "73e537e.8932bc8",
+ "x": 2378.50008392334,
+ "y": 1531.8751678466797,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "8ded1517.4c32d8"
+ "1b16c5a4.524dfa"
]
]
},
{
- "id": "8ded1517.4c32d8",
+ "id": "1b16c5a4.524dfa",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2543.909828186035,
- "y": 1553.5905861854553,
- "z": "73e537e.8932bc8",
+ "x": 2552.972328186035,
+ "y": 1524.5975251197815,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "50499d51.fe3e14"
+ "15097fb6.9fe7e"
]
]
},
{
- "id": "50499d51.fe3e14",
+ "id": "15097fb6.9fe7e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2717.937629699707,
- "y": 1549.56272315979,
- "z": "73e537e.8932bc8",
+ "x": 2727.000129699707,
+ "y": 1520.5696620941162,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "4efbb0f2.f7229",
- "67913975.042ea8",
- "b11b382e.43f478",
- "9472e52c.249c78",
- "7eb7f6b8.3dba48",
- "9a055ee1.e66aa",
- "b402baa1.acbe58",
- "b43da734.c06b08",
- "3b663477.76ed6c"
+ "ee4d80c2.30823",
+ "f9746931.f68fc8",
+ "eeb6d06.ad3103",
+ "c099e06e.4ca54",
+ "70935f7e.52d6d",
+ "d50824ca.307f58",
+ "c365c8ce.3a5d38"
]
]
},
{
- "id": "67913975.042ea8",
+ "id": "9a4bdf29.0e788",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2930.4379959106445,
- "y": 1518.3127232789993,
- "z": "73e537e.8932bc8",
+ "x": 2939.5004959106445,
+ "y": 1489.3196622133255,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "4efbb0f2.f7229",
+ "id": "ee4d80c2.30823",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2934.6875076293945,
- "y": 1576.3127555847168,
- "z": "73e537e.8932bc8",
+ "x": 2943.7500076293945,
+ "y": 1547.319694519043,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "c638f3de.dea5",
- "78e627e0.d15b08"
+ "25db24a4.94a7bc",
+ "7299ab72.ac3bf4"
]
]
},
{
- "id": "c638f3de.dea5",
+ "id": "25db24a4.94a7bc",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3143.937999725342,
- "y": 1531.3122968673706,
- "z": "73e537e.8932bc8",
+ "x": 3153.000499725342,
+ "y": 1502.3192358016968,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "a42b1236.4707e"
+ "8c4ae1b6.8440d"
]
]
},
{
- "id": "78e627e0.d15b08",
+ "id": "7299ab72.ac3bf4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3138.937999725342,
- "y": 1592.8129997253418,
- "z": "73e537e.8932bc8",
+ "x": 3148.000499725342,
+ "y": 1563.819938659668,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "8131e6bc.784858"
+ "77c32512.a85e0c"
]
]
},
{
- "id": "a42b1236.4707e",
+ "id": "8c4ae1b6.8440d",
"type": "execute",
"name": "generate patch PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3490.187759399414,
- "y": 1530.0627536773682,
- "z": "73e537e.8932bc8",
+ "x": 3499.250259399414,
+ "y": 1501.0696926116943,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "8131e6bc.784858",
+ "id": "77c32512.a85e0c",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3316.4375762939453,
- "y": 1599.3126335144043,
- "z": "73e537e.8932bc8",
+ "x": 3325.5000762939453,
+ "y": 1570.3195724487305,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "1754b665.854bca",
- "b0b55a4d.efcde8"
+ "14cd17df.749028",
+ "75414c2d.295d74"
]
]
},
{
- "id": "1754b665.854bca",
+ "id": "14cd17df.749028",
"type": "execute",
"name": "generate patchPLMNInfoList.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3598.437942504883,
- "y": 1588.0626335144043,
- "z": "73e537e.8932bc8",
+ "x": 3607.500442504883,
+ "y": 1559.0695724487305,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "b0b55a4d.efcde8",
+ "id": "75414c2d.295d74",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3548.688247680664,
- "y": 1648.5626649856567,
- "z": "73e537e.8932bc8",
+ "x": 3557.750747680664,
+ "y": 1619.569603919983,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "b11b382e.43f478",
- "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 +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2926.5625,
- "y": 1638.125,
- "z": "73e537e.8932bc8",
- "wires": [
- []
- ]
- },
- {
- "id": "9472e52c.249c78",
+ "id": "f9746931.f68fc8",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2981.5625610351562,
- "y": 1703.1249380111694,
- "z": "73e537e.8932bc8",
+ "x": 2990.6250610351562,
+ "y": 1674.1318769454956,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "7eb7f6b8.3dba48",
+ "id": "eeb6d06.ad3103",
"type": "execute",
"name": "prepare idNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "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": 2954.562744140625,
- "y": 1758.124939918518,
- "z": "73e537e.8932bc8",
+ "x": 2963.625244140625,
+ "y": 1729.1318788528442,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "9a055ee1.e66aa",
+ "id": "c099e06e.4ca54",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 2934.5624389648438,
- "y": 1821.1252460479736,
- "z": "73e537e.8932bc8",
+ "x": 2943.6249389648438,
+ "y": 1792.1321849822998,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "b402baa1.acbe58",
+ "id": "70935f7e.52d6d",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 2936.5626831054688,
- "y": 1879.1248788833618,
- "z": "73e537e.8932bc8",
+ "x": 2945.6251831054688,
+ "y": 1850.131817817688,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "b43da734.c06b08",
+ "id": "d50824ca.307f58",
"type": "record",
"name": "record API params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch 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",
+ "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": 2941.5623168945312,
- "y": 1947.1253700256348,
- "z": "73e537e.8932bc8",
+ "x": 2950.6248168945312,
+ "y": 1918.132308959961,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "3b663477.76ed6c",
+ "id": "c365c8ce.3a5d38",
"type": "execute",
"name": "patch PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2998.5623474121094,
- "y": 2022.374755859375,
- "z": "73e537e.8932bc8",
+ "x": 3007.6248474121094,
+ "y": 1993.3816947937012,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "e9376312.2afc9",
- "3fa0b327.7d77bc"
+ "cbfb7182.04192",
+ "1353c2f.b08113d"
]
]
},
{
- "id": "3fa0b327.7d77bc",
+ "id": "1353c2f.b08113d",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3265.5623474121094,
- "y": 1922.374755859375,
- "z": "73e537e.8932bc8",
+ "x": 3274.6248474121094,
+ "y": 1893.3816947937012,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "7812bc5b.b7e9e4"
+ "daa2fa32.0a3cf8"
]
]
},
{
- "id": "7812bc5b.b7e9e4",
+ "id": "daa2fa32.0a3cf8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3423.5625915527344,
- "y": 1870.374755859375,
- "z": "73e537e.8932bc8",
+ "x": 3432.6250915527344,
+ "y": 1841.3816947937012,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "dc07a63a.07b3e8",
- "b8e4a7fe.f431d8",
- "cf52b92f.10a1a8"
+ "6eefc424.f5818c",
+ "a67f38fc.2aa6f8",
+ "a6171c84.8f453"
]
]
},
{
- "id": "b8e4a7fe.f431d8",
+ "id": "a67f38fc.2aa6f8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3589.5623474121094,
- "y": 1836.374755859375,
- "z": "73e537e.8932bc8",
+ "x": 3598.6248474121094,
+ "y": 1807.3816947937012,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "dc07a63a.07b3e8",
+ "id": "6eefc424.f5818c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3594.562225341797,
- "y": 1931.3748168945312,
- "z": "73e537e.8932bc8",
+ "x": 3603.624725341797,
+ "y": 1902.3817558288574,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "bbe2b1be.4721c",
+ "id": "9ccf28a9.229118",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 3578.562225341797,
- "y": 2017.375,
- "z": "73e537e.8932bc8",
+ "x": 3587.624725341797,
+ "y": 1988.3819389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "dbdffb78.99de48",
+ "id": "97dc56cc.61aa88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3432.5623474121094,
- "y": 2018.3747584819794,
- "z": "73e537e.8932bc8",
+ "x": 3441.6248474121094,
+ "y": 1989.3816974163055,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "bbe2b1be.4721c"
+ "9ccf28a9.229118"
]
]
},
{
- "id": "e9376312.2afc9",
+ "id": "cbfb7182.04192",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3264.5623474121094,
- "y": 2021.374755859375,
- "z": "73e537e.8932bc8",
+ "x": 3273.6248474121094,
+ "y": 1992.3816947937012,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "dbdffb78.99de48"
+ "97dc56cc.61aa88"
]
]
},
{
- "id": "738ca283.54ba9c",
+ "id": "4af74b2.0c4c3b4",
"type": "execute",
"name": "get PLMNId URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 646.2500305175781,
- "y": 661.8750114440918,
- "z": "73e537e.8932bc8",
+ "x": 655.3125305175781,
+ "y": 632.881950378418,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "c80b56a5.99a988",
+ "id": "78a81d70.8057c4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 619.7500305175781,
- "y": 717.3750429153442,
- "z": "73e537e.8932bc8",
+ "x": 628.8125305175781,
+ "y": 688.3819818496704,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "1c09cf50.00c361",
+ "id": "3140a69b.5ea20a",
"type": "execute",
"name": "Get PLMN from Sliceprofile id",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 688.5000152587891,
- "y": 770.874979019165,
- "z": "73e537e.8932bc8",
+ "x": 697.5625152587891,
+ "y": 741.8819179534912,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "20d20dea.8129f2",
+ "id": "5d00062a.743238",
"type": "execute",
"name": "read PLMN Id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`getPLMN-configdb-response.pLMNId`\" />\n",
+ "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": 641.5000076293945,
- "y": 828.8750276565552,
- "z": "73e537e.8932bc8",
+ "x": 650.5625076293945,
+ "y": 780.9931592941284,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "a16a753b.c1e978",
+ "id": "f8eadf29.5ba87",
"type": "execute",
"name": "find MCC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
"comments": "",
"outputs": 1,
- "x": 634.7500152587891,
- "y": 888.1250905990601,
- "z": "73e537e.8932bc8",
+ "x": 636.0347518920898,
+ "y": 818.0209217071533,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "ef19e8dd.548808",
+ "id": "8900b25a.4b727",
"type": "execute",
"name": "find MNC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
"comments": "",
"outputs": 1,
- "x": 634.7500686645508,
- "y": 939.1249685287476,
- "z": "73e537e.8932bc8",
+ "x": 632.701488494873,
+ "y": 856.7986507415771,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "b72487f2.f75598",
+ "id": "65561a2a.1348f4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 631.743537902832,
- "y": 996.118483543396,
- "z": "73e537e.8932bc8",
+ "x": 621.9171524047852,
+ "y": 891.5699234008789,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "cf52b92f.10a1a8",
+ "id": "a6171c84.8f453",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4067.5,
- "y": 1668.9285888671875,
- "z": "73e537e.8932bc8",
+ "x": 4076.5625,
+ "y": 1639.9355278015137,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "862727fd.1c2328",
- "ba2f13e6.fb244",
- "48d208ea.6b73a8"
+ "8e9200a7.f3da9",
+ "60414092.28506",
+ "f9a7f02e.efe6e"
]
]
},
{
- "id": "862727fd.1c2328",
+ "id": "8e9200a7.f3da9",
"type": "set",
"name": "set tmp variables for SO response",
- "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$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.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": 4446.643783569336,
- "y": 1526.5425758361816,
- "z": "73e537e.8932bc8",
+ "x": 4455.706283569336,
+ "y": 1497.5495147705078,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "ba2f13e6.fb244",
+ "id": "60414092.28506",
"type": "record",
- "name": "record configdb RestAPI parms",
+ "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": 4450.214241027832,
- "y": 1592.2146625518799,
- "z": "73e537e.8932bc8",
+ "x": 4459.276741027832,
+ "y": 1563.221601486206,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "48d208ea.6b73a8",
+ "id": "f9a7f02e.efe6e",
"type": "execute",
"name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-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\"/>",
+ "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": 4376.642807006836,
- "y": 1670.6432371139526,
- "z": "73e537e.8932bc8",
+ "x": 4385.705307006836,
+ "y": 1641.6501760482788,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "866030e9.b444e",
- "4f0f6de5.73b094"
+ "31d39151.3906ae",
+ "aaf60ba7.09e9d8"
]
]
},
{
- "id": "866030e9.b444e",
+ "id": "31d39151.3906ae",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4614.071365356445,
- "y": 1653.3572883605957,
- "z": "73e537e.8932bc8",
+ "x": 4623.133865356445,
+ "y": 1624.3642272949219,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "52d6b739.76f9c8"
+ "4210cf15.8783e"
]
]
},
{
- "id": "52d6b739.76f9c8",
+ "id": "4210cf15.8783e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4806.499732971191,
- "y": 1644.071725845337,
- "z": "73e537e.8932bc8",
+ "x": 4815.562232971191,
+ "y": 1615.078664779663,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "cb07e63f.970f58"
+ "55c1344c.aee6bc"
]
]
},
{
- "id": "cb07e63f.970f58",
+ "id": "55c1344c.aee6bc",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
"comments": "",
- "x": 5008.2136154174805,
- "y": 1632.785837650299,
- "z": "73e537e.8932bc8",
+ "x": 5017.2761154174805,
+ "y": 1603.7927765846252,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "589e3583.45b27c",
+ "id": "7bc0e6d8.a66c08",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 5002.35689163208,
- "y": 1707.785903930664,
- "z": "73e537e.8932bc8",
+ "x": 5011.41939163208,
+ "y": 1678.7928428649902,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "e5f066ec.ee08a8",
+ "id": "26cbe59.d88ae1a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4818.356742858887,
- "y": 1713.2143459320068,
- "z": "73e537e.8932bc8",
+ "x": 4827.419242858887,
+ "y": 1684.221284866333,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "589e3583.45b27c"
+ "7bc0e6d8.a66c08"
]
]
},
{
- "id": "4f0f6de5.73b094",
+ "id": "aaf60ba7.09e9d8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4608.356689453125,
- "y": 1717.071584701538,
- "z": "73e537e.8932bc8",
+ "x": 4617.419189453125,
+ "y": 1688.0785236358643,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "e5f066ec.ee08a8"
+ "26cbe59.d88ae1a"
]
]
},
{
- "id": "8eaff649.12a058",
+ "id": "fb4912a7.ac9d6",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 615,
- "y": 1646.0714111328125,
- "z": "73e537e.8932bc8",
+ "x": 624.0625,
+ "y": 1617.0783500671387,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "e7d5db02.65b2d8",
- "dad1b3aa.d6985",
- "e85cda54.0fe538",
- "b91c3aef.b188c8"
+ "20a36079.64749",
+ "180c33be.f7820c",
+ "e7a8f76c.47e418",
+ "b811c19e.c0b97"
]
]
},
{
- "id": "e85cda54.0fe538",
+ "id": "e7a8f76c.47e418",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$activate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$activate-r-a-n-slice-input.action`\"/>\n",
"comments": "",
- "x": 895.0011444091797,
- "y": 1495.970895767212,
- "z": "73e537e.8932bc8",
+ "x": 904.0636444091797,
+ "y": 1466.977834701538,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "e7d5db02.65b2d8",
+ "id": "20a36079.64749",
"type": "record",
"name": "record SO reply parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
"comments": "",
"outputs": 1,
- "x": 891.9999771118164,
- "y": 1650.0715942382812,
- "z": "73e537e.8932bc8",
+ "x": 901.0624771118164,
+ "y": 1621.0785331726074,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "dad1b3aa.d6985",
+ "id": "180c33be.f7820c",
"type": "execute",
"name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "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": 761.0000762939453,
- "y": 1767.0712985992432,
- "z": "73e537e.8932bc8",
+ "x": 770.0625762939453,
+ "y": 1738.0782375335693,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "2999f62a.11666a",
- "a0ffbca7.ce015"
+ "43a1e0f6.d9bce",
+ "f0514958.091e68"
]
]
},
{
- "id": "2999f62a.11666a",
+ "id": "43a1e0f6.d9bce",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 926.0000762939453,
- "y": 1747.0712976455688,
- "z": "73e537e.8932bc8",
+ "x": 935.0625762939453,
+ "y": 1718.078236579895,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "77937eda.00d3c"
+ "49ed0881.ebce78"
]
]
},
{
- "id": "a0ffbca7.ce015",
+ "id": "f0514958.091e68",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 917.9999694824219,
- "y": 1820.0712480545044,
- "z": "73e537e.8932bc8",
+ "x": 927.0624694824219,
+ "y": 1791.0781869888306,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "bbd0fc65.b213e"
+ "f9269895.b3ab48"
]
]
},
{
- "id": "bbd0fc65.b213e",
+ "id": "f9269895.b3ab48",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1063.999813079834,
- "y": 1825.0713567733765,
- "z": "73e537e.8932bc8",
+ "x": 1073.062313079834,
+ "y": 1796.0782957077026,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "3b8c718a.3fa84e"
+ "e63686ba.7af778"
]
]
},
{
- "id": "77937eda.00d3c",
+ "id": "49ed0881.ebce78",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1074.9999771118164,
- "y": 1743.0714330673218,
- "z": "73e537e.8932bc8",
+ "x": 1084.0624771118164,
+ "y": 1714.078372001648,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "88a2ea8a.397928",
- "f5257e8c.2252a"
+ "f2eb4484.4e2e78",
+ "911b190b.fc87a8"
]
]
},
{
- "id": "88a2ea8a.397928",
+ "id": "f2eb4484.4e2e78",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
"comments": "",
- "x": 1221.9995956420898,
- "y": 1754.071174621582,
- "z": "73e537e.8932bc8",
+ "x": 1231.0620956420898,
+ "y": 1725.0781135559082,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "3b8c718a.3fa84e",
+ "id": "e63686ba.7af778",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 1224.9997329711914,
- "y": 1831.0712490081787,
- "z": "73e537e.8932bc8",
+ "x": 1234.0622329711914,
+ "y": 1802.0781879425049,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "f5257e8c.2252a",
+ "id": "911b190b.fc87a8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1209.5102043151855,
- "y": 1658.0606660842896,
- "z": "73e537e.8932bc8",
+ "x": 1218.5727043151855,
+ "y": 1629.0676050186157,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "b91c3aef.b188c8",
+ "id": "b811c19e.c0b97",
"type": "execute",
"name": "generate URL for SO Callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.so.callbackURL`\"/>\n <parameter name=\"outputPath\" value=\"tmp.so.callbackURL\"/>\n <parameter name=\"target\" value=\"{requestId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.requestID`\"/>",
"comments": "",
"outputs": 1,
- "x": 914.339599609375,
- "y": 1586.0567483901978,
- "z": "73e537e.8932bc8",
+ "x": 923.402099609375,
+ "y": 1557.063687324524,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "f53bf76b.8dba48",
+ "id": "82a44f57.da628",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
"comments": "",
- "x": 272.5,
- "y": 1162.5,
- "z": "73e537e.8932bc8",
+ "x": 281.5625,
+ "y": 1133.5069389343262,
+ "z": "97d36d8.2debe9",
"wires": []
+ },
+ {
+ "id": "4a7507d.20e03f8",
+ "type": "execute",
+ "name": "read RIC list size",
+ "xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 650.5555038452148,
+ "y": 924.1666088104248,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b883fc7d.48bca",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1864.9999084472656,
+ "y": 715.8334693908691,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "621e175.0404ae8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"pLMNInfoList_length \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1864.9999465942383,
+ "y": 806.9444789886475,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3eb11b00.e80194",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo exists\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2324.9998474121094,
+ "y": 754.1666450500488,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e76bc3c0.0edf5",
+ "type": "execute",
+ "name": "read nearRTRICID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].nearRTRICId'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 797.4999923706055,
+ "y": 956.6665782928467,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d74aea1d.4971f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 605.2777404785156,
+ "y": 973.3332710266113,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "e76bc3c0.0edf5"
+ ]
+ ]
+ },
+ {
+ "id": "5c9636da.117878",
+ "type": "execute",
+ "name": "prepare nearRTRICId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1994.1665954589844,
+ "y": 1158.888874053955,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "486c8988.17b4e8",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1990.8332214355469,
+ "y": 1235.5555000305176,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf837fb7.24118",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1987.4998474121094,
+ "y": 1268.888874053955,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d9bbd55.ba7582",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $idz +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2068.3333435058594,
+ "y": 941.1110382080078,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7229bf20.efefc",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1918.2223739624023,
+ "y": 976.8888721466064,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "65eb3275.4c544c",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1930.4446182250977,
+ "y": 1016.9999618530273,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "7bbbd8d9.770108",
+ "1af10d7a.4d0d53"
+ ]
+ ]
+ },
+ {
+ "id": "7bbbd8d9.770108",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2112.139148712158,
+ "y": 996.1112003326416,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "c41e3776.a23bb8"
+ ]
+ ]
+ },
+ {
+ "id": "ddf97987.753eb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1719.4443054199219,
+ "y": 1001.1110420227051,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "2d9bbd55.ba7582",
+ "7229bf20.efefc",
+ "65eb3275.4c544c"
+ ]
+ ]
+ },
+ {
+ "id": "1af10d7a.4d0d53",
+ "type": "outcome",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2292.7776794433594,
+ "y": 967.7777290344238,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "a81fcade.879b78"
+ ]
+ ]
+ },
+ {
+ "id": "a81fcade.879b78",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI doesn't match\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2432.7777366638184,
+ "y": 957.77769947052,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6b23bbb4.2f26d4",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DUpLMNInfoList_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.DUpLMNInfoList_length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2368.3333435058594,
+ "y": 1391.111042022705,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5789652a.13621c",
+ "type": "execute",
+ "name": "read cell id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1883.8888397216797,
+ "y": 663.3332815170288,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9950a6b.7600558",
+ "type": "execute",
+ "name": "read cellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1963.0555114746094,
+ "y": 1366.6665840148926,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8d198da6.7e824",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1962.430191040039,
+ "y": 1401.978964805603,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf85911.dc4117",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 666.6666641235352,
+ "y": 411.1110854148865,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "38c79f73.134ec",
+ "5289e4ce.19e78c"
+ ]
+ ]
+ },
+ {
+ "id": "38c79f73.134ec",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 894.1666603088379,
+ "y": 356.6666889190674,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "ac6ed2b3.1ec52"
+ ]
+ ]
+ },
+ {
+ "id": "5289e4ce.19e78c",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 896.3888053894043,
+ "y": 415.5555763244629,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "c4bdd35a.798ee"
+ ]
+ ]
+ },
+ {
+ "id": "30c722b5.e2114e",
+ "type": "set",
+ "name": "set status as ACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
+ "comments": "",
+ "x": 1348.6112327575684,
+ "y": 326.66665267944336,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "c5cc134f.3ffc2",
+ "type": "set",
+ "name": "set status as INACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
+ "comments": "",
+ "x": 1323.055576324463,
+ "y": 360.0000066757202,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "ac6ed2b3.1ec52",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1104.166660308838,
+ "y": 344.4443988800049,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "30c722b5.e2114e"
+ ]
+ ]
+ },
+ {
+ "id": "c4bdd35a.798ee",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1100.8334045410156,
+ "y": 401.1111273765564,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "c5cc134f.3ffc2"
+ ]
+ ]
}
] \ 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 b93f483d..05fa5395 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": "a42289ba.f91ed8",
+ "id": "67a77d09.005634",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSlice' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 734.375,
- "y": 230.9375,
- "z": "902b25ae.7c3098",
+ "x": 233.0555419921875,
+ "y": 316.9895782470703,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "1046083a.925388"
+ "42dd709f.aad4b"
]
]
},
{
- "id": "b74501c3.c1b28",
+ "id": "6123ff94.6f1ca",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 737.375,
- "y": 80.93749618530273,
- "z": "902b25ae.7c3098",
+ "x": 236.0555419921875,
+ "y": 166.98957443237305,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "bbd24351.afb32"
+ "6c8850d4.ad19d"
]
]
},
{
- "id": "bbd24351.afb32",
+ "id": "6c8850d4.ad19d",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,1023 +38,1102 @@
"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": 795.3749847412109,
- "y": 141.93759155273438,
- "z": "902b25ae.7c3098",
+ "x": 294.05552673339844,
+ "y": 227.9896697998047,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "a42289ba.f91ed8"
+ "67a77d09.005634"
]
]
},
{
- "id": "1046083a.925388",
+ "id": "42dd709f.aad4b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 743.8645973205566,
- "y": 395.9375410079956,
- "z": "902b25ae.7c3098",
+ "x": 242.54513931274414,
+ "y": 481.9896192550659,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "3954f1bc.d5ae1e",
- "a9256fac.7a667",
- "1c74dac0.89ed85",
- "e8aa052e.4a08a8",
- "3ebac649.d77a3a",
- "764bab41.3fba94",
- "53ac0b9a.a04824",
- "9da0386c.caad58",
- "1020a2c3.72f18d"
+ "9f2f24a2.745ca8",
+ "860cc46e.fa7f88",
+ "64a49a6.5b4e364",
+ "ef84eb20.c4e448",
+ "1bfe8353.4be83d",
+ "3d941794.9e7798",
+ "34c03b26.8a2e14",
+ "85f34d57.c700f",
+ "1e555148.2d405f"
]
]
},
{
- "id": "9da0386c.caad58",
+ "id": "85f34d57.c700f",
"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": 1003.8645858764648,
- "y": 941.9379072189331,
- "z": "902b25ae.7c3098",
+ "x": 502.54512786865234,
+ "y": 1027.9899854660034,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "7af33bee.afa794",
+ "id": "4bd5cb1a.ab54f4",
"type": "comment",
"name": "instantiateRANSlice",
"info": "",
"comments": "",
- "x": 1019.375,
- "y": 73.94791030883789,
- "z": "902b25ae.7c3098",
+ "x": 518.0555419921875,
+ "y": 159.9999885559082,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "3954f1bc.d5ae1e",
+ "id": "9f2f24a2.745ca8",
"type": "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": 1077.3753356933594,
- "y": 124.95837020874023,
- "z": "902b25ae.7c3098",
+ "x": 576.0558776855469,
+ "y": 211.01044845581055,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "1c74dac0.89ed85",
+ "id": "64a49a6.5b4e364",
"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": 1126.3750915527344,
- "y": 213.95833778381348,
- "z": "902b25ae.7c3098",
+ "x": 625.0556335449219,
+ "y": 300.0104160308838,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "8d28b750.83f4c8"
+ "2297220f.d1d1de"
]
]
},
{
- "id": "8d28b750.83f4c8",
+ "id": "2297220f.d1d1de",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1354.3751029968262,
- "y": 193.95835304260254,
- "z": "902b25ae.7c3098",
+ "x": 853.0556449890137,
+ "y": 280.01043128967285,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "4c1bf053.4c578"
+ "5b1157ca.74ff08"
]
]
},
{
- "id": "f29bd4c7.9d4768",
+ "id": "5d49c24f.5762cc",
"type": "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": 1697.3752765655518,
- "y": 200.95838165283203,
- "z": "902b25ae.7c3098",
+ "x": 1196.0558185577393,
+ "y": 287.01045989990234,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "e8aa052e.4a08a8",
+ "id": "ef84eb20.c4e448",
"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": 1108.3750534057617,
- "y": 298.95829486846924,
- "z": "902b25ae.7c3098",
+ "x": 607.0555953979492,
+ "y": 385.01037311553955,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "3ebac649.d77a3a",
+ "id": "1bfe8353.4be83d",
"type": "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": 1087.3750953674316,
- "y": 347.9583377838135,
- "z": "902b25ae.7c3098",
+ "x": 586.0556373596191,
+ "y": 434.0104160308838,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "764bab41.3fba94",
+ "id": "3d941794.9e7798",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 1077.3750839233398,
- "y": 638.8471822738647,
- "z": "902b25ae.7c3098",
+ "x": 576.0556259155273,
+ "y": 724.8992605209351,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "97f3e84.1370918"
+ "8cd8cd55.d7bc8"
]
]
},
{
- "id": "97f3e84.1370918",
+ "id": "8cd8cd55.d7bc8",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1149.3751487731934,
- "y": 835.8472061157227,
- "z": "902b25ae.7c3098",
+ "x": 648.0556907653809,
+ "y": 921.899284362793,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "c01f23a6.dc70c"
+ "afc265fa.6d0098"
]
]
},
{
- "id": "a9256fac.7a667",
+ "id": "860cc46e.fa7f88",
"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": 1126.3750915527344,
- "y": 172.95838737487793,
- "z": "902b25ae.7c3098",
+ "x": 625.0556335449219,
+ "y": 259.01046562194824,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "cc7294d8.84b948",
+ "id": "39f5c467.099a5c",
"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": 1715.3752746582031,
- "y": 134.95835399627686,
- "z": "902b25ae.7c3098",
+ "x": 1214.0558166503906,
+ "y": 221.01043224334717,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "4c1bf053.4c578",
+ "id": "5b1157ca.74ff08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1523.3751907348633,
- "y": 168.95835137367249,
- "z": "902b25ae.7c3098",
+ "x": 1022.0557327270508,
+ "y": 255.0104296207428,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "cc7294d8.84b948",
- "f29bd4c7.9d4768"
+ "39f5c467.099a5c",
+ "5d49c24f.5762cc"
]
]
},
{
- "id": "5f4a9dbe.e82784",
+ "id": "9dd7ad7.69d2b5",
"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]`'/>",
"comments": "",
- "x": 1967.3753280639648,
- "y": 374.95836782455444,
- "z": "902b25ae.7c3098",
+ "x": 1466.0558700561523,
+ "y": 461.01044607162476,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "c01f23a6.dc70c",
+ "id": "afc265fa.6d0098",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1292.3750381469727,
- "y": 740.9479293823242,
- "z": "902b25ae.7c3098",
+ "x": 791.0555801391602,
+ "y": 827.0000076293945,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "bb5455ce.e3dd28"
+ "a3e93025.2a3d6"
]
]
},
{
- "id": "53ac0b9a.a04824",
+ "id": "34c03b26.8a2e14",
"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": 1100.375015258789,
- "y": 257.94793701171875,
- "z": "902b25ae.7c3098",
+ "x": 599.0555572509766,
+ "y": 344.00001525878906,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "62dc21e3.7ba4",
+ "id": "a5c3d67d.ddc678",
"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": 2011.3857421875,
- "y": 468.95837020874023,
- "z": "902b25ae.7c3098",
+ "x": 2010.0662994384766,
+ "y": 541.0104551315308,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "3760fa0c.ea30a6",
+ "id": "1cb6911c.4db33f",
"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": 2017.3857955932617,
- "y": 511.95833110809326,
- "z": "902b25ae.7c3098",
+ "x": 2014.0662994384766,
+ "y": 588.010401725769,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "a38369ec.dbae38",
+ "id": "cea48eef.d485d",
"type": "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": 1920.379295349121,
- "y": 565.9517955780029,
- "z": "902b25ae.7c3098",
+ "x": 1419.0598373413086,
+ "y": 652.0038738250732,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "ff988ad6.f70e48",
+ "id": "7f2af55a.f1dc2c",
"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": 1374.375,
- "y": 112.94791030883789,
- "z": "902b25ae.7c3098",
+ "x": 873.0555419921875,
+ "y": 198.9999885559082,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "bb5455ce.e3dd28",
+ "id": "a3e93025.2a3d6",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 1477.3854866027832,
- "y": 812.9583761692047,
- "z": "902b25ae.7c3098",
+ "x": 976.0660285949707,
+ "y": 899.010454416275,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "7cd86870.ac51d8",
- "a0cb91cf.e7199",
- "4da876a.2e36888",
- "6d94c593.9d6dac"
+ "d9af500b.00472",
+ "b756919a.6a42b",
+ "e378e31b.1eb2d",
+ "551ef603.0c3e58"
]
]
},
{
- "id": "7cd86870.ac51d8",
+ "id": "d9af500b.00472",
"type": "outcome",
"name": "allocate",
"xml": "<outcome value='allocate'>",
"comments": "",
"outputs": 1,
- "x": 1705.385498046875,
- "y": 686.8472595214844,
- "z": "902b25ae.7c3098",
+ "x": 1204.0660400390625,
+ "y": 772.8993377685547,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "7b2f6de.f14e394"
+ "9289244a.4c4bb8"
]
]
},
{
- "id": "a0cb91cf.e7199",
+ "id": "b756919a.6a42b",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 1715.0997695922852,
- "y": 762.34730219841,
- "z": "902b25ae.7c3098",
+ "x": 1213.7803115844727,
+ "y": 848.3993804454803,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "799f4e27.f8f1a"
+ "a4fc78c7.329648"
]
]
},
{
- "id": "4da876a.2e36888",
+ "id": "e378e31b.1eb2d",
"type": "outcome",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 1722.4568710327148,
- "y": 852.4901256561279,
- "z": "902b25ae.7c3098",
+ "x": 1221.1374130249023,
+ "y": 938.5422039031982,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "1786651.48d4b9b"
+ "b302bef7.3fda8"
]
]
},
{
- "id": "6d94c593.9d6dac",
+ "id": "551ef603.0c3e58",
"type": "outcome",
"name": "reconfigure",
"xml": "<outcome value='reconfigure'>",
"comments": "",
"outputs": 1,
- "x": 1694.4568710327148,
- "y": 935.5259351730347,
- "z": "902b25ae.7c3098",
+ "x": 1193.1374130249023,
+ "y": 1021.578013420105,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "50c21a5e.8e7934"
+ "6c87ccb6.788e84"
]
]
},
{
- "id": "7b2f6de.f14e394",
+ "id": "9289244a.4c4bb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1918.374864578247,
- "y": 670.9479494094849,
- "z": "902b25ae.7c3098",
+ "x": 1417.0554065704346,
+ "y": 757.0000276565552,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "df2d571d.4eda38",
- "fef64c42.832fa"
+ "884c04b0.09e5f8",
+ "ab24a43a.308598"
]
]
},
{
- "id": "799f4e27.f8f1a",
+ "id": "a4fc78c7.329648",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1938.5893173217773,
- "y": 766.4480323791504,
- "z": "902b25ae.7c3098",
+ "x": 1437.2698593139648,
+ "y": 852.5001106262207,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "2a4c84b3.b9568c",
- "b106e3dd.cbf93"
+ "28dcc680.4a597a",
+ "22cdbf7c.f7d3b"
]
]
},
{
- "id": "50c21a5e.8e7934",
+ "id": "6c87ccb6.788e84",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1926.196418762207,
- "y": 962.3766012191772,
- "z": "902b25ae.7c3098",
+ "x": 1424.8769607543945,
+ "y": 1048.4286794662476,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "a52ee994.bf73c8",
- "21feb381.e5eadc"
+ "9a8e2312.7ddf3",
+ "281ae2be.baaf4e"
]
]
},
{
- "id": "1786651.48d4b9b",
+ "id": "b302bef7.3fda8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1939.1249084472656,
- "y": 864.5909223556519,
- "z": "902b25ae.7c3098",
+ "x": 1437.8054504394531,
+ "y": 950.6430006027222,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "86386bfc.aabcf8",
- "507bd43f.c63d0c"
+ "52f79f06.a08b1",
+ "542603bc.4a91fc"
]
]
},
{
- "id": "df2d571d.4eda38",
+ "id": "884c04b0.09e5f8",
"type": "call",
"name": "call instantiateRANSliceAllocate",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceAllocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2206.6248474121094,
- "y": 659.697925567627,
- "z": "902b25ae.7c3098",
+ "x": 1705.3053894042969,
+ "y": 745.7500038146973,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "295d45ee.e6da2a"
+ "cb46a7e0.44b9c8"
]
]
},
{
- "id": "295d45ee.e6da2a",
+ "id": "cb46a7e0.44b9c8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2472.481979370117,
- "y": 668.2693681716919,
- "z": "902b25ae.7c3098",
+ "x": 1971.1625213623047,
+ "y": 754.3214464187622,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "5a602958.c62108"
+ "dc23f13e.76c39"
]
]
},
{
- "id": "5a602958.c62108",
+ "id": "dc23f13e.76c39",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2644.4819869995117,
- "y": 668.3765211105347,
- "z": "902b25ae.7c3098",
+ "x": 2143.162528991699,
+ "y": 754.428599357605,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "2a4c84b3.b9568c",
+ "id": "28dcc680.4a597a",
"type": "call",
"name": "call instantiateRANSliceModifyAllocate",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2231.0537719726562,
- "y": 769.6979684829712,
- "z": "902b25ae.7c3098",
+ "x": 1729.7343139648438,
+ "y": 855.7500467300415,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "899ea9f3.dad958"
+ "ee34f035.a9451"
]
]
},
{
- "id": "899ea9f3.dad958",
+ "id": "ee34f035.a9451",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2492.3394050598145,
- "y": 766.6979942321777,
- "z": "902b25ae.7c3098",
+ "x": 1991.019947052002,
+ "y": 852.750072479248,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "e682268a.ba31d8"
+ "fdb6ec76.bfbbf"
]
]
},
{
- "id": "e682268a.ba31d8",
+ "id": "fdb6ec76.bfbbf",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2660.910846710205,
- "y": 766.3765392303467,
- "z": "902b25ae.7c3098",
+ "x": 2159.5913887023926,
+ "y": 852.428617477417,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "a52ee994.bf73c8",
+ "id": "9a8e2312.7ddf3",
"type": "call",
"name": "call instantiateRANSliceReconfigure",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceReconfigure' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2219.1963424682617,
- "y": 961.9836597442627,
- "z": "902b25ae.7c3098",
+ "x": 1717.8768844604492,
+ "y": 1048.035737991333,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "381c40f8.293fe"
+ "186fc0ff.96087f"
]
]
},
{
- "id": "381c40f8.293fe",
+ "id": "186fc0ff.96087f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2475.4820671081543,
- "y": 961.9836854934692,
- "z": "902b25ae.7c3098",
+ "x": 1974.1626091003418,
+ "y": 1048.0357637405396,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "403c6dba.dcd824"
+ "c861f695.384618"
]
]
},
{
- "id": "403c6dba.dcd824",
+ "id": "c861f695.384618",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2644.053508758545,
- "y": 961.6622304916382,
- "z": "902b25ae.7c3098",
+ "x": 2142.7340507507324,
+ "y": 1047.7143087387085,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "86386bfc.aabcf8",
+ "id": "52f79f06.a08b1",
"type": "call",
"name": "call instantiateRANSliceModifyDeallocate",
"xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2212.339157104492,
- "y": 862.9836950302124,
- "z": "902b25ae.7c3098",
+ "x": 1711.0196990966797,
+ "y": 949.0357732772827,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "6b54182.5b947e8"
+ "4cf931ad.91319"
]
]
},
{
- "id": "6b54182.5b947e8",
+ "id": "4cf931ad.91319",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2490.9105796813965,
- "y": 861.5551490783691,
- "z": "902b25ae.7c3098",
+ "x": 1989.591121673584,
+ "y": 947.6072273254395,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "e63c12cd.7cb5d"
+ "6e71fce1.9048b4"
]
]
},
{
- "id": "e63c12cd.7cb5d",
+ "id": "6e71fce1.9048b4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2659.482021331787,
- "y": 861.2336940765381,
- "z": "902b25ae.7c3098",
+ "x": 2158.1625633239746,
+ "y": 947.2857723236084,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "7ef9313d.612ae",
+ "id": "802d2f45.cbb97",
"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": 1990.3753280639648,
- "y": 420.9479112625122,
- "z": "902b25ae.7c3098",
+ "x": 1489.0558700561523,
+ "y": 506.9999895095825,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "a14e0073.7591f",
+ "id": "37e405b4.395e2a",
"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": 953.3750228881836,
- "y": 1056.9479207992554,
- "z": "902b25ae.7c3098",
+ "x": 452.0555648803711,
+ "y": 1142.9999990463257,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "fef64c42.832fa",
+ "id": "ab24a43a.308598",
"type": "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": 2154.375015258789,
- "y": 599.9479513168335,
- "z": "902b25ae.7c3098",
+ "x": 1653.0555572509766,
+ "y": 686.0000295639038,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "b106e3dd.cbf93",
+ "id": "22cdbf7c.f7d3b",
"type": "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": 2136.374969482422,
- "y": 710.9479532241821,
- "z": "902b25ae.7c3098",
+ "x": 1635.0555114746094,
+ "y": 797.0000314712524,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "507bd43f.c63d0c",
+ "id": "542603bc.4a91fc",
"type": "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": 2130.374969482422,
- "y": 810.9479532241821,
- "z": "902b25ae.7c3098",
+ "x": 1629.0555114746094,
+ "y": 897.0000314712524,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "21feb381.e5eadc",
+ "id": "281ae2be.baaf4e",
"type": "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": 2130.374969482422,
- "y": 911.9479532241821,
- "z": "902b25ae.7c3098",
+ "x": 1629.0555114746094,
+ "y": 998.0000314712524,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "3543fc8a.5803f4",
+ "id": "1037fed9.060b91",
"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": 1569.3753509521484,
- "y": 270.614706993103,
- "z": "902b25ae.7c3098",
+ "x": 1068.055892944336,
+ "y": 356.66678524017334,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "84c8fb21.66b3f8",
- "d9638ed1.f83fa"
+ "696ea6a3.1ddef8",
+ "75abc41a.6f95dc"
]
]
},
{
- "id": "84c8fb21.66b3f8",
+ "id": "696ea6a3.1ddef8",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1788.3753623962402,
- "y": 249.61464405059814,
- "z": "902b25ae.7c3098",
+ "x": 1287.0559043884277,
+ "y": 335.66672229766846,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "7fc3106b.37318"
+ "60315b7.97b57a4"
]
]
},
{
- "id": "d9638ed1.f83fa",
+ "id": "75abc41a.6f95dc",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1747.3752746582031,
- "y": 343.61462593078613,
- "z": "902b25ae.7c3098",
+ "x": 1246.0558166503906,
+ "y": 429.66670417785645,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "93fbc19d.0d395"
+ "a8e66368.9d38f"
]
]
},
{
- "id": "93fbc19d.0d395",
+ "id": "a8e66368.9d38f",
"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": 1968.3750457763672,
- "y": 308.61462593078613,
- "z": "902b25ae.7c3098",
+ "x": 1467.0555877685547,
+ "y": 394.66670417785645,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "1e731d50.90a003"
+ "452fe256.38c78c"
]
]
},
{
- "id": "7fc3106b.37318",
+ "id": "60315b7.97b57a4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2223.375045776367,
- "y": 144.6146411895752,
- "z": "902b25ae.7c3098",
+ "x": 1722.0555877685547,
+ "y": 230.6667194366455,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "c667d854.f89768",
- "bc4e0a69.150ea8"
+ "69923b8f.84a204",
+ "eb24946f.4a1418"
]
]
},
{
- "id": "c667d854.f89768",
+ "id": "69923b8f.84a204",
"type": "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": 2446.3750534057617,
- "y": 103.61464023590088,
- "z": "902b25ae.7c3098",
+ "x": 1945.0555953979492,
+ "y": 189.6667184829712,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "1e731d50.90a003",
+ "id": "452fe256.38c78c",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2130.375045776367,
- "y": 230.61462354660034,
- "z": "902b25ae.7c3098",
+ "x": 1629.0555877685547,
+ "y": 316.66670179367065,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "4509f93a.f59658"
+ "8a6a374e.258778"
]
]
},
{
- "id": "4509f93a.f59658",
+ "id": "8a6a374e.258778",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2237.375373840332,
- "y": 345.61462783813477,
- "z": "902b25ae.7c3098",
+ "x": 1736.0559158325195,
+ "y": 431.6667060852051,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "cd2f192c.de72c8",
- "bc4e0a69.150ea8"
+ "56d45133.ccf3",
+ "eb24946f.4a1418"
]
]
},
{
- "id": "cd2f192c.de72c8",
+ "id": "56d45133.ccf3",
"type": "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": 2294.375373840332,
- "y": 234.61462306976318,
- "z": "902b25ae.7c3098",
+ "x": 1793.0559158325195,
+ "y": 320.6667013168335,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "bc4e0a69.150ea8",
+ "id": "eb24946f.4a1418",
"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": 2550.3753814697266,
- "y": 256.9479560852051,
- "z": "902b25ae.7c3098",
+ "x": 2049.055923461914,
+ "y": 343.0000343322754,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "1020a2c3.72f18d",
+ "id": "1e555148.2d405f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 970.3750839233398,
- "y": 411.94797134399414,
- "z": "902b25ae.7c3098",
+ "x": 469.05562591552734,
+ "y": 498.00004959106445,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "4be22bcf.cdc874"
+ "8d71a6f0.72c118"
]
]
},
{
- "id": "4be22bcf.cdc874",
+ "id": "8d71a6f0.72c118",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 1128.3856964111328,
- "y": 464.9583492279053,
- "z": "902b25ae.7c3098",
+ "x": 627.0662384033203,
+ "y": 551.0104274749756,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "79830245.09ca6c",
- "2193584b.8e2978",
- "68bf8236.225b6c",
- "f65ea17e.ee607"
+ "e96f98f4.acde48",
+ "e2e6a4e2.0774d8",
+ "3d31f07e.72eaf",
+ "af4578e1.7541b8"
]
]
},
{
- "id": "79830245.09ca6c",
+ "id": "e96f98f4.acde48",
"type": "outcome",
"name": "reconfigure",
"xml": "<outcome value='reconfigure'>",
"comments": "",
"outputs": 1,
- "x": 1345.4569129943848,
- "y": 324.5258836746216,
- "z": "902b25ae.7c3098",
+ "x": 844.1374549865723,
+ "y": 410.5779619216919,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "1e914a5a.c264a6"
+ "37ccc9.534a2338"
]
]
},
{
- "id": "1e914a5a.c264a6",
+ "id": "37ccc9.534a2338",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1452.196662902832,
- "y": 430.3765687942505,
- "z": "902b25ae.7c3098",
+ "x": 950.8772048950195,
+ "y": 516.4286470413208,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "3543fc8a.5803f4"
+ "1037fed9.060b91"
]
]
},
{
- "id": "572dea61.27f5f4",
+ "id": "731c9b35.165aa4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1641.0416793823242,
- "y": 523.9479312896729,
- "z": "902b25ae.7c3098",
+ "x": 1139.7222213745117,
+ "y": 610.0000095367432,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "5f4a9dbe.e82784",
- "7ef9313d.612ae",
- "62dc21e3.7ba4",
- "3760fa0c.ea30a6",
- "a38369ec.dbae38"
+ "9dd7ad7.69d2b5",
+ "802d2f45.cbb97",
+ "cea48eef.d485d",
+ "88a98036.31d9f"
]
]
},
{
- "id": "53e96e35.57ec1",
+ "id": "e10f5b24.675b48",
"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": 2940.375,
- "y": 264.9479103088379,
- "z": "902b25ae.7c3098",
+ "x": 2439.0555419921875,
+ "y": 350.9999885559082,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "2193584b.8e2978",
+ "id": "e2e6a4e2.0774d8",
"type": "outcome",
"name": "allocate",
"xml": "<outcome value='allocate'>",
"comments": "",
"outputs": 1,
- "x": 1407.0417098999023,
- "y": 491.2812671661377,
- "z": "902b25ae.7c3098",
+ "x": 905.7222518920898,
+ "y": 577.333345413208,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "572dea61.27f5f4"
+ "731c9b35.165aa4"
]
]
},
{
- "id": "68bf8236.225b6c",
+ "id": "3d31f07e.72eaf",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 1396.7560653686523,
- "y": 536.7813091278076,
- "z": "902b25ae.7c3098",
+ "x": 895.4366073608398,
+ "y": 622.8333873748779,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "572dea61.27f5f4"
+ "731c9b35.165aa4"
]
]
},
{
- "id": "f65ea17e.ee607",
+ "id": "af4578e1.7541b8",
"type": "outcome",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 1381.1131629943848,
- "y": 601.9241027832031,
- "z": "902b25ae.7c3098",
+ "x": 879.7937049865723,
+ "y": 687.9761810302734,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "572dea61.27f5f4"
+ "731c9b35.165aa4"
]
]
+ },
+ {
+ "id": "88a98036.31d9f",
+ "type": "switchNode",
+ "name": "check PLMNId",
+ "xml": "<switch test='`$tmp.payload.pLMNId`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1382.8055419921875,
+ "y": 590.7499885559082,
+ "z": "cf6cf6b0.bb1328",
+ "wires": [
+ [
+ "271f245d.f4d05c",
+ "531292ed.957f9c"
+ ]
+ ]
+ },
+ {
+ "id": "ac735917.92f0c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1756.5556564331055,
+ "y": 571.7499952316284,
+ "z": "cf6cf6b0.bb1328",
+ "wires": [
+ [
+ "a5c3d67d.ddc678",
+ "1cb6911c.4db33f"
+ ]
+ ]
+ },
+ {
+ "id": "271f245d.f4d05c",
+ "type": "outcome",
+ "name": "not null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1577.5555419921875,
+ "y": 580.7499885559082,
+ "z": "cf6cf6b0.bb1328",
+ "wires": [
+ [
+ "19f708dc.db11e7"
+ ]
+ ]
+ },
+ {
+ "id": "531292ed.957f9c",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1571.3055419921875,
+ "y": 630.7499885559082,
+ "z": "cf6cf6b0.bb1328",
+ "wires": [
+ [
+ "ac735917.92f0c8"
+ ]
+ ]
+ },
+ {
+ "id": "19f708dc.db11e7",
+ "type": "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",
+ "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 05f2a9fa..b598cd00 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": "9b55580c.dc7868",
+ "id": "9f2c8848.941158",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceAllocate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 519.6875,
- "y": 162.1875,
- "z": "902b25ae.7c3098",
+ "x": 523.0555419921875,
+ "y": 225.00002098083496,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "acdac80e.5e42e8"
+ "f1a8bdb1.4abd9"
]
]
},
{
- "id": "4d472553.b1ccac",
+ "id": "378a3415.92387c",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 143.68749618530273,
- "y": 67.18747234344482,
- "z": "902b25ae.7c3098",
+ "x": 147.05553817749023,
+ "y": 129.99999332427979,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "bcc30cd5.e5721"
+ "738151b6.dbf21"
]
]
},
{
- "id": "bcc30cd5.e5721",
+ "id": "738151b6.dbf21",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,6011 +38,6323 @@
"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": 276.6874694824219,
- "y": 164.18755340576172,
- "z": "902b25ae.7c3098",
+ "x": 280.0555114746094,
+ "y": 227.00007438659668,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "9b55580c.dc7868"
+ "9f2c8848.941158"
]
]
},
{
- "id": "7cb7391a.ea19a8",
+ "id": "8e31db94.e70678",
"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": 205.1771240234375,
- "y": 1105.1877908706665,
- "z": "902b25ae.7c3098",
+ "x": 434.48983097076416,
+ "y": 2724.5283212661743,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "8c61fa98.9efce8",
+ "id": "dc521c43.e97f1",
"type": "comment",
"name": "instantiateRANSliceAllocate",
"info": "",
"comments": "",
- "x": 488.6875,
- "y": 104.19787216186523,
- "z": "902b25ae.7c3098",
+ "x": 492.0555419921875,
+ "y": 167.0103931427002,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "7c37311a.46de7",
+ "id": "8e4a2db8.c53ca",
"type": "block",
"name": "Get NRT RIC Details",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1772.6875343322754,
- "y": 203.0971794128418,
- "z": "902b25ae.7c3098",
+ "x": 1776.055576324463,
+ "y": 265.90970039367676,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "5c0edd59.54cef4",
- "9e5d517d.2afd1",
- "ee3e4e58.ed089"
+ "9b0b0392.8b2b8",
+ "e94237f8.1ce468",
+ "20705ea5.523742"
]
]
},
{
- "id": "5c0edd59.54cef4",
+ "id": "9b0b0392.8b2b8",
"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": 2133.6875,
- "y": 149.09719848632812,
- "z": "902b25ae.7c3098",
+ "x": 2137.0555419921875,
+ "y": 211.9097194671631,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "9e5d517d.2afd1",
+ "id": "e94237f8.1ce468",
"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": 2130.6876258850098,
- "y": 214.09716892242432,
- "z": "902b25ae.7c3098",
+ "x": 2134.0556678771973,
+ "y": 276.9096899032593,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ee3e4e58.ed089",
+ "id": "20705ea5.523742",
"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": 2099.6877250671387,
- "y": 292.0972080230713,
- "z": "902b25ae.7c3098",
+ "x": 2103.055767059326,
+ "y": 354.90972900390625,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e168ab22.35af68",
- "4a09228b.75779c"
+ "2a5ff5c7.b1901a",
+ "791ce4e6.ed784c"
]
]
},
{
- "id": "e168ab22.35af68",
+ "id": "2a5ff5c7.b1901a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2330.6875648498535,
- "y": 234.09719944000244,
- "z": "902b25ae.7c3098",
+ "x": 2334.055606842041,
+ "y": 296.9097204208374,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e9923685.fe42d8"
+ "f7497148.1d4a3"
]
]
},
{
- "id": "4a09228b.75779c",
+ "id": "791ce4e6.ed784c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2327.6875038146973,
- "y": 333.0970878601074,
- "z": "902b25ae.7c3098",
+ "x": 2331.0555458068848,
+ "y": 395.9096088409424,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "527357e4.7db0d8"
+ "482e118d.af585"
]
]
},
{
- "id": "e9923685.fe42d8",
+ "id": "f7497148.1d4a3",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2535.6876068115234,
- "y": 183.09724044799805,
- "z": "902b25ae.7c3098",
+ "x": 2539.055648803711,
+ "y": 245.909761428833,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "885c8e67.f3093",
- "fccad887.77f638",
- "b1d10830.075248"
+ "ca91aeec.22916",
+ "9147804f.28151",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "527357e4.7db0d8",
+ "id": "482e118d.af585",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2476.687349319458,
- "y": 326.09722232818604,
- "z": "902b25ae.7c3098",
+ "x": 2480.0553913116455,
+ "y": 388.909743309021,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "372c69da.d08e66",
- "dc0b962f.fe79d8"
+ "7c8adbfc.edc104",
+ "8d754ac1.e35a18"
]
]
},
{
- "id": "885c8e67.f3093",
+ "id": "ca91aeec.22916",
"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.687240600586,
- "y": 269.0972056388855,
- "z": "902b25ae.7c3098",
+ "x": 2554.0552825927734,
+ "y": 331.90972661972046,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "372c69da.d08e66",
+ "id": "7c8adbfc.edc104",
"type": "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": 2606.6871643066406,
- "y": 326.09720611572266,
- "z": "902b25ae.7c3098",
+ "x": 2610.055206298828,
+ "y": 388.9097270965576,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "fccad887.77f638",
+ "id": "9147804f.28151",
"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": 2649.6873054504395,
- "y": 108.20828056335449,
- "z": "902b25ae.7c3098",
+ "x": 2653.055347442627,
+ "y": 171.02080154418945,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "dc0b962f.fe79d8",
+ "id": "8d754ac1.e35a18",
"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": 2594.465389251709,
- "y": 380.0972194671631,
- "z": "902b25ae.7c3098",
+ "x": 2597.8334312438965,
+ "y": 442.90974044799805,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c571f1cb.9bec7",
+ "id": "a97a496a.e7a168",
"type": "for",
"name": "For ConfigDB Entries",
"xml": "<for index='id1' start='0' end=\"`$getRIC-configdb-response._length`\" >",
"comments": "",
"outputs": 1,
- "x": 1285.687587738037,
- "y": 2023.1981143951416,
- "z": "902b25ae.7c3098",
+ "x": 1289.0556297302246,
+ "y": 2086.0106353759766,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "6eaee2f0.3a641c",
- "acdc7000.c7b38",
- "61110f78.23196",
- "6ff3ec5.6618514",
- "7a5b63bc.bc8eac",
- "f234e7a5.4abc18",
- "821e1619.c04cd8",
- "1854a4d1.e4860b"
+ "804cd349.0738c",
+ "f69f8374.0a2af",
+ "f51ea9d3.27a0c8",
+ "48f4b45b.ca20dc",
+ "14cb63b.82fd69c",
+ "1f9c65b6.02cd8a",
+ "5246f2ec.b0b8ec",
+ "2997ccc9.716304"
]
]
},
{
- "id": "6eaee2f0.3a641c",
+ "id": "804cd349.0738c",
"type": "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": 1659.6877212524414,
- "y": 813.1980800628662,
- "z": "902b25ae.7c3098",
+ "x": 1663.055763244629,
+ "y": 876.0106010437012,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "acdac80e.5e42e8",
+ "id": "f1a8bdb1.4abd9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 154.68746948242188,
- "y": 284.1978759765625,
- "z": "902b25ae.7c3098",
+ "x": 158.05551147460938,
+ "y": 347.01039695739746,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "7c37311a.46de7",
- "3ca985.9188367c",
- "da29413f.2288b",
- "7cb7391a.ea19a8"
+ "8e4a2db8.c53ca",
+ "bd377d99.e91fd"
]
]
},
{
- "id": "3ca985.9188367c",
+ "id": "bd377d99.e91fd",
"type": "block",
"name": "Instantiate RAN Slice",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1283.6874198913574,
- "y": 575.197910785675,
- "z": "902b25ae.7c3098",
+ "x": 1287.055461883545,
+ "y": 638.01043176651,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c571f1cb.9bec7",
- "56dbce13.96d8"
+ "a97a496a.e7a168",
+ "adc8ef28.065cf",
+ "eedce730.f46188",
+ "8e31db94.e70678",
+ "afcd8575.ce5a88",
+ "946e6c1f.7bb9d"
]
]
},
{
- "id": "acdc7000.c7b38",
+ "id": "f69f8374.0a2af",
"type": "block",
"name": "DU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1861.6875305175781,
- "y": 5766.198069810867,
- "z": "902b25ae.7c3098",
+ "x": 1865.0555725097656,
+ "y": 5829.010590791702,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e5b52736.da9698",
- "2fba2f45.d5d4d",
- "8f19388a.9d9248",
- "12595c79.e5ffd4"
+ "3a8d0109.3fbb5e",
+ "266ef43f.df385c",
+ "62633efd.9f282",
+ "906b2b3e.9bfdc8"
]
]
},
{
- "id": "777713b7.b7c1bc",
+ "id": "3a7d24e4.71829c",
"type": "block",
"name": "Add RRM Policy Ratio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3524.687919616699,
- "y": 7075.197937011719,
- "z": "902b25ae.7c3098",
+ "x": 3528.0559616088867,
+ "y": 7138.010457992554,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "41983400.d0dacc",
- "fd68e057.cace2",
- "3d3b8ccb.697394",
- "2c341fd9.a1f2a",
- "738c87bd.a64908",
- "f98ffee5.a6648",
- "28385a6a.9d07a6"
+ "6bfb6307.61516c",
+ "6346c86c.4248e8",
+ "f4770749.1fca58",
+ "fbdb62d9.d9f15",
+ "652fe306.4ff5ec",
+ "48164215.075dfc",
+ "5ac0fba4.e05764"
]
]
},
{
- "id": "f7d0e858.fffb58",
+ "id": "119285bb.cef61a",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3569.688247680664,
- "y": 6403.198240280151,
- "z": "902b25ae.7c3098",
+ "x": 3573.0562896728516,
+ "y": 6466.010761260986,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "dc57bcba.03b6b",
- "516f12f6.7f38ac"
+ "a132b516.18d0b8",
+ "98de8e51.64ee7"
]
]
},
{
- "id": "dc57bcba.03b6b",
+ "id": "a132b516.18d0b8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3812.688331604004,
- "y": 6407.1982421875,
- "z": "902b25ae.7c3098",
+ "x": 3816.0563735961914,
+ "y": 6470.010763168335,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "65b4fbc1.48ad94"
+ "beda408d.16308"
]
]
},
{
- "id": "516f12f6.7f38ac",
+ "id": "98de8e51.64ee7",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3797.688331604004,
- "y": 6481.198244094849,
- "z": "902b25ae.7c3098",
+ "x": 3801.0563735961914,
+ "y": 6544.010765075684,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "58b548f8.42a708"
+ "8f8b0e94.d7205"
]
]
},
{
- "id": "2fba2f45.d5d4d",
+ "id": "266ef43f.df385c",
"type": "for",
"name": "For DUList Entries",
"xml": "<for index='id2' start='0' end='`$tmp.DUListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 1961.6879119873047,
- "y": 6080.198064804077,
- "z": "902b25ae.7c3098",
+ "x": 1965.0559539794922,
+ "y": 6143.010585784912,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "d23dfe52.c5e2d"
+ "43cf6d42.9d8564"
]
]
},
{
- "id": "e5b52736.da9698",
+ "id": "3a8d0109.3fbb5e",
"type": "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": 2154.688087463379,
- "y": 5462.198851585388,
- "z": "902b25ae.7c3098",
+ "x": 2158.0561294555664,
+ "y": 5525.011372566223,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "8f19388a.9d9248",
+ "id": "62633efd.9f282",
"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": 2156.687843322754,
- "y": 5396.199828147888,
- "z": "902b25ae.7c3098",
+ "x": 2160.0558853149414,
+ "y": 5459.012349128723,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "b14c4fb8.0f7ea",
+ "id": "e686b37c.eabb1",
"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": 3934.6872787475586,
- "y": 5901.198174238205,
- "z": "902b25ae.7c3098",
+ "x": 3938.055320739746,
+ "y": 5964.01069521904,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "e527dfb7.00473",
+ "id": "ad3e4e54.09c4e",
"type": "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": 3532.6875953674316,
- "y": 6017.198064804077,
- "z": "902b25ae.7c3098",
+ "x": 3536.055637359619,
+ "y": 6080.010585784912,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "667f5064.c3558",
+ "id": "759bc67c.d0a178",
"type": "block",
"name": "cellDUList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3557.6875915527344,
- "y": 5956.198063850403,
- "z": "902b25ae.7c3098",
+ "x": 3561.055633544922,
+ "y": 6019.010584831238,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b14c4fb8.0f7ea",
- "a230a043.2eaba",
- "c5040802.d23048",
- "7cbc5437.94e35c",
- "af1da22d.9c281",
- "a8487ef8.2b79a",
- "949e516.74f10b"
+ "e686b37c.eabb1",
+ "1d7d9b8c.938234",
+ "c5d41b5a.9f1198",
+ "24da8ff9.c1ec",
+ "5a952f77.dd018",
+ "8ab9fdea.620aa",
+ "4bea8684.d6eb98"
]
]
},
{
- "id": "a230a043.2eaba",
+ "id": "1d7d9b8c.938234",
"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": 3963.6874198913574,
- "y": 5939.197892189026,
- "z": "902b25ae.7c3098",
+ "x": 3967.055461883545,
+ "y": 6002.010413169861,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c5040802.d23048",
+ "id": "c5d41b5a.9f1198",
"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": 3962.6874351501465,
- "y": 5978.1978940963745,
- "z": "902b25ae.7c3098",
+ "x": 3966.055477142334,
+ "y": 6041.0104150772095,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "7cbc5437.94e35c",
+ "id": "24da8ff9.c1ec",
"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": 3942.6874084472656,
- "y": 6016.197909355164,
- "z": "902b25ae.7c3098",
+ "x": 3946.055450439453,
+ "y": 6079.0104303359985,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "af1da22d.9c281",
+ "id": "5a952f77.dd018",
"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": 3957.68741607666,
- "y": 6064.197638511658,
- "z": "902b25ae.7c3098",
+ "x": 3961.0554580688477,
+ "y": 6127.010159492493,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "a8487ef8.2b79a",
+ "id": "8ab9fdea.620aa",
"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": 3928.6874961853027,
- "y": 6141.1979694366455,
- "z": "902b25ae.7c3098",
+ "x": 3932.0555381774902,
+ "y": 6204.0104904174805,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ef0d45d0.c227c8",
+ "id": "98fa4692.14fe28",
"type": "for",
"name": "For List of Cells",
"xml": "<for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 2385.6785430908203,
- "y": 6053.198175907135,
- "z": "902b25ae.7c3098",
+ "x": 2389.046585083008,
+ "y": 6116.01069688797,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e6aa0194.b688d"
+ "cf3ce850.7dfe18"
]
]
},
{
- "id": "4ecd2413.c1ac2c",
+ "id": "86313b29.5ee168",
"type": "block",
"name": "pLMNInfoList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3704.6774520874023,
- "y": 6176.1982979774475,
- "z": "902b25ae.7c3098",
+ "x": 3708.04549407959,
+ "y": 6239.0108189582825,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "6a533f97.bbca",
- "e26a3ab6.e3ec18"
+ "cb239fac.06b7",
+ "abd706df.6313c8"
]
]
},
{
- "id": "6a533f97.bbca",
+ "id": "cb239fac.06b7",
"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": 4025.6771087646484,
- "y": 6202.197905957699,
- "z": "902b25ae.7c3098",
+ "x": 4029.045150756836,
+ "y": 6265.010426938534,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "4ffa841.be4377c",
+ "id": "bca09be3.a79318",
"type": "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": 3715.6774520874023,
- "y": 6228.198663711548,
- "z": "902b25ae.7c3098",
+ "x": 3719.04549407959,
+ "y": 6291.011184692383,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "209f9a9d.45d496",
+ "id": "9c4d71d8.004f7",
"type": "for",
"name": "For pLMNInfoListEntries",
"xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3773.677589416504,
- "y": 6350.1988887786865,
- "z": "902b25ae.7c3098",
+ "x": 3777.0456314086914,
+ "y": 6413.0114097595215,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "534925b1.ff4eac"
+ "2425af81.f447a"
]
]
},
{
- "id": "ab7fb11e.93a44",
+ "id": "78e49ab0.99dd04",
"type": "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": 3484.677177429199,
- "y": 6075.198066711426,
- "z": "902b25ae.7c3098",
+ "x": 3488.0452194213867,
+ "y": 6138.010587692261,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "534925b1.ff4eac",
+ "id": "2425af81.f447a",
"type": "block",
"name": "pLMNInfoList Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4014.677276611328,
- "y": 6344.1988887786865,
- "z": "902b25ae.7c3098",
+ "x": 4018.0453186035156,
+ "y": 6407.0114097595215,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e394fe37.60982",
- "d8184272.b7dad"
+ "25e92ef3.2a8222",
+ "314eb873.c256d8"
]
]
},
{
- "id": "e394fe37.60982",
+ "id": "25e92ef3.2a8222",
"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": 4177.677032470703,
- "y": 6288.198236942291,
- "z": "902b25ae.7c3098",
+ "x": 4181.045074462891,
+ "y": 6351.010757923126,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "2cb3565.2aa22aa",
+ "id": "2dde4058.f7a54",
"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": 3815.6774520874023,
- "y": 6302.198663711548,
- "z": "902b25ae.7c3098",
+ "x": 3819.04549407959,
+ "y": 6365.011184692383,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "d8184272.b7dad",
+ "id": "314eb873.c256d8",
"type": "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": 4198.6770362854,
- "y": 6366.198240280151,
- "z": "902b25ae.7c3098",
+ "x": 4202.045078277588,
+ "y": 6429.010761260986,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "61110f78.23196",
+ "id": "f51ea9d3.27a0c8",
"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": 1626.6771926879883,
- "y": 635.1980495452881,
- "z": "902b25ae.7c3098",
+ "x": 1630.0452346801758,
+ "y": 698.010570526123,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "e26a3ab6.e3ec18",
+ "id": "abd706df.6313c8",
"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": 4002.677276611328,
- "y": 6266.198070526123,
- "z": "902b25ae.7c3098",
+ "x": 4006.0453186035156,
+ "y": 6329.010591506958,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "8eaa1c1c.14269",
+ "id": "3de2dac7.18d226",
"type": "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": 3949.688991546631,
- "y": 6838.531585693359,
- "z": "902b25ae.7c3098",
+ "x": 3956.0570487976074,
+ "y": 6913.344204902649,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "bab76bad.343f18",
+ "id": "d6bfe081.3e2f3",
"type": "block",
"name": "Add PLMNInfoList Entry",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3540.6882400512695,
- "y": 6509.541993141174,
- "z": "902b25ae.7c3098",
+ "x": 3544.056282043457,
+ "y": 6572.354514122009,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8eaa1c1c.14269",
- "a4893e7f.04d2f",
- "7ff22b7e.1f2a54",
- "dd2c078e.f88808",
- "4deb83df.1e115c",
- "84761029.df42",
- "f7d0e858.fffb58",
- "216ab62b.ce4cba"
+ "3de2dac7.18d226",
+ "f857505c.260cf",
+ "de92297.ba392d8",
+ "62046ba3.0c9bd4",
+ "6d454405.e3306c",
+ "a0b6ed60.4ed39",
+ "119285bb.cef61a",
+ "e7e9d8.74642628",
+ "8d944f2b.db7d2",
+ "66f14c1e.e327f4"
]
]
},
{
- "id": "216ab62b.ce4cba",
+ "id": "e7e9d8.74642628",
"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": 4032.688331604004,
- "y": 6929.54200553894,
- "z": "902b25ae.7c3098",
+ "x": 4036.0563735961914,
+ "y": 6992.354526519775,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "226d46d0.76372a",
- "519b13de.daec6c"
+ "7d698f61.b7184",
+ "58848b0b.5e8af4"
]
]
},
{
- "id": "a4893e7f.04d2f",
+ "id": "f857505c.260cf",
"type": "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": 3950.6883392333984,
- "y": 6779.5419998168945,
- "z": "902b25ae.7c3098",
+ "x": 3954.0564975738525,
+ "y": 6876.354947090149,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "65b4fbc1.48ad94",
+ "id": "beda408d.16308",
"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": 4083.6883392333984,
- "y": 6409.198241710663,
- "z": "902b25ae.7c3098",
+ "x": 4087.056381225586,
+ "y": 6472.010762691498,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "7ff22b7e.1f2a54",
+ "id": "de92297.ba392d8",
"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": 3919.6779251098633,
- "y": 6566.19824552536,
- "z": "902b25ae.7c3098",
+ "x": 3923.045967102051,
+ "y": 6629.010766506195,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "dd2c078e.f88808",
+ "id": "62046ba3.0c9bd4",
"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": 3928.6779251098633,
- "y": 6615.198246955872,
- "z": "902b25ae.7c3098",
+ "x": 3932.045967102051,
+ "y": 6678.0107679367065,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "4deb83df.1e115c",
+ "id": "6d454405.e3306c",
"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": 3929.6779251098633,
- "y": 6665.198247909546,
- "z": "902b25ae.7c3098",
+ "x": 3933.045967102051,
+ "y": 6728.010768890381,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "84761029.df42",
+ "id": "a0b6ed60.4ed39",
"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": 3973.6779251098633,
- "y": 6724.1982498168945,
- "z": "902b25ae.7c3098",
+ "x": 3935.0460624694824,
+ "y": 6771.010708808899,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "226d46d0.76372a",
+ "id": "7d698f61.b7184",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4330.68807220459,
- "y": 6866.53126335144,
- "z": "902b25ae.7c3098",
+ "x": 4334.056114196777,
+ "y": 6929.343784332275,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "11af60c5.a0690f"
+ "fd6f3c73.00625"
]
]
},
{
- "id": "519b13de.daec6c",
+ "id": "58848b0b.5e8af4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4369.688186645508,
- "y": 6950.531273603439,
- "z": "902b25ae.7c3098",
+ "x": 4373.056228637695,
+ "y": 7013.343794584274,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "a81131d0.a2b47"
+ "523db08.625b55"
]
]
},
{
- "id": "11af60c5.a0690f",
+ "id": "fd6f3c73.00625",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4592.687969207764,
- "y": 6751.531345129013,
- "z": "902b25ae.7c3098",
+ "x": 4596.056011199951,
+ "y": 6814.343866109848,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "1c6bfd4c.8f7553",
- "b1d10830.075248"
+ "1beb23c8.3385fc",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "a81131d0.a2b47",
+ "id": "523db08.625b55",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4551.687698364258,
- "y": 6905.531273603439,
- "z": "902b25ae.7c3098",
+ "x": 4555.055740356445,
+ "y": 6968.343794584274,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "396ad31a.e7209c"
+ "2396bc7b.9900f4"
]
]
},
{
- "id": "1c6bfd4c.8f7553",
+ "id": "1beb23c8.3385fc",
"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": 4757.687969207764,
- "y": 6834.531833410263,
- "z": "902b25ae.7c3098",
+ "x": 4761.056011199951,
+ "y": 6897.344354391098,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "396ad31a.e7209c",
+ "id": "2396bc7b.9900f4",
"type": "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": 4718.687698364258,
- "y": 6916.531761884689,
- "z": "902b25ae.7c3098",
+ "x": 4722.055740356445,
+ "y": 6979.344282865524,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "1a12247f.0c1f1c",
+ "id": "e62e85bc.bfddd8",
"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": 4244.677688598633,
- "y": 6468.198243141174,
- "z": "902b25ae.7c3098",
+ "x": 4248.04573059082,
+ "y": 6531.010764122009,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "58b548f8.42a708",
+ "id": "8f8b0e94.d7205",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3961.6775970458984,
- "y": 6470.1982436180115,
- "z": "902b25ae.7c3098",
+ "x": 3965.045639038086,
+ "y": 6533.010764598846,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "1a12247f.0c1f1c",
- "e91f6157.8739d"
+ "e62e85bc.bfddd8",
+ "93f9fbf5.248e58"
]
]
},
{
- "id": "e91f6157.8739d",
+ "id": "93f9fbf5.248e58",
"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": 4208.677688598633,
- "y": 6525.198244094849,
- "z": "902b25ae.7c3098",
+ "x": 4212.04573059082,
+ "y": 6588.010765075684,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "a88e4c32.9feca",
+ "id": "7b644ace.b1ff14",
"type": "comment",
"name": "Connect to AddPLMNInfoList Entry",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3971.6775970458984,
- "y": 6889.531586647034,
- "z": "902b25ae.7c3098",
+ "x": 3975.045639038086,
+ "y": 6952.344107627869,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "41983400.d0dacc",
+ "id": "6bfb6307.61516c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3823.6773376464844,
- "y": 7038.864778518677,
- "z": "902b25ae.7c3098",
+ "x": 3827.045379638672,
+ "y": 7101.677299499512,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "a7e9a49e.5766b8",
- "2ca9e596.83624a"
+ "b07a3d42.19bf7",
+ "f24be453.a36408"
]
]
},
{
- "id": "a7e9a49e.5766b8",
+ "id": "b07a3d42.19bf7",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4018.6773643493652,
- "y": 6998.864686012268,
- "z": "902b25ae.7c3098",
+ "x": 4022.0454063415527,
+ "y": 7061.677206993103,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "a5001704.618c28"
+ "33bbc7f3.ba4778"
]
]
},
{
- "id": "2ca9e596.83624a",
+ "id": "f24be453.a36408",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3998.6773376464844,
- "y": 7077.864777565002,
- "z": "902b25ae.7c3098",
+ "x": 4002.045379638672,
+ "y": 7140.677298545837,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "d91e9481.d88018"
+ "361c17ce.abf778"
]
]
},
{
- "id": "f98ffee5.a6648",
+ "id": "48164215.075dfc",
"type": "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": 3971.678508758545,
- "y": 7320.19810295105,
- "z": "902b25ae.7c3098",
+ "x": 3979.0464820861816,
+ "y": 7413.01144695282,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "548fc503.fed9ec",
+ "id": "afe3402b.cd936",
"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": 4035.677406311035,
- "y": 7589.208359479904,
- "z": "902b25ae.7c3098",
+ "x": 4039.0454483032227,
+ "y": 7652.020880460739,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b89dae36.2219e"
+ "8ef6803f.74829"
]
]
},
{
- "id": "738c87bd.a64908",
+ "id": "652fe306.4ff5ec",
"type": "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": 3962.67720413208,
- "y": 7270.208518028259,
- "z": "902b25ae.7c3098",
+ "x": 3971.0455055236816,
+ "y": 7372.02170085907,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "a5001704.618c28",
+ "id": "33bbc7f3.ba4778",
"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": 4304.67733001709,
- "y": 6996.86475944519,
- "z": "902b25ae.7c3098",
+ "x": 4308.045372009277,
+ "y": 7059.677280426025,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "fd68e057.cace2",
+ "id": "6346c86c.4248e8",
"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": 3996.6671142578125,
- "y": 7131.864763259888,
- "z": "902b25ae.7c3098",
+ "x": 4000.03515625,
+ "y": 7194.677284240723,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "3d3b8ccb.697394",
+ "id": "f4770749.1fca58",
"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": 3989.6671142578125,
- "y": 7185.864765167236,
- "z": "902b25ae.7c3098",
+ "x": 3993.03515625,
+ "y": 7248.677286148071,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "2c341fd9.a1f2a",
+ "id": "fbdb62d9.d9f15",
"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": 3968.6671142578125,
- "y": 7222.864767074585,
- "z": "902b25ae.7c3098",
+ "x": 3972.03515625,
+ "y": 7285.67728805542,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "8e44bb3f.07fc88",
+ "id": "6aac16ca.963d48",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4371.677215576172,
- "y": 7336.198103904724,
- "z": "902b25ae.7c3098",
+ "x": 4375.045257568359,
+ "y": 7399.010624885559,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "78ce529c.b5eb4c"
+ "fc378230.de961"
]
]
},
{
- "id": "b89dae36.2219e",
+ "id": "8ef6803f.74829",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4372.677284240723,
- "y": 7615.197861433029,
- "z": "902b25ae.7c3098",
+ "x": 4376.04532623291,
+ "y": 7678.010382413864,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e97ab652.68dad8"
+ "d3ad0543.04cf18"
]
]
},
{
- "id": "78ce529c.b5eb4c",
+ "id": "fc378230.de961",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4741.67724609375,
- "y": 7284.197723388672,
- "z": "902b25ae.7c3098",
+ "x": 4745.0452880859375,
+ "y": 7347.010244369507,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "21ed8761.906908",
- "b1d10830.075248"
+ "2692ca12.ea2266",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "e97ab652.68dad8",
+ "id": "d3ad0543.04cf18",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4552.677040100098,
- "y": 7612.197861433029,
- "z": "902b25ae.7c3098",
+ "x": 4556.045082092285,
+ "y": 7675.010382413864,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e1713853.eb6908"
+ "2406b9a3.4e1206"
]
]
},
{
- "id": "21ed8761.906908",
+ "id": "2692ca12.ea2266",
"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": 4863.67724609375,
- "y": 7339.198211669922,
- "z": "902b25ae.7c3098",
+ "x": 4867.0452880859375,
+ "y": 7402.010732650757,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "e1713853.eb6908",
+ "id": "2406b9a3.4e1206",
"type": "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": 4701.677341461182,
- "y": 7638.198054075241,
- "z": "902b25ae.7c3098",
+ "x": 4705.045383453369,
+ "y": 7701.010575056076,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "78b72f70.df293",
+ "id": "f4ebcfed.0a8e6",
"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": 4496.667045593262,
- "y": 7044.865069389343,
- "z": "902b25ae.7c3098",
+ "x": 4500.035087585449,
+ "y": 7107.677590370178,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "d91e9481.d88018",
+ "id": "361c17ce.abf778",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4191.666988372803,
- "y": 7072.864777565002,
- "z": "902b25ae.7c3098",
+ "x": 4195.03503036499,
+ "y": 7135.677298545837,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "78b72f70.df293",
- "bf8a823c.8747d"
+ "f4ebcfed.0a8e6",
+ "96eddaa8.9dda18"
]
]
},
{
- "id": "bf8a823c.8747d",
+ "id": "96eddaa8.9dda18",
"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": 4433.667022705078,
- "y": 7106.864716529846,
- "z": "902b25ae.7c3098",
+ "x": 4437.035064697266,
+ "y": 7169.677237510681,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "91afe5ee.e5d078",
+ "id": "9990c273.292dd",
"type": "comment",
"name": "Connect to RRM P{olicy Ratio",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 4029.667434692383,
- "y": 7362.198103427887,
- "z": "902b25ae.7c3098",
+ "x": 4036.0354957580566,
+ "y": 7446.011202812195,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "12595c79.e5ffd4",
+ "id": "906b2b3e.9bfdc8",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2199.6877822875977,
- "y": 5591.8768310546875,
- "z": "902b25ae.7c3098",
+ "x": 2203.055824279785,
+ "y": 5654.6893520355225,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "a9fc9cb9.5e7e7",
- "7ed57e69.91b45",
- "2737179d.208e58",
- "c754692b.16ebf8",
- "d4c104c7.d53b38",
- "34c9e22.b0a7c1e",
- "a8816efe.70be4",
- "503469f8.a36558",
- "b2653495.ee3a68",
- "c8829055.def5d",
- "86314876.701b88"
+ "56fa84ae.1bb8fc",
+ "2a1f5ef8.61f292",
+ "1be107b7.bce408",
+ "38b7246b.48c55c",
+ "3f12b751.bbbcb8",
+ "1235262c.0f386a",
+ "92d34980.56c9d8",
+ "d44c7ea9.8056d",
+ "e2376f49.6ec05",
+ "36523401.1c2b8c",
+ "6ea5ef76.13161"
]
]
},
{
- "id": "949e516.74f10b",
+ "id": "4bea8684.d6eb98",
"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": 3931.687469482422,
- "y": 6100.19788646698,
- "z": "902b25ae.7c3098",
+ "x": 3935.0555114746094,
+ "y": 6163.010407447815,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "384dc047.829b8",
+ "id": "33c455d1.57671a",
"type": "set",
"name": "set rrmPolicyDedicatedRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='10' />",
"comments": "",
- "x": 3918.6875,
- "y": 5805.319305419922,
- "z": "902b25ae.7c3098",
+ "x": 3922.0555419921875,
+ "y": 5868.131826400757,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "cd351bf8.951728",
+ "id": "33878898.1f4828",
"type": "set",
"name": "set rrmPolicyDedicatedRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='20' />",
"comments": "",
- "x": 3911.6874237060547,
- "y": 5852.319272041321,
- "z": "902b25ae.7c3098",
+ "x": 3915.055465698242,
+ "y": 5915.131793022156,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "a9fc9cb9.5e7e7",
+ "id": "56fa84ae.1bb8fc",
"type": "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": 2332.687599182129,
- "y": 5900.320433616638,
- "z": "902b25ae.7c3098",
+ "x": 2336.0556411743164,
+ "y": 5963.132954597473,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "6ff3ec5.6618514",
+ "id": "48f4b45b.ca20dc",
"type": "block",
"name": "CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1640.677001953125,
- "y": 1995.5313415527344,
- "z": "902b25ae.7c3098",
+ "x": 1644.0450439453125,
+ "y": 2058.3438625335693,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "dca924ce.cf3b88",
- "13149dbf.08acd2",
- "90e74ebf.2438f",
- "afae25e6.704988"
+ "1b82612b.c6f9ff",
+ "a8e7b986.8215a8",
+ "710ecb85.658664",
+ "d873f56a.9437a8"
]
]
},
{
- "id": "38695b2f.9cf444",
+ "id": "44aa82b6.04d01c",
"type": "block",
"name": "Add RRM Policy Ratio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3112.6771812438965,
- "y": 3094.531373023987,
- "z": "902b25ae.7c3098",
+ "x": 3116.045223236084,
+ "y": 3157.343894004822,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "9335dca3.45bd6",
- "f3fb275c.f8fdd8",
- "d0126428.24a5c8",
- "7a45049.92618fc",
- "6d9e0bbf.a1c084",
- "bbf33189.fcb8c",
- "9eacc78.b4d3538"
+ "841120db.a414c",
+ "5faf1669.7c78d8",
+ "ffe68efb.6363e",
+ "7f374dbf.7dd314",
+ "b6394cd1.ba808",
+ "fd77e0c6.85fc6",
+ "23f69fb5.8200b",
+ "46875c25.62c1e4"
]
]
},
{
- "id": "a4761f36.1c551",
+ "id": "8c266301.64814",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3125.6771812438965,
- "y": 2356.5316772460938,
- "z": "902b25ae.7c3098",
+ "x": 3129.045223236084,
+ "y": 2419.3441982269287,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "64f10df2.771e84",
- "a8e816d1.35e078"
+ "4de6530b.87c75c",
+ "2614a1d0.83cdbe"
]
]
},
{
- "id": "64f10df2.771e84",
+ "id": "4de6530b.87c75c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3315.67716217041,
- "y": 2326.531460762024,
- "z": "902b25ae.7c3098",
+ "x": 3319.0452041625977,
+ "y": 2389.343981742859,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "41d16d53.0c7bc4"
+ "279ed15.2ad372e"
]
]
},
{
- "id": "a8e816d1.35e078",
+ "id": "2614a1d0.83cdbe",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3295.6771354675293,
- "y": 2405.5315523147583,
- "z": "902b25ae.7c3098",
+ "x": 3299.045177459717,
+ "y": 2468.3440732955933,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "f17ca77b.126288"
+ "9eb2d4d8.cf7e78"
]
]
},
{
- "id": "13149dbf.08acd2",
+ "id": "a8e7b986.8215a8",
"type": "for",
"name": "For CUCPList Entries",
"xml": "<for index='id2' start='0' end='`$tmp.CUCPListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 1910.6769943237305,
- "y": 1990.5314636230469,
- "z": "902b25ae.7c3098",
+ "x": 1914.045036315918,
+ "y": 2053.343984603882,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "3e090a8.0bf96f6",
- "394741f5.1610ae",
- "ac6edb03.ebd528",
- "36a33a87.4a36c6",
- "2ba5e1ca.ee1a1e",
- "f6a71d42.4e0ed"
+ "9ca80828.7a69b8",
+ "5543c661.38a3c8",
+ "43bfca68.bb3454",
+ "5d5e00ae.0cb88",
+ "682dfdf2.a09a94"
]
]
},
{
- "id": "dca924ce.cf3b88",
+ "id": "1b82612b.c6f9ff",
"type": "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": 1825.6771278381348,
- "y": 1898.5315990447998,
- "z": "902b25ae.7c3098",
+ "x": 1829.0451698303223,
+ "y": 1961.3441200256348,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "90e74ebf.2438f",
+ "id": "710ecb85.658664",
"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": 1780.6771240234375,
- "y": 1860.5311107635498,
- "z": "902b25ae.7c3098",
+ "x": 1784.045166015625,
+ "y": 1923.3436317443848,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c0801b19.dc2eb8",
+ "id": "f9ad0f26.49749",
"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": 2590.6767807006836,
- "y": 1708.5317194461823,
- "z": "902b25ae.7c3098",
+ "x": 2594.044822692871,
+ "y": 1771.3442404270172,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "3e090a8.0bf96f6",
+ "id": "9ca80828.7a69b8",
"type": "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": 2208.6772079467773,
- "y": 1863.5315389633179,
- "z": "902b25ae.7c3098",
+ "x": 2192.0453090667725,
+ "y": 1977.3441038131714,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "394741f5.1610ae",
+ "id": "5543c661.38a3c8",
"type": "block",
"name": "cellCUCPList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2257.677001953125,
- "y": 1811.5314025878906,
- "z": "902b25ae.7c3098",
+ "x": 2261.0450439453125,
+ "y": 1874.3439235687256,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c0801b19.dc2eb8",
- "80872174.c153d",
- "c8c3cee2.3f217",
- "4b4ccc06.c4c234",
- "66ee23cb.5bd3cc",
- "fe65a996.9bb588"
+ "f9ad0f26.49749",
+ "6f26c34e.2bacfc",
+ "91b35b58.1ad348",
+ "3fa17b83.299864",
+ "4fe1f3c4.97262c",
+ "6787dd46.a4cdd4"
]
]
},
{
- "id": "80872174.c153d",
+ "id": "6f26c34e.2bacfc",
"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": 2619.6768188476562,
- "y": 1751.5313425064087,
- "z": "902b25ae.7c3098",
+ "x": 2623.0448608398438,
+ "y": 1814.3438634872437,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c8c3cee2.3f217",
+ "id": "91b35b58.1ad348",
"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": 2634.6771202087402,
- "y": 1800.5314645767212,
- "z": "902b25ae.7c3098",
+ "x": 2638.0451622009277,
+ "y": 1863.3439855575562,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "4b4ccc06.c4c234",
+ "id": "3fa17b83.299864",
"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": 2660.677001953125,
- "y": 1849.5315856933594,
- "z": "902b25ae.7c3098",
+ "x": 2664.0450439453125,
+ "y": 1912.3441066741943,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "66ee23cb.5bd3cc",
+ "id": "4fe1f3c4.97262c",
"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": 2673.677001953125,
- "y": 1941.5314645767212,
- "z": "902b25ae.7c3098",
+ "x": 2677.0450439453125,
+ "y": 2004.3439855575562,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ac6edb03.ebd528",
+ "id": "43bfca68.bb3454",
"type": "for",
"name": "For List of Cells ",
"xml": "<for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 2333.6669921875,
- "y": 2220.531463623047,
- "z": "902b25ae.7c3098",
+ "x": 2337.0350341796875,
+ "y": 2283.343984603882,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "815e12b6.09871",
- "11592c65.f83e64"
+ "6f40dd43.c32694",
+ "cde223c2.7eeac"
]
]
},
{
- "id": "9457acbe.1a0a8",
+ "id": "187d9e29.2ec5c2",
"type": "block",
"name": "pLMNInfoList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3287.6667442321777,
- "y": 2085.5313720703125,
- "z": "902b25ae.7c3098",
+ "x": 3291.0347862243652,
+ "y": 2148.3438930511475,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "4eff6cee.3d0f64"
+ "ad74bbed.c00fc8"
]
]
},
{
- "id": "4eff6cee.3d0f64",
+ "id": "ad74bbed.c00fc8",
"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": 3552.666759490967,
- "y": 2063.5313625335693,
- "z": "902b25ae.7c3098",
+ "x": 3556.0348014831543,
+ "y": 2126.3438835144043,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "5c2fb30d.b20c7c",
+ "id": "1c9c9154.0f3fdf",
"type": "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": 3254.666759490967,
- "y": 2143.5313625335693,
- "z": "902b25ae.7c3098",
+ "x": 3258.0348014831543,
+ "y": 2206.3438835144043,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "29ccde77.0e44f2",
+ "id": "17779f4e.286261",
"type": "for",
"name": "For pLMNInfoListEntries",
"xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3285.666759490967,
- "y": 2241.5313625335693,
- "z": "902b25ae.7c3098",
+ "x": 3289.0348014831543,
+ "y": 2304.3438835144043,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b91b7b4d.300488"
+ "6b57e443.91655c"
]
]
},
{
- "id": "36a33a87.4a36c6",
+ "id": "5d5e00ae.0cb88",
"type": "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": 2204.6667671203613,
- "y": 1929.5312638282776,
- "z": "902b25ae.7c3098",
+ "x": 2191.034843444824,
+ "y": 2018.3438596725464,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "b91b7b4d.300488",
+ "id": "6b57e443.91655c",
"type": "block",
"name": "pLMNInfoList Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3505.666759490967,
- "y": 2237.5313625335693,
- "z": "902b25ae.7c3098",
+ "x": 3509.0348014831543,
+ "y": 2300.3438835144043,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "a2d6da5b.3ae1e8",
- "ffc4e90.df7dc18"
+ "4c6feaf5.7fba14",
+ "30d1533e.6dc58c"
]
]
},
{
- "id": "a2d6da5b.3ae1e8",
+ "id": "4c6feaf5.7fba14",
"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": 3679.6668128967285,
- "y": 2193.5313625335693,
- "z": "902b25ae.7c3098",
+ "x": 3683.034854888916,
+ "y": 2256.3438835144043,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "eadd0de2.36656",
+ "id": "e271a58a.b0ffb8",
"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": 3357.666759490967,
- "y": 2192.5313625335693,
- "z": "902b25ae.7c3098",
+ "x": 3361.0348014831543,
+ "y": 2255.3438835144043,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "ffc4e90.df7dc18",
+ "id": "30d1533e.6dc58c",
"type": "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": 3682.666759490967,
- "y": 2257.5313625335693,
- "z": "902b25ae.7c3098",
+ "x": 3686.0348014831543,
+ "y": 2320.3438835144043,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "3ea41bb7.cbb074",
+ "id": "99f93c97.194db",
"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": 3529.6667518615723,
- "y": 2123.5313472747803,
- "z": "902b25ae.7c3098",
+ "x": 3533.0347938537598,
+ "y": 2186.3438682556152,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "8a3e7f77.42275",
+ "id": "c1ec32d1.c6276",
"type": "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": 3464.6779861450195,
- "y": 2691.8649291992188,
- "z": "902b25ae.7c3098",
+ "x": 3470.0460510253906,
+ "y": 2759.6775789260864,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "8c000271.a879b",
+ "id": "ab4851e7.0f9ee",
"type": "block",
"name": "Add PLMNInfoList Entry",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3171.6768531799316,
- "y": 2632.8754329681396,
- "z": "902b25ae.7c3098",
+ "x": 3175.044895172119,
+ "y": 2695.6879539489746,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8a3e7f77.42275",
- "5927378d.939d58",
- "434c52b8.30bbac",
- "55eff8af.8f9c28",
- "9e070b11.ab4d88",
- "ecfa804e.3731c",
- "a4761f36.1c551",
- "5d4cbeb7.88345"
+ "c1ec32d1.c6276",
+ "beb3a47.42a9258",
+ "802cbeb3.3d87",
+ "2ecc44f3.d76d9c",
+ "bfe1ee22.42a44",
+ "b30eda44.936178",
+ "8c266301.64814",
+ "838435d2.bd42f8",
+ "43439aa8.8be184"
]
]
},
{
- "id": "5d4cbeb7.88345",
+ "id": "838435d2.bd42f8",
"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": 3573.6775436401367,
- "y": 2771.8753929138184,
- "z": "902b25ae.7c3098",
+ "x": 3577.045585632324,
+ "y": 2834.6879138946533,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "1d18d8e0.adbca7",
- "cb5c5e75.b19fc"
+ "8fe41d06.867a5",
+ "75fcc892.b62638"
]
]
},
{
- "id": "5927378d.939d58",
+ "id": "beb3a47.42a9258",
"type": "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": 3457.677104949951,
- "y": 2639.8755283355713,
- "z": "902b25ae.7c3098",
+ "x": 3464.0450134277344,
+ "y": 2727.6881380081177,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "41d16d53.0c7bc4",
+ "id": "279ed15.2ad372e",
"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": 3600.677089691162,
- "y": 2326.5316104888916,
- "z": "902b25ae.7c3098",
+ "x": 3604.0451316833496,
+ "y": 2389.3441314697266,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "434c52b8.30bbac",
+ "id": "802cbeb3.3d87",
"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": 3482.6668815612793,
- "y": 2462.5314326286316,
- "z": "902b25ae.7c3098",
+ "x": 3486.034923553467,
+ "y": 2525.3439536094666,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "55eff8af.8f9c28",
+ "id": "2ecc44f3.d76d9c",
"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": 3470.666877746582,
- "y": 2508.531493663788,
- "z": "902b25ae.7c3098",
+ "x": 3474.0349197387695,
+ "y": 2571.344014644623,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "9e070b11.ab4d88",
+ "id": "bfe1ee22.42a44",
"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": 3457.6668796539307,
- "y": 2549.5315551757812,
- "z": "902b25ae.7c3098",
+ "x": 3461.034921646118,
+ "y": 2612.344076156616,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ecfa804e.3731c",
+ "id": "b30eda44.936178",
"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": 3465.666877746582,
- "y": 2590.5314331054688,
- "z": "902b25ae.7c3098",
+ "x": 3469.0349197387695,
+ "y": 2653.3439540863037,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "1d18d8e0.adbca7",
+ "id": "8fe41d06.867a5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3689.67720413208,
- "y": 2569.8647356033325,
- "z": "902b25ae.7c3098",
+ "x": 3693.0452461242676,
+ "y": 2632.6772565841675,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c5269c26.ffbc9"
+ "cd63ae6f.28aa2"
]
]
},
{
- "id": "cb5c5e75.b19fc",
+ "id": "75fcc892.b62638",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3982.67724609375,
- "y": 2791.864827156067,
- "z": "902b25ae.7c3098",
+ "x": 3986.0452880859375,
+ "y": 2854.677348136902,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "56b64eb2.42618"
+ "ab087827.837cc8"
]
]
},
{
- "id": "c5269c26.ffbc9",
+ "id": "cd63ae6f.28aa2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3823.67720413208,
- "y": 2576.864857673645,
- "z": "902b25ae.7c3098",
+ "x": 3827.0452461242676,
+ "y": 2639.67737865448,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b3033a41.743ed8",
- "b1d10830.075248"
+ "b401bba5.20bc28",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "56b64eb2.42618",
+ "id": "ab087827.837cc8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4157.67692565918,
- "y": 2788.864827156067,
- "z": "902b25ae.7c3098",
+ "x": 4161.044967651367,
+ "y": 2851.677348136902,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "efa2ca14.3ff558"
+ "d9442d8c.c27f1"
]
]
},
{
- "id": "b3033a41.743ed8",
+ "id": "b401bba5.20bc28",
"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": 3969.6768798828125,
- "y": 2676.8649377822876,
- "z": "902b25ae.7c3098",
+ "x": 3973.044921875,
+ "y": 2739.6774587631226,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "efa2ca14.3ff558",
+ "id": "d9442d8c.c27f1",
"type": "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": 4312.677577972412,
- "y": 2780.865152835846,
- "z": "902b25ae.7c3098",
+ "x": 4316.0456199646,
+ "y": 2843.677673816681,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "afae25e6.704988",
+ "id": "d873f56a.9437a8",
"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": 1895.6667137145996,
- "y": 1945.5316009521484,
- "z": "902b25ae.7c3098",
+ "x": 1899.034755706787,
+ "y": 2008.3441219329834,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "e3534b46.dbb5e8",
+ "id": "2af64058.5839f",
"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": 3795.666816711426,
- "y": 2370.531491279602,
- "z": "902b25ae.7c3098",
+ "x": 3799.0348587036133,
+ "y": 2433.344012260437,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "f17ca77b.126288",
+ "id": "9eb2d4d8.cf7e78",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3488.6667861938477,
- "y": 2400.5315523147583,
- "z": "902b25ae.7c3098",
+ "x": 3492.034828186035,
+ "y": 2463.3440732955933,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e3534b46.dbb5e8",
- "aed19f7a.4e233"
+ "2af64058.5839f",
+ "a0a0362a.295108"
]
]
},
{
- "id": "aed19f7a.4e233",
+ "id": "a0a0362a.295108",
"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": 3739.6672172546387,
- "y": 2423.5316848754883,
- "z": "902b25ae.7c3098",
+ "x": 3743.035259246826,
+ "y": 2486.3442058563232,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "56dbce13.96d8",
+ "id": "adc8ef28.065cf",
"type": "block",
"name": "Get Cells List in TA",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1556.6669692993164,
- "y": 494.5316410064697,
- "z": "902b25ae.7c3098",
+ "x": 1560.035011291504,
+ "y": 557.3441619873047,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "13bd29d8.5a4c26",
- "8027218b.03a2d",
- "61e369e5.906d38"
+ "31f24c7a.033584",
+ "8282f63d.edb3e8",
+ "e13282a4.a3907"
]
]
},
{
- "id": "13bd29d8.5a4c26",
+ "id": "31f24c7a.033584",
"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": 1812.667091369629,
- "y": 354.5315799713135,
- "z": "902b25ae.7c3098",
+ "x": 1816.0351333618164,
+ "y": 417.34410095214844,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "8027218b.03a2d",
+ "id": "8282f63d.edb3e8",
"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": 1837.667091369629,
- "y": 456.53179359436035,
- "z": "902b25ae.7c3098",
+ "x": 1841.0351333618164,
+ "y": 519.3443145751953,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "61e369e5.906d38",
+ "id": "e13282a4.a3907",
"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": 1839.667091369629,
- "y": 539.5316944122314,
- "z": "902b25ae.7c3098",
+ "x": 1843.0351333618164,
+ "y": 602.3442153930664,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e17d3c01.908be",
- "b3f0fa67.29eee8"
+ "c31db141.98cac",
+ "a6323108.93f56"
]
]
},
{
- "id": "e17d3c01.908be",
+ "id": "c31db141.98cac",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2116.6667861938477,
- "y": 473.5317783355713,
- "z": "902b25ae.7c3098",
+ "x": 2120.034828186035,
+ "y": 536.3442993164062,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "76085849.956628"
+ "11882eea.3db001"
]
]
},
{
- "id": "b3f0fa67.29eee8",
+ "id": "a6323108.93f56",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2065.6666946411133,
- "y": 619.5316944122314,
- "z": "902b25ae.7c3098",
+ "x": 2069.034736633301,
+ "y": 682.3442153930664,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b8b9a0fa.ca06c"
+ "a9f1003c.ec97"
]
]
},
{
- "id": "76085849.956628",
+ "id": "11882eea.3db001",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2491.6667556762695,
- "y": 466.5317325592041,
- "z": "902b25ae.7c3098",
+ "x": 2495.034797668457,
+ "y": 529.3442535400391,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "36a58df0.f17ed2",
- "10ac2eac.3e2841",
- "b1d10830.075248"
+ "b4c03a19.bdd178",
+ "acb38315.12af",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "b8b9a0fa.ca06c",
+ "id": "a9f1003c.ec97",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2211.6665115356445,
- "y": 597.531816482544,
- "z": "902b25ae.7c3098",
+ "x": 2215.034553527832,
+ "y": 660.3443374633789,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "73aeebfb.f154f4",
- "a9d16f95.fd651",
- "2ad6acbd.2fabe4"
+ "922c1b1e.a832f8",
+ "1224f25a.64c56e",
+ "d2a1e3b1.98234"
]
]
},
{
- "id": "36a58df0.f17ed2",
+ "id": "b4c03a19.bdd178",
"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": 2427.6665115356445,
- "y": 544.531717300415,
- "z": "902b25ae.7c3098",
+ "x": 2431.034553527832,
+ "y": 607.34423828125,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "73aeebfb.f154f4",
+ "id": "922c1b1e.a832f8",
"type": "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": 2371.6664810180664,
- "y": 592.5317249298096,
- "z": "902b25ae.7c3098",
+ "x": 2375.034523010254,
+ "y": 655.3442459106445,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "10ac2eac.3e2841",
+ "id": "acb38315.12af",
"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": 2471.666847229004,
- "y": 404.64277839660645,
- "z": "902b25ae.7c3098",
+ "x": 2475.0348892211914,
+ "y": 467.4552993774414,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "a9d16f95.fd651",
+ "id": "1224f25a.64c56e",
"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": 2391.4448013305664,
- "y": 736.5317554473877,
- "z": "902b25ae.7c3098",
+ "x": 2394.812843322754,
+ "y": 799.3442764282227,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "6b88aba6.7fe364",
+ "id": "fba1b48a.719358",
"type": "comment",
"name": "Connect to AddPLMNInfoList Entry",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3469.666576385498,
- "y": 2730.8646507263184,
- "z": "902b25ae.7c3098",
+ "x": 3473.0346183776855,
+ "y": 2793.6771717071533,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "9335dca3.45bd6",
+ "id": "841120db.a414c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3324.666576385498,
- "y": 2888.198024749756,
- "z": "902b25ae.7c3098",
+ "x": 3328.0346183776855,
+ "y": 2951.010545730591,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "f6e9e01c.b2ece",
- "89c6bbd8.aba4a8"
+ "9ae5edcb.0fa6d",
+ "4d3f835.49a0f7c"
]
]
},
{
- "id": "f6e9e01c.b2ece",
+ "id": "9ae5edcb.0fa6d",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3519.666603088379,
- "y": 2848.197932243347,
- "z": "902b25ae.7c3098",
+ "x": 3523.0346450805664,
+ "y": 2911.010453224182,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "30137ea9.9f0302"
+ "ddf87c90.91d1f"
]
]
},
{
- "id": "89c6bbd8.aba4a8",
+ "id": "4d3f835.49a0f7c",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3499.666576385498,
- "y": 2927.1980237960815,
- "z": "902b25ae.7c3098",
+ "x": 3503.0346183776855,
+ "y": 2990.0105447769165,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "a913fc61.3c3fe"
+ "fe2dca65.c59b58"
]
]
},
{
- "id": "bbf33189.fcb8c",
+ "id": "fd77e0c6.85fc6",
"type": "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`\"/>",
"comments": "",
"outputs": 1,
- "x": 3480.667324066162,
- "y": 3153.5313663482666,
- "z": "902b25ae.7c3098",
+ "x": 3475.0357398986816,
+ "y": 3234.3444533348083,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "9eacc78.b4d3538",
+ "id": "23f69fb5.8200b",
"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": 3709.666591644287,
- "y": 3224.5416202545166,
- "z": "902b25ae.7c3098",
+ "x": 3713.0346336364746,
+ "y": 3287.3541412353516,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c8e8a63e.f50a68",
- "ab3506c9.47f948"
+ "94ce8628.a93ba8",
+ "5d64bd6d.dca184"
]
]
},
{
- "id": "6d9e0bbf.a1c084",
+ "id": "b6394cd1.ba808",
"type": "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": 3472.666591644287,
- "y": 3109.5416202545166,
- "z": "902b25ae.7c3098",
+ "x": 3481.034641265869,
+ "y": 3200.3542795181274,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "30137ea9.9f0302",
+ "id": "ddf87c90.91d1f",
"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": 3802.666576385498,
- "y": 2843.1980240345,
- "z": "902b25ae.7c3098",
+ "x": 3806.0346183776855,
+ "y": 2906.010545015335,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "f3fb275c.f8fdd8",
+ "id": "5faf1669.7c78d8",
"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": 3515.656337738037,
- "y": 2979.1981143951416,
- "z": "902b25ae.7c3098",
+ "x": 3519.0243797302246,
+ "y": 3042.0106353759766,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "d0126428.24a5c8",
+ "id": "ffe68efb.6363e",
"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": 3496.656337738037,
- "y": 3018.1978702545166,
- "z": "902b25ae.7c3098",
+ "x": 3500.0243797302246,
+ "y": 3081.0103912353516,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "7a45049.92618fc",
+ "id": "7f374dbf.7dd314",
"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": 3490.656337738037,
- "y": 3066.1981143951416,
- "z": "902b25ae.7c3098",
+ "x": 3481.024387359619,
+ "y": 3121.0107746124268,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c8e8a63e.f50a68",
+ "id": "94ce8628.a93ba8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3760.666706085205,
- "y": 3032.5314836502075,
- "z": "902b25ae.7c3098",
+ "x": 3764.0347480773926,
+ "y": 3095.3440046310425,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8fce53d8.97b78"
+ "2ec06fcf.a5a02"
]
]
},
{
- "id": "ab3506c9.47f948",
+ "id": "5d64bd6d.dca184",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3997.666835784912,
- "y": 3196.5313663482666,
- "z": "902b25ae.7c3098",
+ "x": 4001.0348777770996,
+ "y": 3259.3438873291016,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8ecd0b54.ddcb28"
+ "c2fdcb62.ef4268"
]
]
},
{
- "id": "8fce53d8.97b78",
+ "id": "2ec06fcf.a5a02",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3908.666706085205,
- "y": 3059.5314836502075,
- "z": "902b25ae.7c3098",
+ "x": 3912.0347480773926,
+ "y": 3122.3440046310425,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "11a4fc22.3da314",
- "b1d10830.075248"
+ "75931b33.e80044",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "8ecd0b54.ddcb28",
+ "id": "c2fdcb62.ef4268",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4161.666347503662,
- "y": 3201.5313663482666,
- "z": "902b25ae.7c3098",
+ "x": 4165.03438949585,
+ "y": 3264.3438873291016,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "879e3e32.676fa"
+ "549b3fc8.96cd3"
]
]
},
{
- "id": "11a4fc22.3da314",
+ "id": "75931b33.e80044",
"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": 4047.66646194458,
- "y": 3131.5314836502075,
- "z": "902b25ae.7c3098",
+ "x": 4051.0345039367676,
+ "y": 3194.3440046310425,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "879e3e32.676fa",
+ "id": "549b3fc8.96cd3",
"type": "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": 4261.666835784912,
- "y": 3126.5316104888916,
- "z": "902b25ae.7c3098",
+ "x": 4265.0348777771,
+ "y": 3189.3441314697266,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "1eff2712.6c5d49",
+ "id": "98577773.262ea8",
"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": 3998.65629196167,
- "y": 2898.1980152130127,
- "z": "902b25ae.7c3098",
+ "x": 4002.0243339538574,
+ "y": 2961.0105361938477,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "a913fc61.3c3fe",
+ "id": "fe2dca65.c59b58",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3692.6562271118164,
- "y": 2922.1980237960815,
- "z": "902b25ae.7c3098",
+ "x": 3696.024269104004,
+ "y": 2985.0105447769165,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "1eff2712.6c5d49",
- "6f0d53b2.5498dc"
+ "98577773.262ea8",
+ "bf08d5b3.25ae68"
]
]
},
{
- "id": "6f0d53b2.5498dc",
+ "id": "bf08d5b3.25ae68",
"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": 3935.6562995910645,
- "y": 2957.1980743408203,
- "z": "902b25ae.7c3098",
+ "x": 3939.024341583252,
+ "y": 3020.0105953216553,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "5a25ed39.1c1e04",
+ "id": "7b894075.dd74f",
"type": "comment",
"name": "Connect to RRM P{olicy Ratio",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3680.656093597412,
- "y": 3169.5311222076416,
- "z": "902b25ae.7c3098",
+ "x": 3684.0241355895996,
+ "y": 3232.3436431884766,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "fe65a996.9bb588",
+ "id": "6787dd46.a4cdd4",
"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": 2663.6769981384277,
- "y": 1892.5315256118774,
- "z": "902b25ae.7c3098",
+ "x": 2667.0450401306152,
+ "y": 1955.3440465927124,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "7a5b63bc.bc8eac",
+ "id": "14cb63b.82fd69c",
"type": "block",
"name": "CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1918.7082176208496,
- "y": 3580.2762393951416,
- "z": "902b25ae.7c3098",
+ "x": 1922.076259613037,
+ "y": 3643.0887603759766,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "65b52fa1.e8d33",
- "3666b58a.81631a",
- "220480e4.8c61f",
- "5181ac1d.ed2ff4"
+ "3bc10e8d.2d6b92",
+ "38d6cdc8.613fd2",
+ "d1c68da5.d0d84",
+ "ecb96ca1.a1de1"
]
]
},
{
- "id": "8ddb5614.3de118",
+ "id": "c357c74b.75e6d8",
"type": "block",
"name": "Add RRM Policy Ratio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3280.7085037231445,
- "y": 5047.276567697525,
- "z": "902b25ae.7c3098",
+ "x": 3284.076545715332,
+ "y": 5110.08908867836,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "3379298c.52f936",
- "76bc8b9a.3f3004",
- "d3541253.4f9bb",
- "361fb395.a5791c",
- "edfdce45.75f4d",
- "118fcf84.9fd48"
+ "198dc3d1.29f44c",
+ "8ba8507e.f7658",
+ "bf7c7602.b73378",
+ "8106a26d.a53f4",
+ "40ab09b8.6833b8",
+ "f73ed2db.56a39",
+ "dde70b52.a80088"
]
]
},
{
- "id": "bf809c90.42251",
+ "id": "2e57c1d9.6b4b5e",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3476.708240509033,
- "y": 4292.277310371399,
- "z": "902b25ae.7c3098",
+ "x": 3480.0762825012207,
+ "y": 4355.089831352234,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "71c9ac87.b33454",
- "8374849a.f832d8"
+ "9e38c0e6.d3293",
+ "45236beb.534214"
]
]
},
{
- "id": "71c9ac87.b33454",
+ "id": "9e38c0e6.d3293",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3717.708240509033,
- "y": 4224.277310848236,
- "z": "902b25ae.7c3098",
+ "x": 3721.0762825012207,
+ "y": 4287.089831829071,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "32b24e5c.05a992"
+ "81fc2f10.f969e"
]
]
},
{
- "id": "8374849a.f832d8",
+ "id": "45236beb.534214",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3698.7083625793457,
- "y": 4318.277188301086,
- "z": "902b25ae.7c3098",
+ "x": 3702.076404571533,
+ "y": 4381.089709281921,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "f977adf0.37736"
+ "4133c2c0.2c06ec"
]
]
},
{
- "id": "3666b58a.81631a",
+ "id": "38d6cdc8.613fd2",
"type": "for",
"name": "For List of CUUP's",
"xml": "<for index='id2' start='0' end='`$tmp.CUUPListEntries `' >",
"comments": "",
"outputs": 1,
- "x": 2564.708251953125,
- "y": 3674.277069091797,
- "z": "902b25ae.7c3098",
+ "x": 2568.0762939453125,
+ "y": 3737.089590072632,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "d2cecf2b.2bb8a",
- "90d738c0.a94778",
- "96687382.cb959",
- "9ce0499f.441d98",
- "60df4d88.f18d84",
- "8ddb5614.3de118",
- "25a1224d.f5effe",
- "98c42098.224dc"
+ "6837b904.f86678",
+ "5fc3cfcd.058b4",
+ "bfeead35.1b76b",
+ "adcfac1.b165d5",
+ "f793ca09.91fd18",
+ "c357c74b.75e6d8",
+ "f3a2bcbf.8f26c",
+ "a3e55510.78b598"
]
]
},
{
- "id": "65b52fa1.e8d33",
+ "id": "3bc10e8d.2d6b92",
"type": "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": 2987.7081031799316,
- "y": 3427.2765417099,
- "z": "902b25ae.7c3098",
+ "x": 2991.076145172119,
+ "y": 3490.089062690735,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "220480e4.8c61f",
+ "id": "d1c68da5.d0d84",
"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": 2990.7080078125,
- "y": 3384.2766246795654,
- "z": "902b25ae.7c3098",
+ "x": 2994.0760498046875,
+ "y": 3447.0891456604004,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "d2cecf2b.2bb8a",
+ "id": "6837b904.f86678",
"type": "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": 3474.7080078125,
- "y": 3840.2771129608154,
- "z": "902b25ae.7c3098",
+ "x": 3478.0760498046875,
+ "y": 3903.0896339416504,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "90d738c0.a94778",
+ "id": "5fc3cfcd.058b4",
"type": "block",
"name": "cellCUUPList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3440.7081451416016,
- "y": 3769.2767436504364,
- "z": "902b25ae.7c3098",
+ "x": 3444.076187133789,
+ "y": 3832.0892646312714,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "9c1c4dbc.6f1aa",
- "8ad1610c.a953",
- "d9417f9f.3f6f5",
- "e771c65b.e15c38"
+ "ab3a7539.f0f5b8",
+ "45dd1963.03d668",
+ "2f5ff784.427978",
+ "50fa0621.0df758"
]
]
},
{
- "id": "9c1c4dbc.6f1aa",
+ "id": "ab3a7539.f0f5b8",
"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": 3877.708251953125,
- "y": 3688.276580810547,
- "z": "902b25ae.7c3098",
+ "x": 3881.0762939453125,
+ "y": 3751.089101791382,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "8ad1610c.a953",
+ "id": "45dd1963.03d668",
"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": 3898.708339691162,
- "y": 3783.2767276763916,
- "z": "902b25ae.7c3098",
+ "x": 3902.0763816833496,
+ "y": 3846.0892486572266,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "d9417f9f.3f6f5",
+ "id": "2f5ff784.427978",
"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": 3916.708106994629,
- "y": 3827.2766478061676,
- "z": "902b25ae.7c3098",
+ "x": 3920.0761489868164,
+ "y": 3890.0891687870026,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "9ce0499f.441d98",
+ "id": "adcfac1.b165d5",
"type": "for",
"name": "For pLMNInfoListEntries",
"xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3479.697856903076,
- "y": 4078.2767384052277,
- "z": "902b25ae.7c3098",
+ "x": 3483.0658988952637,
+ "y": 4141.089259386063,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "dbfbeb43.7417f8"
+ "7bff1b9e.1e2e94"
]
]
},
{
- "id": "96687382.cb959",
+ "id": "bfeead35.1b76b",
"type": "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": 3479.6979789733887,
- "y": 3932.276615858078,
- "z": "902b25ae.7c3098",
+ "x": 3483.066020965576,
+ "y": 3995.089136838913,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "dbfbeb43.7417f8",
+ "id": "7bff1b9e.1e2e94",
"type": "block",
"name": "pLMNInfoList Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3730.6980323791504,
- "y": 4077.276689529419,
- "z": "902b25ae.7c3098",
+ "x": 3734.066074371338,
+ "y": 4140.089210510254,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "5f513a26.25b6f4",
- "24e06964.c1f256"
+ "545ec444.ed32bc",
+ "590b6cc9.214824"
]
]
},
{
- "id": "5f513a26.25b6f4",
+ "id": "545ec444.ed32bc",
"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": 3944.697998046875,
- "y": 4028.2768115997314,
- "z": "902b25ae.7c3098",
+ "x": 3948.0660400390625,
+ "y": 4091.0893325805664,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ca42709e.0785",
+ "id": "69689fc7.df7c3",
"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": 3547.6980171203613,
- "y": 4133.276689529419,
- "z": "902b25ae.7c3098",
+ "x": 3551.066059112549,
+ "y": 4196.089210510254,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "24e06964.c1f256",
+ "id": "590b6cc9.214824",
"type": "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": 3948.6980590820312,
- "y": 4112.276323318481,
- "z": "902b25ae.7c3098",
+ "x": 3952.0661010742188,
+ "y": 4175.088844299316,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "801640dd.e846b",
+ "id": "aa5c1734.d59c18",
"type": "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": 3860.708881378174,
- "y": 4638.609990596771,
- "z": "902b25ae.7c3098",
+ "x": 3829.077251434326,
+ "y": 4730.422601699829,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "60df4d88.f18d84",
+ "id": "f793ca09.91fd18",
"type": "block",
"name": "Add PLMNInfoList Entry",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3419.707996368408,
- "y": 4477.620929718018,
- "z": "902b25ae.7c3098",
+ "x": 3423.0760383605957,
+ "y": 4540.4334506988525,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "801640dd.e846b",
- "8e8f2b00.5422e8",
- "a1cbea3c.4bd528",
- "ff1f90d8.cddac",
- "817fe7bf.d5e428",
- "bf809c90.42251",
- "91a146e3.3ed648"
+ "aa5c1734.d59c18",
+ "ce3e5ffc.d6572",
+ "7fcea060.9a1ff",
+ "3d52fd87.82c8e2",
+ "61973046.b5029",
+ "2e57c1d9.6b4b5e",
+ "c7ffc734.9869d8",
+ "24247669.aa7e8a",
+ "2a97eefa.4b80d2"
]
]
},
{
- "id": "91a146e3.3ed648",
+ "id": "c7ffc734.9869d8",
"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": 3820.7083702087402,
- "y": 4676.620819091797,
- "z": "902b25ae.7c3098",
+ "x": 3821.0763359069824,
+ "y": 4789.43316078186,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "50eda65d.caeea8",
- "d62b8e0f.9d22d"
+ "4511ea34.630124",
+ "d388f9ee.48da98"
]
]
},
{
- "id": "8e8f2b00.5422e8",
+ "id": "ce3e5ffc.d6572",
"type": "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": 3853.7080001831055,
- "y": 4586.620589733124,
- "z": "902b25ae.7c3098",
+ "x": 3831.07621383667,
+ "y": 4682.43316078186,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "32b24e5c.05a992",
+ "id": "81fc2f10.f969e",
"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": 4029.70804977417,
- "y": 4224.276947975159,
- "z": "902b25ae.7c3098",
+ "x": 4033.0760917663574,
+ "y": 4287.089468955994,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "a1cbea3c.4bd528",
+ "id": "7fcea060.9a1ff",
"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": 3879.69779586792,
- "y": 4411.276870727539,
- "z": "902b25ae.7c3098",
+ "x": 3883.0658378601074,
+ "y": 4474.089391708374,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ff1f90d8.cddac",
+ "id": "3d52fd87.82c8e2",
"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": 3845.69779586792,
- "y": 4473.276872634888,
- "z": "902b25ae.7c3098",
+ "x": 3849.0658378601074,
+ "y": 4536.089393615723,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "817fe7bf.d5e428",
+ "id": "61973046.b5029",
"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": 3842.69779586792,
- "y": 4522.276874542236,
- "z": "902b25ae.7c3098",
+ "x": 3846.0658378601074,
+ "y": 4585.089395523071,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "50eda65d.caeea8",
+ "id": "4511ea34.630124",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4078.7088623046875,
- "y": 4503.609588623047,
- "z": "902b25ae.7c3098",
+ "x": 4082.076904296875,
+ "y": 4566.422109603882,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "f3d112ea.3b22c"
+ "c5f216a7.10a9e8"
]
]
},
{
- "id": "d62b8e0f.9d22d",
+ "id": "d388f9ee.48da98",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4119.709228515625,
- "y": 4661.610687255859,
- "z": "902b25ae.7c3098",
+ "x": 4123.0772705078125,
+ "y": 4724.423208236694,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "eb86fb9d.0d6478"
+ "23a9886c.832ec8"
]
]
},
{
- "id": "f3d112ea.3b22c",
+ "id": "c5f216a7.10a9e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4292.70849609375,
- "y": 4429.610321044922,
- "z": "902b25ae.7c3098",
+ "x": 4296.0765380859375,
+ "y": 4492.422842025757,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c1afefb4.2e65b",
- "b1d10830.075248"
+ "8f6a84d2.d367e8",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "eb86fb9d.0d6478",
+ "id": "23a9886c.832ec8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4133.7086181640625,
- "y": 4724.610809326172,
- "z": "902b25ae.7c3098",
+ "x": 4137.07666015625,
+ "y": 4787.423330307007,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "9e864169.bffa8"
+ "60f03199.05e69"
]
]
},
{
- "id": "c1afefb4.2e65b",
+ "id": "8f6a84d2.d367e8",
"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": 4279.7081298828125,
- "y": 4558.610321044922,
- "z": "902b25ae.7c3098",
+ "x": 4283.076171875,
+ "y": 4621.422842025757,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "9e864169.bffa8",
+ "id": "60f03199.05e69",
"type": "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": 4280.708984375,
- "y": 4712.610809326172,
- "z": "902b25ae.7c3098",
+ "x": 4284.0770263671875,
+ "y": 4775.423330307007,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "9fe99981.e04838",
+ "id": "7e756124.60d21",
"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": 4224.697803497314,
- "y": 4287.276948928833,
- "z": "902b25ae.7c3098",
+ "x": 4228.065845489502,
+ "y": 4350.089469909668,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "f977adf0.37736",
+ "id": "4133c2c0.2c06ec",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3879.6976356506348,
- "y": 4319.276950836182,
- "z": "902b25ae.7c3098",
+ "x": 3883.0656776428223,
+ "y": 4382.089471817017,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "9fe99981.e04838",
- "94679fe6.5eca2"
+ "7e756124.60d21",
+ "85c37175.85d74"
]
]
},
{
- "id": "94679fe6.5eca2",
+ "id": "85c37175.85d74",
"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": 4143.698131561279,
- "y": 4351.276950836182,
- "z": "902b25ae.7c3098",
+ "x": 4147.066173553467,
+ "y": 4414.089471817017,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "62ddf420.39034c",
+ "id": "746f0b61.cb46d4",
"type": "comment",
"name": "Connect to AddPLMNInfoList Entry",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3738.6977195739746,
- "y": 4725.610262870789,
- "z": "902b25ae.7c3098",
+ "x": 3575.065902709961,
+ "y": 4687.422848701477,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "3379298c.52f936",
+ "id": "198dc3d1.29f44c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3512.69775390625,
- "y": 4874.942841291428,
- "z": "902b25ae.7c3098",
+ "x": 3516.0657958984375,
+ "y": 4937.755362272263,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "f2e68b46.921588",
- "3daadbf9.2c88a4"
+ "414c4c5a.1c17e4",
+ "da336706.0b5688"
]
]
},
{
- "id": "f2e68b46.921588",
+ "id": "414c4c5a.1c17e4",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3707.697780609131,
- "y": 4834.942748785019,
- "z": "902b25ae.7c3098",
+ "x": 3711.0658226013184,
+ "y": 4897.755269765854,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8c799358.477f7"
+ "35ef2e88.78dae2"
]
]
},
{
- "id": "3daadbf9.2c88a4",
+ "id": "da336706.0b5688",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3687.69775390625,
- "y": 4913.942840337753,
- "z": "902b25ae.7c3098",
+ "x": 3691.0657958984375,
+ "y": 4976.755361318588,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b916fbdd.ddf7b8"
+ "6b2f3f0b.c4deb"
]
]
},
{
- "id": "edfdce45.75f4d",
+ "id": "40ab09b8.6833b8",
"type": "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": 3667.698860168457,
- "y": 5138.276465654373,
- "z": "902b25ae.7c3098",
+ "x": 3670.0671730041504,
+ "y": 5245.089053153992,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "118fcf84.9fd48",
+ "id": "f73ed2db.56a39",
"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": 3728.6986083984375,
- "y": 5245.287207841873,
- "z": "902b25ae.7c3098",
+ "x": 3732.066650390625,
+ "y": 5308.099728822708,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "955b4a61.d1a788",
- "391460fe.fd237"
+ "e5202da4.0303",
+ "36d118d9.e40bb8"
]
]
},
{
- "id": "361fb395.a5791c",
+ "id": "8106a26d.a53f4",
"type": "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": 3658.698127746582,
- "y": 5082.286719560623,
- "z": "902b25ae.7c3098",
+ "x": 3670.0664405822754,
+ "y": 5195.099368095398,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "8c799358.477f7",
+ "id": "35ef2e88.78dae2",
"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": 3990.69775390625,
- "y": 4829.942840576172,
- "z": "902b25ae.7c3098",
+ "x": 3994.0657958984375,
+ "y": 4892.755361557007,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "76bc8b9a.3f3004",
+ "id": "8ba8507e.f7658",
"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": 3706.687469482422,
- "y": 4983.943256616592,
- "z": "902b25ae.7c3098",
+ "x": 3710.0555114746094,
+ "y": 5046.755777597427,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "d3541253.4f9bb",
+ "id": "bf7c7602.b73378",
"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": 3660.687629699707,
- "y": 5027.943579912186,
- "z": "902b25ae.7c3098",
+ "x": 3664.0556716918945,
+ "y": 5090.756100893021,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "955b4a61.d1a788",
+ "id": "e5202da4.0303",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3987.69815826416,
- "y": 5055.27617764473,
- "z": "902b25ae.7c3098",
+ "x": 3991.0662002563477,
+ "y": 5118.088698625565,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "6f5bc786.ba1a98"
+ "1e1ea39c.c1df7c"
]
]
},
{
- "id": "391460fe.fd237",
+ "id": "36d118d9.e40bb8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4050.698127746582,
- "y": 5242.276587724686,
- "z": "902b25ae.7c3098",
+ "x": 4054.0661697387695,
+ "y": 5305.089108705521,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e2d54569.52bd08"
+ "6f7ba28f.f89fac"
]
]
},
{
- "id": "6f5bc786.ba1a98",
+ "id": "1e1ea39c.c1df7c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4207.697914123535,
- "y": 5044.27666592598,
- "z": "902b25ae.7c3098",
+ "x": 4211.065956115723,
+ "y": 5107.089186906815,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c4d35a92.f669a8",
- "b1d10830.075248"
+ "65361029.411d1",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "e2d54569.52bd08",
+ "id": "6f7ba28f.f89fac",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4212.6975173950195,
- "y": 5226.276953935623,
- "z": "902b25ae.7c3098",
+ "x": 4216.065559387207,
+ "y": 5289.089474916458,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "bd5425c.9ac7dd8"
+ "d3bcb7b4.0e4398"
]
]
},
{
- "id": "c4d35a92.f669a8",
+ "id": "65361029.411d1",
"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": 4216.697883605957,
- "y": 5122.276953935623,
- "z": "902b25ae.7c3098",
+ "x": 4220.0659255981445,
+ "y": 5185.089474916458,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "bd5425c.9ac7dd8",
+ "id": "d3bcb7b4.0e4398",
"type": "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": 4365.698127746582,
- "y": 5208.277564287186,
- "z": "902b25ae.7c3098",
+ "x": 4369.0661697387695,
+ "y": 5271.090085268021,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "5c081526.c0ccbc",
+ "id": "3d0bf917.c4fff6",
"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": 4104.6874923706055,
- "y": 4880.942960500717,
- "z": "902b25ae.7c3098",
+ "x": 4108.055534362793,
+ "y": 4943.755481481552,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "b916fbdd.ddf7b8",
+ "id": "6b2f3f0b.c4deb",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3833.6874771118164,
- "y": 4879.94296002388,
- "z": "902b25ae.7c3098",
+ "x": 3837.055519104004,
+ "y": 4942.755481004715,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "5c081526.c0ccbc",
- "be23b8b6.bc2618"
+ "3d0bf917.c4fff6",
+ "3e548cd1.a26ef4"
]
]
},
{
- "id": "be23b8b6.bc2618",
+ "id": "3e548cd1.a26ef4",
"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": 4057.687484741211,
- "y": 4961.943288087845,
- "z": "902b25ae.7c3098",
+ "x": 4061.0555267333984,
+ "y": 5024.75580906868,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "e13d63cc.2f08c",
+ "id": "822af5af.20ae88",
"type": "comment",
"name": "Connect to RRM P{olicy Ratio",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3681.6875,
- "y": 5189.275977373123,
- "z": "902b25ae.7c3098",
+ "x": 3685.0557594299316,
+ "y": 5273.088809013367,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "5181ac1d.ed2ff4",
+ "id": "ecb96ca1.a1de1",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2956.708595275879,
- "y": 3528.9539098739624,
- "z": "902b25ae.7c3098",
+ "x": 2960.0766372680664,
+ "y": 3591.7664308547974,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "6b8f2f7f.8ad82",
- "227aa86c.d8ef18",
- "f7883b36.3134a8",
- "7041c873.f89558",
- "3d1dff1c.05b3",
- "6d6a083f.f9e168"
+ "93ac429d.73aba",
+ "a22f23c2.f41a3",
+ "e3aee558.f47c68",
+ "afd8bf3d.07b45",
+ "a37bbb9c.2cb008",
+ "4a387951.f6db68",
+ "32229efd.5611c2"
]
]
},
{
- "id": "3d1dff1c.05b3",
+ "id": "a37bbb9c.2cb008",
"type": "set",
"name": "calculation rrm5",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rRMPolicyDedicatedRatio.CUUP1 / $prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
"comments": "",
- "x": 3214.7090187072754,
- "y": 3639.7314977645874,
- "z": "902b25ae.7c3098",
+ "x": 3218.077060699463,
+ "y": 3702.5440187454224,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "f7883b36.3134a8",
+ "id": "e3aee558.f47c68",
"type": "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`\"/>",
+ "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": 3174.7087783813477,
- "y": 3688.3986110687256,
- "z": "902b25ae.7c3098",
+ "x": 3178.076820373535,
+ "y": 3751.2111320495605,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "e771c65b.e15c38",
+ "id": "50fa0621.0df758",
"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": 3932.708106994629,
- "y": 3868.2766535282135,
- "z": "902b25ae.7c3098",
+ "x": 3936.0761489868164,
+ "y": 3931.0891745090485,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "41ac7ea3.696a9",
+ "id": "e395e6a1.9f22d8",
"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": 3938.9310340881348,
- "y": 3955.952590942383,
- "z": "902b25ae.7c3098",
+ "x": 3942.2990760803223,
+ "y": 4018.765111923218,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "3557a927.df2d96",
+ "id": "e98162b5.f4361",
"type": "comment",
"name": "Assumption pLMNId in configDB resp",
"info": "Assumed that configDB responnse will include pLMNId...currently, it is not there",
"comments": "",
- "x": 3959.930877685547,
- "y": 3913.9523088932037,
- "z": "902b25ae.7c3098",
+ "x": 3963.2989196777344,
+ "y": 3976.7648298740387,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "2ad6acbd.2fabe4",
+ "id": "d2a1e3b1.98234",
"type": "for",
"name": "For list of cells",
"xml": "<for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 2410.687599182129,
- "y": 661.1979541778564,
- "z": "902b25ae.7c3098",
+ "x": 2414.0556411743164,
+ "y": 724.0104751586914,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "1f922426.507abc",
- "27fc8871.d307b8"
+ "d7341791.95e058",
+ "cd2371ec.3ab72"
]
]
},
{
- "id": "27fc8871.d307b8",
+ "id": "cd2371ec.3ab72",
"type": "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": 2583.6874771118164,
- "y": 694.1979084014893,
- "z": "902b25ae.7c3098",
+ "x": 2587.055519104004,
+ "y": 757.0104293823242,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "1f922426.507abc",
+ "id": "d7341791.95e058",
"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": 2589.6875381469727,
- "y": 594.8645191192627,
- "z": "902b25ae.7c3098",
+ "x": 2593.05558013916,
+ "y": 657.6770401000977,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c40929f9.0b2a08",
+ "id": "19ed9e08.dbfce2",
"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": 845.6875267028809,
- "y": 178.1978702545166,
- "z": "902b25ae.7c3098",
+ "x": 849.0555686950684,
+ "y": 241.01039123535156,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "815e12b6.09871",
+ "id": "6f40dd43.c32694",
"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": 2617.687255859375,
- "y": 2086.531463623047,
- "z": "902b25ae.7c3098",
+ "x": 2621.0552978515625,
+ "y": 2149.343984603882,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "da29413f.2288b",
+ "id": "eedce730.f46188",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 485.1812210083008,
- "y": 822.2021484375,
- "z": "902b25ae.7c3098",
+ "x": 477.0494775772095,
+ "y": 2630.764775276184,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "457f7456.b4ff3c",
- "6c379f3a.5b25f"
+ "21b989ed.f1a2e6",
+ "de984f8d.bc2a1",
+ "39ecab71.a7b734",
+ "a4d56b0e.208708"
]
]
},
{
- "id": "b5ab3dde.02dc7",
+ "id": "39ecab71.a7b734",
"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\n\npayloadJson.input.callbackURL\n\n<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`\"/>",
+ "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": 765.1823654174805,
- "y": 672.1016330718994,
- "z": "902b25ae.7c3098",
+ "x": 785.0506792068481,
+ "y": 2496.6643266677856,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "457f7456.b4ff3c",
+ "id": "21b989ed.f1a2e6",
"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`\" />",
+ "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": 762.1811981201172,
- "y": 826.2023315429688,
- "z": "902b25ae.7c3098",
+ "x": 754.0494546890259,
+ "y": 2634.764958381653,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "6c379f3a.5b25f",
+ "id": "de984f8d.bc2a1",
"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='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "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": 631.1812973022461,
- "y": 943.2020359039307,
- "z": "902b25ae.7c3098",
+ "x": 623.0495538711548,
+ "y": 2751.7646627426147,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "928f6977.fc9dd8",
- "107091de.7fc13e"
+ "9e984ec3.d555b",
+ "286164d1.9a2a0c"
]
]
},
{
- "id": "928f6977.fc9dd8",
+ "id": "9e984ec3.d555b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 796.1812973022461,
- "y": 923.2020349502563,
- "z": "902b25ae.7c3098",
+ "x": 788.0495538711548,
+ "y": 2731.7646617889404,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "9022a5d7.ad8d88"
+ "c4cb02b3.0c723"
]
]
},
{
- "id": "107091de.7fc13e",
+ "id": "286164d1.9a2a0c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 788.1811904907227,
- "y": 996.2019853591919,
- "z": "902b25ae.7c3098",
+ "x": 780.0494470596313,
+ "y": 2804.764612197876,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "6bccd1d2.fb033"
+ "b5c2b606.c1cc08"
]
]
},
{
- "id": "6bccd1d2.fb033",
+ "id": "b5c2b606.c1cc08",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 934.1810340881348,
- "y": 1001.202094078064,
- "z": "902b25ae.7c3098",
+ "x": 926.0492906570435,
+ "y": 2809.764720916748,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "2e80126d.30463e"
+ "3903e2e2.71dede"
]
]
},
{
- "id": "9022a5d7.ad8d88",
+ "id": "c4cb02b3.0c723",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 945.1811981201172,
- "y": 919.2021703720093,
- "z": "902b25ae.7c3098",
+ "x": 937.0494546890259,
+ "y": 2727.7647972106934,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "888dd8e7.3f1488",
- "620f8a78.798f44"
+ "8d1db5f8.9b5638",
+ "a2c26d26.d596b"
]
]
},
{
- "id": "888dd8e7.3f1488",
+ "id": "8d1db5f8.9b5638",
"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": 1092.1808166503906,
- "y": 930.2019119262695,
- "z": "902b25ae.7c3098",
+ "x": 1084.0490732192993,
+ "y": 2738.7645387649536,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "2e80126d.30463e",
+ "id": "3903e2e2.71dede",
"type": "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 \"/>",
+ "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": 1095.1809539794922,
- "y": 1007.2019863128662,
- "z": "902b25ae.7c3098",
+ "x": 1087.0492105484009,
+ "y": 2815.7646131515503,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "b1d10830.075248",
+ "id": "43e9fff0.abfbe",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5659.177593231201,
- "y": 3362.198055267334,
- "z": "902b25ae.7c3098",
+ "x": 5662.545635223389,
+ "y": 3425.010576248169,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "72b89811.4b4a88",
- "db97eac3.7fe718",
- "656d3999.1ed298"
+ "e11c6ea.e9bb39",
+ "d763cd35.6041c",
+ "7b7eb1f.6026e5"
]
]
},
{
- "id": "72b89811.4b4a88",
+ "id": "e11c6ea.e9bb39",
"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": 5977.178569793701,
- "y": 3286.097713470459,
- "z": "902b25ae.7c3098",
+ "x": 5980.546611785889,
+ "y": 3348.910234451294,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "db97eac3.7fe718",
+ "id": "d763cd35.6041c",
"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": 5952.1774559021,
- "y": 3383.1983909606934,
- "z": "902b25ae.7c3098",
+ "x": 5955.545497894287,
+ "y": 3446.0109119415283,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "656d3999.1ed298",
+ "id": "7b7eb1f.6026e5",
"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' />",
+ "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": 5867.177467346191,
- "y": 3480.198268890381,
- "z": "902b25ae.7c3098",
+ "x": 5870.545509338379,
+ "y": 3543.010789871216,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "f6394491.915808",
- "e5d8aced.33583"
+ "a1809480.8bbfb8",
+ "ad1e9a16.a64ed8"
]
]
},
{
- "id": "f6394491.915808",
+ "id": "a1809480.8bbfb8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 6093.17747592926,
- "y": 3457.1982378959656,
- "z": "902b25ae.7c3098",
+ "x": 6096.545517921448,
+ "y": 3520.0107588768005,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "f0f4d1bf.0e515"
+ "830a0de8.dd31e"
]
]
},
{
- "id": "e5d8aced.33583",
+ "id": "ad1e9a16.a64ed8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 6083.17733001709,
- "y": 3565.1981773376465,
- "z": "902b25ae.7c3098",
+ "x": 6086.545372009277,
+ "y": 3628.0106983184814,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "ca53c9b3.99fc38"
+ "da24b1ad.9b4e"
]
]
},
{
- "id": "ca53c9b3.99fc38",
+ "id": "da24b1ad.9b4e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 6233.177116394043,
- "y": 3584.1982383728027,
- "z": "902b25ae.7c3098",
+ "x": 6236.5451583862305,
+ "y": 3647.0107593536377,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "7c8b83a1.3f85cc"
+ "3bdbfa8c.d225f6"
]
]
},
{
- "id": "f0f4d1bf.0e515",
+ "id": "830a0de8.dd31e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 6244.177345275879,
- "y": 3452.198359966278,
- "z": "902b25ae.7c3098",
+ "x": 6247.545387268066,
+ "y": 3515.010880947113,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "5c210ccd.aff244"
+ "fed6c94f.f1dca8"
]
]
},
{
- "id": "5c210ccd.aff244",
+ "id": "fed6c94f.f1dca8",
"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": 6410.177024841309,
- "y": 3455.1981773376465,
- "z": "902b25ae.7c3098",
+ "x": 6413.545066833496,
+ "y": 3518.0106983184814,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "7c8b83a1.3f85cc",
+ "id": "3bdbfa8c.d225f6",
"type": "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": 6397.177131652832,
- "y": 3590.1981773376465,
- "z": "902b25ae.7c3098",
+ "x": 6400.5451736450195,
+ "y": 3653.0106983184814,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "f234e7a5.4abc18",
+ "id": "1f9c65b6.02cd8a",
"type": "block",
"name": "nearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1738.6774368286133,
- "y": 939.5313358306885,
- "z": "902b25ae.7c3098",
+ "x": 1742.0454788208008,
+ "y": 1002.3438568115234,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "6bfd09e4.03ef08",
- "8fe051f9.03a9b",
- "b4b69ea1.a2b28",
- "58c5284d.881c98",
- "fd7aef73.25f1c",
- "998f959.4540068",
- "25223fa4.5b85b",
- "bae48b05.1444f8"
+ "d75a0959.3ebb28",
+ "a1727cbf.de1a7",
+ "e3d2bb2c.121928",
+ "911e2882.b267a8",
+ "6109ce31.790db",
+ "f4e14609.f8d008",
+ "35994541.ad761a",
+ "90eda30c.3bf6a"
]
]
},
{
- "id": "821e1619.c04cd8",
+ "id": "5246f2ec.b0b8ec",
"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": 1623.6771926879883,
- "y": 682.8646297454834,
- "z": "902b25ae.7c3098",
+ "x": 1627.0452346801758,
+ "y": 745.6771507263184,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "1854a4d1.e4860b",
+ "id": "2997ccc9.716304",
"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": 1681.6772232055664,
- "y": 741.8645992279053,
- "z": "902b25ae.7c3098",
+ "x": 1685.045265197754,
+ "y": 804.6771202087402,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "6bfd09e4.03ef08",
+ "id": "d75a0959.3ebb28",
"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": 2142.010566711426,
- "y": 790.8646602630615,
- "z": "902b25ae.7c3098",
+ "x": 2145.3786087036133,
+ "y": 853.6771812438965,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "8fe051f9.03a9b",
+ "id": "a1727cbf.de1a7",
"type": "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": 2094.343936920166,
- "y": 947.5315551757812,
- "z": "902b25ae.7c3098",
+ "x": 2097.7119789123535,
+ "y": 1010.3440761566162,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "b4b69ea1.a2b28",
+ "id": "e3d2bb2c.121928",
"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": 1828.343894958496,
- "y": 1672.8646049499512,
- "z": "902b25ae.7c3098",
+ "x": 1831.7119369506836,
+ "y": 1735.6771259307861,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "87ff0779.cbac38",
- "55ae56ce.79fec8"
+ "c9a03d16.38179",
+ "b734b73a.d51358"
]
]
},
{
- "id": "87ff0779.cbac38",
+ "id": "c9a03d16.38179",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2483.3445053100586,
- "y": 1533.8648490905762,
- "z": "902b25ae.7c3098",
+ "x": 2486.712547302246,
+ "y": 1596.6773700714111,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "ee4e4e9f.c6bec"
+ "42b8ad65.a61524"
]
]
},
{
- "id": "55ae56ce.79fec8",
+ "id": "b734b73a.d51358",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2688.3445053100586,
- "y": 1631.8647270202637,
- "z": "902b25ae.7c3098",
+ "x": 2691.712547302246,
+ "y": 1694.6772480010986,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "4c51533c.b4860c"
+ "38d54e8d.4b2232"
]
]
},
{
- "id": "4c51533c.b4860c",
+ "id": "38d54e8d.4b2232",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2841.3442611694336,
- "y": 1620.8648490905762,
- "z": "902b25ae.7c3098",
+ "x": 2844.712303161621,
+ "y": 1683.6773700714111,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "9dab1909.0a7508"
+ "ba025a6c.0dc5e8"
]
]
},
{
- "id": "9dab1909.0a7508",
+ "id": "ba025a6c.0dc5e8",
"type": "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": 3005.3445053100586,
- "y": 1624.8649711608887,
- "z": "902b25ae.7c3098",
+ "x": 3008.712547302246,
+ "y": 1687.6774921417236,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "3c3f81dc.4f06de",
+ "id": "4acee990.e8a978",
"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": 2898.3442611694336,
- "y": 1568.8648188114166,
- "z": "902b25ae.7c3098",
+ "x": 2901.712303161621,
+ "y": 1631.6773397922516,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "ee4e4e9f.c6bec",
+ "id": "42b8ad65.a61524",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2845.3447494506836,
- "y": 1467.8648490905762,
- "z": "902b25ae.7c3098",
+ "x": 2848.712791442871,
+ "y": 1530.6773700714111,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "3c3f81dc.4f06de",
- "29b81bf8.69c344",
- "b1d10830.075248"
+ "4acee990.e8a978",
+ "37e7b87f.ec0988",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "29b81bf8.69c344",
+ "id": "37e7b87f.ec0988",
"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": 2969.3445053100586,
- "y": 1426.975841730833,
- "z": "902b25ae.7c3098",
+ "x": 2972.712547302246,
+ "y": 1489.788362711668,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "82c9288a.fb72f8",
+ "id": "3f006895.7f8de8",
"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": 3098.708751678467,
- "y": 3244.729292869568,
- "z": "902b25ae.7c3098",
+ "x": 3102.0767936706543,
+ "y": 3307.541813850403,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "3d4f192d.3fb076",
- "382d8b4f.fc3224"
+ "fa2483e5.8c8a6",
+ "aaf5ff26.6e498"
]
]
},
{
- "id": "3d4f192d.3fb076",
+ "id": "fa2483e5.8c8a6",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3962.708339691162,
- "y": 3284.7293643951416,
- "z": "902b25ae.7c3098",
+ "x": 3966.0763816833496,
+ "y": 3347.5418853759766,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b9ea760d.1e4648"
+ "84aefe83.903fb"
]
]
},
{
- "id": "b9ea760d.1e4648",
+ "id": "84aefe83.903fb",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4190.708583831787,
- "y": 3276.7293643951416,
- "z": "902b25ae.7c3098",
+ "x": 4194.076625823975,
+ "y": 3339.5418853759766,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8b73f84d.3023e8",
- "14c41321.adb8dd",
- "b1d10830.075248"
+ "eb79817a.c3d98",
+ "d280fd58.42fdb",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "14c41321.adb8dd",
+ "id": "d280fd58.42fdb",
"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": 4305.708339691162,
- "y": 3189.8402042388916,
- "z": "902b25ae.7c3098",
+ "x": 4309.07638168335,
+ "y": 3252.6527252197266,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "8b73f84d.3023e8",
+ "id": "eb79817a.c3d98",
"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": 4373.708339691162,
- "y": 3296.7291202545166,
- "z": "902b25ae.7c3098",
+ "x": 4377.07638168335,
+ "y": 3359.5416412353516,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "382d8b4f.fc3224",
+ "id": "aaf5ff26.6e498",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3967.708339691162,
- "y": 3332.7291202545166,
- "z": "902b25ae.7c3098",
+ "x": 3971.0763816833496,
+ "y": 3395.5416412353516,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "10bfd748.b33be9"
+ "cf1d7b1d.532dd8"
]
]
},
{
- "id": "10bfd748.b33be9",
+ "id": "cf1d7b1d.532dd8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4132.708339691162,
- "y": 3331.7293643951416,
- "z": "902b25ae.7c3098",
+ "x": 4136.07638168335,
+ "y": 3394.5418853759766,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "de16b1ed.2bdca"
+ "9661cda.13ee23"
]
]
},
{
- "id": "de16b1ed.2bdca",
+ "id": "9661cda.13ee23",
"type": "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": 4284.708339691162,
- "y": 3344.7293643951416,
- "z": "902b25ae.7c3098",
+ "x": 4288.07638168335,
+ "y": 3407.5418853759766,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "2ba5e1ca.ee1a1e",
+ "id": "ceda3611.738b98",
"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": 2559.67724609375,
- "y": 3316.1977672576904,
- "z": "902b25ae.7c3098",
+ "x": 2563.0452880859375,
+ "y": 3379.0102882385254,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "fad13440.269eb8",
- "98b96937.cec128"
+ "5fb4c33d.d46bdc",
+ "95e66b9.f586198"
]
]
},
{
- "id": "cb33327d.34fde",
+ "id": "ea655e5b.c7c99",
"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": 4284.677486419678,
- "y": 3382.198085784912,
- "z": "902b25ae.7c3098",
+ "x": 4288.045528411865,
+ "y": 3445.010606765747,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "b5c2ceaa.f317f",
+ "id": "e603ff85.93075",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4209.677265167236,
- "y": 3440.0872478485107,
- "z": "902b25ae.7c3098",
+ "x": 4213.045307159424,
+ "y": 3502.8997688293457,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e4d48f34.65c4d",
- "cb33327d.34fde",
- "b1d10830.075248"
+ "f7523ff6.71de",
+ "ea655e5b.c7c99",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "e4d48f34.65c4d",
+ "id": "f7523ff6.71de",
"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": 4376.677379608154,
- "y": 3474.086709022522,
- "z": "902b25ae.7c3098",
+ "x": 4380.045421600342,
+ "y": 3536.899230003357,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "41725221.8703bc",
+ "id": "9d51eb18.62f608",
"type": "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": 3960.67728805542,
- "y": 3508.086887359619,
- "z": "902b25ae.7c3098",
+ "x": 3964.0453300476074,
+ "y": 3570.899408340454,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "427887d0.7997a8",
+ "id": "c870d545.1df838",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3801.6778717041016,
- "y": 3464.087466239929,
- "z": "902b25ae.7c3098",
+ "x": 3805.045913696289,
+ "y": 3526.899987220764,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "41725221.8703bc",
- "f9fddf37.3168b"
+ "9d51eb18.62f608",
+ "f3d74d4a.87b"
]
]
},
{
- "id": "98b96937.cec128",
+ "id": "95e66b9.f586198",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3708.677536010742,
- "y": 3396.08588886261,
- "z": "902b25ae.7c3098",
+ "x": 3712.0455780029297,
+ "y": 3458.898409843445,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "427887d0.7997a8"
+ "c870d545.1df838"
]
]
},
{
- "id": "fad13440.269eb8",
+ "id": "5fb4c33d.d46bdc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3709.677490234375,
- "y": 3350.087028026581,
- "z": "902b25ae.7c3098",
+ "x": 3713.0455322265625,
+ "y": 3412.8995490074158,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b5c2ceaa.f317f"
+ "e603ff85.93075"
]
]
},
{
- "id": "f9fddf37.3168b",
+ "id": "f3d74d4a.87b",
"type": "set",
"name": "Increment RRMPolicyID",
"xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
"comments": "",
- "x": 4012.9097023010254,
- "y": 3459.6525707244873,
- "z": "902b25ae.7c3098",
+ "x": 4016.277744293213,
+ "y": 3522.4650917053223,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "25a1224d.f5effe",
+ "id": "f3a2bcbf.8f26c",
"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": 3241.208740234375,
- "y": 5278.728973388672,
- "z": "902b25ae.7c3098",
+ "x": 3244.5767822265625,
+ "y": 5341.541494369507,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "185ddb88.ea33c4",
- "97fb1354.77edc"
+ "fb3dbdf6.955a4",
+ "207b1452.a7a7bc"
]
]
},
{
- "id": "185ddb88.ea33c4",
+ "id": "fb3dbdf6.955a4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3973.20849609375,
- "y": 5372.729461669922,
- "z": "902b25ae.7c3098",
+ "x": 3976.5765380859375,
+ "y": 5435.541982650757,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "27099b52.371f54"
+ "aab078e4.42c958"
]
]
},
{
- "id": "97fb1354.77edc",
+ "id": "207b1452.a7a7bc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4122.208339691162,
- "y": 5536.729120254517,
- "z": "902b25ae.7c3098",
+ "x": 4125.57638168335,
+ "y": 5599.541641235352,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "89255e74.25f6a"
+ "9ae33420.b55878"
]
]
},
{
- "id": "27099b52.371f54",
+ "id": "aab078e4.42c958",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4288.20849609375,
- "y": 5376.729461669922,
- "z": "902b25ae.7c3098",
+ "x": 4291.5765380859375,
+ "y": 5439.541982650757,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "525024f4.8142ac",
- "49e56573.095a6c",
- "b1d10830.075248"
+ "a6237649.57a2a8",
+ "6a1d6fa9.97303",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "89255e74.25f6a",
+ "id": "9ae33420.b55878",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4252.208301544189,
- "y": 5574.729118347168,
- "z": "902b25ae.7c3098",
+ "x": 4255.576343536377,
+ "y": 5637.541639328003,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "a29ca619.bdcb68"
+ "18bee052.c2aa5"
]
]
},
{
- "id": "a29ca619.bdcb68",
+ "id": "18bee052.c2aa5",
"type": "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": 4377.208305358887,
- "y": 5544.729119300842,
- "z": "902b25ae.7c3098",
+ "x": 4380.576347351074,
+ "y": 5607.541640281677,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "525024f4.8142ac",
+ "id": "a6237649.57a2a8",
"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": 4374.20849609375,
- "y": 5456.728973388672,
- "z": "902b25ae.7c3098",
+ "x": 4377.5765380859375,
+ "y": 5519.541494369507,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "49e56573.095a6c",
+ "id": "6a1d6fa9.97303",
"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": 4299.20849609375,
- "y": 5276.840789794922,
- "z": "902b25ae.7c3098",
+ "x": 4302.5765380859375,
+ "y": 5339.653310775757,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "67e438.a4e90bc8",
+ "id": "af642ec7.053e1",
"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": 4373.178031921387,
- "y": 5592.198033332825,
- "z": "902b25ae.7c3098",
+ "x": 4376.546073913574,
+ "y": 5655.01055431366,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "95754fba.5a5f2",
+ "id": "30126feb.a685b",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4316.177051544189,
- "y": 5655.087194442749,
- "z": "902b25ae.7c3098",
+ "x": 4319.545093536377,
+ "y": 5717.899715423584,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "9283420f.90c31",
- "67e438.a4e90bc8",
- "b1d10830.075248"
+ "d83bb88e.c33068",
+ "af642ec7.053e1",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "9283420f.90c31",
+ "id": "d83bb88e.c33068",
"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": 4437.177707672119,
- "y": 5719.086545944214,
- "z": "902b25ae.7c3098",
+ "x": 4440.545749664307,
+ "y": 5781.899066925049,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "b6d43562.8da1d8",
+ "id": "1236fff5.2c826",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3863.177536010742,
- "y": 5600.08588886261,
- "z": "902b25ae.7c3098",
+ "x": 3866.5455780029297,
+ "y": 5662.898409843445,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b8e7e139.a820c"
+ "4d93c90f.f04318"
]
]
},
{
- "id": "b8e7e139.a820c",
+ "id": "4d93c90f.f04318",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3833.177936553955,
- "y": 5689.087196350098,
- "z": "902b25ae.7c3098",
+ "x": 3836.5459785461426,
+ "y": 5751.899717330933,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "99ee0b30.21c278",
- "4af7cad8.b168f4"
+ "edd71964.f62998",
+ "c63c14cd.2aed58"
]
]
},
{
- "id": "99ee0b30.21c278",
+ "id": "edd71964.f62998",
"type": "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": 3989.1779403686523,
- "y": 5724.087198257446,
- "z": "902b25ae.7c3098",
+ "x": 3992.54598236084,
+ "y": 5786.899719238281,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "4af7cad8.b168f4",
+ "id": "c63c14cd.2aed58",
"type": "set",
"name": "Increment RRMPolicyID",
"xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
"comments": "",
- "x": 4040.4103660583496,
- "y": 5653.652298927307,
- "z": "902b25ae.7c3098",
+ "x": 4043.778408050537,
+ "y": 5716.464819908142,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "98c42098.224dc",
+ "id": "a3e55510.78b598",
"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": 2943.177490234375,
- "y": 5463.197723388672,
- "z": "902b25ae.7c3098",
+ "x": 2946.5455322265625,
+ "y": 5526.010244369507,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b6d43562.8da1d8",
- "db71a012.a8d53"
+ "1236fff5.2c826",
+ "4c288654.97c208"
]
]
},
{
- "id": "db71a012.a8d53",
+ "id": "4c288654.97c208",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3868.343837738037,
- "y": 5536.531366348267,
- "z": "902b25ae.7c3098",
+ "x": 3871.7118797302246,
+ "y": 5599.343887329102,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "95754fba.5a5f2"
+ "30126feb.a685b"
]
]
},
{
- "id": "1e2624bc.08e57b",
+ "id": "ea361c3.cee77e",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3004.0121994018555,
- "y": 7197.868667125702,
- "z": "902b25ae.7c3098",
+ "x": 3007.380241394043,
+ "y": 7260.681188106537,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "68a2055c.8324ac",
- "247f52a6.d210de",
- "3c8016e1.7e4eda"
+ "c47caf0e.2a57",
+ "9afa36a0.b04028",
+ "2d36f6e8.33495a"
]
]
},
{
- "id": "68a2055c.8324ac",
+ "id": "c47caf0e.2a57",
"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": 3130.012855529785,
- "y": 7094.76710319519,
- "z": "902b25ae.7c3098",
+ "x": 3133.3808975219727,
+ "y": 7157.579624176025,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "247f52a6.d210de",
+ "id": "9afa36a0.b04028",
"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": 3292.01220703125,
- "y": 7222.868667602539,
- "z": "902b25ae.7c3098",
+ "x": 3295.3802490234375,
+ "y": 7285.681188583374,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "3c8016e1.7e4eda",
+ "id": "2d36f6e8.33495a",
"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": 3111.011806488037,
- "y": 7385.868060588837,
- "z": "902b25ae.7c3098",
+ "x": 3114.3798484802246,
+ "y": 7448.680581569672,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "67176900.692a28",
- "4bb30a20.fd00c4"
+ "c69c32e2.dab66",
+ "a10f6695.aa9f78"
]
]
},
{
- "id": "67176900.692a28",
+ "id": "c69c32e2.dab66",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3221.012294769287,
- "y": 7297.867816925049,
- "z": "902b25ae.7c3098",
+ "x": 3224.3803367614746,
+ "y": 7360.680337905884,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "ec3bac39.eb6f3"
+ "390a3702.a2b0f8"
]
]
},
{
- "id": "4bb30a20.fd00c4",
+ "id": "a10f6695.aa9f78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3163.0121726989746,
- "y": 7471.867698192596,
- "z": "902b25ae.7c3098",
+ "x": 3166.380214691162,
+ "y": 7534.680219173431,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "bb630b2f.d39c58"
+ "18e8d0ff.de85ff"
]
]
},
{
- "id": "bb630b2f.d39c58",
+ "id": "18e8d0ff.de85ff",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3294.012233734131,
- "y": 7426.868675470352,
- "z": "902b25ae.7c3098",
+ "x": 3297.3802757263184,
+ "y": 7489.681196451187,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c12c978e.a2c5a8"
+ "de926c9f.09fe3"
]
]
},
{
- "id": "ec3bac39.eb6f3",
+ "id": "390a3702.a2b0f8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3330.012477874756,
- "y": 7366.868549823761,
- "z": "902b25ae.7c3098",
+ "x": 3333.3805198669434,
+ "y": 7429.681070804596,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "46997fe6.10f98"
+ "a8ec5b12.746bc8"
]
]
},
{
- "id": "46997fe6.10f98",
+ "id": "a8ec5b12.746bc8",
"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": 3419.011562347412,
- "y": 7298.868671417236,
- "z": "902b25ae.7c3098",
+ "x": 3422.3796043395996,
+ "y": 7361.681192398071,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "c12c978e.a2c5a8",
+ "id": "de926c9f.09fe3",
"type": "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": 3327.0123558044434,
- "y": 7508.867943286896,
- "z": "902b25ae.7c3098",
+ "x": 3330.380397796631,
+ "y": 7571.680464267731,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "5b2d29b9.d5d748",
+ "id": "7b7a7410.5e975c",
"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": 2396.0116577148438,
- "y": 6958.2013421058655,
- "z": "902b25ae.7c3098",
+ "x": 2399.3796997070312,
+ "y": 7021.0138630867,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "301fe555.0c0cfa",
- "aa644f83.0309a"
+ "af443bcb.1c9fb8",
+ "223367ec.f850c8"
]
]
},
{
- "id": "301fe555.0c0cfa",
+ "id": "af443bcb.1c9fb8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2561.011215209961,
- "y": 7019.200692176819,
- "z": "902b25ae.7c3098",
+ "x": 2564.3792572021484,
+ "y": 7082.013213157654,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "fa193ec0.cb98c"
+ "f32b60fc.c5c97"
]
]
},
{
- "id": "aa644f83.0309a",
+ "id": "223367ec.f850c8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2611.011703491211,
- "y": 6931.200689077377,
- "z": "902b25ae.7c3098",
+ "x": 2614.3797454833984,
+ "y": 6994.013210058212,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "a8e481f1.8acce"
+ "3f4313dd.77b5dc"
]
]
},
{
- "id": "fa193ec0.cb98c",
+ "id": "f32b60fc.c5c97",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2801.0108947753906,
- "y": 6987.201992511749,
- "z": "902b25ae.7c3098",
+ "x": 2804.378936767578,
+ "y": 7050.014513492584,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "9939206e.90172",
- "616d73fd.d9184c",
- "1e2624bc.08e57b"
+ "8c43a78.034ad58",
+ "c284812.ce66b8",
+ "ea361c3.cee77e"
]
]
},
{
- "id": "a8e481f1.8acce",
+ "id": "3f4313dd.77b5dc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2774.0108947753906,
- "y": 6920.200688362122,
- "z": "902b25ae.7c3098",
+ "x": 2777.378936767578,
+ "y": 6983.0132093429565,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "6c95ea9.62c8314"
+ "c013781.c643f88"
]
]
},
{
- "id": "6c95ea9.62c8314",
+ "id": "c013781.c643f88",
"type": "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": 2951.010898590088,
- "y": 6938.198084831238,
- "z": "902b25ae.7c3098",
+ "x": 2954.3789405822754,
+ "y": 7001.010605812073,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "9939206e.90172",
+ "id": "8c43a78.034ad58",
"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": 2745.010726928711,
- "y": 7072.200693130493,
- "z": "902b25ae.7c3098",
+ "x": 2748.3787689208984,
+ "y": 7135.013214111328,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "616d73fd.d9184c",
+ "id": "c284812.ce66b8",
"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": 2966.010902404785,
- "y": 7001.311367034912,
- "z": "902b25ae.7c3098",
+ "x": 2969.3789443969727,
+ "y": 7064.123888015747,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "5e57c34c.a9820c",
+ "id": "f772fde7.45a8e",
"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": 2764.980619430542,
- "y": 7238.669610977173,
- "z": "902b25ae.7c3098",
+ "x": 2768.3486614227295,
+ "y": 7301.482131958008,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "edd977a5.d9d7b8",
+ "id": "e4d0443f.304868",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2632.979637145996,
- "y": 7293.557470321655,
- "z": "902b25ae.7c3098",
+ "x": 2636.3476791381836,
+ "y": 7356.36999130249,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c29532e2.752ab",
- "5e57c34c.a9820c",
- "1e2624bc.08e57b"
+ "9639750b.a150f8",
+ "f772fde7.45a8e",
+ "ea361c3.cee77e"
]
]
},
{
- "id": "c29532e2.752ab",
+ "id": "9639750b.a150f8",
"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": 2789.980453491211,
- "y": 7341.557635307312,
- "z": "902b25ae.7c3098",
+ "x": 2793.3484954833984,
+ "y": 7404.370156288147,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "f2b387bc.0cf748",
+ "id": "4cd76ed.442f99",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2516.9802856445312,
- "y": 7081.556161880493,
- "z": "902b25ae.7c3098",
+ "x": 2520.3483276367188,
+ "y": 7144.368682861328,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "7873ca91.325bf4"
+ "e62138e9.c4c3a8"
]
]
},
{
- "id": "7873ca91.325bf4",
+ "id": "e62138e9.c4c3a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2604.9809379577637,
- "y": 7184.556816101074,
- "z": "902b25ae.7c3098",
+ "x": 2608.348979949951,
+ "y": 7247.369337081909,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e6d656d8.45e6b8",
- "ac782866.0f7e58"
+ "f9a3c636.a64f28",
+ "6cc38ae7.1633f4"
]
]
},
{
- "id": "e6d656d8.45e6b8",
+ "id": "f9a3c636.a64f28",
"type": "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": 2748.981269836426,
- "y": 7184.55763053894,
- "z": "902b25ae.7c3098",
+ "x": 2752.3493118286133,
+ "y": 7247.370151519775,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ac782866.0f7e58",
+ "id": "6cc38ae7.1633f4",
"type": "set",
"name": "Increment RRMPolicyID",
"xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
"comments": "",
- "x": 2775.2130393981934,
- "y": 7130.122570037842,
- "z": "902b25ae.7c3098",
+ "x": 2778.581081390381,
+ "y": 7192.935091018677,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "fd33cb6f.3ded88",
+ "id": "3e62eb56.c77764",
"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": 2333.9803924560547,
- "y": 7176.668144226074,
- "z": "902b25ae.7c3098",
+ "x": 2337.348434448242,
+ "y": 7239.480665206909,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "f2b387bc.0cf748",
- "deee3d1f.6cfed"
+ "4cd76ed.442f99",
+ "12a6b880.fd3a17"
]
]
},
{
- "id": "deee3d1f.6cfed",
+ "id": "12a6b880.fd3a17",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2474.1464233398438,
- "y": 7284.001482009888,
- "z": "902b25ae.7c3098",
+ "x": 2477.5144653320312,
+ "y": 7346.814002990723,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "edd977a5.d9d7b8"
+ "e4d0443f.304868"
]
]
},
{
- "id": "11592c65.f83e64",
+ "id": "cde223c2.7eeac",
"type": "for",
"name": "For cellCU List",
"xml": "<for index='idCell' start='0' end='`$tmp.cellCUListEntries `' >",
"comments": "",
"outputs": 1,
- "x": 2435.67724609375,
- "y": 2381.197967529297,
- "z": "902b25ae.7c3098",
+ "x": 2439.0452880859375,
+ "y": 2444.010488510132,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "6d3df173.ba33b"
+ "abb1f347.e4d5"
]
]
},
{
- "id": "4f758702.366db8",
+ "id": "ec459266.1687d",
"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": 2744.67724609375,
- "y": 2185.197967529297,
- "z": "902b25ae.7c3098",
+ "x": 2748.0452880859375,
+ "y": 2248.010488510132,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "8d416ae.e851798",
+ "id": "53bf40e4.de041",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$tmp.gNBCUCPList.cellLocalId == $tmp.cellLocalId`\"> \n",
"comments": "",
"outputs": 1,
- "x": 2683.677734375,
- "y": 2437.197967529297,
- "z": "902b25ae.7c3098",
+ "x": 2687.0457763671875,
+ "y": 2500.010488510132,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "75490c66.5c3324"
+ "f9c7788c.822448"
]
]
},
{
- "id": "75490c66.5c3324",
+ "id": "f9c7788c.822448",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2787.677734375,
- "y": 2346.197967529297,
- "z": "902b25ae.7c3098",
+ "x": 2791.0457763671875,
+ "y": 2409.010488510132,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "a1e72fb9.52301"
+ "f1beccb7.9b84e"
]
]
},
{
- "id": "a1e72fb9.52301",
+ "id": "f1beccb7.9b84e",
"type": "block",
"name": "UpdateCell",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2865.67724609375,
- "y": 2258.197967529297,
- "z": "902b25ae.7c3098",
+ "x": 2869.0452880859375,
+ "y": 2321.010488510132,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "9457acbe.1a0a8",
- "5c2fb30d.b20c7c",
- "29ccde77.0e44f2",
- "8c000271.a879b",
- "38695b2f.9cf444",
- "82c9288a.fb72f8"
+ "187d9e29.2ec5c2",
+ "1c9c9154.0f3fdf",
+ "17779f4e.286261",
+ "ab4851e7.0f9ee",
+ "44aa82b6.04d01c",
+ "3f006895.7f8de8",
+ "e309ba57.6c6788",
+ "2c479225.b4d6de",
+ "3c04bde7.59dfb2",
+ "ceda3611.738b98"
]
]
},
{
- "id": "6d3df173.ba33b",
+ "id": "abb1f347.e4d5",
"type": "block",
"name": "Block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2549.677001953125,
- "y": 2293.197967529297,
- "z": "902b25ae.7c3098",
+ "x": 2553.0450439453125,
+ "y": 2356.010488510132,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "4f758702.366db8",
- "8d416ae.e851798"
+ "ec459266.1687d",
+ "53bf40e4.de041"
]
]
},
{
- "id": "8425da92.7a9e78",
+ "id": "ff78794a.ef5ea8",
"type": "for",
"name": "For cellDU List",
"xml": "<for index='idCell' start='0' end='`$tmp.cellDUListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 2776.9317932128906,
- "y": 6088.204414367676,
- "z": "902b25ae.7c3098",
+ "x": 2780.299835205078,
+ "y": 6151.016935348511,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b5e6fb5a.51c538",
- "629b34f2.2fd88c"
+ "fe2f2180.a9269",
+ "384553a9.a2a01c"
]
]
},
{
- "id": "66a46d20.11c034",
+ "id": "50f01209.22749c",
"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": 2894.9321212768555,
- "y": 6165.201812744141,
- "z": "902b25ae.7c3098",
+ "x": 2898.300163269043,
+ "y": 6228.014333724976,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "9f56eefc.0ef96",
+ "id": "756583b6.6618bc",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$tmp.gNBDUList.cellLocalId == $tmp.cellLocalId`\">",
"comments": "",
"outputs": 1,
- "x": 2799.931480407715,
- "y": 6275.201816558838,
- "z": "902b25ae.7c3098",
+ "x": 2803.2995223999023,
+ "y": 6338.014337539673,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "fa86b606.ee0bb8"
+ "517a64ea.8e549c"
]
]
},
{
- "id": "fa86b606.ee0bb8",
+ "id": "517a64ea.8e549c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3013.9318084716797,
- "y": 6233.201816558838,
- "z": "902b25ae.7c3098",
+ "x": 3017.299850463867,
+ "y": 6296.014337539673,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e263970f.8596a8"
+ "6f06f096.c304b"
]
]
},
{
- "id": "e263970f.8596a8",
+ "id": "6f06f096.c304b",
"type": "block",
"name": "UpdateCell",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3181.9321365356445,
- "y": 6242.202469825745,
- "z": "902b25ae.7c3098",
+ "x": 3185.300178527832,
+ "y": 6305.01499080658,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "777713b7.b7c1bc",
- "bab76bad.343f18",
- "fcf80190.e2d04"
+ "3a7d24e4.71829c",
+ "d6bfe081.3e2f3",
+ "2314bf60.abe34"
]
]
},
{
- "id": "b5e6fb5a.51c538",
+ "id": "fe2f2180.a9269",
"type": "block",
"name": "Block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2557.931465148926,
- "y": 6216.201814651489,
- "z": "902b25ae.7c3098",
+ "x": 2561.2995071411133,
+ "y": 6279.014335632324,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "66a46d20.11c034",
- "9f56eefc.0ef96",
- "1c2e5305.7e243d"
+ "50f01209.22749c",
+ "756583b6.6618bc",
+ "e87ad1e6.6de69"
]
]
},
{
- "id": "f6a71d42.4e0ed",
+ "id": "682dfdf2.a09a94",
"type": "block",
"name": "rrmPolicyRatioPerCELLCU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2255.6772384643555,
- "y": 1989.1979675292969,
- "z": "902b25ae.7c3098",
+ "x": 2259.045280456543,
+ "y": 2052.010488510132,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "847e898e.fa1d88",
- "c2f343dc.d033a",
- "a8fc4e9e.b1862",
- "7c08382c.91f848"
+ "8ab57c39.e5212",
+ "ee42ea5e.86d058",
+ "de7e3ad.6a5adc8",
+ "d0c86467.097018"
]
]
},
{
- "id": "847e898e.fa1d88",
+ "id": "8ab57c39.e5212",
"type": "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": 2410.6770668029785,
- "y": 2119.642526626587,
- "z": "902b25ae.7c3098",
+ "x": 2414.045108795166,
+ "y": 2182.455047607422,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "6d6a083f.f9e168",
+ "id": "4a387951.f6db68",
"type": "set",
"name": "Calculate for RRM1",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />\n",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConns-CUUP' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`' />\n",
"comments": "",
- "x": 3209.677833557129,
- "y": 3432.1978063583374,
- "z": "902b25ae.7c3098",
+ "x": 3213.045742034912,
+ "y": 3481.0102319717407,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "2737179d.208e58",
+ "id": "1be107b7.bce408",
"type": "set",
"name": "Calculate RRM Parms1",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
"comments": "",
- "x": 2593.677589416504,
- "y": 5376.199584007263,
- "z": "902b25ae.7c3098",
+ "x": 2597.0456314086914,
+ "y": 5439.012104988098,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "7ed57e69.91b45",
+ "id": "2a1f5ef8.61f292",
"type": "set",
"name": "calculation10",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
"comments": "",
- "x": 2539.67765045166,
- "y": 5888.199339866638,
- "z": "902b25ae.7c3098",
+ "x": 2543.0456924438477,
+ "y": 5951.011860847473,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "620f8a78.798f44",
+ "id": "a2c26d26.d596b",
"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": 1079.6914253234863,
- "y": 834.191403388977,
- "z": "902b25ae.7c3098",
+ "x": 1071.559681892395,
+ "y": 2642.754030227661,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "28385a6a.9d07a6",
+ "id": "5ac0fba4.e05764",
"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": 4064.6885986328125,
- "y": 7405.187688827515,
- "z": "902b25ae.7c3098",
+ "x": 4068.056640625,
+ "y": 7468.00020980835,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "216292d7.896d1e",
- "8e44bb3f.07fc88"
+ "e8e33021.dad23",
+ "6aac16ca.963d48"
]
]
},
{
- "id": "216292d7.896d1e",
+ "id": "e8e33021.dad23",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4489.687637329102,
- "y": 7395.1772747039795,
- "z": "902b25ae.7c3098",
+ "x": 4493.055679321289,
+ "y": 7457.989795684814,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8ee41f0f.eec2"
+ "65dd09b0.9758f8"
]
]
},
{
- "id": "8ee41f0f.eec2",
+ "id": "65dd09b0.9758f8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4675.686992645264,
- "y": 7388.177272796631,
- "z": "902b25ae.7c3098",
+ "x": 4679.055034637451,
+ "y": 7450.989793777466,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "5a8e355.56c9ecc"
+ "47eadd96.615a54"
]
]
},
{
- "id": "5a8e355.56c9ecc",
+ "id": "47eadd96.615a54",
"type": "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": 4855.687652587891,
- "y": 7405.177272796631,
- "z": "902b25ae.7c3098",
+ "x": 4859.055694580078,
+ "y": 7467.989793777466,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "fed970eb.2cb8b",
+ "id": "a4d56b0e.208708",
"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": 784.5208206176758,
- "y": 762.1874856948853,
- "z": "902b25ae.7c3098",
+ "x": 769.3891801834106,
+ "y": 2541.7502031326294,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "d23dfe52.c5e2d",
+ "id": "43cf6d42.9d8564",
"type": "block",
"name": "Action Per DU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2107.187557220459,
- "y": 5953.521139621735,
- "z": "902b25ae.7c3098",
+ "x": 2110.5555992126465,
+ "y": 6016.33366060257,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "667f5064.c3558",
- "e527dfb7.00473",
- "ab7fb11e.93a44",
- "ef0d45d0.c227c8"
+ "759bc67c.d0a178",
+ "ad3e4e54.09c4e",
+ "78e49ab0.99dd04",
+ "98fa4692.14fe28"
]
]
},
{
- "id": "e6aa0194.b688d",
+ "id": "cf3ce850.7dfe18",
"type": "block",
"name": "Activies Per Call",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2599.854202270508,
- "y": 6048.5210518836975,
- "z": "902b25ae.7c3098",
+ "x": 2603.2222442626953,
+ "y": 6111.3335728645325,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8425da92.7a9e78"
+ "ff78794a.ef5ea8"
]
]
},
{
- "id": "fcf80190.e2d04",
+ "id": "2314bf60.abe34",
"type": "block",
"name": "ConfigDB DU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2231.521415710449,
- "y": 7030.188662528992,
- "z": "902b25ae.7c3098",
+ "x": 2234.8894577026367,
+ "y": 7093.001183509827,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "5b2d29b9.d5d748",
- "fd33cb6f.3ded88"
+ "7b7a7410.5e975c",
+ "3e62eb56.c77764",
+ "c89590a8.227f1"
]
]
},
{
- "id": "629b34f2.2fd88c",
+ "id": "384553a9.a2a01c",
"type": "block",
"name": "Block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3052.8544540405273,
- "y": 6090.18804359436,
- "z": "902b25ae.7c3098",
+ "x": 3056.222496032715,
+ "y": 6153.000564575195,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "4ecd2413.c1ac2c",
- "4ffa841.be4377c",
- "209f9a9d.45d496"
+ "86313b29.5ee168",
+ "bca09be3.a79318",
+ "9c4d71d8.004f7"
]
]
},
{
- "id": "1c2e5305.7e243d",
+ "id": "e87ad1e6.6de69",
"type": "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": 2828.854652404785,
- "y": 6212.188142776489,
- "z": "902b25ae.7c3098",
+ "x": 2832.2226943969727,
+ "y": 6275.000663757324,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "58c5284d.881c98",
+ "id": "911e2882.b267a8",
"type": "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": 2098.187732696533,
- "y": 735.5209064483643,
- "z": "902b25ae.7c3098",
+ "x": 2101.5557746887207,
+ "y": 798.3334274291992,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "fd7aef73.25f1c",
+ "id": "6109ce31.790db",
"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": 2123.854320526123,
- "y": 895.8543066978455,
- "z": "902b25ae.7c3098",
+ "x": 2127.2223625183105,
+ "y": 958.6668276786804,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "998f959.4540068",
+ "id": "f4e14609.f8d008",
"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": 2145.854259490967,
- "y": 836.5208797454834,
- "z": "902b25ae.7c3098",
+ "x": 2149.2223014831543,
+ "y": 899.3334007263184,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "25223fa4.5b85b",
+ "id": "35994541.ad761a",
"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": 2102.1876335144043,
- "y": 1001.5209407806396,
- "z": "902b25ae.7c3098",
+ "x": 2105.555675506592,
+ "y": 1064.3334617614746,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c2f343dc.d033a",
+ "id": "ee42ea5e.86d058",
"type": "set",
"name": "calculation1",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.maxNumberOfConns / $tmp.cellCUListEntries`' />",
"comments": "",
- "x": 2461.5208129882812,
- "y": 1958.187484741211,
- "z": "902b25ae.7c3098",
+ "x": 2464.8888549804688,
+ "y": 2021.000005722046,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "a8fc4e9e.b1862",
+ "id": "de7e3ad.6a5adc8",
"type": "set",
"name": "calculation2",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />",
"comments": "",
- "x": 2488.5208168029785,
- "y": 1998.8541526794434,
- "z": "902b25ae.7c3098",
+ "x": 2491.888858795166,
+ "y": 2061.6666736602783,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "7c08382c.91f848",
+ "id": "d0c86467.097018",
"type": "set",
"name": "calculation3",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
"comments": "",
- "x": 2499.5207443237305,
- "y": 2049.8540954589844,
- "z": "902b25ae.7c3098",
+ "x": 2502.888786315918,
+ "y": 2112.6666164398193,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "6b8f2f7f.8ad82",
+ "id": "93ac429d.73aba",
"type": "set",
"name": "Calculate for RRM2",
- "xml": "<set>\n<parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns*4`' />",
+ "xml": "<set>\n<parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns-CUUP*4`' />",
"comments": "",
- "x": 3235.719150543213,
- "y": 3491.719168663025,
- "z": "902b25ae.7c3098",
+ "x": 3239.0871925354004,
+ "y": 3554.53168964386,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "227aa86c.d8ef18",
+ "id": "a22f23c2.f41a3",
"type": "set",
"name": "Calculate for RRM3",
"xml": "<set>\n<parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' />",
"comments": "",
- "x": 3249.7192764282227,
- "y": 3544.719045639038,
- "z": "902b25ae.7c3098",
+ "x": 3253.08731842041,
+ "y": 3607.531566619873,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "7041c873.f89558",
+ "id": "afd8bf3d.07b45",
"type": "set",
"name": "calculation rrm4",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP1' value='`$tmp.DRBPerCUUPForSNSSAI * 100`' />",
"comments": "",
- "x": 3221.7187843322754,
- "y": 3582.7189245224,
- "z": "902b25ae.7c3098",
+ "x": 3225.086826324463,
+ "y": 3645.531445503235,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "c754692b.16ebf8",
+ "id": "38b7246b.48c55c",
"type": "set",
"name": "Calculate RRM Parms2",
"xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
"comments": "",
- "x": 2602.218849182129,
- "y": 5421.2196034789085,
- "z": "902b25ae.7c3098",
+ "x": 2605.5868911743164,
+ "y": 5484.0321244597435,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "d4c104c7.d53b38",
+ "id": "3f12b751.bbbcb8",
"type": "set",
"name": "Calculate RRM Parms3",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
"comments": "",
- "x": 2592.2189712524414,
- "y": 5476.219481408596,
- "z": "902b25ae.7c3098",
+ "x": 2595.587013244629,
+ "y": 5539.032002389431,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "34c9e22.b0a7c1e",
+ "id": "1235262c.0f386a",
"type": "set",
"name": "Calculate RRM Parms4",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
"comments": "",
- "x": 2592.218849182129,
- "y": 5527.219481468201,
- "z": "902b25ae.7c3098",
+ "x": 2595.5868911743164,
+ "y": 5590.032002449036,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "a8816efe.70be4",
+ "id": "92d34980.56c9d8",
"type": "set",
"name": "Calculate RRM Parms5",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
"comments": "",
- "x": 2580.2189712524414,
- "y": 5587.2196034789085,
- "z": "902b25ae.7c3098",
+ "x": 2583.587013244629,
+ "y": 5650.0321244597435,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "503469f8.a36558",
+ "id": "d44c7ea9.8056d",
"type": "set",
"name": "Calculate RRM Parms6",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
"comments": "",
- "x": 2618.218849182129,
- "y": 5637.2196034789085,
- "z": "902b25ae.7c3098",
+ "x": 2621.5868911743164,
+ "y": 5700.0321244597435,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "b2653495.ee3a68",
+ "id": "e2376f49.6ec05",
"type": "set",
"name": "Calculate RRM Parms7",
"xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
"comments": "",
- "x": 2605.2187881469727,
- "y": 5707.219969749451,
- "z": "902b25ae.7c3098",
+ "x": 2608.58683013916,
+ "y": 5770.032490730286,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "c8829055.def5d",
+ "id": "36523401.1c2b8c",
"type": "set",
"name": "calculation8",
"xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.DUListEntries`' />\n",
"comments": "",
- "x": 2576.2187881469727,
- "y": 5771.218993186951,
- "z": "902b25ae.7c3098",
+ "x": 2579.58683013916,
+ "y": 5834.031514167786,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "86314876.701b88",
+ "id": "6ea5ef76.13161",
"type": "set",
"name": "calculation9",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
"comments": "",
- "x": 2564.219337463379,
- "y": 5822.218871116638,
- "z": "902b25ae.7c3098",
+ "x": 2567.5873794555664,
+ "y": 5885.031392097473,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "4b439c28.506134",
+ "id": "e621af7d.c68f2",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2119.718677520752,
- "y": 1088.2656090259552,
- "z": "902b25ae.7c3098",
+ "x": 2123.0867195129395,
+ "y": 1151.0781300067902,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "4f278b05.5b4c64",
- "a0050f49.222f8"
+ "f9400142.2adfe",
+ "af41045d.c2e618"
]
]
},
{
- "id": "4f278b05.5b4c64",
+ "id": "f9400142.2adfe",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2309.7186584472656,
- "y": 1058.2653925418854,
- "z": "902b25ae.7c3098",
+ "x": 2313.086700439453,
+ "y": 1121.0779135227203,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c1d4b126.a640e"
+ "dd3eb868.c05128"
]
]
},
{
- "id": "a0050f49.222f8",
+ "id": "af41045d.c2e618",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2289.7186317443848,
- "y": 1137.2654840946198,
- "z": "902b25ae.7c3098",
+ "x": 2293.0866737365723,
+ "y": 1200.0780050754547,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "1cdc5318.81c31d"
+ "db9d5065.84ab2"
]
]
},
{
- "id": "98860cef.b1782",
+ "id": "ba4adfd8.dd98f",
"type": "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": 2310.719326019287,
- "y": 1283.5988628864288,
- "z": "902b25ae.7c3098",
+ "x": 2314.0873680114746,
+ "y": 1346.4113838672638,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "bae48b05.1444f8",
+ "id": "90eda30c.3bf6a",
"type": "block",
"name": "Add sliceprofile NRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1985.718360900879,
- "y": 1289.6093802452087,
- "z": "902b25ae.7c3098",
+ "x": 1989.0864028930664,
+ "y": 1352.4219012260437,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "98860cef.b1782",
- "d3e629c1.e96e28",
- "4b439c28.506134",
- "89dc1157.f3333"
+ "ba4adfd8.dd98f",
+ "4da9e6d7.441988",
+ "e621af7d.c68f2",
+ "b60cb739.a1b078"
]
]
},
{
- "id": "89dc1157.f3333",
+ "id": "b60cb739.a1b078",
"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": 2381.719566345215,
- "y": 1349.6095132827759,
- "z": "902b25ae.7c3098",
+ "x": 2385.0876083374023,
+ "y": 1412.4220342636108,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "17e2a7f9.72ef98",
- "b58624a.eb28dd8"
+ "719e93d2.4f9d0c",
+ "2c236f13.a7f0d"
]
]
},
{
- "id": "d3e629c1.e96e28",
+ "id": "4da9e6d7.441988",
"type": "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": 2310.7189025878906,
- "y": 1217.6095135211945,
- "z": "902b25ae.7c3098",
+ "x": 2314.086944580078,
+ "y": 1280.4220345020294,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "384192c5.becd5e",
+ "id": "d4d7a45f.103938",
"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": 2697.7186241149902,
- "y": 958.2657337486744,
- "z": "902b25ae.7c3098",
+ "x": 2701.0866661071777,
+ "y": 1021.0782547295094,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "17e2a7f9.72ef98",
+ "id": "719e93d2.4f9d0c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2781.7186889648438,
- "y": 1227.598783493042,
- "z": "902b25ae.7c3098",
+ "x": 2785.0867309570312,
+ "y": 1290.411304473877,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c4bc2b8a.7b7028"
+ "1590defd.561a01"
]
]
},
{
- "id": "b58624a.eb28dd8",
+ "id": "2c236f13.a7f0d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2691.7195739746094,
- "y": 1342.5987710952759,
- "z": "902b25ae.7c3098",
+ "x": 2695.087615966797,
+ "y": 1405.4112920761108,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "d65f5595.f4dd98"
+ "82242dbf.b1db2"
]
]
},
{
- "id": "d65f5595.f4dd98",
+ "id": "82242dbf.b1db2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2856.718292236328,
- "y": 1343.5987710952759,
- "z": "902b25ae.7c3098",
+ "x": 2860.0863342285156,
+ "y": 1406.4112920761108,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8be36083.0cec2"
+ "415ec6d6.d111f8"
]
]
},
{
- "id": "1cf03784.d1ed98",
+ "id": "a873c60d.413338",
"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": 2966.7191772460938,
- "y": 1282.599027633667,
- "z": "902b25ae.7c3098",
+ "x": 2970.0872192382812,
+ "y": 1345.411548614502,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "8be36083.0cec2",
+ "id": "415ec6d6.d111f8",
"type": "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": 3020.7190856933594,
- "y": 1336.5992603302002,
- "z": "902b25ae.7c3098",
+ "x": 3024.087127685547,
+ "y": 1399.4117813110352,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "1cdc5318.81c31d",
+ "id": "db9d5065.84ab2",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2482.708282470703,
- "y": 1132.2654840946198,
- "z": "902b25ae.7c3098",
+ "x": 2486.0763244628906,
+ "y": 1195.0780050754547,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "92e51d1c.9eab1",
- "97c08468.e454c8",
- "965cb927.5be908"
+ "84009921.8eae98",
+ "9745ebb9.0c4148",
+ "fce0d5df.4e7ca8"
]
]
},
{
- "id": "2de61976.84dcd6",
- "type": "execute",
- "name": "prev 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='application/json' />\n<parameter name='customHttpHeaders' value=\"`'Authorization=Basic ' + $prop.restapi.so.authorization `\" />\n\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 566.6913871765137,
- "y": 1059.9414129257202,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "311bc201.12061e",
+ "id": "cf1494ab.df89f8",
"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": 2698.2533988952637,
- "y": 1013.8646945953369,
- "z": "902b25ae.7c3098",
+ "x": 2701.621440887451,
+ "y": 1076.6772155761719,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "92e51d1c.9eab1",
+ "id": "84009921.8eae98",
"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": 2762.253231048584,
- "y": 1060.8648042678833,
- "z": "902b25ae.7c3098",
+ "x": 2765.6212730407715,
+ "y": 1123.6773252487183,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "97c08468.e454c8",
+ "id": "9745ebb9.0c4148",
"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": 2777.788230895996,
- "y": 1112.463628768921,
- "z": "902b25ae.7c3098",
+ "x": 2781.1562728881836,
+ "y": 1175.2761497497559,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "965cb927.5be908",
+ "id": "fce0d5df.4e7ca8",
"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": 2796.2535514831543,
- "y": 1165.8646173477173,
- "z": "902b25ae.7c3098",
+ "x": 2799.621593475342,
+ "y": 1228.6771383285522,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c4bc2b8a.7b7028",
+ "id": "1590defd.561a01",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2931.142318725586,
- "y": 1232.4201550483704,
- "z": "902b25ae.7c3098",
+ "x": 2934.5103607177734,
+ "y": 1295.2326760292053,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "1cf03784.d1ed98"
+ "a873c60d.413338"
]
]
},
{
- "id": "c1d4b126.a640e",
+ "id": "dd3eb868.c05128",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2413.9201583862305,
- "y": 943.8645935058594,
- "z": "902b25ae.7c3098",
+ "x": 2417.288200378418,
+ "y": 1006.6771144866943,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "384192c5.becd5e",
- "311bc201.12061e"
+ "d4d7a45f.103938",
+ "cf1494ab.df89f8"
]
]
+ },
+ {
+ "id": "e309ba57.6c6788",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2c479225.b4d6de",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3c04bde7.59dfb2",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "24247669.aa7e8a",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8d944f2b.db7d2",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5cb5359.f0b26cc",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "156f533b.4aa76d",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "43439aa8.8be184",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "2a97eefa.4b80d2",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "66f14c1e.e327f4",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "32229efd.5611c2",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "46875c25.62c1e4",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "dde70b52.a80088",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "c89590a8.227f1",
+ "type": "set",
+ "name": "set resourceID",
+ "xml": "<set>\n<parameter name='tmp.resourceID-DU' value='`$tmp.cellLocalId`'/>",
+ "comments": "",
+ "x": 2369.0555381774902,
+ "y": 7184.74999332428,
+ "z": "a2c243d0.ad36e",
+ "wires": []
+ },
+ {
+ "id": "afcd8575.ce5a88",
+ "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",
+ "wires": [
+ [
+ "9afc9dfb.ae7ab",
+ "210db229.58527e"
+ ]
+ ]
+ },
+ {
+ "id": "9afc9dfb.ae7ab",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 955.056209564209,
+ "y": 2269.00026512146,
+ "z": "a2c243d0.ad36e",
+ "wires": [
+ [
+ "b8980e33.87c85"
+ ]
+ ]
+ },
+ {
+ "id": "210db229.58527e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 960.0561485290527,
+ "y": 2389.9999895095825,
+ "z": "a2c243d0.ad36e",
+ "wires": [
+ [
+ "2af88722.e8f178"
+ ]
+ ]
+ },
+ {
+ "id": "2af88722.e8f178",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1118.0559387207031,
+ "y": 2389.000234603882,
+ "z": "a2c243d0.ad36e",
+ "wires": [
+ [
+ "c1bc5b94.d11a78"
+ ]
+ ]
+ },
+ {
+ "id": "c1bc5b94.d11a78",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "60843518.20b42c",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "b8980e33.87c85",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1114.0564918518066,
+ "y": 2267.0003566741943,
+ "z": "a2c243d0.ad36e",
+ "wires": [
+ [
+ "60843518.20b42c",
+ "237e3bf7.a15ba4",
+ "43e9fff0.abfbe"
+ ]
+ ]
+ },
+ {
+ "id": "237e3bf7.a15ba4",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "946e6c1f.7bb9d",
+ "type": "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",
+ "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 2d7a7cc8..046c963f 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": "307f33c6.dd742c",
+ "id": "cdce3934.f2aa38",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 417.8125,
- "y": 157.8125,
- "z": "7108e868.a979d8",
+ "x": 215.27777099609375,
+ "y": 114.74999332427979,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "fa0eeda0.c794f"
+ "ffd03bbd.6b30f8"
]
]
},
{
- "id": "fa0eeda0.c794f",
+ "id": "ffd03bbd.6b30f8",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -22,5324 +22,7246 @@
"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": 502.8125228881836,
- "y": 224.81246948242188,
- "z": "7108e868.a979d8",
+ "x": 300.27779388427734,
+ "y": 181.74996280670166,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "93c2d6b3.d318c8"
+ "2dcf0e40.745bf2"
]
]
},
{
- "id": "93c2d6b3.d318c8",
+ "id": "2dcf0e40.745bf2",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceModifyAllocate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 436.8125,
- "y": 284.8124351501465,
- "z": "7108e868.a979d8",
+ "x": 234.27777099609375,
+ "y": 241.74992847442627,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d3c9dd74.37db6"
+ "3c5a09dd.4e50a6"
]
]
},
{
- "id": "d3c9dd74.37db6",
+ "id": "3c5a09dd.4e50a6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 432.81249237060547,
- "y": 345.8124713897705,
- "z": "7108e868.a979d8",
+ "x": 230.27776336669922,
+ "y": 302.7499647140503,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "164712ad.822b9d",
- "80dd96ef.ed69b8",
- "134f1599.6c4a8a",
- "f0e433f3.dc406"
+ "a604076f.7c0c88",
+ "df01ad79.7438a",
+ "1801c640.1eb6aa",
+ "ed3c9a78.956f38",
+ "51b41b66.216574",
+ "ade269f7.3d78c8",
+ "d0d24863.8121f8"
]
]
},
{
- "id": "164712ad.822b9d",
+ "id": "a604076f.7c0c88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 690.8124847412109,
- "y": 347.81249237060547,
- "z": "7108e868.a979d8",
+ "x": 488.2777557373047,
+ "y": 304.74998569488525,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d71a2225.52045",
- "836a2684.eb82f8",
- "85517da2.bd54b"
+ "1ea6b30a.d33abd",
+ "eb434aa7.d801d8",
+ "3d6aa191.e0db3e",
+ "2fed7838.3e4478",
+ "ea194ca9.b5136",
+ "38665c6f.b68994"
]
]
},
{
- "id": "d71a2225.52045",
+ "id": "1ea6b30a.d33abd",
"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": 1022.8124847412109,
- "y": 345.81249237060547,
- "z": "7108e868.a979d8",
+ "x": 832.7777709960938,
+ "y": 257.7500066757202,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "836a2684.eb82f8",
+ "id": "eb434aa7.d801d8",
"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": 976.8124847412109,
- "y": 416.81249237060547,
- "z": "7108e868.a979d8",
+ "x": 791.7777786254883,
+ "y": 297.49999141693115,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "85517da2.bd54b",
+ "id": "3d6aa191.e0db3e",
"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": 977.8125457763672,
- "y": 477.81251525878906,
- "z": "7108e868.a979d8",
+ "x": 802.7778472900391,
+ "y": 340.99999713897705,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "4d4a9497.964e7c",
- "7a7fe81.59f6a18"
+ "41141f2f.3a29e",
+ "f867a9f7.6835f8"
]
]
},
{
- "id": "4d4a9497.964e7c",
+ "id": "41141f2f.3a29e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1255.6305885314941,
- "y": 572.6305503845215,
- "z": "7108e868.a979d8",
+ "x": 1053.0960083007812,
+ "y": 369.5680932998657,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "99314aa2.bc5dc8"
+ "30af1a9a.7284f6"
]
]
},
{
- "id": "99314aa2.bc5dc8",
+ "id": "30af1a9a.7284f6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1433.6304454803467,
- "y": 571.6306915283203,
- "z": "7108e868.a979d8",
+ "x": 1226.0958099365234,
+ "y": 358.56816577911377,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "fef1db8.1964128",
- "48780fbe.03af7"
+ "23c782a5.d5b7fe",
+ "20106467.d1db5c"
]
]
},
{
- "id": "fef1db8.1964128",
+ "id": "23c782a5.d5b7fe",
"type": "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": 1595.6302490234375,
- "y": 567.6306762695312,
- "z": "7108e868.a979d8",
+ "x": 1426.8455390930176,
+ "y": 358.318190574646,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "48780fbe.03af7",
+ "id": "20106467.d1db5c",
"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": 1586.4084930419922,
- "y": 634.6306686401367,
- "z": "7108e868.a979d8",
+ "x": 1462.6237525939941,
+ "y": 401.56819915771484,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "7a7fe81.59f6a18",
+ "id": "f867a9f7.6835f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1278.630573272705,
- "y": 473.63065814971924,
- "z": "7108e868.a979d8",
+ "x": 1063.5958671569824,
+ "y": 318.06813526153564,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e008015f.cfa71"
+ "9ee1ca8d.8df468"
]
]
},
{
- "id": "e008015f.cfa71",
+ "id": "9ee1ca8d.8df468",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1483.630615234375,
- "y": 422.63069915771484,
- "z": "7108e868.a979d8",
+ "x": 1222.345947265625,
+ "y": 292.0682067871094,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "849418c6.f295c8",
- "ef5706f3.674e08"
+ "fd49cb37.a1ec88",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "849418c6.f295c8",
+ "id": "fd49cb37.a1ec88",
"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": 1597.630313873291,
- "y": 347.7417392730713,
- "z": "7108e868.a979d8",
+ "x": 1395.0955848693848,
+ "y": 304.6792325973511,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "80dd96ef.ed69b8",
+ "id": "df01ad79.7438a",
"type": "for",
"name": "foreach NearRTRIC",
"xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
"comments": "",
"outputs": 1,
- "x": 589.8125,
- "y": 981.6306762695312,
- "z": "7108e868.a979d8",
+ "x": 357.2778091430664,
+ "y": 1403.5682625174522,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "1ef3c9dc.82ed86",
- "6c5cf2d1.84abec",
- "d086944b.c66398",
- "4e830c1f.7bebc4"
+ "fd4b53be.08fe7",
+ "792d179c.cbe1f8",
+ "eda7021e.42543",
+ "ea01a433.33d248",
+ "7d0cab41.5d62e4",
+ "759313f.9d96dec",
+ "b2bbe86b.51d5b8"
]
]
},
{
- "id": "1ef3c9dc.82ed86",
+ "id": "fd4b53be.08fe7",
"type": "block",
"name": "Process NearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 883.7215576171875,
- "y": 975.539794921875,
- "z": "7108e868.a979d8",
+ "x": 683.1868362426758,
+ "y": 1197.4773273468018,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "1c2d7304.ea98cd",
- "d2bc2ba0.f263f8",
- "1d207fa8.45607",
- "38089fef.f14fa",
- "dbf7b9fd.e29e98",
- "bc8d47bf.d46a68"
+ "bcd60b3d.7cf3b8",
+ "946fa1ac.5143f",
+ "321a0c36.154ba4",
+ "a3aa3e0c.1bd7",
+ "ef603cfd.b12c2",
+ "b84025f8.34bc78"
]
]
},
{
- "id": "1c2d7304.ea98cd",
+ "id": "bcd60b3d.7cf3b8",
"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": 1344.3579559326172,
- "y": 942.5398120880127,
- "z": "7108e868.a979d8",
+ "x": 1136.8232879638672,
+ "y": 1028.4772987365723,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "d2bc2ba0.f263f8",
+ "id": "946fa1ac.5143f",
"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": 1321.3579444885254,
- "y": 1003.5398387908936,
- "z": "7108e868.a979d8",
+ "x": 1107.8232727050781,
+ "y": 1071.4773597717285,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "1d207fa8.45607",
+ "id": "321a0c36.154ba4",
"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": 1502.7216186523438,
- "y": 1127.3579711914062,
- "z": "7108e868.a979d8",
+ "x": 1238.1869049072266,
+ "y": 1146.295461654663,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "38089fef.f14fa",
+ "id": "a3aa3e0c.1bd7",
"type": "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": 1326.630615234375,
- "y": 1190.3580322265625,
- "z": "7108e868.a979d8",
+ "x": 1084.0959014892578,
+ "y": 1187.2955379486084,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "dbf7b9fd.e29e98",
+ "id": "ef603cfd.b12c2",
"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": 1422.6306762695312,
- "y": 1237.26708984375,
- "z": "7108e868.a979d8",
+ "x": 1190.0959930419922,
+ "y": 1233.204626083374,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6ed5711a.e5781",
- "8ca4207e.7575c"
+ "85a5cf93.5a30a",
+ "39b8aa37.8591b6"
]
]
},
{
- "id": "6ed5711a.e5781",
+ "id": "85a5cf93.5a30a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1748.630615234375,
- "y": 1201.0851440429688,
- "z": "7108e868.a979d8",
+ "x": 1546.0958862304688,
+ "y": 1158.0226373672485,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c7d74ae6.23d9c8"
+ "9ff7d9ea.c447a8"
]
]
},
{
- "id": "c7d74ae6.23d9c8",
+ "id": "9ff7d9ea.c447a8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1880.6307373046875,
- "y": 1163.0851440429688,
- "z": "7108e868.a979d8",
+ "x": 1678.0960083007812,
+ "y": 1120.0226373672485,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d8421ee9.0c90f",
- "6be76b86.5e2224"
+ "aa0fd77a.778858",
+ "88e8c925.ecbbd8"
]
]
},
{
- "id": "6be76b86.5e2224",
+ "id": "88e8c925.ecbbd8",
"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": 2069.6304931640625,
- "y": 1110.1961669921875,
- "z": "7108e868.a979d8",
+ "x": 1867.0957641601562,
+ "y": 1067.1336603164673,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "d8421ee9.0c90f",
+ "id": "aa0fd77a.778858",
"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": 2077.6304931640625,
- "y": 1210.085205078125,
- "z": "7108e868.a979d8",
+ "x": 1875.0957641601562,
+ "y": 1167.0226984024048,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "8ca4207e.7575c",
+ "id": "39b8aa37.8591b6",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1746.44873046875,
- "y": 1300.9942626953125,
- "z": "7108e868.a979d8",
+ "x": 1543.9140014648438,
+ "y": 1257.9317560195923,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "56064406.6a9b3c"
+ "c50b6ead.b3a8f"
]
]
},
{
- "id": "56064406.6a9b3c",
+ "id": "c50b6ead.b3a8f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1910.4486083984375,
- "y": 1301.994384765625,
- "z": "7108e868.a979d8",
+ "x": 1707.9138793945312,
+ "y": 1258.9318780899048,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f7fc925a.c53a3"
+ "86bd14f4.969ee8"
]
]
},
{
- "id": "f7fc925a.c53a3",
+ "id": "86bd14f4.969ee8",
"type": "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": 2060.4486083984375,
- "y": 1296.9945068359375,
- "z": "7108e868.a979d8",
+ "x": 1857.9138793945312,
+ "y": 1253.9320001602173,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "bc8d47bf.d46a68",
+ "id": "b84025f8.34bc78",
"type": "execute",
- "name": "ranNFNSSIListEntry",
- "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
+ "name": "set params",
+ "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name='tmp.payload.pLMNId' value=\"`$tmp.pLMNId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1370.8125,
- "y": 1060.8125,
- "z": "7108e868.a979d8",
+ "x": 1140.2777862548828,
+ "y": 1109.750020980835,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "b8a93326.20b78",
+ "id": "f4fee64.5630718",
"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": 1263.8125,
- "y": 1344.8125,
- "z": "7108e868.a979d8",
+ "x": 1061.2777709960938,
+ "y": 1301.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "6c5cf2d1.84abec",
+ "id": "792d179c.cbe1f8",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 863.8125,
- "y": 1328.8125,
- "z": "7108e868.a979d8",
+ "x": 661.2777709960938,
+ "y": 1285.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b8a93326.20b78",
- "bafd24dc.562168",
- "ed358e77.3b307"
+ "f4fee64.5630718",
+ "b895d39e.358cc",
+ "9a95f4b6.c00a88"
]
]
},
{
- "id": "bafd24dc.562168",
+ "id": "b895d39e.358cc",
"type": "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": 1235.8125,
- "y": 1409.8125,
- "z": "7108e868.a979d8",
+ "x": 1033.2777709960938,
+ "y": 1366.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ed358e77.3b307",
+ "id": "9a95f4b6.c00a88",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1263.8125,
- "y": 1484.8125,
- "z": "7108e868.a979d8",
+ "x": 1061.2777709960938,
+ "y": 1441.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "aa9d51fb.0103c"
+ "4a8ecad1.d36ae4"
]
]
},
{
- "id": "aa9d51fb.0103c",
+ "id": "4a8ecad1.d36ae4",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1484.8125,
- "y": 1491.8125,
- "z": "7108e868.a979d8",
+ "x": 1282.2777709960938,
+ "y": 1448.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "cf612911.c44998",
- "c906a35a.2ccc5",
- "ed66efa7.cab5c",
- "f042d642.d93388"
+ "41f7da9.0438224",
+ "111964c0.00cfab",
+ "e128ba2b.0271c8",
+ "8889a908.a7eeb8"
]
]
},
{
- "id": "cf612911.c44998",
+ "id": "41f7da9.0438224",
"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": 1835.8125,
- "y": 1344.8125,
- "z": "7108e868.a979d8",
+ "x": 1633.2777709960938,
+ "y": 1301.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "c906a35a.2ccc5",
+ "id": "111964c0.00cfab",
"type": "for",
"name": "for cellCUList",
"xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1839.8125,
- "y": 1488.8125,
- "z": "7108e868.a979d8",
+ "x": 1637.2777709960938,
+ "y": 1445.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "2367fdf7.13e052"
+ "a7b5e345.afac6"
]
]
},
{
- "id": "a59b3348.53d8e",
- "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": 2543.8125,
- "y": 1258.8125,
- "z": "7108e868.a979d8",
- "wires": [
- []
- ]
- },
- {
- "id": "eb810d0e.4dd5d",
+ "id": "33dfc44e.7fcfec",
"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": 2488.8125,
- "y": 1512.8125,
- "z": "7108e868.a979d8",
+ "x": 2286.2777709960938,
+ "y": 1469.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "58b9362d.eda568",
+ "id": "a0230d06.2b562",
"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": 2522.8126068115234,
- "y": 1641.8124732971191,
- "z": "7108e868.a979d8",
+ "x": 2315.277786254883,
+ "y": 1544.7500414848328,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "91d2ca4f.cc02a8",
- "2a6ef5af.0afada"
+ "1611afed.23ffc",
+ "c6160ccd.43539"
]
]
},
{
- "id": "bb2b6a10.6ae608",
+ "id": "6822adf8.543824",
"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": 2482.8125,
- "y": 1578.8125,
- "z": "7108e868.a979d8",
+ "x": 2280.2778549194336,
+ "y": 1506.750102519989,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "d5711de.7d20ee",
+ "id": "882e7a80.d74e58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2353.8125,
- "y": 1095.8125,
- "z": "7108e868.a979d8",
+ "x": 2151.2777709960938,
+ "y": 1052.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a59b3348.53d8e",
- "eb810d0e.4dd5d",
- "bb2b6a10.6ae608",
- "58b9362d.eda568",
- "1f2cbe8.ab92042",
- "2fa14d3.a7367b2",
- "3c40ea7f.5428a6",
- "6cc8a38.caae65c",
- "1df8c261.39d8be",
- "8dd84100.059ce",
- "d05460e1.aaaa4"
+ "33dfc44e.7fcfec",
+ "6822adf8.543824",
+ "a0230d06.2b562",
+ "4724cb0f.9daf64",
+ "19e0241b.9cd70c",
+ "edb92967.0e18f8",
+ "a7b6d79c.8829b8",
+ "8901584a.ca65c8",
+ "52873cd.a7928c4",
+ "e6011289.53a58",
+ "2cf8049f.4b337c"
]
]
},
{
- "id": "91d2ca4f.cc02a8",
+ "id": "1611afed.23ffc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2773.812614440918,
- "y": 1637.8127174377441,
- "z": "7108e868.a979d8",
+ "x": 2571.2778854370117,
+ "y": 1594.750210762024,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "13392720.662ca9"
+ "8555826b.8073e"
]
]
},
{
- "id": "13392720.662ca9",
+ "id": "8555826b.8073e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2946.812400817871,
- "y": 1636.8127784729004,
- "z": "7108e868.a979d8",
+ "x": 2744.277671813965,
+ "y": 1593.7502717971802,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ee4d18d9.5f1cd8"
+ "25c76a36.46adf6"
]
]
},
{
- "id": "ee4d18d9.5f1cd8",
+ "id": "25c76a36.46adf6",
"type": "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": 3144.8124618530273,
- "y": 1633.812900543213,
- "z": "7108e868.a979d8",
+ "x": 2942.277732849121,
+ "y": 1590.7503938674927,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "2a6ef5af.0afada",
+ "id": "c6160ccd.43539",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2738.81258392334,
- "y": 1520.8124732971191,
- "z": "7108e868.a979d8",
+ "x": 2536.2778549194336,
+ "y": 1477.749966621399,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a4b20ac1.7e5948"
+ "a2dd1082.75323"
]
]
},
{
- "id": "a4b20ac1.7e5948",
+ "id": "a2dd1082.75323",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2888.812858581543,
- "y": 1479.812656402588,
- "z": "7108e868.a979d8",
+ "x": 2686.2781295776367,
+ "y": 1436.7501497268677,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "9879822d.b1fa8",
- "6a5df2ad.c26a0c",
- "ef5706f3.674e08"
+ "93c97fee.70da5",
+ "539fbec5.c3f24",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "9879822d.b1fa8",
+ "id": "93c97fee.70da5",
"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": 3059.8124923706055,
- "y": 1540.8127174377441,
- "z": "7108e868.a979d8",
+ "x": 2857.277763366699,
+ "y": 1497.750210762024,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "6a5df2ad.c26a0c",
+ "id": "539fbec5.c3f24",
"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": 3054.812614440918,
- "y": 1445.812656402588,
- "z": "7108e868.a979d8",
+ "x": 2852.2778854370117,
+ "y": 1402.7501497268677,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "1f2cbe8.ab92042",
+ "id": "4724cb0f.9daf64",
"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": 2570.8125,
- "y": 1322.8125,
- "z": "7108e868.a979d8",
+ "x": 2368.2777709960938,
+ "y": 1279.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "2fa14d3.a7367b2",
+ "id": "19e0241b.9cd70c",
"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": 2531.8125,
- "y": 1390.8125,
- "z": "7108e868.a979d8",
+ "x": 2329.2777709960938,
+ "y": 1347.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "3c40ea7f.5428a6",
+ "id": "edb92967.0e18f8",
"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": 2498.8125,
- "y": 1448.8125,
- "z": "7108e868.a979d8",
+ "x": 2296.2777709960938,
+ "y": 1405.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ed66efa7.cab5c",
+ "id": "e128ba2b.0271c8",
"type": "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": 1808.8125,
- "y": 1395.8125,
- "z": "7108e868.a979d8",
+ "x": 1606.2777709960938,
+ "y": 1352.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "f042d642.d93388",
+ "id": "8889a908.a7eeb8",
"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": 1849.8125,
- "y": 1444.8125,
- "z": "7108e868.a979d8",
+ "x": 1647.2777709960938,
+ "y": 1401.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "6cc8a38.caae65c",
+ "id": "a7b6d79c.8829b8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2576.8125,
- "y": 1158.8125,
- "z": "7108e868.a979d8",
+ "x": 2374.2777709960938,
+ "y": 1115.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "9cab3cd4.ad8c8",
- "2575bb63.cb1f64"
+ "b37bf738.d5c038",
+ "4af07c3f.5bcf94"
]
]
},
{
- "id": "9cab3cd4.ad8c8",
+ "id": "b37bf738.d5c038",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2784.8125,
- "y": 1123.812255859375,
- "z": "7108e868.a979d8",
+ "x": 2582.2777709960938,
+ "y": 1080.7497491836548,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "8a68726.7a5319"
+ "e6d8c1e4.44fd5"
]
]
},
{
- "id": "8a68726.7a5319",
+ "id": "e6d8c1e4.44fd5",
"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": 3104.8125,
- "y": 1138.8125,
- "z": "7108e868.a979d8",
+ "x": 2902.2777709960938,
+ "y": 1095.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "2575bb63.cb1f64",
+ "id": "4af07c3f.5bcf94",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2772.8125,
- "y": 1225.8125,
- "z": "7108e868.a979d8",
+ "x": 2570.2777709960938,
+ "y": 1182.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "1be9da11.5515e6"
+ "b5b52336.410c8"
]
]
},
{
- "id": "1df8c261.39d8be",
+ "id": "8901584a.ca65c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2131.8125,
- "y": 1909.8125,
- "z": "7108e868.a979d8",
+ "x": 1929.2777709960938,
+ "y": 1866.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "fa450f85.96907",
- "ac83dc96.d0414",
- "eee75d70.5462f",
- "68e0063b.7afdb8",
- "11885992.57a3d6",
- "b7fc9607.06c2c8",
- "48a3f198.0b5bb",
- "3e1fe485.57c5dc",
- "cb510840.ed88c8"
+ "9caed6bf.227748",
+ "bfa7bf54.50cee",
+ "e9b83795.78e768",
+ "859856d2.8ff3d8",
+ "ee648713.59eb88",
+ "199042fe.6ade4d",
+ "24fc98b8.40ad88",
+ "44cbbc9e.66bad4",
+ "c7cf6a0a.7602d8",
+ "1a62fde5.66d4f2",
+ "286ddbec.57d7c4"
]
]
},
{
- "id": "fa450f85.96907",
+ "id": "9caed6bf.227748",
"type": "set",
- "name": "Calculate RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
+ "name": "Calculate maxNumberOfConnsPercellCU",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n",
"comments": "",
- "x": 2313.8125,
- "y": 1692.8125,
- "z": "7108e868.a979d8",
+ "x": 2185.277910232544,
+ "y": 1637.7501010894775,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "ac83dc96.d0414",
+ "id": "bfa7bf54.50cee",
"type": "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.CellCU`\"/>",
+ "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": 2312.8125,
- "y": 1748.8125,
- "z": "7108e868.a979d8",
+ "x": 2128.2778453826904,
+ "y": 1765.7500705718994,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "eee75d70.5462f",
+ "id": "e9b83795.78e768",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2353.8125,
- "y": 1815.8125,
- "z": "7108e868.a979d8",
+ "x": 2149.2778453826904,
+ "y": 1801.7500400543213,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c44d770c.8f6248",
- "2db4eb44.da6004"
+ "eca2cb2.9c54538",
+ "7f6e77c.a8aac88"
]
]
},
{
- "id": "c44d770c.8f6248",
+ "id": "eca2cb2.9c54538",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2531.8125,
- "y": 1782.812255859375,
- "z": "7108e868.a979d8",
+ "x": 2329.2777709960938,
+ "y": 1739.7497491836548,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b1dca537.3b57a8"
+ "e258ca0a.72ec58"
]
]
},
{
- "id": "b1dca537.3b57a8",
+ "id": "e258ca0a.72ec58",
"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": 2809.8125,
- "y": 1774.8125,
- "z": "7108e868.a979d8",
+ "x": 2607.2777709960938,
+ "y": 1731.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "68e0063b.7afdb8",
+ "id": "859856d2.8ff3d8",
"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": 2388.8125,
- "y": 1887.8125,
- "z": "7108e868.a979d8",
+ "x": 2186.2777709960938,
+ "y": 1844.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "11885992.57a3d6",
+ "id": "ee648713.59eb88",
"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": 2353.8125,
- "y": 1939.8125,
- "z": "7108e868.a979d8",
+ "x": 2185.277811050415,
+ "y": 1884.7500133514404,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "684c1622.e09e58",
+ "id": "874a9bd9.e5b518",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2639.8125,
- "y": 2066.8125,
- "z": "7108e868.a979d8",
+ "x": 2442.277750015259,
+ "y": 1987.7501049041748,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "4f5d406d.e309"
+ "9d7eb3e9.03b87"
]
]
},
{
- "id": "4f5d406d.e309",
+ "id": "9d7eb3e9.03b87",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2803.8123779296875,
- "y": 2067.8126220703125,
- "z": "7108e868.a979d8",
+ "x": 2601.2776489257812,
+ "y": 2024.7501153945923,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "45f75ec6.863ec",
- "34f6d9ce.d2e016"
+ "162e9419.1f338c",
+ "66de30e8.1abc9"
]
]
},
{
- "id": "45f75ec6.863ec",
+ "id": "162e9419.1f338c",
"type": "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": 2953.8123779296875,
- "y": 2062.812744140625,
- "z": "7108e868.a979d8",
+ "x": 2752.2777576446533,
+ "y": 1992.7503190040588,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "9a82e320.b76eb",
+ "id": "1e4cd16.6779c2f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2635.8125,
- "y": 1987.8125,
- "z": "7108e868.a979d8",
+ "x": 2439.277723312378,
+ "y": 1894.7500133514404,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "59cf3b6.cca69c4"
+ "9d6caf15.b08f4"
]
]
},
{
- "id": "59cf3b6.cca69c4",
+ "id": "9d6caf15.b08f4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2793.812744140625,
- "y": 1935.8125,
- "z": "7108e868.a979d8",
+ "x": 2591.2780151367188,
+ "y": 1892.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d0aa5e9f.9758a",
- "6409cd63.1a0bf4",
- "ef5706f3.674e08"
+ "6bdcf3ef.3de21c",
+ "c8eb5f5.7095da",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "d0aa5e9f.9758a",
+ "id": "6bdcf3ef.3de21c",
"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": 2964.8123779296875,
- "y": 1996.8125610351562,
- "z": "7108e868.a979d8",
+ "x": 2762.2776489257812,
+ "y": 1953.750054359436,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "6409cd63.1a0bf4",
+ "id": "c8eb5f5.7095da",
"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": 2959.8125,
- "y": 1901.8125,
- "z": "7108e868.a979d8",
+ "x": 2757.2777709960938,
+ "y": 1858.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "b7fc9607.06c2c8",
+ "id": "199042fe.6ade4d",
"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": 2388.8125,
- "y": 2014.8125,
- "z": "7108e868.a979d8",
+ "x": 2218.277841567993,
+ "y": 1939.7500133514404,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "9a82e320.b76eb",
- "684c1622.e09e58"
+ "1e4cd16.6779c2f",
+ "874a9bd9.e5b518"
]
]
},
{
- "id": "34f6d9ce.d2e016",
+ "id": "66de30e8.1abc9",
"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": 2968.8125,
- "y": 2125.8125,
- "z": "7108e868.a979d8",
+ "x": 2778.277696609497,
+ "y": 2025.7500438690186,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "48a3f198.0b5bb",
+ "id": "24fc98b8.40ad88",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2323.8125,
- "y": 2172.812728881836,
- "z": "7108e868.a979d8",
+ "x": 2121.2777709960938,
+ "y": 2129.7502222061157,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "cc5f4f75.fa631"
+ "44a4d00d.c80db"
]
]
},
{
- "id": "3e1fe485.57c5dc",
- "type": "execute",
- "name": "read rrmpolicyratio list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length '`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 2367.8125,
- "y": 2068.8125,
- "z": "7108e868.a979d8",
- "wires": [
- []
- ]
- },
- {
- "id": "cc5f4f75.fa631",
+ "id": "44a4d00d.c80db",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2544.8125,
- "y": 2192.812728881836,
- "z": "7108e868.a979d8",
+ "x": 2342.2777709960938,
+ "y": 2149.7502222061157,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d8c3d055.2d419",
- "6a9f9afc.9b7fa4",
- "ef468aba.45ebb8",
- "fcd1306a.0ccea",
- "4a4813ea.c1f99c",
- "79d52a8e.70e584"
+ "e78a4f0f.bce4c",
+ "e6c4828b.edd3c",
+ "27dba04e.02ff",
+ "36b8da14.33d876",
+ "8be06558.e14bf8",
+ "ba00bd4a.546d6",
+ "cb603df3.12a5a",
+ "c282a260.9d8de",
+ "b3c3cf99.6f492",
+ "8f54fffc.9c001",
+ "148d5e51.205352"
]
]
},
{
- "id": "d8c3d055.2d419",
+ "id": "e78a4f0f.bce4c",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellCU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`\" />",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_new' value='`$tmp.rrmPolicyDedicatedRatiocellCU_old + $tmp.rRMPolicyDedicatedRatio_SliceProfile`' />",
"comments": "",
- "x": 2869.8125,
- "y": 2169.812728881836,
- "z": "7108e868.a979d8",
+ "x": 2660.2777881622314,
+ "y": 2109.7502908706665,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "6a9f9afc.9b7fa4",
+ "id": "e6c4828b.edd3c",
"type": "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 CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_updated`\"/>",
+ "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": 2799.8125,
- "y": 2349.8125,
- "z": "7108e868.a979d8",
+ "x": 2585.2778186798096,
+ "y": 2143.7499866485596,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ef468aba.45ebb8",
+ "id": "27dba04e.02ff",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2837.8125,
- "y": 2220.8125,
- "z": "7108e868.a979d8",
+ "x": 2635.2777709960938,
+ "y": 2177.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e34f118.cd120f",
- "4555531e.6f353c"
+ "48924713.d17858",
+ "e3bb4f1.511c9b"
]
]
},
{
- "id": "e34f118.cd120f",
+ "id": "48924713.d17858",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3037.8125,
- "y": 2227.812255859375,
- "z": "7108e868.a979d8",
+ "x": 2916.388816833496,
+ "y": 2105.8610315322876,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c7e16a4d.5ee148"
+ "779fca32.3495e4"
]
]
},
{
- "id": "c7e16a4d.5ee148",
+ "id": "779fca32.3495e4",
"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": 3303.8125,
- "y": 2231.8125,
- "z": "7108e868.a979d8",
+ "x": 3161.278175354004,
+ "y": 2107.638882637024,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "fcd1306a.0ccea",
+ "id": "36b8da14.33d876",
"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": 2866.8125,
- "y": 2391.8125,
- "z": "7108e868.a979d8",
+ "x": 2673.166549682617,
+ "y": 2355.416706085205,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a24f6f33.5c01f",
- "df336133.6e823"
+ "19a156b1.f32ab9",
+ "257d1061.7fc23"
]
]
},
{
- "id": "a24f6f33.5c01f",
+ "id": "19a156b1.f32ab9",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3138.8125,
- "y": 2383.8125,
- "z": "7108e868.a979d8",
+ "x": 2936.2777709960938,
+ "y": 2340.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f5047557.3f0658"
+ "9b9c1569.6f8068"
]
]
},
{
- "id": "f5047557.3f0658",
+ "id": "9b9c1569.6f8068",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3329.8125,
- "y": 2383.8125,
- "z": "7108e868.a979d8",
+ "x": 3127.2777709960938,
+ "y": 2340.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b391edca.02267",
- "ef5706f3.674e08"
+ "8eb39019.8e726"
]
]
},
{
- "id": "b391edca.02267",
+ "id": "8eb39019.8e726",
"type": "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": 3514.812255859375,
- "y": 2384.812744140625,
- "z": "7108e868.a979d8",
+ "x": 3312.2775268554688,
+ "y": 2341.750237464905,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "df336133.6e823",
+ "id": "257d1061.7fc23",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3137.8125,
- "y": 2471.8125,
- "z": "7108e868.a979d8",
+ "x": 2935.2777709960938,
+ "y": 2428.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c338375f.71e348"
+ "39629f26.1f32c"
]
]
},
{
- "id": "c338375f.71e348",
+ "id": "39629f26.1f32c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3356.812744140625,
- "y": 2476.8125,
- "z": "7108e868.a979d8",
+ "x": 3154.2780151367188,
+ "y": 2433.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e396dc8f.6db54",
- "89bcda2.7d97e28"
+ "4bcb96b0.5c6438",
+ "41d5ec67.b7e364",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "e396dc8f.6db54",
+ "id": "4bcb96b0.5c6438",
"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": 3601.8123779296875,
- "y": 2522.8125610351562,
- "z": "7108e868.a979d8",
+ "x": 3399.2776489257812,
+ "y": 2479.750054359436,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "89bcda2.7d97e28",
+ "id": "41d5ec67.b7e364",
"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": 3596.8125,
- "y": 2427.8125,
- "z": "7108e868.a979d8",
+ "x": 3394.2777709960938,
+ "y": 2384.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "cb510840.ed88c8",
+ "id": "44cbbc9e.66bad4",
"type": "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": 2307.8125,
- "y": 2122.8125,
- "z": "7108e868.a979d8",
+ "x": 2105.2777709960938,
+ "y": 2079.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "2367fdf7.13e052",
+ "id": "a7b5e345.afac6",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2059.8125,
- "y": 1397.8125,
- "z": "7108e868.a979d8",
+ "x": 1857.2777709960938,
+ "y": 1354.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f75f3c8b.be38f",
- "ab9b5a5f.7edca8"
+ "3fcfd799.26f778"
]
]
},
{
- "id": "8dd84100.059ce",
+ "id": "52873cd.a7928c4",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
+ "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": 2548.8125,
- "y": 1090.8125,
- "z": "7108e868.a979d8",
+ "x": 2346.2777709960938,
+ "y": 1047.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "d05460e1.aaaa4",
+ "id": "e6011289.53a58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1948.8124542236328,
- "y": 2374.812511444092,
- "z": "7108e868.a979d8",
+ "x": 1746.2777252197266,
+ "y": 2331.7500047683716,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "fe92705b.ea1c8",
- "d084ab4e.bc34d8"
+ "cab0c653.68fca8",
+ "1031436d.d4c14d",
+ "8f418c29.a17f4",
+ "ca3912f.d1798f",
+ "29ac3d55.731702",
+ "295dcd8f.d34882",
+ "e67c1235.a668b",
+ "4639f97.7feb608",
+ "79add8fe.1d3c58",
+ "30531c3.32959e4",
+ "5b1ca906.eba328"
]
]
},
{
- "id": "fe92705b.ea1c8",
+ "id": "cab0c653.68fca8",
"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": 2231.812454223633,
- "y": 2374.812511444092,
- "z": "7108e868.a979d8",
+ "x": 2029.2777252197266,
+ "y": 2331.7500047683716,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "79c4d718.a8c6e8",
- "b47984b.f7f7b78"
+ "31364e32.2027c2",
+ "e32e339f.5cb42"
]
]
},
{
- "id": "b47984b.f7f7b78",
+ "id": "e32e339f.5cb42",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2467.812454223633,
- "y": 2446.812511444092,
- "z": "7108e868.a979d8",
+ "x": 2303.2778549194336,
+ "y": 2388.750114440918,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ce3eb8e1.c1ccb8"
+ "db869b45.96ea18"
]
]
},
{
- "id": "79c4d718.a8c6e8",
+ "id": "31364e32.2027c2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2518.812454223633,
- "y": 2345.812755584717,
- "z": "7108e868.a979d8",
+ "x": 2300.7222900390625,
+ "y": 2350.5280332565308,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "bef7b599.2a8f68"
+ "b1f9e8c8.11fee8"
]
]
},
{
- "id": "bef7b599.2a8f68",
+ "id": "b1f9e8c8.11fee8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2710.812454223633,
- "y": 2461.812511444092,
- "z": "7108e868.a979d8",
+ "x": 2508.2777252197266,
+ "y": 2418.7500047683716,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "70a96b2.3356894",
- "e1603c4c.c51ab",
- "ef5706f3.674e08"
+ "4fa6deb.8eba52",
+ "404a2781.cb3848",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "e1603c4c.c51ab",
+ "id": "404a2781.cb3848",
"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": 2876.812255859375,
- "y": 2429.8125,
- "z": "7108e868.a979d8",
+ "x": 2675.388687133789,
+ "y": 2393.416693687439,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "70a96b2.3356894",
+ "id": "4fa6deb.8eba52",
"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": 2881.8120880126953,
- "y": 2522.812572479248,
- "z": "7108e868.a979d8",
+ "x": 2732.6106872558594,
+ "y": 2454.1943731307983,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "b9fc74bf.735e68",
+ "id": "7dc5f273.6d6e8c",
"type": "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": 2717.812454223633,
- "y": 2533.812511444092,
- "z": "7108e868.a979d8",
+ "x": 2576.3889389038086,
+ "y": 2462.972159385681,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ce3eb8e1.c1ccb8",
+ "id": "db869b45.96ea18",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2553.8124389648438,
- "y": 2527.812572479248,
- "z": "7108e868.a979d8",
+ "x": 2435.722270965576,
+ "y": 2460.3055124282837,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b9fc74bf.735e68"
+ "7dc5f273.6d6e8c"
]
]
},
{
- "id": "d084ab4e.bc34d8",
+ "id": "1031436d.d4c14d",
"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": 2252.8125,
- "y": 2660.8125,
- "z": "7108e868.a979d8",
+ "x": 2050.2777709960938,
+ "y": 2617.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b305e15b.ccf55",
- "14cd58ef.8378c7"
+ "460b691c.339e68",
+ "c97bdf3e.ba40a"
]
]
},
{
- "id": "b305e15b.ccf55",
+ "id": "460b691c.339e68",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2550.8125,
- "y": 2610.8125,
- "z": "7108e868.a979d8",
+ "x": 2350.500072479248,
+ "y": 2628.861020088196,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d2644aeb.86dd28"
+ "4a0eb18.9b9485"
]
]
},
{
- "id": "14cd58ef.8378c7",
+ "id": "c97bdf3e.ba40a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2550.8125,
- "y": 2720.812255859375,
- "z": "7108e868.a979d8",
+ "x": 2348.2777709960938,
+ "y": 2677.749749183655,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b6930962.6ec088"
+ "f0f38d2d.ffe45"
]
]
},
{
- "id": "d2644aeb.86dd28",
+ "id": "4a0eb18.9b9485",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2753.8125,
- "y": 2607.8125,
- "z": "7108e868.a979d8",
+ "x": 2691.277717590332,
+ "y": 2624.7499866485596,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b50e41ac.16a5a",
- "b28fe2e8.9a973",
- "ef5706f3.674e08"
+ "18dbad94.def5b2",
+ "d4da7a32.2d7768",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "b28fe2e8.9a973",
+ "id": "d4da7a32.2d7768",
"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": 2919.812255859375,
- "y": 2573.8125,
- "z": "7108e868.a979d8",
+ "x": 2872.8330154418945,
+ "y": 2618.527932167053,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "b50e41ac.16a5a",
+ "id": "18dbad94.def5b2",
"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": 2924.8121337890625,
- "y": 2668.8125610351562,
- "z": "7108e868.a979d8",
+ "x": 2867.832862854004,
+ "y": 2656.8612146377563,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "b6930962.6ec088",
+ "id": "f0f38d2d.ffe45",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2731.8125,
- "y": 2714.8125,
- "z": "7108e868.a979d8",
+ "x": 2529.2777709960938,
+ "y": 2671.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "43de9281.43d8bc"
+ "124303f5.c46bbc"
]
]
},
{
- "id": "43de9281.43d8bc",
+ "id": "124303f5.c46bbc",
"type": "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": 2897.8125,
- "y": 2715.8125,
- "z": "7108e868.a979d8",
+ "x": 2695.2777709960938,
+ "y": 2672.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "d086944b.c66398",
+ "id": "eda7021e.42543",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 844.8125,
- "y": 1554.8125,
- "z": "7108e868.a979d8",
+ "x": 642.2777709960938,
+ "y": 1511.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "462da7ab.a5a448",
- "e48738e4.73f948",
- "3f53493c.b3bae6"
+ "c6b13c72.e3d36",
+ "25c8461e.97134a",
+ "fea4da3b.bcfee8"
]
]
},
{
- "id": "462da7ab.a5a448",
+ "id": "c6b13c72.e3d36",
"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": 1175.8125,
- "y": 1564.8125,
- "z": "7108e868.a979d8",
+ "x": 973.2777709960938,
+ "y": 1521.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "e48738e4.73f948",
+ "id": "25c8461e.97134a",
"type": "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.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "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": 1147.8125,
- "y": 1629.8125,
- "z": "7108e868.a979d8",
+ "x": 945.2777709960938,
+ "y": 1586.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "3f53493c.b3bae6",
+ "id": "fea4da3b.bcfee8",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1175.8125,
- "y": 1704.8125,
- "z": "7108e868.a979d8",
+ "x": 973.2777709960938,
+ "y": 1661.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b771bcd9.93d"
+ "40823d38.9d16f4"
]
]
},
{
- "id": "b771bcd9.93d",
+ "id": "40823d38.9d16f4",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1396.8125,
- "y": 1711.8125,
- "z": "7108e868.a979d8",
+ "x": 1194.2777709960938,
+ "y": 1668.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "902fd630.8a9ff8",
- "3f3bdc31.8c0ec4",
- "56f3c5f4.783d1c",
- "68482403.97ca3c"
+ "3528e116.e7894e",
+ "e7bc5124.45b36",
+ "342badce.4abd62"
]
]
},
{
- "id": "902fd630.8a9ff8",
+ "id": "3528e116.e7894e",
"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": 1630.8125,
- "y": 1545.8125,
- "z": "7108e868.a979d8",
+ "x": 1448.2777786254883,
+ "y": 1490.5277490615845,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "3f3bdc31.8c0ec4",
+ "id": "e7bc5124.45b36",
"type": "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": 1626.8125,
- "y": 1599.8125,
- "z": "7108e868.a979d8",
+ "x": 1427.6111221313477,
+ "y": 1542.3055491447449,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "56f3c5f4.783d1c",
- "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": 1677.8125,
- "y": 1664.8125,
- "z": "7108e868.a979d8",
- "wires": [
- []
- ]
- },
- {
- "id": "68482403.97ca3c",
- "type": "for",
- "name": "foreach pLMNInfo",
- "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1663.8125,
- "y": 1719.8125,
- "z": "7108e868.a979d8",
- "wires": [
- [
- "62fc86b9.2bf388"
- ]
- ]
- },
- {
- "id": "62fc86b9.2bf388",
+ "id": "342badce.4abd62",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1629.8125,
- "y": 2795.8125,
- "z": "7108e868.a979d8",
+ "x": 1427.2777709960938,
+ "y": 2752.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "bd37c8ec.2cb548",
- "75687bbe.c8ac34",
- "2ecbf849.cff368",
- "e1fe95a4.e56b88",
- "f11648d2.8a6158",
- "b26edd45.59a21",
- "4a615dd1.f7d994",
- "82f93bbe.2a8f58",
- "5806bd74.97f274",
- "bbd5f05e.aa95f",
- "7b0b3132.35108",
- "ba3263a2.7a90f"
+ "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"
]
]
},
{
- "id": "2ecbf849.cff368",
+ "id": "c27a2824.18ffe8",
"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": 1957.8125,
- "y": 2993.8125,
- "z": "7108e868.a979d8",
+ "x": 1741.9445495605469,
+ "y": 2955.194511413574,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6a4ff84d.86f158",
- "a21ae80.f8a7c18"
+ "17c00fc4.0c225",
+ "828b843e.8f20a8"
]
]
},
{
- "id": "6a4ff84d.86f158",
+ "id": "17c00fc4.0c225",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2259.8126525878906,
- "y": 2995.8127393722534,
- "z": "7108e868.a979d8",
+ "x": 2038.3890190124512,
+ "y": 2986.0835132598877,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f129f56b.6a8468"
+ "ac880ef2.b7ff8"
]
]
},
{
- "id": "f129f56b.6a8468",
+ "id": "ac880ef2.b7ff8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2436.812774658203,
- "y": 2984.812617301941,
- "z": "7108e868.a979d8",
+ "x": 2227.6112899780273,
+ "y": 2972.861393928528,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "818116b.749a3e8",
- "4c0fe3af.87361c",
- "ef5706f3.674e08"
+ "b619434f.2071",
+ "bdfa000d.a6bf6",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "4c0fe3af.87361c",
+ "id": "bdfa000d.a6bf6",
"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": 2707.8127098083496,
- "y": 2888.812978744507,
- "z": "7108e868.a979d8",
+ "x": 2458.611301422119,
+ "y": 2934.639319419861,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "818116b.749a3e8",
+ "id": "b619434f.2071",
"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.812713623047,
- "y": 2942.8129177093506,
- "z": "7108e868.a979d8",
+ "x": 2485.8337936401367,
+ "y": 2975.3060750961304,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "88c21b9a.22d488",
+ "id": "48625087.b9c9e",
"type": "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": 2586.812225341797,
- "y": 3067.8127393722534,
- "z": "7108e868.a979d8",
+ "x": 2400.944194793701,
+ "y": 3016.9724130630493,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "c2e2f484.ae9978",
+ "id": "d5e14c57.5e601",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2433.812530517578,
- "y": 3067.8124952316284,
- "z": "7108e868.a979d8",
+ "x": 2214.611011505127,
+ "y": 3022.5279817581177,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "88c21b9a.22d488"
+ "48625087.b9c9e"
]
]
},
{
- "id": "a21ae80.f8a7c18",
+ "id": "828b843e.8f20a8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2253.812530517578,
- "y": 3062.812678337097,
- "z": "7108e868.a979d8",
+ "x": 2029.055519104004,
+ "y": 3026.4169912338257,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c2e2f484.ae9978"
+ "d5e14c57.5e601"
]
]
},
{
- "id": "bd37c8ec.2cb548",
+ "id": "21f29aee.0eff86",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1896.8125,
- "y": 2797.8125,
- "z": "7108e868.a979d8",
+ "x": 1694.2777709960938,
+ "y": 2754.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "31b6e50e.0ffa9a",
- "605133da.405fac"
+ "c4866ad0.39c4e8",
+ "7473b922.9a0358"
]
]
},
{
- "id": "31b6e50e.0ffa9a",
+ "id": "c4866ad0.39c4e8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2104.8125,
- "y": 2762.812255859375,
- "z": "7108e868.a979d8",
+ "x": 1902.2777709960938,
+ "y": 2719.749749183655,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ca261737.b9abf8"
+ "b3310007.d5e61"
]
]
},
{
- "id": "605133da.405fac",
+ "id": "7473b922.9a0358",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2092.8125,
- "y": 2864.8125,
- "z": "7108e868.a979d8",
+ "x": 1885.8334350585938,
+ "y": 2770.6389875411987,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "cec48822.0fc488"
+ "3e7fc5f2.be339a"
]
]
},
{
- "id": "ca261737.b9abf8",
+ "id": "b3310007.d5e61",
"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": 2424.8125,
- "y": 2777.8125,
- "z": "7108e868.a979d8",
+ "x": 2222.2777709960938,
+ "y": 2734.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "75687bbe.c8ac34",
+ "id": "94e7e0a7.b58c3",
"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": 1941.8125,
- "y": 2936.8125,
- "z": "7108e868.a979d8",
+ "x": 1705.9443969726562,
+ "y": 2799.3057079315186,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "4a4813ea.c1f99c",
+ "id": "8be06558.e14bf8",
"type": "set",
"name": "RRMPolicyRatio id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].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": 2851.8125,
- "y": 2258.8125,
- "z": "7108e868.a979d8",
+ "x": 2637.055938720703,
+ "y": 2253.5274801254272,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "79d52a8e.70e584",
+ "id": "ba00bd4a.546d6",
"type": "set",
"name": "RRMPolicyMember Id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`\" />",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.rrmPolicyMembers+1`'/>\n",
"comments": "",
- "x": 2842.8125,
- "y": 2305.8125,
- "z": "7108e868.a979d8",
+ "x": 2648.055679321289,
+ "y": 2289.4170446395874,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "e1fe95a4.e56b88",
+ "id": "821dc568.77ed88",
"type": "set",
- "name": "Calculate RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
+ "name": "Calculate rRMPolicyDedicatedRatio Temp",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n",
"comments": "",
- "x": 1930.8127136230469,
- "y": 3065.812994003296,
- "z": "7108e868.a979d8",
+ "x": 1763.8335723876953,
+ "y": 3064.973126411438,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "f11648d2.8a6158",
+ "id": "48166ee0.cdff5",
"type": "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": 1876.8127059936523,
- "y": 3137.812997817993,
- "z": "7108e868.a979d8",
+ "x": 1667.6113014221191,
+ "y": 3129.1949515342712,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "b26edd45.59a21",
+ "id": "c9836807.47c9b8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1887.8125,
- "y": 3212.8125,
- "z": "7108e868.a979d8",
+ "x": 1685.2777709960938,
+ "y": 3169.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b48e9df0.37c53",
- "84a6a111.772e4"
+ "ccf3c09b.00194",
+ "daec73d6.40c28"
]
]
},
{
- "id": "b48e9df0.37c53",
+ "id": "ccf3c09b.00194",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2065.8125,
- "y": 3179.812255859375,
- "z": "7108e868.a979d8",
+ "x": 1863.2777709960938,
+ "y": 3136.749749183655,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "164e8c22.475114"
+ "d83af7ba.bc8058"
]
]
},
{
- "id": "164e8c22.475114",
+ "id": "d83af7ba.bc8058",
"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": 2360.812530517578,
- "y": 3125.8125562667847,
- "z": "7108e868.a979d8",
+ "x": 2158.277801513672,
+ "y": 3082.7500495910645,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "4a615dd1.f7d994",
+ "id": "1ba6a41f.c38c2c",
"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": 1924.8125839233398,
- "y": 3267.8125133514404,
- "z": "7108e868.a979d8",
+ "x": 1722.2778549194336,
+ "y": 3224.75000667572,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "82f93bbe.2a8f58",
+ "id": "43557902.4f4158",
"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": 1920.8127517700195,
- "y": 3324.8125143051147,
- "z": "7108e868.a979d8",
+ "x": 1711.278091430664,
+ "y": 3330.7500352859497,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e03ffc51.6fbca",
- "cce032c0.0d88f"
+ "bf4d51cf.bdf42",
+ "3a68aacb.1f5256"
]
]
},
{
- "id": "e03ffc51.6fbca",
+ "id": "bf4d51cf.bdf42",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2170.8125953674316,
- "y": 3314.812678337097,
- "z": "7108e868.a979d8",
+ "x": 1968.2778663635254,
+ "y": 3271.750171661377,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "2261ec2.bfaac14"
+ "de80ac45.5374a"
]
]
},
{
- "id": "2261ec2.bfaac14",
+ "id": "de80ac45.5374a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2331.812744140625,
- "y": 3333.8125,
- "z": "7108e868.a979d8",
+ "x": 2129.2780151367188,
+ "y": 3290.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "fde07db7.6edee",
- "4a0a2150.dd5b7",
- "ef5706f3.674e08"
+ "5d79f9c5.14c278",
+ "61c01400.b9f29c",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "4a0a2150.dd5b7",
+ "id": "61c01400.b9f29c",
"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": 2497.8125,
- "y": 3299.8125,
- "z": "7108e868.a979d8",
+ "x": 2295.2777709960938,
+ "y": 3256.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "fde07db7.6edee",
+ "id": "5d79f9c5.14c278",
"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": 2502.8123779296875,
- "y": 3394.8125610351562,
- "z": "7108e868.a979d8",
+ "x": 2351.3885803222656,
+ "y": 3300.639016151428,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "5f5f8a4d.ecf264",
+ "id": "2ffa2827.57bd28",
"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": 2506.8125,
- "y": 3523.8125,
- "z": "7108e868.a979d8",
+ "x": 2336.4998779296875,
+ "y": 3396.3055725097656,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "be1c4c39.89b8c",
+ "id": "73778204.755dcc",
"type": "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": 2491.8123779296875,
- "y": 3460.812744140625,
- "z": "7108e868.a979d8",
+ "x": 2331.499687194824,
+ "y": 3339.972331047058,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "2d110399.7859bc",
+ "id": "2c33dae2.508956",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2325.8123168945312,
- "y": 3406.81268119812,
- "z": "7108e868.a979d8",
+ "x": 2138.833236694336,
+ "y": 3338.194640159607,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "be1c4c39.89b8c",
- "5f5f8a4d.ecf264"
+ "73778204.755dcc",
+ "2ffa2827.57bd28"
]
]
},
{
- "id": "cce032c0.0d88f",
+ "id": "3a68aacb.1f5256",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2161.8125953674316,
- "y": 3384.81268119812,
- "z": "7108e868.a979d8",
+ "x": 1959.2778663635254,
+ "y": 3341.7501745224,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "2d110399.7859bc"
+ "2c33dae2.508956"
]
]
},
{
- "id": "5806bd74.97f274",
- "type": "execute",
- "name": "read rrmpolicyratio list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_CUUP_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length '`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 1898.8125915527344,
- "y": 3389.812599182129,
- "z": "7108e868.a979d8",
- "wires": [
- []
- ]
- },
- {
- "id": "bbd5f05e.aa95f",
+ "id": "b151ef4e.63d69",
"type": "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.tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
+ "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": 1838.8125839233398,
- "y": 3440.8126010894775,
- "z": "7108e868.a979d8",
+ "x": 1646.2779998779297,
+ "y": 3466.750096321106,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "7b0b3132.35108",
+ "id": "157cf93d.767517",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1886.4791717529297,
- "y": 3581.1459369659424,
- "z": "7108e868.a979d8",
+ "x": 1683.9444427490234,
+ "y": 3538.083430290222,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "8250f885.9a6238"
+ "8c2cee50.77277"
]
]
},
{
- "id": "8250f885.9a6238",
+ "id": "8c2cee50.77277",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2104.4791259765625,
- "y": 3608.145751953125,
- "z": "7108e868.a979d8",
+ "x": 1901.9443969726562,
+ "y": 3565.083245277405,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f1bf3011.d74b2",
- "d818aaf7.0aee18",
- "6cb09c3f.522a24",
- "3a30a758.d1cd78",
- "568f3597.ab1f0c",
- "4e2db998.18c708"
+ "e6f36cff.5f7ac",
+ "994124a.6a81ed8",
+ "e93d3907.dbe0b8",
+ "5971d0a9.8775a",
+ "495b7e0.94ea084",
+ "323b9ab7.0a7686",
+ "4c95d3de.dafcac",
+ "91bdd1cb.225b5",
+ "74f76f8.3409a9"
]
]
},
{
- "id": "f1bf3011.d74b2",
+ "id": "e6f36cff.5f7ac",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`\" />",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`\" />",
"comments": "",
- "x": 2429.4791259765625,
- "y": 3585.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2226.9443969726562,
+ "y": 3542.083245277405,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "6cb09c3f.522a24",
+ "id": "e93d3907.dbe0b8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2397.4791259765625,
- "y": 3636.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2194.9443740844727,
+ "y": 3584.1944813728333,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "68da40a6.630dc",
- "96bf52a5.a5094"
+ "c2e2c59a.964ca8",
+ "70e9bf72.db75d"
]
]
},
{
- "id": "568f3597.ab1f0c",
- "type": "set",
- "name": "RRMPolicyRatio id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />",
- "comments": "",
- "x": 2411.4791259765625,
- "y": 3674.145751953125,
- "z": "7108e868.a979d8",
- "wires": []
- },
- {
- "id": "68da40a6.630dc",
+ "id": "c2e2c59a.964ca8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2614.4792251586914,
- "y": 3623.145571708679,
- "z": "7108e868.a979d8",
+ "x": 2411.944496154785,
+ "y": 3580.083065032959,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ed44c1a6.36128"
+ "29bbb805.9ee6c8"
]
]
},
{
- "id": "ed44c1a6.36128",
+ "id": "29bbb805.9ee6c8",
"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": 2887.4790954589844,
- "y": 3593.1461219787598,
- "z": "7108e868.a979d8",
+ "x": 2684.944366455078,
+ "y": 3550.0836153030396,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "4e2db998.18c708",
+ "id": "495b7e0.94ea084",
"type": "set",
"name": "RRMPolicyMember Id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`\" />",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.rrmPolicyMembers-CUUP+1`\" />",
"comments": "",
- "x": 2402.4791259765625,
- "y": 3721.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2198.833297729492,
+ "y": 3735.8612957000732,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "d818aaf7.0aee18",
+ "id": "994124a.6a81ed8",
"type": "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`\"/>",
+ "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": 2359.4791259765625,
- "y": 3765.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2160.2780380249023,
+ "y": 3768.7502479553223,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "3a30a758.d1cd78",
+ "id": "5971d0a9.8775a",
"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": 2426.4791259765625,
- "y": 3807.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2222.8333053588867,
+ "y": 3805.1942443847656,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "7c1a793c.e7f098",
- "ecae4a1e.4ed968"
+ "e3174968.023078",
+ "2c3ec3b8.faaecc"
]
]
},
{
- "id": "7c1a793c.e7f098",
+ "id": "e3174968.023078",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2698.4791259765625,
- "y": 3799.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2495.9443969726562,
+ "y": 3756.083245277405,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ee919351.884ae"
+ "f53b4c9e.c5d56"
]
]
},
{
- "id": "ee919351.884ae",
+ "id": "f53b4c9e.c5d56",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2889.4791259765625,
- "y": 3799.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2686.9443969726562,
+ "y": 3756.083245277405,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "9967fe18.3f52",
- "ef5706f3.674e08"
+ "2851387d.d21c18"
]
]
},
{
- "id": "9967fe18.3f52",
+ "id": "2851387d.d21c18",
"type": "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": 3074.4788818359375,
- "y": 3800.14599609375,
- "z": "7108e868.a979d8",
+ "x": 2871.9441528320312,
+ "y": 3757.08348941803,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "3d107c96.8f4394",
+ "id": "a57054f0.8f2cf8",
"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": 3156.4791259765625,
- "y": 3843.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2953.9443969726562,
+ "y": 3800.083245277405,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "64358581.2074dc",
+ "id": "799ed5ea.0660dc",
"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": 3161.47900390625,
- "y": 3938.1458129882812,
- "z": "7108e868.a979d8",
+ "x": 2958.9442749023438,
+ "y": 3895.083306312561,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "87867dbd.bfc9c",
+ "id": "89b318ab.323c98",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2916.4793701171875,
- "y": 3892.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2713.9446411132812,
+ "y": 3849.083245277405,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "64358581.2074dc",
- "3d107c96.8f4394"
+ "799ed5ea.0660dc",
+ "a57054f0.8f2cf8",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "ecae4a1e.4ed968",
+ "id": "2c3ec3b8.faaecc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2697.4791259765625,
- "y": 3887.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2494.9443969726562,
+ "y": 3844.083245277405,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "87867dbd.bfc9c"
+ "89b318ab.323c98"
]
]
},
{
- "id": "ba3263a2.7a90f",
+ "id": "11b56769.6027f9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1843.1459197998047,
- "y": 3920.4793615341187,
- "z": "7108e868.a979d8",
+ "x": 1640.6111907958984,
+ "y": 3877.4168548583984,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a8779bfe.2ebaa8",
- "6bdc54a8.a8bcfc"
+ "432a8afd.ff3744",
+ "369fee46.9ff212",
+ "e0eae9af.e47b18",
+ "aaab029a.73315",
+ "197ebca7.656673",
+ "d0d818c6.4b2608",
+ "27aaafdc.f134",
+ "28f0e3bf.db6d3c",
+ "7153e6fc.a20688",
+ "3d2034c9.c91a4c",
+ "4a3e020d.51ae0c"
]
]
},
{
- "id": "a8779bfe.2ebaa8",
+ "id": "432a8afd.ff3744",
"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 + '/restapi.configDB.updategNBCUUP.templatefile'`\" />\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\"/>",
+ "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": 2176.1458740234375,
- "y": 3921.479248046875,
- "z": "7108e868.a979d8",
+ "x": 1944.8611907958984,
+ "y": 3889.666790008545,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a157ef66.82e47",
- "156a4239.7ef9ee"
+ "f6e87948.f89288",
+ "ab3317f.d87cee8"
]
]
},
{
- "id": "a157ef66.82e47",
+ "id": "f6e87948.f89288",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2463.1458740234375,
- "y": 3892.4794921875,
- "z": "7108e868.a979d8",
+ "x": 2260.6111450195312,
+ "y": 3849.41698551178,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b14a144c.9974f8"
+ "ba24cd75.0dfab"
]
]
},
{
- "id": "156a4239.7ef9ee",
+ "id": "ab3317f.d87cee8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2412.1458740234375,
- "y": 3993.479248046875,
- "z": "7108e868.a979d8",
+ "x": 2247.111225128174,
+ "y": 3899.166910171509,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "8205426c.ef651"
+ "af3f3ee.4697ec"
]
]
},
{
- "id": "8205426c.ef651",
+ "id": "af3f3ee.4697ec",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2498.1458587646484,
- "y": 4074.4793090820312,
- "z": "7108e868.a979d8",
+ "x": 2405.6110458374023,
+ "y": 3927.666972398758,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "88c98d77.84bc2"
+ "45a699a5.339a98"
]
]
},
{
- "id": "b14a144c.9974f8",
+ "id": "ba24cd75.0dfab",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2655.1458740234375,
- "y": 4008.479248046875,
- "z": "7108e868.a979d8",
+ "x": 2448.86141204834,
+ "y": 3886.666910171509,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "bdfa1f09.353b8",
- "8fd72176.397c5",
- "ef5706f3.674e08"
+ "2988f3b4.0cd97c",
+ "c023d158.5af6d",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "88c98d77.84bc2",
+ "id": "45a699a5.339a98",
"type": "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": 2662.1458740234375,
- "y": 4080.479248046875,
- "z": "7108e868.a979d8",
+ "x": 2542.1112899780273,
+ "y": 3941.16703414917,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "bdfa1f09.353b8",
+ "id": "2988f3b4.0cd97c",
"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'/>",
+ "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": 2826.1455078125,
- "y": 4069.4793090820312,
- "z": "7108e868.a979d8",
+ "x": 2707.3608932495117,
+ "y": 3930.1669726371765,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "8fd72176.397c5",
+ "id": "c023d158.5af6d",
"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'/>",
+ "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": 2821.1456756591797,
- "y": 3976.479236602783,
- "z": "7108e868.a979d8",
+ "x": 2616.1110763549805,
+ "y": 3895.9167881011963,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "3cba221d.f1507e",
+ "id": "1ea853ee.e7636c",
"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": 2864.1456756591797,
- "y": 4120.479236602783,
- "z": "7108e868.a979d8",
+ "x": 2670.361110687256,
+ "y": 4131.167035102844,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "a2654622.6dd498",
+ "id": "cb3cd22b.a342e",
"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": 2869.145553588867,
- "y": 4215.479297637939,
- "z": "7108e868.a979d8",
+ "x": 2666.610824584961,
+ "y": 4172.416790962219,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "95bfc417.2c1f08",
+ "id": "cc430433.e39b08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2698.1459197998047,
- "y": 4154.479236602783,
- "z": "7108e868.a979d8",
+ "x": 2486.8612899780273,
+ "y": 4165.166974067688,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a2654622.6dd498",
- "3cba221d.f1507e",
- "ef5706f3.674e08"
+ "cb3cd22b.a342e",
+ "1ea853ee.e7636c",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "d8512ddf.3f171",
+ "id": "6184c0ce.94a5f",
"type": "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": 2842.1459197998047,
- "y": 4262.479236602783,
- "z": "7108e868.a979d8",
+ "x": 2639.6111907958984,
+ "y": 4219.416729927063,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "a66973d7.69104",
+ "id": "3600b138.5845ae",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2676.1459197998047,
- "y": 4261.479236602783,
- "z": "7108e868.a979d8",
+ "x": 2473.6111907958984,
+ "y": 4218.416729927063,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d8512ddf.3f171"
+ "6184c0ce.94a5f"
]
]
},
{
- "id": "15ec48d8.926787",
+ "id": "d164770d.eef5f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2495.1459197998047,
- "y": 4267.478992462158,
- "z": "7108e868.a979d8",
+ "x": 2292.6111907958984,
+ "y": 4224.416485786438,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a66973d7.69104"
+ "3600b138.5845ae"
]
]
},
{
- "id": "2a3a4f34.54219",
+ "id": "c510da45.23cf18",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2495.1459197998047,
- "y": 4157.479236602783,
- "z": "7108e868.a979d8",
+ "x": 2286.3613204956055,
+ "y": 4176.9168519973755,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "95bfc417.2c1f08"
+ "cc430433.e39b08"
]
]
},
{
- "id": "6bdc54a8.a8bcfc",
+ "id": "369fee46.9ff212",
"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 + '/restapi.configDB.updateRRMPolicy.CUUP.templatefile'`\" />\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\"/>",
+ "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": 2197.1459197998047,
- "y": 4207.479236602783,
- "z": "7108e868.a979d8",
+ "x": 1968.3612823486328,
+ "y": 4218.16685295105,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "2a3a4f34.54219",
- "15ec48d8.926787"
+ "c510da45.23cf18",
+ "d164770d.eef5f8"
]
]
},
{
- "id": "4e830c1f.7bebc4",
+ "id": "ea01a433.33d248",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1207.5626754760742,
- "y": 4192.563228607178,
- "z": "7108e868.a979d8",
+ "x": 1106.0279922485352,
+ "y": 3840.500594139099,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "5a3d52ff.69f48c",
- "96c6fb05.5a9858",
- "4d47cf04.2ab97"
+ "8ac3f0ad.30e56",
+ "2b669098.1e82",
+ "dd3d3af9.52d6f8"
]
]
},
{
- "id": "5a3d52ff.69f48c",
+ "id": "8ac3f0ad.30e56",
"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": 1536.5626754760742,
- "y": 4223.563228607178,
- "z": "7108e868.a979d8",
+ "x": 1359.027931213379,
+ "y": 3930.5006551742554,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "96c6fb05.5a9858",
+ "id": "2b669098.1e82",
"type": "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": 1494.5626602172852,
- "y": 4284.563228607178,
- "z": "7108e868.a979d8",
+ "x": 1327.0278816223145,
+ "y": 3980.5007190704346,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "4d47cf04.2ab97",
+ "id": "dd3d3af9.52d6f8",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1506.5627059936523,
- "y": 4354.563228607178,
- "z": "7108e868.a979d8",
+ "x": 1328.0280685424805,
+ "y": 4023.500720024109,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c924ba25.82a328"
+ "5091954e.43f6dc"
]
]
},
{
- "id": "c924ba25.82a328",
+ "id": "5091954e.43f6dc",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1787.5626754760742,
- "y": 4355.5631980896,
- "z": "7108e868.a979d8",
+ "x": 1590.0279273986816,
+ "y": 4129.500475883484,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a0fa0a49.9180c8",
- "b69431be.ded5f",
- "e4e685e5.2c8388",
- "d1761b06.379698"
+ "ad634841.f1df18",
+ "d1a41858.dbd2e8",
+ "5b5b644f.dcb89c",
+ "693e7bc8.1946f4"
]
]
},
{
- "id": "a0fa0a49.9180c8",
+ "id": "ad634841.f1df18",
"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": 2066.5625,
- "y": 4351.5625,
- "z": "7108e868.a979d8",
+ "x": 1864.0277709960938,
+ "y": 4308.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "b69431be.ded5f",
+ "id": "d1a41858.dbd2e8",
"type": "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": 2039.5625,
- "y": 4402.5625,
- "z": "7108e868.a979d8",
+ "x": 1837.0277709960938,
+ "y": 4359.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "e4e685e5.2c8388",
+ "id": "5b5b644f.dcb89c",
"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": 2080.5625,
- "y": 4451.5625,
- "z": "7108e868.a979d8",
+ "x": 1878.0277709960938,
+ "y": 4408.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "d1761b06.379698",
+ "id": "693e7bc8.1946f4",
"type": "for",
"name": "for cellDUList",
"xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2070.5625,
- "y": 4495.5625,
- "z": "7108e868.a979d8",
+ "x": 1868.0277709960938,
+ "y": 4452.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "2d9b1779.25da68"
+ "2e61752a.3c32aa"
]
]
},
{
- "id": "2e0cb657.fa72aa",
+ "id": "8ca9297e.0bb688",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3097.3125,
- "y": 4549.5625,
- "z": "7108e868.a979d8",
+ "x": 2894.7777709960938,
+ "y": 4506.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "db01efc8.367e1",
- "cbb5449b.077ff8",
- "c37094ee.0620b8",
- "9664007c.b3591",
- "f8fddf6b.372eb",
- "7e214221.f3333c",
- "7e449816.b97cc8",
- "5b53f44f.273f7c",
- "f6f39dfc.75a01",
- "a63081a.5cdd48",
- "2ea51be.93ad1e4"
+ "854a9c7d.7606",
+ "6818c49e.7be4ac",
+ "dccf3b3f.871b98",
+ "90de618b.cad",
+ "d8f0231.2a5b4e",
+ "2b662b6d.42a6c4",
+ "12ff3e46.f96772",
+ "bd503cb1.d0e98",
+ "de0d36d5.d71918",
+ "63c4b3a7.33644c",
+ "42884319.8bf8dc",
+ "d815d930.ba6bb8"
]
]
},
{
- "id": "5b53f44f.273f7c",
+ "id": "bd503cb1.d0e98",
"type": "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": 3292.3125,
- "y": 4544.5625,
- "z": "7108e868.a979d8",
+ "x": 3089.7777709960938,
+ "y": 4501.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "7e449816.b97cc8",
+ "id": "12ff3e46.f96772",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3320.3125,
- "y": 4612.5625,
- "z": "7108e868.a979d8",
+ "x": 3117.7777709960938,
+ "y": 4569.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d4c9f7e3.e84858",
- "9ff04c6b.5afd8"
+ "96175473.d9eb48",
+ "6b0e69e0.617508"
]
]
},
{
- "id": "d4c9f7e3.e84858",
+ "id": "96175473.d9eb48",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3528.3125,
- "y": 4577.562255859375,
- "z": "7108e868.a979d8",
+ "x": 3325.7777709960938,
+ "y": 4534.499749183655,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "3bce64e2.b4273c"
+ "d039005a.704dc"
]
]
},
{
- "id": "9ff04c6b.5afd8",
+ "id": "6b0e69e0.617508",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3523.3125495910645,
- "y": 4646.562824249268,
- "z": "7108e868.a979d8",
+ "x": 3320.777820587158,
+ "y": 4603.500317573547,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e66f84d4.6add28"
+ "21313198.fd408e"
]
]
},
{
- "id": "3bce64e2.b4273c",
+ "id": "d039005a.704dc",
"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": 3848.3125,
- "y": 4592.5625,
- "z": "7108e868.a979d8",
+ "x": 3645.7777709960938,
+ "y": 4549.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "db01efc8.367e1",
+ "id": "854a9c7d.7606",
"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 +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "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": 3317.3126525878906,
- "y": 4700.562744140625,
- "z": "7108e868.a979d8",
+ "x": 3114.7779235839844,
+ "y": 4657.500237464905,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "9664007c.b3591",
+ "id": "90de618b.cad",
"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": 3372.312713623047,
- "y": 4765.562682151794,
- "z": "7108e868.a979d8",
+ "x": 3169.7779846191406,
+ "y": 4722.500175476074,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "f8fddf6b.372eb",
+ "id": "d8f0231.2a5b4e",
"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.cellCULocalId`\"/>\n",
+ "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": 3345.3128967285156,
- "y": 4820.562684059143,
- "z": "7108e868.a979d8",
+ "x": 3142.7781677246094,
+ "y": 4777.500177383423,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "7e214221.f3333c",
+ "id": "2b662b6d.42a6c4",
"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": 3325.3125915527344,
- "y": 4883.562990188599,
- "z": "7108e868.a979d8",
+ "x": 3122.777862548828,
+ "y": 4840.500483512878,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "cbb5449b.077ff8",
+ "id": "6818c49e.7be4ac",
"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": 3327.3128356933594,
- "y": 4941.562623023987,
- "z": "7108e868.a979d8",
+ "x": 3124.778106689453,
+ "y": 4898.500116348267,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "c37094ee.0620b8",
+ "id": "dccf3b3f.871b98",
"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": 3332.312469482422,
- "y": 5009.56311416626,
- "z": "7108e868.a979d8",
+ "x": 3128.7779846191406,
+ "y": 4944.500733375549,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "f6f39dfc.75a01",
+ "id": "de0d36d5.d71918",
"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": 3389.3125,
- "y": 5084.8125,
- "z": "7108e868.a979d8",
+ "x": 3183.7779846191406,
+ "y": 4990.7500014305115,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d8729278.1cd58",
- "157bda42.dc1776"
+ "218c5ac9.adcf96",
+ "9be6e332.adf83"
]
]
},
{
- "id": "157bda42.dc1776",
+ "id": "9be6e332.adf83",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3656.3125,
- "y": 4984.8125,
- "z": "7108e868.a979d8",
+ "x": 3432.3493366241455,
+ "y": 4831.750117301941,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ea70704f.084d2"
+ "bec61c09.9b2b7"
]
]
},
{
- "id": "d8729278.1cd58",
+ "id": "218c5ac9.adcf96",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3655.3125,
- "y": 5083.8125,
- "z": "7108e868.a979d8",
+ "x": 3438.492027282715,
+ "y": 4887.892823219299,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "8bfbcf74.666d1"
+ "7408d31.0dc862c"
]
]
},
{
- "id": "ea70704f.084d2",
+ "id": "bec61c09.9b2b7",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3814.312744140625,
- "y": 4932.8125,
- "z": "7108e868.a979d8",
+ "x": 3608.920944213867,
+ "y": 4831.178339958191,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "24efbd9d.3eeb72",
- "223f16d0.c8885a",
- "ef5706f3.674e08"
+ "13752f4e.dc57d1",
+ "a3fa5004.f668b",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "8bfbcf74.666d1",
+ "id": "7408d31.0dc862c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3823.3125,
- "y": 5080.812502622604,
- "z": "7108e868.a979d8",
+ "x": 3592.206329345703,
+ "y": 4887.749948501587,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6125ea01.fba5c4"
+ "b2c21e16.d6e5b"
]
]
},
{
- "id": "6125ea01.fba5c4",
+ "id": "b2c21e16.d6e5b",
"type": "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": 3969.3123779296875,
- "y": 5079.812744140625,
- "z": "7108e868.a979d8",
+ "x": 3629.635021209717,
+ "y": 4953.892745018005,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "24efbd9d.3eeb72",
+ "id": "13752f4e.dc57d1",
"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": 3985.3123779296875,
- "y": 4993.812561035156,
- "z": "7108e868.a979d8",
+ "x": 3795.6347579956055,
+ "y": 4907.892684936523,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "223f16d0.c8885a",
+ "id": "a3fa5004.f668b",
"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": 3980.3125,
- "y": 4898.8125,
- "z": "7108e868.a979d8",
+ "x": 3777.7777709960938,
+ "y": 4855.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "a63081a.5cdd48",
+ "id": "63c4b3a7.33644c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3190.5625,
- "y": 5357.8125,
- "z": "7108e868.a979d8",
+ "x": 2988.0277709960938,
+ "y": 5314.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "5cb5d6ea.770248",
- "98f00bff.356c18",
- "5d40a1b9.c2994",
- "f43c3c63.25ad9",
- "65c6ca75.936b14",
- "6bcc8bb1.e1d3e4",
- "f0dfe9fd.ba7e58",
- "fa410ab8.5baa78"
+ "1f3099be.fd0396",
+ "428380a3.2e5c6",
+ "77470c30.7ccea4",
+ "1ad44e5f.06dc02",
+ "54740594.78e32c",
+ "e7a02896.74e638",
+ "36f9af95.9beb7",
+ "517677f0.6d4018",
+ "9f04c1f2.bf256",
+ "8e869cc0.cfb58"
]
]
},
{
- "id": "5cb5d6ea.770248",
+ "id": "1f3099be.fd0396",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3412.5625,
- "y": 5263.8125,
- "z": "7108e868.a979d8",
+ "x": 3210.0277709960938,
+ "y": 5220.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "7ea81051.7f23a",
- "5a933026.4d27b"
+ "8c2e0cd.722b2f",
+ "3185509b.b104a"
]
]
},
{
- "id": "7ea81051.7f23a",
+ "id": "3185509b.b104a",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3595.5627365112305,
- "y": 5201.8128299713135,
- "z": "7108e868.a979d8",
+ "x": 3458.742477416992,
+ "y": 5233.036768913269,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "193f0677.2c64aa"
+ "223eb619.f4921a"
]
]
},
{
- "id": "193f0677.2c64aa",
+ "id": "223eb619.f4921a",
"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": 3895.5626068115234,
- "y": 5202.812952041626,
- "z": "7108e868.a979d8",
+ "x": 3653.0276794433594,
+ "y": 5171.179366111755,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "98f00bff.356c18",
+ "id": "428380a3.2e5c6",
"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": 3447.5625,
- "y": 5335.8125,
- "z": "7108e868.a979d8",
+ "x": 3245.0277709960938,
+ "y": 5292.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "5d40a1b9.c2994",
+ "id": "77470c30.7ccea4",
"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": 3412.5625,
- "y": 5387.8125,
- "z": "7108e868.a979d8",
+ "x": 3210.0277709960938,
+ "y": 5344.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "f43c3c63.25ad9",
+ "id": "1ad44e5f.06dc02",
"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": 3447.5625,
- "y": 5462.8125,
- "z": "7108e868.a979d8",
+ "x": 3245.0277709960938,
+ "y": 5419.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e3b08095.b4e31",
- "f911831.2bcd58"
+ "77060035.b3e31",
+ "8c4eb3c3.ad48"
]
]
},
{
- "id": "e3b08095.b4e31",
+ "id": "77060035.b3e31",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3694.5625,
- "y": 5435.8125,
- "z": "7108e868.a979d8",
+ "x": 3492.0277709960938,
+ "y": 5392.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "981c46e8.e33468"
+ "38aa7b88.8cc164"
]
]
},
{
- "id": "f911831.2bcd58",
+ "id": "8c4eb3c3.ad48",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3698.5625,
- "y": 5514.8125,
- "z": "7108e868.a979d8",
+ "x": 3496.0277709960938,
+ "y": 5471.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "748cf1b0.9d517"
+ "af08c4f9.c8c558"
]
]
},
{
- "id": "981c46e8.e33468",
+ "id": "38aa7b88.8cc164",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3852.562744140625,
- "y": 5383.8125,
- "z": "7108e868.a979d8",
+ "x": 3660.0282440185547,
+ "y": 5403.607346534729,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "633b5c69.cd1044",
- "cfbf14b0.9443f8",
- "ef5706f3.674e08"
+ "85bd27d6.ac5078",
+ "560e6dc6.7ff184",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "cfbf14b0.9443f8",
+ "id": "560e6dc6.7ff184",
"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": 4018.5625,
- "y": 5349.8125,
- "z": "7108e868.a979d8",
+ "x": 3816.0277709960938,
+ "y": 5306.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "633b5c69.cd1044",
+ "id": "85bd27d6.ac5078",
"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": 4023.5623779296875,
- "y": 5444.812561035156,
- "z": "7108e868.a979d8",
+ "x": 3821.0276489257812,
+ "y": 5401.750054359436,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "748cf1b0.9d517",
+ "id": "af08c4f9.c8c558",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3862.5623779296875,
- "y": 5515.8126220703125,
- "z": "7108e868.a979d8",
+ "x": 3660.0276489257812,
+ "y": 5472.750115394592,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "8916b53d.b90f88",
- "d6acc856.973798"
+ "6568d8a0.54f4a8",
+ "f8fa3865.3b8818"
]
]
},
{
- "id": "8916b53d.b90f88",
+ "id": "6568d8a0.54f4a8",
"type": "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": 4012.5623779296875,
- "y": 5510.812744140625,
- "z": "7108e868.a979d8",
+ "x": 3817.1708221435547,
+ "y": 5444.892781257629,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "d6acc856.973798",
+ "id": "f8fa3865.3b8818",
"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": 4027.5625,
- "y": 5573.8125,
- "z": "7108e868.a979d8",
- "wires": [
- []
- ]
- },
- {
- "id": "65c6ca75.936b14",
- "type": "execute",
- "name": "read rrmpolicyratio list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length '`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 3426.5625,
- "y": 5516.8125,
- "z": "7108e868.a979d8",
+ "x": 3825.027862548828,
+ "y": 5482.17870426178,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "6bcc8bb1.e1d3e4",
+ "id": "54740594.78e32c",
"type": "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",
+ "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": 3366.5625,
- "y": 5570.8125,
- "z": "7108e868.a979d8",
+ "x": 3182.5991821289062,
+ "y": 5552.035391807556,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "f0dfe9fd.ba7e58",
+ "id": "e7a02896.74e638",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3971.5625381469727,
- "y": 5147.812589645386,
- "z": "7108e868.a979d8",
+ "x": 3244.741867542267,
+ "y": 5099.035620689392,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "25bccfbe.74997",
- "83d763f9.c0daa",
- "5c90938f.aae84c",
- "5eb33de6.997004",
- "1269be21.81b8d2",
- "99edb9aa.d44a48",
- "5717a3b9.d0abfc",
- "d6422a31.9a6c68",
- "31c3f05.90cfe1",
- "7d3ffa6.132c704",
- "78a6faf9.59c974"
+ "c8f8181b.bc8a58",
+ "3468bb65.a0fb14",
+ "cfb5acf8.f3faa",
+ "b50cab3a.7d6a28",
+ "54ff605d.37b67",
+ "ab9b5495.2642d8",
+ "f5338014.ba63",
+ "aff055e3.016bb8",
+ "7ed07848.a83168",
+ "77504964.a2aa18",
+ "f15200d5.f48dd"
]
]
},
{
- "id": "5c90938f.aae84c",
+ "id": "cfb5acf8.f3faa",
"type": "set",
"name": "Calculate RRM Parms1",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
"comments": "",
- "x": 4415.552307128906,
- "y": 4928.135252952576,
- "z": "7108e868.a979d8",
+ "x": 4213.017578125,
+ "y": 4885.0727462768555,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "5eb33de6.997004",
+ "id": "b50cab3a.7d6a28",
"type": "set",
"name": "Calculate RRM Parms2",
"xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4424.093566894531,
- "y": 4973.155272424221,
- "z": "7108e868.a979d8",
+ "x": 4221.558837890625,
+ "y": 4930.092765748501,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "1269be21.81b8d2",
+ "id": "54ff605d.37b67",
"type": "set",
"name": "Calculate RRM Parms3",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
"comments": "",
- "x": 4414.093688964844,
- "y": 5028.1551503539085,
- "z": "7108e868.a979d8",
+ "x": 4211.5589599609375,
+ "y": 4985.092643678188,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "99edb9aa.d44a48",
+ "id": "ab9b5495.2642d8",
"type": "set",
"name": "Calculate RRM Parms4",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4414.093566894531,
- "y": 5079.155150413513,
- "z": "7108e868.a979d8",
+ "x": 4211.558837890625,
+ "y": 5036.092643737793,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "5717a3b9.d0abfc",
+ "id": "f5338014.ba63",
"type": "set",
"name": "Calculate RRM Parms5",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
"comments": "",
- "x": 4402.093688964844,
- "y": 5139.155272424221,
- "z": "7108e868.a979d8",
+ "x": 4199.5589599609375,
+ "y": 5096.092765748501,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "d6422a31.9a6c68",
+ "id": "aff055e3.016bb8",
"type": "set",
"name": "Calculate RRM Parms6",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
"comments": "",
- "x": 4440.093566894531,
- "y": 5189.155272424221,
- "z": "7108e868.a979d8",
+ "x": 4237.558837890625,
+ "y": 5146.092765748501,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "31c3f05.90cfe1",
+ "id": "7ed07848.a83168",
"type": "set",
"name": "Calculate RRM Parms7",
"xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
"comments": "",
- "x": 4427.093505859375,
- "y": 5259.155638694763,
- "z": "7108e868.a979d8",
+ "x": 4224.558776855469,
+ "y": 5216.093132019043,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "7d3ffa6.132c704",
+ "id": "77504964.a2aa18",
"type": "set",
"name": "calculation8",
"xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
"comments": "",
- "x": 4398.093505859375,
- "y": 5323.154662132263,
- "z": "7108e868.a979d8",
+ "x": 4195.558776855469,
+ "y": 5280.092155456543,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "78a6faf9.59c974",
+ "id": "f15200d5.f48dd",
"type": "set",
"name": "calculation9",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
"comments": "",
- "x": 4386.094055175781,
- "y": 5374.154540061951,
- "z": "7108e868.a979d8",
+ "x": 4183.559326171875,
+ "y": 5331.0920333862305,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "83d763f9.c0daa",
+ "id": "3468bb65.a0fb14",
"type": "set",
"name": "calculation10",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
"comments": "",
- "x": 4361.5523681640625,
- "y": 5440.135008811951,
- "z": "7108e868.a979d8",
+ "x": 4159.017639160156,
+ "y": 5397.0725021362305,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "25bccfbe.74997",
+ "id": "c8f8181b.bc8a58",
"type": "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": 4187.562294006348,
- "y": 5452.256315231323,
- "z": "7108e868.a979d8",
+ "x": 3985.0275650024414,
+ "y": 5409.193808555603,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "fa410ab8.5baa78",
+ "id": "36f9af95.9beb7",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3407.8125,
- "y": 5641.8125,
- "z": "7108e868.a979d8",
+ "x": 3205.2777709960938,
+ "y": 5598.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d5e66414.61b738"
+ "d26b6e59.02e24"
]
]
},
{
- "id": "d5e66414.61b738",
+ "id": "d26b6e59.02e24",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3628.8125,
- "y": 5661.8125,
- "z": "7108e868.a979d8",
+ "x": 3426.2777709960938,
+ "y": 5618.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "178d9c71.3e3cd4",
- "7eb64cc3.660424",
- "d35c9422.9abe48",
- "84121f2e.40449",
- "73826fd4.8f1b6",
- "6c4671d6.29012"
+ "c4eda641.393e38",
+ "895911c8.825af",
+ "1c77de16.c5c312",
+ "51620ac7.2631e4",
+ "bb00cbfa.ae7d18",
+ "16cb87b2.5be1d8",
+ "52ba99b7.987b88",
+ "4ff78ad7.0a8bd4",
+ "8d0864dd.8c8528",
+ "63a19143.589a9"
]
]
},
{
- "id": "178d9c71.3e3cd4",
+ "id": "c4eda641.393e38",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellDU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellDU + $tmp.rRMPolicyDedicatedRatio.CellDU`\" />",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`\" />",
"comments": "",
- "x": 3953.8125,
- "y": 5638.8125,
- "z": "7108e868.a979d8",
+ "x": 3752.706283569336,
+ "y": 5558.607483386993,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "d35c9422.9abe48",
+ "id": "1c77de16.c5c312",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3921.8125,
- "y": 5689.812271118164,
- "z": "7108e868.a979d8",
+ "x": 3697.8495330810547,
+ "y": 5602.464260101318,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6c8d9351.4d651c",
- "f56b6248.5a011"
+ "90686092.5480b",
+ "f3ac1470.9f0a28"
]
]
},
{
- "id": "6c8d9351.4d651c",
+ "id": "90686092.5480b",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4121.8125,
- "y": 5696.812026977539,
- "z": "7108e868.a979d8",
+ "x": 3893.5635299682617,
+ "y": 5593.749746322632,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f50efe95.ca3d2"
+ "d65c36b4.b13ff8"
]
]
},
{
- "id": "f50efe95.ca3d2",
+ "id": "d65c36b4.b13ff8",
"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": 4403.8124923706055,
- "y": 5651.812838077545,
- "z": "7108e868.a979d8",
+ "x": 4211.277988433838,
+ "y": 5563.036683082581,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "73826fd4.8f1b6",
- "type": "set",
- "name": "RRMPolicyRatio id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />",
- "comments": "",
- "x": 3935.8125,
- "y": 5727.812271118164,
- "z": "7108e868.a979d8",
- "wires": []
- },
- {
- "id": "6c4671d6.29012",
+ "id": "bb00cbfa.ae7d18",
"type": "set",
"name": "RRMPolicyMember Id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`\" />",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.RRMPolicyMembersDU_Length+1`\" />",
"comments": "",
- "x": 3926.8125,
- "y": 5774.812271118164,
- "z": "7108e868.a979d8",
+ "x": 3682.8493041992188,
+ "y": 5770.321383476257,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "7eb64cc3.660424",
+ "id": "895911c8.825af",
"type": "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 CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_updated`\"/>",
+ "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": 3883.8125,
- "y": 5818.812271118164,
- "z": "7108e868.a979d8",
+ "x": 3658.4208221435547,
+ "y": 5810.036261558533,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "84121f2e.40449",
+ "id": "51620ac7.2631e4",
"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": 3950.8125,
- "y": 5860.812271118164,
- "z": "7108e868.a979d8",
+ "x": 3742.5635681152344,
+ "y": 5846.3214864730835,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f3b17c12.36f39",
- "b73daad5.796e88"
+ "fa066444.802018",
+ "867f45b5.2aa548"
]
]
},
{
- "id": "f3b17c12.36f39",
+ "id": "fa066444.802018",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4222.8125,
- "y": 5852.812271118164,
- "z": "7108e868.a979d8",
+ "x": 4020.2777709960938,
+ "y": 5809.749764442444,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6383fa28.ddc1f4"
+ "e6fdee9b.4cad3"
]
]
},
{
- "id": "6383fa28.ddc1f4",
+ "id": "e6fdee9b.4cad3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4413.8125,
- "y": 5852.812271118164,
- "z": "7108e868.a979d8",
+ "x": 4211.277770996094,
+ "y": 5809.749764442444,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "68bb8ff1.a9c8"
+ "b5661953.85d578"
]
]
},
{
- "id": "68bb8ff1.a9c8",
+ "id": "b5661953.85d578",
"type": "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": 4598.812255859375,
- "y": 5853.812515258789,
- "z": "7108e868.a979d8",
+ "x": 4396.277526855469,
+ "y": 5810.750008583069,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ab223540.8967f8",
+ "id": "ebe1df71.0820d",
"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": 4680.8125,
- "y": 5896.812271118164,
- "z": "7108e868.a979d8",
+ "x": 4478.277770996094,
+ "y": 5853.749764442444,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "b6b94cea.8a762",
+ "id": "14b7d895.4babb7",
"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": 4685.8123779296875,
- "y": 5991.81233215332,
- "z": "7108e868.a979d8",
+ "x": 4483.277648925781,
+ "y": 5948.7498254776,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "6b1cdeed.a4366",
+ "id": "48902170.44222",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4440.812744140625,
- "y": 5945.812271118164,
- "z": "7108e868.a979d8",
+ "x": 4215.778049468994,
+ "y": 5851.500406742096,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b6b94cea.8a762",
- "ab223540.8967f8",
- "ef5706f3.674e08"
+ "14b7d895.4babb7",
+ "ebe1df71.0820d",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "b73daad5.796e88",
+ "id": "867f45b5.2aa548",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4221.8125,
- "y": 5940.812271118164,
- "z": "7108e868.a979d8",
+ "x": 4029.277862548828,
+ "y": 5857.750407218933,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6b1cdeed.a4366"
+ "48902170.44222"
]
]
},
{
- "id": "2ea51be.93ad1e4",
+ "id": "42884319.8bf8dc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3143.3125915527344,
- "y": 5945.81259727478,
- "z": "7108e868.a979d8",
+ "x": 2940.777862548828,
+ "y": 5902.75009059906,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c73356e6.02bb68",
- "39bf934c.b3043c"
+ "16890fa5.e64db",
+ "aec15b06.02fe68",
+ "e4ce6413.ed6fd8",
+ "8e49b3c8.74b25",
+ "ee5b9b09.ca97c8",
+ "176390ef.cbac9f",
+ "48796b63.39bec4",
+ "3087ba3a.ed4566",
+ "68990179.2bf66",
+ "89e3c3a4.70c62"
]
]
},
{
- "id": "c73356e6.02bb68",
+ "id": "16890fa5.e64db",
"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 + '/restapi.configDB.updategNBDU.templatefile'`\" />\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\"/>",
+ "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": 3606.3125,
- "y": 5953.8125,
- "z": "7108e868.a979d8",
+ "x": 3403.7777709960938,
+ "y": 5910.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a24fd2cf.8b1ec",
- "8419e3c3.46911"
+ "2d8902f3.e33f8e",
+ "7e64488b.4a4c58"
]
]
},
{
- "id": "a24fd2cf.8b1ec",
+ "id": "2d8902f3.e33f8e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3893.3125,
- "y": 5924.812744140625,
- "z": "7108e868.a979d8",
+ "x": 3690.7777709960938,
+ "y": 5881.750237464905,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "89e2bad2.ccb4f8"
+ "a2b007bf.eb5648"
]
]
},
{
- "id": "8419e3c3.46911",
+ "id": "7e64488b.4a4c58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3842.3125,
- "y": 6025.8125,
- "z": "7108e868.a979d8",
+ "x": 3691.0279846191406,
+ "y": 5920.250407218933,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "64bf915a.e00cf"
+ "31372a2.f90eed6"
]
]
},
{
- "id": "64bf915a.e00cf",
+ "id": "31372a2.f90eed6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3928.312484741211,
- "y": 6106.812561035156,
- "z": "7108e868.a979d8",
+ "x": 3864.5277976989746,
+ "y": 5941.250164985657,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a85db168.b368f"
+ "9c01d7e3.c1cee8"
]
]
},
{
- "id": "89e2bad2.ccb4f8",
+ "id": "a2b007bf.eb5648",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4085.3125,
- "y": 6040.8125,
- "z": "7108e868.a979d8",
+ "x": 3884.027862548828,
+ "y": 5904.000409126282,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "5e5df2c7.c7192c",
- "9592e6f2.09e4f8",
- "ef5706f3.674e08"
+ "2516ca3.9ce6f36",
+ "cf1f0edd.a9376",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "9592e6f2.09e4f8",
+ "id": "cf1f0edd.a9376",
"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": 4251.312301635742,
- "y": 6008.812488555908,
- "z": "7108e868.a979d8",
+ "x": 4087.5276832580566,
+ "y": 5907.000285461545,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "a85db168.b368f",
+ "id": "9c01d7e3.c1cee8",
"type": "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": 4092.3125,
- "y": 6112.8125,
- "z": "7108e868.a979d8",
+ "x": 4077.278045654297,
+ "y": 5978.500531196594,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "5e5df2c7.c7192c",
+ "id": "2516ca3.9ce6f36",
"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": 4256.3121337890625,
- "y": 6101.812561035156,
- "z": "7108e868.a979d8",
+ "x": 4102.527496337891,
+ "y": 5946.250164985657,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "fa7c7018.fe14d",
+ "id": "6de737e8.019fd8",
"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": 4294.312301635742,
- "y": 6152.812488555908,
- "z": "7108e868.a979d8",
+ "x": 4101.777557373047,
+ "y": 6207.250532150269,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "7184d1ab.d87de",
+ "id": "39b9f4ac.e5765c",
"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": 4299.31217956543,
- "y": 6247.812549591064,
- "z": "7108e868.a979d8",
+ "x": 4121.777683258057,
+ "y": 6248.500533103943,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "31dba375.14b29c",
+ "id": "351456c3.606afa",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4128.312545776367,
- "y": 6186.812488555908,
- "z": "7108e868.a979d8",
+ "x": 3912.028045654297,
+ "y": 6240.000166893005,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "7184d1ab.d87de",
- "fa7c7018.fe14d",
- "ef5706f3.674e08"
+ "39b9f4ac.e5765c",
+ "6de737e8.019fd8",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "ad921fdb.ed082",
+ "id": "190dc42c.27b26c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3925.312545776367,
- "y": 6189.812488555908,
- "z": "7108e868.a979d8",
+ "x": 3719.0279235839844,
+ "y": 6214.250044822693,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "31dba375.14b29c"
+ "351456c3.606afa"
]
]
},
{
- "id": "39bf934c.b3043c",
+ "id": "aec15b06.02fe68",
"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-CUCP.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\"/>",
+ "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": 3627.312545776367,
- "y": 6239.812488555908,
- "z": "7108e868.a979d8",
+ "x": 3424.777816772461,
+ "y": 6196.749981880188,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ad921fdb.ed082",
- "9dc33a14.4035f8"
+ "190dc42c.27b26c",
+ "ee3128b4.0da778"
]
]
},
{
- "id": "9dc33a14.4035f8",
+ "id": "ee3128b4.0da778",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3925.312545776367,
- "y": 6299.812244415283,
- "z": "7108e868.a979d8",
+ "x": 3722.777816772461,
+ "y": 6256.749737739563,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "3a10913d.9ec45e"
+ "57dc382f.00fb78"
]
]
},
{
- "id": "3a10913d.9ec45e",
+ "id": "57dc382f.00fb78",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4106.312545776367,
- "y": 6293.812488555908,
- "z": "7108e868.a979d8",
+ "x": 3905.0279846191406,
+ "y": 6300.750289916992,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "acec8e16.d2012"
+ "1f81d34d.b9bc8d"
]
]
},
{
- "id": "acec8e16.d2012",
+ "id": "1f81d34d.b9bc8d",
"type": "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": 4272.312545776367,
- "y": 6294.812488555908,
- "z": "7108e868.a979d8",
+ "x": 4069.778045654297,
+ "y": 6305.500045776367,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ef5706f3.674e08",
+ "id": "dd5a532a.31de7",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4765.296875,
- "y": 2845.8125026226044,
- "z": "7108e868.a979d8",
+ "x": 4562.762145996094,
+ "y": 2802.749995946884,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e14a6d46.023e1",
- "f540d7f6.c63608",
- "dcc8b791.a74578"
+ "4993a717.46f8a8",
+ "a189426a.e06f",
+ "407cd551.8c0b3c"
]
]
},
{
- "id": "e14a6d46.023e1",
+ "id": "4993a717.46f8a8",
"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": 5427.2978515625,
- "y": 2637.7121608257294,
- "z": "7108e868.a979d8",
+ "x": 5224.763122558594,
+ "y": 2594.649654150009,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "f540d7f6.c63608",
+ "id": "a189426a.e06f",
"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": 5402.296737670898,
- "y": 2734.8128383159637,
- "z": "7108e868.a979d8",
+ "x": 5199.762008666992,
+ "y": 2691.7503316402435,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "dcc8b791.a74578",
+ "id": "407cd551.8c0b3c",
"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='application/json' />\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\"/>",
"comments": "",
"outputs": 1,
- "x": 5317.29674911499,
- "y": 2831.8127162456512,
- "z": "7108e868.a979d8",
+ "x": 5114.762020111084,
+ "y": 2788.750209569931,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "aa777b08.53a7a8",
- "104728ce.e17727"
+ "5c35317c.25782",
+ "406c58b9.0af8e8"
]
]
},
{
- "id": "aa777b08.53a7a8",
+ "id": "5c35317c.25782",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5543.296757698059,
- "y": 2808.812685251236,
- "z": "7108e868.a979d8",
+ "x": 5340.762028694153,
+ "y": 2765.7501785755157,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f4582848.a8f468"
+ "e738ce4d.3ec9a"
]
]
},
{
- "id": "104728ce.e17727",
+ "id": "406c58b9.0af8e8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5533.296611785889,
- "y": 2916.812624692917,
- "z": "7108e868.a979d8",
+ "x": 5330.761882781982,
+ "y": 2873.7501180171967,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c051cef5.032e7"
+ "81c7f73b.bb5988"
]
]
},
{
- "id": "c051cef5.032e7",
+ "id": "81c7f73b.bb5988",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5683.296398162842,
- "y": 2935.812685728073,
- "z": "7108e868.a979d8",
+ "x": 5480.761669158936,
+ "y": 2892.750179052353,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "afe80856.a1d1c8"
+ "685257c1.dbd598"
]
]
},
{
- "id": "f4582848.a8f468",
+ "id": "e738ce4d.3ec9a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5694.296627044678,
- "y": 2803.8128073215485,
- "z": "7108e868.a979d8",
+ "x": 5491.7618980407715,
+ "y": 2760.7503006458282,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "7098be89.b1eb5"
+ "6fc8ce12.ffbf7"
]
]
},
{
- "id": "7098be89.b1eb5",
+ "id": "6fc8ce12.ffbf7",
"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": 5860.296306610107,
- "y": 2806.812624692917,
- "z": "7108e868.a979d8",
+ "x": 5657.761577606201,
+ "y": 2763.7501180171967,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "afe80856.a1d1c8",
+ "id": "685257c1.dbd598",
"type": "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": 5847.296413421631,
- "y": 2941.812624692917,
- "z": "7108e868.a979d8",
+ "x": 5644.761684417725,
+ "y": 2898.7501180171967,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "134f1599.6c4a8a",
+ "id": "1801c640.1eb6aa",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 847.296875,
- "y": 4527.812502622604,
- "z": "7108e868.a979d8",
+ "x": 644.7621459960938,
+ "y": 4484.749995946884,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "82904319.0efd1",
- "5831ff8f.1496e",
- "1d979743.441219",
- "fa9893c6.512cc"
+ "2c6206d.6de70fa",
+ "1ddffe68.aee752",
+ "2cffaaba.2b0726",
+ "d4ac5731.8f4448"
]
]
},
{
- "id": "1d979743.441219",
+ "id": "2cffaaba.2b0726",
"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": 1127.2980194091797,
- "y": 4377.711987257004,
- "z": "7108e868.a979d8",
+ "x": 924.7632904052734,
+ "y": 4334.649480581284,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "82904319.0efd1",
+ "id": "2c6206d.6de70fa",
"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": 1124.2968521118164,
- "y": 4531.812685728073,
- "z": "7108e868.a979d8",
+ "x": 921.7621231079102,
+ "y": 4488.750179052353,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "5831ff8f.1496e",
+ "id": "1ddffe68.aee752",
"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='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "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": 993.2969512939453,
- "y": 4648.812390089035,
- "z": "7108e868.a979d8",
+ "x": 790.7622222900391,
+ "y": 4605.749883413315,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a65f78fa.56f2d8",
- "c50ac077.03657"
+ "a55efb74.e8f6e8",
+ "48bc51e1.3154e"
]
]
},
{
- "id": "a65f78fa.56f2d8",
+ "id": "a55efb74.e8f6e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1158.2969512939453,
- "y": 4628.812389135361,
- "z": "7108e868.a979d8",
+ "x": 955.7622222900391,
+ "y": 4585.7498824596405,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a2576d09.489f3"
+ "d66ff12f.16632"
]
]
},
{
- "id": "c50ac077.03657",
+ "id": "48bc51e1.3154e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1150.2968444824219,
- "y": 4701.812339544296,
- "z": "7108e868.a979d8",
+ "x": 947.7621154785156,
+ "y": 4658.749832868576,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e328c501.176f58"
+ "9a5e9c9.84c586"
]
]
},
{
- "id": "e328c501.176f58",
+ "id": "9a5e9c9.84c586",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1296.296688079834,
- "y": 4706.812448263168,
- "z": "7108e868.a979d8",
+ "x": 1093.7619590759277,
+ "y": 4663.749941587448,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6c9548b2.9d00a8"
+ "229f34c3.38d9cc"
]
]
},
{
- "id": "a2576d09.489f3",
+ "id": "d66ff12f.16632",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1307.2968521118164,
- "y": 4624.812524557114,
- "z": "7108e868.a979d8",
+ "x": 1104.7621231079102,
+ "y": 4581.750017881393,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "97c6f5ad.db3368",
- "7528351d.82c32c"
+ "95dd5894.9881e8",
+ "6e82bdb4.1291d4"
]
]
},
{
- "id": "97c6f5ad.db3368",
+ "id": "95dd5894.9881e8",
"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": 1454.2964706420898,
- "y": 4635.812266111374,
- "z": "7108e868.a979d8",
+ "x": 1251.7617416381836,
+ "y": 4592.749759435654,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "6c9548b2.9d00a8",
+ "id": "229f34c3.38d9cc",
"type": "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": 1457.2966079711914,
- "y": 4712.812340497971,
- "z": "7108e868.a979d8",
+ "x": 1254.7618789672852,
+ "y": 4669.74983382225,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "7528351d.82c32c",
+ "id": "6e82bdb4.1291d4",
"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": 1441.8070793151855,
- "y": 4539.801757574081,
- "z": "7108e868.a979d8",
+ "x": 1239.2723503112793,
+ "y": 4496.739250898361,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "fa9893c6.512cc",
+ "id": "d4ac5731.8f4448",
"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": 1146.636474609375,
- "y": 4467.79783987999,
- "z": "7108e868.a979d8",
+ "x": 944.1017456054688,
+ "y": 4424.735333204269,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "2db4eb44.da6004",
+ "id": "7f6e77c.a8aac88",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2548.8125,
- "y": 1842.8125,
- "z": "7108e868.a979d8",
+ "x": 2346.2777709960938,
+ "y": 1799.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6181616d.f9638"
+ "d8f59417.85a648"
]
]
},
{
- "id": "6181616d.f9638",
+ "id": "d8f59417.85a648",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2741.802158355713,
- "y": 1842.8126220703125,
- "z": "7108e868.a979d8",
+ "x": 2539.2674293518066,
+ "y": 1799.7501153945923,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "368a72f6.49333e",
- "255bdee5.7c7202"
+ "d6105a5.b6d1ea8",
+ "222f51f0.5525ce"
]
]
},
{
- "id": "368a72f6.49333e",
+ "id": "d6105a5.b6d1ea8",
"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": 3048.802345275879,
- "y": 1809.81272315979,
- "z": "7108e868.a979d8",
+ "x": 2846.2676162719727,
+ "y": 1766.7502164840698,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "255bdee5.7c7202",
+ "id": "222f51f0.5525ce",
"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": 2992.802745819092,
- "y": 1862.8129167556763,
- "z": "7108e868.a979d8",
+ "x": 2790.2680168151855,
+ "y": 1819.750410079956,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "1be9da11.5515e6",
+ "id": "b5b52336.410c8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2976.3125,
- "y": 1226.8125,
- "z": "7108e868.a979d8",
+ "x": 2773.7777709960938,
+ "y": 1183.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "914f0a5c.a3eae8",
- "a4bc1334.77552"
+ "c34315fa.1db498",
+ "6d09e853.849f08"
]
]
},
{
- "id": "a4bc1334.77552",
+ "id": "6d09e853.849f08",
"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": 3227.312931060791,
- "y": 1249.81263256073,
- "z": "7108e868.a979d8",
+ "x": 3024.7782020568848,
+ "y": 1206.7501258850098,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "914f0a5c.a3eae8",
+ "id": "c34315fa.1db498",
"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": 3283.312530517578,
- "y": 1196.8124389648438,
- "z": "7108e868.a979d8",
+ "x": 3080.777801513672,
+ "y": 1153.7499322891235,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "c7e85be4.6ec848",
+ "id": "af2d8803.1f17e8",
"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": 3479.312641143799,
- "y": 2323.8125944137573,
- "z": "7108e868.a979d8",
+ "x": 3262.3337936401367,
+ "y": 2189.638879776001,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "9860039d.f6928",
+ "id": "5834fa69.5c6e14",
"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": 3535.312240600586,
- "y": 2270.812400817871,
- "z": "7108e868.a979d8",
+ "x": 3320.5557708740234,
+ "y": 2146.6389694213867,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "53ef7019.7a1f9",
+ "id": "2e20d9b3.457fa6",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3228.31205368042,
- "y": 2303.8122997283936,
- "z": "7108e868.a979d8",
+ "x": 3036.8885040283203,
+ "y": 2148.527316093445,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "9860039d.f6928",
- "c7e85be4.6ec848"
+ "5834fa69.5c6e14",
+ "af2d8803.1f17e8"
]
]
},
{
- "id": "4555531e.6f353c",
+ "id": "e3bb4f1.511c9b",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3035.322395324707,
- "y": 2303.812177658081,
- "z": "7108e868.a979d8",
+ "x": 2872.7879180908203,
+ "y": 2148.5279393196106,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "53ef7019.7a1f9"
+ "2e20d9b3.457fa6"
]
]
},
{
- "id": "40ea92ad.608b2c",
+ "id": "7e48e4bd.28eafc",
"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": 2515.8125,
- "y": 2879.8125,
- "z": "7108e868.a979d8",
+ "x": 2313.2777709960938,
+ "y": 2836.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "9ec13137.5f236",
+ "id": "b8c91b91.bc1ed8",
"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": 2571.812099456787,
- "y": 2826.8123064041138,
- "z": "7108e868.a979d8",
+ "x": 2369.277370452881,
+ "y": 2783.7497997283936,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "cec48822.0fc488",
+ "id": "3e7fc5f2.be339a",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2269.8121643066406,
- "y": 2866.8122453689575,
- "z": "7108e868.a979d8",
+ "x": 2050.6107215881348,
+ "y": 2779.305579185486,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "9ec13137.5f236",
- "40ea92ad.608b2c"
+ "b8c91b91.bc1ed8",
+ "7e48e4bd.28eafc"
]
]
},
{
- "id": "ea9d3f75.46bf6",
+ "id": "ec1ec2d5.64a1",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2295.8125,
- "y": 3223.8125,
- "z": "7108e868.a979d8",
+ "x": 2093.2777709960938,
+ "y": 3180.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "4c5f38d0.c0dbe8",
- "408475cd.4bbdbc"
+ "22c23be2.23e954",
+ "132387bc.eb1048"
]
]
},
{
- "id": "4c5f38d0.c0dbe8",
+ "id": "22c23be2.23e954",
"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": 2597.8124351501465,
- "y": 3183.8125610351562,
- "z": "7108e868.a979d8",
+ "x": 2395.2777061462402,
+ "y": 3140.750054359436,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "408475cd.4bbdbc",
+ "id": "132387bc.eb1048",
"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": 2541.8128356933594,
- "y": 3236.8127546310425,
- "z": "7108e868.a979d8",
+ "x": 2339.278106689453,
+ "y": 3193.7502479553223,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "84a6a111.772e4",
+ "id": "daec73d6.40c28",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2068.3125,
- "y": 3232.8125,
- "z": "7108e868.a979d8",
+ "x": 1865.7777709960938,
+ "y": 3189.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ea9d3f75.46bf6"
+ "ec1ec2d5.64a1"
]
]
},
{
- "id": "96bf52a5.a5094",
+ "id": "70e9bf72.db75d",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2605.3125,
- "y": 3678.8125,
- "z": "7108e868.a979d8",
+ "x": 2410.555721282959,
+ "y": 3613.5277214050293,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f833b9d4.5c52d8"
+ "8f68384b.4bdba8"
]
]
},
{
- "id": "f833b9d4.5c52d8",
+ "id": "8f68384b.4bdba8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2832.8125,
- "y": 3669.8125,
- "z": "7108e868.a979d8",
+ "x": 2625.8333778381348,
+ "y": 3591.1944494247437,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "56078e71.c09d6",
- "da40eae9.0ed398"
+ "7f8b4700.95f468",
+ "92b538c5.19ca88"
]
]
},
{
- "id": "56078e71.c09d6",
+ "id": "7f8b4700.95f468",
"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": 3134.8124351501465,
- "y": 3629.8125610351562,
- "z": "7108e868.a979d8",
+ "x": 2932.2777061462402,
+ "y": 3586.750054359436,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "da40eae9.0ed398",
+ "id": "92b538c5.19ca88",
"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": 3078.8128356933594,
- "y": 3682.8127546310425,
- "z": "7108e868.a979d8",
+ "x": 2876.278106689453,
+ "y": 3639.7502479553223,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "e66f84d4.6add28",
+ "id": "21313198.fd408e",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3718.3125,
- "y": 4661.8125,
- "z": "7108e868.a979d8",
+ "x": 3515.7777709960938,
+ "y": 4618.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "260b2835.22a518",
- "6e4be15c.f00f2"
+ "b8295417.a1dfa8",
+ "d6d6f49f.c6e468"
]
]
},
{
- "id": "260b2835.22a518",
+ "id": "b8295417.a1dfa8",
"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": 4025.312530517578,
- "y": 4631.812438964844,
- "z": "7108e868.a979d8",
+ "x": 3822.777801513672,
+ "y": 4588.7499322891235,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "6e4be15c.f00f2",
+ "id": "d6d6f49f.c6e468",
"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": 3969.312931060791,
- "y": 4684.81263256073,
- "z": "7108e868.a979d8",
+ "x": 3766.7782020568848,
+ "y": 4641.75012588501,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "5a933026.4d27b",
+ "id": "8c2e0cd.722b2f",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3615.0625,
- "y": 5284.8125,
- "z": "7108e868.a979d8",
+ "x": 3453.9564895629883,
+ "y": 5287.464415550232,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a8f05d38.a83c1"
+ "5c6cdb05.94d3d4"
]
]
},
{
- "id": "a8f05d38.a83c1",
+ "id": "5c6cdb05.94d3d4",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3782.062732696533,
- "y": 5283.0620975494385,
- "z": "7108e868.a979d8",
+ "x": 3585.2425689697266,
+ "y": 5314.285113334656,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "4c48557d.0a3a9c",
- "73416530.7efcdc"
+ "9b4abfa0.2e116",
+ "50af952f.c2746c"
]
]
},
{
- "id": "4c48557d.0a3a9c",
+ "id": "9b4abfa0.2e116",
"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": 4029.0625495910645,
- "y": 5250.0620975494385,
- "z": "7108e868.a979d8",
+ "x": 3826.527820587158,
+ "y": 5206.999590873718,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "73416530.7efcdc",
+ "id": "50af952f.c2746c",
"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": 3972.0630378723145,
- "y": 5311.062463760376,
- "z": "7108e868.a979d8",
+ "x": 3769.528308868408,
+ "y": 5267.999957084656,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "f56b6248.5a011",
+ "id": "f3ac1470.9f0a28",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4115.0625,
- "y": 5759.8125,
- "z": "7108e868.a979d8",
+ "x": 3888.2421875,
+ "y": 5633.893160820007,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "bbf06627.f3ed78"
+ "568823eb.c15dec"
]
]
},
{
- "id": "bbf06627.f3ed78",
+ "id": "568823eb.c15dec",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4282.062732696533,
- "y": 5758.0620975494385,
- "z": "7108e868.a979d8",
+ "x": 4046.671443939209,
+ "y": 5645.0000076293945,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "5f9cb422.af919c",
- "da32c67c.e299e8"
+ "808dce4b.d2c8d",
+ "81b47bd.3567288"
]
]
},
{
- "id": "5f9cb422.af919c",
+ "id": "808dce4b.d2c8d",
"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": 4529.062549591064,
- "y": 5725.0620975494385,
- "z": "7108e868.a979d8",
+ "x": 4296.527542114258,
+ "y": 5607.714659690857,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "da32c67c.e299e8",
+ "id": "81b47bd.3567288",
"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": 4472.063037872314,
- "y": 5786.062463760376,
- "z": "7108e868.a979d8",
+ "x": 4235.24259185791,
+ "y": 5657.285738945007,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "e20376cf.788968",
+ "id": "d966e0a4.06f35",
"type": "comment",
"name": "instantiateRANSlice-ModifyAllocate",
"info": "",
"comments": "",
- "x": 1096.5625,
- "y": 154.0625,
- "z": "7108e868.a979d8",
+ "x": 783.0277557373047,
+ "y": 69.99999618530273,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "ed3c9a78.956f38",
+ "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",
"wires": []
},
{
- "id": "f75f3c8b.be38f",
+ "id": "2fed7838.3e4478",
+ "type": "execute",
+ "name": "set sNSSAI",
+ "xml": "<set>\n<parameter name='tmp.sNSSAI' value='`$tmp.payload.sNSSAI`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 727.0277404785156,
+ "y": 214.0000057220459,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7cf6a0a.7602d8",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "1a62fde5.66d4f2",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "286ddbec.57d7c4",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "cb603df3.12a5a",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "51b41b66.216574",
+ "type": "block",
+ "name": "Get Cells List in TA",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 482.27777099609375,
+ "y": 872.0000157356262,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "faf6dcc0.4a777",
+ "d2bb3cf4.20a25",
+ "3b9e8228.6b4d7e"
+ ]
+ ]
+ },
+ {
+ "id": "faf6dcc0.4a777",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d2bb3cf4.20a25",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3b9e8228.6b4d7e",
+ "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",
+ "wires": [
+ [
+ "822850d6.990ce",
+ "b3f26a14.d5d5c8"
+ ]
+ ]
+ },
+ {
+ "id": "822850d6.990ce",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1074.2776184082031,
+ "y": 927.0001354217529,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "a262f43a.5283d8"
+ ]
+ ]
+ },
+ {
+ "id": "b3f26a14.d5d5c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1068.2775421142578,
+ "y": 973.0001220703125,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "be9b511e.c44ae"
+ ]
+ ]
+ },
+ {
+ "id": "be9b511e.c44ae",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1218.2772674560547,
+ "y": 974.0001683235168,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "73fca4fd.b7362c",
+ "e98da22b.3aff5",
+ "8fe33e85.79785"
+ ]
+ ]
+ },
+ {
+ "id": "73fca4fd.b7362c",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8fe33e85.79785",
+ "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",
+ "wires": [
+ [
+ "2d309897.8f3dc8",
+ "93a840ae.96884"
+ ]
+ ]
+ },
+ {
+ "id": "e98da22b.3aff5",
"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 '`\" />",
+ "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": 2322.4656295776367,
- "y": 885.909752368927,
- "z": "7108e868.a979d8",
+ "x": 1387.055648803711,
+ "y": 972.0001373291016,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ab9b5a5f.7edca8",
+ "id": "2d309897.8f3dc8",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "93a840ae.96884",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a262f43a.5283d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1235.2774963378906,
+ "y": 897.0000600814819,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "796502a3.c2f65c",
+ "8a99cf77.1c2c8"
+ ]
+ ]
+ },
+ {
+ "id": "8a99cf77.1c2c8",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "796502a3.c2f65c",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "3fcfd799.26f778",
"type": "for",
- "name": "foreach PLMNInfo",
- "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
+ "name": "foreach TACell",
+ "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2337.0490646362305,
- "y": 949.6597952842712,
- "z": "7108e868.a979d8",
+ "x": 2084.361152648926,
+ "y": 951.3612060546875,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "327234de.3a864c"
+ "fe79e9a1.bd9268"
]
]
},
{
- "id": "327234de.3a864c",
+ "id": "3adedaf9.ad7a56",
+ "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",
+ "wires": [
+ [
+ "14792223.bbe25e"
+ ]
+ ]
+ },
+ {
+ "id": "14792223.bbe25e",
+ "type": "outcome",
+ "name": "Applicable",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2274.2777709960938,
+ "y": 959.4999933242798,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "882e7a80.d74e58"
+ ]
+ ]
+ },
+ {
+ "id": "fe79e9a1.bd9268",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2514.9380416870117,
- "y": 872.437584400177,
- "z": "7108e868.a979d8",
+ "x": 2126.2777709960938,
+ "y": 786.4999933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "1a9da553.0446fb",
- "ed323aec.b19e28",
- "81e0ba30.914fd8"
+ "3adedaf9.ad7a56",
+ "4f62074b.7611d8",
+ "bdd0d419.d8f3f8"
]
]
},
{
- "id": "1a9da553.0446fb",
+ "id": "4f62074b.7611d8",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bdd0d419.d8f3f8",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c282a260.9d8de",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "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": 2720.827003479004,
- "y": 895.6597666740417,
- "z": "7108e868.a979d8",
+ "x": 2607.472267150879,
+ "y": 2319.6111402511597,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ed323aec.b19e28",
- "type": "switchNode",
- "name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "id": "b3c3cf99.6f492",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8f54fffc.9c001",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "148d5e51.205352",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8f418c29.a17f4",
+ "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 ",
+ "comments": "",
+ "x": 1985.0001029968262,
+ "y": 2250.4444789886475,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "ca3912f.d1798f",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "29ac3d55.731702",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ecf0eb94.11b9d8",
+ "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": 2759.7158432006836,
- "y": 960.2153334617615,
- "z": "7108e868.a979d8",
+ "x": 761.4652709960938,
+ "y": 393.1874933242798,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "83908c36.67ca7",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af70e055.a55d3",
+ "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",
"wires": [
[
- "7dcede1.de3672"
+ "16b504ec.cfbb6b",
+ "787f632a.4559bc"
]
]
},
{
- "id": "7dcede1.de3672",
- "type": "outcome",
- "name": "True",
- "xml": "<outcome value='true'>\n",
+ "id": "1b3d2270.9f737e",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6c2905b1.5d124c",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3abeea9c.1b2eb6",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ade269f7.3d78c8",
+ "type": "block",
+ "name": "get PLMNId",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 496.4652786254883,
+ "y": 503.1874990463257,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "ecf0eb94.11b9d8",
+ "83908c36.67ca7",
+ "af70e055.a55d3",
+ "6c2905b1.5d124c",
+ "3abeea9c.1b2eb6",
+ "1b3d2270.9f737e",
+ "cea464b4.22b448"
+ ]
+ ]
+ },
+ {
+ "id": "cea464b4.22b448",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "16b504ec.cfbb6b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1040.2152709960938,
+ "y": 484.4374933242798,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "29352de3.1f0e32"
+ ]
+ ]
+ },
+ {
+ "id": "29352de3.1f0e32",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2949.1880416870117,
- "y": 960.437662601471,
- "z": "7108e868.a979d8",
+ "x": 1213.215072631836,
+ "y": 473.43756580352783,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d5711de.7d20ee"
+ "3bc43a09.4c5556",
+ "d5e7d38e.57b25"
]
]
},
{
- "id": "81e0ba30.914fd8",
+ "id": "3bc43a09.4c5556",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d5e7d38e.57b25",
"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'`\" />",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "295dcd8f.d34882",
+ "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`'/>",
+ "comments": "",
+ "x": 2020.8404083251953,
+ "y": 2510.0625562667847,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "e67c1235.a668b",
+ "type": "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`\"/>",
"comments": "",
"outputs": 1,
- "x": 2849.8268966674805,
- "y": 827.6598153114319,
- "z": "7108e868.a979d8",
+ "x": 1986.0902366638184,
+ "y": 2561.0345702171326,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "9075c0f5.a64f5",
+ "id": "4639f97.7feb608",
"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 '`\" />",
+ "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": 2445.3125,
- "y": 4357.8125,
- "z": "7108e868.a979d8",
+ "x": 2069.249984741211,
+ "y": 2369.0556211471558,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "db078c99.82cd6",
- "type": "for",
- "name": "foreach PLMNInfo",
- "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+ "id": "30531c3.32959e4",
+ "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",
+ "wires": [
+ [
+ "41528a78.b36974",
+ "d30b0dd8.157b5"
+ ]
+ ]
+ },
+ {
+ "id": "79add8fe.1d3c58",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "41528a78.b36974",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2375.3610229492188,
+ "y": 2524.055413246155,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "8c18dc3c.f60c2"
+ ]
+ ]
+ },
+ {
+ "id": "d30b0dd8.157b5",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2379.47208404541,
+ "y": 2569.2777161598206,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "ac147d54.4bfb7"
+ ]
+ ]
+ },
+ {
+ "id": "8c18dc3c.f60c2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2527.3613147735596,
+ "y": 2522.055393218994,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "c1d90c31.c6d7f",
+ "5505e414.d72ebc"
+ ]
+ ]
+ },
+ {
+ "id": "5505e414.d72ebc",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "c1d90c31.c6d7f",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "71c39fca.ccb7c",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "742be788.ee2cd8",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ac147d54.4bfb7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2534.0276794433594,
+ "y": 2572.944191932678,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "71c39fca.ccb7c",
+ "742be788.ee2cd8"
+ ]
+ ]
+ },
+ {
+ "id": "5b1ca906.eba328",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "69ec533e.600d9c",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "14b3dc4d.71ca44",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "d4cbbf53.53515",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "a36cc0c6.861ae",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2ff98ab1.8da426",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "46dc7d95.4c06c4",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "323b9ab7.0a7686",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "91bdd1cb.225b5",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4c95d3de.dafcac",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "304737db.ae6f58",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "74f76f8.3409a9",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e0eae9af.e47b18",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aaab029a.73315",
+ "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 ",
+ "comments": "",
+ "x": 1918.3751029968262,
+ "y": 3787.9444789886475,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "197ebca7.656673",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0d818c6.4b2608",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "27aaafdc.f134",
+ "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": 2423.6458740234375,
- "y": 4427.8125,
- "z": "7108e868.a979d8",
+ "x": 1936.8887100219727,
+ "y": 3982.562382698059,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "28f0e3bf.db6d3c",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7153e6fc.a20688",
+ "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",
"wires": [
[
- "790d6865.84f598"
+ "5d347054.f7c5a",
+ "f89ac2d4.50c37"
]
]
},
{
- "id": "790d6865.84f598",
+ "id": "3d2034c9.c91a4c",
+ "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`'/>",
+ "comments": "",
+ "x": 1922.9238739013672,
+ "y": 4103.291432380676,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "4a3e020d.51ae0c",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5d347054.f7c5a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2286.8889656066895,
+ "y": 4008.8122987747192,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "2173ce6d.d1fb72"
+ ]
+ ]
+ },
+ {
+ "id": "2173ce6d.d1fb72",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2609.0346603393555,
- "y": 4421.8402099609375,
- "z": "7108e868.a979d8",
+ "x": 2435.1391830444336,
+ "y": 4016.812481880188,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "31b6396b.687da6",
- "d7e5ca37.7359c8",
- "fdf60abf.fb88a8"
+ "47c101.94aa2f",
+ "a17e37ba.d1f118"
]
]
},
{
- "id": "fdf60abf.fb88a8",
+ "id": "a17e37ba.d1f118",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "47c101.94aa2f",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "ce6218de.e91bd8",
"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'`\" />",
+ "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": 2975.173667907715,
- "y": 4307.062685012817,
- "z": "7108e868.a979d8",
+ "x": 2704.4999923706055,
+ "y": 4103.145795822144,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "31b6396b.687da6",
+ "id": "d0f0843d.d984f8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "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": 2844.923667907715,
- "y": 4375.062562942505,
- "z": "7108e868.a979d8",
+ "x": 2646.277858734131,
+ "y": 4069.3127870559692,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "d7e5ca37.7359c8",
+ "id": "424ea0ba.7617a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2450.5554428100586,
+ "y": 4097.701459884644,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "d0f0843d.d984f8",
+ "ce6218de.e91bd8"
+ ]
+ ]
+ },
+ {
+ "id": "f89ac2d4.50c37",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2280.444580078125,
+ "y": 4080.284736633301,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "424ea0ba.7617a"
+ ]
+ ]
+ },
+ {
+ "id": "2e61752a.3c32aa",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2057.027587890625,
+ "y": 4452.9441385269165,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "2cd3b5f5.23ff3a"
+ ]
+ ]
+ },
+ {
+ "id": "2cd3b5f5.23ff3a",
+ "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",
+ "wires": [
+ [
+ "c05eb786.188d58"
+ ]
+ ]
+ },
+ {
+ "id": "c05eb786.188d58",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2443.8053283691406,
+ "y": 4454.694352149963,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "91f4eff5.01fd4",
+ "c929fc4b.7fe69",
+ "a294df58.248b4"
+ ]
+ ]
+ },
+ {
+ "id": "c929fc4b.7fe69",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a294df58.248b4",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "91f4eff5.01fd4",
"type": "switchNode",
- "name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+ "name": "is cellCU applicable for NSSAI",
+ "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
"comments": "",
"outputs": 1,
- "x": 2840.06258392334,
- "y": 4448.3682289123535,
- "z": "7108e868.a979d8",
+ "x": 2688.583137512207,
+ "y": 4365.805629566312,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "46572f40.c306d"
+ "375d9009.4414e"
]
]
},
{
- "id": "46572f40.c306d",
+ "id": "375d9009.4414e",
"type": "outcome",
- "name": "True",
+ "name": "Applicable",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3009.5347213745117,
- "y": 4474.840398788452,
- "z": "7108e868.a979d8",
+ "x": 2926.2499084472656,
+ "y": 4369.916241645813,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "8ca9297e.0bb688"
+ ]
+ ]
+ },
+ {
+ "id": "517677f0.6d4018",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9f04c1f2.bf256",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "16cb87b2.5be1d8",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "52ba99b7.987b88",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4ff78ad7.0a8bd4",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8d0864dd.8c8528",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "63a19143.589a9",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8e869cc0.cfb58",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e4ce6413.ed6fd8",
+ "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 ",
+ "comments": "",
+ "x": 3322.4027709960938,
+ "y": 5816.56249332428,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "8e49b3c8.74b25",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ee5b9b09.ca97c8",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "176390ef.cbac9f",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "48796b63.39bec4",
+ "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",
+ "wires": [
+ [
+ "82eba9bc.600fa8",
+ "e4549693.a57628"
+ ]
+ ]
+ },
+ {
+ "id": "82eba9bc.600fa8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3696.0138092041016,
+ "y": 6105.937285423279,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "4230df12.02c06"
+ ]
+ ]
+ },
+ {
+ "id": "4230df12.02c06",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3848.0141010284424,
+ "y": 6103.937265396118,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "4d5d2a4c.3e1c64",
+ "2aa87dd5.bc2d82"
+ ]
+ ]
+ },
+ {
+ "id": "2aa87dd5.bc2d82",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "4d5d2a4c.3e1c64",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "ccd58b56.7508b8",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "644df9cc.25e248",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c9dddcc2.c2163",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3854.680465698242,
+ "y": 6154.826064109802,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "ccd58b56.7508b8",
+ "644df9cc.25e248"
+ ]
+ ]
+ },
+ {
+ "id": "e4549693.a57628",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3700.124870300293,
+ "y": 6151.159588336945,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "c9dddcc2.c2163"
+ ]
+ ]
+ },
+ {
+ "id": "3087ba3a.ed4566",
+ "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`'/>",
+ "comments": "",
+ "x": 3341.493194580078,
+ "y": 6091.944428443909,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "68990179.2bf66",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "89e3c3a4.70c62",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0d24863.8121f8",
+ "type": "block",
+ "name": "get coverageAreaTAList",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 496.27777099609375,
+ "y": 700.7499809265137,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "892d9ba0.af4bf8",
+ "f123c975.195038",
+ "19b64655.2401aa",
+ "70150931.91cfa8",
+ "c28b4d37.26d9",
+ "b4a6eeb6.15b65",
+ "e507ae6f.0ca78"
+ ]
+ ]
+ },
+ {
+ "id": "892d9ba0.af4bf8",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c28b4d37.26d9",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f123c975.195038",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "19b64655.2401aa",
+ "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": 782.7777709960938,
+ "y": 763.4999942779541,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "70150931.91cfa8",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "efd6d90c.fb6e68",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "7a9d2dcb.42c724",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "963cd407.589818",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1199.7778778076172,
+ "y": 511.9999189376831,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "efd6d90c.fb6e68",
+ "7a9d2dcb.42c724"
+ ]
+ ]
+ },
+ {
+ "id": "787f632a.4559bc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1038.7780151367188,
+ "y": 533.9999923706055,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "963cd407.589818"
+ ]
+ ]
+ },
+ {
+ "id": "b4a6eeb6.15b65",
+ "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",
+ "wires": [
+ [
+ "66ca8354.c0068c",
+ "e508608e.0352f"
+ ]
+ ]
+ },
+ {
+ "id": "66ca8354.c0068c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1058.5278015136719,
+ "y": 673.2500448226929,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "5dfce11f.c3cec"
+ ]
+ ]
+ },
+ {
+ "id": "5dfce11f.c3cec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1226.5275421142578,
+ "y": 665.2502279281616,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "8de7df6e.15597",
+ "3f2fbfdf.2aa34"
+ ]
+ ]
+ },
+ {
+ "id": "8de7df6e.15597",
+ "type": "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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1398.2772979736328,
+ "y": 666.0001964569092,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3f2fbfdf.2aa34",
+ "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": 1426.0554809570312,
+ "y": 707.2501668930054,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34fcf10d.3494ae",
+ "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": 1394.0907592773438,
+ "y": 747.9235363006592,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "f822f9e7.eb42a8",
+ "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": 1340.0904235839844,
+ "y": 792.8125143051147,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "5bdee52e.a5383c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1217.0903778076172,
+ "y": 719.8124837875366,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "f822f9e7.eb42a8",
+ "34fcf10d.3494ae"
+ ]
+ ]
+ },
+ {
+ "id": "e508608e.0352f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1068.0905456542969,
+ "y": 718.8125286102295,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "2e0cb657.fa72aa"
+ "5bdee52e.a5383c"
]
]
},
{
- "id": "2d9b1779.25da68",
+ "id": "ea194ca9.b5136",
+ "type": "execute",
+ "name": "set globalCustomerId",
+ "xml": "<set>\n<parameter name='tmp.payload.globalCustomerId' value='`$payloadJson.input.globalCustomerId`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 721.2777786254883,
+ "y": 127.7499930858612,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "38665c6f.b68994",
+ "type": "execute",
+ "name": "set serviceType",
+ "xml": "<set>\n<parameter name='tmp.serviceType' value='`$payloadJson.input.serviceType`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 726.2777709960938,
+ "y": 165.7499942779541,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e507ae6f.0ca78",
+ "type": "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": 782.2777709960938,
+ "y": 929.4999942779541,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7d0cab41.5d62e4",
+ "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",
+ "wires": [
+ [
+ "8dfc5bef.c5fd18",
+ "f2e75191.d32ee"
+ ]
+ ]
+ },
+ {
+ "id": "759313f.9d96dec",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8dfc5bef.c5fd18",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1114.528429031372,
+ "y": 4165.250351905823,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "bf86086a.86c988"
+ ]
+ ]
+ },
+ {
+ "id": "bf86086a.86c988",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1254.5287475585938,
+ "y": 4173.25022983551,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "7e19d8f9.fe3008",
+ "bd21f51e.fa5d18"
+ ]
+ ]
+ },
+ {
+ "id": "bd21f51e.fa5d18",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "7e19d8f9.fe3008",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "4fdaf51a.7597fc",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "75deb288.c5307c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2230.3125610351562,
- "y": 4495.312624931335,
- "z": "7108e868.a979d8",
+ "x": 1276.5281715393066,
+ "y": 4244.250234603882,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "9075c0f5.a64f5",
- "db078c99.82cd6"
+ "4fdaf51a.7597fc",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "f0e433f3.dc406",
- "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\" />",
+ "id": "f2e75191.d32ee",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1118.5283813476562,
+ "y": 4245.2499895095825,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "75deb288.c5307c"
+ ]
+ ]
+ },
+ {
+ "id": "b2bbe86b.51d5b8",
+ "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": 495.83331298828125,
- "y": 1529.1666259765625,
- "z": "7108e868.a979d8",
+ "x": 838.5277709960938,
+ "y": 4080.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": []
+ },
+ {
+ "id": "d815d930.ba6bb8",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bbd1f9a3.442938",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2cf8049f.4b337c",
+ "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",
+ "wires": [
+ []
+ ]
}
] \ 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 b912888a..9219cce7 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": "e99c530d.42d09",
+ "id": "5308c2c7.98350c",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceReconfigure' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 471,
- "y": 122,
- "z": "344d9ac9.ce6d06",
+ "x": 561.9443969726562,
+ "y": 231.6666965484619,
+ "z": "a4132826.623598",
"wires": [
[
- "7f912f74.435ac"
+ "8c2d7a68.272f18"
]
]
},
{
- "id": "240143f4.7dc87c",
+ "id": "1e35add3.3e43a2",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 94.99999618530273,
- "y": 26.999972343444824,
- "z": "344d9ac9.ce6d06",
+ "x": 185.94439315795898,
+ "y": 136.66666889190674,
+ "z": "a4132826.623598",
"wires": [
[
- "81bf4298.c2aa"
+ "c4fcfd13.be6c3"
]
]
},
{
- "id": "81bf4298.c2aa",
+ "id": "c4fcfd13.be6c3",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,1792 +38,2072 @@
"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": 227.99996948242188,
- "y": 124.00005340576172,
- "z": "344d9ac9.ce6d06",
+ "x": 318.9443664550781,
+ "y": 233.66674995422363,
+ "z": "a4132826.623598",
"wires": [
[
- "e99c530d.42d09"
+ "5308c2c7.98350c"
]
]
},
{
- "id": "f0380eab.1c826",
+ "id": "54c1cf1c.bd234",
"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": 156.4896240234375,
- "y": 1065.0002908706665,
- "z": "344d9ac9.ce6d06",
+ "x": 247.43402099609375,
+ "y": 1174.6669874191284,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "adb1efb8.bf84f",
+ "id": "eb3544f6.254898",
"type": "comment",
"name": "instantiateRANSliceReconfigure",
"info": "",
"comments": "",
- "x": 440,
- "y": 64.01037216186523,
- "z": "344d9ac9.ce6d06",
+ "x": 530.9443969726562,
+ "y": 173.67706871032715,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "7f912f74.435ac",
+ "id": "8c2d7a68.272f18",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 105.99996948242188,
- "y": 244.0103759765625,
- "z": "344d9ac9.ce6d06",
+ "x": 196.94436645507812,
+ "y": 353.6770725250244,
+ "z": "a4132826.623598",
"wires": [
[
- "f0380eab.1c826",
- "793118e4.594688",
- "a665b1dd.7c4a8"
+ "54c1cf1c.bd234",
+ "c2abc765.421ae8",
+ "a0d1b936.212298",
+ "d43ab3b7.dd413"
]
]
},
{
- "id": "e695acbf.24771",
+ "id": "d4657d67.267b3",
"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": 3986.989906311035,
- "y": 7549.020859479904,
- "z": "344d9ac9.ce6d06",
+ "x": 4077.9343032836914,
+ "y": 7658.687556028366,
+ "z": "a4132826.623598",
"wires": [
[
- "a7ed7c1f.a934d"
+ "4089eb9.7d62b14"
]
]
},
{
- "id": "a7ed7c1f.a934d",
+ "id": "4089eb9.7d62b14",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4323.989784240723,
- "y": 7575.010361433029,
- "z": "344d9ac9.ce6d06",
+ "x": 4414.934181213379,
+ "y": 7684.677057981491,
+ "z": "a4132826.623598",
"wires": [
[
- "58cfa379.7632cc"
+ "f8a7a2.295fe86"
]
]
},
{
- "id": "58cfa379.7632cc",
+ "id": "f8a7a2.295fe86",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4503.989540100098,
- "y": 7572.010361433029,
- "z": "344d9ac9.ce6d06",
+ "x": 4594.933937072754,
+ "y": 7681.677057981491,
+ "z": "a4132826.623598",
"wires": [
[
- "9afe4ed.325c8b"
+ "f1aae18.c61032"
]
]
},
{
- "id": "9afe4ed.325c8b",
+ "id": "f1aae18.c61032",
"type": "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": 4652.989841461182,
- "y": 7598.010554075241,
- "z": "344d9ac9.ce6d06",
+ "x": 4743.934238433838,
+ "y": 7707.677250623703,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "61d67eb.92f6a8",
+ "id": "d43ab3b7.dd413",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 77,
- "y": 1379.0146417617798,
- "z": "344d9ac9.ce6d06",
+ "x": 276.69439697265625,
+ "y": 1124.9313163757324,
+ "z": "a4132826.623598",
"wires": [
[
- "ac64d48b.e2b788",
- "4f35f61a.8f5fd8"
+ "a44cfa3.bf3a708",
+ "b4fdb0c.13b025",
+ "869a42e7.ad168",
+ "f189ead7.d54db8"
]
]
},
{
- "id": "efbe49ba.580908",
- "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\n\npayloadJson.input.callbackURL\n\n<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": "",
- "x": 357.0011444091797,
- "y": 1228.9141263961792,
- "z": "344d9ac9.ce6d06",
- "wires": []
- },
- {
- "id": "ac64d48b.e2b788",
+ "id": "a44cfa3.bf3a708",
"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": 353.9999771118164,
- "y": 1383.0148248672485,
- "z": "344d9ac9.ce6d06",
+ "x": 444.94437408447266,
+ "y": 1492.6815214157104,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "4f35f61a.8f5fd8",
- "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='application/json' />\n<parameter name='customHttpHeaders' value=\"`'Authorization=Basic ' + $prop.restapi.so.authorization `\" />",
- "comments": "",
- "outputs": 1,
- "x": 223.0000762939453,
- "y": 1500.0145292282104,
- "z": "344d9ac9.ce6d06",
- "wires": [
- [
- "5f5b2378.b5857c",
- "f6ad53cd.906fc"
- ]
- ]
- },
- {
- "id": "5f5b2378.b5857c",
+ "id": "863c82b0.fee6b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 388.0000762939453,
- "y": 1480.0145282745361,
- "z": "344d9ac9.ce6d06",
+ "x": 478.94447326660156,
+ "y": 1589.681224822998,
+ "z": "a4132826.623598",
"wires": [
[
- "a2e177e6.fbe018"
+ "8dff7c51.8074c"
]
]
},
{
- "id": "f6ad53cd.906fc",
+ "id": "c7b37697.cf47b8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 379.9999694824219,
- "y": 1553.0144786834717,
- "z": "344d9ac9.ce6d06",
+ "x": 470.9443664550781,
+ "y": 1662.6811752319336,
+ "z": "a4132826.623598",
"wires": [
[
- "a7036c1e.438d6"
+ "62cb6247.26a1bc"
]
]
},
{
- "id": "a7036c1e.438d6",
+ "id": "62cb6247.26a1bc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 525.999813079834,
- "y": 1558.0145874023438,
- "z": "344d9ac9.ce6d06",
+ "x": 616.9442100524902,
+ "y": 1667.6812839508057,
+ "z": "a4132826.623598",
"wires": [
[
- "6edb045c.0db0ec"
+ "63c5cf27.850e5"
]
]
},
{
- "id": "a2e177e6.fbe018",
+ "id": "8dff7c51.8074c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 536.9999771118164,
- "y": 1476.014663696289,
- "z": "344d9ac9.ce6d06",
+ "x": 627.9443740844727,
+ "y": 1585.681360244751,
+ "z": "a4132826.623598",
"wires": [
[
- "e18417c8.ea99b8",
- "297ee472.ebd60c"
+ "7d4ea125.78427",
+ "814141f.22dd5c"
]
]
},
{
- "id": "e18417c8.ea99b8",
+ "id": "7d4ea125.78427",
"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": 683.9995956420898,
- "y": 1487.0144052505493,
- "z": "344d9ac9.ce6d06",
+ "x": 774.9439926147461,
+ "y": 1596.6811017990112,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "6edb045c.0db0ec",
+ "id": "63c5cf27.850e5",
"type": "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 \"/>",
+ "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": 686.9997329711914,
- "y": 1564.014479637146,
- "z": "344d9ac9.ce6d06",
+ "x": 777.9441299438477,
+ "y": 1673.681176185608,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "a647b652.8b7d28",
+ "id": "e78d6df2.248be",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2918.4910202026367,
- "y": 669.0105400085449,
- "z": "344d9ac9.ce6d06",
+ "x": 3009.435417175293,
+ "y": 778.6772365570068,
+ "z": "a4132826.623598",
"wires": [
[
- "892f9c83.dd663",
- "e8bbb78f.be59d8",
- "69f75211.5c9c7c"
+ "4dccd993.baa5d8",
+ "315b9b37.039924",
+ "8fff961f.91e078"
]
]
},
{
- "id": "892f9c83.dd663",
+ "id": "4dccd993.baa5d8",
"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": 3236.4919967651367,
- "y": 592.9101982116699,
- "z": "344d9ac9.ce6d06",
+ "x": 3327.436393737793,
+ "y": 702.5768947601318,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "e8bbb78f.be59d8",
+ "id": "315b9b37.039924",
"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": 3211.490882873535,
- "y": 690.0108757019043,
- "z": "344d9ac9.ce6d06",
+ "x": 3302.4352798461914,
+ "y": 799.6775722503662,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "69f75211.5c9c7c",
+ "id": "8fff961f.91e078",
"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' />",
+ "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": 3126.490894317627,
- "y": 787.0107536315918,
- "z": "344d9ac9.ce6d06",
+ "x": 3217.435291290283,
+ "y": 896.6774501800537,
+ "z": "a4132826.623598",
"wires": [
[
- "ca7f4496.9d4418",
- "a43a44c0.cbbba8"
+ "7e1c2bf9.164ef4",
+ "3ca3479b.4461d8"
]
]
},
{
- "id": "ca7f4496.9d4418",
+ "id": "7e1c2bf9.164ef4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3352.490902900696,
- "y": 764.0107226371765,
- "z": "344d9ac9.ce6d06",
+ "x": 3443.435299873352,
+ "y": 873.6774191856384,
+ "z": "a4132826.623598",
"wires": [
[
- "d6b47163.162ab"
+ "9c99489.850dbb8"
]
]
},
{
- "id": "a43a44c0.cbbba8",
+ "id": "3ca3479b.4461d8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3342.4907569885254,
- "y": 872.0106620788574,
- "z": "344d9ac9.ce6d06",
+ "x": 3433.4351539611816,
+ "y": 981.6773586273193,
+ "z": "a4132826.623598",
"wires": [
[
- "c3f869e7.8e5358"
+ "712d9e67.b479"
]
]
},
{
- "id": "c3f869e7.8e5358",
+ "id": "712d9e67.b479",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3492.4905433654785,
- "y": 891.0107231140137,
- "z": "344d9ac9.ce6d06",
+ "x": 3583.4349403381348,
+ "y": 1000.6774196624756,
+ "z": "a4132826.623598",
"wires": [
[
- "ed00e595.6aa8b8"
+ "fd17f41d.93ec88"
]
]
},
{
- "id": "d6b47163.162ab",
+ "id": "9c99489.850dbb8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3503.4907722473145,
- "y": 759.010844707489,
- "z": "344d9ac9.ce6d06",
+ "x": 3594.4351692199707,
+ "y": 868.6775412559509,
+ "z": "a4132826.623598",
"wires": [
[
- "f11f53c8.b5646"
+ "fa169b05.eb4498"
]
]
},
{
- "id": "f11f53c8.b5646",
+ "id": "fa169b05.eb4498",
"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": 3669.490451812744,
- "y": 762.0106620788574,
- "z": "344d9ac9.ce6d06",
+ "x": 3760.4348487854004,
+ "y": 871.6773586273193,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "ed00e595.6aa8b8",
+ "id": "fd17f41d.93ec88",
"type": "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 \"/>",
+ "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": 3656.4905586242676,
- "y": 897.0106620788574,
- "z": "344d9ac9.ce6d06",
+ "x": 3747.434955596924,
+ "y": 1006.6773586273193,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "297ee472.ebd60c",
+ "id": "814141f.22dd5c",
"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": 671.5102043151855,
- "y": 1391.0038967132568,
- "z": "344d9ac9.ce6d06",
+ "x": 762.4546012878418,
+ "y": 1500.6705932617188,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "3c3ebb26.8e55f4",
+ "id": "869a42e7.ad168",
"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": 376.339599609375,
- "y": 1318.999979019165,
- "z": "344d9ac9.ce6d06",
+ "x": 467.28399658203125,
+ "y": 1428.666675567627,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "d013a0ad.59f5a",
+ "id": "f6b3def0.84eaf",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 663.0002326965332,
- "y": 182.00006008148193,
- "z": "344d9ac9.ce6d06",
+ "x": 753.9446296691895,
+ "y": 291.66675662994385,
+ "z": "a4132826.623598",
"wires": [
[
- "b84e0bf1.d42c68"
+ "600b130a.e6aa6c"
]
]
},
{
- "id": "793118e4.594688",
+ "id": "c2abc765.421ae8",
"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": 423.0000991821289,
- "y": 460.0000252723694,
- "z": "344d9ac9.ce6d06",
+ "x": 513.9444961547852,
+ "y": 569.6667218208313,
+ "z": "a4132826.623598",
"wires": [
[
- "d013a0ad.59f5a",
- "c49980db.b23eb"
+ "f6b3def0.84eaf",
+ "b652bd04.df2a9"
]
]
},
{
- "id": "c49980db.b23eb",
+ "id": "b652bd04.df2a9",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 462.5066261291504,
- "y": 627.0001888275146,
- "z": "344d9ac9.ce6d06",
+ "x": 378.4510498046875,
+ "y": 711.666919708252,
+ "z": "a4132826.623598",
"wires": [
[
- "2115b41e.70357c"
+ "10e9abdc.f3b004"
]
]
},
{
- "id": "84119673.ee8fb8",
+ "id": "537a864f.b41268",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 689.0003509521484,
- "y": 617.0000991821289,
- "z": "344d9ac9.ce6d06",
+ "x": 545.9447784423828,
+ "y": 1073.6669187545776,
+ "z": "a4132826.623598",
"wires": [
[
- "b38f45cb.4f45f8"
+ "9ee08b5b.832ee8"
]
]
},
{
- "id": "b84e0bf1.d42c68",
+ "id": "600b130a.e6aa6c",
"type": "block",
"name": "Closed Loop",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 725.0002288818359,
- "y": 43.00003004074097,
- "z": "344d9ac9.ce6d06",
+ "x": 815.9446258544922,
+ "y": 152.66672658920288,
+ "z": "a4132826.623598",
"wires": [
[
- "9cec5043.bb069",
- "47d004f2.966b1c"
+ "b53f7876.b70068",
+ "95070b76.1c0098"
]
]
},
{
- "id": "b38f45cb.4f45f8",
+ "id": "9ee08b5b.832ee8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 859.0001754760742,
- "y": 652.0002250671387,
- "z": "344d9ac9.ce6d06",
+ "x": 712.9446868896484,
+ "y": 1072.666904449463,
+ "z": "a4132826.623598",
"wires": [
[
- "2a6d0d2f.ff0242",
- "cab9c657.d281f8"
+ "8f0e2656.224048",
+ "f6b65386.cb3fc",
+ "186dbba8.f40024",
+ "d1e08c64.f9b07"
]
]
},
{
- "id": "2115b41e.70357c",
+ "id": "10e9abdc.f3b004",
"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": 672.0004501342773,
- "y": 523.0002015829086,
- "z": "344d9ac9.ce6d06",
+ "x": 371.9448547363281,
+ "y": 1071.6669654846191,
+ "z": "a4132826.623598",
"wires": [
[
- "84119673.ee8fb8"
+ "537a864f.b41268"
]
]
},
{
- "id": "9cec5043.bb069",
+ "id": "b53f7876.b70068",
"type": "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": 931.0000152587891,
- "y": 28.000025749206543,
- "z": "344d9ac9.ce6d06",
+ "x": 1021.9444122314453,
+ "y": 137.66672229766846,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "2a6d0d2f.ff0242",
+ "id": "8f0e2656.224048",
"type": "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": 1022.0003967285156,
- "y": 555.000096321106,
- "z": "344d9ac9.ce6d06",
+ "x": 869.9447937011719,
+ "y": 1043.6669483184814,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "a665b1dd.7c4a8",
+ "id": "a0d1b936.212298",
"type": "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": 496,
- "y": 195,
- "z": "344d9ac9.ce6d06",
+ "x": 586.9443969726562,
+ "y": 304.6666965484619,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "47d004f2.966b1c",
+ "id": "95070b76.1c0098",
"type": "block",
"name": "NearRTRIC",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 829.0105514526367,
- "y": 157.01043796539307,
- "z": "344d9ac9.ce6d06",
+ "x": 919.954948425293,
+ "y": 266.677134513855,
+ "z": "a4132826.623598",
"wires": [
[
- "1e8c37a3.3ea5f8",
- "ecdd6e7a.a3b07"
+ "cfbc1f43.5c09a",
+ "9ae16990.24b758"
]
]
},
{
- "id": "cab9c657.d281f8",
+ "id": "f6b65386.cb3fc",
"type": "block",
"name": "CUCP",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 989.0106010437012,
- "y": 726.0105075836182,
- "z": "344d9ac9.ce6d06",
+ "x": 846.955192565918,
+ "y": 1187.6772193908691,
+ "z": "a4132826.623598",
"wires": [
[
- "c6a19347.2b6d3",
- "bda32c0c.157bc"
+ "db0afa2f.d8a5d8",
+ "714d1164.e315b"
]
]
},
{
- "id": "80dca757.3d7888",
+ "id": "709ede26.eecf8",
"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": 1396.899549484253,
- "y": 527.0104651451111,
- "z": "344d9ac9.ce6d06",
+ "x": 1490.8439712524414,
+ "y": 449.6771602630615,
+ "z": "a4132826.623598",
"wires": [
[
- "d056d9a6.210e98",
- "d681f50c.40c518"
+ "37a47363.e1d71c",
+ "db0bbf38.87581"
]
]
},
{
- "id": "d056d9a6.210e98",
+ "id": "37a47363.e1d71c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1731.899917602539,
- "y": 467.999960899353,
- "z": "344d9ac9.ce6d06",
+ "x": 1776.8443069458008,
+ "y": 390.66669273376465,
+ "z": "a4132826.623598",
"wires": [
[
- "ce92bd90.bc92"
+ "5da00f62.c1caa"
]
]
},
{
- "id": "d681f50c.40c518",
+ "id": "db0bbf38.87581",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1713.89986038208,
- "y": 588.999906539917,
- "z": "344d9ac9.ce6d06",
+ "x": 1769.8443717956543,
+ "y": 450.6666011810303,
+ "z": "a4132826.623598",
"wires": [
[
- "b59b4b5b.5a84a8"
+ "bb94707a.c3725"
]
]
},
{
- "id": "ce92bd90.bc92",
+ "id": "5da00f62.c1caa",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1895.8998413085938,
- "y": 474.9999952316284,
- "z": "344d9ac9.ce6d06",
+ "x": 1959.8444023132324,
+ "y": 433.6667003631592,
+ "z": "a4132826.623598",
"wires": [
[
- "cb12ec10.32ff9",
- "140f08cf.2b7e77"
+ "78e5f08b.43c2d",
+ "c53690e.569fd7",
+ "e78d6df2.248be"
]
]
},
{
- "id": "b59b4b5b.5a84a8",
+ "id": "bb94707a.c3725",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1874.8995971679688,
- "y": 594.9999809265137,
- "z": "344d9ac9.ce6d06",
+ "x": 1951.844036102295,
+ "y": 479.6666622161865,
+ "z": "a4132826.623598",
"wires": [
[
- "754fb755.2f2878",
- "1b33caf5.cb57d5"
+ "18d514d9.ae98eb",
+ "d4beff80.9c512"
]
]
},
{
- "id": "51db6fd3.d0466",
+ "id": "7acabf3a.829b6",
"type": "block",
"name": "Update SiceProfile for NeaeRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 997.0000915527344,
- "y": 324.7447757720947,
- "z": "344d9ac9.ce6d06",
+ "x": 1087.9444885253906,
+ "y": 434.41147232055664,
+ "z": "a4132826.623598",
"wires": [
[
- "c10c5964.2dfde8",
- "b5b4dd99.1cbff",
- "bcb86f4a.40d8f",
- "80dca757.3d7888"
+ "850543de.8fe82",
+ "982ee349.15cdd",
+ "bce2f4fb.bbd318",
+ "709ede26.eecf8"
]
]
},
{
- "id": "bcb86f4a.40d8f",
+ "id": "bce2f4fb.bbd318",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1349.000394821167,
- "y": 215.4010200202465,
- "z": "344d9ac9.ce6d06",
+ "x": 1439.9447917938232,
+ "y": 325.0677165687084,
+ "z": "a4132826.623598",
"wires": [
[
- "bc92e2a4.26966",
- "c54f398b.061978"
+ "ce59e011.1537f",
+ "f221e301.437b2"
]
]
},
{
- "id": "bc92e2a4.26966",
+ "id": "ce59e011.1537f",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1512.0003185272217,
- "y": 147.40080973505974,
- "z": "344d9ac9.ce6d06",
+ "x": 1602.944715499878,
+ "y": 257.06750628352165,
+ "z": "a4132826.623598",
"wires": [
[
- "473d47d7.f7ecf8"
+ "f4c8a31d.8b0e8"
]
]
},
{
- "id": "c54f398b.061978",
+ "id": "f221e301.437b2",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1530.0003471374512,
- "y": 296.40090176463127,
- "z": "344d9ac9.ce6d06",
+ "x": 1614.9448356628418,
+ "y": 334.0676097869873,
+ "z": "a4132826.623598",
"wires": [
[
- "54202b85.fe4264"
+ "66aabfa5.98ccb"
]
]
},
{
- "id": "b5b4dd99.1cbff",
+ "id": "982ee349.15cdd",
"type": "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": 1340.0006141662598,
- "y": 327.74496269226074,
- "z": "344d9ac9.ce6d06",
+ "x": 1416.9450492858887,
+ "y": 360.4116805754602,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "c10c5964.2dfde8",
+ "id": "850543de.8fe82",
"type": "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": 1353.0012130737305,
- "y": 402.73432540893555,
- "z": "344d9ac9.ce6d06",
+ "x": 1417.9456901550293,
+ "y": 405.4010372161865,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "eaa52f3c.507e2",
+ "id": "3c7063e.d58929c",
"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": 1976.5353240966797,
- "y": 368.0000309944153,
- "z": "344d9ac9.ce6d06",
+ "x": 2031.4797134399414,
+ "y": 384.6667308807373,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "7c2c7eaf.8e0db",
+ "id": "b7125863.e9ab68",
"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": 2034.0698852539062,
- "y": 303.5990204811096,
- "z": "344d9ac9.ce6d06",
+ "x": 2102.0143280029297,
+ "y": 340.2657527923584,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "54202b85.fe4264",
+ "id": "66aabfa5.98ccb",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1739.9899673461914,
- "y": 342.40089532732964,
- "z": "344d9ac9.ce6d06",
+ "x": 1797.9344902038574,
+ "y": 340.06759452819824,
+ "z": "a4132826.623598",
"wires": [
[
- "b692647.bf65c98",
- "7c2c7eaf.8e0db",
- "eaa52f3c.507e2"
+ "52dd7d07.790684",
+ "b7125863.e9ab68",
+ "3c7063e.d58929c"
]
]
},
{
- "id": "b692647.bf65c98",
+ "id": "52dd7d07.790684",
"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": 2005.5348358154297,
- "y": 238.00023317337036,
- "z": "344d9ac9.ce6d06",
+ "x": 2093.4791717529297,
+ "y": 295.6669411659241,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "aa9909eb.f5be08",
+ "id": "d3815dd0.19892",
"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": 1961.5350341796875,
- "y": 160.00012588500977,
- "z": "344d9ac9.ce6d06",
+ "x": 2064.479537963867,
+ "y": 240.66683387756348,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "63b8d50.91a8d2c",
+ "id": "a9f62851.aa99d8",
"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": 1969.0003662109375,
- "y": 81.4011402130127,
- "z": "344d9ac9.ce6d06",
+ "x": 2059.9447631835938,
+ "y": 191.0678367614746,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "473d47d7.f7ecf8",
+ "id": "f4c8a31d.8b0e8",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1671.2018432617188,
- "y": 154.00000473856926,
- "z": "344d9ac9.ce6d06",
+ "x": 1762.146240234375,
+ "y": 263.6667012870312,
+ "z": "a4132826.623598",
"wires": [
[
- "63b8d50.91a8d2c",
- "aa9909eb.f5be08"
+ "a9f62851.aa99d8",
+ "d3815dd0.19892"
]
]
},
{
- "id": "ecdd6e7a.a3b07",
+ "id": "9ae16990.24b758",
"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`\"/>",
+ "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": 993.0039825439453,
- "y": 101.00392055511475,
- "z": "344d9ac9.ce6d06",
+ "x": 1083.9483795166016,
+ "y": 210.67061710357666,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "1e8c37a3.3ea5f8",
+ "id": "cfbc1f43.5c09a",
"type": "for",
"name": "For Number of patches",
"xml": "<for index='id1' start='0' end=\"`$tmp.payload.numberUpdates`\" >",
"comments": "",
"outputs": 1,
- "x": 974.0039215087891,
- "y": 224.00392055511475,
- "z": "344d9ac9.ce6d06",
+ "x": 1064.9483184814453,
+ "y": 333.67061710357666,
+ "z": "a4132826.623598",
"wires": [
[
- "51db6fd3.d0466",
- "afa56697.aa28c8"
+ "7acabf3a.829b6",
+ "f207a54e.c3ea88",
+ "7782fbac.8910b4",
+ "714d1164.e315b"
]
]
},
{
- "id": "afa56697.aa28c8",
+ "id": "f207a54e.c3ea88",
"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": 1172.4549827575684,
- "y": 145.01043224334717,
- "z": "344d9ac9.ce6d06",
+ "x": 1263.3993797302246,
+ "y": 254.67712879180908,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "cb12ec10.32ff9",
+ "id": "78e5f08b.43c2d",
"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": 2118.4548110961914,
- "y": 442.0104169845581,
- "z": "344d9ac9.ce6d06",
+ "x": 2145.39933013916,
+ "y": 434.67712211608887,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "140f08cf.2b7e77",
+ "id": "c53690e.569fd7",
"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": 2070.4547538757324,
- "y": 514.8993988037109,
- "z": "344d9ac9.ce6d06",
+ "x": 2155.3991165161133,
+ "y": 473.56610679626465,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "754fb755.2f2878",
+ "id": "18d514d9.ae98eb",
"type": "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": 2048.4545936584473,
- "y": 581.8993873596191,
- "z": "344d9ac9.ce6d06",
+ "x": 2143.399028778076,
+ "y": 510.5660762786865,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "1b33caf5.cb57d5",
+ "id": "d4beff80.9c512",
"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": 2016.2330627441406,
- "y": 676.8993625640869,
- "z": "344d9ac9.ce6d06",
+ "x": 2162.1774368286133,
+ "y": 546.5661144256592,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "c6a19347.2b6d3",
+ "id": "186dbba8.f40024",
"type": "set",
"name": "set Temp Variables",
- "xml": "<set>\n<parameter name='tmp.payload.dataPoints' value='`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data_length`'/>\n<parameter name=\"tmp.sNssai\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.snssai`\"/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
+ "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": 1186.1217880249023,
- "y": 634.8993759155273,
- "z": "344d9ac9.ce6d06",
+ "x": 904.0664215087891,
+ "y": 1084.5662250518799,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "bda32c0c.157bc",
+ "id": "db0afa2f.d8a5d8",
"type": "for",
"name": "For Number of data Points",
- "xml": "<for index='id1' start='0' end=\"`$tmp.payload.dataPoints`\" >",
+ "xml": "<for index='id-is' start='0' end=\"`$tmp.payload.dataPoints`\" >",
"comments": "",
"outputs": 1,
- "x": 1166.1216125488281,
- "y": 821.8993816375732,
- "z": "344d9ac9.ce6d06",
+ "x": 1079.0659866333008,
+ "y": 1177.5661506652832,
+ "z": "a4132826.623598",
"wires": [
[
- "a730d7b8.bd79d8"
+ "997d5a8f.bd5138"
]
]
},
{
- "id": "a730d7b8.bd79d8",
+ "id": "714d1164.e315b",
"type": "block",
- "name": "Update cellCUList",
+ "name": "get PLMNId",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1379.010368347168,
- "y": 731.7882504463196,
- "z": "344d9ac9.ce6d06",
+ "x": 1052.6943969726562,
+ "y": 600.416669845581,
+ "z": "a4132826.623598",
"wires": [
[
- "690582e7.c3e2dc",
- "8a6e7489.2c1f28"
+ "8c3c684d.6b7008",
+ "6adac12f.ecb27",
+ "ec2e9015.a465a",
+ "f14d513c.ba7bc",
+ "ddd5395f.7eb198",
+ "514838fc.4f4588",
+ "8336120c.00cad"
]
]
},
{
- "id": "690582e7.c3e2dc",
- "type": "set",
- "name": "set Temp Variables",
- "xml": "<set>\n<parameter name=\"tmp.cellCUListNumbers\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList_length`\"/>\n<parameter name=\"tmp.gNBCUName\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].gNBCUName`\"/>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].nearRTRICId`\"/>",
+ "id": "8c3c684d.6b7008",
+ "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": "",
- "x": 1619.0103778839111,
- "y": 691.8992624282837,
- "z": "344d9ac9.ce6d06",
- "wires": []
+ "outputs": 1,
+ "x": 1317.6943893432617,
+ "y": 490.41666412353516,
+ "z": "a4132826.623598",
+ "wires": [
+ []
+ ]
},
{
- "id": "8a6e7489.2c1f28",
- "type": "for",
- "name": "For Number of cellCU",
- "xml": "<for index='id2' start='0' end=\"`$tmp.cellCUListNumbers`\" >",
+ "id": "6adac12f.ecb27",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ec2e9015.a465a",
+ "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": 1502.010368347168,
- "y": 891.6770648956299,
- "z": "344d9ac9.ce6d06",
+ "x": 1358.9443893432617,
+ "y": 576.416651725769,
+ "z": "a4132826.623598",
"wires": [
[
- "3e0405bb.a1007a",
- "a94a1460.e7b2e8",
- "f633b1d.30efa5",
- "3a74dc74.de09e4",
- "2124685a.f8bb68",
- "e67ca02.2bda56"
+ "f8debae8.8f1b68",
+ "419dc3d0.d48c9c"
]
]
},
{
- "id": "3e0405bb.a1007a",
+ "id": "8336120c.00cad",
"type": "set",
- "name": "set Temp Variables",
- "xml": "<set>\n<parameter name=\"tmp.maxNumberofConns\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].configData.maxNumberofConns`\"/>\n<parameter name=\"tmp.cellLocalId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].cellLocalId`\"/>\n<parameter name=\"tmp.lastUpdatedTS\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].configData.lastUpdatedTS`\"/>\n<parameter name=\"tmp.predictedMaxNumberofConns\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].configData.predictedMaxNumberofConns`\"/>",
+ "name": "set PLMNId",
+ "xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/>",
"comments": "",
- "x": 1799.010383605957,
- "y": 771.5659694671631,
- "z": "344d9ac9.ce6d06",
+ "x": 1316.1319198608398,
+ "y": 617.1042184829712,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "3e852d16.9f8702",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
+ "id": "f14d513c.ba7bc",
+ "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": 1933.010498046875,
- "y": 848.1215209960938,
- "z": "344d9ac9.ce6d06",
+ "x": 1299.9443893432617,
+ "y": 656.6667845249176,
+ "z": "a4132826.623598",
"wires": [
- [
- "14769b6f.f718a5"
- ]
+ []
]
},
{
- "id": "88dfb111.34543",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
+ "id": "ddd5395f.7eb198",
+ "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": 1977.010404586792,
- "y": 997.1216130256653,
- "z": "344d9ac9.ce6d06",
+ "x": 1303.694465637207,
+ "y": 693.9166173934937,
+ "z": "a4132826.623598",
"wires": [
- [
- "783ca4a.8861e5c"
- ]
+ []
]
},
{
- "id": "92756c48.cce11",
- "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.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "id": "514838fc.4f4588",
+ "type": "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": 2412.5454711914062,
- "y": 1032.7207975387573,
- "z": "344d9ac9.ce6d06",
+ "x": 1304.4379425048828,
+ "y": 735.9101409912109,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "b1314557.85f9a8",
- "type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUName`\"/>",
+ "id": "f8debae8.8f1b68",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2466.0800857543945,
- "y": 987.3196907043457,
- "z": "344d9ac9.ce6d06",
+ "x": 1596.4443893432617,
+ "y": 581.6666641235352,
+ "z": "a4132826.623598",
"wires": [
- []
+ [
+ "7c0f178b.1c54e8"
+ ]
]
},
{
- "id": "783ca4a.8861e5c",
+ "id": "419dc3d0.d48c9c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1595.0071334838867,
+ "y": 631.2291631698608,
+ "z": "a4132826.623598",
+ "wires": [
+ [
+ "49e6c73.14af838"
+ ]
+ ]
+ },
+ {
+ "id": "7c0f178b.1c54e8",
"type": "block",
- "name": "ransim URL",
+ "name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2134.0001373291016,
- "y": 1075.1216344833374,
- "z": "344d9ac9.ce6d06",
+ "x": 1769.444190979004,
+ "y": 570.6667366027832,
+ "z": "a4132826.623598",
"wires": [
[
- "243b1b25.ef63a4",
- "b1314557.85f9a8",
- "92756c48.cce11",
- "39c77d44.983da2",
- "b5902975.064ca8"
+ "3919f283.d8506e",
+ "7c4be284.1c798c"
]
]
},
{
- "id": "243b1b25.ef63a4",
- "type": "execute",
- "name": "generate addnSSAIEntry.ToNRCellCU 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.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "id": "49e6c73.14af838",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2452.5448932647705,
- "y": 938.7209444344044,
- "z": "344d9ac9.ce6d06",
+ "x": 1756.0069961547852,
+ "y": 609.2290897369385,
+ "z": "a4132826.623598",
"wires": [
- []
+ [
+ "78b85648.bb2458",
+ "20ea74cc.4fa27c",
+ "e78d6df2.248be"
+ ]
]
},
{
- "id": "2e87b01b.50599",
- "type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUName`\"/>",
+ "id": "3919f283.d8506e",
+ "type": "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": 2383.5452575683594,
- "y": 678.7208423614502,
- "z": "344d9ac9.ce6d06",
+ "x": 1970.193920135498,
+ "y": 570.4167613983154,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "8d74bd10.02b2",
+ "id": "7c4be284.1c798c",
"type": "execute",
- "name": "generate restapi.addnSSAIEntry.ToNRCellCU URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "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": 2415.010513305664,
- "y": 619.1218271255493,
- "z": "344d9ac9.ce6d06",
+ "x": 2005.9721336364746,
+ "y": 613.6667699813843,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "14769b6f.f718a5",
+ "id": "20ea74cc.4fa27c",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "78b85648.bb2458",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "7782fbac.8910b4",
"type": "block",
- "name": "URL",
- "xml": "<block atomic='true'>",
+ "name": "Update NearRTRIC Config",
+ "xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2047.2119903564453,
- "y": 765.7206954956055,
- "z": "344d9ac9.ce6d06",
+ "x": 813.4443969726562,
+ "y": 797.166669845581,
+ "z": "a4132826.623598",
"wires": [
[
- "8d74bd10.02b2",
- "2e87b01b.50599",
- "c0dac4fc.0b4fb8",
- "267c9e1e.20d442"
+ "56cbc2f3.98600c",
+ "b0f2567.bbb75a8",
+ "cb02fedf.54fae",
+ "898f3f4d.3a21c",
+ "9125173f.757b88"
]
]
},
{
- "id": "a94a1460.e7b2e8",
+ "id": "56cbc2f3.98600c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1760.010498046875,
- "y": 894.1217041015625,
- "z": "344d9ac9.ce6d06",
+ "x": 1052.194435119629,
+ "y": 717.6667079925537,
+ "z": "a4132826.623598",
+ "wires": [
+ [
+ "18a7b674.c4977a",
+ "ee798340.3d286"
+ ]
+ ]
+ },
+ {
+ "id": "18a7b674.c4977a",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1273.194320678711,
+ "y": 774.6664595603943,
+ "z": "a4132826.623598",
+ "wires": [
+ [
+ "b188c1e4.390b4"
+ ]
+ ]
+ },
+ {
+ "id": "ee798340.3d286",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1267.1944007873535,
+ "y": 811.6665983200073,
+ "z": "a4132826.623598",
+ "wires": [
+ [
+ "ae0428b2.06c978"
+ ]
+ ]
+ },
+ {
+ "id": "ae0428b2.06c978",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1444.184238433838,
+ "y": 822.6665840148926,
+ "z": "a4132826.623598",
+ "wires": [
+ [
+ "17ee6d36.c93db3",
+ "af82770a.456508"
+ ]
+ ]
+ },
+ {
+ "id": "b188c1e4.390b4",
+ "type": "block",
+ "name": "URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1432.395845413208,
+ "y": 781.2656545639038,
+ "z": "a4132826.623598",
"wires": [
[
- "3e852d16.9f8702",
- "88dfb111.34543"
+ "3c967c46.f89f74"
]
]
},
{
- "id": "c0dac4fc.0b4fb8",
+ "id": "3c967c46.f89f74",
"type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
+ "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": 2387.343765258789,
- "y": 726.1215343475342,
- "z": "344d9ac9.ce6d06",
+ "x": 1714.1943817138672,
+ "y": 771.6667957305908,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "267c9e1e.20d442",
+ "id": "17ee6d36.c93db3",
"type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNssai`\"/>",
+ "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": 2355.232666015625,
- "y": 814.1215209960938,
- "z": "344d9ac9.ce6d06",
+ "x": 1763.7287769317627,
+ "y": 813.2658944427967,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "39c77d44.983da2",
+ "id": "af82770a.456508",
"type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
+ "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": 2459.7884216308594,
- "y": 1083.1216249465942,
- "z": "344d9ac9.ce6d06",
+ "x": 1706.7292938232422,
+ "y": 858.2656574249268,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "b5902975.064ca8",
+ "id": "b0f2567.bbb75a8",
"type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNssai`\"/>",
+ "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": 2421.677490234375,
- "y": 1171.1217041015625,
- "z": "344d9ac9.ce6d06",
+ "x": 1048.4444770812988,
+ "y": 760.1667685508728,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "f633b1d.30efa5",
- "type": "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=\"Update NRCELLCU config url for Intelligent slicing:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>",
+ "id": "cb02fedf.54fae",
+ "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": 1778.788330078125,
- "y": 961.1215209960938,
- "z": "344d9ac9.ce6d06",
+ "x": 1049.944450378418,
+ "y": 800.1667079925537,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "3a74dc74.de09e4",
+ "id": "8a295a94.bf98d8",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e3530f45.0dc46",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ccbdff4b.c27e3",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "898f3f4d.3a21c",
"type": "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=\"Setting variables for updating NRCELLCU - Intelligent Slicing\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBCUName`\"/>\n<parameter name=\"field5\" value=\"`$tmp.sNssai`\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberofConns`\"/>\n<parameter name=\"field7\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field8\" value=\"`$tmp.lastUpdatedTS`\"/>\n<parameter name=\"field9\" value=\"`$tmp.predictedMaxNumberofConns`\"/>",
+ "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": 1780.7890625,
- "y": 1031.11083984375,
- "z": "344d9ac9.ce6d06",
+ "x": 1001.6943855285645,
+ "y": 960.416675567627,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "a9ba4b39.b1b358",
- "type": "execute",
- "name": "Update addnSSAIEntry.ToNRCellCU PUT",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-intelligent-update-NRCellCU-configData.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.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=\"nrcellcu-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+ "id": "288b2cdc.4b1194",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1785.343994140625,
- "y": 1735.6773681640625,
- "z": "344d9ac9.ce6d06",
+ "x": 1289.1944465637207,
+ "y": 1008.9167308807373,
+ "z": "a4132826.623598",
"wires": [
[
- "b2fe7e42.ae43",
- "d9eba3b7.c70f7"
+ "654b1e51.ddfcb"
]
]
},
{
- "id": "b2fe7e42.ae43",
+ "id": "6561b789.668768",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2105.34375,
- "y": 1677.6666259765625,
- "z": "344d9ac9.ce6d06",
+ "x": 1287.7571907043457,
+ "y": 1058.479229927063,
+ "z": "a4132826.623598",
+ "wires": [
+ [
+ "2eb2806.801878"
+ ]
+ ]
+ },
+ {
+ "id": "654b1e51.ddfcb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1458.1941986083984,
+ "y": 1002.9167547225952,
+ "z": "a4132826.623598",
"wires": [
[
- "3db65c4e.a71314"
+ "b5b5a3a4.7596a"
]
]
},
{
- "id": "3db65c4e.a71314",
+ "id": "2eb2806.801878",
"type": "block",
"name": "block",
- "xml": "<block>\n",
+ "xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2270.34375,
- "y": 1739.666748046875,
- "z": "344d9ac9.ce6d06",
+ "x": 1448.7570533752441,
+ "y": 1036.4791564941406,
+ "z": "a4132826.623598",
"wires": [
[
- "3f8d8362.4c3ffc"
+ "1fe50b77.077eb5",
+ "11434b4d.29f385",
+ "e78d6df2.248be"
]
]
},
{
- "id": "3f8d8362.4c3ffc",
+ "id": "b5b5a3a4.7596a",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "11434b4d.29f385",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "1fe50b77.077eb5",
"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 config for intelligent slicing\" />",
+ "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": 2429.34326171875,
- "y": 1775.666748046875,
- "z": "344d9ac9.ce6d06",
+ "x": 1635.7571182250977,
+ "y": 1032.4791746139526,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "d9eba3b7.c70f7",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "9125173f.757b88",
+ "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": 2153.34375,
- "y": 1874.6666259765625,
- "z": "344d9ac9.ce6d06",
+ "x": 1056.6944465637207,
+ "y": 1007.6667184829712,
+ "z": "a4132826.623598",
"wires": [
[
- "fdefc837.1547f8"
+ "288b2cdc.4b1194",
+ "6561b789.668768"
]
]
},
{
- "id": "fdefc837.1547f8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "id": "b4fdb0c.13b025",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "f189ead7.d54db8",
+ "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": 2335.34326171875,
- "y": 1873.6666259765625,
- "z": "344d9ac9.ce6d06",
+ "x": 315.13189697265625,
+ "y": 1621.041669845581,
+ "z": "a4132826.623598",
"wires": [
[
- "f1c749ab.9498d8"
+ "863c82b0.fee6b",
+ "c7b37697.cf47b8"
]
]
},
{
- "id": "f1c749ab.9498d8",
- "type": "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=\"Update NRCellCU config for intelligent slicing Executed Successfully \"/>",
+ "id": "8cc27aec.7baa58",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2507.343994140625,
- "y": 1866.6669921875,
- "z": "344d9ac9.ce6d06",
+ "x": 1692.6944618225098,
+ "y": 1127.6667041778564,
+ "z": "a4132826.623598",
"wires": [
- []
+ [
+ "3796b847.90c588"
+ ]
+ ]
+ },
+ {
+ "id": "f5dc1311.399f4",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1686.6945419311523,
+ "y": 1164.6668429374695,
+ "z": "a4132826.623598",
+ "wires": [
+ [
+ "e12e8f30.80866"
+ ]
]
},
{
- "id": "2124685a.f8bb68",
+ "id": "e12e8f30.80866",
"type": "block",
- "name": "Get PLMN from ConfigDB",
+ "name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1794.34375,
- "y": 1336.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 1863.6843795776367,
+ "y": 1175.6668286323547,
+ "z": "a4132826.623598",
"wires": [
[
- "6351f968.020fd8",
- "b57697ee.50d948",
- "ba3adbb.fdac628"
+ "3c2d36c.67ca5ca",
+ "4501a78f.008508"
]
]
},
{
- "id": "6351f968.020fd8",
- "type": "execute",
- "name": "generate getPLMN 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.getplmn.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sliceProfileId`\"/>",
+ "id": "3796b847.90c588",
+ "type": "block",
+ "name": "URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2125.34375,
- "y": 1272.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 1851.8959865570068,
+ "y": 1134.265899181366,
+ "z": "a4132826.623598",
"wires": [
- []
+ [
+ "81e1f6af.317318"
+ ]
]
},
{
- "id": "b57697ee.50d948",
- "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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB Get PLMN for slice profile ID\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getplmn.url`\" />\n<parameter name='field3' value=\"`$tmp.sliceProfileId`\" />",
+ "id": "81e1f6af.317318",
+ "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": 2156.3438720703125,
- "y": 1355.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 2133.694522857666,
+ "y": 1124.667040348053,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "ba3adbb.fdac628",
+ "id": "3c2d36c.67ca5ca",
"type": "execute",
- "name": "Get PLMN for slice profile id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getplmn.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=\"false\"/>",
+ "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": 2117.343994140625,
- "y": 1454.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 2183.2289180755615,
+ "y": 1166.2661390602589,
+ "z": "a4132826.623598",
"wires": [
- [
- "af83d022.fde66",
- "b4e62021.d738e"
- ]
+ []
]
},
{
- "id": "af83d022.fde66",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "id": "4501a78f.008508",
+ "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": 2330.34375,
- "y": 1407.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 2126.229434967041,
+ "y": 1211.265902042389,
+ "z": "a4132826.623598",
"wires": [
- [
- "5dbe43e.76575bc"
- ]
+ []
]
},
{
- "id": "b4e62021.d738e",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "ad6e03d7.ad3a8",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2323.34375,
- "y": 1540.3436279296875,
- "z": "344d9ac9.ce6d06",
+ "x": 1502.6945266723633,
+ "y": 1120.6667022705078,
+ "z": "a4132826.623598",
"wires": [
[
- "f39a7342.cbf17"
+ "8cc27aec.7baa58",
+ "f5dc1311.399f4"
]
]
},
{
- "id": "5dbe43e.76575bc",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
+ "id": "ce7dd64c.558e38",
+ "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": 2533.343822479248,
- "y": 1408.3438110351562,
- "z": "344d9ac9.ce6d06",
+ "x": 1497.6944618225098,
+ "y": 1192.6667041778564,
+ "z": "a4132826.623598",
"wires": [
- [
- "a3feeedb.12f7f",
- "cb7e16f4.bb96c8",
- "b6a7b1aa.7e6bd"
- ]
+ []
]
},
{
- "id": "cb7e16f4.bb96c8",
- "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": 2647.343521118164,
- "y": 1333.4548511505127,
- "z": "344d9ac9.ce6d06",
- "wires": []
- },
- {
- "id": "a3feeedb.12f7f",
- "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": 2548.3434562683105,
- "y": 1494.3437762260437,
- "z": "344d9ac9.ce6d06",
- "wires": []
- },
- {
- "id": "f13b7133.863f7",
- "type": "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=\"Successfully Obtained PLMN from configDB\"/>\n<parameter name=\"field2\" value=\"`$getplmn-configdb-response.httpResponse`\"/>",
+ "id": "10ab84e8.6015fb",
+ "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": 2610.34326171875,
- "y": 1536.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 1499.194435119629,
+ "y": 1232.6666436195374,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "f39a7342.cbf17",
+ "id": "997d5a8f.bd5138",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1303.6944198608398,
+ "y": 1171.666735649109,
+ "z": "a4132826.623598",
+ "wires": [
+ [
+ "ad6e03d7.ad3a8",
+ "ce7dd64c.558e38",
+ "10ab84e8.6015fb",
+ "13921f35.757901",
+ "fc0ddc3e.f21",
+ "ee4d9f87.53648",
+ "689fb519.ee1dac"
+ ]
+ ]
+ },
+ {
+ "id": "13921f35.757901",
+ "type": "for",
+ "name": "For Number of cells",
+ "xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
"comments": "",
"outputs": 1,
- "x": 2377.343505859375,
- "y": 1681.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 1512.9445877075195,
+ "y": 1336.6667385101318,
+ "z": "a4132826.623598",
"wires": [
[
- "f13b7133.863f7",
- "4dbb329e.e6a7cc",
- "7b208d48.611164",
- "6d56919c.d354b",
- "2668f661.175a3a"
+ "140cbec1.778361"
]
]
},
{
- "id": "4dbb329e.e6a7cc",
+ "id": "67db53db.00cacc",
"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-intelligentslicing-configrsp-context.log' />\n\n\n",
+ "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": 2639.12158203125,
- "y": 1598.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 1923.6944427490234,
+ "y": 1305.6667575836182,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "b6a7b1aa.7e6bd",
- "type": "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=\"Failed to Obtain PLMN from configDB\"/>",
- "comments": "",
+ "id": "140cbec1.778361",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
"outputs": 1,
- "x": 2689,
- "y": 1411,
- "z": "344d9ac9.ce6d06",
+ "x": 1722.6943969726562,
+ "y": 1333.666696548462,
+ "z": "a4132826.623598",
"wires": [
- []
+ [
+ "67db53db.00cacc",
+ "e46c252f.937788",
+ "6720e72f.18e8a8",
+ "a790631.68201a"
+ ]
]
},
{
- "id": "7b208d48.611164",
+ "id": "e46c252f.937788",
"type": "execute",
- "name": "SliStringUtils - substring MCC",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$getplmn-configdb-response.httpResponse`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
+ "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": 2671,
- "y": 1651,
- "z": "344d9ac9.ce6d06",
+ "x": 1980.4444427490234,
+ "y": 1340.666802406311,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "6d56919c.d354b",
+ "id": "6720e72f.18e8a8",
"type": "execute",
- "name": "SliStringUtils - substring MNC",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$getplmn-configdb-response.httpResponse`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
+ "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": 2681,
- "y": 1698,
- "z": "344d9ac9.ce6d06",
+ "x": 1971.1943969726562,
+ "y": 1447.666696548462,
+ "z": "a4132826.623598",
"wires": [
- []
+ [
+ "68ef85d7.dd1d4c",
+ "9e7160d.46fefa"
+ ]
]
},
{
- "id": "2668f661.175a3a",
- "type": "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=\"mcc: \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"mnc: \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>",
+ "id": "68ef85d7.dd1d4c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2628,
- "y": 1750,
- "z": "344d9ac9.ce6d06",
+ "x": 2203.6943969726562,
+ "y": 1448.916708946228,
+ "z": "a4132826.623598",
"wires": [
- []
+ [
+ "a6d7a02e.9cc2e"
+ ]
]
},
{
- "id": "5c1f722e.e6410c",
- "type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
+ "id": "9e7160d.46fefa",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1972,
- "y": 1553,
- "z": "344d9ac9.ce6d06",
+ "x": 2202.2571411132812,
+ "y": 1498.4792079925537,
+ "z": "a4132826.623598",
"wires": [
- []
+ [
+ "b81123b2.7af0b"
+ ]
]
},
{
- "id": "52e59e51.d168c",
- "type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "id": "b81123b2.7af0b",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1950,
- "y": 1594,
- "z": "344d9ac9.ce6d06",
+ "x": 2363.2570037841797,
+ "y": 1476.4791345596313,
+ "z": "a4132826.623598",
"wires": [
- []
+ [
+ "720f80da.20089",
+ "d11f1a0b.bd81f8",
+ "e78d6df2.248be"
+ ]
]
},
{
- "id": "e67ca02.2bda56",
+ "id": "a6d7a02e.9cc2e",
"type": "block",
- "name": "Update NRCELLCU",
+ "name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1594,
- "y": 1599,
- "z": "344d9ac9.ce6d06",
+ "x": 2372.694149017334,
+ "y": 1442.916732788086,
+ "z": "a4132826.623598",
"wires": [
[
- "a9ba4b39.b1b358",
- "b09a41d8.7fdd5",
- "f0cca49c.721378",
- "5c1f722e.e6410c",
- "52e59e51.d168c",
- "2ee4cede.353242"
+ "329a2f23.e32e6"
]
]
},
{
- "id": "b09a41d8.7fdd5",
+ "id": "720f80da.20089",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "d11f1a0b.bd81f8",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "329a2f23.e32e6",
"type": "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=\"mcc: \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"mnc: \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>",
+ "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": 1814,
- "y": 1449,
- "z": "344d9ac9.ce6d06",
+ "x": 2584.4439544677734,
+ "y": 1365.666820526123,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "f0cca49c.721378",
+ "id": "d1e08c64.f9b07",
"type": "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=\"URL for update NRCELLCU \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"sNSSAI: \"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns: \"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"predictedMaxNumberofConns: \"/>\n<parameter name=\"field8\" value=\"`$tmp.predictedMaxNumberofConns`\"/>",
+ "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": 1823,
- "y": 1648,
- "z": "344d9ac9.ce6d06",
+ "x": 872.4443969726562,
+ "y": 1141.666696548462,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "2ee4cede.353242",
+ "id": "fc0ddc3e.f21",
"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-intelligent-nearRTRIC-context2.log' />\n\n\n",
+ "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": 1861,
- "y": 1495,
- "z": "344d9ac9.ce6d06",
+ "x": 1513.9444046020508,
+ "y": 1266.9167070388794,
+ "z": "a4132826.623598",
"wires": [
[]
]
+ },
+ {
+ "id": "ee4d9f87.53648",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a790631.68201a",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "689fb519.ee1dac",
+ "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",
+ "wires": []
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json
index e09ee428..db2c3c0f 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json
@@ -1,20 +1,20 @@
[
{
- "id": "c5568a98.8f8718",
+ "id": "13b54916.0b6007",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 92.5,
- "y": 32.49999666213989,
- "z": "da62f736.168268",
+ "x": 256.3888854980469,
+ "y": 149.16665887832642,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "7ce853d8.9c699c"
+ "1c8660a6.4c1f1f"
]
]
},
{
- "id": "7ce853d8.9c699c",
+ "id": "1c8660a6.4c1f1f",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -22,7306 +22,7306 @@
"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": 147.5000228881836,
- "y": 119.49996519088745,
- "z": "da62f736.168268",
+ "x": 311.38890838623047,
+ "y": 236.16662740707397,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "558e29d9.0bca88"
+ "fe73b1e2.82cbe"
]
]
},
{
- "id": "558e29d9.0bca88",
+ "id": "fe73b1e2.82cbe",
"type": "method",
"name": "method",
"xml": "<method rpc='terminateRANSliceInstance' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 81.5,
- "y": 179.49993085861206,
- "z": "da62f736.168268",
+ "x": 245.38888549804688,
+ "y": 296.1665930747986,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "73e286b5.95ed98"
+ "2c945b9d.9762d4"
]
]
},
{
- "id": "73e286b5.95ed98",
+ "id": "2c945b9d.9762d4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 87.49999237060547,
- "y": 274.2499613761902,
- "z": "da62f736.168268",
+ "x": 251.38887786865234,
+ "y": 390.9166235923767,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b2a2f929.e9e7d8",
- "ef29471f.64f038",
- "2e6295f3.2b018a",
- "b01e9ff8.9fdcb"
+ "15a06d8f.7a3ca2",
+ "ca819b40.18b7a8",
+ "4f957f97.ee3ed",
+ "fa5127b8.c6a188"
]
]
},
{
- "id": "b2a2f929.e9e7d8",
+ "id": "15a06d8f.7a3ca2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 301.49999618530273,
- "y": 297.49999380111694,
- "z": "da62f736.168268",
+ "x": 465.3888816833496,
+ "y": 414.16665601730347,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "6336a945.8a35f8",
- "734e7146.41458",
- "fff929df.03fac8",
- "d74945f1.537f58",
- "1a07170f.9b8cb9",
- "8d1aec81.1c96c",
- "a440f467.164788",
- "535f16f4.b6d608",
- "406ee76f.a28dd8",
- "331ef215.bbe70e",
- "2bef0202.a1c14e",
- "7a08dec6.783c6",
- "c50ddf2a.0f482",
- "4a173bea.dab424",
- "418b9d9d.e0f1e4",
- "9a10e123.7e743"
+ "8a4d1167.682ac",
+ "28a2cb6f.774dd4",
+ "c2420cc1.98cd5",
+ "7fa621ae.c91f3",
+ "b7f191d.9954e7",
+ "485b1e79.bbde2",
+ "30294ae6.eaaeb6",
+ "941bdbd9.3f4b08",
+ "7597a7a3.d53198",
+ "9cee919c.bea0b",
+ "ba93432d.8ae6f",
+ "b2d5bb29.9e1f58",
+ "f014e0f.8062b2",
+ "35f03911.133576",
+ "92345751.f84618",
+ "926f95e.bc62b68"
]
]
},
{
- "id": "6336a945.8a35f8",
+ "id": "8a4d1167.682ac",
"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": 685.75,
- "y": 440.75000381469727,
- "z": "da62f736.168268",
+ "x": 849.6388854980469,
+ "y": 557.4166660308838,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "734e7146.41458",
+ "id": "28a2cb6f.774dd4",
"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/terminateRANSlice.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": 625.7500152587891,
- "y": 491.7500228881836,
- "z": "da62f736.168268",
+ "x": 789.6389007568359,
+ "y": 608.4166851043701,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "fff929df.03fac8",
+ "id": "c2420cc1.98cd5",
"type": "execute",
"name": "Get nearRTRIC for TrackingArea",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 615.7500915527344,
- "y": 543.7500534057617,
- "z": "da62f736.168268",
+ "x": 779.6389770507812,
+ "y": 660.4167156219482,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b4943470.91c0d8",
- "c824c7c4.195ea8"
+ "43cb7753.13bff8",
+ "84692e0e.f962a"
]
]
},
{
- "id": "b4943470.91c0d8",
+ "id": "43cb7753.13bff8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 914.5680961608887,
- "y": 561.5680770874023,
- "z": "da62f736.168268",
+ "x": 1078.4569816589355,
+ "y": 678.2347393035889,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "31b1e0f6.87ffa"
+ "bfa2467c.975828"
]
]
},
{
- "id": "31b1e0f6.87ffa",
+ "id": "bfa2467c.975828",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1084.5679931640625,
- "y": 562.5681924819946,
- "z": "da62f736.168268",
+ "x": 1248.4568786621094,
+ "y": 679.2348546981812,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "cb22de9c.436e2",
- "e2f6cc30.e8277"
+ "ebf3b22f.4a068",
+ "68a4387a.832838"
]
]
},
{
- "id": "cb22de9c.436e2",
+ "id": "ebf3b22f.4a068",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 1307.5677909851074,
- "y": 507.56817626953125,
- "z": "da62f736.168268",
+ "x": 1471.4566764831543,
+ "y": 624.2348384857178,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e2f6cc30.e8277",
+ "id": "68a4387a.832838",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1303.345932006836,
- "y": 578.5681838989258,
- "z": "da62f736.168268",
+ "x": 1467.2348175048828,
+ "y": 695.2348461151123,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "c824c7c4.195ea8",
+ "id": "84692e0e.f962a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 920.5680503845215,
- "y": 501.5681610107422,
- "z": "da62f736.168268",
+ "x": 1084.4569358825684,
+ "y": 618.2348232269287,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "48a2a2c5.98d62c"
+ "ee193480.ded158"
]
]
},
{
- "id": "48a2a2c5.98d62c",
+ "id": "ee193480.ded158",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1200.5681266784668,
- "y": 407.56821489334106,
- "z": "da62f736.168268",
+ "x": 1364.4570121765137,
+ "y": 524.2348771095276,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2821d952.27d626",
- "80ea1426.fb74e8"
+ "bb69198d.0fefb8",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "2821d952.27d626",
+ "id": "bb69198d.0fefb8",
"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": 1378.56791305542,
- "y": 361.6792416572571,
- "z": "da62f736.168268",
+ "x": 1542.4567985534668,
+ "y": 478.3459038734436,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "ef29471f.64f038",
+ "id": "ca819b40.18b7a8",
"type": "for",
"name": "foreach NearRTRIC",
"xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
"comments": "",
"outputs": 1,
- "x": 282.75,
- "y": 884.5681762695312,
- "z": "da62f736.168268",
+ "x": 446.6388854980469,
+ "y": 1001.2348384857178,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "18d219c0.9cf676",
- "85e55937.41fdf8",
- "e30d97bf.620048",
- "c27385b1.743288"
+ "25b3a4a9.908a0c",
+ "a80c0ed6.0f83f",
+ "221fc1b6.a4a77e",
+ "1faf1601.2669fa"
]
]
},
{
- "id": "18d219c0.9cf676",
+ "id": "25b3a4a9.908a0c",
"type": "block",
"name": "Process NearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 603.1035614013672,
- "y": 1023.143970489502,
- "z": "da62f736.168268",
+ "x": 766.9924468994141,
+ "y": 1139.8106327056885,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "eefa1832.1380b8",
- "f131480e.413408",
- "35178056.84a7e",
- "e0692478.040118",
- "c224bf70.f8698",
- "feae2bb9.c89528",
- "efb82a40.58c198",
- "32462495.24865c",
- "36cfb15f.b2ef8e"
+ "79a53f2d.b5491",
+ "88535fa9.03811",
+ "3b91f995.943196",
+ "d38ca491.690178",
+ "8318ccb3.e2df6",
+ "2c07f0f9.fb597",
+ "8045c217.a14b",
+ "58a66c79.4d6444",
+ "a0ff73b.d53929"
]
]
},
{
- "id": "eefa1832.1380b8",
+ "id": "79a53f2d.b5491",
"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": 998.295524597168,
- "y": 675.4773025512695,
- "z": "da62f736.168268",
+ "x": 1162.1844100952148,
+ "y": 792.143964767456,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "f131480e.413408",
+ "id": "88535fa9.03811",
"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": 968.2954940795898,
- "y": 867.4773654937744,
- "z": "da62f736.168268",
+ "x": 1132.1843795776367,
+ "y": 984.1440277099609,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "35178056.84a7e",
+ "id": "3b91f995.943196",
"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-removenearRTRIC-PLMNInfo.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-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": 1074.0126266479492,
- "y": 1062.9823503494263,
- "z": "da62f736.168268",
+ "x": 1237.901512145996,
+ "y": 1179.6490125656128,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "dee5a635.a73338",
- "7a0a6ef9.9ecdd"
+ "40b8bfe7.b3c7a",
+ "69fb9607.8ef588"
]
]
},
{
- "id": "dee5a635.a73338",
+ "id": "40b8bfe7.b3c7a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1441.568115234375,
- "y": 1104.0226440429688,
- "z": "da62f736.168268",
+ "x": 1605.4570007324219,
+ "y": 1220.6893062591553,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "6a251f04.44743"
+ "55ac305d.b4eb2"
]
]
},
{
- "id": "6a251f04.44743",
+ "id": "55ac305d.b4eb2",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1573.5682373046875,
- "y": 1066.0226440429688,
- "z": "da62f736.168268",
+ "x": 1737.4571228027344,
+ "y": 1182.6893062591553,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "109652da.35aaad",
- "16105346.8b4fbd"
+ "bd9d9a7e.99b7f8",
+ "d71a4184.466f"
]
]
},
{
- "id": "16105346.8b4fbd",
+ "id": "d71a4184.466f",
"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": 1762.5679931640625,
- "y": 1013.1336669921875,
- "z": "da62f736.168268",
+ "x": 1926.4568786621094,
+ "y": 1129.800329208374,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "109652da.35aaad",
+ "id": "bd9d9a7e.99b7f8",
"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": 1770.5679931640625,
- "y": 1113.022705078125,
- "z": "da62f736.168268",
+ "x": 1934.4568786621094,
+ "y": 1229.6893672943115,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "7a0a6ef9.9ecdd",
+ "id": "69fb9607.8ef588",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1439.38623046875,
- "y": 1203.9317626953125,
- "z": "da62f736.168268",
+ "x": 1603.2751159667969,
+ "y": 1320.598424911499,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "7721543c.03993c"
+ "8c6b92b0.8f7e3"
]
]
},
{
- "id": "7721543c.03993c",
+ "id": "8c6b92b0.8f7e3",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1603.3861083984375,
- "y": 1204.931884765625,
- "z": "da62f736.168268",
+ "x": 1767.2749938964844,
+ "y": 1321.5985469818115,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "99b87529.8cda48"
+ "60c71f0b.4e0b8"
]
]
},
{
- "id": "99b87529.8cda48",
+ "id": "60c71f0b.4e0b8",
"type": "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": 1753.3861083984375,
- "y": 1199.9320068359375,
- "z": "da62f736.168268",
+ "x": 1917.2749938964844,
+ "y": 1316.598669052124,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "873ed2d3.c7ca8",
+ "id": "a210b89d.d67618",
"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": 956.75,
- "y": 1247.75,
- "z": "da62f736.168268",
+ "x": 1120.6388854980469,
+ "y": 1364.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "85e55937.41fdf8",
+ "id": "a80c0ed6.0f83f",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 583.7500228881836,
- "y": 1160.7500534057617,
- "z": "da62f736.168268",
+ "x": 747.6389083862305,
+ "y": 1277.4167156219482,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "873ed2d3.c7ca8",
- "61417ec7.d4a75",
- "44181142.3471e"
+ "a210b89d.d67618",
+ "77fae2fc.54a83c",
+ "c78a7431.326578"
]
]
},
{
- "id": "61417ec7.d4a75",
+ "id": "77fae2fc.54a83c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 928.75,
- "y": 1312.75,
- "z": "da62f736.168268",
+ "x": 1092.6388854980469,
+ "y": 1429.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "44181142.3471e",
+ "id": "c78a7431.326578",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 956.75,
- "y": 1387.75,
- "z": "da62f736.168268",
+ "x": 1120.6388854980469,
+ "y": 1504.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9873817a.bd85"
+ "f3835687.f3ad28"
]
]
},
{
- "id": "9873817a.bd85",
+ "id": "f3835687.f3ad28",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1177.75,
- "y": 1394.75,
- "z": "da62f736.168268",
+ "x": 1341.6388854980469,
+ "y": 1511.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9bd17c8f.d933c",
- "ec596de0.0aca4",
- "d29c67e5.d6f4f8",
- "5f1d2c5c.decd84"
+ "293ade3b.3e9282",
+ "d33f3a13.3a80b8",
+ "55636713.753228",
+ "ac92bba5.c8a268"
]
]
},
{
- "id": "9bd17c8f.d933c",
+ "id": "293ade3b.3e9282",
"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": 1528.75,
- "y": 1247.75,
- "z": "da62f736.168268",
+ "x": 1692.6388854980469,
+ "y": 1364.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "ec596de0.0aca4",
+ "id": "d33f3a13.3a80b8",
"type": "for",
"name": "for cellCUList",
"xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1532.75,
- "y": 1391.75,
- "z": "da62f736.168268",
+ "x": 1696.6388854980469,
+ "y": 1508.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9e9a8829.999268"
+ "80ff59e2.0c6828"
]
]
},
{
- "id": "b0e1bf8f.22488",
+ "id": "9f3dc0ca.d175e",
"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": 2269.2502670288086,
- "y": 1110.5000038146973,
- "z": "da62f736.168268",
+ "x": 2433.1391525268555,
+ "y": 1227.1666660308838,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e6adc774.43c8d8",
+ "id": "d25fdd3c.e7a3a",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 2248.000114440918,
- "y": 1356.999948501587,
- "z": "da62f736.168268",
+ "x": 2411.888999938965,
+ "y": 1473.6666107177734,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "46c5fc21.cc9984",
+ "id": "4429c413.53d4fc",
"type": "execute",
"name": "terminate sNNSAI ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteSNSSAIListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellCU-sNSSAI-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2215.7501068115234,
- "y": 1544.7499732971191,
- "z": "da62f736.168268",
+ "x": 2379.6389923095703,
+ "y": 1661.4166355133057,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "47288b8d.772554",
- "331e8cd2.198374"
+ "46115720.68ee88",
+ "8c0b5b7f.7bdf08"
]
]
},
{
- "id": "850a1c4b.3fe45",
+ "id": "5d11528.48bd2ac",
"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/terminateRANSliceModifyAllocate.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.sNSSAI`\"/>\n<parameter name=\"field8\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2215.75,
- "y": 1479.2500133514404,
- "z": "da62f736.168268",
+ "x": 2379.638885498047,
+ "y": 1595.916675567627,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "47df190.60624e8",
+ "id": "cc17591c.133a48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2046.75,
- "y": 998.75,
- "z": "da62f736.168268",
+ "x": 2210.638885498047,
+ "y": 1115.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b0e1bf8f.22488",
- "e6adc774.43c8d8",
- "850a1c4b.3fe45",
- "46c5fc21.cc9984",
- "abb0b9c.15d9d48",
- "83d73909.bae128",
- "a39f8656.444118",
- "d3e48ebc.f7231",
- "b5390e62.ee13f",
- "b5ed71f7.1a30d",
- "871e03be.326d",
- "1c8e5c05.e07c04",
- "e8f8f0ea.977c8"
+ "9f3dc0ca.d175e",
+ "d25fdd3c.e7a3a",
+ "5d11528.48bd2ac",
+ "4429c413.53d4fc",
+ "4ff52e11.4c359",
+ "f74d3af1.4779d8",
+ "2b4b7928.bb17c6",
+ "d6873e5f.16b53",
+ "53ee972c.bda038",
+ "f200b6d5.a81168",
+ "24ec030e.cd504c",
+ "1063593f.f773f7",
+ "261c63a2.cfa8fc"
]
]
},
{
- "id": "47288b8d.772554",
+ "id": "46115720.68ee88",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2466.750114440918,
- "y": 1540.7502174377441,
- "z": "da62f736.168268",
+ "x": 2630.638999938965,
+ "y": 1657.4168796539307,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "58993238.4039dc"
+ "3a88b361.e3682c"
]
]
},
{
- "id": "58993238.4039dc",
+ "id": "3a88b361.e3682c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2639.749900817871,
- "y": 1539.7502784729004,
- "z": "da62f736.168268",
+ "x": 2803.638786315918,
+ "y": 1656.416940689087,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "321c23a.1dc6cdc"
+ "90004ec.2abd9b"
]
]
},
{
- "id": "321c23a.1dc6cdc",
+ "id": "90004ec.2abd9b",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 2837.7499618530273,
- "y": 1536.750400543213,
- "z": "da62f736.168268",
+ "x": 3001.638847351074,
+ "y": 1653.4170627593994,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "331e8cd2.198374",
+ "id": "8c0b5b7f.7bdf08",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2431.75008392334,
- "y": 1423.7499732971191,
- "z": "da62f736.168268",
+ "x": 2595.6389694213867,
+ "y": 1540.4166355133057,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "476ddcef.5da644"
+ "edcd118.a0bb6f"
]
]
},
{
- "id": "476ddcef.5da644",
+ "id": "edcd118.a0bb6f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2581.750358581543,
- "y": 1382.750156402588,
- "z": "da62f736.168268",
+ "x": 2745.63924407959,
+ "y": 1499.4168186187744,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "cad84f7d.8b728",
- "df36d01.7f7d83",
- "80ea1426.fb74e8"
+ "879c280b.1029e8",
+ "c0273093.0ef2e",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "cad84f7d.8b728",
+ "id": "879c280b.1029e8",
"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": 2752.7499923706055,
- "y": 1443.7502174377441,
- "z": "da62f736.168268",
+ "x": 2916.6388778686523,
+ "y": 1560.4168796539307,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "df36d01.7f7d83",
+ "id": "c0273093.0ef2e",
"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": 2747.750114440918,
- "y": 1348.750156402588,
- "z": "da62f736.168268",
+ "x": 2911.638999938965,
+ "y": 1465.4168186187744,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "abb0b9c.15d9d48",
+ "id": "4ff52e11.4c359",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2303.750030517578,
- "y": 1210.7500953674316,
- "z": "da62f736.168268",
+ "x": 2467.638916015625,
+ "y": 1327.4167575836182,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "83d73909.bae128",
+ "id": "f74d3af1.4779d8",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2284.7500228881836,
- "y": 1257.4999752044678,
- "z": "da62f736.168268",
+ "x": 2448.6389083862305,
+ "y": 1374.1666374206543,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "a39f8656.444118",
+ "id": "2b4b7928.bb17c6",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 2260.4999923706055,
- "y": 1300.5000085830688,
- "z": "da62f736.168268",
+ "x": 2424.3888778686523,
+ "y": 1417.1666707992554,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d29c67e5.d6f4f8",
+ "id": "55636713.753228",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 1501.75,
- "y": 1298.75,
- "z": "da62f736.168268",
+ "x": 1665.6388854980469,
+ "y": 1415.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5f1d2c5c.decd84",
+ "id": "ac92bba5.c8a268",
"type": "execute",
"name": "read cellCU list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1542.75,
- "y": 1347.75,
- "z": "da62f736.168268",
+ "x": 1706.6388854980469,
+ "y": 1464.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d3e48ebc.f7231",
+ "id": "d6873e5f.16b53",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2269.75,
- "y": 1061.75,
- "z": "da62f736.168268",
+ "x": 2433.638885498047,
+ "y": 1178.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "696ba9cb.bb2f18",
- "aebe61da.58076"
+ "34e6ea9e.b1bdc6",
+ "9ce0b9e2.64fd18"
]
]
},
{
- "id": "696ba9cb.bb2f18",
+ "id": "34e6ea9e.b1bdc6",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2477.75,
- "y": 1026.749755859375,
- "z": "da62f736.168268",
+ "x": 2641.638885498047,
+ "y": 1143.4164180755615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2ad68b21.890b84"
+ "59068b77.755684"
]
]
},
{
- "id": "2ad68b21.890b84",
+ "id": "59068b77.755684",
"type": "execute",
"name": "generate terminate sNSSAItEntry ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2797.75,
- "y": 1041.75,
- "z": "da62f736.168268",
+ "x": 2961.638885498047,
+ "y": 1158.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "aebe61da.58076",
+ "id": "9ce0b9e2.64fd18",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2465.75,
- "y": 1128.75,
- "z": "da62f736.168268",
+ "x": 2629.638885498047,
+ "y": 1245.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a0cd471f.d08e88"
+ "f574854d.da65d8"
]
]
},
{
- "id": "b5390e62.ee13f",
+ "id": "53ee972c.bda038",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1824.75,
- "y": 1812.75,
- "z": "da62f736.168268",
+ "x": 1988.6388854980469,
+ "y": 1929.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2cf8126f.d1e85e",
- "6a14fde8.414504",
- "c0f1b70c.7a0618",
- "21256195.ad05de",
- "770cc1c7.5a6fb",
- "9e4d0066.d7a5f",
- "39559a54.4e74d6",
- "292b773e.225808",
- "e28d4409.a0c4b8"
+ "6b056548.ab52bc",
+ "b348ab17.934188",
+ "6d3d4b6b.749524",
+ "754ee45f.12c16c",
+ "f1cfbf18.b2243",
+ "7925f33.dcf840c",
+ "545ce814.c92928",
+ "205d965c.61e96a",
+ "7b4444ec.313bdc"
]
]
},
{
- "id": "2cf8126f.d1e85e",
+ "id": "6b056548.ab52bc",
"type": "set",
"name": "Calculate RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
"comments": "",
- "x": 2006.75,
- "y": 1595.75,
- "z": "da62f736.168268",
+ "x": 2170.638885498047,
+ "y": 1712.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "6a14fde8.414504",
+ "id": "b348ab17.934188",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>",
"comments": "",
"outputs": 1,
- "x": 2005.75,
- "y": 1651.75,
- "z": "da62f736.168268",
+ "x": 2169.638885498047,
+ "y": 1768.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "c0f1b70c.7a0618",
+ "id": "6d3d4b6b.749524",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2046.75,
- "y": 1718.75,
- "z": "da62f736.168268",
+ "x": 2210.638885498047,
+ "y": 1835.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5e0355ea.6e912c",
- "531b3c4c.239274"
+ "52da5d1a.0cca24",
+ "910f0fe5.fe248"
]
]
},
{
- "id": "5e0355ea.6e912c",
+ "id": "52da5d1a.0cca24",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2224.75,
- "y": 1685.749755859375,
- "z": "da62f736.168268",
+ "x": 2388.638885498047,
+ "y": 1802.4164180755615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b5415457.b2b258"
+ "8d09c6f.665b538"
]
]
},
{
- "id": "b5415457.b2b258",
+ "id": "8d09c6f.665b538",
"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": 2502.75,
- "y": 1677.75,
- "z": "da62f736.168268",
+ "x": 2666.638885498047,
+ "y": 1794.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "21256195.ad05de",
+ "id": "754ee45f.12c16c",
"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": 2081.75,
- "y": 1790.75,
- "z": "da62f736.168268",
+ "x": 2245.638885498047,
+ "y": 1907.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "770cc1c7.5a6fb",
+ "id": "f1cfbf18.b2243",
"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": 2046.75,
- "y": 1842.75,
- "z": "da62f736.168268",
+ "x": 2210.638885498047,
+ "y": 1959.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "af7677e4.5eb1b8",
+ "id": "589411b8.d17cf",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2332.75,
- "y": 1969.75,
- "z": "da62f736.168268",
+ "x": 2496.638885498047,
+ "y": 2086.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9d029223.3b508"
+ "69298f81.7bc1a"
]
]
},
{
- "id": "9d029223.3b508",
+ "id": "69298f81.7bc1a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2496.7498779296875,
- "y": 1970.7501220703125,
- "z": "da62f736.168268",
+ "x": 2660.6387634277344,
+ "y": 2087.416784286499,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "c89265f6.049fe8",
- "8edb7765.0ff4e8"
+ "b3c93505.359eb8",
+ "59c05b13.4d5584"
]
]
},
{
- "id": "c89265f6.049fe8",
+ "id": "b3c93505.359eb8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2646.7498779296875,
- "y": 1965.750244140625,
- "z": "da62f736.168268",
+ "x": 2810.6387634277344,
+ "y": 2082.4169063568115,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "64306a63.dd3e24",
+ "id": "45ec013e.d3c1c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2328.75,
- "y": 1890.75,
- "z": "da62f736.168268",
+ "x": 2492.638885498047,
+ "y": 2007.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "48cd5a.d4e032a8"
+ "d3c9a44c.060d38"
]
]
},
{
- "id": "48cd5a.d4e032a8",
+ "id": "d3c9a44c.060d38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2486.750244140625,
- "y": 1838.75,
- "z": "da62f736.168268",
+ "x": 2650.639129638672,
+ "y": 1955.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "faeaed8.9cc8f1",
- "a2d9015a.dbf14",
- "80ea1426.fb74e8"
+ "49e1b3c0.3eda1c",
+ "d701e69a.7c76e8",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "faeaed8.9cc8f1",
+ "id": "49e1b3c0.3eda1c",
"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": 2657.7498779296875,
- "y": 1899.7500610351562,
- "z": "da62f736.168268",
+ "x": 2821.6387634277344,
+ "y": 2016.4167232513428,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "a2d9015a.dbf14",
+ "id": "d701e69a.7c76e8",
"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": 2652.75,
- "y": 1804.75,
- "z": "da62f736.168268",
+ "x": 2816.638885498047,
+ "y": 1921.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "9e4d0066.d7a5f",
+ "id": "7925f33.dcf840c",
"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": 2081.75,
- "y": 1917.75,
- "z": "da62f736.168268",
+ "x": 2245.638885498047,
+ "y": 2034.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "64306a63.dd3e24",
- "af7677e4.5eb1b8"
+ "45ec013e.d3c1c",
+ "589411b8.d17cf"
]
]
},
{
- "id": "8edb7765.0ff4e8",
+ "id": "59c05b13.4d5584",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2661.75,
- "y": 2028.75,
- "z": "da62f736.168268",
+ "x": 2825.638885498047,
+ "y": 2145.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "39559a54.4e74d6",
+ "id": "545ce814.c92928",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2016.75,
- "y": 2075.750228881836,
- "z": "da62f736.168268",
+ "x": 2180.638885498047,
+ "y": 2192.4168910980225,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "cd8bf9bc.1cadc8"
+ "91db87cc.23ab88"
]
]
},
{
- "id": "292b773e.225808",
+ "id": "205d965c.61e96a",
"type": "execute",
"name": "read rrmpolicyratio list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length '`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 2060.75,
- "y": 1971.75,
- "z": "da62f736.168268",
+ "x": 2224.638885498047,
+ "y": 2088.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "cd8bf9bc.1cadc8",
+ "id": "91db87cc.23ab88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2237.75,
- "y": 2095.750228881836,
- "z": "da62f736.168268",
+ "x": 2401.638885498047,
+ "y": 2212.4168910980225,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2bc7679f.a36f88",
- "756aabaa.a810d4",
- "bafc3e6d.cdf73",
- "71c76952.045908",
- "54cca329.31500c",
- "14019172.5d29bf",
- "521d3d11.f4ead4",
- "cd5eaeef.a91e3",
- "eaeb68eb.667d98",
- "7314c963.605c68"
+ "9f49845e.0050c8",
+ "10bed330.9d26bd",
+ "b7aab5d6.a5d488",
+ "cac94f43.7988e",
+ "57aa1331.9d81bc",
+ "e85a3a4.22a94c8",
+ "4c947865.0ffd58",
+ "d93b6f67.8d487",
+ "47c5c1a5.8d72c",
+ "b2ace9e0.9edfb8"
]
]
},
{
- "id": "2bc7679f.a36f88",
+ "id": "9f49845e.0050c8",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellCU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`\" />",
"comments": "",
- "x": 2562.75,
- "y": 2072.750228881836,
- "z": "da62f736.168268",
+ "x": 2726.638885498047,
+ "y": 2189.4168910980225,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "e28d4409.a0c4b8",
+ "id": "7b4444ec.313bdc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 2000.75,
- "y": 2025.75,
- "z": "da62f736.168268",
+ "x": 2164.638885498047,
+ "y": 2142.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "688b9f44.1b24f",
+ "id": "9f6e5cf6.2e6b1",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2093.8610229492188,
- "y": 806.9722108840942,
- "z": "da62f736.168268",
+ "x": 2257.7499084472656,
+ "y": 923.6388731002808,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9bebaeb1.90386"
+ "5bd57ea8.8bdc"
]
]
},
{
- "id": "9e9a8829.999268",
+ "id": "80ff59e2.0c6828",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1752.75,
- "y": 1300.75,
- "z": "da62f736.168268",
+ "x": 1916.6388854980469,
+ "y": 1417.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "688b9f44.1b24f",
- "63802b92.24eaa4"
+ "9f6e5cf6.2e6b1",
+ "dcc1e616.a66a58"
]
]
},
{
- "id": "fab9e219.5662d",
+ "id": "ddf84184.f49eb",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2516.527801513672,
- "y": 817.5277490615845,
- "z": "da62f736.168268",
+ "x": 2680.4166870117188,
+ "y": 934.194411277771,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b43cbba0.8b8ab8"
+ "4535b231.1fd40c"
]
]
},
{
- "id": "b43cbba0.8b8ab8",
+ "id": "4535b231.1fd40c",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2419.75,
- "y": 902.75,
- "z": "da62f736.168268",
+ "x": 2583.638885498047,
+ "y": 1019.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "47df190.60624e8"
+ "cc17591c.133a48"
]
]
},
{
- "id": "b5ed71f7.1a30d",
+ "id": "f200b6d5.a81168",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"NSSAI exists \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2241.75,
- "y": 993.75,
- "z": "da62f736.168268",
+ "x": 2405.638885498047,
+ "y": 1110.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "7690acef.0c3c44",
+ "id": "fa26149a.2c7198",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 2477.638961791992,
- "y": 752.9721822738647,
- "z": "da62f736.168268",
+ "x": 2641.527847290039,
+ "y": 869.6388444900513,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "9bebaeb1.90386",
+ "id": "5bd57ea8.8bdc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2271.75,
- "y": 729.75,
- "z": "da62f736.168268",
+ "x": 2435.638885498047,
+ "y": 846.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "7690acef.0c3c44",
- "fab9e219.5662d",
- "c229445e.e237e8"
+ "fa26149a.2c7198",
+ "ddf84184.f49eb",
+ "f9c032b0.6c509"
]
]
},
{
- "id": "c229445e.e237e8",
+ "id": "f9c032b0.6c509",
"type": "execute",
"name": "read sNSSAI from getNFNSSIRIC-configdb-response",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 2606.6388549804688,
- "y": 684.9722309112549,
- "z": "da62f736.168268",
+ "x": 2770.5277404785156,
+ "y": 801.6388931274414,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "871e03be.326d",
+ "id": "24ec030e.cd504c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1641.7499542236328,
- "y": 2277.750011444092,
- "z": "da62f736.168268",
+ "x": 1805.6388397216797,
+ "y": 2394.4166736602783,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "7389066e.093d58",
- "d793dedd.b3828",
- "affea016.689ae"
+ "a8581b0.49378e8",
+ "cab5cd7b.682a4",
+ "ae40960a.6e1e88"
]
]
},
{
- "id": "7389066e.093d58",
+ "id": "a8581b0.49378e8",
"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-removegNBCUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"remove-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": 1924.7499542236328,
- "y": 2277.750011444092,
- "z": "da62f736.168268",
+ "x": 2088.6388397216797,
+ "y": 2394.4166736602783,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "792eb9e8.3016e8",
- "f973581b.cedbd8"
+ "66689ab6.972234",
+ "3613c031.be978"
]
]
},
{
- "id": "f973581b.cedbd8",
+ "id": "3613c031.be978",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2160.749954223633,
- "y": 2349.750011444092,
- "z": "da62f736.168268",
+ "x": 2324.6388397216797,
+ "y": 2466.4166736602783,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "337d2d70.5e45a2"
+ "f216f679.2b6c58"
]
]
},
{
- "id": "792eb9e8.3016e8",
+ "id": "66689ab6.972234",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2211.749954223633,
- "y": 2248.750255584717,
- "z": "da62f736.168268",
+ "x": 2375.6388397216797,
+ "y": 2365.4169178009033,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "c01c4080.c3a65"
+ "ea9cd975.e4bac8"
]
]
},
{
- "id": "c01c4080.c3a65",
+ "id": "ea9cd975.e4bac8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2405.000068664551,
- "y": 2393.5000705718994,
- "z": "da62f736.168268",
+ "x": 2568.8889541625977,
+ "y": 2510.166732788086,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "75b5b3c7.3a963c",
- "56f19de0.2f7e84",
- "80ea1426.fb74e8"
+ "7e0aa803.b632a8",
+ "950c5034.5b9f1",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "56f19de0.2f7e84",
+ "id": "950c5034.5b9f1",
"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": 2574.749885559082,
- "y": 2380.9446816444397,
- "z": "da62f736.168268",
+ "x": 2738.638771057129,
+ "y": 2497.611343860626,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "75b5b3c7.3a963c",
+ "id": "7e0aa803.b632a8",
"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": 2574.7495880126953,
- "y": 2425.750072479248,
- "z": "da62f736.168268",
+ "x": 2738.638473510742,
+ "y": 2542.4167346954346,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "f1003da4.9703c",
+ "id": "b092f8b7.785738",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 2410.749954223633,
- "y": 2436.750011444092,
- "z": "da62f736.168268",
+ "x": 2574.6388397216797,
+ "y": 2553.4166736602783,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "337d2d70.5e45a2",
+ "id": "f216f679.2b6c58",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2246.7499389648438,
- "y": 2430.750072479248,
- "z": "da62f736.168268",
+ "x": 2410.6388244628906,
+ "y": 2547.4167346954346,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f1003da4.9703c"
+ "b092f8b7.785738"
]
]
},
{
- "id": "7314c963.605c68",
+ "id": "b2ace9e0.9edfb8",
"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-removeRRMPolicyMember-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"remove-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": 1945.75,
- "y": 2563.75,
- "z": "da62f736.168268",
+ "x": 2109.638885498047,
+ "y": 2680.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "90150da1.697df",
- "dbce7c71.c3c3a"
+ "cb3f1f17.3f02d",
+ "57784c5e.7f9454"
]
]
},
{
- "id": "90150da1.697df",
+ "id": "cb3f1f17.3f02d",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2243.75,
- "y": 2513.75,
- "z": "da62f736.168268",
+ "x": 2407.638885498047,
+ "y": 2630.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "87555999.94c5c8"
+ "214aed7a.fa9512"
]
]
},
{
- "id": "dbce7c71.c3c3a",
+ "id": "57784c5e.7f9454",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2243.75,
- "y": 2623.749755859375,
- "z": "da62f736.168268",
+ "x": 2407.638885498047,
+ "y": 2740.4164180755615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "67c6fcad.1b3574"
+ "8a3d5438.473688"
]
]
},
{
- "id": "87555999.94c5c8",
+ "id": "214aed7a.fa9512",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2446.75,
- "y": 2510.75,
- "z": "da62f736.168268",
+ "x": 2610.638885498047,
+ "y": 2627.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "eea3df6d.b73c1",
- "df244507.9f78b8",
- "80ea1426.fb74e8"
+ "dade9961.641c08",
+ "4b0b3c7b.284154",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "df244507.9f78b8",
+ "id": "4b0b3c7b.284154",
"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": 2612.749755859375,
- "y": 2476.75,
- "z": "da62f736.168268",
+ "x": 2776.638641357422,
+ "y": 2593.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "eea3df6d.b73c1",
+ "id": "dade9961.641c08",
"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": 2617.7496337890625,
- "y": 2571.7500610351562,
- "z": "da62f736.168268",
+ "x": 2781.6385192871094,
+ "y": 2688.416723251343,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "67c6fcad.1b3574",
+ "id": "8a3d5438.473688",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2424.75,
- "y": 2617.75,
- "z": "da62f736.168268",
+ "x": 2588.638885498047,
+ "y": 2734.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5b69f3a4.bdbf9c"
+ "72c18a44.d21cf4"
]
]
},
{
- "id": "5b69f3a4.bdbf9c",
+ "id": "72c18a44.d21cf4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 2590.75,
- "y": 2618.75,
- "z": "da62f736.168268",
+ "x": 2754.638885498047,
+ "y": 2735.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e30d97bf.620048",
+ "id": "221fc1b6.a4a77e",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 537.75,
- "y": 1457.75,
- "z": "da62f736.168268",
+ "x": 701.6388854980469,
+ "y": 1574.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e740dcbe.62887",
- "a339374f.45c368",
- "2c0eccd1.c1fb94"
+ "34ae32c9.abf47e",
+ "4d4bc6b8.a73168",
+ "696f3821.ac7238"
]
]
},
{
- "id": "e740dcbe.62887",
+ "id": "34ae32c9.abf47e",
"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": 868.75,
- "y": 1467.75,
- "z": "da62f736.168268",
+ "x": 1032.6388854980469,
+ "y": 1584.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "a339374f.45c368",
+ "id": "4d4bc6b8.a73168",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 840.75,
- "y": 1532.75,
- "z": "da62f736.168268",
+ "x": 1004.6388854980469,
+ "y": 1649.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "2c0eccd1.c1fb94",
+ "id": "696f3821.ac7238",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 868.75,
- "y": 1607.75,
- "z": "da62f736.168268",
+ "x": 1032.6388854980469,
+ "y": 1724.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2c461d47.b6fc72"
+ "2089220a.3b13fe"
]
]
},
{
- "id": "2c461d47.b6fc72",
+ "id": "2089220a.3b13fe",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1089.75,
- "y": 1614.75,
- "z": "da62f736.168268",
+ "x": 1253.6388854980469,
+ "y": 1731.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "18305831.d8e2b8",
- "14036e41.d65ea2",
- "f20be07.17fc12",
- "3cfc8050.81beb"
+ "7ab19067.34abd",
+ "591e5606.f47478",
+ "55fe52ed.4d0c3c",
+ "84b0e711.1d1a48"
]
]
},
{
- "id": "18305831.d8e2b8",
+ "id": "7ab19067.34abd",
"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": 1323.75,
- "y": 1448.75,
- "z": "da62f736.168268",
+ "x": 1487.6388854980469,
+ "y": 1565.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "14036e41.d65ea2",
+ "id": "591e5606.f47478",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 1319.75,
- "y": 1502.75,
- "z": "da62f736.168268",
+ "x": 1483.6388854980469,
+ "y": 1619.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "f20be07.17fc12",
+ "id": "55fe52ed.4d0c3c",
"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": 1370.75,
- "y": 1567.75,
- "z": "da62f736.168268",
+ "x": 1534.6388854980469,
+ "y": 1684.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "3cfc8050.81beb",
+ "id": "84b0e711.1d1a48",
"type": "for",
"name": "foreach pLMNInfo",
"xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
"comments": "",
"outputs": 1,
- "x": 1356.75,
- "y": 1622.75,
- "z": "da62f736.168268",
+ "x": 1520.6388854980469,
+ "y": 1739.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d2fce7e.daa3d18"
+ "3c027fdb.5d42c"
]
]
},
{
- "id": "d2fce7e.daa3d18",
+ "id": "3c027fdb.5d42c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1322.75,
- "y": 2698.75,
- "z": "da62f736.168268",
+ "x": 1486.6388854980469,
+ "y": 2815.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "26b37e42.cb62c2",
- "dcce991e.51fb68",
- "8565a8c1.f117b8",
- "3122b254.89dc0e",
- "47f50986.613b18",
- "cc4b3d1c.b7b28",
- "410f131a.e8d5cc",
- "d8d2f80.b434408",
- "3e6164e6.889c1c",
- "9f52b9d7.0cd2f8",
- "26cf8ac7.b0c7f6",
- "ecfda6cb.0dc9f8",
- "ff979e6b.4c16e",
- "45d93df6.d8a744",
- "5537eaa4.099b64",
- "3a0a4656.8f287a",
- "550fad5.d572654"
+ "5892741a.10faec",
+ "4127e412.d5a67c",
+ "30548ec4.6acdb2",
+ "2340eca5.443c94",
+ "133335da.d1bbaa",
+ "a0533e6a.89e61",
+ "9315bfdb.a2f6b",
+ "7bcfae2a.8d80b",
+ "1f2613d5.3c5b6c",
+ "9e05d876.aa5098",
+ "2d906f67.af8d2",
+ "5f217c6b.8aad94",
+ "59cd7c57.9edea4",
+ "2fca4cb4.2738c4",
+ "ce6d719c.49011",
+ "94dbe6eb.647a58",
+ "10895895.6f3bd7"
]
]
},
{
- "id": "1fdc0d32.1eff63",
+ "id": "1f89eb4f.56d5b5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1952.7501525878906,
- "y": 2898.7502393722534,
- "z": "da62f736.168268",
+ "x": 2116.6390380859375,
+ "y": 3015.41690158844,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "3d8b1b51.39d874"
+ "5c88e0fe.aa427"
]
]
},
{
- "id": "3d8b1b51.39d874",
+ "id": "5c88e0fe.aa427",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2129.750274658203,
- "y": 2887.750117301941,
- "z": "da62f736.168268",
+ "x": 2293.63916015625,
+ "y": 3004.4167795181274,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "559fa3a0.b9869c",
- "b8136934.d0c978",
- "80ea1426.fb74e8"
+ "370129e2.e5bde6",
+ "9a87f5b3.733728",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "b8136934.d0c978",
+ "id": "9a87f5b3.733728",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2394.750289916992,
- "y": 2857.750524520874,
- "z": "da62f736.168268",
+ "x": 2558.639175415039,
+ "y": 2974.4171867370605,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "559fa3a0.b9869c",
+ "id": "370129e2.e5bde6",
"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 removing CUUP PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2388.750289916992,
- "y": 2898.750524520874,
- "z": "da62f736.168268",
+ "x": 2552.639175415039,
+ "y": 3015.4171867370605,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "a873648c.573e28",
+ "id": "838e485c.8df738",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - gNBCUUP PLMNInfo Entry\"/>",
"comments": "",
"outputs": 1,
- "x": 2279.749725341797,
- "y": 2970.7502393722534,
- "z": "da62f736.168268",
+ "x": 2443.6386108398438,
+ "y": 3087.41690158844,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "4dcb6361.01e9bc",
+ "id": "555b59c4.5368d8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2126.750030517578,
- "y": 2970.7499952316284,
- "z": "da62f736.168268",
+ "x": 2290.638916015625,
+ "y": 3087.416657447815,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a873648c.573e28"
+ "838e485c.8df738"
]
]
},
{
- "id": "f316122d.69b8",
+ "id": "5c354916.643298",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1946.7500305175781,
- "y": 2965.750178337097,
- "z": "da62f736.168268",
+ "x": 2110.638916015625,
+ "y": 3082.4168405532837,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "4dcb6361.01e9bc"
+ "555b59c4.5368d8"
]
]
},
{
- "id": "b4bbd615.193438",
+ "id": "99583120.d2f27",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2064.750015258789,
- "y": 2698.750400543213,
- "z": "da62f736.168268",
+ "x": 2228.638900756836,
+ "y": 2815.4170627593994,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f563292.e8546d8",
- "809d4e77.6150b"
+ "7af6a37f.bc7d0c",
+ "8bdc8ed1.58fdf"
]
]
},
{
- "id": "f563292.e8546d8",
+ "id": "7af6a37f.bc7d0c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2335.750015258789,
- "y": 2677.750099182129,
- "z": "da62f736.168268",
+ "x": 2499.638900756836,
+ "y": 2794.4167613983154,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "86d73812.b12f28"
+ "dffa165d.c08c68"
]
]
},
{
- "id": "809d4e77.6150b",
+ "id": "8bdc8ed1.58fdf",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2323.750015258789,
- "y": 2779.750343322754,
- "z": "da62f736.168268",
+ "x": 2487.638900756836,
+ "y": 2896.4170055389404,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f5886e6b.6deba"
+ "2649f371.df5dbc"
]
]
},
{
- "id": "86d73812.b12f28",
+ "id": "dffa165d.c08c68",
"type": "execute",
"name": "generate terminate PLMNInfoListEntry CUUP URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2655.750015258789,
- "y": 2692.750343322754,
- "z": "da62f736.168268",
+ "x": 2819.638900756836,
+ "y": 2809.4170055389404,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "26b37e42.cb62c2",
+ "id": "5892741a.10faec",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1654.749984741211,
- "y": 2721.7500343322754,
- "z": "da62f736.168268",
+ "x": 1818.6388702392578,
+ "y": 2838.416696548462,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "756aabaa.a810d4",
+ "id": "10bed330.9d26bd",
"type": "set",
"name": "RRMPolicyRatio id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />",
"comments": "",
- "x": 2512.5279083251953,
- "y": 2111.749927520752,
- "z": "da62f736.168268",
+ "x": 2676.416793823242,
+ "y": 2228.4165897369385,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "dcce991e.51fb68",
+ "id": "4127e412.d5a67c",
"type": "set",
"name": "Calculate RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
"comments": "",
- "x": 1623.7502136230469,
- "y": 2968.750494003296,
- "z": "da62f736.168268",
+ "x": 1787.6390991210938,
+ "y": 3085.4171562194824,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "8565a8c1.f117b8",
+ "id": "30548ec4.6acdb2",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 1569.7502059936523,
- "y": 3040.750497817993,
- "z": "da62f736.168268",
+ "x": 1733.6390914916992,
+ "y": 3157.4171600341797,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "3122b254.89dc0e",
+ "id": "2340eca5.443c94",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1580.75,
- "y": 3115.75,
- "z": "da62f736.168268",
+ "x": 1744.6388854980469,
+ "y": 3232.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "80de3869.b21368",
- "dd4e6136.8f68f"
+ "79b460d5.c662",
+ "7575da63.dd4fa4"
]
]
},
{
- "id": "80de3869.b21368",
+ "id": "79b460d5.c662",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1758.75,
- "y": 3082.749755859375,
- "z": "da62f736.168268",
+ "x": 1922.6388854980469,
+ "y": 3199.4164180755615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5ffeb69.0073248"
+ "86755db9.7d83f"
]
]
},
{
- "id": "5ffeb69.0073248",
+ "id": "86755db9.7d83f",
"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": 2053.750030517578,
- "y": 3028.7500562667847,
- "z": "da62f736.168268",
+ "x": 2217.638916015625,
+ "y": 3145.416718482971,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "47f50986.613b18",
+ "id": "133335da.d1bbaa",
"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": 1617.7500839233398,
- "y": 3170.7500133514404,
- "z": "da62f736.168268",
+ "x": 1781.6389694213867,
+ "y": 3287.416675567627,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "cc4b3d1c.b7b28",
+ "id": "a0533e6a.89e61",
"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": 1613.7502517700195,
- "y": 3227.7500143051147,
- "z": "da62f736.168268",
+ "x": 1777.6391372680664,
+ "y": 3344.4166765213013,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "38ac6d66.eb8bb2",
- "f36285fe.091f58"
+ "d29f14c4.2beeb8",
+ "3d6aa90a.1b02e6"
]
]
},
{
- "id": "38ac6d66.eb8bb2",
+ "id": "d29f14c4.2beeb8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1863.7500953674316,
- "y": 3217.750178337097,
- "z": "da62f736.168268",
+ "x": 2027.6389808654785,
+ "y": 3334.4168405532837,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b978449b.8564e8"
+ "8e9195f9.2c7a68"
]
]
},
{
- "id": "b978449b.8564e8",
+ "id": "8e9195f9.2c7a68",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2024.750244140625,
- "y": 3236.75,
- "z": "da62f736.168268",
+ "x": 2188.639129638672,
+ "y": 3353.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d8c014b9.fdde68",
- "3d535d79.d11522",
- "80ea1426.fb74e8"
+ "dbec3cb4.3579f",
+ "f755aa7.e876158",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "3d535d79.d11522",
+ "id": "f755aa7.e876158",
"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": 2190.75,
- "y": 3202.75,
- "z": "da62f736.168268",
+ "x": 2354.638885498047,
+ "y": 3319.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "d8c014b9.fdde68",
+ "id": "dbec3cb4.3579f",
"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": 2240.749801635742,
- "y": 3257.7499828338623,
- "z": "da62f736.168268",
+ "x": 2404.638687133789,
+ "y": 3374.416645050049,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "5fa9cd75.1642c4",
+ "id": "69a0577b.0915c8",
"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": 2238.7500762939453,
- "y": 3343.750470638275,
- "z": "da62f736.168268",
+ "x": 2402.638961791992,
+ "y": 3460.4171328544617,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "32e5c16b.e5d03e",
+ "id": "fa22ec90.e399d",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2219.7498626708984,
- "y": 3300.7502269744873,
- "z": "da62f736.168268",
+ "x": 2383.6387481689453,
+ "y": 3417.416889190674,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "3f7902a5.2af71e",
+ "id": "43e42fa1.89d73",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2022.7499542236328,
- "y": 3282.750409603119,
- "z": "da62f736.168268",
+ "x": 2186.6388397216797,
+ "y": 3399.4170718193054,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "32e5c16b.e5d03e",
- "5fa9cd75.1642c4"
+ "fa22ec90.e399d",
+ "69a0577b.0915c8"
]
]
},
{
- "id": "f36285fe.091f58",
+ "id": "3d6aa90a.1b02e6",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1864.7501678466797,
- "y": 3272.7502875328064,
- "z": "da62f736.168268",
+ "x": 2028.6390533447266,
+ "y": 3389.416949748993,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "3f7902a5.2af71e"
+ "43e42fa1.89d73"
]
]
},
{
- "id": "410f131a.e8d5cc",
+ "id": "9315bfdb.a2f6b",
"type": "execute",
"name": "read rrmpolicyratio list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_CUUP_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length '`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1601.7501068115234,
- "y": 3270.7499828338623,
- "z": "da62f736.168268",
+ "x": 1765.6389923095703,
+ "y": 3387.416645050049,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d8d2f80.b434408",
+ "id": "7bcfae2a.8d80b",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1539.7501983642578,
- "y": 3314.7500438690186,
- "z": "da62f736.168268",
+ "x": 1703.6390838623047,
+ "y": 3431.416706085205,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "3e6164e6.889c1c",
+ "id": "1f2613d5.3c5b6c",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1581.4166412353516,
- "y": 3365.0835399627686,
- "z": "da62f736.168268",
+ "x": 1745.3055267333984,
+ "y": 3481.750202178955,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "4d9b86f.66fa578"
+ "4ed20655.2841a8"
]
]
},
{
- "id": "4d9b86f.66fa578",
+ "id": "4ed20655.2841a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1780.4166793823242,
- "y": 3391.083480834961,
- "z": "da62f736.168268",
+ "x": 1944.305564880371,
+ "y": 3507.7501430511475,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "ce038fe2.e456",
- "519ec736.4a1068",
- "dd39b21f.bbf38",
- "8e54b571.b9af88",
- "5ca1f89e.93f5d8",
- "eda4c4e8.16ea58",
- "a13823ad.65203",
- "5f652628.9468d8"
+ "96d6c20a.f3dc3",
+ "35604442.22acbc",
+ "e0ad1a99.4afc98",
+ "c436bb12.fb3218",
+ "680e2356.45dadc",
+ "a2f2dac8.2bb8b8",
+ "a0d3e29.b99a22",
+ "7545b5bb.fec49c"
]
]
},
{
- "id": "4ab04fee.b55ac",
+ "id": "3c7beedb.e32b72",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2576.4165573120117,
- "y": 3625.083728790283,
- "z": "da62f736.168268",
+ "x": 2740.3054428100586,
+ "y": 3741.7503910064697,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "341834f5.774cfc"
+ "d35a8344.134aa"
]
]
},
{
- "id": "341834f5.774cfc",
+ "id": "d35a8344.134aa",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - CUUP RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2770.4167098999023,
- "y": 3655.0835456848145,
- "z": "da62f736.168268",
+ "x": 2934.305595397949,
+ "y": 3771.750207901001,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "eb6b252b.9b57a8",
+ "id": "c3e90459.cc53b8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2836.416528701782,
- "y": 3712.083423137665,
- "z": "da62f736.168268",
+ "x": 3000.305414199829,
+ "y": 3828.7500853538513,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "d2c89e1b.a4f7e",
+ "id": "fcc67fd8.ef1ad",
"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 removing RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2851.416648864746,
- "y": 3760.083423137665,
- "z": "da62f736.168268",
+ "x": 3015.305534362793,
+ "y": 3876.7500853538513,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "175e405e.e470d",
+ "id": "8e1e0f62.d4b88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2573.41707611084,
- "y": 3687.0833625793457,
- "z": "da62f736.168268",
+ "x": 2737.3059616088867,
+ "y": 3803.750024795532,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d2c89e1b.a4f7e",
- "eb6b252b.9b57a8"
+ "fcc67fd8.ef1ad",
+ "c3e90459.cc53b8"
]
]
},
{
- "id": "635ad14e.3580b",
+ "id": "2b3faeb4.a48ed2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2352.41658782959,
- "y": 3664.0833621025085,
- "z": "da62f736.168268",
+ "x": 2516.3054733276367,
+ "y": 3780.750024318695,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "175e405e.e470d"
+ "8e1e0f62.d4b88"
]
]
},
{
- "id": "9f52b9d7.0cd2f8",
+ "id": "9e05d876.aa5098",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1536.0834197998047,
- "y": 3823.4168615341187,
- "z": "da62f736.168268",
+ "x": 1699.9723052978516,
+ "y": 3940.083523750305,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "ac9e50a1.7fede",
- "ab5e7689.f41358",
- "3b93f05.3eb1b1",
- "9a1ff089.a405b"
+ "d25784cf.08f9d8",
+ "a79aaedd.650cb",
+ "7d8bd7ea.d3c8b8",
+ "bc9e3843.b4d938"
]
]
},
{
- "id": "ac9e50a1.7fede",
+ "id": "d25784cf.08f9d8",
"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 + '/restapi.configDB.updategNBCUUP.templatefile'`\" />\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": 1869.0833740234375,
- "y": 3824.416748046875,
- "z": "da62f736.168268",
+ "x": 2032.9722595214844,
+ "y": 3941.0834102630615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5d9840dd.4bc88",
- "8d0eecf8.83f93"
+ "3358e0fe.e1dbd",
+ "b415d4aa.816a48"
]
]
},
{
- "id": "5d9840dd.4bc88",
+ "id": "3358e0fe.e1dbd",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2156.0833740234375,
- "y": 3795.4169921875,
- "z": "da62f736.168268",
+ "x": 2319.9722595214844,
+ "y": 3912.0836544036865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "6c01dce1.f97fe4"
+ "8e8b459c.ef1818"
]
]
},
{
- "id": "8d0eecf8.83f93",
+ "id": "b415d4aa.816a48",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2105.0833740234375,
- "y": 3896.416748046875,
- "z": "da62f736.168268",
+ "x": 2268.9722595214844,
+ "y": 4013.0834102630615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "91bdfe82.c4b79"
+ "f4a060e7.e58e1"
]
]
},
{
- "id": "91bdfe82.c4b79",
+ "id": "f4a060e7.e58e1",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2227.0832443237305,
- "y": 3943.416739463806,
- "z": "da62f736.168268",
+ "x": 2390.9721298217773,
+ "y": 4060.0834016799927,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b718f495.923768"
+ "f31d2512.795d88"
]
]
},
{
- "id": "6c01dce1.f97fe4",
+ "id": "8e8b459c.ef1818",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2348.0833740234375,
- "y": 3911.416748046875,
- "z": "da62f736.168268",
+ "x": 2511.9722595214844,
+ "y": 4028.0834102630615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "bb2286c0.bc6398",
- "19e6162c.9ede7a",
- "80ea1426.fb74e8"
+ "5bb3484c.ee7918",
+ "ec6bbc89.9e9f6",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "b718f495.923768",
+ "id": "f31d2512.795d88",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 2367.0834884643555,
- "y": 3947.4168004989624,
- "z": "da62f736.168268",
+ "x": 2530.9723739624023,
+ "y": 4064.083462715149,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "bb2286c0.bc6398",
+ "id": "5bb3484c.ee7918",
"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": 2519.0830078125,
- "y": 3972.4168090820312,
- "z": "da62f736.168268",
+ "x": 2682.971893310547,
+ "y": 4089.083471298218,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "19e6162c.9ede7a",
+ "id": "ec6bbc89.9e9f6",
"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": 2514.0831756591797,
- "y": 3879.416736602783,
- "z": "da62f736.168268",
+ "x": 2677.9720611572266,
+ "y": 3996.0833988189697,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "5171c1e8.188f1",
+ "id": "76794f83.cd47d",
"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": 2557.0831756591797,
- "y": 4023.416736602783,
- "z": "da62f736.168268",
+ "x": 2720.9720611572266,
+ "y": 4140.08339881897,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "e3510d57.aaac7",
+ "id": "2fd9f56c.66bcea",
"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": 2562.083053588867,
- "y": 4118.416797637939,
- "z": "da62f736.168268",
+ "x": 2725.971939086914,
+ "y": 4235.083459854126,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "f269ec80.a0884",
+ "id": "8983cfa0.bd2f5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2391.0834197998047,
- "y": 4057.416736602783,
- "z": "da62f736.168268",
+ "x": 2554.9723052978516,
+ "y": 4174.08339881897,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e3510d57.aaac7",
- "5171c1e8.188f1",
- "80ea1426.fb74e8"
+ "2fd9f56c.66bcea",
+ "76794f83.cd47d",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "72f84ec8.0e571",
+ "id": "5dc273f7.d271ec",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - CUUP RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 2535.0834197998047,
- "y": 4165.416736602783,
- "z": "da62f736.168268",
+ "x": 2698.9723052978516,
+ "y": 4282.08339881897,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5a9ef1b4.c3885",
+ "id": "16ac4386.c47f7c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2369.0834197998047,
- "y": 4164.416736602783,
- "z": "da62f736.168268",
+ "x": 2532.9723052978516,
+ "y": 4281.08339881897,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "72f84ec8.0e571"
+ "5dc273f7.d271ec"
]
]
},
{
- "id": "5e2714ed.25585c",
+ "id": "710a2275.57653c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2188.0834197998047,
- "y": 4170.416492462158,
- "z": "da62f736.168268",
+ "x": 2351.9723052978516,
+ "y": 4287.083154678345,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5a9ef1b4.c3885"
+ "16ac4386.c47f7c"
]
]
},
{
- "id": "b1b6ad6a.6cde4",
+ "id": "b816bbbf.a9bc48",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2188.0834197998047,
- "y": 4060.416736602783,
- "z": "da62f736.168268",
+ "x": 2351.9723052978516,
+ "y": 4177.08339881897,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f269ec80.a0884"
+ "8983cfa0.bd2f5"
]
]
},
{
- "id": "ab5e7689.f41358",
+ "id": "a79aaedd.650cb",
"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-removeRRMPolicy-CUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-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": 1887.583511352539,
- "y": 4094.1669845581055,
- "z": "da62f736.168268",
+ "x": 2051.472396850586,
+ "y": 4210.833646774292,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b1b6ad6a.6cde4",
- "5e2714ed.25585c"
+ "b816bbbf.a9bc48",
+ "710a2275.57653c"
]
]
},
{
- "id": "c27385b1.743288",
+ "id": "1faf1601.2669fa",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 900.5001754760742,
- "y": 4095.5007286071777,
- "z": "da62f736.168268",
+ "x": 1064.389060974121,
+ "y": 4212.167390823364,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d44b3b7a.f9ae88",
- "f2a985c9.2fb6c8",
- "20dcee0d.5baaf2"
+ "2ff42930.53a7a6",
+ "a21f2124.e5ed3",
+ "d0a914ba.b40bb8"
]
]
},
{
- "id": "d44b3b7a.f9ae88",
+ "id": "2ff42930.53a7a6",
"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": 1229.5001754760742,
- "y": 4126.500728607178,
- "z": "da62f736.168268",
+ "x": 1393.389060974121,
+ "y": 4243.167390823364,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "f2a985c9.2fb6c8",
+ "id": "a21f2124.e5ed3",
"type": "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": 1187.5001602172852,
- "y": 4187.500728607178,
- "z": "da62f736.168268",
+ "x": 1351.389045715332,
+ "y": 4304.167390823364,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "20dcee0d.5baaf2",
+ "id": "d0a914ba.b40bb8",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1199.5002059936523,
- "y": 4257.500728607178,
- "z": "da62f736.168268",
+ "x": 1363.3890914916992,
+ "y": 4374.167390823364,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "58ad1116.577ab"
+ "4558ce70.982c6"
]
]
},
{
- "id": "58ad1116.577ab",
+ "id": "4558ce70.982c6",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1480.5001754760742,
- "y": 4258.5006980896,
- "z": "da62f736.168268",
+ "x": 1644.389060974121,
+ "y": 4375.167360305786,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "1a7dbcc4.fe8223",
- "37b7f8eb.9730a8",
- "d16e57f9.769c18",
- "6fcc7512.bb863c"
+ "8ca51e33.1c76f",
+ "322ebbf8.73f024",
+ "7457cf96.44126",
+ "5d860438.a120dc"
]
]
},
{
- "id": "1a7dbcc4.fe8223",
+ "id": "8ca51e33.1c76f",
"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": 1759.5,
- "y": 4254.5,
- "z": "da62f736.168268",
+ "x": 1923.3888854980469,
+ "y": 4371.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "37b7f8eb.9730a8",
+ "id": "322ebbf8.73f024",
"type": "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": 1732.5,
- "y": 4305.5,
- "z": "da62f736.168268",
+ "x": 1896.3888854980469,
+ "y": 4422.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d16e57f9.769c18",
+ "id": "7457cf96.44126",
"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": 1773.5,
- "y": 4354.5,
- "z": "da62f736.168268",
+ "x": 1937.3888854980469,
+ "y": 4471.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "6fcc7512.bb863c",
+ "id": "5d860438.a120dc",
"type": "for",
"name": "for cellDUList",
"xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1763.5,
- "y": 4398.5,
- "z": "da62f736.168268",
+ "x": 1927.3888854980469,
+ "y": 4515.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "20dcb9bd.e2a956",
- "4acc0f7.2614af"
+ "2bf11eaa.4763e2",
+ "172ed894.1d8ac7"
]
]
},
{
- "id": "72b1fbfe.4fa0d4",
+ "id": "4b99aec5.45498",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2790.25,
- "y": 4452.5,
- "z": "da62f736.168268",
+ "x": 2954.138885498047,
+ "y": 4569.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8f979011.b6e6b",
- "1b1d715f.a2381f",
- "f4a73761.2d9c48",
- "47f75bf6.11a604",
- "eb68c446.256e38",
- "5f2b45e8.09ecfc",
- "62ef4996.4a7668",
- "da885498.297d28",
- "5d56bd5.d8dea44",
- "6ecbc131.24be5",
- "ffa45991.9c2558",
- "4b70a51a.898acc"
+ "4445cd18.9600c4",
+ "872e480f.b465f8",
+ "f5d4c601.354688",
+ "11a0d679.90098a",
+ "f2dcbb4e.8038e8",
+ "726f7922.b45ba8",
+ "a10594b5.5c8fb8",
+ "b0e28d4e.4976b",
+ "b7827b8b.3a1708",
+ "8c35785a.ba3828",
+ "ef4ec23.31a6e4",
+ "f5f4e46a.0c8e38"
]
]
},
{
- "id": "da885498.297d28",
+ "id": "b0e28d4e.4976b",
"type": "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": 2985.25,
- "y": 4447.5,
- "z": "da62f736.168268",
+ "x": 3149.138885498047,
+ "y": 4564.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "62ef4996.4a7668",
+ "id": "a10594b5.5c8fb8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3013.25,
- "y": 4515.5,
- "z": "da62f736.168268",
+ "x": 3177.138885498047,
+ "y": 4632.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "69e311a3.9ebdf",
- "b5f8b77e.33dce8"
+ "95d9cd08.e7de8",
+ "a61d5125.dc085"
]
]
},
{
- "id": "69e311a3.9ebdf",
+ "id": "95d9cd08.e7de8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3221.25,
- "y": 4480.499755859375,
- "z": "da62f736.168268",
+ "x": 3385.138885498047,
+ "y": 4597.1664180755615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "32cc5bde.7c59e4"
+ "69b5d8b5.7904c8"
]
]
},
{
- "id": "b5f8b77e.33dce8",
+ "id": "a61d5125.dc085",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3216.2500495910645,
- "y": 4549.500324249268,
- "z": "da62f736.168268",
+ "x": 3380.1389350891113,
+ "y": 4666.166986465454,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f5bc4d2b.f7391"
+ "92f49b5d.cdaff8"
]
]
},
{
- "id": "32cc5bde.7c59e4",
+ "id": "69b5d8b5.7904c8",
"type": "execute",
"name": "generate terminate PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3541.25,
- "y": 4495.5,
- "z": "da62f736.168268",
+ "x": 3705.138885498047,
+ "y": 4612.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "8f979011.b6e6b",
+ "id": "4445cd18.9600c4",
"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 +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3010.2501525878906,
- "y": 4603.500244140625,
- "z": "da62f736.168268",
+ "x": 3174.1390380859375,
+ "y": 4720.1669063568115,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "47f75bf6.11a604",
+ "id": "11a0d679.90098a",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3065.250213623047,
- "y": 4668.500182151794,
- "z": "da62f736.168268",
+ "x": 3229.1390991210938,
+ "y": 4785.166844367981,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "eb68c446.256e38",
+ "id": "f2dcbb4e.8038e8",
"type": "execute",
"name": "prepare idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3038.2503967285156,
- "y": 4723.500184059143,
- "z": "da62f736.168268",
+ "x": 3202.1392822265625,
+ "y": 4840.16684627533,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5f2b45e8.09ecfc",
+ "id": "726f7922.b45ba8",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 3023.250198364258,
- "y": 4767.750683307648,
- "z": "da62f736.168268",
+ "x": 3187.1390838623047,
+ "y": 4884.417345523834,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "1b1d715f.a2381f",
+ "id": "872e480f.b465f8",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3024.000442504883,
- "y": 4812.000257492065,
- "z": "da62f736.168268",
+ "x": 3187.8893280029297,
+ "y": 4928.666919708252,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "f4a73761.2d9c48",
+ "id": "f5d4c601.354688",
"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/terminateRANSlice.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.sNSSAI`\"/>\n<parameter name=\"field8\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3025.249969482422,
- "y": 4912.50061416626,
- "z": "da62f736.168268",
+ "x": 3189.1388549804688,
+ "y": 5029.167276382446,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5d56bd5.d8dea44",
+ "id": "b7827b8b.3a1708",
"type": "execute",
"name": "terminate PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3082.25,
- "y": 4987.75,
- "z": "da62f736.168268",
+ "x": 3246.138885498047,
+ "y": 5104.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "de2f338a.d2994",
- "1ea231e0.81896e"
+ "f7556fcd.b1055",
+ "a60331c9.05575"
]
]
},
{
- "id": "1ea231e0.81896e",
+ "id": "a60331c9.05575",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3349.25,
- "y": 4887.75,
- "z": "da62f736.168268",
+ "x": 3513.138885498047,
+ "y": 5004.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "988fbcb0.6d2d6"
+ "885e3fb2.8834"
]
]
},
{
- "id": "de2f338a.d2994",
+ "id": "f7556fcd.b1055",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3348.25,
- "y": 4986.75,
- "z": "da62f736.168268",
+ "x": 3512.138885498047,
+ "y": 5103.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "67267243.a6959c"
+ "48a43a70.160724"
]
]
},
{
- "id": "988fbcb0.6d2d6",
+ "id": "885e3fb2.8834",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3507.250244140625,
- "y": 4835.75,
- "z": "da62f736.168268",
+ "x": 3671.139129638672,
+ "y": 4952.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "36c4ff38.15923",
- "c0468079.cd9c5",
- "80ea1426.fb74e8"
+ "e016f82d.0fc048",
+ "4100e640.65c688",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "67267243.a6959c",
+ "id": "48a43a70.160724",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3516.25,
- "y": 4983.750002622604,
- "z": "da62f736.168268",
+ "x": 3680.138885498047,
+ "y": 5100.416664838791,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "ca44f06c.103db"
+ "bec552fc.bfa94"
]
]
},
{
- "id": "ca44f06c.103db",
+ "id": "bec552fc.bfa94",
"type": "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 deleted - cellDU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 3662.2498779296875,
- "y": 4982.750244140625,
- "z": "da62f736.168268",
+ "x": 3826.1387634277344,
+ "y": 5099.4169063568115,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "36c4ff38.15923",
+ "id": "e016f82d.0fc048",
"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 deleting NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3678.2498779296875,
- "y": 4896.750061035156,
- "z": "da62f736.168268",
+ "x": 3842.1387634277344,
+ "y": 5013.416723251343,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "c0468079.cd9c5",
+ "id": "4100e640.65c688",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error deleting cellDU PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3673.25,
- "y": 4801.75,
- "z": "da62f736.168268",
+ "x": 3837.138885498047,
+ "y": 4918.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "6ecbc131.24be5",
+ "id": "8c35785a.ba3828",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2883.5,
- "y": 5260.75,
- "z": "da62f736.168268",
+ "x": 3047.388885498047,
+ "y": 5377.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8c1f5d.018670a",
- "d38412c4.b750b",
- "7ebb67d7.e11a28",
- "319beb3a.17f564",
- "85944896.465108",
- "d39913b1.553fb",
- "d494c905.5edd58",
- "d4e37be0.db9d78"
+ "12e635c0.94b48a",
+ "44ed566.8d86fa8",
+ "b4de1e89.82b6e",
+ "91d81242.ff2b8",
+ "315ed92f.8f67d6",
+ "78564a5d.1a40a4",
+ "b38ec85.557de38",
+ "9ff095d2.ab37b8"
]
]
},
{
- "id": "8c1f5d.018670a",
+ "id": "12e635c0.94b48a",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3105.5,
- "y": 5166.75,
- "z": "da62f736.168268",
+ "x": 3269.388885498047,
+ "y": 5283.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f751f532.34e6f8",
- "bfaa39dc.757718"
+ "428d1db9.79b144",
+ "4bd777f4.13f2a8"
]
]
},
{
- "id": "f751f532.34e6f8",
+ "id": "428d1db9.79b144",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3288.5002365112305,
- "y": 5104.7503299713135,
- "z": "da62f736.168268",
+ "x": 3452.3891220092773,
+ "y": 5221.4169921875,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "4690d563.53f8dc"
+ "f40b7948.cce758"
]
]
},
{
- "id": "4690d563.53f8dc",
+ "id": "f40b7948.cce758",
"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": 3588.5001068115234,
- "y": 5105.750452041626,
- "z": "da62f736.168268",
+ "x": 3752.3889923095703,
+ "y": 5222.4171142578125,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d38412c4.b750b",
+ "id": "44ed566.8d86fa8",
"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": 3140.5,
- "y": 5238.75,
- "z": "da62f736.168268",
+ "x": 3304.388885498047,
+ "y": 5355.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "7ebb67d7.e11a28",
+ "id": "b4de1e89.82b6e",
"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": 3105.5,
- "y": 5290.75,
- "z": "da62f736.168268",
+ "x": 3269.388885498047,
+ "y": 5407.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "319beb3a.17f564",
+ "id": "91d81242.ff2b8",
"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": 3140.5,
- "y": 5365.75,
- "z": "da62f736.168268",
+ "x": 3304.388885498047,
+ "y": 5482.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "33a3a8f9.d26368",
- "65e9c8d0.3d2a68"
+ "adf4c60.a7c5138",
+ "ef578ee8.b1e35"
]
]
},
{
- "id": "33a3a8f9.d26368",
+ "id": "adf4c60.a7c5138",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3387.5,
- "y": 5338.75,
- "z": "da62f736.168268",
+ "x": 3551.388885498047,
+ "y": 5455.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "ca92b939.e751a8"
+ "28d06dec.581572"
]
]
},
{
- "id": "65e9c8d0.3d2a68",
+ "id": "ef578ee8.b1e35",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3391.5,
- "y": 5417.75,
- "z": "da62f736.168268",
+ "x": 3555.388885498047,
+ "y": 5534.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "bc0581a1.c009b"
+ "23a1a2a3.4c62ee"
]
]
},
{
- "id": "ca92b939.e751a8",
+ "id": "28d06dec.581572",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3545.500244140625,
- "y": 5286.75,
- "z": "da62f736.168268",
+ "x": 3709.389129638672,
+ "y": 5403.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5e52674c.f49888",
- "32e9d73b.f2f8a8",
- "80ea1426.fb74e8"
+ "de4b3cb4.b5216",
+ "acd2a528.0b0078",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "32e9d73b.f2f8a8",
+ "id": "acd2a528.0b0078",
"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": 3711.5,
- "y": 5252.75,
- "z": "da62f736.168268",
+ "x": 3875.388885498047,
+ "y": 5369.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "5e52674c.f49888",
+ "id": "de4b3cb4.b5216",
"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": 3716.4998779296875,
- "y": 5347.750061035156,
- "z": "da62f736.168268",
+ "x": 3880.3887634277344,
+ "y": 5464.416723251343,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "bc0581a1.c009b",
+ "id": "23a1a2a3.4c62ee",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3536.750213623047,
- "y": 5352.500155448914,
- "z": "da62f736.168268",
+ "x": 3700.6390991210938,
+ "y": 5469.1668176651,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "41e8ef48.3d086",
- "8e9932e7.59ac9"
+ "c17f1a79.6a7608",
+ "6741f30b.d7331c"
]
]
},
{
- "id": "41e8ef48.3d086",
+ "id": "c17f1a79.6a7608",
"type": "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": 3703.000274658203,
- "y": 5392.500154495239,
- "z": "da62f736.168268",
+ "x": 3866.88916015625,
+ "y": 5509.166816711426,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "8e9932e7.59ac9",
+ "id": "6741f30b.d7331c",
"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": 3705.5005226135254,
- "y": 5428.000034332275,
- "z": "da62f736.168268",
+ "x": 3869.3894081115723,
+ "y": 5544.666696548462,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "85944896.465108",
+ "id": "315ed92f.8f67d6",
"type": "execute",
"name": "read rrmpolicyratio list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length '`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 3119.5,
- "y": 5419.75,
- "z": "da62f736.168268",
+ "x": 3283.388885498047,
+ "y": 5536.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d39913b1.553fb",
+ "id": "78564a5d.1a40a4",
"type": "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": 3059.5,
- "y": 5473.75,
- "z": "da62f736.168268",
+ "x": 3223.388885498047,
+ "y": 5590.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d494c905.5edd58",
+ "id": "b38ec85.557de38",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3664.5000381469727,
- "y": 5050.750089645386,
- "z": "da62f736.168268",
+ "x": 3828.3889236450195,
+ "y": 5167.416751861572,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f79d7ff8.a240b",
- "d3265604.69a8f8",
- "55db54a6.573fec",
- "5a2807b7.758d38",
- "1bfbc1d.981203e",
- "b6f94bdb.26c228",
- "96c4e243.6dd73",
- "5b8d9ef8.04c1",
- "4f528104.e7e38",
- "9cf9a3b.174fc6",
- "d8f7c33c.fcfed"
+ "634bf489.b3040c",
+ "159ece06.ffdd02",
+ "a88709b8.2aa6a8",
+ "498fe9d5.172a38",
+ "51c45b62.47d2c4",
+ "2582027c.6df7ee",
+ "754e9802.9ca7c8",
+ "666ba66d.e7bd28",
+ "a2c01564.2784e8",
+ "24ca79c1.9e86e6",
+ "325e0169.75ff7e"
]
]
},
{
- "id": "55db54a6.573fec",
+ "id": "a88709b8.2aa6a8",
"type": "set",
"name": "Calculate RRM Parms1",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
"comments": "",
- "x": 4108.489807128906,
- "y": 4831.072752952576,
- "z": "da62f736.168268",
+ "x": 4272.378692626953,
+ "y": 4947.739415168762,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "5a2807b7.758d38",
+ "id": "498fe9d5.172a38",
"type": "set",
"name": "Calculate RRM Parms2",
"xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4117.031066894531,
- "y": 4876.092772424221,
- "z": "da62f736.168268",
+ "x": 4280.919952392578,
+ "y": 4992.759434640408,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "1bfbc1d.981203e",
+ "id": "51c45b62.47d2c4",
"type": "set",
"name": "Calculate RRM Parms3",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
"comments": "",
- "x": 4107.031188964844,
- "y": 4931.0926503539085,
- "z": "da62f736.168268",
+ "x": 4270.920074462891,
+ "y": 5047.759312570095,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "b6f94bdb.26c228",
+ "id": "2582027c.6df7ee",
"type": "set",
"name": "Calculate RRM Parms4",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4107.031066894531,
- "y": 4982.092650413513,
- "z": "da62f736.168268",
+ "x": 4270.919952392578,
+ "y": 5098.7593126297,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "96c4e243.6dd73",
+ "id": "754e9802.9ca7c8",
"type": "set",
"name": "Calculate RRM Parms5",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
"comments": "",
- "x": 4095.0311889648438,
- "y": 5042.092772424221,
- "z": "da62f736.168268",
+ "x": 4258.920074462891,
+ "y": 5158.759434640408,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "5b8d9ef8.04c1",
+ "id": "666ba66d.e7bd28",
"type": "set",
"name": "Calculate RRM Parms6",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
"comments": "",
- "x": 4133.031066894531,
- "y": 5092.092772424221,
- "z": "da62f736.168268",
+ "x": 4296.919952392578,
+ "y": 5208.759434640408,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "4f528104.e7e38",
+ "id": "a2c01564.2784e8",
"type": "set",
"name": "Calculate RRM Parms7",
"xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
"comments": "",
- "x": 4120.031005859375,
- "y": 5162.093138694763,
- "z": "da62f736.168268",
+ "x": 4283.919891357422,
+ "y": 5278.75980091095,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "9cf9a3b.174fc6",
+ "id": "24ca79c1.9e86e6",
"type": "set",
"name": "calculation8",
"xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
"comments": "",
- "x": 4091.031005859375,
- "y": 5226.092162132263,
- "z": "da62f736.168268",
+ "x": 4254.919891357422,
+ "y": 5342.75882434845,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "d8f7c33c.fcfed",
+ "id": "325e0169.75ff7e",
"type": "set",
"name": "calculation9",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
"comments": "",
- "x": 4079.0315551757812,
- "y": 5277.092040061951,
- "z": "da62f736.168268",
+ "x": 4242.920440673828,
+ "y": 5393.758702278137,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "d3265604.69a8f8",
+ "id": "159ece06.ffdd02",
"type": "set",
"name": "calculation10",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
"comments": "",
- "x": 4054.4898681640625,
- "y": 5343.072508811951,
- "z": "da62f736.168268",
+ "x": 4218.378753662109,
+ "y": 5459.739171028137,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "f79d7ff8.a240b",
+ "id": "634bf489.b3040c",
"type": "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": 3880.4997940063477,
- "y": 5355.193815231323,
- "z": "da62f736.168268",
+ "x": 4044.3886795043945,
+ "y": 5471.86047744751,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d4e37be0.db9d78",
+ "id": "9ff095d2.ab37b8",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3100.75,
- "y": 5544.75,
- "z": "da62f736.168268",
+ "x": 3264.638885498047,
+ "y": 5661.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a71eb109.1a2a8"
+ "20d39fe.6a4076"
]
]
},
{
- "id": "a71eb109.1a2a8",
+ "id": "20d39fe.6a4076",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3321.75,
- "y": 5564.75,
- "z": "da62f736.168268",
+ "x": 3485.638885498047,
+ "y": 5681.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f7c7de35.f6dd",
- "478d81fe.50e29",
- "e85c75c9.5a5208",
- "734b37a6.ac7cf8",
- "3c1e8267.b4f8fe",
- "2fdf003a.ff7bd",
- "ee315155.36298",
- "778a736d.50fb1c"
+ "39858349.b73dac",
+ "ab6c8152.d016f",
+ "a3778dfc.3c17b",
+ "1dbf0a7e.210a96",
+ "5daf7f84.24d9d",
+ "f64e2531.bfe9d8",
+ "bb5ea2d5.54a8",
+ "2c3ebac3.2ff846"
]
]
},
{
- "id": "f7c7de35.f6dd",
+ "id": "39858349.b73dac",
"type": "set",
"name": "RRMPolicyRatio id",
"xml": "<set>\n<parameter name='tmp.cellDURRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />",
"comments": "",
- "x": 3598.7501525878906,
- "y": 5468.250279426575,
- "z": "da62f736.168268",
+ "x": 3762.6390380859375,
+ "y": 5584.916941642761,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "78448d12.dce7b4",
+ "id": "e7e90fb8.db687",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3915.750160217285,
- "y": 5767.000280380249,
- "z": "da62f736.168268",
+ "x": 4079.639045715332,
+ "y": 5883.666942596436,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9d9a69ac.9255f8"
+ "825d74b8.e0d108"
]
]
},
{
- "id": "9d9a69ac.9255f8",
+ "id": "825d74b8.e0d108",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4108.000228881836,
- "y": 5780.750280380249,
- "z": "da62f736.168268",
+ "x": 4271.889114379883,
+ "y": 5897.416942596436,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a8a9b00f.39d7"
+ "511b666a.0d43b8"
]
]
},
{
- "id": "a8a9b00f.39d7",
+ "id": "511b666a.0d43b8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - cellDU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 4305.500595092773,
- "y": 5771.75004196167,
- "z": "da62f736.168268",
+ "x": 4469.38948059082,
+ "y": 5888.416704177856,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "dd7413d3.b5b8",
+ "id": "a478b6ee.d92258",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing cellDU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4373.75,
- "y": 5799.749771118164,
- "z": "da62f736.168268",
+ "x": 4537.638885498047,
+ "y": 5916.416433334351,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "7c47cc13.b86254",
+ "id": "64d7d924.040e98",
"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 removing RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4378.7498779296875,
- "y": 5894.74983215332,
- "z": "da62f736.168268",
+ "x": 4542.638763427734,
+ "y": 6011.416494369507,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "8017e442.c8be18",
+ "id": "bdfeaafa.e54c48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4133.750244140625,
- "y": 5848.749771118164,
- "z": "da62f736.168268",
+ "x": 4297.639129638672,
+ "y": 5965.416433334351,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "7c47cc13.b86254",
- "dd7413d3.b5b8",
- "80ea1426.fb74e8"
+ "64d7d924.040e98",
+ "a478b6ee.d92258",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "b77e4296.a4ab5",
+ "id": "a22a04f6.640d18",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3914.75,
- "y": 5843.749771118164,
- "z": "da62f736.168268",
+ "x": 4078.638885498047,
+ "y": 5960.416433334351,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8017e442.c8be18"
+ "bdfeaafa.e54c48"
]
]
},
{
- "id": "ffa45991.9c2558",
+ "id": "ef4ec23.31a6e4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2836.2500915527344,
- "y": 5848.75009727478,
- "z": "da62f736.168268",
+ "x": 3000.1389770507812,
+ "y": 5965.416759490967,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d4b0d139.012c",
- "1321a256.82504e",
- "59b4ea74.9d06d4",
- "6b7c5e5f.28631"
+ "1a309b6e.c21b05",
+ "70d76cd.3265c94",
+ "490de212.f261fc",
+ "2798ec67.4d5e74"
]
]
},
{
- "id": "d4b0d139.012c",
+ "id": "1a309b6e.c21b05",
"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-removegNBDU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-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": 3221.7505073547363,
- "y": 5950.500043869019,
- "z": "da62f736.168268",
+ "x": 3385.639392852783,
+ "y": 6067.166706085205,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2eaf880c.477aa8",
- "2a7ba3a1.9e937c"
+ "4ee14cb4.fb81e4",
+ "31e628cb.3dc4a8"
]
]
},
{
- "id": "2eaf880c.477aa8",
+ "id": "4ee14cb4.fb81e4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3555.000087738037,
- "y": 5931.501020431519,
- "z": "da62f736.168268",
+ "x": 3718.888973236084,
+ "y": 6048.167682647705,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "1ae15191.d7ec1e"
+ "e1bf2b3d.d3b538"
]
]
},
{
- "id": "2a7ba3a1.9e937c",
+ "id": "31e628cb.3dc4a8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3486.500270843506,
- "y": 6018.750165939331,
- "z": "da62f736.168268",
+ "x": 3650.3891563415527,
+ "y": 6135.416828155518,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f8e3fdf8.76c46"
+ "4e838663.bb3798"
]
]
},
{
- "id": "f8e3fdf8.76c46",
+ "id": "4e838663.bb3798",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3621.249984741211,
- "y": 6009.750061035156,
- "z": "da62f736.168268",
+ "x": 3785.138870239258,
+ "y": 6126.416723251343,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "fafaca02.b0f628"
+ "fa9fe57c.0337a8"
]
]
},
{
- "id": "1ae15191.d7ec1e",
+ "id": "e1bf2b3d.d3b538",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3778.25,
- "y": 5943.75,
- "z": "da62f736.168268",
+ "x": 3942.138885498047,
+ "y": 6060.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "de84c38a.81b01",
- "e14e1e06.b838b",
- "80ea1426.fb74e8"
+ "ec043b60.9fe7e8",
+ "a6de0614.1f1bc8",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "e14e1e06.b838b",
+ "id": "a6de0614.1f1bc8",
"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": 3944.249801635742,
- "y": 5911.749988555908,
- "z": "da62f736.168268",
+ "x": 4108.138687133789,
+ "y": 6028.416650772095,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "fafaca02.b0f628",
+ "id": "fa9fe57c.0337a8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 3785.25,
- "y": 6015.75,
- "z": "da62f736.168268",
+ "x": 3949.138885498047,
+ "y": 6132.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "de84c38a.81b01",
+ "id": "ec043b60.9fe7e8",
"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": 3949.2496337890625,
- "y": 6004.750061035156,
- "z": "da62f736.168268",
+ "x": 4113.138519287109,
+ "y": 6121.416723251343,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "d8c801f9.936cf",
+ "id": "48ca54bd.5a394c",
"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": 3987.249801635742,
- "y": 6055.749988555908,
- "z": "da62f736.168268",
+ "x": 4151.138687133789,
+ "y": 6172.416650772095,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "ca66d998.89cb18",
+ "id": "f8f5aab8.7e3878",
"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": 3992.2496795654297,
- "y": 6150.750049591064,
- "z": "da62f736.168268",
+ "x": 4156.138565063477,
+ "y": 6267.416711807251,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "d169c987.bcc738",
+ "id": "ce49ccfd.1e8be",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3821.250045776367,
- "y": 6089.749988555908,
- "z": "da62f736.168268",
+ "x": 3985.138931274414,
+ "y": 6206.416650772095,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "ca66d998.89cb18",
- "d8c801f9.936cf",
- "80ea1426.fb74e8"
+ "f8f5aab8.7e3878",
+ "48ca54bd.5a394c",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "e882cfe7.3321c",
+ "id": "af583334.1944",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3618.250045776367,
- "y": 6092.749988555908,
- "z": "da62f736.168268",
+ "x": 3782.138931274414,
+ "y": 6209.416650772095,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d169c987.bcc738"
+ "ce49ccfd.1e8be"
]
]
},
{
- "id": "1321a256.82504e",
+ "id": "70d76cd.3265c94",
"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-removeRRMPolicy-DU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-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": 3189.0001525878906,
- "y": 6177.750418186188,
- "z": "da62f736.168268",
+ "x": 3352.8890380859375,
+ "y": 6294.417080402374,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e882cfe7.3321c",
- "4c10d770.1b7d38"
+ "af583334.1944",
+ "64e93d9a.136f54"
]
]
},
{
- "id": "4c10d770.1b7d38",
+ "id": "64e93d9a.136f54",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3618.250045776367,
- "y": 6202.749744415283,
- "z": "da62f736.168268",
+ "x": 3782.138931274414,
+ "y": 6319.41640663147,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a31a93f8.b478"
+ "db60e771.2ddaa8"
]
]
},
{
- "id": "a31a93f8.b478",
+ "id": "db60e771.2ddaa8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3799.250045776367,
- "y": 6196.749988555908,
- "z": "da62f736.168268",
+ "x": 3963.138931274414,
+ "y": 6313.416650772095,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "30cee1c0.58d61e"
+ "c990aeec.68c73"
]
]
},
{
- "id": "30cee1c0.58d61e",
+ "id": "c990aeec.68c73",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellDU RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 3965.250045776367,
- "y": 6197.749988555908,
- "z": "da62f736.168268",
+ "x": 4129.138931274414,
+ "y": 6314.416650772095,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "80ea1426.fb74e8",
+ "id": "64e216ec.bfca58",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4458.234375,
- "y": 2748.7500026226044,
- "z": "da62f736.168268",
+ "x": 4622.123260498047,
+ "y": 2865.416664838791,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d5cfb8cc.005b08",
- "cc239932.401b58",
- "800fdb34.47dc38"
+ "7e38f9a7.15f508",
+ "bab3223.d7f4fe",
+ "928303ce.8f62"
]
]
},
{
- "id": "d5cfb8cc.005b08",
+ "id": "7e38f9a7.15f508",
"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=\"`$terminateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$terminateRANSlice-input.action`\"/>\n",
"comments": "",
- "x": 5120.2353515625,
- "y": 2540.6496608257294,
- "z": "da62f736.168268",
+ "x": 5284.124237060547,
+ "y": 2657.316323041916,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "cc239932.401b58",
+ "id": "bab3223.d7f4fe",
"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": 5095.234237670898,
- "y": 2637.7503383159637,
- "z": "da62f736.168268",
+ "x": 5259.123123168945,
+ "y": 2754.4170005321503,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "800fdb34.47dc38",
+ "id": "928303ce.8f62",
"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='application/json' />\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\"/>",
"comments": "",
"outputs": 1,
- "x": 5010.23424911499,
- "y": 2734.7502162456512,
- "z": "da62f736.168268",
+ "x": 5174.123134613037,
+ "y": 2851.4168784618378,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a0207bd8.781f58",
- "862de34c.7e795"
+ "cd9528a9.ad16b8",
+ "e7a3b171.83c7a"
]
]
},
{
- "id": "a0207bd8.781f58",
+ "id": "cd9528a9.ad16b8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5236.234257698059,
- "y": 2711.750185251236,
- "z": "da62f736.168268",
+ "x": 5400.123143196106,
+ "y": 2828.4168474674225,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "3e04c446.bef78c"
+ "f8e2ec4a.dfccb"
]
]
},
{
- "id": "862de34c.7e795",
+ "id": "e7a3b171.83c7a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5226.234111785889,
- "y": 2819.750124692917,
- "z": "da62f736.168268",
+ "x": 5390.122997283936,
+ "y": 2936.4167869091034,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9ad7577a.1ae238"
+ "3a2d6420.fda44c"
]
]
},
{
- "id": "9ad7577a.1ae238",
+ "id": "3a2d6420.fda44c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5376.233898162842,
- "y": 2838.750185728073,
- "z": "da62f736.168268",
+ "x": 5540.122783660889,
+ "y": 2955.4168479442596,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "af6c61d2.e5e9e"
+ "fbfe90f9.d6f22"
]
]
},
{
- "id": "3e04c446.bef78c",
+ "id": "f8e2ec4a.dfccb",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5387.234127044678,
- "y": 2706.7503073215485,
- "z": "da62f736.168268",
+ "x": 5551.123012542725,
+ "y": 2823.416969537735,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "78222dba.6bb794"
+ "7ff5477a.f56748"
]
]
},
{
- "id": "78222dba.6bb794",
+ "id": "7ff5477a.f56748",
"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": 5553.233806610107,
- "y": 2709.750124692917,
- "z": "da62f736.168268",
+ "x": 5717.122692108154,
+ "y": 2826.4167869091034,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "af6c61d2.e5e9e",
+ "id": "fbfe90f9.d6f22",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 5540.233913421631,
- "y": 2844.750124692917,
- "z": "da62f736.168268",
+ "x": 5704.122798919678,
+ "y": 2961.4167869091034,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "2e6295f3.2b018a",
+ "id": "4f957f97.ee3ed",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 540.234375,
- "y": 4430.750002622604,
- "z": "da62f736.168268",
+ "x": 704.1232604980469,
+ "y": 4547.416664838791,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "23072140.00f5de",
- "65b2eda9.1d4d94",
- "92f41428.624cf8",
- "3c620604.a4247a"
+ "25656d42.c8b032",
+ "22d1099c.43c226",
+ "ca075afd.0fd808",
+ "3fe55660.cbf3ea"
]
]
},
{
- "id": "92f41428.624cf8",
+ "id": "ca075afd.0fd808",
"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": 820.2355194091797,
- "y": 4280.649487257004,
- "z": "da62f736.168268",
+ "x": 984.1244049072266,
+ "y": 4397.31614947319,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "23072140.00f5de",
+ "id": "25656d42.c8b032",
"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": 817.2343521118164,
- "y": 4434.750185728073,
- "z": "da62f736.168268",
+ "x": 981.1232376098633,
+ "y": 4551.41684794426,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "65b2eda9.1d4d94",
+ "id": "22d1099c.43c226",
"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='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "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": 686.2344512939453,
- "y": 4551.749890089035,
- "z": "da62f736.168268",
+ "x": 850.1233367919922,
+ "y": 4668.416552305222,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "936a79ac.2bc278",
- "a4da64a4.603d68"
+ "bc258777.679b68",
+ "e00f36fe.17df48"
]
]
},
{
- "id": "936a79ac.2bc278",
+ "id": "bc258777.679b68",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 851.2344512939453,
- "y": 4531.749889135361,
- "z": "da62f736.168268",
+ "x": 1015.1233367919922,
+ "y": 4648.416551351547,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "86dab673.02efc8"
+ "cff1dd31.41661"
]
]
},
{
- "id": "a4da64a4.603d68",
+ "id": "e00f36fe.17df48",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 843.2343444824219,
- "y": 4604.749839544296,
- "z": "da62f736.168268",
+ "x": 1007.1232299804688,
+ "y": 4721.416501760483,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "1b44685a.cd98d8"
+ "8ec407a6.4e6bf8"
]
]
},
{
- "id": "1b44685a.cd98d8",
+ "id": "8ec407a6.4e6bf8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 989.234188079834,
- "y": 4609.749948263168,
- "z": "da62f736.168268",
+ "x": 1153.1230735778809,
+ "y": 4726.416610479355,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "77500c56.740084"
+ "53cd4c85.4aa104"
]
]
},
{
- "id": "86dab673.02efc8",
+ "id": "cff1dd31.41661",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1000.2343521118164,
- "y": 4527.750024557114,
- "z": "da62f736.168268",
+ "x": 1164.1232376098633,
+ "y": 4644.4166867733,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "db7f3c8d.e7d95",
- "4ac257ce.8f9fd8"
+ "de73ae6a.42914",
+ "5c2df1a3.ca7d1"
]
]
},
{
- "id": "db7f3c8d.e7d95",
+ "id": "de73ae6a.42914",
"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": 1147.2339706420898,
- "y": 4538.749766111374,
- "z": "da62f736.168268",
+ "x": 1311.1228561401367,
+ "y": 4655.41642832756,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "77500c56.740084",
+ "id": "53cd4c85.4aa104",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 1150.2341079711914,
- "y": 4615.749840497971,
- "z": "da62f736.168268",
+ "x": 1314.1229934692383,
+ "y": 4732.416502714157,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "4ac257ce.8f9fd8",
+ "id": "5c2df1a3.ca7d1",
"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": 1134.7445793151855,
- "y": 4442.739257574081,
- "z": "da62f736.168268",
+ "x": 1298.6334648132324,
+ "y": 4559.405919790268,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "3c620604.a4247a",
+ "id": "3fe55660.cbf3ea",
"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": 839.573974609375,
- "y": 4370.73533987999,
- "z": "da62f736.168268",
+ "x": 1003.4628601074219,
+ "y": 4487.402002096176,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "531b3c4c.239274",
+ "id": "910f0fe5.fe248",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2241.75,
- "y": 1745.75,
- "z": "da62f736.168268",
+ "x": 2405.638885498047,
+ "y": 1862.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8c76c7c6.931d78"
+ "14202f76.802311"
]
]
},
{
- "id": "8c76c7c6.931d78",
+ "id": "14202f76.802311",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2434.739658355713,
- "y": 1745.7501220703125,
- "z": "da62f736.168268",
+ "x": 2598.6285438537598,
+ "y": 1862.416784286499,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "c6d79633.ad2cb8",
- "e9a26b46.1c9d38"
+ "114a5f29.b92ff1",
+ "42d91e90.23ffa"
]
]
},
{
- "id": "c6d79633.ad2cb8",
+ "id": "114a5f29.b92ff1",
"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": 2741.739845275879,
- "y": 1712.75022315979,
- "z": "da62f736.168268",
+ "x": 2905.628730773926,
+ "y": 1829.4168853759766,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e9a26b46.1c9d38",
+ "id": "42d91e90.23ffa",
"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": 2685.740245819092,
- "y": 1765.7504167556763,
- "z": "da62f736.168268",
+ "x": 2849.6291313171387,
+ "y": 1882.4170789718628,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "a0cd471f.d08e88",
+ "id": "f574854d.da65d8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2669.25,
- "y": 1129.75,
- "z": "da62f736.168268",
+ "x": 2833.138885498047,
+ "y": 1246.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "6a92e4ac.3bac4c",
- "9f8ca3ae.27ca3"
+ "f009c4f0.43b2a8",
+ "7d64db96.14d294"
]
]
},
{
- "id": "9f8ca3ae.27ca3",
+ "id": "7d64db96.14d294",
"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": 2920.250431060791,
- "y": 1152.75013256073,
- "z": "da62f736.168268",
+ "x": 3084.139316558838,
+ "y": 1269.4167947769165,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "6a92e4ac.3bac4c",
+ "id": "f009c4f0.43b2a8",
"type": "execute",
"name": "generate TERMINATEPLMNInfoList.ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2976.250030517578,
- "y": 1099.7499389648438,
- "z": "da62f736.168268",
+ "x": 3140.138916015625,
+ "y": 1216.4166011810303,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "77ae3105.e86af",
+ "id": "15d65f32.603751",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 2746.750015258789,
- "y": 2794.750343322754,
- "z": "da62f736.168268",
+ "x": 2910.638900756836,
+ "y": 2911.4170055389404,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "b7978555.9f2568",
+ "id": "8b1d30dd.fa96b",
"type": "execute",
"name": "generate terminatePLMNInfoList.TogNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2820.749725341797,
- "y": 2743.7500972747803,
- "z": "da62f736.168268",
+ "x": 2984.6386108398438,
+ "y": 2860.416759490967,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "f5886e6b.6deba",
+ "id": "2649f371.df5dbc",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2500.7496795654297,
- "y": 2781.7500886917114,
- "z": "da62f736.168268",
+ "x": 2664.6385650634766,
+ "y": 2898.416750907898,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b7978555.9f2568",
- "77ae3105.e86af"
+ "8b1d30dd.fa96b",
+ "15d65f32.603751"
]
]
},
{
- "id": "d8c60a0.19c8bf8",
+ "id": "e085629b.c369c",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1988.75,
- "y": 3126.75,
- "z": "da62f736.168268",
+ "x": 2152.638885498047,
+ "y": 3243.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "64569339.416cfc",
- "222e8a98.c66cf6"
+ "ded9797.34dca88",
+ "49310d49.69ecd4"
]
]
},
{
- "id": "64569339.416cfc",
+ "id": "ded9797.34dca88",
"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": 2290.7499351501465,
- "y": 3086.7500610351562,
- "z": "da62f736.168268",
+ "x": 2454.6388206481934,
+ "y": 3203.416723251343,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "222e8a98.c66cf6",
+ "id": "49310d49.69ecd4",
"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": 2234.7503356933594,
- "y": 3139.7502546310425,
- "z": "da62f736.168268",
+ "x": 2398.6392211914062,
+ "y": 3256.416916847229,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "dd4e6136.8f68f",
+ "id": "7575da63.dd4fa4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1761.25,
- "y": 3135.75,
- "z": "da62f736.168268",
+ "x": 1925.1388854980469,
+ "y": 3252.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d8c60a0.19c8bf8"
+ "e085629b.c369c"
]
]
},
{
- "id": "f5bc4d2b.f7391",
+ "id": "92f49b5d.cdaff8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3411.25,
- "y": 4564.75,
- "z": "da62f736.168268",
+ "x": 3575.138885498047,
+ "y": 4681.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a516311b.ffaaf",
- "3559c18d.38700e"
+ "399ca7bd.018e18",
+ "8be46c41.8c25c"
]
]
},
{
- "id": "a516311b.ffaaf",
+ "id": "399ca7bd.018e18",
"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.terminateSNSSAIEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3718.250030517578,
- "y": 4534.749938964844,
- "z": "da62f736.168268",
+ "x": 3882.138916015625,
+ "y": 4651.41660118103,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "3559c18d.38700e",
+ "id": "8be46c41.8c25c",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3662.250431060791,
- "y": 4587.75013256073,
- "z": "da62f736.168268",
+ "x": 3826.139316558838,
+ "y": 4704.4167947769165,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "bfaa39dc.757718",
+ "id": "4bd777f4.13f2a8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3308,
- "y": 5187.75,
- "z": "da62f736.168268",
+ "x": 3471.888885498047,
+ "y": 5304.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "7b3e4fe4.20a77"
+ "47171b0f.01aa44"
]
]
},
{
- "id": "7b3e4fe4.20a77",
+ "id": "47171b0f.01aa44",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3475.000232696533,
- "y": 5185.9995975494385,
- "z": "da62f736.168268",
+ "x": 3638.88911819458,
+ "y": 5302.666259765625,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "47dde507.4c04ec",
- "4eb86ae5.690454"
+ "b563af73.92284",
+ "52090741.a98b48"
]
]
},
{
- "id": "47dde507.4c04ec",
+ "id": "b563af73.92284",
"type": "execute",
"name": "generate getRRMPolicyRatio.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": 3722.0000495910645,
- "y": 5152.9995975494385,
- "z": "da62f736.168268",
+ "x": 3885.8889350891113,
+ "y": 5269.666259765625,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "4eb86ae5.690454",
+ "id": "52090741.a98b48",
"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": 3665.0005378723145,
- "y": 5213.999963760376,
- "z": "da62f736.168268",
+ "x": 3828.8894233703613,
+ "y": 5330.6666259765625,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "4a14d590.3663ec",
+ "id": "fa8b103b.c90c4",
"type": "comment",
"name": "terminateRANSliceInstance/instantiateRANSliceModifyDeallocate",
"info": "",
"comments": "",
- "x": 764.0000286102295,
- "y": 20,
- "z": "da62f736.168268",
+ "x": 927.8889141082764,
+ "y": 136.66666221618652,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "d74945f1.537f58",
+ "id": "7fa621ae.c91f3",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$terminate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$terminate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$terminate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$terminate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$terminate-r-a-n-slice-input.payload`\"/>",
"comments": "",
"outputs": 1,
- "x": 594.2499923706055,
- "y": 122.24998426437378,
- "z": "da62f736.168268",
+ "x": 758.1388778686523,
+ "y": 238.9166464805603,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "1a07170f.9b8cb9",
+ "id": "b7f191d.9954e7",
"type": "set",
"name": "set default status value",
"xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of terminateRANSice RPC' />",
"comments": "",
- "x": 643.2497482299805,
- "y": 170.25000143051147,
- "z": "da62f736.168268",
+ "x": 807.1386337280273,
+ "y": 286.916663646698,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "8d1aec81.1c96c",
+ "id": "485b1e79.bbde2",
"type": "execute",
"name": "execute jsonStringToCtx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='terminate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
"comments": "",
"outputs": 1,
- "x": 643.2497482299805,
- "y": 211.24995183944702,
- "z": "da62f736.168268",
+ "x": 807.1386337280273,
+ "y": 327.91661405563354,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5594448d.f5e4ec"
+ "3d0c87b9.c409a8"
]
]
},
{
- "id": "a440f467.164788",
+ "id": "30294ae6.eaaeb6",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 605.2497253417969,
- "y": 255.23954343795776,
- "z": "da62f736.168268",
+ "x": 769.1386108398438,
+ "y": 371.9062056541443,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "535f16f4.b6d608",
+ "id": "941bdbd9.3f4b08",
"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": 625.2497100830078,
- "y": 296.2499089241028,
- "z": "da62f736.168268",
+ "x": 789.1385955810547,
+ "y": 412.9165711402893,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "406ee76f.a28dd8",
+ "id": "7597a7a3.d53198",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 636.2497787475586,
- "y": 365.99999046325684,
- "z": "da62f736.168268",
+ "x": 800.1386642456055,
+ "y": 482.66665267944336,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5594448d.f5e4ec",
+ "id": "3d0c87b9.c409a8",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 928.4997406005859,
- "y": 274.4999785423279,
- "z": "da62f736.168268",
+ "x": 1092.3886260986328,
+ "y": 391.1666407585144,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d7e6a184.602a7"
+ "d21bad35.2f372"
]
]
},
{
- "id": "d7e6a184.602a7",
+ "id": "d21bad35.2f372",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1108.4999084472656,
- "y": 268.4999785423279,
- "z": "da62f736.168268",
+ "x": 1272.3887939453125,
+ "y": 385.1666407585144,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2bb70554.5f8b9a",
- "89346eeb.4233c",
- "d7f994eb.1d62c8"
+ "faedc62b.fa4868",
+ "b34d2337.c36bb",
+ "36a4dafe.d19156"
]
]
},
{
- "id": "2bb70554.5f8b9a",
+ "id": "faedc62b.fa4868",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1320.9999389648438,
- "y": 267.4999835193157,
- "z": "da62f736.168268",
+ "x": 1484.8888244628906,
+ "y": 384.16664573550224,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "89346eeb.4233c",
+ "id": "b34d2337.c36bb",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfileId`\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1317.749912261963,
- "y": 309.0000104904175,
- "z": "da62f736.168268",
+ "x": 1481.6387977600098,
+ "y": 425.666672706604,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d7f994eb.1d62c8",
+ "id": "36a4dafe.d19156",
"type": "switchNode",
"name": "check action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`==deallocate'>",
"comments": "",
"outputs": 1,
- "x": 1328.5003051757812,
- "y": 202.74999809265137,
- "z": "da62f736.168268",
+ "x": 1492.3891906738281,
+ "y": 319.4166603088379,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "cb26292c.0cd2c8",
- "18173db6.ed0872"
+ "a572b20.72c925",
+ "b0df7991.61e8d8"
]
]
},
{
- "id": "cb26292c.0cd2c8",
+ "id": "a572b20.72c925",
"type": "success",
"name": "terminate",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1518.5000076293945,
- "y": 233.50000524520874,
- "z": "da62f736.168268",
+ "x": 1682.3888931274414,
+ "y": 350.16666746139526,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e26b83fd.85f54"
+ "9a4a274d.d94778"
]
]
},
{
- "id": "e26b83fd.85f54",
+ "id": "9a4a274d.d94778",
"type": "execute",
"name": "read sNSSAI from input",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNSSAI' />\n\t<parameter name='source' value=\"`$payloadJson.input.NSSAI`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1786.7500076293945,
- "y": 231.50001192092896,
- "z": "da62f736.168268",
+ "x": 1950.6388931274414,
+ "y": 348.1666741371155,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "217e5011.465e6",
+ "id": "e21c06e4.206928",
"type": "execute",
"name": "read sNSSAI from sliceProfile",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNSSAI' />\n\t<parameter name='source' value=\"`$payloadJson.input.sliceProfile.NSSAI`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1797.5000381469727,
- "y": 300.50000047683716,
- "z": "da62f736.168268",
+ "x": 1961.3889236450195,
+ "y": 417.1666626930237,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "18173db6.ed0872",
+ "id": "b0df7991.61e8d8",
"type": "failure",
"name": "modify-deallocate",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1545.5000076293945,
- "y": 304.50000047683716,
- "z": "da62f736.168268",
+ "x": 1709.3888931274414,
+ "y": 421.1666626930237,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "217e5011.465e6"
+ "e21c06e4.206928"
]
]
},
{
- "id": "331ef215.bbe70e",
+ "id": "9cee919c.bea0b",
"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": 585.7499923706055,
- "y": 617.2500238418579,
- "z": "da62f736.168268",
+ "x": 749.6388778686523,
+ "y": 733.9166860580444,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "2bef0202.a1c14e",
+ "id": "ba93432d.8ae6f",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 556.7500228881836,
- "y": 679.0000486373901,
- "z": "da62f736.168268",
+ "x": 720.6389083862305,
+ "y": 795.6667108535767,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "7a08dec6.783c6",
+ "id": "b2d5bb29.9e1f58",
"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": 621.7500076293945,
- "y": 738.750002861023,
- "z": "da62f736.168268",
+ "x": 785.6388931274414,
+ "y": 855.4166650772095,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "c50ddf2a.0f482",
+ "id": "f014e0f.8062b2",
"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": 574.75,
- "y": 796.7500514984131,
- "z": "da62f736.168268",
+ "x": 738.6388854980469,
+ "y": 913.4167137145996,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "4a173bea.dab424",
+ "id": "35f03911.133576",
"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": 568.0000076293945,
- "y": 856.000114440918,
- "z": "da62f736.168268",
+ "x": 731.8888931274414,
+ "y": 972.6667766571045,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "418b9d9d.e0f1e4",
+ "id": "92345751.f84618",
"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": 568.0000610351562,
- "y": 906.9999923706055,
- "z": "da62f736.168268",
+ "x": 731.8889465332031,
+ "y": 1023.666654586792,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "9a10e123.7e743",
+ "id": "926f95e.bc62b68",
"type": "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.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 564.9935302734375,
- "y": 963.9935073852539,
- "z": "da62f736.168268",
+ "x": 728.8824157714844,
+ "y": 1080.6601696014404,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e0692478.040118",
+ "id": "d38ca491.690178",
"type": "execute",
"name": "generate getNearRTRICById URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICById`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICById.url\"/>\n <parameter name=\"target\" value=\"{nearRTRICId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1041.7500762939453,
- "y": 724.5000381469727,
- "z": "da62f736.168268",
+ "x": 1205.6389617919922,
+ "y": 841.1667003631592,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "c224bf70.f8698",
+ "id": "8318ccb3.e2df6",
"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/terminateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for NearRTRICId\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICById.url`\" />\n<parameter name='field3' value=\"`$nearRTRICId`\" />",
"comments": "",
"outputs": 1,
- "x": 1037.7500305175781,
- "y": 774.500114440918,
- "z": "da62f736.168268",
+ "x": 1201.638916015625,
+ "y": 891.1667766571045,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "feae2bb9.c89528",
+ "id": "2c07f0f9.fb597",
"type": "execute",
"name": "Get nearRTRIC for nearRTRICId",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICById.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNearRTRICById-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": 1036.7501373291016,
- "y": 817.5002365112305,
- "z": "da62f736.168268",
+ "x": 1200.6390228271484,
+ "y": 934.166898727417,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e88645a8.3117e8",
- "735acccb.71f914"
+ "ced9eac3.be2828",
+ "e6b6fe08.ea73d"
]
]
},
{
- "id": "e88645a8.3117e8",
+ "id": "ced9eac3.be2828",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1312.5,
- "y": 814.5,
- "z": "da62f736.168268",
+ "x": 1476.3888854980469,
+ "y": 931.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "61015ff6.5a356"
+ "35a5fa3c.604ff6"
]
]
},
{
- "id": "735acccb.71f914",
+ "id": "e6b6fe08.ea73d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1306.5000457763672,
- "y": 874.4999160766602,
- "z": "da62f736.168268",
+ "x": 1470.388931274414,
+ "y": 991.1665782928467,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "44fc6120.e168e"
+ "57c5d9c4.661078"
]
]
},
{
- "id": "61015ff6.5a356",
+ "id": "35a5fa3c.604ff6",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1482.1668853759766,
- "y": 805.8334016799927,
- "z": "da62f736.168268",
+ "x": 1646.0557708740234,
+ "y": 922.5000638961792,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "fa6281d0.77d53",
- "80ea1426.fb74e8"
+ "90069086.9bf3d",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "fa6281d0.77d53",
+ "id": "90069086.9bf3d",
"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": 1686.499948501587,
- "y": 766.6110763549805,
- "z": "da62f736.168268",
+ "x": 1850.3888339996338,
+ "y": 883.277738571167,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "5f8f298a.79e518",
+ "id": "6a0bff9f.e783a",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNearRTRICById-configdb-response`\"/>",
"comments": "",
"outputs": 1,
- "x": 1699.499740600586,
- "y": 820.5000152587891,
- "z": "da62f736.168268",
+ "x": 1863.3886260986328,
+ "y": 937.1666774749756,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "8b60105d.9075b",
+ "id": "dc10964c.5ef7f8",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1695.2778816223145,
- "y": 891.5000228881836,
- "z": "da62f736.168268",
+ "x": 1859.1667671203613,
+ "y": 1008.1666851043701,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "44fc6120.e168e",
+ "id": "57c5d9c4.661078",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1476.499942779541,
- "y": 875.5000314712524,
- "z": "da62f736.168268",
+ "x": 1640.388828277588,
+ "y": 992.166693687439,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8b60105d.9075b",
- "5f8f298a.79e518"
+ "dc10964c.5ef7f8",
+ "6a0bff9f.e783a"
]
]
},
{
- "id": "efb82a40.58c198",
+ "id": "8045c217.a14b",
"type": "execute",
"name": "remove sNSSAI from context",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$getNearRTRICById-configdb-response`\" />\n<parameter name=\"value\" value=\"`$getNearRTRICById-configdb-response.pLMNInfoList[0].sNSSAI.sNSSAI`\" />",
"comments": "",
"outputs": 1,
- "x": 1023.3056182861328,
- "y": 956.6945896148682,
- "z": "da62f736.168268",
+ "x": 1187.1945037841797,
+ "y": 1073.3612518310547,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "63802b92.24eaa4",
+ "id": "dcc1e616.a66a58",
"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": 2079.277587890625,
- "y": 743.22216796875,
- "z": "da62f736.168268",
+ "x": 2243.166473388672,
+ "y": 859.8888301849365,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "bafc3e6d.cdf73",
+ "id": "b7aab5d6.a5d488",
"type": "set",
"name": "Read RRMPolicy Member List Length",
"xml": "<set>\n<parameter name='tmp.NRCellCURRMPolicyMembersLength' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />",
"comments": "",
- "x": 2542.277618408203,
- "y": 2150.0553970336914,
- "z": "da62f736.168268",
+ "x": 2706.16650390625,
+ "y": 2266.722059249878,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "71c76952.045908",
+ "id": "cac94f43.7988e",
"type": "for",
"name": "for each rrmpolicyMember",
"xml": "<for index='idcu-rrm1' start='0' end='`$tmp.NRCellCURRMPolicyMembersLength`' >\n",
"comments": "",
"outputs": 1,
- "x": 2523.249801635742,
- "y": 2192.8332600593567,
- "z": "da62f736.168268",
+ "x": 2687.138687133789,
+ "y": 2309.499922275543,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "60d29958.728538"
+ "17d93ed6.5e1c41"
]
]
},
{
- "id": "60d29958.728538",
+ "id": "17d93ed6.5e1c41",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2739.916603088379,
- "y": 2188.944404602051,
- "z": "da62f736.168268",
+ "x": 2903.805488586426,
+ "y": 2305.6110668182373,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a8757573.18a648",
- "dc93363f.a07058",
- "999de8b3.682778",
- "ca37691e.a8f2f8",
- "73616042.242eb"
+ "80a219a9.cb4fa8",
+ "1c636d7a.76bbd3",
+ "cfe4eb87.f9ce98",
+ "16d7a78b.89b958",
+ "61fb2172.2e08a"
]
]
},
{
- "id": "a8757573.18a648",
+ "id": "80a219a9.cb4fa8",
"type": "switchNode",
"name": "if length > 0 ",
"xml": "<switch test='`$tmp.NRCellCURRMPolicyMembersLeangth`>0'>\n",
"comments": "",
"outputs": 1,
- "x": 2889.083595275879,
- "y": 2154.083083152771,
- "z": "da62f736.168268",
+ "x": 3052.972480773926,
+ "y": 2270.7497453689575,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2ebd17cd.068208",
- "4f120937.7221b8"
+ "90b11368.b8378",
+ "94d76e54.f4b62"
]
]
},
{
- "id": "2ebd17cd.068208",
+ "id": "90b11368.b8378",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3040.750011444092,
- "y": 2129.6384811401367,
- "z": "da62f736.168268",
+ "x": 3204.6388969421387,
+ "y": 2246.3051433563232,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f6e50d.7c92caf"
+ "928e9705.a89d38"
]
]
},
{
- "id": "f6e50d.7c92caf",
+ "id": "928e9705.a89d38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3207.4164695739746,
- "y": 2129.638940811157,
- "z": "da62f736.168268",
+ "x": 3371.3053550720215,
+ "y": 2246.3056030273438,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9a545b68.a528b8"
+ "c8662394.eae76"
]
]
},
{
- "id": "9a545b68.a528b8",
+ "id": "c8662394.eae76",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3055.194351196289,
- "y": 2008.5276763439178,
- "z": "da62f736.168268",
+ "x": 3219.083236694336,
+ "y": 2125.1943385601044,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f87c06c5.c56f98",
- "150946ef.2d4b89"
+ "e677db79.580d78",
+ "dd2ac7e6.9925a8"
]
]
},
{
- "id": "f87c06c5.c56f98",
+ "id": "e677db79.580d78",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3298.528091430664,
- "y": 2024.4163551330566,
- "z": "da62f736.168268",
+ "x": 3462.416976928711,
+ "y": 2141.083017349243,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "92abe500.2af8e8"
+ "5c1ef2cf.2bc89c"
]
]
},
{
- "id": "150946ef.2d4b89",
+ "id": "dd2ac7e6.9925a8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3289.3716011047363,
- "y": 2064.8606386184692,
- "z": "da62f736.168268",
+ "x": 3453.260486602783,
+ "y": 2181.5273008346558,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "bfcddc71.1ead4"
+ "3feb197e.7eee96"
]
]
},
{
- "id": "92abe500.2af8e8",
+ "id": "5c1ef2cf.2bc89c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3479.9165115356445,
- "y": 2025.7499551773071,
- "z": "da62f736.168268",
+ "x": 3643.8053970336914,
+ "y": 2142.4166173934937,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "6cec7e83.a7b4a"
+ "9ad9b7f2.be01a8"
]
]
},
{
- "id": "bfcddc71.1ead4",
+ "id": "3feb197e.7eee96",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3471.027587890625,
- "y": 2067.97199344635,
- "z": "da62f736.168268",
+ "x": 3634.916473388672,
+ "y": 2184.6386556625366,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "7a1f7a9.f8d7a84",
- "d3d30d71.6990e"
+ "71cc87aa.8b2aa8",
+ "cf5f7048.c50b9"
]
]
},
{
- "id": "6cec7e83.a7b4a",
+ "id": "9ad9b7f2.be01a8",
"type": "execute",
"name": "delete RRMPolicyRatio NRCellCU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3765.194221496582,
- "y": 2022.9722328186035,
- "z": "da62f736.168268",
+ "x": 3929.083106994629,
+ "y": 2139.63889503479,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "7a1f7a9.f8d7a84",
+ "id": "71cc87aa.8b2aa8",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3776.3054809570312,
- "y": 2066.305594444275,
- "z": "da62f736.168268",
+ "x": 3940.194366455078,
+ "y": 2182.9722566604614,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d3d30d71.6990e",
+ "id": "cf5f7048.c50b9",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3700.7497024536133,
- "y": 2101.8610763549805,
- "z": "da62f736.168268",
+ "x": 3864.63858795166,
+ "y": 2218.527738571167,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "4f120937.7221b8",
+ "id": "94d76e54.f4b62",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3044.361053466797,
- "y": 2182.9721145629883,
- "z": "da62f736.168268",
+ "x": 3208.2499389648438,
+ "y": 2299.638776779175,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "89f52e2a.ded3"
+ "43619232.8fe1fc"
]
]
},
{
- "id": "89f52e2a.ded3",
+ "id": "43619232.8fe1fc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3230.0281372070312,
- "y": 2171.3054332733154,
- "z": "da62f736.168268",
+ "x": 3393.917022705078,
+ "y": 2287.972095489502,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "52f28f28.d8a43",
- "7deb574e.5b4c58"
+ "7b60a95a.311d38",
+ "4dd7b0ec.5f578"
]
]
},
{
- "id": "52f28f28.d8a43",
+ "id": "7b60a95a.311d38",
"type": "set",
"name": "Read RRMPolicyMember-sNSSA",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].sNSSAI'`\" />",
"comments": "",
- "x": 3522.417106628418,
- "y": 2135.194746017456,
- "z": "da62f736.168268",
+ "x": 3686.305992126465,
+ "y": 2251.8614082336426,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "7deb574e.5b4c58",
+ "id": "4dd7b0ec.5f578",
"type": "switchNode",
"name": "find matching RRMPolicyMember",
"xml": "<switch test='`$tmp.RRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 3521.3055419921875,
- "y": 2175.1942405700684,
- "z": "da62f736.168268",
+ "x": 3685.1944274902344,
+ "y": 2291.860902786255,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "33cc883a.76c308"
+ "aeb12330.5d927"
]
]
},
{
- "id": "33cc883a.76c308",
+ "id": "aeb12330.5d927",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3752.138885498047,
- "y": 2179.6386184692383,
- "z": "da62f736.168268",
+ "x": 3916.0277709960938,
+ "y": 2296.305280685425,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9c142fa4.cb9b6"
+ "b5e8a0ad.669d3"
]
]
},
{
- "id": "9c142fa4.cb9b6",
+ "id": "b5e8a0ad.669d3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3975.749725341797,
- "y": 2176.3053665161133,
- "z": "da62f736.168268",
+ "x": 4139.638610839844,
+ "y": 2292.9720287323,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "c2abc7a3.b36fb8",
- "9babc976.805408",
- "dfa38a67.64c448"
+ "182e3e07.d731f2",
+ "b41b6ede.e30bc",
+ "b0c9ebb0.f7a748"
]
]
},
{
- "id": "c2abc7a3.b36fb8",
+ "id": "182e3e07.d731f2",
"type": "set",
"name": "Read RRMPolicyMember-id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].idx'`\" />",
"comments": "",
- "x": 4241.416458129883,
- "y": 2144.0832529067993,
- "z": "da62f736.168268",
+ "x": 4405.30534362793,
+ "y": 2260.749915122986,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "e20de155.a2c4d",
+ "id": "c37eaedd.ad4e7",
"type": "execute",
"name": "generate deleteRRMPolicyMember.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4770.860374450684,
- "y": 2236.3054523468018,
- "z": "da62f736.168268",
+ "x": 4934.7492599487305,
+ "y": 2352.9721145629883,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "9babc976.805408",
+ "id": "b41b6ede.e30bc",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 4198.638465881348,
- "y": 2239.6389179229736,
- "z": "da62f736.168268",
+ "x": 4362.5273513793945,
+ "y": 2356.30558013916,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "10644ed4.744fb1",
- "7e6e7feb.c50cd"
+ "503f844f.64c01c",
+ "7161c9.ab814e38"
]
]
},
{
- "id": "10644ed4.744fb1",
+ "id": "503f844f.64c01c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4441.972526550293,
- "y": 2238.860941886902,
- "z": "da62f736.168268",
+ "x": 4605.86141204834,
+ "y": 2355.5276041030884,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e20de155.a2c4d"
+ "c37eaedd.ad4e7"
]
]
},
{
- "id": "7e6e7feb.c50cd",
+ "id": "7161c9.ab814e38",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4432.815940856934,
- "y": 2290.4163360595703,
- "z": "da62f736.168268",
+ "x": 4596.7048263549805,
+ "y": 2407.082998275757,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f875f1bd.3b7b3"
+ "88b74872.c635b8"
]
]
},
{
- "id": "1e1626e1.1a2b59",
+ "id": "f6f7cf4d.7b0e",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4900.027503967285,
- "y": 2281.8613777160645,
- "z": "da62f736.168268",
+ "x": 5063.916389465332,
+ "y": 2398.528039932251,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "38fa3cb1.cbb0c4",
+ "id": "4767a964.7b9188",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 4820.0272216796875,
- "y": 2340.7497940063477,
- "z": "da62f736.168268",
+ "x": 4983.916107177734,
+ "y": 2457.416456222534,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "f875f1bd.3b7b3",
+ "id": "88b74872.c635b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4599.749794006348,
- "y": 2287.9721698760986,
- "z": "da62f736.168268",
+ "x": 4763.6386795043945,
+ "y": 2404.638832092285,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "1e1626e1.1a2b59",
- "38fa3cb1.cbb0c4"
+ "f6f7cf4d.7b0e",
+ "4767a964.7b9188"
]
]
},
{
- "id": "54cca329.31500c",
+ "id": "57aa1331.9d81bc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2469.3609352111816,
- "y": 2297.139139175415,
- "z": "da62f736.168268",
+ "x": 2633.2498207092285,
+ "y": 2413.8058013916016,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "14019172.5d29bf",
+ "id": "e85a3a4.22a94c8",
"type": "execute",
"name": "Terminate NRCellCU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellCU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2564.1387329101562,
- "y": 2339.1389560699463,
- "z": "da62f736.168268",
+ "x": 2728.027618408203,
+ "y": 2455.805618286133,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "fd2b757b.cfa308",
- "c1535c1f.fe413"
+ "dd522b09.1e1be8",
+ "3f291ef9.746d92"
]
]
},
{
- "id": "fd2b757b.cfa308",
+ "id": "dd522b09.1e1be8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2849.8888359069824,
- "y": 2384.888925552368,
- "z": "da62f736.168268",
+ "x": 3013.7777214050293,
+ "y": 2501.5555877685547,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8f4764cd.4ca168"
+ "ff459b9.377d368"
]
]
},
{
- "id": "8f4764cd.4ca168",
+ "id": "ff459b9.377d368",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3053.3888931274414,
- "y": 2387.3889265060425,
- "z": "da62f736.168268",
+ "x": 3217.2777786254883,
+ "y": 2504.055588722229,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a3763fa2.90b7c"
+ "50a7a704.b2d218"
]
]
},
{
- "id": "a3763fa2.90b7c",
+ "id": "50a7a704.b2d218",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Deleted - cellCU RRMpolicyRatio/RRMPolicyMember\"/>",
"comments": "",
"outputs": 1,
- "x": 3280.8886528015137,
- "y": 2294.6391382217407,
- "z": "da62f736.168268",
+ "x": 3444.7775382995605,
+ "y": 2411.3058004379272,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "1d85be64.4c60b2",
+ "id": "8ace21ab.b1133",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Removing cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3294.138641357422,
- "y": 2337.6388626098633,
- "z": "da62f736.168268",
+ "x": 3458.0275268554688,
+ "y": 2454.30552482605,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "e3de62ba.7799a",
+ "id": "14c40d9e.470832",
"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 removing NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3299.1385192871094,
- "y": 2432.6389236450195,
- "z": "da62f736.168268",
+ "x": 3463.0274047851562,
+ "y": 2549.305585861206,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "2d5293a6.e50e3c",
+ "id": "57b4f994.258048",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3050.389320373535,
- "y": 2439.138957977295,
- "z": "da62f736.168268",
+ "x": 3214.278205871582,
+ "y": 2555.8056201934814,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e3de62ba.7799a",
- "1d85be64.4c60b2",
- "80ea1426.fb74e8"
+ "14c40d9e.470832",
+ "8ace21ab.b1133",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "c1535c1f.fe413",
+ "id": "3f291ef9.746d92",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2845.1388359069824,
- "y": 2424.138957977295,
- "z": "da62f736.168268",
+ "x": 3009.0277214050293,
+ "y": 2540.8056201934814,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2d5293a6.e50e3c"
+ "57b4f994.258048"
]
]
},
{
- "id": "dfa38a67.64c448",
+ "id": "b0c9ebb0.f7a748",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4193.076385498047,
- "y": 2191.9652786254883,
- "z": "da62f736.168268",
+ "x": 4356.965270996094,
+ "y": 2308.631940841675,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "1c8e5c05.e07c04",
+ "id": "1063593f.f773f7",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 2244.638885498047,
- "y": 1419.1527786254883,
- "z": "da62f736.168268",
+ "x": 2408.5277709960938,
+ "y": 1535.8194408416748,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "dc93363f.a07058",
+ "id": "1c636d7a.76bbd3",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3006.8265075683594,
- "y": 2233.2153396606445,
- "z": "da62f736.168268",
+ "x": 3170.7153930664062,
+ "y": 2349.882001876831,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "999de8b3.682778",
+ "id": "cfe4eb87.f9ce98",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2979.326446533203,
- "y": 2266.4653100967407,
- "z": "da62f736.168268",
+ "x": 3143.21533203125,
+ "y": 2383.1319723129272,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "ca37691e.a8f2f8",
+ "id": "16d7a78b.89b958",
"type": "execute",
"name": "prepare RRMPolicyRatio id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3002.764389038086,
- "y": 2301.027841567993,
- "z": "da62f736.168268",
+ "x": 3166.653274536133,
+ "y": 2417.6945037841797,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "73616042.242eb",
+ "id": "61fb2172.2e08a",
"type": "execute",
"name": "prepare RRMPolicyMember id",
"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=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3010.263946533203,
- "y": 2336.777811050415,
- "z": "da62f736.168268",
+ "x": 3174.15283203125,
+ "y": 2453.4444732666016,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d793dedd.b3828",
+ "id": "cab5cd7b.682a4",
"type": "execute",
"name": "remove sNSSAI from context",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $idcu +'].pLMNInfoList'`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
"comments": "",
"outputs": 1,
- "x": 1894.6390228271484,
- "y": 2159.1528367996216,
- "z": "da62f736.168268",
+ "x": 2058.5279083251953,
+ "y": 2275.819499015808,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "affea016.689ae",
+ "id": "ae40960a.6e1e88",
"type": "execute",
"name": "prepare updated PLMNInfo list",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.pLMNInfoList\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $idcu +'].pLMNInfoList'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1904.0138854980469,
- "y": 2217.5902786254883,
- "z": "da62f736.168268",
+ "x": 2067.9027709960938,
+ "y": 2334.256940841675,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "32462495.24865c",
+ "id": "58a66c79.4d6444",
"type": "execute",
"name": "read 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=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBIdLength'`\" />",
"comments": "",
"outputs": 1,
- "x": 987.7638854980469,
- "y": 908.2152767181396,
- "z": "da62f736.168268",
+ "x": 1151.6527709960938,
+ "y": 1024.8819389343262,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e8f8f0ea.977c8",
+ "id": "261c63a2.cfa8fc",
"type": "execute",
"name": "read NFType",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cucpNFType' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].nFType'`\" />",
"comments": "",
"outputs": 1,
- "x": 2271.513885498047,
- "y": 1163.8402786254883,
- "z": "da62f736.168268",
+ "x": 2435.4027709960938,
+ "y": 1280.5069408416748,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "521d3d11.f4ead4",
+ "id": "4c947865.0ffd58",
"type": "execute",
"name": "read RRMPolicyMembers List",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellCURRMPolicyMembersList' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyMemberList'`\" />",
"comments": "",
"outputs": 1,
- "x": 1933.076675415039,
- "y": 2399.465344429016,
- "z": "da62f736.168268",
+ "x": 2096.965560913086,
+ "y": 2516.1320066452026,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "cd5eaeef.a91e3",
+ "id": "d93b6f67.8d487",
"type": "execute",
"name": "remove sNSSAI from context",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$tmp.NRCellCURRMPolicyMembersList`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
"comments": "",
"outputs": 1,
- "x": 1931.8265228271484,
- "y": 2451.027844429016,
- "z": "da62f736.168268",
+ "x": 2095.7154083251953,
+ "y": 2567.6945066452026,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "eaeb68eb.667d98",
+ "id": "47c5c1a5.8d72c",
"type": "execute",
"name": "prepare updated RRMPolicyMember list",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.CellCURRMMembersList\" value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyMemberList'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1939.9513854980469,
- "y": 2503.5277786254883,
- "z": "da62f736.168268",
+ "x": 2103.8402709960938,
+ "y": 2620.194440841675,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "26cf8ac7.b0c7f6",
+ "id": "2d906f67.af8d2",
"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.configDBSNSSAI1' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 1741.6391143798828,
- "y": 2610.9725074768066,
- "z": "da62f736.168268",
+ "x": 1905.5279998779297,
+ "y": 2727.639169692993,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "ecfda6cb.0dc9f8",
+ "id": "5f217c6b.8aad94",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI1`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1596.6390838623047,
- "y": 2645.9724464416504,
- "z": "da62f736.168268",
+ "x": 1760.5279693603516,
+ "y": 2762.639108657837,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "ff979e6b.4c16e",
+ "id": "59cd7c57.9edea4",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI1 == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 1615.5281219482422,
- "y": 2681.5279273986816,
- "z": "da62f736.168268",
+ "x": 1779.417007446289,
+ "y": 2798.194589614868,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "4141bca5.15d954"
+ "2fac8a53.516586"
]
]
},
{
- "id": "4141bca5.15d954",
+ "id": "2fac8a53.516586",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1819.750015258789,
- "y": 2688.750461578369,
- "z": "da62f736.168268",
+ "x": 1983.638900756836,
+ "y": 2805.4171237945557,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b4bbd615.193438"
+ "99583120.d2f27"
]
]
},
{
- "id": "45d93df6.d8a744",
+ "id": "2fca4cb4.2738c4",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 1605.75,
- "y": 2761.75,
- "z": "da62f736.168268",
+ "x": 1769.6388854980469,
+ "y": 2878.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5537eaa4.099b64",
+ "id": "ce6d719c.49011",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1608.2501068115234,
- "y": 2802.250461578369,
- "z": "da62f736.168268",
+ "x": 1772.1389923095703,
+ "y": 2918.9171237945557,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "3a0a4656.8f287a",
+ "id": "94dbe6eb.647a58",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1615.8889923095703,
- "y": 2845.4028663635254,
- "z": "da62f736.168268",
+ "x": 1779.7778778076172,
+ "y": 2962.069528579712,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "550fad5.d572654",
+ "id": "10895895.6f3bd7",
"type": "execute",
"name": "terminate sNNSAI - CUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deletePLMNInfo-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-sNSSAI-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 1658.5000762939453,
- "y": 2900.750036239624,
- "z": "da62f736.168268",
+ "x": 1822.3889617919922,
+ "y": 3017.4166984558105,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "1fdc0d32.1eff63",
- "f316122d.69b8"
+ "1f89eb4f.56d5b5",
+ "5c354916.643298"
]
]
},
{
- "id": "4fdeeb7.8dcdb14",
+ "id": "831a8a0f.0dd228",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2362.416488647461,
- "y": 3610.0839614868164,
- "z": "da62f736.168268",
+ "x": 2526.305374145508,
+ "y": 3726.750623703003,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "4ab04fee.b55ac"
+ "3c7beedb.e32b72"
]
]
},
{
- "id": "ce038fe2.e456",
+ "id": "96d6c20a.f3dc3",
"type": "set",
"name": "Read RRMPolicy Member List Length",
"xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMembersLength' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList_length'`\" />",
"comments": "",
- "x": 2060.75,
- "y": 3385.75,
- "z": "da62f736.168268",
+ "x": 2224.638885498047,
+ "y": 3502.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "519ec736.4a1068",
+ "id": "35604442.22acbc",
"type": "for",
"name": "for each rrmpolicyMember",
"xml": "<for index='idcu-rrm2' start='0' end='`$tmp.CUUPRRMPolicyMembersLength`' >\n",
"comments": "",
"outputs": 1,
- "x": 2041.722183227539,
- "y": 3428.5278630256653,
- "z": "da62f736.168268",
+ "x": 2205.611068725586,
+ "y": 3545.194525241852,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "78b5a7ce.d88bd8"
+ "6aa3e792.bfbc28"
]
]
},
{
- "id": "78b5a7ce.d88bd8",
+ "id": "6aa3e792.bfbc28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2258.388984680176,
- "y": 3424.6390075683594,
- "z": "da62f736.168268",
+ "x": 2422.2778701782227,
+ "y": 3541.305669784546,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "cb64ebc4.d3da78",
- "b353e2c5.e3c56",
- "aafda300.bf6c3",
- "9c0d0f0b.aa775"
+ "75f18c54.ee0f64",
+ "8034aed7.3787",
+ "4b872453.4a096c",
+ "6ee0d9b.b4d7928"
]
]
},
{
- "id": "cb64ebc4.d3da78",
+ "id": "75f18c54.ee0f64",
"type": "switchNode",
"name": "if length > 0 ",
"xml": "<switch test='`$tmp.CUUPRRMPolicyMembersLength`>0'>\n",
"comments": "",
"outputs": 1,
- "x": 2407.555976867676,
- "y": 3389.7776861190796,
- "z": "da62f736.168268",
+ "x": 2571.4448623657227,
+ "y": 3506.444348335266,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "4fcc83f8.eb5fcc",
- "7a00e337.23da3c"
+ "9acab90b.96f038",
+ "11fff539.623bab"
]
]
},
{
- "id": "4fcc83f8.eb5fcc",
+ "id": "9acab90b.96f038",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2559.2223930358887,
- "y": 3365.3330841064453,
- "z": "da62f736.168268",
+ "x": 2723.1112785339355,
+ "y": 3481.999746322632,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "20f96d49.8194f2"
+ "7c331d2.e9232e4"
]
]
},
{
- "id": "20f96d49.8194f2",
+ "id": "7c331d2.e9232e4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2725.8888511657715,
- "y": 3365.333543777466,
- "z": "da62f736.168268",
+ "x": 2889.7777366638184,
+ "y": 3482.0002059936523,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "ee546d02.d513d"
+ "73ebd9de.505328"
]
]
},
{
- "id": "ee546d02.d513d",
+ "id": "73ebd9de.505328",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2573.666732788086,
- "y": 3244.2222793102264,
- "z": "da62f736.168268",
+ "x": 2737.555618286133,
+ "y": 3360.888941526413,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "ec7b5045.bff37",
- "ef4f4fda.d1981"
+ "249284a2.501abc",
+ "abc12033.dc74a"
]
]
},
{
- "id": "ec7b5045.bff37",
+ "id": "249284a2.501abc",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2817.000473022461,
- "y": 3260.1109580993652,
- "z": "da62f736.168268",
+ "x": 2980.889358520508,
+ "y": 3376.7776203155518,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5e2abcba.df1a44"
+ "a2511f33.47ad6"
]
]
},
{
- "id": "ef4f4fda.d1981",
+ "id": "abc12033.dc74a",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2807.843982696533,
- "y": 3300.555241584778,
- "z": "da62f736.168268",
+ "x": 2971.73286819458,
+ "y": 3417.2219038009644,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b69bdc10.4653b"
+ "e4eac5db.1111a8"
]
]
},
{
- "id": "5e2abcba.df1a44",
+ "id": "a2511f33.47ad6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2998.3888931274414,
- "y": 3261.4445581436157,
- "z": "da62f736.168268",
+ "x": 3162.2777786254883,
+ "y": 3378.1112203598022,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f2f64a34.9bc798"
+ "f99d837e.53586"
]
]
},
{
- "id": "b69bdc10.4653b",
+ "id": "e4eac5db.1111a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2989.499969482422,
- "y": 3303.6665964126587,
- "z": "da62f736.168268",
+ "x": 3153.3888549804688,
+ "y": 3420.333258628845,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "420a580d.8dce18",
- "a3442627.cd94b8"
+ "71a434da.3555bc",
+ "fc619ae8.b470f8"
]
]
},
{
- "id": "f2f64a34.9bc798",
+ "id": "f99d837e.53586",
"type": "execute",
"name": "delete RRMPolicyRatio CUUP- URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3283.666603088379,
- "y": 3258.666835784912,
- "z": "da62f736.168268",
+ "x": 3447.555488586426,
+ "y": 3375.3334980010986,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "420a580d.8dce18",
+ "id": "71a434da.3555bc",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3294.777862548828,
- "y": 3302.0001974105835,
- "z": "da62f736.168268",
+ "x": 3458.666748046875,
+ "y": 3418.66685962677,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "a3442627.cd94b8",
+ "id": "fc619ae8.b470f8",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 3219.22208404541,
- "y": 3337.555679321289,
- "z": "da62f736.168268",
+ "x": 3383.110969543457,
+ "y": 3454.2223415374756,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "7a00e337.23da3c",
+ "id": "11fff539.623bab",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2562.8334350585938,
- "y": 3418.666717529297,
- "z": "da62f736.168268",
+ "x": 2726.7223205566406,
+ "y": 3535.3333797454834,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "6a3d5f67.89b03"
+ "89395cb.12860a"
]
]
},
{
- "id": "6a3d5f67.89b03",
+ "id": "89395cb.12860a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2748.500518798828,
- "y": 3407.000036239624,
- "z": "da62f736.168268",
+ "x": 2912.389404296875,
+ "y": 3523.6666984558105,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e7b911ef.21926",
- "501ba5bb.ef3fec"
+ "2bdede66.398562",
+ "d94a3ff4.3581a"
]
]
},
{
- "id": "e7b911ef.21926",
+ "id": "2bdede66.398562",
"type": "set",
"name": "Read RRMPolicyMember-sNSSAI",
"xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].sNSSAI'`\" />",
"comments": "",
- "x": 3040.889488220215,
- "y": 3370.8893489837646,
- "z": "da62f736.168268",
+ "x": 3204.7783737182617,
+ "y": 3487.556011199951,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "501ba5bb.ef3fec",
+ "id": "d94a3ff4.3581a",
"type": "switchNode",
"name": "find matching RRMPolicyMember",
"xml": "<switch test='`$tmp.CUUPRRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 3039.7779235839844,
- "y": 3410.888843536377,
- "z": "da62f736.168268",
+ "x": 3203.6668090820312,
+ "y": 3527.5555057525635,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "355a7706.bbd6a8"
+ "3fdd739b.53f96c"
]
]
},
{
- "id": "355a7706.bbd6a8",
+ "id": "3fdd739b.53f96c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3270.6112670898438,
- "y": 3415.333221435547,
- "z": "da62f736.168268",
+ "x": 3434.5001525878906,
+ "y": 3531.9998836517334,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "df799f74.91852"
+ "54981564.c9bc7c"
]
]
},
{
- "id": "df799f74.91852",
+ "id": "54981564.c9bc7c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3494.2221069335938,
- "y": 3411.999969482422,
- "z": "da62f736.168268",
+ "x": 3658.1109924316406,
+ "y": 3528.6666316986084,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "bd5b5caf.34289",
- "e69074b7.86c018",
- "7ddec5.bdda613c"
+ "2547429c.dedc5e",
+ "b70b28af.06b758",
+ "c512fb69.d615e8"
]
]
},
{
- "id": "bd5b5caf.34289",
+ "id": "2547429c.dedc5e",
"type": "set",
"name": "Read RRMPolicyMember-id",
"xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].idx'`\" />",
"comments": "",
- "x": 3759.8888397216797,
- "y": 3379.777855873108,
- "z": "da62f736.168268",
+ "x": 3923.7777252197266,
+ "y": 3496.4445180892944,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "7ddec5.bdda613c",
+ "id": "c512fb69.d615e8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPRRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3711.5487670898438,
- "y": 3427.659881591797,
- "z": "da62f736.168268",
+ "x": 3875.4376525878906,
+ "y": 3544.3265438079834,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e69074b7.86c018",
+ "id": "b70b28af.06b758",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3717.1108474731445,
- "y": 3475.333520889282,
- "z": "da62f736.168268",
+ "x": 3880.9997329711914,
+ "y": 3592.0001831054688,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "97861ce3.40059",
- "64e9402c.99386"
+ "d2220340.a5b14",
+ "5cfd8274.4c38ec"
]
]
},
{
- "id": "97861ce3.40059",
+ "id": "d2220340.a5b14",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3960.44490814209,
- "y": 3474.5555448532104,
- "z": "da62f736.168268",
+ "x": 4124.333793640137,
+ "y": 3591.222207069397,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8ba1fc14.f59bc"
+ "a1b0d65f.3c6f48"
]
]
},
{
- "id": "64e9402c.99386",
+ "id": "5cfd8274.4c38ec",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3951.2883224487305,
- "y": 3526.110939025879,
- "z": "da62f736.168268",
+ "x": 4115.177207946777,
+ "y": 3642.7776012420654,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9014ff5a.a8a83"
+ "2cf453a4.45fdac"
]
]
},
{
- "id": "8ba1fc14.f59bc",
+ "id": "a1b0d65f.3c6f48",
"type": "execute",
"name": "generate deleteRRMPolicyMember.CUUP URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4289.3327560424805,
- "y": 3472.0000553131104,
- "z": "da62f736.168268",
+ "x": 4453.221641540527,
+ "y": 3588.666717529297,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "9014ff5a.a8a83",
+ "id": "2cf453a4.45fdac",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4118.2221755981445,
- "y": 3523.666772842407,
- "z": "da62f736.168268",
+ "x": 4282.111061096191,
+ "y": 3640.3334350585938,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8da33d2c.9ec3f",
- "db3ca58d.3b9558"
+ "996750a.9bd63b",
+ "e2f9738f.5395b"
]
]
},
{
- "id": "8da33d2c.9ec3f",
+ "id": "996750a.9bd63b",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.CUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4418.499885559082,
- "y": 3517.555980682373,
- "z": "da62f736.168268",
+ "x": 4582.388771057129,
+ "y": 3634.2226428985596,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "db3ca58d.3b9558",
+ "id": "e2f9738f.5395b",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 4338.499603271484,
- "y": 3576.4443969726562,
- "z": "da62f736.168268",
+ "x": 4502.388488769531,
+ "y": 3693.111059188843,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "b353e2c5.e3c56",
+ "id": "8034aed7.3787",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2506.9999923706055,
- "y": 3467.000104904175,
- "z": "da62f736.168268",
+ "x": 2670.8888778686523,
+ "y": 3583.6667671203613,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "aafda300.bf6c3",
+ "id": "4b872453.4a096c",
"type": "execute",
"name": "prepare RRMPolicyRatio id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUUPRRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2503.9379806518555,
- "y": 3506.8127269744873,
- "z": "da62f736.168268",
+ "x": 2667.8268661499023,
+ "y": 3623.479389190674,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "9c0d0f0b.aa775",
+ "id": "6ee0d9b.b4d7928",
"type": "execute",
"name": "prepare RRMPolicyMember id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUUPRRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2512.43758392334,
- "y": 3550.5627269744873,
- "z": "da62f736.168268",
+ "x": 2676.3264694213867,
+ "y": 3667.229389190674,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "8e54b571.b9af88",
+ "id": "c436bb12.fb3218",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.CUUPRRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2013.5344123840332,
- "y": 3498.9240550994873,
- "z": "da62f736.168268",
+ "x": 2177.42329788208,
+ "y": 3615.590717315674,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5ca1f89e.93f5d8",
+ "id": "680e2356.45dadc",
"type": "execute",
"name": "Terminate NRCellCU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio-CUUP.ur`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2099.3123664855957,
- "y": 3552.9235668182373,
- "z": "da62f736.168268",
+ "x": 2263.2012519836426,
+ "y": 3669.590229034424,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "4fdeeb7.8dcdb14",
- "635ad14e.3580b"
+ "831a8a0f.0dd228",
+ "2b3faeb4.a48ed2"
]
]
},
{
- "id": "dd39b21f.bbf38",
+ "id": "e0ad1a99.4afc98",
"type": "set",
"name": "RRMPolicyRatio id",
"xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />",
"comments": "",
- "x": 2018.25,
- "y": 3341,
- "z": "da62f736.168268",
+ "x": 2182.138885498047,
+ "y": 3457.6666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "3b93f05.3eb1b1",
+ "id": "7d8bd7ea.d3c8b8",
"type": "execute",
"name": "remove sNSSAI from context",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUUPList['+$id-cuup+'].pLMNInfoList'`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
"comments": "",
"outputs": 1,
- "x": 1878.25,
- "y": 3698.75,
- "z": "da62f736.168268",
+ "x": 2042.1388854980469,
+ "y": 3815.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "9a1ff089.a405b",
+ "id": "bc9e3843.b4d938",
"type": "execute",
"name": "prepare updated PLMNInfo list",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.pLMNInfoList-CUUP\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $id-cuup +'].pLMNInfoList'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1887.6248626708984,
- "y": 3757.1874418258667,
- "z": "da62f736.168268",
+ "x": 2051.5137481689453,
+ "y": 3873.854104042053,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "eda4c4e8.16ea58",
+ "id": "a2f2dac8.2bb8b8",
"type": "execute",
"name": "read RRMPolicyMembers List",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyMembersList' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyMemberList'`\" />",
"comments": "",
"outputs": 1,
- "x": 1877.7500457763672,
- "y": 3937.000234603882,
- "z": "da62f736.168268",
+ "x": 2041.638931274414,
+ "y": 4053.6668968200684,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "a13823ad.65203",
+ "id": "a0d3e29.b99a22",
"type": "execute",
"name": "remove sNSSAI from context",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$tmp.CUUPRRMPolicyMembersList`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
"comments": "",
"outputs": 1,
- "x": 1876.5000457763672,
- "y": 3982.5626735687256,
- "z": "da62f736.168268",
+ "x": 2040.388931274414,
+ "y": 4099.229335784912,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5f652628.9468d8",
+ "id": "7545b5bb.fec49c",
"type": "execute",
"name": "prepare updated RRMPolicyMember list",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.CellCURRMMembersList\" value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyMemberList'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1910.6248626708984,
- "y": 4034.0626125335693,
- "z": "da62f736.168268",
+ "x": 2074.5137481689453,
+ "y": 4150.729274749756,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "20dcb9bd.e2a956",
+ "id": "2bf11eaa.4763e2",
"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": 2015.9377517700195,
- "y": 4320.6251220703125,
- "z": "da62f736.168268",
+ "x": 2179.8266372680664,
+ "y": 4437.291784286499,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "4acc0f7.2614af",
+ "id": "172ed894.1d8ac7",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1994.271125793457,
- "y": 4390.6251220703125,
- "z": "da62f736.168268",
+ "x": 2158.160011291504,
+ "y": 4507.291784286499,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "fa70c58.9f27338"
+ "b8f3e108.9f7ed"
]
]
},
{
- "id": "fa70c58.9f27338",
+ "id": "b8f3e108.9f7ed",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2179.659912109375,
- "y": 4384.65283203125,
- "z": "da62f736.168268",
+ "x": 2343.548797607422,
+ "y": 4501.3194942474365,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5b178a6e.9e1474",
- "e8b239a3.ea6108",
- "624c26d3.2d93b8"
+ "ae6bd32.040153",
+ "3750602f.1207f",
+ "2a92610b.738c3e"
]
]
},
{
- "id": "624c26d3.2d93b8",
+ "id": "2a92610b.738c3e",
"type": "execute",
"name": "read sNSSAI from getNFNSSIRIC-configdb-response",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 2545.7989196777344,
- "y": 4269.87530708313,
- "z": "da62f736.168268",
+ "x": 2709.6878051757812,
+ "y": 4386.541969299316,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5b178a6e.9e1474",
+ "id": "ae6bd32.040153",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 2415.5489196777344,
- "y": 4337.875185012817,
- "z": "da62f736.168268",
+ "x": 2579.4378051757812,
+ "y": 4454.541847229004,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e8b239a3.ea6108",
+ "id": "3750602f.1207f",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2410.6878356933594,
- "y": 4411.180850982666,
- "z": "da62f736.168268",
+ "x": 2574.5767211914062,
+ "y": 4527.8475131988525,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "35abfb0c.e67654"
+ "f7a5a594.2f2708"
]
]
},
{
- "id": "35abfb0c.e67654",
+ "id": "f7a5a594.2f2708",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2580.1599731445312,
- "y": 4437.653020858765,
- "z": "da62f736.168268",
+ "x": 2744.048858642578,
+ "y": 4554.319683074951,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "72b1fbfe.4fa0d4"
+ "4b99aec5.45498"
]
]
},
{
- "id": "4b70a51a.898acc",
+ "id": "f5f4e46a.0c8e38",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 3039.6875,
- "y": 4860.3125,
- "z": "da62f736.168268",
+ "x": 3203.576385498047,
+ "y": 4976.9791622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "478d81fe.50e29",
+ "id": "ab6c8152.d016f",
"type": "set",
"name": "Read RRMPolicy Member List Length",
"xml": "<set>\n<parameter name='tmp.DURRMPolicyMembersLength' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />",
"comments": "",
- "x": 3650,
- "y": 5518.4375,
- "z": "da62f736.168268",
+ "x": 3813.888885498047,
+ "y": 5635.1041622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "e85c75c9.5a5208",
+ "id": "a3778dfc.3c17b",
"type": "for",
"name": "for each rrmpolicyMember",
"xml": "<for index='iddu-rrm2' start='0' end='`$tmp.DURRMPolicyMembersLength`' >\n",
"comments": "",
"outputs": 1,
- "x": 3630.972183227539,
- "y": 5561.215363025665,
- "z": "da62f736.168268",
+ "x": 3794.861068725586,
+ "y": 5677.882025241852,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "66fd7b92.f2b364"
+ "1c11.362913efca"
]
]
},
{
- "id": "66fd7b92.f2b364",
+ "id": "1c11.362913efca",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3847.638984680176,
- "y": 5557.326507568359,
- "z": "da62f736.168268",
+ "x": 4011.5278701782227,
+ "y": 5673.993169784546,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "65816dd6.dac814",
- "bd35e5d4.1bc928",
- "77f9b6fc.97a688",
- "dc69ba2d.6eaf38",
- "7c2d39af.fe93c8"
+ "d788c4ea.2680a8",
+ "d9589d3.9d1046",
+ "90cbedb9.56af4",
+ "a2f1007f.bb643",
+ "81d17f68.5545a"
]
]
},
{
- "id": "65816dd6.dac814",
+ "id": "d788c4ea.2680a8",
"type": "switchNode",
"name": "if length > 0 ",
"xml": "<switch test='`$tmp.DURRMPolicyMembersLength`>0'>\n",
"comments": "",
"outputs": 1,
- "x": 4005.556137084961,
- "y": 5539.965368270874,
- "z": "da62f736.168268",
+ "x": 4169.445022583008,
+ "y": 5656.632030487061,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "19e9fe36.11e9a2",
- "800d1eb2.1d967"
+ "1c239ad.9353065",
+ "eadfadc4.ac4f5"
]
]
},
{
- "id": "19e9fe36.11e9a2",
+ "id": "1c239ad.9353065",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4148.472393035889,
- "y": 5498.020584106445,
- "z": "da62f736.168268",
+ "x": 4312.361278533936,
+ "y": 5614.687246322632,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d674ab54.619858"
+ "7837475d.836b28"
]
]
},
{
- "id": "d674ab54.619858",
+ "id": "7837475d.836b28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4315.1388511657715,
- "y": 5498.021043777466,
- "z": "da62f736.168268",
+ "x": 4479.027736663818,
+ "y": 5614.687705993652,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "dcb12e26.7b884"
+ "5230b458.39bbcc"
]
]
},
{
- "id": "dcb12e26.7b884",
+ "id": "5230b458.39bbcc",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 4162.916732788086,
- "y": 5376.909779310226,
- "z": "da62f736.168268",
+ "x": 4326.805618286133,
+ "y": 5493.576441526413,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "1673f63a.56783a",
- "3b2a37e4.95eaf8"
+ "5f6410eb.6889d",
+ "41dae099.daaa5"
]
]
},
{
- "id": "1673f63a.56783a",
+ "id": "5f6410eb.6889d",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4406.250473022461,
- "y": 5392.798458099365,
- "z": "da62f736.168268",
+ "x": 4570.139358520508,
+ "y": 5509.465120315552,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "bfd03325.53f88"
+ "2487d875.4dc6b8"
]
]
},
{
- "id": "3b2a37e4.95eaf8",
+ "id": "41dae099.daaa5",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4397.093982696533,
- "y": 5433.242741584778,
- "z": "da62f736.168268",
+ "x": 4560.98286819458,
+ "y": 5549.909403800964,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "83c86bbb.232de8"
+ "7c49ff75.eeeb6"
]
]
},
{
- "id": "bfd03325.53f88",
+ "id": "2487d875.4dc6b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4587.638893127441,
- "y": 5394.132058143616,
- "z": "da62f736.168268",
+ "x": 4751.527778625488,
+ "y": 5510.798720359802,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "1cc68b31.5cd4b5"
+ "76804628.441888"
]
]
},
{
- "id": "1cc68b31.5cd4b5",
+ "id": "76804628.441888",
"type": "execute",
"name": "delete RRMPolicyRatio DU- URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4872.916603088379,
- "y": 5391.354335784912,
- "z": "da62f736.168268",
+ "x": 5036.805488586426,
+ "y": 5508.020998001099,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "590f74e.06aca8c",
+ "id": "b221c7c0.9abf48",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4884.027862548828,
- "y": 5434.6876974105835,
- "z": "da62f736.168268",
+ "x": 5047.916748046875,
+ "y": 5551.35435962677,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5b0bc885.6064d8",
+ "id": "74ddc161.83683",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4808.47208404541,
- "y": 5470.243179321289,
- "z": "da62f736.168268",
+ "x": 4972.360969543457,
+ "y": 5586.909841537476,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "83c86bbb.232de8",
+ "id": "7c49ff75.eeeb6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4578.749969482422,
- "y": 5436.354096412659,
- "z": "da62f736.168268",
+ "x": 4742.638854980469,
+ "y": 5553.020758628845,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "590f74e.06aca8c",
- "5b0bc885.6064d8"
+ "b221c7c0.9abf48",
+ "74ddc161.83683"
]
]
},
{
- "id": "800d1eb2.1d967",
+ "id": "eadfadc4.ac4f5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4152.1875,
- "y": 5569.6875,
- "z": "da62f736.168268",
+ "x": 4316.076385498047,
+ "y": 5686.3541622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "cf340f9a.13c29"
+ "3b76515c.851ade"
]
]
},
{
- "id": "cf340f9a.13c29",
+ "id": "3b76515c.851ade",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4337.854583740234,
- "y": 5558.020818710327,
- "z": "da62f736.168268",
+ "x": 4501.743469238281,
+ "y": 5674.687480926514,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5f6bbc21.45a984",
- "450a1dab.66c234"
+ "c172d021.f515f",
+ "a91c78a6.87ed58"
]
]
},
{
- "id": "5f6bbc21.45a984",
+ "id": "c172d021.f515f",
"type": "set",
"name": "Read RRMPolicyMember-sNSSA",
"xml": "<set>\n<parameter name='tmp.cellDURRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].sNSSAI'`\" />",
"comments": "",
- "x": 4631.493957519531,
- "y": 5516.9105587005615,
- "z": "da62f736.168268",
+ "x": 4795.382843017578,
+ "y": 5633.577220916748,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "450a1dab.66c234",
+ "id": "a91c78a6.87ed58",
"type": "switchNode",
"name": "find matching RRMPolicyMember",
"xml": "<switch test='`$tmp.cellDURRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 4629.131988525391,
- "y": 5561.90962600708,
- "z": "da62f736.168268",
+ "x": 4793.0208740234375,
+ "y": 5678.576288223267,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a064e974.6a26c8"
+ "bbd935a7.b37938"
]
]
},
{
- "id": "a064e974.6a26c8",
+ "id": "bbd935a7.b37938",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4859.96533203125,
- "y": 5566.35400390625,
- "z": "da62f736.168268",
+ "x": 5023.854217529297,
+ "y": 5683.0206661224365,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9795e8e6.5f4758"
+ "26b29c69.c8fda4"
]
]
},
{
- "id": "9795e8e6.5f4758",
+ "id": "26b29c69.c8fda4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5083.576171875,
- "y": 5563.020751953125,
- "z": "da62f736.168268",
+ "x": 5247.465057373047,
+ "y": 5679.6874141693115,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b0ab9f0f.045ee",
- "58c93fd8.865cc",
- "38d6a4a.628eb5c"
+ "15f75912.238567",
+ "f030a787.47d218",
+ "265be62b.1619fa"
]
]
},
{
- "id": "b0ab9f0f.045ee",
+ "id": "15f75912.238567",
"type": "set",
"name": "Read RRMPolicyMember-id",
"xml": "<set>\n<parameter name='tmp.CellDURRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].idx'`\" />",
"comments": "",
- "x": 5349.242904663086,
- "y": 5530.798638343811,
- "z": "da62f736.168268",
+ "x": 5513.131790161133,
+ "y": 5647.465300559998,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "38d6a4a.628eb5c",
+ "id": "265be62b.1619fa",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.CellDURRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 5300.90283203125,
- "y": 5578.6806640625,
- "z": "da62f736.168268",
+ "x": 5464.791717529297,
+ "y": 5695.3473262786865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "58c93fd8.865cc",
+ "id": "f030a787.47d218",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 5306.464912414551,
- "y": 5626.354303359985,
- "z": "da62f736.168268",
+ "x": 5470.353797912598,
+ "y": 5743.020965576172,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "6ccc086f.a41478",
- "ec0ce7b0.278738"
+ "a4376ce5.14551",
+ "b578a560.c8ff98"
]
]
},
{
- "id": "6ccc086f.a41478",
+ "id": "a4376ce5.14551",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5549.798973083496,
- "y": 5625.576327323914,
- "z": "da62f736.168268",
+ "x": 5713.687858581543,
+ "y": 5742.2429895401,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9974a833.ce9ab8"
+ "e46c3cff.35fe7"
]
]
},
{
- "id": "ec0ce7b0.278738",
+ "id": "b578a560.c8ff98",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5540.642387390137,
- "y": 5677.131721496582,
- "z": "da62f736.168268",
+ "x": 5704.531272888184,
+ "y": 5793.798383712769,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8a646bfe.add958"
+ "3399b4c5.e6721c"
]
]
},
{
- "id": "9974a833.ce9ab8",
+ "id": "e46c3cff.35fe7",
"type": "execute",
"name": "generate deleteRRMPolicyMember.ToNRCellDU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 5878.686820983887,
- "y": 5623.0208377838135,
- "z": "da62f736.168268",
+ "x": 6042.575706481934,
+ "y": 5739.6875,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "8a646bfe.add958",
+ "id": "3399b4c5.e6721c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5707.576240539551,
- "y": 5674.68755531311,
- "z": "da62f736.168268",
+ "x": 5871.465126037598,
+ "y": 5791.354217529297,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "75c18765.25f078",
- "ac37608.aa778a"
+ "a5ed56e4.8b7cf8",
+ "412dffaf.717f3"
]
]
},
{
- "id": "75c18765.25f078",
+ "id": "a5ed56e4.8b7cf8",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 6007.853950500488,
- "y": 5668.576763153076,
- "z": "da62f736.168268",
+ "x": 6171.742835998535,
+ "y": 5785.243425369263,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "ac37608.aa778a",
+ "id": "412dffaf.717f3",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 5927.853668212891,
- "y": 5727.465179443359,
- "z": "da62f736.168268",
+ "x": 6091.7425537109375,
+ "y": 5844.131841659546,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "bd35e5d4.1bc928",
+ "id": "d9589d3.9d1046",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4181.250144958496,
- "y": 5612.188266277313,
- "z": "da62f736.168268",
+ "x": 4345.139030456543,
+ "y": 5728.8549284935,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "77f9b6fc.97a688",
+ "id": "90cbedb9.56af4",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4153.75008392334,
- "y": 5645.438236713409,
- "z": "da62f736.168268",
+ "x": 4317.638969421387,
+ "y": 5762.104898929596,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "dc69ba2d.6eaf38",
+ "id": "a2f1007f.bb643",
"type": "execute",
"name": "prepare RRMPolicyRatio id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDURRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4177.188026428223,
- "y": 5680.000768184662,
- "z": "da62f736.168268",
+ "x": 4341.0769119262695,
+ "y": 5796.667430400848,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "7c2d39af.fe93c8",
+ "id": "81d17f68.5545a",
"type": "execute",
"name": "prepare RRMPolicyMember id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDURRMPolicyMember_sNSSAI`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4184.68758392334,
- "y": 5715.750737667084,
- "z": "da62f736.168268",
+ "x": 4348.576469421387,
+ "y": 5832.41739988327,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "734b37a6.ac7cf8",
+ "id": "1dbf0a7e.210a96",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDURRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3547.535189628601,
- "y": 5708.612829208374,
- "z": "da62f736.168268",
+ "x": 3711.424075126648,
+ "y": 5825.279491424561,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "3c1e8267.b4f8fe",
+ "id": "5daf7f84.24d9d",
"type": "execute",
"name": "Terminate NRCellDU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio-DU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellDU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3619.812530517578,
- "y": 5781.862342834473,
- "z": "da62f736.168268",
+ "x": 3783.701416015625,
+ "y": 5898.529005050659,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "78448d12.dce7b4",
- "b77e4296.a4ab5"
+ "e7e90fb8.db687",
+ "a22a04f6.640d18"
]
]
},
{
- "id": "59b4ea74.9d06d4",
+ "id": "490de212.f261fc",
"type": "execute",
"name": "remove sNSSAI from context",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBDUList['+$id-du +'].cellCUList['+ $id-celldu +'].pLMNInfoList'`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
"comments": "",
"outputs": 1,
- "x": 3199.6875,
- "y": 5817.1875,
- "z": "da62f736.168268",
+ "x": 3363.576385498047,
+ "y": 5933.8541622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "6b7c5e5f.28631",
+ "id": "2798ec67.4d5e74",
"type": "execute",
"name": "prepare updated PLMNInfo list",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.ceLLDUpLMNInfoList\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBDUList['+$id-du +'].cellCUList['+ $id-celldu +'].pLMNInfoList'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3209.0623626708984,
- "y": 5875.624941825867,
- "z": "da62f736.168268",
+ "x": 3372.9512481689453,
+ "y": 5992.291604042053,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "2fdf003a.ff7bd",
+ "id": "f64e2531.bfe9d8",
"type": "execute",
"name": "read RRMPolicyMembers List",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellDURRMPolicyMembersList' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList'`\" />",
"comments": "",
"outputs": 1,
- "x": 3199.6875,
- "y": 6019.6875,
- "z": "da62f736.168268",
+ "x": 3363.576385498047,
+ "y": 6136.3541622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "ee315155.36298",
+ "id": "bb5ea2d5.54a8",
"type": "execute",
"name": "remove sNSSAI from context",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$tmp.NRCellDURRMPolicyMembersList`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
"comments": "",
"outputs": 1,
- "x": 3198.4373474121094,
- "y": 6071.25,
- "z": "da62f736.168268",
+ "x": 3362.3262329101562,
+ "y": 6187.9166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "778a736d.50fb1c",
+ "id": "2c3ebac3.2ff846",
"type": "execute",
"name": "prepare updated RRMPolicyMember list",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.CellDURRMMembersList\" value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3206.562210083008,
- "y": 6123.749934196472,
- "z": "da62f736.168268",
+ "x": 3370.4510955810547,
+ "y": 6240.416596412659,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "36cfb15f.b2ef8e",
+ "id": "a0ff73b.d53929",
"type": "execute",
"name": "prepare updated PLMNInfo list",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.pLMNInfoList-RIC\" value=\"`'$getNearRTRICById-configdb-response.pLMNInfoList'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1035.9375305175781,
- "y": 1002.1875247955322,
- "z": "da62f736.168268",
+ "x": 1199.826416015625,
+ "y": 1118.8541870117188,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "b01e9ff8.9fdcb",
+ "id": "fa5127b8.c6a188",
"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": 189.5833339691162,
- "y": 1645.8333644866943,
- "z": "da62f736.168268",
+ "x": 353.4722194671631,
+ "y": 1762.5000267028809,
+ "z": "5d875c6b.4b4c54",
"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 f2af89f8..e85db3d3 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
@@ -6,32 +6,32 @@
<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="RPC to handle terminateRANSlice.: "/>
- <parameter name="field2" value="`$activate-r-a-n-slice-input.action`"/>
- <parameter name="field3" value="`$activate-r-a-n-slice-input.common-header.timestamp`"/>
- <parameter name="field4" value="`$activate-r-a-n-slice-input.common-header.request-id`"/>
- <parameter name="field5" value="`$activate-r-a-n-slice-input.common-header.originator-id`"/>
+ <parameter name="field1" value="RPC to handle activateRANSlice.: "/>
+ <parameter name="field2" value="`$activate-r-a-n-slice-instance-input.action`"/>
+ <parameter name="field3" value="`$activate-r-a-n-slice-instance-input.timestamp`"/>
+ <parameter name="field4" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
+ <parameter name="field5" value="`$activate-r-a-n-slice-instance-input.common-header.originator-id`"/>
<parameter name="field6" value="RPC Payload String "/>
- <parameter name="field7" value="`$activate-r-a-n-slice-input.payload`"/>
+ <parameter name="field7" value="`$activate-r-a-n-slice-instance-input.payload`"/>
</record>
<set>
<parameter name='error-code' value='200' />
- <parameter name='error-message' value='Successful execution of terminateRANSice RPC' />
+ <parameter name='error-message' value='Successful execution of activateRANSice RPC' />
</set>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>
- <parameter name='source' value='activate-r-a-n-slice-input.payload' />
+ <parameter name='source' value='activate-r-a-n-slice-instance-input.payload' />
<parameter name='outputPath' value='payloadJson' />
<parameter name='isEscaped' value='false' />
<outcome value='success'>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />
</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="Payload for terminateRANSlice.: "/>
- <parameter name="field2" value="`$tmp.sNSSAI`"/>
+ <parameter name="field1" value="Payload for activateRANSlice.: "/>
+ <parameter name="field2" value="`$payloadJson.input.sNSSAI`"/>
<parameter name="field3" value="`$payloadJson.input.RANNFNSSIId`"/>
<parameter name="field4" value="`$payloadJson.input.callbackURL`"/>
<parameter name="field5" value="`$payloadJson.input.sliceProfileId`"/>
@@ -39,12 +39,11 @@
</block>
</outcome>
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.sNSSAI' />
- <parameter name='source' value="`$payloadJson.input.NSSAI`" />
- </execute>
+ <set>
+ <parameter name='tmp.sNSSAI' value="`$payloadJson.input.sNSSAI`" />
+ </set>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />
</execute>
<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
<parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />
@@ -62,9 +61,22 @@
<parameter name="field7" value="config DB deployed (true/false): "/>
<parameter name="field8" value="`$prop.configdb-deployed`"/>
</record>
- <set>
- <parameter name='tmp.status' value='ACTIVE' />
- </set>
+ <switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.status' value='ACTIVE' />
+ </set>
+ </block>
+ </outcome>
+ <outcome value='false'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.status' value='INACTIVE' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
<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"/>
@@ -97,8 +109,8 @@
<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.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" />
@@ -114,10 +126,10 @@
<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="responsePrefix" value="so-callback-activate-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -150,7 +162,7 @@
<parameter name="field2" value="`$getNFNSSIRIC-configdb-response._length`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />
</execute>
</block>
</outcome>
@@ -178,7 +190,7 @@
</execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.pLMNId' />
- <parameter name='source' value="`getPLMN-configdb-response.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`" />
@@ -198,14 +210,23 @@
<parameter name="field2" value="`$tmp.mcc`"/>
<parameter name="field3" value="`$tmp.mnc`"/>
</record>
- <for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >
+ <set>
+ <parameter name='tmp.RICList_length' value="`$getNFNSSIRIC-configdb-response._length`"/>
+ </set>
+ <for index='idy' start='0' end='`$tmp.RICList_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>
+ </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="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.CUCPList_length`"/>
@@ -219,7 +240,7 @@
<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="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
<parameter name="field1" value="CUCPName "/>
<parameter name="field2" value="`$tmp.CUCPName`"/>
@@ -231,8 +252,12 @@
<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.cellLocalId' />
+ <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.pLMNInfoList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`" />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length'`" />
</execute>
<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >
<block atomic='true'>
@@ -241,7 +266,7 @@
<parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`" />
</execute>
<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/activateRANSlice.log" />
<parameter name="level" value="info" />
<parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
<parameter name="field2" value="`$tmp.configDBSNSSAI`"/>
@@ -252,7 +277,7 @@
<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="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>
@@ -347,8 +372,8 @@
<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.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" />
@@ -364,10 +389,10 @@
<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="responsePrefix" value="so-callback-activate-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -442,19 +467,56 @@
</execute>
<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>
<block atomic='true'>
- <switch test='`$prop.ransim-mounted`'>
+ <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'>
- <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>
+ <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="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/>
+ <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`"/>
@@ -462,98 +524,104 @@
<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="target" value="{idGNBCUUPFunction}"/>
<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.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="`$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='application/json' />
- <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>
+ <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/activateRANSlice.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
+ <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>
- </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>
+ <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>
- </execute>
+ </switch>
</block>
</for>
</block>
@@ -591,31 +659,28 @@
<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >
<block>
<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.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`" />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length'`" />
</execute>
<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_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.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`"/>
+ <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'`" />
+ </execute>
<switch test='`$tmp.configDBSNSSAI-DU == $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="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' >
@@ -642,10 +707,6 @@
</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 +'].cellCUList['+ $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"/>
@@ -656,7 +717,7 @@
<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.cellCULocalId`"/>
+ <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`"/>
@@ -673,7 +734,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="patch cellCU NSSAI parameters"/>
+ <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`"/>
@@ -698,8 +759,8 @@
<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.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" />
@@ -715,10 +776,10 @@
<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="responsePrefix" value="so-callback-activate-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -804,10 +865,10 @@
<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
<parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
<parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-response"/>
+ <parameter name="responsePrefix" value="so-callback-activate-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
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 956018be..87c9c461 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
@@ -141,17 +141,30 @@
<parameter name='tmp.RRMPolicyRatioID.NRCellCU' value="`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
<parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />
</set>
- <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>
+ <switch test='`$tmp.payload.pLMNId`'>
+ <outcome value=''>
+ <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="It is allocate-modify flow. PLMNId is null"/>
+ </record>
+ </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>
+ </block>
+ </outcome>
+ </switch>
<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" />
@@ -189,17 +202,30 @@
<parameter name='tmp.RRMPolicyRatioID.NRCellCU' value="`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
<parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />
</set>
- <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>
+ <switch test='`$tmp.payload.pLMNId`'>
+ <outcome value=''>
+ <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="It is allocate-modify flow. PLMNId is null"/>
+ </record>
+ </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>
+ </block>
+ </outcome>
+ </switch>
<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" />
@@ -237,17 +263,30 @@
<parameter name='tmp.RRMPolicyRatioID.NRCellCU' value="`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
<parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />
</set>
- <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>
+ <switch test='`$tmp.payload.pLMNId`'>
+ <outcome value=''>
+ <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="It is allocate-modify flow. PLMNId is null"/>
+ </record>
+ </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>
+ </block>
+ </outcome>
+ </switch>
<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" />
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 12b0a024..3d5f6768 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
@@ -59,12 +59,14 @@
</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="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
<parameter name="httpMethod" value="POST"/>
<parameter name="responsePrefix" value="so-callback-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -161,12 +163,14 @@
</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="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
<parameter name="httpMethod" value="POST"/>
<parameter name="responsePrefix" value="so-callback-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -413,12 +417,14 @@
</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="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
<parameter name="httpMethod" value="POST"/>
<parameter name="responsePrefix" value="so-callback-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -555,6 +561,21 @@
<switch test="`$tmp.gNBCUCPList.cellLocalId == $tmp.cellLocalId`">
<outcome value='true'>
<block atomic='true'>
+ <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.gNBCUCPList.gNBCUName`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='CUCPListEntries_size' />
+ <parameter name='source' value="`tmp.CUCPList.response_length`" />
+ </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="level" value="info" />
+ <parameter name="field1" value="CUCPList length"/>
+ <parameter name="field2" value="`$CUCPListEntries_size`"/>
+ </record>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.pLMNInfoListEntries' />
@@ -634,6 +655,9 @@
<parameter name="target" value="{mnc}"/>
<parameter name="replacement" value="`$tmp.mnc`"/>
</execute>
+ <set>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`'/>
+ </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" />
@@ -690,12 +714,14 @@
</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="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
<parameter name="httpMethod" value="POST"/>
<parameter name="responsePrefix" value="so-callback-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -774,6 +800,9 @@
<parameter name="target" value="{id}"/>
<parameter name="replacement" value="`$tmp.RRMPolicyRatioID.NRCellCU`"/>
</execute>
+ <set>
+ <parameter name='tmp.resourceID' value='`$tmp.cellLocalId`'/>
+ </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" />
@@ -830,12 +859,14 @@
</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="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
<parameter name="httpMethod" value="POST"/>
<parameter name="responsePrefix" value="so-callback-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -912,12 +943,14 @@
</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="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
<parameter name="httpMethod" value="POST"/>
<parameter name="responsePrefix" value="so-callback-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -950,98 +983,100 @@
</block>
</outcome>
</execute>
+ <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>
+ <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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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="`$payloadJson.input.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <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/instantiateRANSlice.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 updating RRMPolicy CUCP 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 RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <set>
+ <parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />
+ </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" />
+ <parameter name="field1" value="Successfully Updated RRMPolicy CUCP info in ConfigDB"/>
+ <parameter name="field2" value="Incremented ConfigDB rrmPolicyID"/>
+ <parameter name="field3" value='`$prop.configDB.rrmPolicyID`' />
+ </record>
+ </block>
+ </outcome>
+ </execute>
</block>
</outcome>
</switch>
</block>
</for>
</for>
- <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>
- <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`" />
- <parameter name='field7' value="`$tmp.CUCPList`" />
- <parameter name='field8' value="`$tmp.CUUPList`" />
- <parameter name='field9' value="`$tmp.DUList`" />
- </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-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <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/instantiateRANSlice.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 updating RRMPolicy CUCP 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 RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <set>
- <parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />
- </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" />
- <parameter name="field1" value="Successfully Updated RRMPolicy CUCP info in ConfigDB"/>
- <parameter name="field2" value="Incremented ConfigDB rrmPolicyID"/>
- <parameter name="field3" value='`$prop.configDB.rrmPolicyID`' />
- </record>
- </block>
- </outcome>
- </execute>
</for>
</block>
<block atomic='true'>
@@ -1057,10 +1092,16 @@
</record>
<block atomic='true'>
<set>
- <parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />
+ <parameter name='tmp.maxNumberOfConns-CUUP' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`' />
</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" />
+ <parameter name="field1" value="maxNumberOfConns.CUUP "/>
+ <parameter name="field2" value="`$tmp.maxNumberOfConns-CUUP`"/>
+ </record>
<set>
- <parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns*4`' />
+ <parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns-CUUP*4`' />
</set>
<set>
<parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' />
@@ -1085,7 +1126,7 @@
<parameter name="field9" value="tmp.rRMPolicyDedicatedRatio.CUUP"/>
<parameter name="field10" value="`$tmp.rRMPolicyDedicatedRatio.CUUP`"/>
<parameter name="field11" value="tmp.maxNumberOfConns"/>
- <parameter name="field12" value="`$tmp.maxNumberOfConns`"/>
+ <parameter name="field12" value="`$tmp.maxNumberOfConns-CUUP`"/>
</record>
</block>
<for index='id2' start='0' end='`$tmp.CUUPListEntries `' >
@@ -1188,6 +1229,9 @@
<parameter name="target" value="{mnc}"/>
<parameter name="replacement" value="`$tmp.mnc`"/>
</execute>
+ <set>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`'/>
+ </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" />
@@ -1239,12 +1283,14 @@
</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="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
<parameter name="httpMethod" value="POST"/>
<parameter name="responsePrefix" value="so-callback-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -1282,6 +1328,11 @@
</block>
</outcome>
</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.gNBCUUPList.gNBCUUPId`"/>
+ </execute>
</block>
<block atomic='true'>
<switch test='`$prop.ransim-mounted`'>
@@ -1322,6 +1373,9 @@
<parameter name="target" value="{id}"/>
<parameter name="replacement" value="`$tmp.RRMPolicyRatioID.GNBCUUPFunction`"/>
</execute>
+ <set>
+ <parameter name='tmp.resourceID' value='`$tmp.gNBCUUPList.gNBCUUPId`'/>
+ </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" />
@@ -1373,12 +1427,14 @@
</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="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
<parameter name="httpMethod" value="POST"/>
<parameter name="responsePrefix" value="so-callback-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -1451,12 +1507,14 @@
</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="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
<parameter name="httpMethod" value="POST"/>
<parameter name="responsePrefix" value="so-callback-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -1532,12 +1590,14 @@
</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="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
<parameter name="httpMethod" value="POST"/>
<parameter name="responsePrefix" value="so-callback-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -1795,6 +1855,10 @@
<parameter name="target" value="{mnc}"/>
<parameter name="replacement" value="`$tmp.mnc`"/>
</execute>
+ <set>
+ <parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice/$tmp.cellDUListEntries`'/>
+ <parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice/$tmp.cellDUListEntries`'/>
+ </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" />
@@ -1846,12 +1910,14 @@
</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="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
<parameter name="httpMethod" value="POST"/>
<parameter name="responsePrefix" value="so-callback-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -1889,6 +1955,11 @@
</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.gNBDUList.gNBDUId`"/>
+ </execute>
</block>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
@@ -1972,6 +2043,9 @@
</block>
</outcome>
</execute>
+ <set>
+ <parameter name='tmp.resourceID-DU' value='`$tmp.cellLocalId`'/>
+ </set>
<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'`" />
@@ -2155,12 +2229,14 @@
</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="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
<parameter name="httpMethod" value="POST"/>
<parameter name="responsePrefix" value="so-callback-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
@@ -2222,42 +2298,82 @@
</for>
</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/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$payloadJson.input.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='field7' value="`$tmp.CUCPList`" />
- <parameter name='field8' value="`$tmp.CUUPList`" />
- <parameter name='field9' value="`$tmp.DUList`" />
+ <parameter name="field1" value="Update inventory in ConfigDB"/>
</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="`$payloadJson.input.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-response"/>
+ <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="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
<set>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>
+ <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 sending SO Response" />
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating inventory in ConfigDB. 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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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="`$payloadJson.input.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <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/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
</block>
</outcome>
<outcome value='success'>
@@ -2265,17 +2381,80 @@
<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="SO Response Sent "/>
+ <parameter name="field1" value="Successfully Updated inventory in ConfigDB"/>
</record>
</block>
</outcome>
</execute>
+ <block atomic='true'>
+ <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`"/>
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.so.callbackURL`"/>
+ <parameter name="outputPath" value="tmp.so.callbackURL"/>
+ <parameter name="target" value="{requestId}"/>
+ <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="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$payloadJson.input.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='field7' value="`$prop.restapi.so.user`" />
+ <parameter name='field8' value="`$prop.restapi.so.password`" />
+ <parameter name='field9' value="`$tmp.DUList.response_length`" />
+ <parameter name='field10' value="`$tmp.CUCPList.response`" />
+ <parameter name='field11' value="`$tmp.CUUPList.response`" />
+ <parameter name='field12' value="`$tmp.DUList.response`" />
+ </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="`$payloadJson.input.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error sending SO response. 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" />
+ </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/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <return status='success'>
+ <parameter name="ack-final" value="N" />
+ <parameter name="error-code" value="200" />
+ <parameter name="error-message" value="SUCCESSFUL Execution" />
+ </return>
</block>
- <return status='success'>
- <parameter name="ack-final" value="N" />
- <parameter name="error-code" value="200" />
- <parameter name="error-message" value="SUCCESSFUL Execution" />
- </return>
</block>
</method>
</service-logic> \ No newline at end of file
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 be9ad2de..21571e92 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,6 +4,15 @@
<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"/>
@@ -56,7 +65,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -95,6 +104,211 @@
</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`"/>
+ </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 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>
+ <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.configdb.getListOfCells`"/>
+ <parameter name="outputPath" value="tmp.configdb.getListOfCells.url"/>
+ <parameter name="target" value="{trackingArea}"/>
+ <parameter name="replacement" value="`$tmp.payload.trackingArea`"/>
+ </execute>
+ <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="URL for configDB Get getListOfCells for tracking area"/>
+ <parameter name='field2' value="`$prop.configdb.url + $tmp.configdb.getListOfCells.url`" />
+ <parameter name='field3' value="`$tmp.payload.trackingArea`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getListOfCells.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getListofCells-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <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>
+ <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 Obtained List of Cells from ConfigDB"/>
+ <parameter name="field2" value="`$getListofCells-configdb-response._length`"/>
+ <parameter name="field3" value="List of Cells in the Tracking Area Relevant for RAN Slice Instantiation "/>
+ </record>
+ <for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.trackingarea.cell' />
+ <parameter name='source' value="`'getListofCells-configdb-response.[' + $idx + ']'`" />
+ </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.trackingarea.cell`"/>
+ </record>
+ </for>
+ <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 index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
@@ -107,6 +321,7 @@
</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`' />
@@ -198,31 +413,24 @@
</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.pLMNInfoList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`" />
- </execute>
- <for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >
+ <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.configDBSNSSAI' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`" />
+ <parameter name='outputPath' value='tmp.cellCULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
</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="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`'>
+ <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="CellCU is applicable for the NSSAI "/>
+ <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'>
@@ -250,10 +458,6 @@
</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"/>
@@ -335,7 +539,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -369,17 +573,30 @@
</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 for this profile is - "/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellCU`"/>
+ <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'>
@@ -465,7 +682,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -502,10 +719,9 @@
</block>
</outcome>
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyRatioList_length' />
- <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length '`" />
- </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" />
@@ -514,10 +730,21 @@
</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.rrmPolicyDedicatedRatio_cellCU' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
- <parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value="`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`" />
+ <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/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`"/>
+ </record>
<switch test='`$prop.ransim-mounted`'>
<outcome value='false'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
@@ -544,17 +771,38 @@
</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.RRMPolicyRatio_id' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`" />
- </set>
- <set>
- <parameter name='tmp.RRMPolicyMember_id' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`" />
+ <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="Updated RRMPolicyRatio for CellCU is - "/>
- <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatio_updated`"/>
+ <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'`" />
@@ -573,6 +821,19 @@
<parameter name="level" value="info" />
<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'>
<set>
<parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
@@ -598,7 +859,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -622,24 +883,40 @@
</block>
</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>
- </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'`" />
@@ -685,7 +962,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -719,6 +996,78 @@
</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'`" />
@@ -764,7 +1113,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -817,7 +1166,7 @@
<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="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`"/>
@@ -834,54 +1183,472 @@
<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'>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
+ <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`"/>
+ <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>
- </outcome>
- <outcome value='true'>
+ <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`' >
+ <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.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <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>
- <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>
+ </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='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`"/>
+ </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="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'>
+ <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 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>
+ </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="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="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'>
@@ -909,7 +1676,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -933,75 +1700,102 @@
</block>
<set>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>
+ <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 patching CUUP PLMNInfo. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error updating CUUP-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
<outcome value='success'>
- <block atomic='true'>
+ <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 Patched - gNBCUUP PLMNInfo List"/>
+ <parameter name="field1" value="Successfully updated ConfigDB - NRCellCU pLMNinfo "/>
</record>
</block>
</outcome>
</execute>
- <set>
- <parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />
- <parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />
- <parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />
- <parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />
- </set>
+ <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="RRMPolicyRatio for this profile is - "/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio-CUUP`"/>
+ <parameter name="field1" value="get RRMPolicyby Resource URL"/>
+ <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
</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>
+ <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='true'>
+ <outcome value='success'>
<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`"/>
+ <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>
- </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>
+ <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.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="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' />
@@ -1033,7 +1827,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1057,326 +1851,27 @@
</block>
<set>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ <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 in fetching RRMPolicyRatio. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
<outcome value='success'>
- <block atomic='true'>
+ <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 Retrieved - RRMPolicyRatio"/>
+ <parameter name="field1" value="Successfully updated ConfigDB - CUUP 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>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyRatioList_CUUP_length' />
- <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_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="CUUP - RRMPolicyRatioList size"/>
- <parameter name="field2" value="`$tmp.tmp.rrmPolicyRatioList_CUUP_length`"/>
- </record>
- <for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >
- <block atomic='true'>
- <set>
- <parameter name='tmp.rrmPolicyDedicatedRatio_CUUP' value="`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
- <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="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>
- <set>
- <parameter name='tmp.RRMPolicyRatio_id' value="`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`" />
- </set>
- <set>
- <parameter name='tmp.RRMPolicyMember_id' value="`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_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="Updated RRMPolicyRatio for CUUP is - "/>
- <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`"/>
- </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="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'>
- <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='application/json' />
- <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/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <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 nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- </execute>
- </block>
- </for>
- <block atomic='true'>
- <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 + '/restapi.configDB.updategNBCUUP.templatefile'`" />
- <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'>
- <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='application/json' />
- <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 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>
- </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.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/restapi.configDB.updateRRMPolicy.CUUP.templatefile'`" />
- <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'>
- <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='application/json' />
- <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 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>
- </block>
</block>
- </for>
+ </block>
</block>
</for>
</block>
@@ -1410,26 +1905,18 @@
<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>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`" />
- </execute>
- <for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >
+ <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.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.cellCULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" />
</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="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`'>
+ <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">
@@ -1465,7 +1952,7 @@
</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 +'].cellCUList['+ $id-celldu +'].cellLocalId'`" />
+ <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`"/>
@@ -1477,7 +1964,7 @@
<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.cellCULocalId`"/>
+ <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`"/>
@@ -1539,7 +2026,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1582,6 +2069,11 @@
</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>
@@ -1633,6 +2125,12 @@
<parameter name="field14" value="`$tmp.rRMPolicyDedicatedRatio.CellDU1`"/>
</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' >
@@ -1671,6 +2169,12 @@
<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`" />
@@ -1708,7 +2212,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1754,21 +2258,23 @@
</block>
</outcome>
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />
- <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length '`" />
- </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.rrmPolicyRatioList_length`"/>
+ <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' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
- <parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value="`$tmp.rrmPolicyDedicatedRatio_cellDU + $tmp.rRMPolicyDedicatedRatio.CellDU`" />
+ <parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value="`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`" />
</set>
<switch test='`$prop.ransim-mounted`'>
<outcome value='false'>
@@ -1796,17 +2302,38 @@
</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.RRMPolicyRatio_id' value="`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`" />
- </set>
- <set>
- <parameter name='tmp.RRMPolicyMember_id' value="`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`" />
+ <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="Updated RRMPolicyRatio for CellCU is - "/>
- <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatio_updated`"/>
+ <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-patch-RRMPolicyRatio-NRCellCU.json'`" />
@@ -1854,7 +2381,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1892,9 +2419,37 @@
</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 + '/restapi.configDB.updategNBDU.templatefile'`" />
+ <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' />
@@ -1928,7 +2483,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1971,9 +2526,81 @@
</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-CUCP.json'`" />
+ <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' />
@@ -2007,7 +2634,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -2061,6 +2688,97 @@
</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" />
@@ -2097,7 +2815,7 @@
<parameter name="responsePrefix" value="so-callback-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
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 5b199fd1..adb24742 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
@@ -22,6 +22,7 @@
<set>
<parameter name='tmp.payload.numberUpdates' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>
<parameter name="tmp.sliceProfileId" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/>
+ <parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>
</set>
<for index='id1' start='0' end="`$tmp.payload.numberUpdates`" >
<set>
@@ -107,6 +108,55 @@
<parameter name='error-code' value='500'/>
<parameter name='error-message' value='Error Patching slice profile parms for close loop. Exiting close loop operation'/>
</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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <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/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
</block>
</outcome>
<outcome value='success'>
@@ -123,261 +173,558 @@
</outcome>
</execute>
</block>
- </for>
- </block>
- </block>
- </outcome>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >
- <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />
- <parameter name='target' value='maxNumberofConns' />
- <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/intelligentSlicing.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="PAYLOAD contains maxNumberofConns...Inntelligent Slicing "/>
- </record>
- <block atomic="true">
- <set>
- <parameter name='tmp.payload.dataPoints' value='`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data_length`'/>
- <parameter name="tmp.sNssai" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.snssai`"/>
- <parameter name="tmp.sliceProfileId" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/>
- </set>
- <for index='id1' start='0' end="`$tmp.payload.dataPoints`" >
- <block atomic='true'>
- <set>
- <parameter name="tmp.cellCUListNumbers" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList_length`"/>
- <parameter name="tmp.gNBCUName" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].gNBCUName`"/>
- <parameter name="tmp.nearRTRICId" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].nearRTRICId`"/>
- </set>
- <for index='id2' start='0' end="`$tmp.cellCUListNumbers`" >
- <set>
- <parameter name="tmp.maxNumberofConns" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].configData.maxNumberofConns`"/>
- <parameter name="tmp.cellLocalId" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].cellLocalId`"/>
- <parameter name="tmp.lastUpdatedTS" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].configData.lastUpdatedTS`"/>
- <parameter name="tmp.predictedMaxNumberofConns" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].configData.predictedMaxNumberofConns`"/>
- </set>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.addnSSAIEntry.ToNRCellCU`"/>
- <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.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.restapi.addnSSAIEntry.ToNRCellCU.url`"/>
- <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/>
- <parameter name="target" value="{idGNBCUCPFunction}"/>
- <parameter name="replacement" value="`$tmp.gNBCUName`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/>
- <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/>
- <parameter name="target" value="{idNRCellCU}"/>
- <parameter name="replacement" value="`$tmp.cellLocalId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/>
- <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/>
- <parameter name="target" value="{sNssai}"/>
- <parameter name="replacement" value="`$tmp.sNssai`"/>
- </execute>
- </block>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.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.restapi.addnSSAIEntry.ToNRCellCU.url`"/>
- <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/>
- <parameter name="target" value="{idGNBCUCPFunction}"/>
- <parameter name="replacement" value="`$tmp.gNBCUName`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/>
- <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/>
- <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/>
- <parameter name="target" value="{idNRCellCU}"/>
- <parameter name="replacement" value="`$tmp.cellLocalId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/>
- <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/>
- <parameter name="target" value="{sNssai}"/>
- <parameter name="replacement" value="`$tmp.sNssai`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Update NRCELLCU config url for Intelligent slicing:"/>
- <parameter name="field2" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/>
- </record>
+ <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.sliceProfileId`"/>
+ </execute>
+ <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" />
+ <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-CL-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/intelligentSlicing.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Setting variables for updating NRCELLCU - Intelligent Slicing"/>
- <parameter name="field2" value="`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/>
- <parameter name="field3" value="`$tmp.nearRTRICId`"/>
- <parameter name="field4" value="`$tmp.gNBCUName`"/>
- <parameter name="field5" value="`$tmp.sNssai`"/>
- <parameter name="field6" value="`$tmp.maxNumberofConns`"/>
- <parameter name="field7" value="`$tmp.cellLocalId`"/>
- <parameter name="field8" value="`$tmp.lastUpdatedTS`"/>
- <parameter name="field9" value="`$tmp.predictedMaxNumberofConns`"/>
+ <parameter name="field1" value="Successfully Obtained PLMNId info from ConfigDB"/>
+ <parameter name="field2" value="`$getPLMN-CL-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 atomic='true'>
+ <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 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.getplmn.url"/>
- <parameter name="target" value="{sliceProfileId}"/>
- <parameter name="replacement" value="`$tmp.sliceProfileId`"/>
- </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`"/>
+ </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for configDB Get PLMN for slice profile ID"/>
- <parameter name='field2' value="`$prop.configdb.url + $tmp.configdb.getplmn.url`" />
- <parameter name='field3' value="`$tmp.sliceProfileId`" />
+ <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='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getplmn.url`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="getplmn-configdb-response"/>
+ <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-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="false"/>
+ <parameter name='accept' value='*/*' />
<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>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Failed to Obtain PLMN from configDB"/>
- </record>
<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'/>
+ <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/intelligentSlicing.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Obtained PLMN from configDB"/>
- <parameter name="field2" value="`$getplmn-configdb-response.httpResponse`"/>
+ <parameter name="field1" value="SO Response Sent "/>
</record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-intelligentslicing-configrsp-context.log' />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$getplmn-configdb-response.httpResponse`" />
- <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="`$getplmn-configdb-response.httpResponse`" />
- <parameter name="result" value="tmp.mnc"/>
- <parameter name="begin-index" value="4" />
- </execute>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ </execute>
+ <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>
+ <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" />
+ <parameter name="field1" value="`$tmp.pLMNId`"/>
+ <parameter name="field2" value="`$tmp.mcc`"/>
+ <parameter name="field3" value="`$tmp.mnc`"/>
+ </record>
+ </block>
+ <block atomic="true">
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.addnSSAIEntry.ToNearRTRIC`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.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.restapi.addnSSAIEntry.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.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.restapi.addnSSAIEntry.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.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/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Closed loop API params"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.mcc`"/>
+ <parameter name="field4" value="`$tmp.mnc`"/>
+ <parameter name="field5" value="`$tmp.payload.sNSSAI`"/>
+ <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
+ <parameter name="field7" value="`$tmp.dLThptPerSlice`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.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-nearRTRIC-config-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/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully patched NearRTRIC configuration"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <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/intelligentSlicing.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="mcc: "/>
- <parameter name="field2" value="`$tmp.mcc`"/>
- <parameter name="field3" value="mnc: "/>
- <parameter name="field4" value="`$tmp.mnc`"/>
+ <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 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>
+ </block>
+ </for>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >
+ <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />
+ <parameter name='target' value='maxNumberofConns' />
+ <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/intelligentSlicing.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="PAYLOAD contains maxNumberofConns...Inntelligent Slicing "/>
+ </record>
+ <set>
+ <parameter name='tmp.payload.dataPoints' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>
+ <parameter name="tmp.payload.sNSSAI" value="`$payloadJson.input.additionalproperties.resourceConfig.snssai`"/>
+ <parameter name="tmp.sliceProfileId" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Data length "/>
+ <parameter name="field2" value="`$tmp.payload.dataPoints`"/>
+ </record>
+ <block atomic="true">
+ <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.sliceProfileId`"/>
+ </execute>
+ <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" />
+ <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-CL-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/intelligentSlicing.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="mcc: "/>
- <parameter name="field2" value="`$tmp.mcc`"/>
- <parameter name="field3" value="mnc: "/>
- <parameter name="field4" value="`$tmp.mnc`"/>
+ <parameter name="field1" value="Successfully Obtained PLMNId info from ConfigDB"/>
+ <parameter name="field2" value="`$getPLMN-CL-configdb-response`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-intelligent-nearRTRIC-context2.log' />
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/>
- <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/>
- <parameter name="target" value="{mcc}"/>
- <parameter name="replacement" value="`$tmp.mcc`"/>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <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 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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <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/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ </execute>
+ <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>
+ <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" />
+ <parameter name="field1" value="`$tmp.pLMNId`"/>
+ <parameter name="field2" value="`$tmp.mcc`"/>
+ <parameter name="field3" value="`$tmp.mnc`"/>
+ </record>
+ </block>
+ <for index='id-is' start='0' end="`$tmp.payload.dataPoints`" >
+ <block atomic="true">
+ <set>
+ <parameter name="tmp.nearRTRICId" value="`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`"/>
+ </set>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.addnSSAIEntry.ToNearRTRIC`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.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.restapi.addnSSAIEntry.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.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.restapi.addnSSAIEntry.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.CUCellListEntries' />
+ <parameter name='source' value="`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUCEll List length "/>
+ <parameter name="field2" value="`$tmp.CUCellListEntries`"/>
+ </record>
+ <for index='id2' start='0' end="`$tmp.CUCellListEntries`" >
+ <block atomic="true">
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellLocalId' />
+ <parameter name='source' value="`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].cellLocalId'`" />
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/>
- <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.predictedMaxNumberofConns' />
+ <parameter name='source' value="`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].configData.predictedMaxNumberofConns'`" />
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for update NRCELLCU "/>
- <parameter name="field2" value="`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/>
- <parameter name="field3" value="sNSSAI: "/>
- <parameter name="field4" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
- <parameter name="field5" value="maxNumberOfConns: "/>
- <parameter name="field6" value="`$tmp.maxNumberOfConns`"/>
- <parameter name="field7" value="predictedMaxNumberofConns: "/>
- <parameter name="field8" value="`$tmp.predictedMaxNumberofConns`"/>
+ <parameter name="field1" value="cellLocalId"/>
+ <parameter name="field2" value="`$tmp.cellLocalId`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-intelligent-update-NRCellCU-configData.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`"/>
<parameter name="restapiUser" value="`$prop.controller.user`" />
<parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="nrcellcu-response"/>
- <parameter name='contentType' value='application/json' />
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-nearRTRIC-config-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/closedLoop.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully patched NearRTRIC configuration"/>
+ </record>
+ </block>
+ </outcome>
<outcome value='failure'>
<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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <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/so-callback-response.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 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 updating NRCellCU config for intelligent slicing" />
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Getting Info from 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/intelligentSlicing.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Update NRCellCU config for intelligent slicing Executed Successfully "/>
- </record>
- </block>
- </outcome>
</execute>
</block>
</for>
@@ -389,6 +736,66 @@
</execute>
</outcome>
</execute>
+ <block atomic='true'>
+ <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`"/>
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.so.callbackURL`"/>
+ <parameter name="outputPath" value="tmp.so.callbackURL"/>
+ <parameter name="target" value="{requestId}"/>
+ <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="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$payloadJson.input.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='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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="`$payloadJson.input.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error sending SO response. 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" />
+ </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/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
<return status='success'>
<parameter name="ack-final" value="N" />
<parameter name="error-code" value="200" />
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml
index 9966b6eb..ddf618d6 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml
@@ -125,7 +125,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -265,7 +265,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -528,7 +528,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -658,7 +658,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -888,7 +888,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -969,7 +969,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1059,7 +1059,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1236,7 +1236,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1360,7 +1360,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1624,7 +1624,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1703,7 +1703,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1915,7 +1915,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -2084,7 +2084,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -2310,7 +2310,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -2402,7 +2402,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -2481,7 +2481,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -2570,7 +2570,7 @@
<parameter name="responsePrefix" value="so-callback-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>