[
{
- "id": "c5568a98.8f8718",
+ "id": "ab2cbb38.5b1548",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 92.5,
- "y": 32.49999666213989,
- "z": "da62f736.168268",
+ "x": 125.93746948242188,
+ "y": 110.50000286102295,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "7ce853d8.9c699c"
+ "3e75b5d2.86b88a"
]
]
},
{
- "id": "7ce853d8.9c699c",
+ "id": "3e75b5d2.86b88a",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
"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": 180.93749237060547,
+ "y": 197.4999713897705,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "558e29d9.0bca88"
+ "a15e1668.6d4628"
]
]
},
{
- "id": "558e29d9.0bca88",
+ "id": "a15e1668.6d4628",
"type": "method",
"name": "method",
"xml": "<method rpc='terminateRANSliceInstance' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 81.5,
- "y": 179.49993085861206,
- "z": "da62f736.168268",
+ "x": 114.93746948242188,
+ "y": 257.4999370574951,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "73e286b5.95ed98"
+ "f44f2ad6.d53e78"
]
]
},
{
- "id": "73e286b5.95ed98",
+ "id": "f44f2ad6.d53e78",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 87.49999237060547,
- "y": 274.2499613761902,
- "z": "da62f736.168268",
+ "x": 120.93746185302734,
+ "y": 352.24996757507324,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "b2a2f929.e9e7d8",
- "ef29471f.64f038",
- "2e6295f3.2b018a",
- "b01e9ff8.9fdcb"
+ "ee062576.4060c8",
+ "42d82aa2.3e3df4",
+ "d22e193.150cbe8",
+ "a84fd19d.c1404"
]
]
},
{
- "id": "b2a2f929.e9e7d8",
+ "id": "ee062576.4060c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 301.49999618530273,
- "y": 297.49999380111694,
- "z": "da62f736.168268",
+ "x": 334.9374656677246,
+ "y": 375.5,
+ "z": "7dbbf2af.ccfd8c",
"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"
+ "39d6dc48.05e714",
+ "5f419111.c2c5f",
+ "a38c938a.944e7",
+ "b67e87df.a032b8",
+ "f66621ca.ced9",
+ "5f4a0c3f.45ca24",
+ "a69df01f.bc74e",
+ "45d0c578.c8ba6c",
+ "b34924a0.5577b8",
+ "163035c2.3d2eba",
+ "9f643c74.9b9b1",
+ "aa19d446.f11918",
+ "9086874c.666548",
+ "c7c7906e.14877",
+ "95f7659d.31ef38",
+ "f35c14d5.f3fb48"
]
]
},
{
- "id": "6336a945.8a35f8",
+ "id": "39d6dc48.05e714",
"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": 719.1874694824219,
+ "y": 518.7500100135803,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "734e7146.41458",
+ "id": "5f419111.c2c5f",
"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": 659.1874847412109,
+ "y": 569.7500290870667,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "fff929df.03fac8",
+ "id": "a38c938a.944e7",
"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": 649.1875610351562,
+ "y": 621.7500596046448,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "b4943470.91c0d8",
- "c824c7c4.195ea8"
+ "24fd35b1.3b958a",
+ "26e3bdce.b60de2"
]
]
},
{
- "id": "b4943470.91c0d8",
+ "id": "24fd35b1.3b958a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 914.5680961608887,
- "y": 561.5680770874023,
- "z": "da62f736.168268",
+ "x": 948.0055656433105,
+ "y": 639.5680832862854,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "31b1e0f6.87ffa"
+ "1854053f.336d5b"
]
]
},
{
- "id": "31b1e0f6.87ffa",
+ "id": "1854053f.336d5b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1084.5679931640625,
- "y": 562.5681924819946,
- "z": "da62f736.168268",
+ "x": 1118.0054626464844,
+ "y": 640.5681986808777,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "cb22de9c.436e2",
- "e2f6cc30.e8277"
+ "7c423082.59fa8",
+ "bc4f95b0.f6d498"
]
]
},
{
- "id": "cb22de9c.436e2",
+ "id": "7c423082.59fa8",
"type": "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": 1347.0052299499512,
+ "y": 540.568178653717,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "e2f6cc30.e8277",
+ "id": "bc4f95b0.f6d498",
"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": 1351.783447265625,
+ "y": 580.5682005882263,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "c824c7c4.195ea8",
+ "id": "26e3bdce.b60de2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 920.5680503845215,
- "y": 501.5681610107422,
- "z": "da62f736.168268",
+ "x": 954.0055198669434,
+ "y": 579.5681672096252,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "48a2a2c5.98d62c"
+ "ec8cb0ec.551ee"
]
]
},
{
- "id": "48a2a2c5.98d62c",
+ "id": "ec8cb0ec.551ee",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1200.5681266784668,
- "y": 407.56821489334106,
- "z": "da62f736.168268",
+ "x": 1234.0055961608887,
+ "y": 485.5682210922241,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "2821d952.27d626",
- "80ea1426.fb74e8"
+ "fe941869.f84c68",
+ "96bc23d2.c6dae"
]
]
},
{
- "id": "2821d952.27d626",
+ "id": "fe941869.f84c68",
"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": 1412.0053825378418,
+ "y": 439.67924785614014,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "ef29471f.64f038",
+ "id": "42d82aa2.3e3df4",
"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": 316.1874694824219,
+ "y": 962.5681824684143,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "18d219c0.9cf676",
- "85e55937.41fdf8",
- "e30d97bf.620048",
- "c27385b1.743288"
+ "1e406d44.f9c303",
+ "d6faf49.1476608",
+ "42e489d3.c47a38",
+ "e90ee938.3216c8"
]
]
},
{
- "id": "18d219c0.9cf676",
+ "id": "1e406d44.f9c303",
"type": "block",
"name": "Process NearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 603.1035614013672,
- "y": 1023.143970489502,
- "z": "da62f736.168268",
+ "x": 636.5410308837891,
+ "y": 1101.143976688385,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "eefa1832.1380b8",
- "f131480e.413408",
- "35178056.84a7e",
- "e0692478.040118",
- "c224bf70.f8698",
- "feae2bb9.c89528",
- "efb82a40.58c198",
- "32462495.24865c",
- "36cfb15f.b2ef8e"
+ "ceea0525.15ef08",
+ "627d8fb4.50f7c",
+ "4ac4d944.26ab78",
+ "9c27065a.121fe8",
+ "dc6f5c5d.19069",
+ "13495f7c.967481",
+ "cd467a3c.ebd308",
+ "4d8386dc.633268"
]
]
},
{
- "id": "eefa1832.1380b8",
+ "id": "ceea0525.15ef08",
"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",
+ "name": "read nearRTRICId-PLMN",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RICPLMNEntries' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].pLMNInfoList_length'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 998.295524597168,
- "y": 675.4773025512695,
- "z": "da62f736.168268",
+ "x": 916.7330322265625,
+ "y": 1098.9773712158203,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "f131480e.413408",
+ "id": "d1172c03.a940d",
"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'`\" />",
+ "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'`\" />",
"comments": "",
"outputs": 1,
- "x": 968.2954940795898,
- "y": 867.4773654937744,
- "z": "da62f736.168268",
+ "x": 1763.7334747314453,
+ "y": 851.4775495529175,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "35178056.84a7e",
+ "id": "479bb8b1.85a0f8",
"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\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.configdb.getNearRTRICNSSAIRemoval.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\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": 1689.4503784179688,
+ "y": 1033.9824123382568,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "dee5a635.a73338",
- "7a0a6ef9.9ecdd"
+ "440ca3a5.bcebdc",
+ "97c6e527.9bbfc8"
]
]
},
{
- "id": "dee5a635.a73338",
+ "id": "440ca3a5.bcebdc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1441.568115234375,
- "y": 1104.0226440429688,
- "z": "da62f736.168268",
+ "x": 1745.0056915283203,
+ "y": 987.0227289199829,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "6a251f04.44743"
+ "b84a5f78.02411"
]
]
},
{
- "id": "6a251f04.44743",
+ "id": "b84a5f78.02411",
"type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1573.5682373046875,
- "y": 1066.0226440429688,
- "z": "da62f736.168268",
+ "x": 1881.0057525634766,
+ "y": 949.0226984024048,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "109652da.35aaad",
- "16105346.8b4fbd"
+ "61446378.c8e6ac",
+ "651b4733.567088"
]
]
},
{
- "id": "16105346.8b4fbd",
+ "id": "651b4733.567088",
"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": 2030.005443572998,
+ "y": 912.1336765289307,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "109652da.35aaad",
+ "id": "61446378.c8e6ac",
"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": 2044.0054473876953,
+ "y": 987.0227451324463,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "7a0a6ef9.9ecdd",
+ "id": "97c6e527.9bbfc8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1439.38623046875,
- "y": 1203.9317626953125,
- "z": "da62f736.168268",
+ "x": 1725.8237762451172,
+ "y": 1100.9317922592163,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "7721543c.03993c"
+ "20b0f9ad.435826"
]
]
},
{
- "id": "7721543c.03993c",
+ "id": "20b0f9ad.435826",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1603.3861083984375,
- "y": 1204.931884765625,
- "z": "da62f736.168268",
+ "x": 1875.8236846923828,
+ "y": 1115.9319295883179,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "99b87529.8cda48"
+ "5c50d1d6.f0dd"
]
]
},
{
- "id": "99b87529.8cda48",
+ "id": "5c50d1d6.f0dd",
"type": "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\"/>",
+ "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 NearRT RIC info in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 1753.3861083984375,
- "y": 1199.9320068359375,
- "z": "da62f736.168268",
+ "x": 2022.8236236572266,
+ "y": 1143.9320058822632,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "873ed2d3.c7ca8",
+ "id": "f52fd913.aa6e38",
"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": 990.1874694824219,
+ "y": 1325.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "85e55937.41fdf8",
+ "id": "d6faf49.1476608",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 583.7500228881836,
- "y": 1160.7500534057617,
- "z": "da62f736.168268",
+ "x": 617.1874923706055,
+ "y": 1238.7500596046448,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "873ed2d3.c7ca8",
- "61417ec7.d4a75",
- "44181142.3471e"
+ "f52fd913.aa6e38",
+ "2c781da9.43b782",
+ "b7c31d2d.f1bb7"
]
]
},
{
- "id": "61417ec7.d4a75",
+ "id": "2c781da9.43b782",
"type": "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": 962.1874694824219,
+ "y": 1390.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "44181142.3471e",
+ "id": "b7c31d2d.f1bb7",
"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": 990.1874694824219,
+ "y": 1465.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "9873817a.bd85"
+ "c905b2f.499c55"
]
]
},
{
- "id": "9873817a.bd85",
+ "id": "c905b2f.499c55",
"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": 1211.1874694824219,
+ "y": 1472.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "9bd17c8f.d933c",
- "ec596de0.0aca4",
- "d29c67e5.d6f4f8",
- "5f1d2c5c.decd84"
+ "7cb85390.59d7ec",
+ "75fd0e0c.34803",
+ "a8794fee.39dd9",
+ "d3134450.6d7398"
]
]
},
{
- "id": "9bd17c8f.d933c",
+ "id": "7cb85390.59d7ec",
"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": 1519.1875457763672,
+ "y": 1313.3499970436096,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "ec596de0.0aca4",
+ "id": "75fd0e0c.34803",
"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": 1566.1874694824219,
+ "y": 1469.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "9e9a8829.999268"
+ "896adb9d.6b6f18"
]
]
},
{
- "id": "b0e1bf8f.22488",
+ "id": "42004097.48331",
"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": 2278.687744140625,
+ "y": 1078.5000190734863,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "e6adc774.43c8d8",
+ "id": "6050a6af.fb9708",
"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": 2278.4375534057617,
+ "y": 1319.000023841858,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "46c5fc21.cc9984",
+ "id": "c30f4bc2.fc6a48",
"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": 2233.187545776367,
+ "y": 1462.749976158142,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "47288b8d.772554",
- "331e8cd2.198374"
+ "f826c3e8.c515c",
+ "74b0ae9b.c7b95"
]
]
},
{
- "id": "850a1c4b.3fe45",
+ "id": "b2866624.012f38",
"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": 2282.1875534057617,
+ "y": 1411.249975681305,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "47df190.60624e8",
+ "id": "befe3d9f.2f52e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2046.75,
- "y": 998.75,
- "z": "da62f736.168268",
+ "x": 2080.187469482422,
+ "y": 1076.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"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"
+ "42004097.48331",
+ "6050a6af.fb9708",
+ "b2866624.012f38",
+ "c30f4bc2.fc6a48",
+ "e1d27409.d87fc8",
+ "dc27eb4.85c4418",
+ "534a357f.61495c",
+ "afa479a9.ecfaa8",
+ "568231be.e9007",
+ "8473f3a2.0a471",
+ "1f8dc56d.ad39bb",
+ "1785991.56ac167",
+ "e6acac07.9093c",
+ "e003ea87.add6f8",
+ "167c0e22.901b82"
]
]
},
{
- "id": "47288b8d.772554",
+ "id": "f826c3e8.c515c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2466.750114440918,
- "y": 1540.7502174377441,
- "z": "da62f736.168268",
+ "x": 2478.1874084472656,
+ "y": 1484.750072479248,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "58993238.4039dc"
+ "41cfa86.8432458"
]
]
},
{
- "id": "58993238.4039dc",
+ "id": "41cfa86.8432458",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2639.749900817871,
- "y": 1539.7502784729004,
- "z": "da62f736.168268",
+ "x": 2661.1874084472656,
+ "y": 1477.7500734329224,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "321c23a.1dc6cdc"
+ "3d327d82.d34362"
]
]
},
{
- "id": "321c23a.1dc6cdc",
+ "id": "3d327d82.d34362",
"type": "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": 2914.18741607666,
+ "y": 1474.7503652572632,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "331e8cd2.198374",
+ "id": "74b0ae9b.c7b95",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2431.75008392334,
- "y": 1423.7499732971191,
- "z": "da62f736.168268",
+ "x": 2460.1875534057617,
+ "y": 1432.7499742507935,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "476ddcef.5da644"
+ "16245cc0.373293"
]
]
},
{
- "id": "476ddcef.5da644",
+ "id": "16245cc0.373293",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2581.750358581543,
- "y": 1382.750156402588,
- "z": "da62f736.168268",
+ "x": 2603.1876068115234,
+ "y": 1393.7500715255737,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "cad84f7d.8b728",
- "df36d01.7f7d83",
- "80ea1426.fb74e8"
+ "50d6cc65.334744",
+ "b5d9e3e6.a0c6c",
+ "96bc23d2.c6dae"
]
]
},
{
- "id": "cad84f7d.8b728",
+ "id": "50d6cc65.334744",
"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": 2863.1874084472656,
+ "y": 1413.7501707077026,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "df36d01.7f7d83",
+ "id": "b5d9e3e6.a0c6c",
"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": 2787.187412261963,
+ "y": 1375.7500715255737,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "abb0b9c.15d9d48",
+ "id": "e1d27409.d87fc8",
"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": 2345.1875534057617,
+ "y": 1181.7501182556152,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "83d73909.bae128",
+ "id": "dc27eb4.85c4418",
"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": 2319.1875534057617,
+ "y": 1231.500020980835,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "a39f8656.444118",
+ "id": "534a357f.61495c",
"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": 2286.9375495910645,
+ "y": 1274.5000219345093,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "d29c67e5.d6f4f8",
+ "id": "a8794fee.39dd9",
"type": "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": 1569.187515258789,
+ "y": 1367.7499742507935,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "5f1d2c5c.decd84",
+ "id": "d3134450.6d7398",
"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": 1576.1874694824219,
+ "y": 1425.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "d3e48ebc.f7231",
+ "id": "afa479a9.ecfaa8",
"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": 2369.1878242492676,
+ "y": 1023.7500230371952,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "696ba9cb.bb2f18",
- "aebe61da.58076"
+ "66d9e235.76e98c",
+ "abfa97de.dcee38"
]
]
},
{
- "id": "696ba9cb.bb2f18",
+ "id": "66d9e235.76e98c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2477.75,
- "y": 1026.749755859375,
- "z": "da62f736.168268",
+ "x": 2604.1878242492676,
+ "y": 1025.7498284876347,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "2ad68b21.890b84"
+ "226723d7.1352ac"
]
]
},
{
- "id": "2ad68b21.890b84",
+ "id": "226723d7.1352ac",
"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": 2926.1877403259277,
+ "y": 1109.7500111162663,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "aebe61da.58076",
+ "id": "abfa97de.dcee38",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2465.75,
- "y": 1128.75,
- "z": "da62f736.168268",
+ "x": 2616.1878242492676,
+ "y": 1094.7500244677067,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "a0cd471f.d08e88"
+ "3bf36cbe.1eac64"
]
]
},
{
- "id": "b5390e62.ee13f",
+ "id": "568231be.e9007",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1824.75,
- "y": 1812.75,
- "z": "da62f736.168268",
+ "x": 1858.1874694824219,
+ "y": 1890.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "2cf8126f.d1e85e",
- "6a14fde8.414504",
- "c0f1b70c.7a0618",
- "21256195.ad05de",
- "770cc1c7.5a6fb",
- "9e4d0066.d7a5f",
- "39559a54.4e74d6",
- "292b773e.225808",
- "e28d4409.a0c4b8"
+ "31d0d99a.1e31c6",
+ "7065e02e.fe117",
+ "b0e943e3.07cbe",
+ "8b9ea572.01f998",
+ "1b417a56.408906",
+ "18100639.1a24ea",
+ "67b6b32e.bbf47c",
+ "f62abaf2.608288",
+ "eb3c3874.8d9fc8"
]
]
},
{
- "id": "2cf8126f.d1e85e",
+ "id": "31d0d99a.1e31c6",
"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": 2040.1874694824219,
+ "y": 1673.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "6a14fde8.414504",
+ "id": "7065e02e.fe117",
"type": "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`\"/>",
+ "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_SliceProfile`\"/>",
"comments": "",
"outputs": 1,
- "x": 2005.75,
- "y": 1651.75,
- "z": "da62f736.168268",
+ "x": 2039.1874694824219,
+ "y": 1734.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "c0f1b70c.7a0618",
+ "id": "b0e943e3.07cbe",
"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": 2080.187469482422,
+ "y": 1796.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "5e0355ea.6e912c",
- "531b3c4c.239274"
+ "63cc6347.1d755c",
+ "cf71a64b.b0e0c8"
]
]
},
{
- "id": "5e0355ea.6e912c",
+ "id": "63cc6347.1d755c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2224.75,
- "y": 1685.749755859375,
- "z": "da62f736.168268",
+ "x": 2258.187469482422,
+ "y": 1763.749762058258,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "b5415457.b2b258"
+ "843ab4ae.bbc048"
]
]
},
{
- "id": "b5415457.b2b258",
+ "id": "843ab4ae.bbc048",
"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": 2536.187469482422,
+ "y": 1755.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "21256195.ad05de",
+ "id": "8b9ea572.01f998",
"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": 2115.187469482422,
+ "y": 1868.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "770cc1c7.5a6fb",
+ "id": "1b417a56.408906",
"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": 2080.187469482422,
+ "y": 1920.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "af7677e4.5eb1b8",
+ "id": "9ba1c217.6108f",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2332.75,
- "y": 1969.75,
- "z": "da62f736.168268",
+ "x": 2366.187469482422,
+ "y": 2047.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "9d029223.3b508"
+ "2b5b505.a7e46b"
]
]
},
{
- "id": "9d029223.3b508",
+ "id": "2b5b505.a7e46b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2496.7498779296875,
- "y": 1970.7501220703125,
- "z": "da62f736.168268",
+ "x": 2530.1873474121094,
+ "y": 2048.7501282691956,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "c89265f6.049fe8",
- "8edb7765.0ff4e8"
+ "3cabb34c.4265ec",
+ "e8b718e7.1c4b88"
]
]
},
{
- "id": "c89265f6.049fe8",
+ "id": "3cabb34c.4265ec",
"type": "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": 2680.1873474121094,
+ "y": 2043.750250339508,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "64306a63.dd3e24",
+ "id": "b2283918.ba1868",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2328.75,
- "y": 1890.75,
- "z": "da62f736.168268",
+ "x": 2362.187469482422,
+ "y": 1968.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "48cd5a.d4e032a8"
+ "dc1ed07.767e83"
]
]
},
{
- "id": "48cd5a.d4e032a8",
+ "id": "dc1ed07.767e83",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2486.750244140625,
- "y": 1838.75,
- "z": "da62f736.168268",
+ "x": 2520.187713623047,
+ "y": 1916.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "faeaed8.9cc8f1",
- "a2d9015a.dbf14",
- "80ea1426.fb74e8"
+ "872ccc72.03626",
+ "8325d214.0e469",
+ "96bc23d2.c6dae"
]
]
},
{
- "id": "faeaed8.9cc8f1",
+ "id": "872ccc72.03626",
"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": 2691.1873474121094,
+ "y": 1977.7500672340393,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "a2d9015a.dbf14",
+ "id": "8325d214.0e469",
"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": 2686.187469482422,
+ "y": 1882.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "9e4d0066.d7a5f",
+ "id": "18100639.1a24ea",
"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": 2115.187469482422,
+ "y": 1995.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "64306a63.dd3e24",
- "af7677e4.5eb1b8"
+ "b2283918.ba1868",
+ "9ba1c217.6108f"
]
]
},
{
- "id": "8edb7765.0ff4e8",
+ "id": "e8b718e7.1c4b88",
"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": 2703.1874351501465,
+ "y": 2080.749945163727,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "39559a54.4e74d6",
+ "id": "67b6b32e.bbf47c",
"type": "for",
"name": "for each rrmpolicyratio",
- "xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
+ "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": 2050.187469482422,
+ "y": 2153.750235080719,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "cd8bf9bc.1cadc8"
+ "cfc19ebc.ebfd8"
]
]
},
{
- "id": "292b773e.225808",
+ "id": "f62abaf2.608288",
"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 ",
+ "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": 2094.187469482422,
+ "y": 2049.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "cd8bf9bc.1cadc8",
+ "id": "cfc19ebc.ebfd8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2237.75,
- "y": 2095.750228881836,
- "z": "da62f736.168268",
+ "x": 2271.187469482422,
+ "y": 2173.750235080719,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "2bc7679f.a36f88",
- "756aabaa.a810d4",
- "bafc3e6d.cdf73",
- "71c76952.045908",
- "54cca329.31500c",
- "14019172.5d29bf",
- "521d3d11.f4ead4",
- "cd5eaeef.a91e3",
- "eaeb68eb.667d98",
- "7314c963.605c68"
+ "1ec1a04f.366fe",
+ "46c85195.a22de",
+ "f1b67974.7382f8",
+ "a1342146.e25a6",
+ "5fef4230.9c857c",
+ "6d7ae401.d6df2c",
+ "9c532b5d.f0d518",
+ "ff1e8d16.e8f14",
+ "e9d595ba.da8798",
+ "bcdd3642.205538",
+ "75e674c6.e4e7ec",
+ "15f1b3ba.7f395c"
]
]
},
{
- "id": "2bc7679f.a36f88",
+ "id": "1ec1a04f.366fe",
"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": 2492.1873359680176,
+ "y": 2090.750141620636,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "e28d4409.a0c4b8",
+ "id": "eb3c3874.8d9fc8",
"type": "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": 2034.1874694824219,
+ "y": 2103.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "688b9f44.1b24f",
+ "id": "ac2cacb3.f66fe",
"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": 2555.2985916137695,
+ "y": 605.972264289856,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "9bebaeb1.90386"
+ "4e83f89.0415408"
]
]
},
{
- "id": "9e9a8829.999268",
+ "id": "896adb9d.6b6f18",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1752.75,
- "y": 1300.75,
- "z": "da62f736.168268",
+ "x": 1782.1874465942383,
+ "y": 1345.7499771118164,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "688b9f44.1b24f",
- "63802b92.24eaa4"
+ "24f3bd47.aa5b72",
+ "ad615746.bbf1e8",
+ "7a26e192.c21df"
]
]
},
{
- "id": "fab9e219.5662d",
+ "id": "d6b537e8.0fef58",
"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": 2790.9649505615234,
+ "y": 863.527765750885,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "b43cbba0.8b8ab8"
+ "8201b3bc.3ade8"
]
]
},
{
- "id": "b43cbba0.8b8ab8",
+ "id": "8201b3bc.3ade8",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2419.75,
- "y": 902.75,
- "z": "da62f736.168268",
+ "x": 2453.187469482422,
+ "y": 980.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "47df190.60624e8"
+ "befe3d9f.2f52e"
]
]
},
{
- "id": "b5ed71f7.1a30d",
+ "id": "8473f3a2.0a471",
"type": "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",
+ "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 for cucp plmninfo \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2241.75,
- "y": 993.75,
- "z": "da62f736.168268",
+ "x": 2243.1875495910645,
+ "y": 962.7500171661377,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "7690acef.0c3c44",
+ "id": "32791068.e42dc",
"type": "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": 2830.0762786865234,
+ "y": 798.9722466468811,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "9bebaeb1.90386",
+ "id": "ad6ce437.1f4cf8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2271.75,
- "y": 729.75,
- "z": "da62f736.168268",
+ "x": 2639.1876068115234,
+ "y": 772.7500786781311,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "7690acef.0c3c44",
- "fab9e219.5662d",
- "c229445e.e237e8"
+ "32791068.e42dc",
+ "d6b537e8.0fef58",
+ "60b9733.364df8c"
]
]
},
{
- "id": "c229445e.e237e8",
+ "id": "60b9733.364df8c",
"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",
- "wires": [
- []
- ]
- },
- {
- "id": "871e03be.326d",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1641.7499542236328,
- "y": 2277.750011444092,
- "z": "da62f736.168268",
- "wires": [
- [
- "7389066e.093d58",
- "d793dedd.b3828",
- "affea016.689ae"
- ]
- ]
- },
- {
- "id": "7389066e.093d58",
- "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",
- "wires": [
- [
- "792eb9e8.3016e8",
- "f973581b.cedbd8"
- ]
- ]
- },
- {
- "id": "f973581b.cedbd8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2160.749954223633,
- "y": 2349.750011444092,
- "z": "da62f736.168268",
- "wires": [
- [
- "337d2d70.5e45a2"
- ]
- ]
- },
- {
- "id": "792eb9e8.3016e8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2211.749954223633,
- "y": 2248.750255584717,
- "z": "da62f736.168268",
- "wires": [
- [
- "c01c4080.c3a65"
- ]
- ]
- },
- {
- "id": "c01c4080.c3a65",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2405.000068664551,
- "y": 2393.5000705718994,
- "z": "da62f736.168268",
- "wires": [
- [
- "75b5b3c7.3a963c",
- "56f19de0.2f7e84",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "56f19de0.2f7e84",
- "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",
- "wires": []
- },
- {
- "id": "75b5b3c7.3a963c",
- "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",
- "wires": []
- },
- {
- "id": "f1003da4.9703c",
- "type": "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",
- "wires": [
- []
- ]
- },
- {
- "id": "337d2d70.5e45a2",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2246.7499389648438,
- "y": 2430.750072479248,
- "z": "da62f736.168268",
- "wires": [
- [
- "f1003da4.9703c"
- ]
- ]
- },
- {
- "id": "7314c963.605c68",
- "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",
- "wires": [
- [
- "90150da1.697df",
- "dbce7c71.c3c3a"
- ]
- ]
- },
- {
- "id": "90150da1.697df",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2243.75,
- "y": 2513.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "87555999.94c5c8"
- ]
- ]
- },
- {
- "id": "dbce7c71.c3c3a",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2243.75,
- "y": 2623.749755859375,
- "z": "da62f736.168268",
- "wires": [
- [
- "67c6fcad.1b3574"
- ]
- ]
- },
- {
- "id": "87555999.94c5c8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2446.75,
- "y": 2510.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "eea3df6d.b73c1",
- "df244507.9f78b8",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "df244507.9f78b8",
- "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",
- "wires": []
- },
- {
- "id": "eea3df6d.b73c1",
- "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",
- "wires": []
- },
- {
- "id": "67c6fcad.1b3574",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2424.75,
- "y": 2617.75,
- "z": "da62f736.168268",
- "wires": [
- [
- "5b69f3a4.bdbf9c"
- ]
- ]
- },
- {
- "id": "5b69f3a4.bdbf9c",
- "type": "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 \"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI['+ $id-cusnssai +'].sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 2590.75,
- "y": 2618.75,
- "z": "da62f736.168268",
+ "x": 3010.0760803222656,
+ "y": 722.9722943305969,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "e30d97bf.620048",
+ "id": "42e489d3.c47a38",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 537.75,
- "y": 1457.75,
- "z": "da62f736.168268",
+ "x": 571.1874694824219,
+ "y": 1535.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "e740dcbe.62887",
- "a339374f.45c368",
- "2c0eccd1.c1fb94"
+ "8d1ecf94.56c75",
+ "17e983b1.0f5acc",
+ "25527780.2599c8"
]
]
},
{
- "id": "e740dcbe.62887",
+ "id": "8d1ecf94.56c75",
"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": 902.1874694824219,
+ "y": 1545.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "a339374f.45c368",
+ "id": "17e983b1.0f5acc",
"type": "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": 874.1874694824219,
+ "y": 1610.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "2c0eccd1.c1fb94",
+ "id": "25527780.2599c8",
"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": 902.1874694824219,
+ "y": 1685.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "2c461d47.b6fc72"
+ "f767918b.c1909"
]
]
},
{
- "id": "2c461d47.b6fc72",
+ "id": "f767918b.c1909",
"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": 767.1875991821289,
+ "y": 2045.7502088546753,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "18305831.d8e2b8",
- "14036e41.d65ea2",
- "f20be07.17fc12",
- "3cfc8050.81beb"
+ "47bac32b.d6df2c",
+ "607f15a1.e3bfdc",
+ "1244a86b.f09588",
+ "cd23d77e.638378",
+ "3237bde0.394412",
+ "1013b9f.df67c46",
+ "7540d398.4d7e7c",
+ "53716e4f.0e078",
+ "675f0053.7c06e",
+ "ce6a8825.08e218",
+ "731b1530.4c3bac",
+ "f17c73fb.f3c46",
+ "a5e1144f.668608"
]
]
},
{
- "id": "18305831.d8e2b8",
+ "id": "47bac32b.d6df2c",
"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": 1184.187515258789,
+ "y": 2098.750027656555,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "14036e41.d65ea2",
+ "id": "607f15a1.e3bfdc",
"type": "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": 1168.1876106262207,
+ "y": 2148.7500772476196,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "f20be07.17fc12",
+ "id": "1244a86b.f09588",
"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": 1164.187515258789,
+ "y": 2202.7500791549683,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "3cfc8050.81beb",
+ "id": "cd23d77e.638378",
"type": "for",
"name": "foreach pLMNInfo",
- "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
+ "xml": "<for index='id-plmn' start='0' end='1'>\n",
"comments": "",
"outputs": 1,
- "x": 1356.75,
- "y": 1622.75,
- "z": "da62f736.168268",
+ "x": 1008.1874618530273,
+ "y": 2337.750231742859,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "d2fce7e.daa3d18"
+ "76531b0.fcdd0e4"
]
]
},
{
- "id": "d2fce7e.daa3d18",
+ "id": "76531b0.fcdd0e4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1322.75,
- "y": 2698.75,
- "z": "da62f736.168268",
+ "x": 1130.1874618530273,
+ "y": 2409.7502343654633,
+ "z": "7dbbf2af.ccfd8c",
"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"
+ "e69dbd8f.eeb1f",
+ "d9e7e9d6.d4c918",
+ "ed65fd40.81f58"
]
]
},
{
- "id": "1fdc0d32.1eff63",
+ "id": "f6f2ec79.71ec3",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1952.7501525878906,
- "y": 2898.7502393722534,
- "z": "da62f736.168268",
+ "x": 2258.1877403259277,
+ "y": 2917.750337600708,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "3d8b1b51.39d874"
+ "11ce79c1.a1eb76"
]
]
},
{
- "id": "3d8b1b51.39d874",
+ "id": "11ce79c1.a1eb76",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2129.750274658203,
- "y": 2887.750117301941,
- "z": "da62f736.168268",
+ "x": 2415.187744140625,
+ "y": 2910.7501425743103,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "559fa3a0.b9869c",
- "b8136934.d0c978",
- "80ea1426.fb74e8"
+ "b6ec5207.c85b3",
+ "a49dd287.9dcb7",
+ "96bc23d2.c6dae"
]
]
},
{
- "id": "b8136934.d0c978",
+ "id": "a49dd287.9dcb7",
"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": 2660.1877517700195,
+ "y": 2911.750533103943,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "559fa3a0.b9869c",
+ "id": "b6ec5207.c85b3",
"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": 2648.1877517700195,
+ "y": 2946.750534057617,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "a873648c.573e28",
+ "id": "e29d71e1.f7537",
"type": "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": 2638.1875534057617,
+ "y": 2994.7503385543823,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "4dcb6361.01e9bc",
+ "id": "b3e805cf.7e3048",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2126.750030517578,
- "y": 2970.7499952316284,
- "z": "da62f736.168268",
+ "x": 2482.187545776367,
+ "y": 2987.750144004822,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "a873648c.573e28"
+ "e29d71e1.f7537"
]
]
},
{
- "id": "f316122d.69b8",
+ "id": "68b90674.2ffc88",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1946.7500305175781,
- "y": 2965.750178337097,
- "z": "da62f736.168268",
+ "x": 2322.187545776367,
+ "y": 2987.7503385543823,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "4dcb6361.01e9bc"
+ "b3e805cf.7e3048"
]
]
},
{
- "id": "b4bbd615.193438",
+ "id": "c445baf.1e26e48",
"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": 2004.1874961853027,
+ "y": 2708.750383377075,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "f563292.e8546d8",
- "809d4e77.6150b"
+ "b909a3bc.308e9",
+ "b7b3c806.452168"
]
]
},
{
- "id": "f563292.e8546d8",
+ "id": "b909a3bc.308e9",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2335.750015258789,
- "y": 2677.750099182129,
- "z": "da62f736.168268",
+ "x": 2324.187599182129,
+ "y": 2758.750140696764,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "86d73812.b12f28"
+ "71d180ff.6606e"
]
]
},
{
- "id": "809d4e77.6150b",
+ "id": "b7b3c806.452168",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2323.750015258789,
- "y": 2779.750343322754,
- "z": "da62f736.168268",
+ "x": 2357.187484741211,
+ "y": 2857.750349521637,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "f5886e6b.6deba"
+ "8d00366e.864018"
]
]
},
{
- "id": "86d73812.b12f28",
+ "id": "71d180ff.6606e",
"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": 2689.187484741211,
+ "y": 2770.750349521637,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "26b37e42.cb62c2",
+ "id": "bfa0e8f3.c5e558",
"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": 2020.1874389648438,
+ "y": 2812.750141143799,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "756aabaa.a810d4",
- "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",
- "wires": []
- },
- {
- "id": "dcce991e.51fb68",
+ "id": "1013b9f.df67c46",
"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": 1380.1876068115234,
+ "y": 3187.750391960144,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "8565a8c1.f117b8",
+ "id": "7540d398.4d7e7c",
"type": "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": 1338.1876106262207,
+ "y": 3252.750391960144,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "3122b254.89dc0e",
+ "id": "53716e4f.0e078",
"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": 1404.187515258789,
+ "y": 3298.7501974105835,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "80de3869.b21368",
- "dd4e6136.8f68f"
+ "f570d5a6.8d8608",
+ "2a1244f1.a07f1c"
]
]
},
{
- "id": "80de3869.b21368",
+ "id": "f570d5a6.8d8608",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1758.75,
- "y": 3082.749755859375,
- "z": "da62f736.168268",
+ "x": 1713.1874465942383,
+ "y": 3254.7497568130493,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "5ffeb69.0073248"
+ "bb5e403b.03f39"
]
]
},
{
- "id": "5ffeb69.0073248",
+ "id": "bb5e403b.03f39",
"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": 1972.187255859375,
+ "y": 3256.749951839447,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "47f50986.613b18",
+ "id": "675f0053.7c06e",
"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": 1451.1876125335693,
+ "y": 3347.7503938674927,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "cc4b3d1c.b7b28",
+ "id": "ce6a8825.08e218",
"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": 1470.1876114606857,
+ "y": 3395.750346183777,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "38ac6d66.eb8bb2",
- "f36285fe.091f58"
+ "fd89aea9.7b5b3",
+ "7f95c0e4.f485a"
]
]
},
{
- "id": "38ac6d66.eb8bb2",
+ "id": "fd89aea9.7b5b3",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1863.7500953674316,
- "y": 3217.750178337097,
- "z": "da62f736.168268",
+ "x": 1876.187644958496,
+ "y": 3360.7501487731934,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "b978449b.8564e8"
+ "3680e62.12fa31a"
]
]
},
{
- "id": "b978449b.8564e8",
+ "id": "3680e62.12fa31a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2024.750244140625,
- "y": 3236.75,
- "z": "da62f736.168268",
+ "x": 2050.187644958496,
+ "y": 3371.7499532699585,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "d8c014b9.fdde68",
- "3d535d79.d11522",
- "80ea1426.fb74e8"
+ "48ae1a5d.537aa4",
+ "65883337.6e50dc",
+ "96bc23d2.c6dae"
]
]
},
{
- "id": "3d535d79.d11522",
+ "id": "65883337.6e50dc",
"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": 2242.187454223633,
+ "y": 3316.7499532699585,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "d8c014b9.fdde68",
+ "id": "48ae1a5d.537aa4",
"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": 2286.187454223633,
+ "y": 3360.7499532699585,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "5fa9cd75.1642c4",
+ "id": "64787e93.580a7",
"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": 2273.187454223633,
+ "y": 3439.7503452301025,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "32e5c16b.e5d03e",
+ "id": "96fec774.ba6cc8",
"type": "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": 2265.187454223633,
+ "y": 3395.750344276428,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "3f7902a5.2af71e",
+ "id": "9b510cd4.14479",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2022.7499542236328,
- "y": 3282.750409603119,
- "z": "da62f736.168268",
+ "x": 2056.1874504089355,
+ "y": 3417.750344276428,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "32e5c16b.e5d03e",
- "5fa9cd75.1642c4"
+ "96fec774.ba6cc8",
+ "64787e93.580a7"
]
]
},
{
- "id": "f36285fe.091f58",
+ "id": "7f95c0e4.f485a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1864.7501678466797,
- "y": 3272.7502875328064,
- "z": "da62f736.168268",
+ "x": 1875.187644958496,
+ "y": 3416.7501497268677,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "3f7902a5.2af71e"
+ "9b510cd4.14479"
]
]
},
{
- "id": "410f131a.e8d5cc",
+ "id": "731b1530.4c3bac",
"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 ",
+ "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": 1469.1876106262207,
+ "y": 3442.7503957748413,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "d8d2f80.b434408",
+ "id": "f17c73fb.f3c46",
"type": "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",
+ "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.rrmPolicyRatioList_CUUP_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1539.7501983642578,
- "y": 3314.7500438690186,
- "z": "da62f736.168268",
+ "x": 1432.1876125335693,
+ "y": 3491.7503957748413,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "3e6164e6.889c1c",
+ "id": "a5e1144f.668608",
"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": 1487.8541164398193,
+ "y": 3536.0836000442505,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "4d9b86f.66fa578"
+ "e9ae6ba6.789d18"
]
]
},
{
- "id": "4d9b86f.66fa578",
+ "id": "e9ae6ba6.789d18",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1780.4166793823242,
- "y": 3391.083480834961,
- "z": "da62f736.168268",
+ "x": 1813.854148864746,
+ "y": 3469.083487033844,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "ce038fe2.e456",
- "519ec736.4a1068",
- "dd39b21f.bbf38",
- "8e54b571.b9af88",
- "5ca1f89e.93f5d8",
- "eda4c4e8.16ea58",
- "a13823ad.65203",
- "5f652628.9468d8"
+ "ee8bcbfb.3c7bd8",
+ "f7776fb3.813fd",
+ "b886c16f.ec3f9",
+ "2f976a24.2999e6",
+ "ec777e18.0bdc2",
+ "904594a7.bb7d18",
+ "f7497ee4.8284d",
+ "a9af97f3.056d68",
+ "3ac47774.109b28",
+ "2ace0ee9.26c332",
+ "726fc2f.51f473c"
]
]
},
{
- "id": "4ab04fee.b55ac",
+ "id": "86b69dff.b5e4d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2576.4165573120117,
- "y": 3625.083728790283,
- "z": "da62f736.168268",
+ "x": 2609.8540267944336,
+ "y": 3703.0837349891663,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "341834f5.774cfc"
+ "e6c20713.cecbb8"
]
]
},
{
- "id": "341834f5.774cfc",
+ "id": "e6c20713.cecbb8",
"type": "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": 2803.854179382324,
+ "y": 3733.0835518836975,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "eb6b252b.9b57a8",
+ "id": "26a35a8e.893d66",
"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": 2869.853998184204,
+ "y": 3790.083429336548,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "d2c89e1b.a4f7e",
+ "id": "1c5249b9.4a95e6",
"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": 2884.854118347168,
+ "y": 3838.083429336548,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "175e405e.e470d",
+ "id": "f1c91196.7e76a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2573.41707611084,
- "y": 3687.0833625793457,
- "z": "da62f736.168268",
+ "x": 2606.8545455932617,
+ "y": 3765.0833687782288,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "d2c89e1b.a4f7e",
- "eb6b252b.9b57a8"
+ "1c5249b9.4a95e6",
+ "26a35a8e.893d66"
]
]
},
{
- "id": "635ad14e.3580b",
+ "id": "84ca50d3.1e31c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2352.41658782959,
- "y": 3664.0833621025085,
- "z": "da62f736.168268",
+ "x": 2389.8540077209473,
+ "y": 3764.0831632614136,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "175e405e.e470d"
+ "f1c91196.7e76a"
]
]
},
{
- "id": "9f52b9d7.0cd2f8",
+ "id": "e90ee938.3216c8",
"type": "block",
- "name": "block : atomic",
+ "name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1536.0834197998047,
- "y": 3823.4168615341187,
- "z": "da62f736.168268",
+ "x": 933.9376449584961,
+ "y": 4173.500734806061,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "ac9e50a1.7fede",
- "ab5e7689.f41358",
- "3b93f05.3eb1b1",
- "9a1ff089.a405b"
+ "582f726c.7fcb3c",
+ "1b44b755.afa449",
+ "1bb458b2.a3c417"
]
]
},
{
- "id": "ac9e50a1.7fede",
+ "id": "582f726c.7fcb3c",
"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\"/>",
+ "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": 1869.0833740234375,
- "y": 3824.416748046875,
- "z": "da62f736.168268",
+ "x": 1262.937644958496,
+ "y": 4204.500734806061,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
- [
- "5d9840dd.4bc88",
- "8d0eecf8.83f93"
- ]
+ []
]
},
{
- "id": "5d9840dd.4bc88",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "id": "1b44b755.afa449",
+ "type": "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 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": 2156.0833740234375,
- "y": 3795.4169921875,
- "z": "da62f736.168268",
+ "x": 1220.937629699707,
+ "y": 4265.500734806061,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
- [
- "6c01dce1.f97fe4"
- ]
+ []
]
},
{
- "id": "8d0eecf8.83f93",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "1bb458b2.a3c417",
+ "type": "for",
+ "name": "foreach DU",
+ "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 2105.0833740234375,
- "y": 3896.416748046875,
- "z": "da62f736.168268",
+ "x": 1235.9376602172852,
+ "y": 4331.500359535217,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "91bdfe82.c4b79"
+ "65c34acb.018754"
]
]
},
{
- "id": "91bdfe82.c4b79",
+ "id": "65c34acb.018754",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2227.0832443237305,
- "y": 3943.416739463806,
- "z": "da62f736.168268",
+ "x": 1513.937644958496,
+ "y": 4336.500704288483,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "b718f495.923768"
+ "ef834b23.f949a8",
+ "9d52922e.885b2",
+ "6f64d23b.fb001c",
+ "b8bec295.59384"
]
]
},
{
- "id": "6c01dce1.f97fe4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "ef834b23.f949a8",
+ "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": 2348.0833740234375,
- "y": 3911.416748046875,
- "z": "da62f736.168268",
+ "x": 1792.9374694824219,
+ "y": 4332.500006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
- [
- "bb2286c0.bc6398",
- "19e6162c.9ede7a",
- "80ea1426.fb74e8"
- ]
+ []
]
},
{
- "id": "b718f495.923768",
+ "id": "9d52922e.885b2",
"type": "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 \"/>",
+ "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=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2367.0834884643555,
- "y": 3947.4168004989624,
- "z": "da62f736.168268",
+ "x": 1765.9374694824219,
+ "y": 4383.500006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "bb2286c0.bc6398",
- "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",
- "wires": []
- },
- {
- "id": "19e6162c.9ede7a",
- "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",
- "wires": []
- },
- {
- "id": "5171c1e8.188f1",
- "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'/>",
+ "id": "6f64d23b.fb001c",
+ "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": "",
- "x": 2557.0831756591797,
- "y": 4023.416736602783,
- "z": "da62f736.168268",
- "wires": []
+ "outputs": 1,
+ "x": 1774.9374694824219,
+ "y": 4442.500361442566,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
},
{
- "id": "e3510d57.aaac7",
- "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'/>",
+ "id": "b8bec295.59384",
+ "type": "for",
+ "name": "for cellDUList",
+ "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
"comments": "",
- "x": 2562.083053588867,
- "y": 4118.416797637939,
- "z": "da62f736.168268",
- "wires": []
+ "outputs": 1,
+ "x": 1811.9374465942383,
+ "y": 4521.500264167786,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "53bf66bc.532388"
+ ]
+ ]
},
{
- "id": "f269ec80.a0884",
+ "id": "19c1319d.1cd4ae",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2391.0834197998047,
- "y": 4057.416736602783,
- "z": "da62f736.168268",
+ "x": 2768.687557220459,
+ "y": 4646.500264167786,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "e3510d57.aaac7",
- "5171c1e8.188f1",
- "80ea1426.fb74e8"
+ "3ccc2304.a817cc",
+ "6f7bbbaa.eb58d4",
+ "14a22058.3f097",
+ "6cbe6134.18dde",
+ "ea26dd74.bf47e",
+ "507051ae.80ece",
+ "e0b12c63.862a",
+ "c8c318d3.b0b3a8",
+ "2bdf58a0.e21e08",
+ "789a7902.741ec8",
+ "d0124a83.aa2ab8",
+ "1c6b37a8.400fe8",
+ "710788ba.683388",
+ "ab779797.43fff8",
+ "2623a9f9.8193d6"
]
]
},
{
- "id": "72f84ec8.0e571",
+ "id": "c8c318d3.b0b3a8",
"type": "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 \"/>",
+ "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=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2535.0834197998047,
- "y": 4165.416736602783,
- "z": "da62f736.168268",
+ "x": 3018.687469482422,
+ "y": 4525.500006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "5a9ef1b4.c3885",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2369.0834197998047,
- "y": 4164.416736602783,
- "z": "da62f736.168268",
- "wires": [
- [
- "72f84ec8.0e571"
- ]
- ]
- },
- {
- "id": "5e2714ed.25585c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2188.0834197998047,
- "y": 4170.416492462158,
- "z": "da62f736.168268",
- "wires": [
- [
- "5a9ef1b4.c3885"
- ]
- ]
- },
- {
- "id": "b1b6ad6a.6cde4",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2188.0834197998047,
- "y": 4060.416736602783,
- "z": "da62f736.168268",
- "wires": [
- [
- "f269ec80.a0884"
- ]
- ]
- },
- {
- "id": "ab5e7689.f41358",
- "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",
- "wires": [
- [
- "b1b6ad6a.6cde4",
- "5e2714ed.25585c"
- ]
- ]
- },
- {
- "id": "c27385b1.743288",
- "type": "block",
- "name": "Process gNBDU",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 900.5001754760742,
- "y": 4095.5007286071777,
- "z": "da62f736.168268",
- "wires": [
- [
- "d44b3b7a.f9ae88",
- "f2a985c9.2fb6c8",
- "20dcee0d.5baaf2"
- ]
- ]
- },
- {
- "id": "d44b3b7a.f9ae88",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "f2a985c9.2fb6c8",
- "type": "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",
- "wires": [
- []
- ]
- },
- {
- "id": "20dcee0d.5baaf2",
- "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",
- "wires": [
- [
- "58ad1116.577ab"
- ]
- ]
- },
- {
- "id": "58ad1116.577ab",
- "type": "block",
- "name": "block : process gNBDU",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1480.5001754760742,
- "y": 4258.5006980896,
- "z": "da62f736.168268",
- "wires": [
- [
- "1a7dbcc4.fe8223",
- "37b7f8eb.9730a8",
- "d16e57f9.769c18",
- "6fcc7512.bb863c"
- ]
- ]
- },
- {
- "id": "1a7dbcc4.fe8223",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "37b7f8eb.9730a8",
- "type": "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",
- "wires": [
- []
- ]
- },
- {
- "id": "d16e57f9.769c18",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "6fcc7512.bb863c",
- "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",
- "wires": [
- [
- "20dcb9bd.e2a956",
- "4acc0f7.2614af"
- ]
- ]
- },
- {
- "id": "72b1fbfe.4fa0d4",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2790.25,
- "y": 4452.5,
- "z": "da62f736.168268",
- "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"
- ]
- ]
- },
- {
- "id": "da885498.297d28",
- "type": "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",
- "wires": [
- []
- ]
- },
- {
- "id": "62ef4996.4a7668",
+ "id": "e0b12c63.862a",
"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": 3046.687469482422,
+ "y": 4593.500006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "69e311a3.9ebdf",
- "b5f8b77e.33dce8"
+ "ecc13f89.797d3",
+ "748efaf2.894f34"
]
]
},
{
- "id": "69e311a3.9ebdf",
+ "id": "ecc13f89.797d3",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3221.25,
- "y": 4480.499755859375,
- "z": "da62f736.168268",
+ "x": 3254.687469482422,
+ "y": 4558.499762058258,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "32cc5bde.7c59e4"
+ "c9b0f6a4.354ec8"
]
]
},
{
- "id": "b5f8b77e.33dce8",
+ "id": "748efaf2.894f34",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3216.2500495910645,
- "y": 4549.500324249268,
- "z": "da62f736.168268",
+ "x": 3249.6875190734863,
+ "y": 4627.500330448151,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "f5bc4d2b.f7391"
+ "cd7be5a3.adf0c8"
]
]
},
{
- "id": "32cc5bde.7c59e4",
+ "id": "c9b0f6a4.354ec8",
"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": 3574.687469482422,
+ "y": 4573.500006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "8f979011.b6e6b",
+ "id": "3ccc2304.a817cc",
"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": 3010.2501525878906,
- "y": 4603.500244140625,
- "z": "da62f736.168268",
+ "x": 3050.6876106262207,
+ "y": 4632.500658035278,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "47f75bf6.11a604",
+ "id": "6cbe6134.18dde",
"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": 3098.6876831054688,
+ "y": 4746.5001883506775,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "eb68c446.256e38",
+ "id": "ea26dd74.bf47e",
"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",
+ "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.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3038.2503967285156,
- "y": 4723.500184059143,
- "z": "da62f736.168268",
+ "x": 3071.6878662109375,
+ "y": 4801.500190258026,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "5f2b45e8.09ecfc",
+ "id": "507051ae.80ece",
"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": 3056.6876678466797,
+ "y": 4845.750689506531,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "1b1d715f.a2381f",
+ "id": "6f7bbbaa.eb58d4",
"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": 3057.4379119873047,
+ "y": 4890.0002636909485,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "f4a73761.2d9c48",
+ "id": "14a22058.3f097",
"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": 3065.68741607666,
+ "y": 4978.50036907196,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "5d56bd5.d8dea44",
+ "id": "2bdf58a0.e21e08",
"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": 3113.68741607666,
+ "y": 5017.749979972839,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "de2f338a.d2994",
- "1ea231e0.81896e"
+ "f008e422.d5eee8",
+ "cab537eb.c5ec18"
]
]
},
{
- "id": "1ea231e0.81896e",
+ "id": "cab537eb.c5ec18",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3349.25,
- "y": 4887.75,
- "z": "da62f736.168268",
+ "x": 3366.6874237060547,
+ "y": 4883.749978065491,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "988fbcb0.6d2d6"
+ "f8769385.9e43c"
]
]
},
{
- "id": "de2f338a.d2994",
+ "id": "f008e422.d5eee8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3348.25,
- "y": 4986.75,
- "z": "da62f736.168268",
+ "x": 3393.6874237060547,
+ "y": 5014.749979972839,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "67267243.a6959c"
+ "4d95ae8c.8a24a"
]
]
},
{
- "id": "988fbcb0.6d2d6",
+ "id": "f8769385.9e43c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3507.250244140625,
- "y": 4835.75,
- "z": "da62f736.168268",
+ "x": 3530.687812805176,
+ "y": 4857.749978065491,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "36c4ff38.15923",
- "c0468079.cd9c5",
- "80ea1426.fb74e8"
+ "6fc85235.81968c",
+ "97a40b80.fa9278",
+ "96bc23d2.c6dae"
]
]
},
{
- "id": "67267243.a6959c",
+ "id": "4d95ae8c.8a24a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3516.25,
- "y": 4983.750002622604,
- "z": "da62f736.168268",
+ "x": 3537.6874237060547,
+ "y": 5012.749979972839,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "ca44f06c.103db"
+ "3825691c.53f876"
]
]
},
{
- "id": "ca44f06c.103db",
+ "id": "3825691c.53f876",
"type": "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": 3709.6870346069336,
+ "y": 4991.750370025635,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "36c4ff38.15923",
+ "id": "6fc85235.81968c",
"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": 3712.6874237060547,
+ "y": 4918.749978065491,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "c0468079.cd9c5",
+ "id": "97a40b80.fa9278",
"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": 3711.6874256134033,
+ "y": 4852.749977111816,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "6ecbc131.24be5",
+ "id": "789a7902.741ec8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2883.5,
- "y": 5260.75,
- "z": "da62f736.168268",
+ "x": 2916.937469482422,
+ "y": 5338.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "8c1f5d.018670a",
- "d38412c4.b750b",
- "7ebb67d7.e11a28",
- "319beb3a.17f564",
- "85944896.465108",
- "d39913b1.553fb",
- "d494c905.5edd58",
- "d4e37be0.db9d78"
+ "62f0dd3.1be2924",
+ "75a44e5d.3f067",
+ "7b739c2a.3f2a64",
+ "79017cf0.345254",
+ "add21299.9274c",
+ "471082b0.638dec",
+ "800b88d6.12cf98",
+ "47bef9c7.0d71a8"
]
]
},
{
- "id": "8c1f5d.018670a",
+ "id": "62f0dd3.1be2924",
"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": 3140.93741607666,
+ "y": 5311.749982833862,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "f751f532.34e6f8",
- "bfaa39dc.757718"
+ "41f49c7f.41bb44",
+ "5d7d6216.dd5d9c"
]
]
},
{
- "id": "f751f532.34e6f8",
+ "id": "41f49c7f.41bb44",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3288.5002365112305,
- "y": 5104.7503299713135,
- "z": "da62f736.168268",
+ "x": 3332.937614440918,
+ "y": 5265.750372886658,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "4690d563.53f8dc"
+ "1a0aaabc.882725"
]
]
},
{
- "id": "4690d563.53f8dc",
+ "id": "1a0aaabc.882725",
"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": 3662.9378204345703,
+ "y": 5289.750372886658,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "d38412c4.b750b",
+ "id": "75a44e5d.3f067",
"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": 3165.93741607666,
+ "y": 5378.749983787537,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "7ebb67d7.e11a28",
+ "id": "7b739c2a.3f2a64",
"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": 3141.93741607666,
+ "y": 5435.749984741211,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "319beb3a.17f564",
+ "id": "79017cf0.345254",
"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": 3176.93741607666,
+ "y": 5482.749985694885,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "33a3a8f9.d26368",
- "65e9c8d0.3d2a68"
+ "6d6b10de.c6776",
+ "80dd5b29.ed9d08"
]
]
},
{
- "id": "33a3a8f9.d26368",
+ "id": "6d6b10de.c6776",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3387.5,
- "y": 5338.75,
- "z": "da62f736.168268",
+ "x": 3400.9374198913574,
+ "y": 5468.749984741211,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "ca92b939.e751a8"
+ "5355197e.72f3c8"
]
]
},
{
- "id": "65e9c8d0.3d2a68",
+ "id": "80dd5b29.ed9d08",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3391.5,
- "y": 5417.75,
- "z": "da62f736.168268",
+ "x": 3428.9374237060547,
+ "y": 5528.749985694885,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "bc0581a1.c009b"
+ "40ce45c9.052afc"
]
]
},
{
- "id": "ca92b939.e751a8",
+ "id": "5355197e.72f3c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3545.500244140625,
- "y": 5286.75,
- "z": "da62f736.168268",
+ "x": 3564.937812805176,
+ "y": 5452.749983787537,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "5e52674c.f49888",
- "32e9d73b.f2f8a8",
- "80ea1426.fb74e8"
+ "c0f9bf0.670f84",
+ "a8e370f7.2dd37",
+ "96bc23d2.c6dae"
]
]
},
{
- "id": "32e9d73b.f2f8a8",
+ "id": "a8e370f7.2dd37",
"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": 3764.937816619873,
+ "y": 5416.749983787537,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "5e52674c.f49888",
+ "id": "c0f9bf0.670f84",
"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": 3781.9374237060547,
+ "y": 5452.749985694885,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "bc0581a1.c009b",
+ "id": "40ce45c9.052afc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3536.750213623047,
- "y": 5352.500155448914,
- "z": "da62f736.168268",
+ "x": 3592.187812805176,
+ "y": 5518.499985694885,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "41e8ef48.3d086",
- "8e9932e7.59ac9"
+ "5c659621.ec7748",
+ "bd17d743.bafdf8"
]
]
},
{
- "id": "41e8ef48.3d086",
+ "id": "5c659621.ec7748",
"type": "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": 3760.437816619873,
+ "y": 5498.499985694885,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "8e9932e7.59ac9",
+ "id": "bd17d743.bafdf8",
"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": 3774.9378204345703,
+ "y": 5542.999985694885,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "85944896.465108",
+ "id": "add21299.9274c",
"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 ",
+ "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": 3148.93741607666,
+ "y": 5538.749985694885,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "d39913b1.553fb",
+ "id": "471082b0.638dec",
"type": "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/terminateRANSlice.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": 3059.5,
- "y": 5473.75,
- "z": "da62f736.168268",
+ "x": 3104.93741607666,
+ "y": 5580.74998664856,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "d494c905.5edd58",
+ "id": "800b88d6.12cf98",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3664.5000381469727,
- "y": 5050.750089645386,
- "z": "da62f736.168268",
+ "x": 3719.937812805176,
+ "y": 5241.749981880188,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "f79d7ff8.a240b",
- "d3265604.69a8f8",
- "55db54a6.573fec",
- "5a2807b7.758d38",
- "1bfbc1d.981203e",
- "b6f94bdb.26c228",
- "96c4e243.6dd73",
- "5b8d9ef8.04c1",
- "4f528104.e7e38",
- "9cf9a3b.174fc6",
- "d8f7c33c.fcfed"
+ "a69697b3.655b08",
+ "ba7222b5.15814",
+ "7abcf82.59a0d08",
+ "7ccf97f7.625748",
+ "2c2fd4af.6b330c",
+ "e6803b6c.da2058",
+ "31e6c7f7.60b3e8",
+ "1c37db97.866184",
+ "d0c053fa.51f29",
+ "693ff94c.26eed8",
+ "892a5262.221e1"
]
]
},
{
- "id": "55db54a6.573fec",
+ "id": "7abcf82.59a0d08",
"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": 4141.927276611328,
+ "y": 4909.072759151459,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "5a2807b7.758d38",
+ "id": "7ccf97f7.625748",
"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": 4150.468536376953,
+ "y": 4954.092778623104,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "1bfbc1d.981203e",
+ "id": "2c2fd4af.6b330c",
"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": 4140.468658447266,
+ "y": 5009.092656552792,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "b6f94bdb.26c228",
+ "id": "e6803b6c.da2058",
"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": 4140.468536376953,
+ "y": 5060.092656612396,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "96c4e243.6dd73",
+ "id": "31e6c7f7.60b3e8",
"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": 4128.468658447266,
+ "y": 5120.092778623104,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "5b8d9ef8.04c1",
+ "id": "1c37db97.866184",
"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": 4166.468536376953,
+ "y": 5170.092778623104,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "4f528104.e7e38",
+ "id": "d0c053fa.51f29",
"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": 4153.468475341797,
+ "y": 5240.093144893646,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "9cf9a3b.174fc6",
+ "id": "693ff94c.26eed8",
"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": 4124.468475341797,
+ "y": 5304.092168331146,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "d8f7c33c.fcfed",
+ "id": "892a5262.221e1",
"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": 4112.469024658203,
+ "y": 5355.092046260834,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "d3265604.69a8f8",
+ "id": "ba7222b5.15814",
"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": 4087.9273376464844,
+ "y": 5421.072515010834,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "f79d7ff8.a240b",
+ "id": "a69697b3.655b08",
"type": "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": 3913.9372634887695,
+ "y": 5433.193821430206,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "d4e37be0.db9d78",
+ "id": "47bef9c7.0d71a8",
"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": 3134.187469482422,
+ "y": 5622.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "a71eb109.1a2a8"
+ "528c1d67.f57b04"
]
]
},
{
- "id": "a71eb109.1a2a8",
+ "id": "528c1d67.f57b04",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3321.75,
- "y": 5564.75,
- "z": "da62f736.168268",
+ "x": 3345.187812805176,
+ "y": 5624.749987602234,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "f7c7de35.f6dd",
- "478d81fe.50e29",
- "e85c75c9.5a5208",
- "734b37a6.ac7cf8",
- "3c1e8267.b4f8fe",
- "2fdf003a.ff7bd",
- "ee315155.36298",
- "778a736d.50fb1c"
+ "62ecc111.352e3",
+ "4920a244.7f5c6c",
+ "2fdb88a6.a26b88",
+ "f0025173.8bc81",
+ "3cec9739.39d9f8",
+ "110794fb.6c79bb",
+ "b0f385f8.012f48",
+ "3b954572.23a3ba",
+ "31c13c9.04fb3c4",
+ "dc8d2eaf.fac9f",
+ "5e725b04.67a0f4"
]
]
},
{
- "id": "f7c7de35.f6dd",
- "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",
- "wires": []
- },
- {
- "id": "78448d12.dce7b4",
+ "id": "ae16bd76.9a8ff",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3915.750160217285,
- "y": 5767.000280380249,
- "z": "da62f736.168268",
+ "x": 3949.187629699707,
+ "y": 5845.000286579132,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "9d9a69ac.9255f8"
+ "8bf604ef.4dbf28"
]
]
},
{
- "id": "9d9a69ac.9255f8",
+ "id": "8bf604ef.4dbf28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4108.000228881836,
- "y": 5780.750280380249,
- "z": "da62f736.168268",
+ "x": 4141.437698364258,
+ "y": 5858.750286579132,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "a8a9b00f.39d7"
+ "68ee709a.b4c93"
]
]
},
{
- "id": "a8a9b00f.39d7",
+ "id": "68ee709a.b4c93",
"type": "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": 4338.938064575195,
+ "y": 5849.750048160553,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "dd7413d3.b5b8",
+ "id": "e0e13208.118e9",
"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": 4407.187469482422,
+ "y": 5877.749777317047,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "7c47cc13.b86254",
+ "id": "a9572443.06ee98",
"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": 4412.187347412109,
+ "y": 5972.749838352203,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "8017e442.c8be18",
+ "id": "54b8ae3a.c8806",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4133.750244140625,
- "y": 5848.749771118164,
- "z": "da62f736.168268",
+ "x": 4167.187713623047,
+ "y": 5926.749777317047,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "7c47cc13.b86254",
- "dd7413d3.b5b8",
- "80ea1426.fb74e8"
+ "a9572443.06ee98",
+ "e0e13208.118e9",
+ "96bc23d2.c6dae"
]
]
},
{
- "id": "b77e4296.a4ab5",
+ "id": "2b2a79ae.5fefe6",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3914.75,
- "y": 5843.749771118164,
- "z": "da62f736.168268",
+ "x": 3948.187469482422,
+ "y": 5921.749777317047,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "8017e442.c8be18"
+ "54b8ae3a.c8806"
]
]
},
{
- "id": "ffa45991.9c2558",
+ "id": "96bc23d2.c6dae",
"type": "block",
- "name": "block : atomic",
+ "name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2836.2500915527344,
- "y": 5848.75009727478,
- "z": "da62f736.168268",
+ "x": 4491.671844482422,
+ "y": 2826.7500088214874,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "d4b0d139.012c",
- "1321a256.82504e",
- "59b4ea74.9d06d4",
- "6b7c5e5f.28631"
+ "bfb42204.8499",
+ "81dba352.2590b",
+ "3db6ea08.753196"
]
]
},
{
- "id": "d4b0d139.012c",
+ "id": "bfb42204.8499",
+ "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=\"success\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$terminate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$terminate-r-a-n-slice-instance-input.action`\"/>\n\n\n\n",
+ "comments": "",
+ "x": 5153.672821044922,
+ "y": 2618.6496670246124,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "81dba352.2590b",
+ "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": 5128.67170715332,
+ "y": 2715.750344514847,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3db6ea08.753196",
"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\"/>",
+ "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-terminate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"convertResponse\" value=\"true\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 3221.7505073547363,
- "y": 5950.500043869019,
- "z": "da62f736.168268",
+ "x": 5043.671718597412,
+ "y": 2812.7502224445343,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "2eaf880c.477aa8",
- "2a7ba3a1.9e937c"
+ "614653ba.f5434c",
+ "7e4f1a46.00cc14"
]
]
},
{
- "id": "2eaf880c.477aa8",
+ "id": "614653ba.f5434c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3555.000087738037,
- "y": 5931.501020431519,
- "z": "da62f736.168268",
+ "x": 5269.671727180481,
+ "y": 2789.750191450119,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "1ae15191.d7ec1e"
+ "ecdd307d.108f1"
]
]
},
{
- "id": "2a7ba3a1.9e937c",
+ "id": "7e4f1a46.00cc14",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3486.500270843506,
- "y": 6018.750165939331,
- "z": "da62f736.168268",
+ "x": 5259.671581268311,
+ "y": 2897.7501308918,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "f8e3fdf8.76c46"
+ "acecf568.1e7908"
]
]
},
{
- "id": "f8e3fdf8.76c46",
+ "id": "acecf568.1e7908",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3621.249984741211,
- "y": 6009.750061035156,
- "z": "da62f736.168268",
+ "x": 5409.671367645264,
+ "y": 2916.750191926956,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "fafaca02.b0f628"
+ "927e9c52.4b741"
]
]
},
{
- "id": "1ae15191.d7ec1e",
+ "id": "ecdd307d.108f1",
"type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3778.25,
- "y": 5943.75,
- "z": "da62f736.168268",
+ "x": 5420.6715965271,
+ "y": 2784.7503135204315,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "de84c38a.81b01",
- "e14e1e06.b838b",
- "80ea1426.fb74e8"
+ "564d082d.a38d18"
]
]
},
{
- "id": "e14e1e06.b838b",
- "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'/>",
+ "id": "564d082d.a38d18",
+ "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": 3944.249801635742,
- "y": 5911.749988555908,
- "z": "da62f736.168268",
+ "x": 5586.671276092529,
+ "y": 2787.7501308918,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "fafaca02.b0f628",
+ "id": "927e9c52.4b741",
"type": "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 \"/>",
+ "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": 3785.25,
- "y": 6015.75,
- "z": "da62f736.168268",
+ "x": 5573.671382904053,
+ "y": 2922.7501308918,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "de84c38a.81b01",
- "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'/>",
+ "id": "d22e193.150cbe8",
+ "type": "block",
+ "name": "SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
- "x": 3949.2496337890625,
- "y": 6004.750061035156,
- "z": "da62f736.168268",
- "wires": []
+ "outputs": 1,
+ "x": 573.6718444824219,
+ "y": 4508.750008821487,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "840e3956.011b68",
+ "90c6746e.bbc4a8",
+ "23ee5b7a.40e3c4",
+ "6aad6f38.8196f"
+ ]
+ ]
},
{
- "id": "d8c801f9.936cf",
+ "id": "23ee5b7a.40e3c4",
"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'/>",
+ "name": "set tmp variables for SO response",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$terminate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$tmp.action`\"/>\n\n\n",
"comments": "",
- "x": 3987.249801635742,
- "y": 6055.749988555908,
- "z": "da62f736.168268",
+ "x": 853.6729888916016,
+ "y": 4358.649493455887,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "ca66d998.89cb18",
- "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'/>",
+ "id": "840e3956.011b68",
+ "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": "",
- "x": 3992.2496795654297,
- "y": 6150.750049591064,
- "z": "da62f736.168268",
- "wires": []
+ "outputs": 1,
+ "x": 850.6718215942383,
+ "y": 4512.750191926956,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
},
{
- "id": "d169c987.bcc738",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "90c6746e.bbc4a8",
+ "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-termi-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": 3821.250045776367,
- "y": 6089.749988555908,
- "z": "da62f736.168268",
+ "x": 719.6719207763672,
+ "y": 4629.749896287918,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "ca66d998.89cb18",
- "d8c801f9.936cf",
- "80ea1426.fb74e8"
+ "355d4643.f4a52a",
+ "52ff37ef.75aec8"
]
]
},
{
- "id": "e882cfe7.3321c",
+ "id": "355d4643.f4a52a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3618.250045776367,
- "y": 6092.749988555908,
- "z": "da62f736.168268",
+ "x": 884.6719207763672,
+ "y": 4609.749895334244,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "d169c987.bcc738"
+ "463c3e58.83f39"
]
]
},
{
- "id": "1321a256.82504e",
- "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\"/>",
+ "id": "52ff37ef.75aec8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3189.0001525878906,
- "y": 6177.750418186188,
- "z": "da62f736.168268",
+ "x": 876.6718139648438,
+ "y": 4682.749845743179,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "e882cfe7.3321c",
- "4c10d770.1b7d38"
+ "3f2628b1.c9af88"
]
]
},
{
- "id": "4c10d770.1b7d38",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "3f2628b1.c9af88",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3618.250045776367,
- "y": 6202.749744415283,
- "z": "da62f736.168268",
+ "x": 1022.6716575622559,
+ "y": 4687.749954462051,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "a31a93f8.b478"
+ "7147a089.01cd3"
]
]
},
{
- "id": "a31a93f8.b478",
+ "id": "463c3e58.83f39",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3799.250045776367,
- "y": 6196.749988555908,
- "z": "da62f736.168268",
+ "x": 1033.6718215942383,
+ "y": 4605.750030755997,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "30cee1c0.58d61e"
+ "73420e15.3d06c",
+ "801c9504.b25868"
]
]
},
{
- "id": "30cee1c0.58d61e",
+ "id": "73420e15.3d06c",
+ "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": 1180.6714401245117,
+ "y": 4616.749772310257,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "7147a089.01cd3",
"type": "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 \"/>",
+ "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": 3965.250045776367,
- "y": 6197.749988555908,
- "z": "da62f736.168268",
+ "x": 1183.6715774536133,
+ "y": 4693.749846696854,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "80ea1426.fb74e8",
- "type": "block",
- "name": "block : SO Response",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "801c9504.b25868",
+ "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": "",
- "outputs": 1,
- "x": 4458.234375,
- "y": 2748.7500026226044,
- "z": "da62f736.168268",
- "wires": [
- [
- "d5cfb8cc.005b08",
- "cc239932.401b58",
- "800fdb34.47dc38"
- ]
- ]
+ "x": 1168.1820487976074,
+ "y": 4520.7392637729645,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
},
{
- "id": "d5cfb8cc.005b08",
- "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",
- "wires": []
- },
- {
- "id": "cc239932.401b58",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "800fdb34.47dc38",
- "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\"/>",
- "comments": "",
- "outputs": 1,
- "x": 5010.23424911499,
- "y": 2734.7502162456512,
- "z": "da62f736.168268",
- "wires": [
- [
- "a0207bd8.781f58",
- "862de34c.7e795"
- ]
- ]
- },
- {
- "id": "a0207bd8.781f58",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5236.234257698059,
- "y": 2711.750185251236,
- "z": "da62f736.168268",
- "wires": [
- [
- "3e04c446.bef78c"
- ]
- ]
- },
- {
- "id": "862de34c.7e795",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 5226.234111785889,
- "y": 2819.750124692917,
- "z": "da62f736.168268",
- "wires": [
- [
- "9ad7577a.1ae238"
- ]
- ]
- },
- {
- "id": "9ad7577a.1ae238",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 5376.233898162842,
- "y": 2838.750185728073,
- "z": "da62f736.168268",
- "wires": [
- [
- "af6c61d2.e5e9e"
- ]
- ]
- },
- {
- "id": "3e04c446.bef78c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 5387.234127044678,
- "y": 2706.7503073215485,
- "z": "da62f736.168268",
- "wires": [
- [
- "78222dba.6bb794"
- ]
- ]
- },
- {
- "id": "78222dba.6bb794",
- "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",
- "wires": []
- },
- {
- "id": "af6c61d2.e5e9e",
- "type": "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",
- "wires": [
- []
- ]
- },
- {
- "id": "2e6295f3.2b018a",
- "type": "block",
- "name": "SO Response",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 540.234375,
- "y": 4430.750002622604,
- "z": "da62f736.168268",
- "wires": [
- [
- "23072140.00f5de",
- "65b2eda9.1d4d94",
- "92f41428.624cf8",
- "3c620604.a4247a"
- ]
- ]
- },
- {
- "id": "92f41428.624cf8",
- "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",
- "wires": []
- },
- {
- "id": "23072140.00f5de",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "65b2eda9.1d4d94",
- "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`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 686.2344512939453,
- "y": 4551.749890089035,
- "z": "da62f736.168268",
- "wires": [
- [
- "936a79ac.2bc278",
- "a4da64a4.603d68"
- ]
- ]
- },
- {
- "id": "936a79ac.2bc278",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 851.2344512939453,
- "y": 4531.749889135361,
- "z": "da62f736.168268",
- "wires": [
- [
- "86dab673.02efc8"
- ]
- ]
- },
- {
- "id": "a4da64a4.603d68",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 843.2343444824219,
- "y": 4604.749839544296,
- "z": "da62f736.168268",
- "wires": [
- [
- "1b44685a.cd98d8"
- ]
- ]
- },
- {
- "id": "1b44685a.cd98d8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 989.234188079834,
- "y": 4609.749948263168,
- "z": "da62f736.168268",
- "wires": [
- [
- "77500c56.740084"
- ]
- ]
- },
- {
- "id": "86dab673.02efc8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1000.2343521118164,
- "y": 4527.750024557114,
- "z": "da62f736.168268",
- "wires": [
- [
- "db7f3c8d.e7d95",
- "4ac257ce.8f9fd8"
- ]
- ]
- },
- {
- "id": "db7f3c8d.e7d95",
- "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",
- "wires": []
- },
- {
- "id": "77500c56.740084",
- "type": "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",
- "wires": [
- []
- ]
- },
- {
- "id": "4ac257ce.8f9fd8",
- "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",
- "wires": []
- },
- {
- "id": "3c620604.a4247a",
+ "id": "6aad6f38.8196f",
"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": 873.0114440917969,
+ "y": 4448.735346078873,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "531b3c4c.239274",
+ "id": "cf71a64b.b0e0c8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2241.75,
- "y": 1745.75,
- "z": "da62f736.168268",
+ "x": 2275.187469482422,
+ "y": 1823.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "8c76c7c6.931d78"
+ "a8308c1c.2ffee"
]
]
},
{
- "id": "8c76c7c6.931d78",
+ "id": "a8308c1c.2ffee",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2434.739658355713,
- "y": 1745.7501220703125,
- "z": "da62f736.168268",
+ "x": 2468.1771278381348,
+ "y": 1823.7501282691956,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "c6d79633.ad2cb8",
- "e9a26b46.1c9d38"
+ "508d0070.47a66",
+ "35d3119b.a7f02e"
]
]
},
{
- "id": "c6d79633.ad2cb8",
+ "id": "508d0070.47a66",
"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": 2775.177314758301,
+ "y": 1790.750229358673,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "e9a26b46.1c9d38",
+ "id": "35d3119b.a7f02e",
"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": 2719.1777153015137,
+ "y": 1843.7504229545593,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "a0cd471f.d08e88",
+ "id": "3bf36cbe.1eac64",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2669.25,
- "y": 1129.75,
- "z": "da62f736.168268",
+ "x": 2702.687469482422,
+ "y": 1207.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "6a92e4ac.3bac4c",
- "9f8ca3ae.27ca3"
+ "da113a6f.191e88",
+ "d69bb7b1.a0ff58"
]
]
},
{
- "id": "9f8ca3ae.27ca3",
+ "id": "d69bb7b1.a0ff58",
"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": 2953.687900543213,
+ "y": 1230.750138759613,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "6a92e4ac.3bac4c",
+ "id": "da113a6f.191e88",
"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": 3009.6875,
+ "y": 1177.7499451637268,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "77ae3105.e86af",
+ "id": "c16d1d9c.0dbf4",
"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": 2780.187484741211,
+ "y": 2872.750349521637,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "b7978555.9f2568",
+ "id": "7b64d6c0.b69498",
"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": 2854.1871948242188,
+ "y": 2821.7501034736633,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "f5886e6b.6deba",
+ "id": "8d00366e.864018",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2500.7496795654297,
- "y": 2781.7500886917114,
- "z": "da62f736.168268",
+ "x": 2534.1871490478516,
+ "y": 2859.7500948905945,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "b7978555.9f2568",
- "77ae3105.e86af"
+ "7b64d6c0.b69498",
+ "c16d1d9c.0dbf4"
]
]
},
{
- "id": "d8c60a0.19c8bf8",
+ "id": "e0a16e2d.ab49b",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1988.75,
- "y": 3126.75,
- "z": "da62f736.168268",
+ "x": 2045.1874504089355,
+ "y": 3303.749952316284,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "64569339.416cfc",
- "222e8a98.c66cf6"
+ "64a33c12.a00234",
+ "36d41966.753e66"
]
]
},
{
- "id": "64569339.416cfc",
+ "id": "64a33c12.a00234",
"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": 2312.187454223633,
+ "y": 3236.74995136261,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "222e8a98.c66cf6",
+ "id": "36d41966.753e66",
"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": 2286.1876487731934,
+ "y": 3275.750147819519,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "dd4e6136.8f68f",
+ "id": "2a1244f1.a07f1c",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1761.25,
- "y": 3135.75,
- "z": "da62f736.168268",
+ "x": 1836.6874465942383,
+ "y": 3309.7499532699585,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "d8c60a0.19c8bf8"
+ "e0a16e2d.ab49b"
]
]
},
{
- "id": "f5bc4d2b.f7391",
+ "id": "cd7be5a3.adf0c8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3411.25,
- "y": 4564.75,
- "z": "da62f736.168268",
+ "x": 3444.687469482422,
+ "y": 4642.750006198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "a516311b.ffaaf",
- "3559c18d.38700e"
+ "20e0658f.f28e4a",
+ "76804136.c0ef7"
]
]
},
{
- "id": "a516311b.ffaaf",
+ "id": "20e0658f.f28e4a",
"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": 3751.6875,
+ "y": 4612.749945163727,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "3559c18d.38700e",
+ "id": "76804136.c0ef7",
"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": 3695.687900543213,
+ "y": 4665.750138759613,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "bfaa39dc.757718",
+ "id": "5d7d6216.dd5d9c",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3308,
- "y": 5187.75,
- "z": "da62f736.168268",
+ "x": 3335.4374198913574,
+ "y": 5332.749981880188,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "7b3e4fe4.20a77"
+ "79d9f2a4.cfaedc"
]
]
},
{
- "id": "7b3e4fe4.20a77",
+ "id": "79d9f2a4.cfaedc",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3475.000232696533,
- "y": 5185.9995975494385,
- "z": "da62f736.168268",
+ "x": 3496.437812805176,
+ "y": 5388.999592781067,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "47dde507.4c04ec",
- "4eb86ae5.690454"
+ "4ed4aad5.917ba4",
+ "fcafc397.48512"
]
]
},
{
- "id": "47dde507.4c04ec",
+ "id": "4ed4aad5.917ba4",
"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": 3746.4378204345703,
+ "y": 5332.999591827393,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "4eb86ae5.690454",
+ "id": "fcafc397.48512",
"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": 3737.437812805176,
+ "y": 5373.999983787537,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "4a14d590.3663ec",
+ "id": "a57a302e.5c86a",
"type": "comment",
"name": "terminateRANSliceInstance/instantiateRANSliceModifyDeallocate",
"info": "",
"comments": "",
- "x": 764.0000286102295,
- "y": 20,
- "z": "da62f736.168268",
+ "x": 797.4374980926514,
+ "y": 98.00000619888306,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "d74945f1.537f58",
+ "id": "b67e87df.a032b8",
"type": "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`\"/>",
+ "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-instance-input.action`\"/>\n<parameter name=\"field3\" value=\"`$terminate-r-a-n-slice-instance-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$terminate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$terminate-r-a-n-slice-instance-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$terminate-r-a-n-slice-instance-input.payload`\"/>",
"comments": "",
"outputs": 1,
- "x": 594.2499923706055,
- "y": 122.24998426437378,
- "z": "da62f736.168268",
+ "x": 497.6874771118164,
+ "y": 135.24999570846558,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "1a07170f.9b8cb9",
+ "id": "f66621ca.ced9",
"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": 603.6872329711914,
+ "y": 189.250009059906,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "8d1aec81.1c96c",
- "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",
- "wires": [
- [
- "5594448d.f5e4ec"
- ]
- ]
- },
- {
- "id": "a440f467.164788",
+ "id": "5f4a0c3f.45ca24",
"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": 638.6871948242188,
+ "y": 333.2395496368408,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "535f16f4.b6d608",
+ "id": "a69df01f.bc74e",
"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": 658.6871795654297,
+ "y": 374.24991512298584,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "406ee76f.a28dd8",
+ "id": "45d0c578.c8ba6c",
"type": "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": 669.6872482299805,
+ "y": 443.9999966621399,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "5594448d.f5e4ec",
- "type": "other",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "b34924a0.5577b8",
+ "type": "execute",
+ "name": "get PLMNId URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sliceprofileid`\"/>",
"comments": "",
"outputs": 1,
- "x": 928.4997406005859,
- "y": 274.4999785423279,
- "z": "da62f736.168268",
+ "x": 594.1874618530273,
+ "y": 662.7500314712524,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
- [
- "d7e6a184.602a7"
- ]
+ []
]
},
{
- "id": "d7e6a184.602a7",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "163035c2.3d2eba",
+ "type": "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": 1108.4999084472656,
- "y": 268.4999785423279,
- "z": "da62f736.168268",
+ "x": 555.1875,
+ "y": 694.5000629425049,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
- [
- "2bb70554.5f8b9a",
- "89346eeb.4233c",
- "d7f994eb.1d62c8"
- ]
+ []
]
},
{
- "id": "2bb70554.5f8b9a",
+ "id": "9f643c74.9b9b1",
"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",
+ "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": 1320.9999389648438,
- "y": 267.4999835193157,
- "z": "da62f736.168268",
+ "x": 595.1875152587891,
+ "y": 736.7500476837158,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "89346eeb.4233c",
- "type": "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",
+ "id": "aa19d446.f11918",
+ "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": 1317.749912261963,
- "y": 309.0000104904175,
- "z": "da62f736.168268",
+ "x": 544.4375152587891,
+ "y": 788.5000796318054,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "d7f994eb.1d62c8",
- "type": "switchNode",
- "name": "check action",
- "xml": "<switch test='`$instantiate-r-a-n-slice-input.action`==deallocate'>",
+ "id": "9086874c.666548",
+ "type": "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=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1328.5003051757812,
- "y": 202.74999809265137,
- "z": "da62f736.168268",
+ "x": 502.1810607910156,
+ "y": 909.4935817718506,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
- [
- "cb26292c.0cd2c8",
- "18173db6.ed0872"
- ]
+ []
]
},
{
- "id": "cb26292c.0cd2c8",
- "type": "success",
- "name": "terminate",
- "xml": "<outcome value='success'>\n",
+ "id": "24f3bd47.aa5b72",
+ "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": 1518.5000076293945,
- "y": 233.50000524520874,
- "z": "da62f736.168268",
+ "x": 2084.7151641845703,
+ "y": 605.2221875190735,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
- [
- "e26b83fd.85f54"
- ]
+ []
]
},
{
- "id": "e26b83fd.85f54",
- "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",
+ "id": "46c85195.a22de",
+ "type": "for",
+ "name": "for each rrmpolicyMember",
+ "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.NRCellCURRMPolicyMembersLength`' >\n",
"comments": "",
"outputs": 1,
- "x": 1786.7500076293945,
- "y": 231.50001192092896,
- "z": "da62f736.168268",
+ "x": 2553.6872367858887,
+ "y": 2318.833152294159,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
- []
+ [
+ "18267cf5.231bd3"
+ ]
]
},
{
- "id": "217e5011.465e6",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "18173db6.ed0872",
- "type": "failure",
- "name": "modify-deallocate",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1545.5000076293945,
- "y": 304.50000047683716,
- "z": "da62f736.168268",
- "wires": [
- [
- "217e5011.465e6"
- ]
- ]
- },
- {
- "id": "331ef215.bbe70e",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "2bef0202.a1c14e",
- "type": "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",
- "wires": [
- []
- ]
- },
- {
- "id": "7a08dec6.783c6",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "c50ddf2a.0f482",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "4a173bea.dab424",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "418b9d9d.e0f1e4",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "9a10e123.7e743",
- "type": "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",
- "wires": [
- []
- ]
- },
- {
- "id": "e0692478.040118",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "c224bf70.f8698",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "feae2bb9.c89528",
- "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",
- "wires": [
- [
- "e88645a8.3117e8",
- "735acccb.71f914"
- ]
- ]
- },
- {
- "id": "e88645a8.3117e8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1312.5,
- "y": 814.5,
- "z": "da62f736.168268",
- "wires": [
- [
- "61015ff6.5a356"
- ]
- ]
- },
- {
- "id": "735acccb.71f914",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1306.5000457763672,
- "y": 874.4999160766602,
- "z": "da62f736.168268",
- "wires": [
- [
- "44fc6120.e168e"
- ]
- ]
- },
- {
- "id": "61015ff6.5a356",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1482.1668853759766,
- "y": 805.8334016799927,
- "z": "da62f736.168268",
- "wires": [
- [
- "fa6281d0.77d53",
- "80ea1426.fb74e8"
- ]
- ]
- },
- {
- "id": "fa6281d0.77d53",
- "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",
- "wires": []
- },
- {
- "id": "5f8f298a.79e518",
- "type": "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",
- "wires": [
- []
- ]
- },
- {
- "id": "8b60105d.9075b",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "44fc6120.e168e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1476.499942779541,
- "y": 875.5000314712524,
- "z": "da62f736.168268",
- "wires": [
- [
- "8b60105d.9075b",
- "5f8f298a.79e518"
- ]
- ]
- },
- {
- "id": "efb82a40.58c198",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "63802b92.24eaa4",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "bafc3e6d.cdf73",
- "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",
- "wires": []
- },
- {
- "id": "71c76952.045908",
- "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",
- "wires": [
- [
- "60d29958.728538"
- ]
- ]
- },
- {
- "id": "60d29958.728538",
+ "id": "18267cf5.231bd3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2739.916603088379,
- "y": 2188.944404602051,
- "z": "da62f736.168268",
+ "x": 2783.354232788086,
+ "y": 2318.944284915924,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "a8757573.18a648",
- "dc93363f.a07058",
- "999de8b3.682778",
- "ca37691e.a8f2f8",
- "73616042.242eb"
+ "bb3793cb.f7ec2",
+ "96ae15b5.89b348",
+ "ef839ecd.5091a",
+ "df594b4d.0a9fe8",
+ "160d644e.9945bc"
]
]
},
{
- "id": "a8757573.18a648",
+ "id": "bb3793cb.f7ec2",
"type": "switchNode",
"name": "if length > 0 ",
- "xml": "<switch test='`$tmp.NRCellCURRMPolicyMembersLeangth`>0'>\n",
+ "xml": "<switch test='`$tmp.NRCellCURRMPolicyMembersLength > 0`'>\n\n \n",
"comments": "",
"outputs": 1,
- "x": 2889.083595275879,
- "y": 2154.083083152771,
- "z": "da62f736.168268",
+ "x": 2922.521064758301,
+ "y": 2232.083089351654,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "2ebd17cd.068208",
- "4f120937.7221b8"
+ "982ada76.de9ef8",
+ "aeda2bf5.fb0cf8"
]
]
},
{
- "id": "2ebd17cd.068208",
+ "id": "982ada76.de9ef8",
"type": "success",
"name": "success",
- "xml": "<outcome value='success'>\n",
+ "xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3040.750011444092,
- "y": 2129.6384811401367,
- "z": "da62f736.168268",
+ "x": 3074.1875381469727,
+ "y": 2206.6385712623596,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "f6e50d.7c92caf"
+ "b8637337.43f2d"
]
]
},
{
- "id": "f6e50d.7c92caf",
+ "id": "b8637337.43f2d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3207.4164695739746,
- "y": 2129.638940811157,
- "z": "da62f736.168268",
+ "x": 3240.8539390563965,
+ "y": 2207.6389470100403,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "9a545b68.a528b8"
+ "19e44a74.420226"
]
]
},
{
- "id": "9a545b68.a528b8",
+ "id": "19e44a74.420226",
"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": 3088.631820678711,
+ "y": 2086.527682542801,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "f87c06c5.c56f98",
- "150946ef.2d4b89"
+ "c68e98ce.4d53f8",
+ "c240a23a.91fd6"
]
]
},
{
- "id": "f87c06c5.c56f98",
+ "id": "c68e98ce.4d53f8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3298.528091430664,
- "y": 2024.4163551330566,
- "z": "da62f736.168268",
+ "x": 3331.965560913086,
+ "y": 2102.4163613319397,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "92abe500.2af8e8"
+ "29366a5c.c76f86"
]
]
},
{
- "id": "150946ef.2d4b89",
+ "id": "c240a23a.91fd6",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3289.3716011047363,
- "y": 2064.8606386184692,
- "z": "da62f736.168268",
+ "x": 3322.809070587158,
+ "y": 2142.8606448173523,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "bfcddc71.1ead4"
+ "4d82494e.9c66e8"
]
]
},
{
- "id": "92abe500.2af8e8",
+ "id": "29366a5c.c76f86",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3479.9165115356445,
- "y": 2025.7499551773071,
- "z": "da62f736.168268",
+ "x": 3513.3539810180664,
+ "y": 2103.74996137619,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "6cec7e83.a7b4a"
+ "834ea9d0.722278"
]
]
},
{
- "id": "bfcddc71.1ead4",
+ "id": "4d82494e.9c66e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3471.027587890625,
- "y": 2067.97199344635,
- "z": "da62f736.168268",
+ "x": 3504.465057373047,
+ "y": 2145.971999645233,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "7a1f7a9.f8d7a84",
- "d3d30d71.6990e"
+ "2702afd4.754d7",
+ "730c5daf.0d06d4"
]
]
},
{
- "id": "6cec7e83.a7b4a",
+ "id": "834ea9d0.722278",
"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": 3798.631690979004,
+ "y": 2100.9722390174866,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "7a1f7a9.f8d7a84",
+ "id": "2702afd4.754d7",
"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": 3809.742950439453,
+ "y": 2144.305600643158,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "d3d30d71.6990e",
+ "id": "730c5daf.0d06d4",
"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": 3734.187171936035,
+ "y": 2179.8610825538635,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "4f120937.7221b8",
+ "id": "aeda2bf5.fb0cf8",
"type": "failure",
"name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3044.361053466797,
- "y": 2182.9721145629883,
- "z": "da62f736.168268",
+ "x": 3077.7985229492188,
+ "y": 2260.9721207618713,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "89f52e2a.ded3"
+ "5a2fc110.99836"
]
]
},
{
- "id": "89f52e2a.ded3",
+ "id": "5a2fc110.99836",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3230.0281372070312,
- "y": 2171.3054332733154,
- "z": "da62f736.168268",
+ "x": 3263.465606689453,
+ "y": 2249.3054394721985,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "52f28f28.d8a43",
- "7deb574e.5b4c58"
+ "6f86a737.76e898",
+ "eeec7bb6.9b2208"
]
]
},
{
- "id": "52f28f28.d8a43",
+ "id": "6f86a737.76e898",
"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": 3555.85457611084,
+ "y": 2213.194752216339,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "7deb574e.5b4c58",
+ "id": "eeec7bb6.9b2208",
"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": 3554.7430114746094,
+ "y": 2253.1942467689514,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "33cc883a.76c308"
+ "9e7e603e.8b7a"
]
]
},
{
- "id": "33cc883a.76c308",
+ "id": "9e7e603e.8b7a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3752.138885498047,
- "y": 2179.6386184692383,
- "z": "da62f736.168268",
+ "x": 3785.5763549804688,
+ "y": 2257.6386246681213,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "9c142fa4.cb9b6"
+ "fdedad1b.01304"
]
]
},
{
- "id": "9c142fa4.cb9b6",
+ "id": "fdedad1b.01304",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3975.749725341797,
- "y": 2176.3053665161133,
- "z": "da62f736.168268",
+ "x": 4009.1871948242188,
+ "y": 2254.3053727149963,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "c2abc7a3.b36fb8",
- "9babc976.805408",
- "dfa38a67.64c448"
+ "f7580f29.a08fe",
+ "10312f77.944571",
+ "53b3c677.c12258"
]
]
},
{
- "id": "c2abc7a3.b36fb8",
+ "id": "f7580f29.a08fe",
"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": 4274.853927612305,
+ "y": 2222.0832591056824,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "e20de155.a2c4d",
+ "id": "5c3b4ead.c198a",
"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": 4804.2978439331055,
+ "y": 2314.305458545685,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "9babc976.805408",
+ "id": "10312f77.944571",
"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": 4232.0759353637695,
+ "y": 2317.6389241218567,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "10644ed4.744fb1",
- "7e6e7feb.c50cd"
+ "5206463c.c5fd78",
+ "e910ab56.66b578"
]
]
},
{
- "id": "10644ed4.744fb1",
+ "id": "5206463c.c5fd78",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4441.972526550293,
- "y": 2238.860941886902,
- "z": "da62f736.168268",
+ "x": 4475.409996032715,
+ "y": 2316.860948085785,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "e20de155.a2c4d"
+ "5c3b4ead.c198a"
]
]
},
{
- "id": "7e6e7feb.c50cd",
+ "id": "e910ab56.66b578",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4432.815940856934,
- "y": 2290.4163360595703,
- "z": "da62f736.168268",
+ "x": 4466.2534103393555,
+ "y": 2368.4163422584534,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "f875f1bd.3b7b3"
+ "f3c39e77.2ae7b"
]
]
},
{
- "id": "1e1626e1.1a2b59",
+ "id": "700bf196.ca76a",
"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": 4933.464973449707,
+ "y": 2359.8613839149475,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "38fa3cb1.cbb0c4",
+ "id": "b8475e43.0048c",
"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": 4853.464691162109,
+ "y": 2418.7498002052307,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "f875f1bd.3b7b3",
+ "id": "f3c39e77.2ae7b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4599.749794006348,
- "y": 2287.9721698760986,
- "z": "da62f736.168268",
+ "x": 4633.1872634887695,
+ "y": 2365.9721760749817,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "1e1626e1.1a2b59",
- "38fa3cb1.cbb0c4"
+ "700bf196.ca76a",
+ "b8475e43.0048c"
]
]
},
{
- "id": "54cca329.31500c",
+ "id": "f1b67974.7382f8",
"type": "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": 2502.7984046936035,
+ "y": 2375.139145374298,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "14019172.5d29bf",
+ "id": "a1342146.e25a6",
"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": 2597.576202392578,
+ "y": 2417.1389622688293,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "fd2b757b.cfa308",
- "c1535c1f.fe413"
+ "e542396b.9b5028",
+ "fa583439.c7df88"
]
]
},
{
- "id": "fd2b757b.cfa308",
+ "id": "e542396b.9b5028",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2849.8888359069824,
- "y": 2384.888925552368,
- "z": "da62f736.168268",
+ "x": 2883.3263053894043,
+ "y": 2462.888931751251,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "8f4764cd.4ca168"
+ "150338a3.d501d7"
]
]
},
{
- "id": "8f4764cd.4ca168",
+ "id": "150338a3.d501d7",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3053.3888931274414,
- "y": 2387.3889265060425,
- "z": "da62f736.168268",
+ "x": 3086.8263626098633,
+ "y": 2465.3889327049255,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "a3763fa2.90b7c"
+ "c02aae61.17846"
]
]
},
{
- "id": "a3763fa2.90b7c",
+ "id": "c02aae61.17846",
"type": "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": 3314.3261222839355,
+ "y": 2372.639144420624,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "1d85be64.4c60b2",
+ "id": "5994a51a.211e4c",
"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": 3327.5761108398438,
+ "y": 2415.6388688087463,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "e3de62ba.7799a",
+ "id": "74d8f1db.5893e",
"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": 3332.5759887695312,
+ "y": 2510.6389298439026,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "2d5293a6.e50e3c",
+ "id": "9261ad7e.c97c5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3050.389320373535,
- "y": 2439.138957977295,
- "z": "da62f736.168268",
+ "x": 3083.826789855957,
+ "y": 2517.138964176178,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "e3de62ba.7799a",
- "1d85be64.4c60b2",
- "80ea1426.fb74e8"
+ "74d8f1db.5893e",
+ "5994a51a.211e4c",
+ "96bc23d2.c6dae"
]
]
},
{
- "id": "c1535c1f.fe413",
+ "id": "fa583439.c7df88",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2845.1388359069824,
- "y": 2424.138957977295,
- "z": "da62f736.168268",
+ "x": 2878.5763053894043,
+ "y": 2502.138964176178,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "2d5293a6.e50e3c"
+ "9261ad7e.c97c5"
]
]
},
{
- "id": "dfa38a67.64c448",
+ "id": "53b3c677.c12258",
"type": "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": 4226.513854980469,
+ "y": 2269.9652848243713,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "1c8e5c05.e07c04",
+ "id": "1f8dc56d.ad39bb",
"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": 2292.076416015625,
+ "y": 1364.152855873108,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "dc93363f.a07058",
+ "id": "96ae15b5.89b348",
"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": 3040.2639770507812,
+ "y": 2311.2153458595276,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "999de8b3.682778",
+ "id": "ef839ecd.5091a",
"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": 3012.763916015625,
+ "y": 2344.465316295624,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "ca37691e.a8f2f8",
+ "id": "df594b4d.0a9fe8",
"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": 3036.201858520508,
+ "y": 2379.027847766876,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "73616042.242eb",
+ "id": "160d644e.9945bc",
"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": 3043.701416015625,
+ "y": 2414.777817249298,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "d793dedd.b3828",
+ "id": "1785991.56ac167",
"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`\" />",
+ "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": 1894.6390228271484,
- "y": 2159.1528367996216,
- "z": "da62f736.168268",
+ "x": 2294.951416015625,
+ "y": 1128.8403520584106,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "affea016.689ae",
+ "id": "8fa4df32.142dc",
"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",
+ "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 <parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI['+ $id-snssai +'].sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 1904.0138854980469,
- "y": 2217.5902786254883,
- "z": "da62f736.168268",
+ "x": 1569.0766296386719,
+ "y": 2653.9726486206055,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "32462495.24865c",
- "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'`\" />",
+ "id": "b1adda7f.308948",
+ "type": "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.configDBSNSSAI1`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from Request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 987.7638854980469,
- "y": 908.2152767181396,
- "z": "da62f736.168268",
+ "x": 1423.0765533447266,
+ "y": 2703.97274684906,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "e8f8f0ea.977c8",
- "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'`\" />",
+ "id": "3cc00a06.5560b6",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI1 == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2271.513885498047,
- "y": 1163.8402786254883,
- "z": "da62f736.168268",
+ "x": 1429.9657135009766,
+ "y": 2747.5276308059692,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
- []
+ [
+ "e54d6cd0.5ca6b",
+ "a7793847.31e9f8"
+ ]
]
},
{
- "id": "521d3d11.f4ead4",
- "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'`\" />",
+ "id": "e54d6cd0.5ca6b",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1933.076675415039,
- "y": 2399.465344429016,
- "z": "da62f736.168268",
+ "x": 1603.1874923706055,
+ "y": 2701.75048160553,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
- []
+ [
+ "a0ddd52c.fd3058"
+ ]
]
},
{
- "id": "cd5eaeef.a91e3",
+ "id": "79470742.1ad3c8",
"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`\" />",
+ "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": 1931.8265228271484,
- "y": 2451.027844429016,
- "z": "da62f736.168268",
+ "x": 1965.1874465942383,
+ "y": 2852.750337600708,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "eaeb68eb.667d98",
+ "id": "c328d0be.82c19",
"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",
+ "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": 1939.9513854980469,
- "y": 2503.5277786254883,
- "z": "da62f736.168268",
+ "x": 1970.6876373291016,
+ "y": 2888.250533103943,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "26cf8ac7.b0c7f6",
+ "id": "f992d688.012618",
"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'`\" />",
+ "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": 1741.6391143798828,
- "y": 2610.9725074768066,
- "z": "da62f736.168268",
+ "x": 1959.3266067504883,
+ "y": 2923.402877807617,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "ecfda6cb.0dc9f8",
- "type": "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",
+ "id": "9c7e75.4c2dd188",
+ "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": 1596.6390838623047,
- "y": 2645.9724464416504,
- "z": "da62f736.168268",
+ "x": 1971.9376373291016,
+ "y": 2961.7503385543823,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
- []
+ [
+ "f6f2ec79.71ec3",
+ "68b90674.2ffc88"
+ ]
]
},
{
- "id": "ff979e6b.4c16e",
- "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",
- "wires": [
- [
- "4141bca5.15d954"
- ]
- ]
- },
- {
- "id": "4141bca5.15d954",
- "type": "outcome",
- "name": "True",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1819.750015258789,
- "y": 2688.750461578369,
- "z": "da62f736.168268",
- "wires": [
- [
- "b4bbd615.193438"
- ]
- ]
- },
- {
- "id": "45d93df6.d8a744",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "5537eaa4.099b64",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "3a0a4656.8f287a",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "550fad5.d572654",
- "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",
- "wires": [
- [
- "1fdc0d32.1eff63",
- "f316122d.69b8"
- ]
- ]
- },
- {
- "id": "4fdeeb7.8dcdb14",
+ "id": "13823fd6.0655",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2362.416488647461,
- "y": 3610.0839614868164,
- "z": "da62f736.168268",
+ "x": 2394.8540077209473,
+ "y": 3704.0839433670044,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "4ab04fee.b55ac"
+ "86b69dff.b5e4d"
]
]
},
{
- "id": "ce038fe2.e456",
- "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",
- "wires": []
- },
- {
- "id": "519ec736.4a1068",
+ "id": "ee8bcbfb.3c7bd8",
"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": 2087.159713745117,
+ "y": 3640.5277891159058,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "78b5a7ce.d88bd8"
+ "1890ffcc.1a59b"
]
]
},
{
- "id": "78b5a7ce.d88bd8",
+ "id": "1890ffcc.1a59b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2258.388984680176,
- "y": 3424.6390075683594,
- "z": "da62f736.168268",
+ "x": 2312.826370239258,
+ "y": 3530.6390676498413,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "cb64ebc4.d3da78",
- "b353e2c5.e3c56",
- "aafda300.bf6c3",
- "9c0d0f0b.aa775"
+ "a1c228b0.110cf8",
+ "1f148330.077d3d",
+ "d6e8e92e.fa5f08",
+ "f823ca63.c76588",
+ "8e2e4de4.ab048"
]
]
},
{
- "id": "cb64ebc4.d3da78",
+ "id": "a1c228b0.110cf8",
"type": "switchNode",
"name": "if length > 0 ",
- "xml": "<switch test='`$tmp.CUUPRRMPolicyMembersLength`>0'>\n",
+ "xml": "<switch test='`$tmp.CUUPRRMPolicyMembersLength > 0`'>\n \n",
"comments": "",
"outputs": 1,
- "x": 2407.555976867676,
- "y": 3389.7776861190796,
- "z": "da62f736.168268",
+ "x": 2450.993362426758,
+ "y": 3431.777889728546,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "4fcc83f8.eb5fcc",
- "7a00e337.23da3c"
+ "10ff2554.4a5e3b",
+ "50877e82.d4515"
]
]
},
{
- "id": "4fcc83f8.eb5fcc",
+ "id": "10ff2554.4a5e3b",
"type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2559.2223930358887,
- "y": 3365.3330841064453,
- "z": "da62f736.168268",
+ "x": 2599.659969329834,
+ "y": 3386.3329663276672,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "20f96d49.8194f2"
+ "9c8e172.e19f3e8"
]
]
},
{
- "id": "20f96d49.8194f2",
+ "id": "9c8e172.e19f3e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2725.8888511657715,
- "y": 3365.333543777466,
- "z": "da62f736.168268",
+ "x": 2759.3263206481934,
+ "y": 3443.333549976349,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "ee546d02.d513d"
+ "67cca0fe.8f03e",
+ "4aec1c37.d2ff24"
]
]
},
{
- "id": "ee546d02.d513d",
+ "id": "67cca0fe.8f03e",
"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": 2807.1044006347656,
+ "y": 3259.222418308258,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "ec7b5045.bff37",
- "ef4f4fda.d1981"
+ "f8291b2c.62b258",
+ "76a9d5d3.2199bc"
]
]
},
{
- "id": "ec7b5045.bff37",
+ "id": "f8291b2c.62b258",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2817.000473022461,
- "y": 3260.1109580993652,
- "z": "da62f736.168268",
+ "x": 2850.437942504883,
+ "y": 3338.1109642982483,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "5e2abcba.df1a44"
+ "5d9d17a6.dd9ee8"
]
]
},
{
- "id": "ef4f4fda.d1981",
+ "id": "76a9d5d3.2199bc",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2807.843982696533,
- "y": 3300.555241584778,
- "z": "da62f736.168268",
+ "x": 2841.281452178955,
+ "y": 3378.555247783661,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "b69bdc10.4653b"
+ "7d11f4ac.cd34ac"
]
]
},
{
- "id": "5e2abcba.df1a44",
+ "id": "5d9d17a6.dd9ee8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2998.3888931274414,
- "y": 3261.4445581436157,
- "z": "da62f736.168268",
+ "x": 3031.8263626098633,
+ "y": 3339.444564342499,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "f2f64a34.9bc798"
+ "5076729c.ead31c",
+ "202a446.1aab7bc",
+ "114b3bf.98b33c4"
]
]
},
{
- "id": "b69bdc10.4653b",
+ "id": "7d11f4ac.cd34ac",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2989.499969482422,
- "y": 3303.6665964126587,
- "z": "da62f736.168268",
+ "x": 3022.9374389648438,
+ "y": 3381.6666026115417,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "420a580d.8dce18",
- "a3442627.cd94b8"
+ "b7475b62.102488",
+ "a6d2416e.3182b"
]
]
},
{
- "id": "f2f64a34.9bc798",
+ "id": "202a446.1aab7bc",
"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": 3353.1039695739746,
+ "y": 3238.667143344879,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "420a580d.8dce18",
+ "id": "b7475b62.102488",
"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": 3328.21533203125,
+ "y": 3380.0002036094666,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "a3442627.cd94b8",
+ "id": "a6d2416e.3182b",
"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": 3252.659553527832,
+ "y": 3415.555685520172,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "7a00e337.23da3c",
+ "id": "50877e82.d4515",
"type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2562.8334350585938,
- "y": 3418.666717529297,
- "z": "da62f736.168268",
+ "x": 2599.271099090576,
+ "y": 3476.666952610016,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "6a3d5f67.89b03"
+ "53bdd94c.7d7d58"
]
]
},
{
- "id": "6a3d5f67.89b03",
+ "id": "53bdd94c.7d7d58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2748.500518798828,
- "y": 3407.000036239624,
- "z": "da62f736.168268",
+ "x": 2781.93798828125,
+ "y": 3485.000042438507,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "e7b911ef.21926",
- "501ba5bb.ef3fec"
+ "4541fc8d.b17394",
+ "2d1f3c78.990674",
+ "79670665.c5b0f8"
]
]
},
{
- "id": "e7b911ef.21926",
+ "id": "4541fc8d.b17394",
"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": 3078.3269653320312,
+ "y": 3482.8896079063416,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "501ba5bb.ef3fec",
+ "id": "2d1f3c78.990674",
"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": 3073.21524810791,
+ "y": 3525.889217853546,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "355a7706.bbd6a8"
+ "288eec82.77a1c4"
]
]
},
{
- "id": "355a7706.bbd6a8",
+ "id": "288eec82.77a1c4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3270.6112670898438,
- "y": 3415.333221435547,
- "z": "da62f736.168268",
+ "x": 3304.0487365722656,
+ "y": 3493.33322763443,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "df799f74.91852"
+ "2cec80f.bb65a8"
]
]
},
{
- "id": "df799f74.91852",
+ "id": "2cec80f.bb65a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3494.2221069335938,
- "y": 3411.999969482422,
- "z": "da62f736.168268",
+ "x": 3527.6595764160156,
+ "y": 3489.999975681305,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "bd5b5caf.34289",
- "e69074b7.86c018",
- "7ddec5.bdda613c"
+ "b9828127.cbde9",
+ "680aaab6.fadde4",
+ "8ab94664.5fec38"
]
]
},
{
- "id": "bd5b5caf.34289",
+ "id": "b9828127.cbde9",
"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": 3793.3263092041016,
+ "y": 3457.777862071991,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "7ddec5.bdda613c",
+ "id": "8ab94664.5fec38",
"type": "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": 3744.9862365722656,
+ "y": 3505.65988779068,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "e69074b7.86c018",
+ "id": "680aaab6.fadde4",
"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": 3750.5483169555664,
+ "y": 3553.3335270881653,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "97861ce3.40059",
- "64e9402c.99386"
+ "d898bdf.66a304",
+ "500aaa6b.c368d4"
]
]
},
{
- "id": "97861ce3.40059",
+ "id": "d898bdf.66a304",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3960.44490814209,
- "y": 3474.5555448532104,
- "z": "da62f736.168268",
+ "x": 3993.8823776245117,
+ "y": 3552.5555510520935,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "8ba1fc14.f59bc"
+ "93e4ad9d.3b614"
]
]
},
{
- "id": "64e9402c.99386",
+ "id": "500aaa6b.c368d4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3951.2883224487305,
- "y": 3526.110939025879,
- "z": "da62f736.168268",
+ "x": 3984.7257919311523,
+ "y": 3604.110945224762,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "9014ff5a.a8a83"
+ "1409e1b0.bb052e"
]
]
},
{
- "id": "8ba1fc14.f59bc",
+ "id": "93e4ad9d.3b614",
"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": 4322.770225524902,
+ "y": 3550.0000615119934,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "9014ff5a.a8a83",
+ "id": "1409e1b0.bb052e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4118.2221755981445,
- "y": 3523.666772842407,
- "z": "da62f736.168268",
+ "x": 4151.659645080566,
+ "y": 3601.6667790412903,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "8da33d2c.9ec3f",
- "db3ca58d.3b9558"
+ "d61366a4.26bf58",
+ "5e94e939.bd8928"
]
]
},
{
- "id": "8da33d2c.9ec3f",
+ "id": "d61366a4.26bf58",
"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": 4451.937355041504,
+ "y": 3595.555986881256,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "db3ca58d.3b9558",
+ "id": "5e94e939.bd8928",
"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": 4371.937072753906,
+ "y": 3654.4444031715393,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "b353e2c5.e3c56",
+ "id": "1f148330.077d3d",
"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": 2545.4376068115234,
+ "y": 3549.0003476142883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "aafda300.bf6c3",
+ "id": "d6e8e92e.fa5f08",
"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": 2534.3754959106445,
+ "y": 3581.8128480911255,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "9c0d0f0b.aa775",
+ "id": "f823ca63.c76588",
"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": 2544.8751068115234,
+ "y": 3618.5628490448,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "8e54b571.b9af88",
+ "id": "f7776fb3.813fd",
"type": "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": 2032.971824645996,
+ "y": 3684.9242753982544,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "5ca1f89e.93f5d8",
+ "id": "b886c16f.ec3f9",
"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' />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio-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-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": 2109.749755859375,
+ "y": 3730.923493385315,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "4fdeeb7.8dcdb14",
- "635ad14e.3580b"
+ "13823fd6.0655",
+ "84ca50d3.1e31c"
]
]
},
{
- "id": "dd39b21f.bbf38",
- "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",
- "wires": []
- },
- {
- "id": "3b93f05.3eb1b1",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "9a1ff089.a405b",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "eda4c4e8.16ea58",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "a13823ad.65203",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "5f652628.9468d8",
- "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",
- "wires": [
- []
- ]
- },
- {
- "id": "20dcb9bd.e2a956",
+ "id": "dd8a2b25.19ba28",
"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": 2015.9377517700195,
- "y": 4320.6251220703125,
- "z": "da62f736.168268",
+ "x": 2161.375198364258,
+ "y": 4253.625456809998,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "4acc0f7.2614af",
+ "id": "62d32210.5d22bc",
"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",
- "wires": [
- [
- "fa70c58.9f27338"
- ]
- ]
- },
- {
- "id": "fa70c58.9f27338",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2179.659912109375,
- "y": 4384.65283203125,
- "z": "da62f736.168268",
+ "x": 2204.708786010742,
+ "y": 4370.625458717346,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "5b178a6e.9e1474",
- "e8b239a3.ea6108",
- "624c26d3.2d93b8"
+ "9dac9c85.ee826"
]
]
},
{
- "id": "624c26d3.2d93b8",
+ "id": "57798dd0.ea3d04",
"type": "execute",
"name": "read sNSSAI from getNFNSSIRIC-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI['+ $id-dusnssai +'].sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 2545.7989196777344,
- "y": 4269.87530708313,
- "z": "da62f736.168268",
+ "x": 2826.2363815307617,
+ "y": 4368.875456809998,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "5b178a6e.9e1474",
+ "id": "553c22c1.d7f38c",
"type": "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": 2745.9862365722656,
+ "y": 4410.8750677108765,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "e8b239a3.ea6108",
+ "id": "ab1def53.0564f",
"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": 2744.125102996826,
+ "y": 4467.180537223816,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "35abfb0c.e67654"
+ "3ab2f389.ebcf4c"
]
]
},
{
- "id": "35abfb0c.e67654",
+ "id": "3ab2f389.ebcf4c",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2580.1599731445312,
- "y": 4437.653020858765,
- "z": "da62f736.168268",
+ "x": 2897.597370147705,
+ "y": 4470.652802467346,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "72b1fbfe.4fa0d4"
+ "19c1319d.1cd4ae"
]
]
},
{
- "id": "4b70a51a.898acc",
+ "id": "d0124a83.aa2ab8",
"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": 3073.124969482422,
+ "y": 4938.312506198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "478d81fe.50e29",
- "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",
- "wires": []
- },
- {
- "id": "e85c75c9.5a5208",
+ "id": "62ecc111.352e3",
"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": 3664.4096908569336,
+ "y": 5704.215516090393,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "66fd7b92.f2b364"
+ "a044a425.d4a8f8"
]
]
},
{
- "id": "66fd7b92.f2b364",
+ "id": "a044a425.d4a8f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3847.638984680176,
- "y": 5557.326507568359,
- "z": "da62f736.168268",
+ "x": 3882.0764923095703,
+ "y": 5703.326844215393,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "65816dd6.dac814",
- "bd35e5d4.1bc928",
- "77f9b6fc.97a688",
- "dc69ba2d.6eaf38",
- "7c2d39af.fe93c8"
+ "4c0eb91e.016be8",
+ "66462011.f48f2",
+ "9a8989c6.9de3f8",
+ "5cd69f40.d5bb",
+ "341237e5.667278"
]
]
},
{
- "id": "65816dd6.dac814",
+ "id": "4c0eb91e.016be8",
"type": "switchNode",
"name": "if length > 0 ",
- "xml": "<switch test='`$tmp.DURRMPolicyMembersLength`>0'>\n",
+ "xml": "<switch test='`$tmp.DURRMPolicyMembersLength > 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 4005.556137084961,
- "y": 5539.965368270874,
- "z": "da62f736.168268",
+ "x": 4038.993606567383,
+ "y": 5617.965374469757,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "19e9fe36.11e9a2",
- "800d1eb2.1d967"
+ "f995b42b.c62888",
+ "5850fe3f.e7ae9"
]
]
},
{
- "id": "19e9fe36.11e9a2",
+ "id": "f995b42b.c62888",
"type": "success",
"name": "success",
- "xml": "<outcome value='success'>\n",
+ "xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4148.472393035889,
- "y": 5498.020584106445,
- "z": "da62f736.168268",
+ "x": 4181.909862518311,
+ "y": 5576.020590305328,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "d674ab54.619858"
+ "8ab6b27e.d114c"
]
]
},
{
- "id": "d674ab54.619858",
+ "id": "8ab6b27e.d114c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4315.1388511657715,
- "y": 5498.021043777466,
- "z": "da62f736.168268",
+ "x": 4348.576320648193,
+ "y": 5576.021049976349,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "dcb12e26.7b884"
+ "32032a83.0e2796"
]
]
},
{
- "id": "dcb12e26.7b884",
+ "id": "32032a83.0e2796",
"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": 4196.354202270508,
+ "y": 5454.9097855091095,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "1673f63a.56783a",
- "3b2a37e4.95eaf8"
+ "657a7bbc.3a03a4",
+ "1ff67891.fe0d97"
]
]
},
{
- "id": "1673f63a.56783a",
+ "id": "657a7bbc.3a03a4",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4406.250473022461,
- "y": 5392.798458099365,
- "z": "da62f736.168268",
+ "x": 4439.687942504883,
+ "y": 5470.798464298248,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "bfd03325.53f88"
+ "243456be.4c9d4a"
]
]
},
{
- "id": "3b2a37e4.95eaf8",
+ "id": "1ff67891.fe0d97",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4397.093982696533,
- "y": 5433.242741584778,
- "z": "da62f736.168268",
+ "x": 4430.531452178955,
+ "y": 5511.242747783661,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "83c86bbb.232de8"
+ "539c9037.11277"
]
]
},
{
- "id": "bfd03325.53f88",
+ "id": "243456be.4c9d4a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4587.638893127441,
- "y": 5394.132058143616,
- "z": "da62f736.168268",
+ "x": 4621.076362609863,
+ "y": 5472.132064342499,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "1cc68b31.5cd4b5"
+ "50f4a2d7.1c2d7c"
]
]
},
{
- "id": "1cc68b31.5cd4b5",
+ "id": "50f4a2d7.1c2d7c",
"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": 4906.354072570801,
+ "y": 5469.354341983795,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "590f74e.06aca8c",
+ "id": "5cfd6451.1e572c",
"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": 4917.46533203125,
+ "y": 5512.687703609467,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "5b0bc885.6064d8",
+ "id": "1453b231.a0918e",
"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": 4841.909553527832,
+ "y": 5548.243185520172,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "83c86bbb.232de8",
+ "id": "539c9037.11277",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4578.749969482422,
- "y": 5436.354096412659,
- "z": "da62f736.168268",
+ "x": 4612.187438964844,
+ "y": 5514.354102611542,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "590f74e.06aca8c",
- "5b0bc885.6064d8"
+ "5cfd6451.1e572c",
+ "1453b231.a0918e"
]
]
},
{
- "id": "800d1eb2.1d967",
+ "id": "5850fe3f.e7ae9",
"type": "failure",
"name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4152.1875,
- "y": 5569.6875,
- "z": "da62f736.168268",
+ "x": 4185.624969482422,
+ "y": 5647.687506198883,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "cf340f9a.13c29"
+ "dcfa97ae.90fe08"
]
]
},
{
- "id": "cf340f9a.13c29",
+ "id": "dcfa97ae.90fe08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4337.854583740234,
- "y": 5558.020818710327,
- "z": "da62f736.168268",
+ "x": 4371.292053222656,
+ "y": 5636.02082490921,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "5f6bbc21.45a984",
- "450a1dab.66c234"
+ "a6148645.d746d8",
+ "48a80fd.c4ce0f"
]
]
},
{
- "id": "5f6bbc21.45a984",
+ "id": "a6148645.d746d8",
"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": 4664.931427001953,
+ "y": 5594.910564899445,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "450a1dab.66c234",
+ "id": "48a80fd.c4ce0f",
"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": 4662.5694580078125,
+ "y": 5639.909632205963,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "a064e974.6a26c8"
+ "5e803bf8.de57d4"
]
]
},
{
- "id": "a064e974.6a26c8",
+ "id": "5e803bf8.de57d4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4859.96533203125,
- "y": 5566.35400390625,
- "z": "da62f736.168268",
+ "x": 4893.402801513672,
+ "y": 5644.354010105133,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "9795e8e6.5f4758"
+ "e3314a9.64d25b8"
]
]
},
{
- "id": "9795e8e6.5f4758",
+ "id": "e3314a9.64d25b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5083.576171875,
- "y": 5563.020751953125,
- "z": "da62f736.168268",
+ "x": 5117.013641357422,
+ "y": 5641.020758152008,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "b0ab9f0f.045ee",
- "58c93fd8.865cc",
- "38d6a4a.628eb5c"
+ "8ff1c9be.f5ab98",
+ "2d5fe3bf.b83dfc",
+ "7ddc9df8.be23b4"
]
]
},
{
- "id": "b0ab9f0f.045ee",
+ "id": "8ff1c9be.f5ab98",
"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": 5382.680374145508,
+ "y": 5608.798644542694,
+ "z": "7dbbf2af.ccfd8c",
"wires": []
},
{
- "id": "38d6a4a.628eb5c",
+ "id": "7ddc9df8.be23b4",
"type": "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": 5334.340301513672,
+ "y": 5656.680670261383,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "58c93fd8.865cc",
+ "id": "2d5fe3bf.b83dfc",
"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": 5339.902381896973,
+ "y": 5704.354309558868,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "6ccc086f.a41478",
- "ec0ce7b0.278738"
+ "873127af.ddb218",
+ "1ad28b62.5d6235"
]
]
},
{
- "id": "6ccc086f.a41478",
+ "id": "873127af.ddb218",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5549.798973083496,
- "y": 5625.576327323914,
- "z": "da62f736.168268",
+ "x": 5583.236442565918,
+ "y": 5703.576333522797,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "9974a833.ce9ab8"
+ "feebd6c6.117e18"
]
]
},
{
- "id": "ec0ce7b0.278738",
+ "id": "1ad28b62.5d6235",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5540.642387390137,
- "y": 5677.131721496582,
- "z": "da62f736.168268",
+ "x": 5574.079856872559,
+ "y": 5755.131727695465,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "8a646bfe.add958"
+ "8e4d9ad5.5b1d08"
]
]
},
{
- "id": "9974a833.ce9ab8",
+ "id": "feebd6c6.117e18",
"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": 5912.124290466309,
+ "y": 5701.0208439826965,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "8a646bfe.add958",
+ "id": "8e4d9ad5.5b1d08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5707.576240539551,
- "y": 5674.68755531311,
- "z": "da62f736.168268",
+ "x": 5741.013710021973,
+ "y": 5752.687561511993,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "75c18765.25f078",
- "ac37608.aa778a"
+ "7138de03.cc1be",
+ "1fd3a3c2.2d5dbc"
]
]
},
{
- "id": "75c18765.25f078",
+ "id": "7138de03.cc1be",
"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": 6041.29141998291,
+ "y": 5746.576769351959,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "ac37608.aa778a",
+ "id": "1fd3a3c2.2d5dbc",
"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": 5961.2911376953125,
+ "y": 5805.465185642242,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "bd35e5d4.1bc928",
+ "id": "66462011.f48f2",
"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": 4214.687614440918,
+ "y": 5690.188272476196,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "77f9b6fc.97a688",
+ "id": "9a8989c6.9de3f8",
"type": "execute",
- "name": "prepare idNRCellCU",
+ "name": "prepare idNRCellDu",
"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": 4187.187553405762,
+ "y": 5723.4382429122925,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "dc69ba2d.6eaf38",
+ "id": "5cd69f40.d5bb",
"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": 4210.6254959106445,
+ "y": 5758.000774383545,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "7c2d39af.fe93c8",
+ "id": "341237e5.667278",
"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": 4218.125053405762,
+ "y": 5793.750743865967,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "734b37a6.ac7cf8",
+ "id": "4920a244.7f5c6c",
"type": "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": 3580.972659111023,
+ "y": 5786.612835407257,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "3c1e8267.b4f8fe",
+ "id": "2fdb88a6.a26b88",
"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": 3668.2499237060547,
+ "y": 5852.862394332886,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[
- "78448d12.dce7b4",
- "b77e4296.a4ab5"
+ "ae16bd76.9a8ff",
+ "2b2a79ae.5fefe6"
]
]
},
{
- "id": "59b4ea74.9d06d4",
- "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`\" />",
+ "id": "a84fd19d.c1404",
+ "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": 223.0208034515381,
+ "y": 1723.8333706855774,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "627d8fb4.50f7c",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-ric' start='0' end='`$tmp.RICPLMNEntries`' >\n",
"comments": "",
"outputs": 1,
- "x": 3199.6875,
- "y": 5817.1875,
- "z": "da62f736.168268",
+ "x": 908.6875381469727,
+ "y": 1215.5001239776611,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
- []
+ [
+ "6d045faa.cf75"
+ ]
]
},
{
- "id": "6b7c5e5f.28631",
- "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",
+ "id": "6d045faa.cf75",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3209.0623626708984,
- "y": 5875.624941825867,
- "z": "da62f736.168268",
+ "x": 1090.9375381469727,
+ "y": 1207.5000166893005,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
- []
+ [
+ "860157a8.dd1568",
+ "40e552a6.e5ed3c"
+ ]
]
},
{
- "id": "2fdf003a.ff7bd",
- "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'`\" />",
+ "id": "e17075dc.31d448",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.ric.sNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1550.9375839233398,
+ "y": 809.750078201294,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "db4b8fbb.3e0f9"
+ ]
+ ]
+ },
+ {
+ "id": "a0c610d.e60e8f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1594.437728881836,
+ "y": 713.750054359436,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "4c03f81a.4abc48",
+ "d1172c03.a940d",
+ "479bb8b1.85a0f8",
+ "9488ad00.cdf51",
+ "28b0eeea.30d3f2",
+ "f627a38d.f4158",
+ "c81c4e2d.4ebc2"
+ ]
+ ]
+ },
+ {
+ "id": "4ac4d944.26ab78",
+ "type": "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=\"PLMNInfo List before removal\"/>\n<parameter name=\"field2\" value=\"`$tmp.RICPLMNEntries`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3199.6875,
- "y": 6019.6875,
- "z": "da62f736.168268",
+ "x": 893.6875343322754,
+ "y": 1167.0000619888306,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "ee315155.36298",
- "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`\" />",
+ "id": "4c03f81a.4abc48",
+ "type": "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\"/>\n<parameter name=\"field2\" value=\"`$tmp.ric.sNSSAIremoved`\" />\n<parameter name=\"field3\" value=\"nearRTRICId\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\" />\n<parameter name=\"field5\" value=\"endpoint URL\"/>\n<parameter name=\"field6\" value=\"`$tmp.configdb.getNearRTRICNSSAIRemoval.url`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3198.4373474121094,
- "y": 6071.25,
- "z": "da62f736.168268",
+ "x": 1672.3921661376953,
+ "y": 952.5228519439697,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "778a736d.50fb1c",
- "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",
+ "id": "db4b8fbb.3e0f9",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1519.9375457763672,
+ "y": 768.000054359436,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "a0c610d.e60e8f"
+ ]
+ ]
+ },
+ {
+ "id": "39239b55.0dd4b4",
+ "type": "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=\"plmninfolistlength in true \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 3206.562210083008,
- "y": 6123.749934196472,
- "z": "da62f736.168268",
+ "x": 2506.337459564209,
+ "y": 548.6999988555908,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "36cfb15f.b2ef8e",
- "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",
+ "id": "ad615746.bbf1e8",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.pLMNInfoList_length > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2062.537551879883,
+ "y": 825.3000636100769,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "2e26bf75.9a4c1",
+ "83840802.03bf28"
+ ]
+ ]
+ },
+ {
+ "id": "2e26bf75.9a4c1",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2197.537326812744,
+ "y": 696.3000273704529,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "149c1532.8be88b"
+ ]
+ ]
+ },
+ {
+ "id": "83840802.03bf28",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2216.537353515625,
+ "y": 747.3000497817993,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "a7a48f7a.3978b"
+ ]
+ ]
+ },
+ {
+ "id": "fc81945.c629668",
+ "type": "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=\"plmninfolistlength in false \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1035.9375305175781,
- "y": 1002.1875247955322,
- "z": "da62f736.168268",
+ "x": 2391.337844848633,
+ "y": 826.1001286506653,
+ "z": "7dbbf2af.ccfd8c",
"wires": [
[]
]
},
{
- "id": "b01e9ff8.9fdcb",
- "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": "149c1532.8be88b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
- "x": 189.5833339691162,
- "y": 1645.8333644866943,
- "z": "da62f736.168268",
- "wires": []
+ "outputs": 1,
+ "x": 2367.5374069213867,
+ "y": 688.5000767707825,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "39239b55.0dd4b4",
+ "ac2cacb3.f66fe"
+ ]
+ ]
+ },
+ {
+ "id": "a7a48f7a.3978b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2352.5375213623047,
+ "y": 736.5000519752502,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "fc81945.c629668"
+ ]
+ ]
+ },
+ {
+ "id": "7a26e192.c21df",
+ "type": "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=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length'`\"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2062.537338256836,
+ "y": 659.0001187324524,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3237bde0.394412",
+ "type": "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_plmninfolength \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1135.7375106811523,
+ "y": 2256.3999814987183,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5fef4230.9c857c",
+ "type": "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=\"RRMPolicyMembersList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.NRCellCURRMPolicyMembersLength`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2509.937454223633,
+ "y": 2280.9999380111694,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6d7ae401.d6df2c",
+ "type": "execute",
+ "name": "Read RRMPolicy Member List Length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellCURRMPolicyMembersLength' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2559.937599182129,
+ "y": 2168.1999368667603,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9c532b5d.f0d518",
+ "type": "execute",
+ "name": "RRMPolicyRatio id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2504.337600708008,
+ "y": 2126.1999349594116,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7c7906e.14877",
+ "type": "execute",
+ "name": "split pLMNId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"regex\" value=\"-\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 536.4375,
+ "y": 836.7500495910645,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "95f7659d.31ef38",
+ "type": "set",
+ "name": "set mcc & mnc Variables",
+ "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>",
+ "comments": "",
+ "x": 565.6420593261719,
+ "y": 871.2954912185669,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "860157a8.dd1568",
+ "type": "execute",
+ "name": "read sNSSAIList Length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ric.sNSSAILength' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].pLMNInfoList['+$id-ric+'].sNSSAI_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1301.437759399414,
+ "y": 1196.5000505447388,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "40e552a6.e5ed3c",
+ "type": "for",
+ "name": "foreach sNSSAI",
+ "xml": "<for index='id-ric-snssai' start='0' end='`$tmp.ric.sNSSAILength`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1288.437759399414,
+ "y": 1238.5000505447388,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "456f7507.d0b75c"
+ ]
+ ]
+ },
+ {
+ "id": "456f7507.d0b75c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1479.437759399414,
+ "y": 1230.5000505447388,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "51d6eca9.67bcc4",
+ "e17075dc.31d448"
+ ]
+ ]
+ },
+ {
+ "id": "51d6eca9.67bcc4",
+ "type": "execute",
+ "name": "read sNSSAI",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ric.sNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].pLMNInfoList['+$id-ric+'].sNSSAI['+$id-ric-snssai+'].sNSSAI'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1469.687744140625,
+ "y": 1140.5000534057617,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9488ad00.cdf51",
+ "type": "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=\"Matching sNSSAI found in config DB\"/>\n<parameter name=\"field2\" value=\"`$tmp.ric.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI List length before removal\"/>\n<parameter name=\"field4\" value=\"`$tmp.ric.sNSSAILength`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1738.6875762939453,
+ "y": 684.7500085830688,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "447e4902.fc55f8",
+ "type": "execute",
+ "name": "set list prefix",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForRoot'>\n\n\t<parameter name='root' value=\"`'getNFNSSIRIC-configdb-response.['+idy+'].pLMNInfoList['+id-ric+'].sNSSAI'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1796.4374694824219,
+ "y": 629.7500071525574,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "18624b92.112da4",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].pLMNInfoList['+$id-ric+'].sNSSAI['+$id-ric-snssai+'].sNSSAI'`\" value=\"\" />\n",
+ "comments": "",
+ "x": 1771.187484741211,
+ "y": 772.5001764297485,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "28b0eeea.30d3f2",
+ "type": "execute",
+ "name": "read sNSSAI",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ric.sNSSAIremoved' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].pLMNInfoList['+$id-ric+'].sNSSAI['+$id-ric-snssai+'].sNSSAI'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1754.1874542236328,
+ "y": 817.4999952316284,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f627a38d.f4158",
+ "type": "execute",
+ "name": "generate removesNSSAIFromRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.configdb.url + $prop.restapi.configdb.removenSSAINearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICNSSAIRemoval.url\"/>\n <parameter name=\"target\" value=\"{nearRTRICId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1819.1874465942383,
+ "y": 888.7501177787781,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c81c4e2d.4ebc2",
+ "type": "execute",
+ "name": "prepare sNSSAI",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getNearRTRICNSSAIRemoval.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICNSSAIRemoval.url\"/>\n <parameter name=\"target\" value=\"{sNSSAI}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ric.sNSSAIremoved`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1746.1874771118164,
+ "y": 925.2500576972961,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2f976a24.2999e6",
+ "type": "execute",
+ "name": "Read RRMPolicy Member List Length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyMembersLength' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2049.9377212524414,
+ "y": 3550.699956893921,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ec777e18.0bdc2",
+ "type": "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 - RRMPolicyMembersList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPRRMPolicyMembersLength`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2034.937644958496,
+ "y": 3598.7000551223755,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "904594a7.bb7d18",
+ "type": "execute",
+ "name": "RRMPolicyRatio id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2038.737403869629,
+ "y": 3509.6999559402466,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8e2e4de4.ab048",
+ "type": "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 first - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2481.937602996826,
+ "y": 3513.399956703186,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5076729c.ead31c",
+ "type": "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=\"before setting url\" />\n<parameter name=\"field2\" value=\"ransimnot mounted\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3197.137466430664,
+ "y": 3185.800102710724,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "114b3bf.98b33c4",
+ "type": "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 after setting - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3230.137420654297,
+ "y": 3298.800055027008,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4aec1c37.d2ff24",
+ "type": "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=\"Success\" />\n<parameter name=\"field2\" value=\"Tocheck if ransim mounted\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2770.537567138672,
+ "y": 3208.600103855133,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "79670665.c5b0f8",
+ "type": "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=\"Failure\" />\n<parameter name=\"field2\" value=\"Tocheck if ransim mounted\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2985.937511444092,
+ "y": 3436.6001534461975,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7d1eb89d.ae5768",
+ "type": "execute",
+ "name": "generate terminate PLMNInfoListEntry CUUP URL for configdb",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAICUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{gnbCUUPId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1982.9375,
+ "y": 3016.3000469207764,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1a922a3e.bc9b96",
+ "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.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{sNSSAI}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1825.9374923706055,
+ "y": 3055.700242996216,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8c1c51d7.95c51",
+ "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 + $tmp.deletePLMNInfo-CUUP.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-plmninfo-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": 1888.937484741211,
+ "y": 3104.3000478744507,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "3902bf5f.e01ce",
+ "d3581ecc.b9fd6"
+ ]
+ ]
+ },
+ {
+ "id": "3902bf5f.e01ce",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2147.3374977111816,
+ "y": 3062.700047492981,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "8ca8d0ce.575fb"
+ ]
+ ]
+ },
+ {
+ "id": "d3581ecc.b9fd6",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2174.3374938964844,
+ "y": 3140.7000484466553,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "b97663cd.538dc"
+ ]
+ ]
+ },
+ {
+ "id": "8ca8d0ce.575fb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2342.337501525879,
+ "y": 3055.700047492981,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "d42d15ba.290d18",
+ "f55a1f63.5640d"
+ ]
+ ]
+ },
+ {
+ "id": "b97663cd.538dc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2348.337501525879,
+ "y": 3133.700047492981,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "fd899390.b0eb1"
+ ]
+ ]
+ },
+ {
+ "id": "fd899390.b0eb1",
+ "type": "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 from configdb\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2527.337505340576,
+ "y": 3152.7000484466553,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f55a1f63.5640d",
+ "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": 2573.5375061035156,
+ "y": 3079.700047492981,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "d42d15ba.290d18",
+ "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": 2574.5375061035156,
+ "y": 3041.7000465393066,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "e69dbd8f.eeb1f",
+ "type": "execute",
+ "name": "read snssailist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNssaiListLength' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1295.9374618530273,
+ "y": 2323.099841117859,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d9e7e9d6.d4c918",
+ "type": "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_plmninfolength_nssailength \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLength`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1292.9375381469727,
+ "y": 2376.300036430359,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a2b0bd3b.f33d1",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-snssai' start='0' end='`$tmp.sNssaiListLength`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1480.9375610351562,
+ "y": 2537.9004316329956,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "efe2cb29.7b61b8"
+ ]
+ ]
+ },
+ {
+ "id": "efe2cb29.7b61b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1226.9375610351562,
+ "y": 2622.90048122406,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "8fa4df32.142dc",
+ "b1adda7f.308948",
+ "3cc00a06.5560b6"
+ ]
+ ]
+ },
+ {
+ "id": "ed65fd40.81f58",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.sNssaiListLength > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1228.9374618530273,
+ "y": 2466.700430870056,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "a53b434f.d3ad7",
+ "95d069bb.8816f8"
+ ]
+ ]
+ },
+ {
+ "id": "a53b434f.d3ad7",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1402.9374656677246,
+ "y": 2412.9000387191772,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "9e4dd15d.af7a2"
+ ]
+ ]
+ },
+ {
+ "id": "95d069bb.8816f8",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1397.7374668121338,
+ "y": 2482.099843978882,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "5f9bd4a8.ad376c"
+ ]
+ ]
+ },
+ {
+ "id": "9e4dd15d.af7a2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1500.9374675750732,
+ "y": 2343.5000371932983,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "a2b0bd3b.f33d1",
+ "24c81ed2.edae52"
+ ]
+ ]
+ },
+ {
+ "id": "5f9bd4a8.ad376c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1542.9375648498535,
+ "y": 2483.500039100647,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "125ad7a8.070a78"
+ ]
+ ]
+ },
+ {
+ "id": "125ad7a8.070a78",
+ "type": "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=\"plmninfolistnssailength in false \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLength`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1620.537467956543,
+ "y": 2428.7000398635864,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "24c81ed2.edae52",
+ "type": "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=\"plmninfolistnssailength in true \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLength`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1648.3375434875488,
+ "y": 2322.700036048889,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a0ddd52c.fd3058",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1777.1374969482422,
+ "y": 2699.9002866744995,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "c445baf.1e26e48",
+ "bfa0e8f3.c5e558",
+ "79470742.1ad3c8",
+ "c328d0be.82c19",
+ "f992d688.012618",
+ "9c7e75.4c2dd188",
+ "7d1eb89d.ae5768",
+ "1a922a3e.bc9b96",
+ "8c1c51d7.95c51",
+ "a7b14fd6.8883d"
+ ]
+ ]
+ },
+ {
+ "id": "a7793847.31e9f8",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1594.9374694824219,
+ "y": 2753.300043106079,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "6e6de793.c48fa8"
+ ]
+ ]
+ },
+ {
+ "id": "6e6de793.c48fa8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1744.9374694824219,
+ "y": 2752.300042152405,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "22c4948e.ec886c"
+ ]
+ ]
+ },
+ {
+ "id": "22c4948e.ec886c",
+ "type": "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=\"nssaimatch in false \"/>\n<parameter name=\"field2\" value=\"`nssai deletion does not takes place`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1737.9374732971191,
+ "y": 2818.300042152405,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a7b14fd6.8883d",
+ "type": "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=\"nssaimatch in True \"/>\n<parameter name=\"field2\" value=\"`Proceeding for nssai deletion`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1947.9374961853027,
+ "y": 2662.3000898361206,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f7497ee4.8284d",
+ "type": "execute",
+ "name": "Read RRMPolicyResourcetype",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyMembersResourceType' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.resourceType'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2077.137451171875,
+ "y": 3779.8999605178833,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a9af97f3.056d68",
+ "type": "execute",
+ "name": "generate terminate rrmpolicy CUUP URL for configdb",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAICUUPRRMPOLICY`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{gnbCUUPId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2138.53759765625,
+ "y": 3820.8999605178833,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2ace0ee9.26c332",
+ "type": "execute",
+ "name": "prepare sNSSAI",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{sNSSAI}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2012.5374755859375,
+ "y": 3911.8999614715576,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3ac47774.109b28",
+ "type": "execute",
+ "name": "prepare resourcetype",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{resourcetype}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUUPRRMPolicyMembersResourceType`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2011.5374450683594,
+ "y": 3870.899905204773,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "726fc2f.51f473c",
+ "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 + $tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-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": 2066.53759765625,
+ "y": 3969.8999633789062,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "ad7a0321.83b31",
+ "483d33c5.7af65c"
+ ]
+ ]
+ },
+ {
+ "id": "ad7a0321.83b31",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2312.537567138672,
+ "y": 3910.899905204773,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "d9aa3e7a.014e1"
+ ]
+ ]
+ },
+ {
+ "id": "483d33c5.7af65c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2319.53759765625,
+ "y": 3983.1001596450806,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "b7bed467.8c0c68"
+ ]
+ ]
+ },
+ {
+ "id": "d9aa3e7a.014e1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2481.537567138672,
+ "y": 3909.899905204773,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "b9d2c4bb.b0ac78",
+ "3dcdb759.781678"
+ ]
+ ]
+ },
+ {
+ "id": "3dcdb759.781678",
+ "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": 2670.5376052856445,
+ "y": 3912.899962425232,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "b9d2c4bb.b0ac78",
+ "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": 2661.537567138672,
+ "y": 3862.8999042510986,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "b7bed467.8c0c68",
+ "type": "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 rrmpolicy Entry from configdb\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2562.537567138672,
+ "y": 3994.899905204773,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "53bf66bc.532388",
+ "type": "block",
+ "name": "block : gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1980.1374473571777,
+ "y": 4328.7002630233765,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "dd8a2b25.19ba28",
+ "62d32210.5d22bc",
+ "9a11cafc.860298",
+ "55d4a739.9f0a68"
+ ]
+ ]
+ },
+ {
+ "id": "9a11cafc.860298",
+ "type": "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=\"Iterating \"/>\n<parameter name=\"field2\" value=\"`CellDU`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2099.1375007629395,
+ "y": 4199.700064659119,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "55d4a739.9f0a68",
+ "type": "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=\"plmninfolengthcelldu \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUpLMNInfoList_length`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2164.1375007629395,
+ "y": 4326.700066566467,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1c6b37a8.400fe8",
+ "type": "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=\"LocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3055.337371826172,
+ "y": 4692.700198173523,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f0025173.8bc81",
+ "type": "execute",
+ "name": "RRMPolicyRatio id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDURRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 3578.137420654297,
+ "y": 5566.699889183044,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "50d5f57a.28f54c",
+ "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": 3947.1878204345703,
+ "y": 5558.250376701355,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "3cec9739.39d9f8",
+ "type": "execute",
+ "name": "Read RRMPolicy Member List Length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DURRMPolicyMembersLength' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 3640.9374237060547,
+ "y": 5607.699889183044,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "110794fb.6c79bb",
+ "type": "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=\"RRMPOLICYmemberslength\"/>\n<parameter name=\"field2\" value=\"`$tmp.DURRMPolicyMembersLength`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3668.7374267578125,
+ "y": 5655.300280570984,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "710788ba.683388",
+ "type": "execute",
+ "name": "generate terminate plmn GNBDU URL for configdb",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAINRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteplmninfo-GNBDU.configdb.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3106.337371826172,
+ "y": 5058.899905204773,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ab779797.43fff8",
+ "type": "execute",
+ "name": "prepare sNSSAI",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteplmninfo-GNBDU.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteplmninfo-GNBDU.configdb.url\"/>\n <parameter name=\"target\" value=\"{sNSSAI}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3001.337562561035,
+ "y": 5120.9000787734985,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2623a9f9.8193d6",
+ "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 + $tmp.deleteplmninfo-GNBDU.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-GNBDU-plmninfo-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": 3038.3377532958984,
+ "y": 5173.9000787734985,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "cd9d1e81.c52f7",
+ "2bdd7981.9b98a6"
+ ]
+ ]
+ },
+ {
+ "id": "cd9d1e81.c52f7",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3280.3373413085938,
+ "y": 5148.899849891663,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "b24b6ca8.64a59"
+ ]
+ ]
+ },
+ {
+ "id": "2bdd7981.9b98a6",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3287.337371826172,
+ "y": 5221.10010433197,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "33c91db3.7cb762"
+ ]
+ ]
+ },
+ {
+ "id": "b24b6ca8.64a59",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3449.3373413085938,
+ "y": 5147.899849891663,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "78e3acb2.3bc4b4",
+ "92728418.374928"
+ ]
+ ]
+ },
+ {
+ "id": "92728418.374928",
+ "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": 3638.3373794555664,
+ "y": 5150.899907112122,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "78e3acb2.3bc4b4",
+ "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": 3629.3373413085938,
+ "y": 5100.899848937988,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "33c91db3.7cb762",
+ "type": "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 - gNBDU pmmninfo Entry from configdb\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3510.337619781494,
+ "y": 5206.900177955627,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b0f385f8.012f48",
+ "type": "execute",
+ "name": "Read RRMPolicyResourcetype",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DURRMPolicyMembersResourceType' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.resourceType'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 3540.337615966797,
+ "y": 5941.100187301636,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3b954572.23a3ba",
+ "type": "execute",
+ "name": "generate terminate rrmpolicy CUUP URL for configdb",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAICUUPRRMPOLICY`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{gnbCUUPId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3598.737617492676,
+ "y": 5984.100187301636,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dc8d2eaf.fac9f",
+ "type": "execute",
+ "name": "prepare sNSSAI",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{sNSSAI}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3493.737617492676,
+ "y": 6069.10018825531,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "31c13c9.04fb3c4",
+ "type": "execute",
+ "name": "prepare resourcetype",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{resourcetype}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.DURRMPolicyMembersResourceType`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3503.737617492676,
+ "y": 6024.10018825531,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5e725b04.67a0f4",
+ "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 + $tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-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": 3554.737617492676,
+ "y": 6112.1001896858215,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "b43a35d2.f46d38",
+ "5c31f16d.97a37"
+ ]
+ ]
+ },
+ {
+ "id": "b43a35d2.f46d38",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3809.737621307373,
+ "y": 6070.10018825531,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "bfc39caf.d0946"
+ ]
+ ]
+ },
+ {
+ "id": "5c31f16d.97a37",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3822.737621307373,
+ "y": 6118.300580978394,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "cba92c50.eab75"
+ ]
+ ]
+ },
+ {
+ "id": "bfc39caf.d0946",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3970.7376251220703,
+ "y": 6077.10018825531,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cba92c50.eab75",
+ "type": "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 - gNBDU rrmpolicy Entry from configdb\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3979.7376251220703,
+ "y": 6119.100190162659,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ff1e8d16.e8f14",
+ "type": "execute",
+ "name": "Read RRMPolicyResourcetype",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CURRMPolicyMembersResourceType' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.resourceType'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2531.137420654297,
+ "y": 2489.100100517273,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e9d595ba.da8798",
+ "type": "execute",
+ "name": "generate terminate rrmpolicy CUUP URL for configdb",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAICUUPRRMPOLICY`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{gnbCUUPId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2589.537422180176,
+ "y": 2532.100100517273,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "75e674c6.e4e7ec",
+ "type": "execute",
+ "name": "prepare sNSSAI",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{sNSSAI}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2484.537422180176,
+ "y": 2617.1001014709473,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bcdd3642.205538",
+ "type": "execute",
+ "name": "prepare resourcetype",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicy-CUUP.configdb.url\"/>\n <parameter name=\"target\" value=\"{resourcetype}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CURRMPolicyMembersResourceType`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2494.537422180176,
+ "y": 2572.1001014709473,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "15f1b3ba.7f395c",
+ "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 + $tmp.deleteRRMPolicy-CUUP.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CU-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": 2545.537422180176,
+ "y": 2660.1001029014587,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "162e717e.ef11af",
+ "f17933e5.5c686"
+ ]
+ ]
+ },
+ {
+ "id": "162e717e.ef11af",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2800.537425994873,
+ "y": 2618.1001014709473,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "a07e848e.b2ec78"
+ ]
+ ]
+ },
+ {
+ "id": "f17933e5.5c686",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2813.537425994873,
+ "y": 2666.3004941940308,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "4569fa29.9761d4"
+ ]
+ ]
+ },
+ {
+ "id": "a07e848e.b2ec78",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2961.5374298095703,
+ "y": 2625.1001014709473,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4569fa29.9761d4",
+ "type": "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 - gNBCU rrmpolicy Entry from configdb\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2970.5374298095703,
+ "y": 2667.100103378296,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6acac07.9093c",
+ "type": "execute",
+ "name": "generate terminate PLMNInfoListEntry CellCU URL for configdb",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.removenSSAINRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CellCU.configdb.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2288.737518310547,
+ "y": 1520.0999784469604,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e003ea87.add6f8",
+ "type": "execute",
+ "name": "prepare sNSSAI",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CellCU.configdb.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CellCU.configdb.url\"/>\n <parameter name=\"target\" value=\"{sNSSAI}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2131.7375106811523,
+ "y": 1559.5001745224,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "167c0e22.901b82",
+ "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 + $tmp.deletePLMNInfo-CellCU.configdb.url`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CELLCU-plmninfo-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": 2194.737503051758,
+ "y": 1608.0999794006348,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "bd05ffc.53b06",
+ "75b51cd0.bcd294"
+ ]
+ ]
+ },
+ {
+ "id": "bd05ffc.53b06",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2453.1375160217285,
+ "y": 1566.499979019165,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "fa6b1d08.2256f"
+ ]
+ ]
+ },
+ {
+ "id": "75b51cd0.bcd294",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2480.1375122070312,
+ "y": 1644.4999799728394,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "3dc520.c6c85ae"
+ ]
+ ]
+ },
+ {
+ "id": "fa6b1d08.2256f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2648.137519836426,
+ "y": 1559.499979019165,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "505accef.2e3454",
+ "8f30284f.20e3a8"
+ ]
+ ]
+ },
+ {
+ "id": "3dc520.c6c85ae",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2654.137519836426,
+ "y": 1637.499979019165,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "a855b0a4.5dd58"
+ ]
+ ]
+ },
+ {
+ "id": "a855b0a4.5dd58",
+ "type": "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 - CEllCU PLMNInfo Entry from configdb\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2833.137523651123,
+ "y": 1656.4999799728394,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8f30284f.20e3a8",
+ "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": 2879.3375244140625,
+ "y": 1583.499979019165,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "505accef.2e3454",
+ "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": 2880.3375244140625,
+ "y": 1545.4999780654907,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "9dac9c85.ee826",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2326.3374061584473,
+ "y": 4142.500062942505,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "a6dc58d6.ae0068",
+ "e5975bbd.e96d98",
+ "c47a66d9.4f2d18"
+ ]
+ ]
+ },
+ {
+ "id": "a6dc58d6.ae0068",
+ "type": "execute",
+ "name": "read snssailist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNssaiListLengthDU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2577.087371826172,
+ "y": 4074.8496096134186,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e5975bbd.e96d98",
+ "type": "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=\"DU_plmninfolength_nssailength \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthDU`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2574.087505340576,
+ "y": 4125.05006313324,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "61c3d845.b03188",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-dusnssai' start='0' end='`$tmp.sNssaiListLengthDU`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2762.087471008301,
+ "y": 4289.650200128555,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "da67b0bc.8c7b3"
+ ]
+ ]
+ },
+ {
+ "id": "da67b0bc.8c7b3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2508.087471008301,
+ "y": 4374.65024971962,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "57798dd0.ea3d04",
+ "553c22c1.d7f38c",
+ "ab1def53.0564f"
+ ]
+ ]
+ },
+ {
+ "id": "c47a66d9.4f2d18",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.sNssaiListLengthDU > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2510.087371826172,
+ "y": 4218.450199365616,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "b735ee77.c7f87",
+ "f0750106.84eb4"
+ ]
+ ]
+ },
+ {
+ "id": "b735ee77.c7f87",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2684.087375640869,
+ "y": 4164.649807214737,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "6683083.4b909f8"
+ ]
+ ]
+ },
+ {
+ "id": "f0750106.84eb4",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2678.8873767852783,
+ "y": 4233.8496124744415,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "fe59e210.8af75"
+ ]
+ ]
+ },
+ {
+ "id": "6683083.4b909f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2782.087377548218,
+ "y": 4095.249805688858,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "61c3d845.b03188",
+ "8a718a7d.e0c168"
+ ]
+ ]
+ },
+ {
+ "id": "fe59e210.8af75",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2824.087474822998,
+ "y": 4235.249807596207,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "4a9dab66.0d6df4"
+ ]
+ ]
+ },
+ {
+ "id": "4a9dab66.0d6df4",
+ "type": "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=\"plmninfolistnssailength in false in DU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthDU`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2901.6873779296875,
+ "y": 4180.449808359146,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a718a7d.e0c168",
+ "type": "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=\"plmninfolistnssailength in true in DU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthDU`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2929.4874534606934,
+ "y": 4074.449804544449,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4e83f89.0415408",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2608.137420654297,
+ "y": 452.8999967575073,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "e0137cdd.35094",
+ "e1c52a0a.9a7108",
+ "5859fc47.20bfd4"
+ ]
+ ]
+ },
+ {
+ "id": "e0137cdd.35094",
+ "type": "execute",
+ "name": "read snssailist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNssaiListLengthCU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2858.8873863220215,
+ "y": 385.249543428421,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e1c52a0a.9a7108",
+ "type": "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=\"CU_plmninfolength_nssailength \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2855.887519836426,
+ "y": 435.4499969482422,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9aa06737.51c1f8",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-cusnssai' start='0' end='`$tmp.sNssaiListLengthCU`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3043.8874855041504,
+ "y": 600.0501339435577,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "ad6ce437.1f4cf8"
+ ]
+ ]
+ },
+ {
+ "id": "5859fc47.20bfd4",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.sNssaiListLengthCU > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2791.8873863220215,
+ "y": 528.8501331806183,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "aa737ed1.6a961",
+ "c8177674.b30438"
+ ]
+ ]
+ },
+ {
+ "id": "aa737ed1.6a961",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2965.8873901367188,
+ "y": 475.0497410297394,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "f2b53721.af67c8"
+ ]
+ ]
+ },
+ {
+ "id": "c8177674.b30438",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2961.6875610351562,
+ "y": 525.2495641708374,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "f3ce3792.e50918"
+ ]
+ ]
+ },
+ {
+ "id": "f2b53721.af67c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3063.8873920440674,
+ "y": 405.6497395038605,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "9aa06737.51c1f8",
+ "2efddcd5.94ceb4"
+ ]
+ ]
+ },
+ {
+ "id": "f3ce3792.e50918",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3114.887565612793,
+ "y": 537.6497592926025,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "b7522f6c.9b0c8"
+ ]
+ ]
+ },
+ {
+ "id": "b7522f6c.9b0c8",
+ "type": "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=\"plmninfolistnssailength in false in CU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3291.4873695373535,
+ "y": 534.8497343063354,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2efddcd5.94ceb4",
+ "type": "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=\"plmninfolistnssailength in true in CU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3211.287467956543,
+ "y": 384.8497383594513,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f35c14d5.f3fb48",
+ "type": "switchNode",
+ "name": "check the action for terminate",
+ "xml": "<switch test='`$terminate-r-a-n-slice-instance-input.action == deallocate`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 626.9374694824219,
+ "y": 260.00000619888306,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "be39d2c7.72ae8",
+ "1e70a6a7.0c1ba9"
+ ]
+ ]
+ },
+ {
+ "id": "be39d2c7.72ae8",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 836.9374694824219,
+ "y": 179.00000619888306,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "ba308818.919e88"
+ ]
+ ]
+ },
+ {
+ "id": "1e70a6a7.0c1ba9",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 855.9374580383301,
+ "y": 333.0000295639038,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "795710d6.8ab0a"
+ ]
+ ]
+ },
+ {
+ "id": "a8659210.b1071",
+ "type": "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=\"modify deallocate called\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1186.7382202148438,
+ "y": 298.80010509490967,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ba308818.919e88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1006.9375495910645,
+ "y": 171.20005559921265,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "2961a7d4.e35bb8",
+ "ab273474.d6aa08"
+ ]
+ ]
+ },
+ {
+ "id": "795710d6.8ab0a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1016.9376525878906,
+ "y": 333.20002937316895,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "a8659210.b1071",
+ "411586f6.d75028"
+ ]
+ ]
+ },
+ {
+ "id": "2961a7d4.e35bb8",
+ "type": "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=\"deallocate called\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1177.7374382019043,
+ "y": 105.00000953674316,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "71ee3244.3f6c6c",
+ "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": 3269.737518310547,
+ "y": 198.00000476837158,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ea4a7f65.a142d",
+ "type": "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": 3288.4874153137207,
+ "y": 242.50000476837158,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2332d772.0a7c98",
+ "type": "switchNode",
+ "name": "check action",
+ "xml": "<switch test='`$tmp.action`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3289.2377166748047,
+ "y": 129.25000286102295,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "64feef5b.a749",
+ "e60a8ab4.836f68"
+ ]
+ ]
+ },
+ {
+ "id": "64feef5b.a749",
+ "type": "success",
+ "name": "deallocate",
+ "xml": "<outcome value='deallocate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3476.237518310547,
+ "y": 140.0000286102295,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "5f43b123.70519"
+ ]
+ ]
+ },
+ {
+ "id": "d8c0873e.407948",
+ "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.sNSSAI`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3887.237724304199,
+ "y": 214.0000057220459,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e60a8ab4.836f68",
+ "type": "failure",
+ "name": "modify-deallocate",
+ "xml": "<outcome value='modify-deallocate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3471.237518310547,
+ "y": 238.00000476837158,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "3a14a027.4fa99"
+ ]
+ ]
+ },
+ {
+ "id": "282e962e.a0db5a",
+ "type": "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: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3848.487522125244,
+ "y": 168.00000476837158,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f43b123.70519",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3648.487518310547,
+ "y": 140.00000476837158,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "282e962e.a0db5a",
+ "d55c8f44.8dcb4"
+ ]
+ ]
+ },
+ {
+ "id": "d55c8f44.8dcb4",
+ "type": "set",
+ "name": "read sNSSAI from input",
+ "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\"/>",
+ "comments": "",
+ "x": 3850.4875259399414,
+ "y": 119.00000381469727,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "fc0ce4ec.2b3278",
+ "type": "set",
+ "name": "read action from input",
+ "xml": "<set>\n<parameter name='tmp.action' value=\"`$terminate-r-a-n-slice-instance-input.action`\"/>",
+ "comments": "",
+ "x": 3307.987518310547,
+ "y": 82.50000286102295,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "3a14a027.4fa99",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3665.0375213623047,
+ "y": 234.50000476837158,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "d8c0873e.407948",
+ "73ad016b.f6a04"
+ ]
+ ]
+ },
+ {
+ "id": "73ad016b.f6a04",
+ "type": "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=\"modify-deallocate-sNSSAI: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3907.037525177002,
+ "y": 282.5000066757202,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fdf53f68.9b808",
+ "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-instance-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2701.137420654297,
+ "y": 169.50000286102295,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "c5d7c697.59a738"
+ ]
+ ]
+ },
+ {
+ "id": "c5d7c697.59a738",
+ "type": "other",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2902.3872299194336,
+ "y": 158.75000286102295,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "ffce6f8f.d9463"
+ ]
+ ]
+ },
+ {
+ "id": "ffce6f8f.d9463",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3068.3873291015625,
+ "y": 152.75000286102295,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "fc0ce4ec.2b3278",
+ "2332d772.0a7c98",
+ "71ee3244.3f6c6c",
+ "ea4a7f65.a142d"
+ ]
+ ]
+ },
+ {
+ "id": "411586f6.d75028",
+ "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": 1300.1376342773438,
+ "y": 379.5000066757202,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "1ea03f41.d87241"
+ ]
+ ]
+ },
+ {
+ "id": "1ea03f41.d87241",
+ "type": "other",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1561.1374435424805,
+ "y": 327.50000286102295,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "235ab0fa.baf27"
+ ]
+ ]
+ },
+ {
+ "id": "235ab0fa.baf27",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1732.1374435424805,
+ "y": 328.50000381469727,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "e9ab7ba8.ba2a48",
+ "3ab109e1.469ed6",
+ "531ec500.b69ecc",
+ "c2795157.ead99",
+ "c46cff24.3f3ca",
+ "4e9ea98d.a94e08"
+ ]
+ ]
+ },
+ {
+ "id": "e9ab7ba8.ba2a48",
+ "type": "set",
+ "name": "read action from input",
+ "xml": "<set>\n<parameter name='tmp.action' value=\"`$instantiate-r-a-n-slice-input.action`\"/>",
+ "comments": "",
+ "x": 1952.1375427246094,
+ "y": 310.5000066757202,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "3ab109e1.469ed6",
+ "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": 1922.137451171875,
+ "y": 347.50000286102295,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "531ec500.b69ecc",
+ "type": "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 modifyallocateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1920.8872528076172,
+ "y": 394.00000381469727,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c2795157.ead99",
+ "type": "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=\"modify-deallocate-sNSSAI: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$tmp.sliceprofileid`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1912.337547302246,
+ "y": 528.0000104904175,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ab273474.d6aa08",
+ "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-instance-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1395.7375373840332,
+ "y": 182.50000286102295,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "cee69f4f.a2b73"
+ ]
+ ]
+ },
+ {
+ "id": "cee69f4f.a2b73",
+ "type": "other",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1597.7374954223633,
+ "y": 108.50000095367432,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "5123566a.747ba8"
+ ]
+ ]
+ },
+ {
+ "id": "5123566a.747ba8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1768.7374954223633,
+ "y": 109.50000190734863,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "22cf997a.f16fb6",
+ "2452aeb0.585dd2",
+ "df34217.cef9be",
+ "4c89e4b7.f008ac",
+ "1ae4e467.6f532c",
+ "fe6ed4e9.3b1f78"
+ ]
+ ]
+ },
+ {
+ "id": "22cf997a.f16fb6",
+ "type": "set",
+ "name": "read action from input",
+ "xml": "<set>\n<parameter name='tmp.action' value=\"`$terminate-r-a-n-slice-instance-input.action`\"/>",
+ "comments": "",
+ "x": 1988.7374954223633,
+ "y": 86.50000095367432,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "2452aeb0.585dd2",
+ "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": 1958.7375030517578,
+ "y": 128.50000095367432,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df34217.cef9be",
+ "type": "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": 1951.7375183105469,
+ "y": 165.50000286102295,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1ae4e467.6f532c",
+ "type": "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=\"DEallocate sNSSAI: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$tmp.sliceprofileid`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1953.737548828125,
+ "y": 273.5000066757202,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4c89e4b7.f008ac",
+ "type": "set",
+ "name": "read sNSSAI from input",
+ "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\"/>",
+ "comments": "",
+ "x": 2018.737548828125,
+ "y": 203.50000476837158,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "c46cff24.3f3ca",
+ "type": "set",
+ "name": "read sNSSAI from input sliceprofile",
+ "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>",
+ "comments": "",
+ "x": 1977.3374938964844,
+ "y": 438.50000286102295,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "4e9ea98d.a94e08",
+ "type": "set",
+ "name": "read SpId from input sliceprofile",
+ "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
+ "comments": "",
+ "x": 2004.7375183105469,
+ "y": 483.50000286102295,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "fe6ed4e9.3b1f78",
+ "type": "set",
+ "name": "read SpId from input ",
+ "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfileId`\"/>",
+ "comments": "",
+ "x": 2042.737548828125,
+ "y": 237.50000476837158,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "9c27065a.121fe8",
+ "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'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 847.5,
+ "y": 761.875,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dc6f5c5d.19069",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 830.3125,
+ "y": 814.6875,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "b9eb91f2.91722",
+ "9e6449f8.230918"
+ ]
+ ]
+ },
+ {
+ "id": "b9eb91f2.91722",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1047.8125305175781,
+ "y": 730.4373331069946,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "9cfb3d86.53f5d"
+ ]
+ ]
+ },
+ {
+ "id": "9e6449f8.230918",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1037.3125,
+ "y": 771.9375038146973,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "c06723d0.11693"
+ ]
+ ]
+ },
+ {
+ "id": "c06723d0.11693",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1186.3121643066406,
+ "y": 784.9376091957092,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "a6810ff4.93fe9",
+ "759b90a0.4de46"
+ ]
+ ]
+ },
+ {
+ "id": "9cfb3d86.53f5d",
+ "type": "execute",
+ "name": "generate remove sliceProfile url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.nearrtric.removeSliceProfile`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSliceProfileEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1318.5624313354492,
+ "y": 728.1875038146973,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a6810ff4.93fe9",
+ "type": "execute",
+ "name": "generate sliceprofile removal",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.nearrtric.removeSliceProfile.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSliceProfileEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1084.562156677246,
+ "y": 849.9374575614929,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "759b90a0.4de46",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSliceProfileEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSliceProfileEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1007.312614440918,
+ "y": 890.4376420974731,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd467a3c.ebd308",
+ "type": "execute",
+ "name": "Remove Slice Profile",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteSliceProfileEntry.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-slice-profile-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\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1007.812614440918,
+ "y": 1044.6875190734863,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "248f7539.80f80a",
+ "fe50e02f.34e6a"
+ ]
+ ]
+ },
+ {
+ "id": "248f7539.80f80a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1209.0625,
+ "y": 913.4375,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "474adbe.5237424"
+ ]
+ ]
+ },
+ {
+ "id": "fe50e02f.34e6a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1192.3806381225586,
+ "y": 986.0965933799744,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "9d8f45bc.4383f8"
+ ]
+ ]
+ },
+ {
+ "id": "474adbe.5237424",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1375.9375,
+ "y": 894.6875,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "579a1802.2390b8",
+ "53530b53.9b2494"
+ ]
+ ]
+ },
+ {
+ "id": "53530b53.9b2494",
+ "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": 1524.9371910095215,
+ "y": 857.7984781265259,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "579a1802.2390b8",
+ "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": 1538.9371948242188,
+ "y": 932.6875467300415,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": []
+ },
+ {
+ "id": "17e5f427.41e40c",
+ "type": "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 Slice Profile\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1453.4375305175781,
+ "y": 1054.6875228881836,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9d8f45bc.4383f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1373.9374923706055,
+ "y": 1000.4374145269394,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ [
+ "17e5f427.41e40c"
+ ]
+ ]
+ },
+ {
+ "id": "13495f7c.967481",
+ "type": "execute",
+ "name": "prepare slice profile id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSliceProfileEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSliceProfileEntry.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sliceprofileid`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 929.3750038146973,
+ "y": 950.9375200271606,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4d8386dc.633268",
+ "type": "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=\"sliceprofileid\"/>\n<parameter name=\"field2\" value=\"`$tmp.sliceprofileid`\" />\n<parameter name=\"field3\" value=\"nearRTRICId\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\" />\n<parameter name=\"field5\" value=\"endpoint URL\"/>\n<parameter name=\"field6\" value=\"`$tmp.deleteSliceProfileEntry.url`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 909.0625,
+ "y": 999.6875,
+ "z": "7dbbf2af.ccfd8c",
+ "wires": [
+ []
+ ]
}
]
\ No newline at end of file