summaryrefslogtreecommitdiffstats
path: root/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance-cps.json
diff options
context:
space:
mode:
authorHariharan <rh20085046@wipro.com>2021-09-16 21:44:44 +0530
committerDan Timoney <dtimoney@att.com>2021-09-21 12:33:34 +0000
commit81ccfd4c4195fcbad4591b1d5ba2350a0916f385 (patch)
tree2b0a4ae6d6c9775d64d2f8478fd3b0f6cf01cc95 /platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance-cps.json
parentda2e77325edbb7c8b97f25fa19f23481c0a8c029 (diff)
TerminateRANSliceInstance - CPS Integration
Issue-ID: CCSDK-3466 Signed-off-by: Hariharan <rh20085046@wipro.com> Change-Id: I2f0ffe4923b64d84018f5e442c0c9a692420366c
Diffstat (limited to 'platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance-cps.json')
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance-cps.json9372
1 files changed, 9372 insertions, 0 deletions
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance-cps.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance-cps.json
new file mode 100644
index 00000000..59579803
--- /dev/null
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance-cps.json
@@ -0,0 +1,9372 @@
+[
+ {
+ "id": "2fc302d6.82e3ae",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 123,
+ "y": 110.2500057220459,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "27a281ce.e8554e"
+ ]
+ ]
+ },
+ {
+ "id": "27a281ce.e8554e",
+ "type": "service-logic",
+ "name": "ran-slice-api ${project.version}",
+ "module": "ran-slice-api",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
+ "outputs": 1,
+ "x": 178.0000228881836,
+ "y": 197.24997425079346,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "8d07770b.40d8d8"
+ ]
+ ]
+ },
+ {
+ "id": "8d07770b.40d8d8",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='terminateRANSliceInstance-cps' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 112,
+ "y": 257.24993991851807,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "4a5cabc2.a7b434"
+ ]
+ ]
+ },
+ {
+ "id": "4a5cabc2.a7b434",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 117.99999237060547,
+ "y": 351.9999704360962,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "915904fb.1e3638",
+ "c456d34.fe5423",
+ "1265ccfb.824893",
+ "e3604cfc.48576",
+ "2ecc0183.03bf1e",
+ "848d52eb.8cc75",
+ "7d478635.d81058",
+ "d1a91050.f5c7d",
+ "f553ee6f.fe81e",
+ "cd297572.69cac8",
+ "e9a10f4d.0c6f2",
+ "c0761ee.a3bd7e",
+ "1c135f07.bdae71",
+ "7634ff46.e0b13",
+ "75690319.28e85c"
+ ]
+ ]
+ },
+ {
+ "id": "61eecf4e.08f1a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 375.00000762939453,
+ "y": 608.250057220459,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "a90ef80c.176158",
+ "33960a6b.e663d6",
+ "566f0c13.3c36f4",
+ "defb0345.d78a8",
+ "9ee9b02d.5d0c5",
+ "f4ad0d69.8a8f4",
+ "2ab20b2.c4662f4",
+ "3c8d387a.bf8218",
+ "5002dadc.f9b734",
+ "23c0289f.7c38a8",
+ "727ee4a2.8509dc",
+ "91b52d7b.490f2",
+ "4d9d7d5d.5fed04",
+ "405b1b1e.551e24",
+ "26f000ef.f9a63"
+ ]
+ ]
+ },
+ {
+ "id": "e42b439f.4e3a6",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 945.0680961608887,
+ "y": 639.3180861473083,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "fbbc66fc.f79578"
+ ]
+ ]
+ },
+ {
+ "id": "fbbc66fc.f79578",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1115.0679931640625,
+ "y": 640.3182015419006,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "ffbe99c0.53a808",
+ "8eea7516.4225a8"
+ ]
+ ]
+ },
+ {
+ "id": "ffbe99c0.53a808",
+ "type": "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-cps-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1338.0678901672363,
+ "y": 618.3181772232056,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8eea7516.4225a8",
+ "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": 1344.8459167480469,
+ "y": 654.3182754516602,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "24fc36ac.2cc9aa",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 950.0680809020996,
+ "y": 599.3181781768799,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "781815a4.a3ee1c"
+ ]
+ ]
+ },
+ {
+ "id": "781815a4.a3ee1c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1214.0682792663574,
+ "y": 591.3182258605957,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "297876ec.0f7e9a",
+ "86a7278f.d35238"
+ ]
+ ]
+ },
+ {
+ "id": "297876ec.0f7e9a",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1434.0679893493652,
+ "y": 586.4292802810669,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "26f000ef.f9a63",
+ "type": "for",
+ "name": "foreach NearRTRIC",
+ "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-cps-response._length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 478.2499771118164,
+ "y": 1213.3181324005127,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "9f21b321.b4642",
+ "60a0fe7f.d8146",
+ "27d156bf.17d99a",
+ "eecde6e4.e3a8f8",
+ "e661d74c.681978"
+ ]
+ ]
+ },
+ {
+ "id": "9f21b321.b4642",
+ "type": "block",
+ "name": "Process NearRTRIC",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 712.6035499572754,
+ "y": 1201.893913269043,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "dba510c5.0e5a7",
+ "b7895624.0ca7f8",
+ "15ff5f7d.ac4ce1"
+ ]
+ ]
+ },
+ {
+ "id": "dba510c5.0e5a7",
+ "type": "execute",
+ "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-cps-response.['+ $idy +'].attributes.pLMNInfoList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1003.7955551147461,
+ "y": 681.227367401123,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34883ae0.e4eea6",
+ "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-cps-response.[' + $idy + '].idNearRTRIC'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1781.7960968017578,
+ "y": 768.2276239395142,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2b4e3189.9b8a2e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1725.0681686401367,
+ "y": 959.7726945877075,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "c55935b5.790928"
+ ]
+ ]
+ },
+ {
+ "id": "c55935b5.790928",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1878.0682830810547,
+ "y": 948.7727012634277,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "ce52c4be.108d98",
+ "55e4c978.919018"
+ ]
+ ]
+ },
+ {
+ "id": "55e4c978.919018",
+ "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": 2027.0679740905762,
+ "y": 911.8836793899536,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "ce52c4be.108d98",
+ "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": 2041.0679779052734,
+ "y": 986.7727479934692,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "b2a1da52.7c9308",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1722.8863067626953,
+ "y": 1100.6817951202393,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "ff899f06.f5f5d"
+ ]
+ ]
+ },
+ {
+ "id": "ff899f06.f5f5d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1872.886215209961,
+ "y": 1115.6819324493408,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "45b6ca11.f79d04"
+ ]
+ ]
+ },
+ {
+ "id": "45b6ca11.f79d04",
+ "type": "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 NearRT RIC info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2019.8861541748047,
+ "y": 1143.6820087432861,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1a8a4142.50086f",
+ "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-cps-response.[' + $idy +'].GNBCUCPFunction_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 987.25,
+ "y": 1325.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "60a0fe7f.d8146",
+ "type": "block",
+ "name": "Process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 665.2500228881836,
+ "y": 1313.500093460083,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "1a8a4142.50086f",
+ "14cec2de.b3b30d",
+ "257d60a3.014f"
+ ]
+ ]
+ },
+ {
+ "id": "14cec2de.b3b30d",
+ "type": "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": 959.25,
+ "y": 1390.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "257d60a3.014f",
+ "type": "for",
+ "name": "foreach CUCP",
+ "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 987.25,
+ "y": 1465.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "efa55bbc.3e1cc8"
+ ]
+ ]
+ },
+ {
+ "id": "efa55bbc.3e1cc8",
+ "type": "block",
+ "name": "block : process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1208.25,
+ "y": 1472.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "fc80606c.b3fbe",
+ "14f13e10.9327a2",
+ "e885f11b.c9aea",
+ "134a4feb.b12ec"
+ ]
+ ]
+ },
+ {
+ "id": "fc80606c.b3fbe",
+ "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-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].attributes.gNBCUName'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1516.2500762939453,
+ "y": 1313.0999999046326,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "14f13e10.9327a2",
+ "type": "for",
+ "name": "for cellCUList",
+ "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1563.25,
+ "y": 1469.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "fcd1f3c6.0e5ed"
+ ]
+ ]
+ },
+ {
+ "id": "da0b6865.1a7908",
+ "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-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].idNRCellCU'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2275.750274658203,
+ "y": 1078.2500219345093,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e4685a55.406e88",
+ "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": 2275.50008392334,
+ "y": 1318.7500267028809,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8bd7c16b.de00e",
+ "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": 2237.250030517578,
+ "y": 1452.5001678466797,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "8f227315.0314b",
+ "34f969ab.cb9066"
+ ]
+ ]
+ },
+ {
+ "id": "e6862312.8c998",
+ "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": 2279.25008392334,
+ "y": 1410.9999785423279,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e3ed491d.954e98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2075.249931335449,
+ "y": 1069.500015258789,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "da0b6865.1a7908",
+ "e4685a55.406e88",
+ "e6862312.8c998",
+ "cfe58b39.ed0498",
+ "6bf128ac.d071f8",
+ "eadf156.6353ae8",
+ "a674e8bb.cfe268",
+ "c6c9496b.250678",
+ "aaa0dde.d7b212",
+ "8c2f38a0.f9fb28",
+ "c6edfac9.7c9c58",
+ "514dd6f.6906628",
+ "c52bf64c.f7efa8",
+ "9ce076ba.219ae8",
+ "8bd7c16b.de00e"
+ ]
+ ]
+ },
+ {
+ "id": "8f227315.0314b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2475.2499389648438,
+ "y": 1484.500075340271,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "fe1d9725.a71938"
+ ]
+ ]
+ },
+ {
+ "id": "fe1d9725.a71938",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2658.2499389648438,
+ "y": 1477.5000762939453,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "1f64cadd.96c7c5"
+ ]
+ ]
+ },
+ {
+ "id": "1f64cadd.96c7c5",
+ "type": "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": 2911.2499465942383,
+ "y": 1474.5003681182861,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34f969ab.cb9066",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2457.25008392334,
+ "y": 1432.4999771118164,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "332ae432.3b7a1c"
+ ]
+ ]
+ },
+ {
+ "id": "332ae432.3b7a1c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2600.2501373291016,
+ "y": 1393.5000743865967,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "a1315b4e.247908",
+ "f20a8cc0.30eaa",
+ "86a7278f.d35238"
+ ]
+ ]
+ },
+ {
+ "id": "a1315b4e.247908",
+ "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": 2860.2499389648438,
+ "y": 1413.5001735687256,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "f20a8cc0.30eaa",
+ "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": 2784.249942779541,
+ "y": 1375.5000743865967,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "cfe58b39.ed0498",
+ "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": 2342.25008392334,
+ "y": 1181.5001211166382,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6bf128ac.d071f8",
+ "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": 2316.25008392334,
+ "y": 1231.250023841858,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eadf156.6353ae8",
+ "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": 2284.0000801086426,
+ "y": 1274.2500247955322,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e885f11b.c9aea",
+ "type": "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": 1566.2500457763672,
+ "y": 1367.4999771118164,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "134a4feb.b12ec",
+ "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-cps-response.[' + $idy +'].GNBCUCPFunction[' + $idz +'].NRCellCU_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1573.25,
+ "y": 1425.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a674e8bb.cfe268",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2271.25008392334,
+ "y": 1033.500020980835,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "b68a4e07.b2dd7",
+ "d9e938b.5fdb9c8"
+ ]
+ ]
+ },
+ {
+ "id": "b68a4e07.b2dd7",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2506.25008392334,
+ "y": 1035.4998264312744,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "7e2204de.3b325c"
+ ]
+ ]
+ },
+ {
+ "id": "7e2204de.3b325c",
+ "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": 2828.25,
+ "y": 1119.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d9e938b.5fdb9c8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2518.25008392334,
+ "y": 1104.5000224113464,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "df53585c.b9fa48"
+ ]
+ ]
+ },
+ {
+ "id": "c6c9496b.250678",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1855.25,
+ "y": 1890.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "c0711216.8ce9c",
+ "7b1874fb.c5415c",
+ "7e19a58b.6323ec",
+ "dfbcf2c5.3ff55",
+ "579778ab.278998",
+ "45c1bca2.5e8e04",
+ "61df6e54.11339",
+ "c3d03b5f.8c6898",
+ "bbf378e6.b63a58"
+ ]
+ ]
+ },
+ {
+ "id": "c0711216.8ce9c",
+ "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": 2037.25,
+ "y": 1673.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "7b1874fb.c5415c",
+ "type": "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_SliceProfile`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2036.25,
+ "y": 1734.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7e19a58b.6323ec",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2077.25,
+ "y": 1796.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "60276eca.ed52d",
+ "e6b24565.3c8fe8"
+ ]
+ ]
+ },
+ {
+ "id": "60276eca.ed52d",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2255.25,
+ "y": 1763.499764919281,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "dd141b86.78ab68"
+ ]
+ ]
+ },
+ {
+ "id": "dd141b86.78ab68",
+ "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": 2533.25,
+ "y": 1755.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dfbcf2c5.3ff55",
+ "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": 2112.25,
+ "y": 1868.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "579778ab.278998",
+ "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": 2077.25,
+ "y": 1920.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fceb310.bb2c0d",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2363.25,
+ "y": 2047.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "e4abead.1867818"
+ ]
+ ]
+ },
+ {
+ "id": "e4abead.1867818",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2527.2498779296875,
+ "y": 2048.5001311302185,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "366d6670.9c68aa",
+ "da77f44.4f42e08"
+ ]
+ ]
+ },
+ {
+ "id": "366d6670.9c68aa",
+ "type": "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": 2677.2498779296875,
+ "y": 2043.500253200531,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "116f3d7a.fe8f33",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2359.25,
+ "y": 1968.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "77902d7b.ae4ff4"
+ ]
+ ]
+ },
+ {
+ "id": "77902d7b.ae4ff4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2517.250244140625,
+ "y": 1916.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "fcdb7134.4bc93",
+ "e9c8e0c5.1e294",
+ "86a7278f.d35238"
+ ]
+ ]
+ },
+ {
+ "id": "fcdb7134.4bc93",
+ "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": 2688.2498779296875,
+ "y": 1977.5000700950623,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "e9c8e0c5.1e294",
+ "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": 2683.25,
+ "y": 1882.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "45c1bca2.5e8e04",
+ "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": 2112.25,
+ "y": 1995.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "116f3d7a.fe8f33",
+ "fceb310.bb2c0d"
+ ]
+ ]
+ },
+ {
+ "id": "da77f44.4f42e08",
+ "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": 2700.2499656677246,
+ "y": 2080.4999480247498,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "61df6e54.11339",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2047.25,
+ "y": 2153.500237941742,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "95b2986f.e58608"
+ ]
+ ]
+ },
+ {
+ "id": "c3d03b5f.8c6898",
+ "type": "execute",
+ "name": "read rrmpolicyratio list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2091.25,
+ "y": 2049.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "95b2986f.e58608",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2268.25,
+ "y": 2173.500237941742,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "5d789216.d6bbcc",
+ "bf15866.078ce78",
+ "f69925d0.0398b8",
+ "672cacb9.6f85d4",
+ "3b2efef6.f4db92",
+ "6917fdf2.dd9844",
+ "6f0d087a.f937e8",
+ "930a549f.867938",
+ "a5776646.7b9808",
+ "51a270d0.6d0f9"
+ ]
+ ]
+ },
+ {
+ "id": "5d789216.d6bbcc",
+ "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": 2489.2498664855957,
+ "y": 2090.500144481659,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "bbf378e6.b63a58",
+ "type": "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": 2031.25,
+ "y": 2103.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a4271c85.b4e31",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2552.3611221313477,
+ "y": 605.7222671508789,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "6bd0302.f586ad"
+ ]
+ ]
+ },
+ {
+ "id": "fcd1f3c6.0e5ed",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1779.2499771118164,
+ "y": 1345.4999799728394,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "907603d2.1339e",
+ "1e47fe7b.f65f02",
+ "eb2cc8b8.8811b8"
+ ]
+ ]
+ },
+ {
+ "id": "bbf4a1c6.48d0e",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2769.0274810791016,
+ "y": 842.2778072357178,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "5faff031.b5532"
+ ]
+ ]
+ },
+ {
+ "id": "5faff031.b5532",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2192.2499351501465,
+ "y": 923.5000247955322,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "e3ed491d.954e98"
+ ]
+ ]
+ },
+ {
+ "id": "aaa0dde.d7b212",
+ "type": "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 for cucp plmninfo \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2266.2499351501465,
+ "y": 990.5000257492065,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "66a6e267.dfc32c",
+ "type": "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": 2827.1388092041016,
+ "y": 798.722249507904,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b95f77aa.edfc98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2636.2501373291016,
+ "y": 772.500081539154,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "66a6e267.dfc32c",
+ "bbf4a1c6.48d0e",
+ "c191c83d.0ed278"
+ ]
+ ]
+ },
+ {
+ "id": "c191c83d.0ed278",
+ "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-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList['+ $id-cuplmn +'].sNSSAIList['+ $id-cusnssai +'].sNssai'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3007.1386108398438,
+ "y": 722.7222971916199,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "27d156bf.17d99a",
+ "type": "block",
+ "name": "Process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 568.25,
+ "y": 1535.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "9bc70afb.740798",
+ "28530b29.61bf74",
+ "7774938a.4a229c"
+ ]
+ ]
+ },
+ {
+ "id": "9bc70afb.740798",
+ "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-cps-response.[' + $idy +'].GNBCUUPFunction_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 899.25,
+ "y": 1545.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "28530b29.61bf74",
+ "type": "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": 871.25,
+ "y": 1610.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7774938a.4a229c",
+ "type": "for",
+ "name": "foreach CUUP",
+ "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 899.25,
+ "y": 1685.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "74a0ec57.9a1604"
+ ]
+ ]
+ },
+ {
+ "id": "74a0ec57.9a1604",
+ "type": "block",
+ "name": "block : process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 764.250129699707,
+ "y": 2045.5002117156982,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "9856f937.6cb738",
+ "77adaf37.3fea6",
+ "5ff7e760.b99518",
+ "a2fa3115.9de0c",
+ "ab1a1337.b2d58",
+ "6708ee77.a084a",
+ "f5e9da0.26dd428",
+ "d4bbbf7a.0735b",
+ "1354575.1f5a3a9",
+ "b6699a74.f0bde8",
+ "580350ca.52acc",
+ "21699cfe.f96104",
+ "dd01cea.6808a3"
+ ]
+ ]
+ },
+ {
+ "id": "9856f937.6cb738",
+ "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-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].idGNBCUUPFunction'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1181.2500457763672,
+ "y": 2098.500030517578,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "77adaf37.3fea6",
+ "type": "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": 1165.2501411437988,
+ "y": 2148.5000801086426,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ff7e760.b99518",
+ "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-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].attributes.pLMNInfoList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1161.2500457763672,
+ "y": 2202.500082015991,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a2fa3115.9de0c",
+ "type": "for",
+ "name": "foreach pLMNInfo",
+ "xml": "<for index='id-plmn' start='0' end='1'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1005.2499923706055,
+ "y": 2337.500234603882,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "1bc073ce.7ff5ac"
+ ]
+ ]
+ },
+ {
+ "id": "1bc073ce.7ff5ac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1127.2499923706055,
+ "y": 2409.500237226486,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "6ccb5957.6e97a8",
+ "3a6bc5d.5ee993a",
+ "8a2c4744.a700e8"
+ ]
+ ]
+ },
+ {
+ "id": "f731369c.1f2078",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2255.250270843506,
+ "y": 2917.500340461731,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "70956339.580aec"
+ ]
+ ]
+ },
+ {
+ "id": "70956339.580aec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2412.250274658203,
+ "y": 2910.5001454353333,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "6b63917a.dd9e8",
+ "a6d21843.454a38",
+ "86a7278f.d35238"
+ ]
+ ]
+ },
+ {
+ "id": "a6d21843.454a38",
+ "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": 2657.2502822875977,
+ "y": 2911.500535964966,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "6b63917a.dd9e8",
+ "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": 2645.2502822875977,
+ "y": 2946.50053691864,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "e7366c55.27d0e",
+ "type": "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": 2635.25008392334,
+ "y": 2994.5003414154053,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f047b07.947bf5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2479.2500762939453,
+ "y": 2987.5001468658447,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "e7366c55.27d0e"
+ ]
+ ]
+ },
+ {
+ "id": "1dc9bdec.d9f382",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2319.2500762939453,
+ "y": 2987.5003414154053,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "f047b07.947bf5"
+ ]
+ ]
+ },
+ {
+ "id": "de0fc599.a60458",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2001.2500267028809,
+ "y": 2708.500386238098,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "cd465c1d.33451",
+ "6febd0f9.d496"
+ ]
+ ]
+ },
+ {
+ "id": "cd465c1d.33451",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2321.250129699707,
+ "y": 2758.500143557787,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "fb4608b3.dc6428"
+ ]
+ ]
+ },
+ {
+ "id": "6febd0f9.d496",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2354.250015258789,
+ "y": 2857.50035238266,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "a99c6274.c44fa"
+ ]
+ ]
+ },
+ {
+ "id": "fb4608b3.dc6428",
+ "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": 2686.250015258789,
+ "y": 2770.50035238266,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a7cd0e67.196b7",
+ "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": 2017.2499694824219,
+ "y": 2812.500144004822,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6708ee77.a084a",
+ "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": 1377.2501373291016,
+ "y": 3187.500394821167,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "f5e9da0.26dd428",
+ "type": "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": 1335.2501411437988,
+ "y": 3252.500394821167,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d4bbbf7a.0735b",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1401.2500457763672,
+ "y": 3298.5002002716064,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "362a55dc.680b9a",
+ "2250a766.25eda8"
+ ]
+ ]
+ },
+ {
+ "id": "362a55dc.680b9a",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1710.2499771118164,
+ "y": 3254.4997596740723,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "8d0f0adf.b01368"
+ ]
+ ]
+ },
+ {
+ "id": "8d0f0adf.b01368",
+ "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": 1969.2497863769531,
+ "y": 3256.49995470047,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1354575.1f5a3a9",
+ "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": 1448.2501430511475,
+ "y": 3347.5003967285156,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b6699a74.f0bde8",
+ "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": 1467.2501419782639,
+ "y": 3395.5003490448,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "3b91c31a.5efd6c",
+ "6678646.cb12f9c"
+ ]
+ ]
+ },
+ {
+ "id": "3b91c31a.5efd6c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1873.2501754760742,
+ "y": 3360.5001516342163,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "a5535451.b14438"
+ ]
+ ]
+ },
+ {
+ "id": "a5535451.b14438",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2047.2501754760742,
+ "y": 3371.4999561309814,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "9cfb1fad.e0a4e",
+ "ef16bee3.b9b7",
+ "86a7278f.d35238"
+ ]
+ ]
+ },
+ {
+ "id": "ef16bee3.b9b7",
+ "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": 2239.249984741211,
+ "y": 3316.4999561309814,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "9cfb1fad.e0a4e",
+ "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": 2283.249984741211,
+ "y": 3360.4999561309814,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "50abea47.3c39c4",
+ "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": 2270.249984741211,
+ "y": 3439.5003480911255,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1e3eb9a5.be1626",
+ "type": "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": 2262.249984741211,
+ "y": 3395.500347137451,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3ab190e9.0f16f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2053.2499809265137,
+ "y": 3417.500347137451,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "1e3eb9a5.be1626",
+ "50abea47.3c39c4"
+ ]
+ ]
+ },
+ {
+ "id": "6678646.cb12f9c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1872.2501754760742,
+ "y": 3416.5001525878906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "3ab190e9.0f16f"
+ ]
+ ]
+ },
+ {
+ "id": "580350ca.52acc",
+ "type": "execute",
+ "name": "read rrmpolicyratio list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_CUUP_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1466.2501411437988,
+ "y": 3442.5003986358643,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "21699cfe.f96104",
+ "type": "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.rrmPolicyRatioList_CUUP_length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1429.2501430511475,
+ "y": 3491.5003986358643,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dd01cea.6808a3",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1484.9166469573975,
+ "y": 3535.8336029052734,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "46bd8ed4.c173a"
+ ]
+ ]
+ },
+ {
+ "id": "46bd8ed4.c173a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1810.9166793823242,
+ "y": 3468.833489894867,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "f82bb9bf.adee38",
+ "58c36fb8.f4dfe",
+ "dc7ec7e1.74ebf8",
+ "fe57d7c.f7b2f28",
+ "2b1fd179.9e31fe",
+ "9fc7c5b.0387d38",
+ "b9a6e18d.cb90d",
+ "8988f981.ab5bc8",
+ "50e238c2.478fb8"
+ ]
+ ]
+ },
+ {
+ "id": "559e943e.90a8ac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2606.9165573120117,
+ "y": 3702.833737850189,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "dbea6191.b6fb9"
+ ]
+ ]
+ },
+ {
+ "id": "dbea6191.b6fb9",
+ "type": "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": 2800.9167098999023,
+ "y": 3732.8335547447205,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "705587fc.d21528",
+ "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": 2866.916528701782,
+ "y": 3789.833432197571,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "10f16f77.8cc841",
+ "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": 2881.916648864746,
+ "y": 3837.833432197571,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "e27c1ccb.1012e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2603.91707611084,
+ "y": 3764.8333716392517,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "10f16f77.8cc841",
+ "705587fc.d21528"
+ ]
+ ]
+ },
+ {
+ "id": "7ed88f17.7c3a3",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2386.9165382385254,
+ "y": 3763.8331661224365,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "e27c1ccb.1012e"
+ ]
+ ]
+ },
+ {
+ "id": "eecde6e4.e3a8f8",
+ "type": "block",
+ "name": "Process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 931.0001754760742,
+ "y": 4173.250737667084,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "76145fcc.8ce7b",
+ "402dedb2.a803e4",
+ "bbee6e.03d2419"
+ ]
+ ]
+ },
+ {
+ "id": "76145fcc.8ce7b",
+ "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-cps-response.[' + $idy +'].GNBDUFunction_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1260.0001754760742,
+ "y": 4204.250737667084,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "402dedb2.a803e4",
+ "type": "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": 1218.0001602172852,
+ "y": 4265.250737667084,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bbee6e.03d2419",
+ "type": "for",
+ "name": "foreach DU",
+ "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1233.0001907348633,
+ "y": 4331.25036239624,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "6de5245b.782a6c"
+ ]
+ ]
+ },
+ {
+ "id": "6de5245b.782a6c",
+ "type": "block",
+ "name": "block : process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1511.0001754760742,
+ "y": 4336.250707149506,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "7d317821.61d7c8",
+ "c99a7bb2.d2c4f8",
+ "cb1c80ff.a4959",
+ "c1fc5387.33572"
+ ]
+ ]
+ },
+ {
+ "id": "7d317821.61d7c8",
+ "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-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].idGNBDUFunction'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1790,
+ "y": 4332.250009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c99a7bb2.d2c4f8",
+ "type": "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=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1763,
+ "y": 4383.250009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cb1c80ff.a4959",
+ "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 +'].GNBDUFunction[' + $id-du +'].NRCellDU_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1772,
+ "y": 4442.250364303589,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c1fc5387.33572",
+ "type": "for",
+ "name": "for cellDUList",
+ "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1808.9999771118164,
+ "y": 4521.250267028809,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "e3e4bd80.17ff5"
+ ]
+ ]
+ },
+ {
+ "id": "47b8e29b.68b05c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2765.750087738037,
+ "y": 4646.250267028809,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "ebbfda07.d46a88",
+ "4e279e5c.a4eee",
+ "c71f0415.b873e8",
+ "989b72d8.79a82",
+ "e0591127.1aa78",
+ "838735f7.074d68",
+ "9202a636.ecee78",
+ "ce857891.b48ff8",
+ "c2bbc497.437918",
+ "60877c7e.f704b4",
+ "a0cd0fbb.6491d",
+ "4734669f.9445a8",
+ "b2cb93a7.0ea5b",
+ "5e5d6483.74da7c",
+ "abfcd08f.28a71"
+ ]
+ ]
+ },
+ {
+ "id": "ce857891.b48ff8",
+ "type": "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=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3015.75,
+ "y": 4525.250009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9202a636.ecee78",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3043.75,
+ "y": 4593.250009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "582e6609.faff28",
+ "f772487a.c66838"
+ ]
+ ]
+ },
+ {
+ "id": "582e6609.faff28",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3251.75,
+ "y": 4558.249764919281,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "1f2df361.c3e70d"
+ ]
+ ]
+ },
+ {
+ "id": "f772487a.c66838",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3246.7500495910645,
+ "y": 4627.250333309174,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "160b7724.4df4a9"
+ ]
+ ]
+ },
+ {
+ "id": "1f2df361.c3e70d",
+ "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": 3571.75,
+ "y": 4573.250009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ebbfda07.d46a88",
+ "type": "execute",
+ "name": "read cellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3047.750141143799,
+ "y": 4632.250660896301,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "989b72d8.79a82",
+ "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": 3095.750213623047,
+ "y": 4746.2501912117,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e0591127.1aa78",
+ "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.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3068.7503967285156,
+ "y": 4801.250193119049,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "838735f7.074d68",
+ "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": 3053.750198364258,
+ "y": 4845.500692367554,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4e279e5c.a4eee",
+ "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": 3054.500442504883,
+ "y": 4889.750266551971,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c71f0415.b873e8",
+ "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": 3062.7499465942383,
+ "y": 4978.250371932983,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c2bbc497.437918",
+ "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": 3110.7499465942383,
+ "y": 5017.499982833862,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "f67ae9b2.d91b98",
+ "eda6f1d0.16c07"
+ ]
+ ]
+ },
+ {
+ "id": "eda6f1d0.16c07",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3363.749954223633,
+ "y": 4883.499980926514,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "beedc21.59a444"
+ ]
+ ]
+ },
+ {
+ "id": "f67ae9b2.d91b98",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3390.749954223633,
+ "y": 5014.499982833862,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "b4ac4492.bb7348"
+ ]
+ ]
+ },
+ {
+ "id": "beedc21.59a444",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3527.750343322754,
+ "y": 4857.499980926514,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "3cdb3e0c.c9e822",
+ "6377aba4.4e1d74",
+ "86a7278f.d35238"
+ ]
+ ]
+ },
+ {
+ "id": "b4ac4492.bb7348",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3534.749954223633,
+ "y": 5012.499982833862,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "8e740662.df0ea8"
+ ]
+ ]
+ },
+ {
+ "id": "8e740662.df0ea8",
+ "type": "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": 3706.7495651245117,
+ "y": 4991.500372886658,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3cdb3e0c.c9e822",
+ "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": 3709.749954223633,
+ "y": 4918.499980926514,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "6377aba4.4e1d74",
+ "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": 3708.7499561309814,
+ "y": 4852.499979972839,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "60877c7e.f704b4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2914,
+ "y": 5338.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "2a46ba54.429216",
+ "90363258.58443",
+ "f6d5ea85.89e9c8",
+ "b02dd3ad.ec429",
+ "2d25771d.f89158",
+ "bba6efea.49983",
+ "df68ec93.f7152",
+ "fab35c07.8a393"
+ ]
+ ]
+ },
+ {
+ "id": "2a46ba54.429216",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3137.9999465942383,
+ "y": 5311.499985694885,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "9fe18faa.a0f84",
+ "aa35c14e.99f5f"
+ ]
+ ]
+ },
+ {
+ "id": "9fe18faa.a0f84",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3330.000144958496,
+ "y": 5265.500375747681,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "2423dd23.e54072"
+ ]
+ ]
+ },
+ {
+ "id": "2423dd23.e54072",
+ "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": 3660.0003509521484,
+ "y": 5289.500375747681,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90363258.58443",
+ "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": 3162.9999465942383,
+ "y": 5378.49998664856,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f6d5ea85.89e9c8",
+ "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": 3138.9999465942383,
+ "y": 5435.499987602234,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b02dd3ad.ec429",
+ "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": 3173.9999465942383,
+ "y": 5482.499988555908,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "b57d19e7.548a18",
+ "df0e63b4.de489"
+ ]
+ ]
+ },
+ {
+ "id": "b57d19e7.548a18",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3397.9999504089355,
+ "y": 5468.499987602234,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "37bdbcbc.662a04"
+ ]
+ ]
+ },
+ {
+ "id": "df0e63b4.de489",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3425.999954223633,
+ "y": 5528.499988555908,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "bca5f748.ae09c8"
+ ]
+ ]
+ },
+ {
+ "id": "37bdbcbc.662a04",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3562.000343322754,
+ "y": 5452.49998664856,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "bbf6fe5e.9ebd6",
+ "a3665298.088d4",
+ "86a7278f.d35238"
+ ]
+ ]
+ },
+ {
+ "id": "a3665298.088d4",
+ "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": 3762.000347137451,
+ "y": 5416.49998664856,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "bbf6fe5e.9ebd6",
+ "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": 3778.999954223633,
+ "y": 5452.499988555908,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "bca5f748.ae09c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3589.250343322754,
+ "y": 5518.249988555908,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "c036dd8f.0b775",
+ "6381203e.c0e7e"
+ ]
+ ]
+ },
+ {
+ "id": "c036dd8f.0b775",
+ "type": "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": 3757.500347137451,
+ "y": 5498.249988555908,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6381203e.c0e7e",
+ "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": 3772.0003509521484,
+ "y": 5542.749988555908,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d25771d.f89158",
+ "type": "execute",
+ "name": "read rrmpolicyratio list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 3145.9999465942383,
+ "y": 5538.499988555908,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bba6efea.49983",
+ "type": "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.rrmPolicyRatioDUList_length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3101.9999465942383,
+ "y": 5580.4999895095825,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df68ec93.f7152",
+ "type": "block",
+ "name": "rrmPolicyDedicatedRatio",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3717.000343322754,
+ "y": 5241.499984741211,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "8dff4ba1.356208",
+ "748e1d72.6aec34",
+ "5687c665.3d66c8",
+ "6c58dbcc.0312d4",
+ "cf586feb.3f85f",
+ "9bd25672.099568",
+ "8ce33bb1.456d58",
+ "1b28c419.181bfc",
+ "9835b420.63cae8",
+ "e5710ecc.f30db",
+ "2910c8a9.7f88f8"
+ ]
+ ]
+ },
+ {
+ "id": "5687c665.3d66c8",
+ "type": "set",
+ "name": "Calculate RRM Parms1",
+ "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 4138.989807128906,
+ "y": 4908.822762012482,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "6c58dbcc.0312d4",
+ "type": "set",
+ "name": "Calculate RRM Parms2",
+ "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 4147.531066894531,
+ "y": 4953.842781484127,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "cf586feb.3f85f",
+ "type": "set",
+ "name": "Calculate RRM Parms3",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
+ "comments": "",
+ "x": 4137.531188964844,
+ "y": 5008.8426594138145,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "9bd25672.099568",
+ "type": "set",
+ "name": "Calculate RRM Parms4",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 4137.531066894531,
+ "y": 5059.842659473419,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "8ce33bb1.456d58",
+ "type": "set",
+ "name": "Calculate RRM Parms5",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
+ "comments": "",
+ "x": 4125.531188964844,
+ "y": 5119.842781484127,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "1b28c419.181bfc",
+ "type": "set",
+ "name": "Calculate RRM Parms6",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
+ "comments": "",
+ "x": 4163.531066894531,
+ "y": 5169.842781484127,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "9835b420.63cae8",
+ "type": "set",
+ "name": "Calculate RRM Parms7",
+ "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
+ "comments": "",
+ "x": 4150.531005859375,
+ "y": 5239.843147754669,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "e5710ecc.f30db",
+ "type": "set",
+ "name": "calculation8",
+ "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
+ "comments": "",
+ "x": 4121.531005859375,
+ "y": 5303.842171192169,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "2910c8a9.7f88f8",
+ "type": "set",
+ "name": "calculation9",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
+ "comments": "",
+ "x": 4109.531555175781,
+ "y": 5354.842049121857,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "748e1d72.6aec34",
+ "type": "set",
+ "name": "calculation10",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
+ "comments": "",
+ "x": 4084.9898681640625,
+ "y": 5420.822517871857,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "8dff4ba1.356208",
+ "type": "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": 3910.9997940063477,
+ "y": 5432.943824291229,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fab35c07.8a393",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3131.25,
+ "y": 5622.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "242e0ea7.a01722"
+ ]
+ ]
+ },
+ {
+ "id": "242e0ea7.a01722",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3342.250343322754,
+ "y": 5624.499990463257,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "969e0685.f850b8",
+ "3c6e1a79.f26096",
+ "aa2e708b.e308a",
+ "4203c5c.ffe3e3c",
+ "4215cbad.f74294",
+ "35ec1dcf.6b70f2",
+ "fc856f47.9a3c5",
+ "2a875355.2f2dcc",
+ "5c5f4115.5dccd"
+ ]
+ ]
+ },
+ {
+ "id": "77051153.b9545",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3946.250160217285,
+ "y": 5844.750289440155,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "db6d8510.b1f948"
+ ]
+ ]
+ },
+ {
+ "id": "db6d8510.b1f948",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4138.500228881836,
+ "y": 5858.500289440155,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "fd72482b.782be8"
+ ]
+ ]
+ },
+ {
+ "id": "fd72482b.782be8",
+ "type": "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": 4336.000595092773,
+ "y": 5849.500051021576,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1422c9f5.506f26",
+ "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": 4404.25,
+ "y": 5877.49978017807,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "723db737.6846c8",
+ "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": 4409.2498779296875,
+ "y": 5972.499841213226,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "93bbc5eb.b554a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4164.250244140625,
+ "y": 5926.49978017807,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "723db737.6846c8",
+ "1422c9f5.506f26",
+ "86a7278f.d35238"
+ ]
+ ]
+ },
+ {
+ "id": "d2b03e66.99c87",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3945.25,
+ "y": 5921.49978017807,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "93bbc5eb.b554a8"
+ ]
+ ]
+ },
+ {
+ "id": "86a7278f.d35238",
+ "type": "block",
+ "name": "block : SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4488.734375,
+ "y": 2826.5000116825104,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "da43e71c.cf65c8",
+ "92154f9e.512d4",
+ "ed5ff34a.259f9"
+ ]
+ ]
+ },
+ {
+ "id": "da43e71c.cf65c8",
+ "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": 5150.7353515625,
+ "y": 2618.3996698856354,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "92154f9e.512d4",
+ "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": 5125.734237670898,
+ "y": 2715.5003473758698,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ed5ff34a.259f9",
+ "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-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": 5040.73424911499,
+ "y": 2812.5002253055573,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "94d331d7.9e92",
+ "3ba00a85.1e49e6"
+ ]
+ ]
+ },
+ {
+ "id": "94d331d7.9e92",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5266.734257698059,
+ "y": 2789.500194311142,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "3d0b2b8f.9a9274"
+ ]
+ ]
+ },
+ {
+ "id": "3ba00a85.1e49e6",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5256.734111785889,
+ "y": 2897.500133752823,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "c1c092dd.a63be"
+ ]
+ ]
+ },
+ {
+ "id": "c1c092dd.a63be",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5406.733898162842,
+ "y": 2916.500194787979,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "61da69a2.a9b298"
+ ]
+ ]
+ },
+ {
+ "id": "3d0b2b8f.9a9274",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5417.734127044678,
+ "y": 2784.5003163814545,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "8dd4dce2.b062d"
+ ]
+ ]
+ },
+ {
+ "id": "8dd4dce2.b062d",
+ "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": 5583.733806610107,
+ "y": 2787.500133752823,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "61da69a2.a9b298",
+ "type": "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": 5570.733913421631,
+ "y": 2922.500133752823,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "915904fb.1e3638",
+ "type": "block",
+ "name": "SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 570.734375,
+ "y": 4508.50001168251,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "d0bcc0b9.4a364",
+ "311e3dfa.63a242",
+ "1d68fbdc.ba74c4",
+ "a12bb5.43f8d448"
+ ]
+ ]
+ },
+ {
+ "id": "1d68fbdc.ba74c4",
+ "type": "set",
+ "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": 850.7355194091797,
+ "y": 4358.39949631691,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "d0bcc0b9.4a364",
+ "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": 847.7343521118164,
+ "y": 4512.500194787979,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "311e3dfa.63a242",
+ "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": 716.7344512939453,
+ "y": 4629.499899148941,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "a04c3484.3d25f8",
+ "e61fe0ee.b5224"
+ ]
+ ]
+ },
+ {
+ "id": "a04c3484.3d25f8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 881.7344512939453,
+ "y": 4609.499898195267,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "a7e6cc2a.eb0c7"
+ ]
+ ]
+ },
+ {
+ "id": "e61fe0ee.b5224",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 873.7343444824219,
+ "y": 4682.499848604202,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "54b00c26.7346a4"
+ ]
+ ]
+ },
+ {
+ "id": "54b00c26.7346a4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1019.734188079834,
+ "y": 4687.499957323074,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "8e01ee3a.8ad23"
+ ]
+ ]
+ },
+ {
+ "id": "a7e6cc2a.eb0c7",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1030.7343521118164,
+ "y": 4605.50003361702,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "34eb0190.4684fe",
+ "5482e5dd.7c2b8c"
+ ]
+ ]
+ },
+ {
+ "id": "34eb0190.4684fe",
+ "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": 1177.7339706420898,
+ "y": 4616.49977517128,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "8e01ee3a.8ad23",
+ "type": "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": 1180.7341079711914,
+ "y": 4693.499849557877,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5482e5dd.7c2b8c",
+ "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": 1165.2445793151855,
+ "y": 4520.489266633987,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "a12bb5.43f8d448",
+ "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": 870.073974609375,
+ "y": 4448.485348939896,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6b24565.3c8fe8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2272.25,
+ "y": 1823.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "656dc107.984c"
+ ]
+ ]
+ },
+ {
+ "id": "656dc107.984c",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2465.239658355713,
+ "y": 1823.5001311302185,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "8012518.b5bfdb",
+ "f91ea328.ebc47"
+ ]
+ ]
+ },
+ {
+ "id": "8012518.b5bfdb",
+ "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": 2772.239845275879,
+ "y": 1790.500232219696,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f91ea328.ebc47",
+ "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": 2716.240245819092,
+ "y": 1843.5004258155823,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df53585c.b9fa48",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2699.75,
+ "y": 1207.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "225894d1.8370fc",
+ "95590d66.9470f"
+ ]
+ ]
+ },
+ {
+ "id": "95590d66.9470f",
+ "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": 2950.750431060791,
+ "y": 1230.500141620636,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "225894d1.8370fc",
+ "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": 3006.750030517578,
+ "y": 1177.4999480247498,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "de96ded3.4fa2f",
+ "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": 2777.250015258789,
+ "y": 2872.50035238266,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4d3c0364.97325c",
+ "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": 2851.249725341797,
+ "y": 2821.5001063346863,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a99c6274.c44fa",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2531.2496795654297,
+ "y": 2859.5000977516174,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "4d3c0364.97325c",
+ "de96ded3.4fa2f"
+ ]
+ ]
+ },
+ {
+ "id": "50c98569.82627c",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2042.2499809265137,
+ "y": 3303.499955177307,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "351d6399.5cd30c",
+ "a5e99380.d4a59"
+ ]
+ ]
+ },
+ {
+ "id": "351d6399.5cd30c",
+ "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": 2309.249984741211,
+ "y": 3236.499954223633,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a5e99380.d4a59",
+ "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": 2283.2501792907715,
+ "y": 3275.500150680542,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2250a766.25eda8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1833.7499771118164,
+ "y": 3309.4999561309814,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "50c98569.82627c"
+ ]
+ ]
+ },
+ {
+ "id": "160b7724.4df4a9",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3441.75,
+ "y": 4642.500009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "264ce025.0807b",
+ "2b5b3237.0e1efe"
+ ]
+ ]
+ },
+ {
+ "id": "264ce025.0807b",
+ "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": 3748.750030517578,
+ "y": 4612.49994802475,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2b5b3237.0e1efe",
+ "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": 3692.750431060791,
+ "y": 4665.500141620636,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aa35c14e.99f5f",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3332.4999504089355,
+ "y": 5332.499984741211,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "b1405a60.ac92a8"
+ ]
+ ]
+ },
+ {
+ "id": "b1405a60.ac92a8",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3493.500343322754,
+ "y": 5388.74959564209,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "dd2a8f8c.e107d",
+ "e03fb918.ca7628"
+ ]
+ ]
+ },
+ {
+ "id": "dd2a8f8c.e107d",
+ "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": 3743.5003509521484,
+ "y": 5332.7495946884155,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e03fb918.ca7628",
+ "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": 3734.500343322754,
+ "y": 5373.74998664856,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8f101564.7b6a68",
+ "type": "comment",
+ "name": "terminateRANSliceInstance/instantiateRANSliceModifyDeallocate-CPS",
+ "info": "",
+ "comments": "",
+ "x": 794.5000286102295,
+ "y": 97.750009059906,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "1265ccfb.824893",
+ "type": "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-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": 413.7500305175781,
+ "y": 75,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e3604cfc.48576",
+ "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": 438.7498092651367,
+ "y": 119.00001907348633,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "848d52eb.8cc75",
+ "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": 527.749813079834,
+ "y": 189.98953437805176,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7d478635.d81058",
+ "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": 566.7497634887695,
+ "y": 225.99991035461426,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d1a91050.f5c7d",
+ "type": "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": 587.7497634887695,
+ "y": 262.75000858306885,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a90ef80c.176158",
+ "type": "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": 629.4935874938965,
+ "y": 1104.743522644043,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "907603d2.1339e",
+ "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-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2081.7776947021484,
+ "y": 604.9721903800964,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bf15866.078ce78",
+ "type": "for",
+ "name": "for each rrmpolicyMember",
+ "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.NRCellCURRMPolicyMembersLength`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2550.749767303467,
+ "y": 2318.583155155182,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "f5cb88dc.a371c8"
+ ]
+ ]
+ },
+ {
+ "id": "f5cb88dc.a371c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2780.416763305664,
+ "y": 2318.694287776947,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "4de91968.5984d8",
+ "ee7af470.070a48",
+ "c0ee8345.b60eb",
+ "3e40d822.6b3008",
+ "9c0cb6c5.a91938"
+ ]
+ ]
+ },
+ {
+ "id": "4de91968.5984d8",
+ "type": "switchNode",
+ "name": "if length > 0 ",
+ "xml": "<switch test='`$tmp.NRCellCURRMPolicyMembersLength > 0`'>\n\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2919.583595275879,
+ "y": 2231.833092212677,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "fd3be88a.350e78",
+ "32af5c3a.596024"
+ ]
+ ]
+ },
+ {
+ "id": "fd3be88a.350e78",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3071.250068664551,
+ "y": 2206.3885741233826,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "72da6984.9ea608"
+ ]
+ ]
+ },
+ {
+ "id": "72da6984.9ea608",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3237.9164695739746,
+ "y": 2207.3889498710632,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "ae18d644.440868"
+ ]
+ ]
+ },
+ {
+ "id": "ae18d644.440868",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3085.694351196289,
+ "y": 2086.277685403824,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "90dc7898.ac75a8",
+ "17d96053.23ca3"
+ ]
+ ]
+ },
+ {
+ "id": "90dc7898.ac75a8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3329.028091430664,
+ "y": 2102.1663641929626,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "344ab0a7.26b28"
+ ]
+ ]
+ },
+ {
+ "id": "17d96053.23ca3",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3319.8716011047363,
+ "y": 2142.6106476783752,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "efb17bc0.abe2d8"
+ ]
+ ]
+ },
+ {
+ "id": "344ab0a7.26b28",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3510.4165115356445,
+ "y": 2103.499964237213,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "7114d556.6dd30c"
+ ]
+ ]
+ },
+ {
+ "id": "efb17bc0.abe2d8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3501.527587890625,
+ "y": 2145.722002506256,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "b651f452.31d918",
+ "9838b8bf.63bba8"
+ ]
+ ]
+ },
+ {
+ "id": "7114d556.6dd30c",
+ "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": 3795.694221496582,
+ "y": 2100.7222418785095,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b651f452.31d918",
+ "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": 3806.8054809570312,
+ "y": 2144.055603504181,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9838b8bf.63bba8",
+ "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": 3731.2497024536133,
+ "y": 2179.6110854148865,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "32af5c3a.596024",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3074.861053466797,
+ "y": 2260.7221236228943,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "717697b8.50d648"
+ ]
+ ]
+ },
+ {
+ "id": "717697b8.50d648",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3260.5281372070312,
+ "y": 2249.0554423332214,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "2f0c683.4f69298",
+ "e61d872b.51c228"
+ ]
+ ]
+ },
+ {
+ "id": "2f0c683.4f69298",
+ "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": 3552.917106628418,
+ "y": 2212.944755077362,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "e61d872b.51c228",
+ "type": "switchNode",
+ "name": "find matching RRMPolicyMember",
+ "xml": "<switch test='`$tmp.RRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3551.8055419921875,
+ "y": 2252.9442496299744,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "3accf9bd.08c7b6"
+ ]
+ ]
+ },
+ {
+ "id": "3accf9bd.08c7b6",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3782.638885498047,
+ "y": 2257.3886275291443,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "d5d89612.3d3528"
+ ]
+ ]
+ },
+ {
+ "id": "d5d89612.3d3528",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4006.249725341797,
+ "y": 2254.0553755760193,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "ff448220.a1efe",
+ "c7b7fd29.c8df2",
+ "55af628d.5f572c"
+ ]
+ ]
+ },
+ {
+ "id": "ff448220.a1efe",
+ "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": 4271.916458129883,
+ "y": 2221.8332619667053,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "ac3b1d0d.a1fd7",
+ "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": 4801.360374450684,
+ "y": 2314.0554614067078,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7b7fd29.c8df2",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4229.138465881348,
+ "y": 2317.3889269828796,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "d4cdc97e.ad6b88",
+ "12532403.3fe08c"
+ ]
+ ]
+ },
+ {
+ "id": "d4cdc97e.ad6b88",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4472.472526550293,
+ "y": 2316.610950946808,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "ac3b1d0d.a1fd7"
+ ]
+ ]
+ },
+ {
+ "id": "12532403.3fe08c",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4463.315940856934,
+ "y": 2368.1663451194763,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "cddecda9.2e57e"
+ ]
+ ]
+ },
+ {
+ "id": "c51a2207.443e4",
+ "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": 4930.527503967285,
+ "y": 2359.6113867759705,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dcbaf818.0a7008",
+ "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": 4850.5272216796875,
+ "y": 2418.4998030662537,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cddecda9.2e57e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4630.249794006348,
+ "y": 2365.7221789360046,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "c51a2207.443e4",
+ "dcbaf818.0a7008"
+ ]
+ ]
+ },
+ {
+ "id": "f69925d0.0398b8",
+ "type": "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": 2499.8609352111816,
+ "y": 2374.889148235321,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "672cacb9.6f85d4",
+ "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": 2594.6387329101562,
+ "y": 2416.8889651298523,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "d8d77892.ec9ac8",
+ "89c3213e.72fa2"
+ ]
+ ]
+ },
+ {
+ "id": "d8d77892.ec9ac8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2880.3888359069824,
+ "y": 2462.638934612274,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "c9fcfcec.44f11"
+ ]
+ ]
+ },
+ {
+ "id": "c9fcfcec.44f11",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3083.8888931274414,
+ "y": 2465.1389355659485,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "889c6b33.e73368"
+ ]
+ ]
+ },
+ {
+ "id": "889c6b33.e73368",
+ "type": "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": 3311.3886528015137,
+ "y": 2372.3891472816467,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8493398c.628a48",
+ "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": 3324.638641357422,
+ "y": 2415.3888716697693,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "8d0bbd02.7cc77",
+ "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": 3329.6385192871094,
+ "y": 2510.3889327049255,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "9a36c927.c25bb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3080.889320373535,
+ "y": 2516.888967037201,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "8d0bbd02.7cc77",
+ "8493398c.628a48",
+ "86a7278f.d35238"
+ ]
+ ]
+ },
+ {
+ "id": "89c3213e.72fa2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2875.6388359069824,
+ "y": 2501.888967037201,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "9a36c927.c25bb8"
+ ]
+ ]
+ },
+ {
+ "id": "55af628d.5f572c",
+ "type": "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": 4223.576385498047,
+ "y": 2269.7152876853943,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8c2f38a0.f9fb28",
+ "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": 2289.138946533203,
+ "y": 1363.9028587341309,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ee7af470.070a48",
+ "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": 3037.3265075683594,
+ "y": 2310.9653487205505,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c0ee8345.b60eb",
+ "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": 3009.826446533203,
+ "y": 2344.2153191566467,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3e40d822.6b3008",
+ "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": 3033.264389038086,
+ "y": 2378.777850627899,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9c0cb6c5.a91938",
+ "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": 3040.763946533203,
+ "y": 2414.527820110321,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c6edfac9.7c9c58",
+ "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-cps-response.['+ $idy +'].gNBCUCPList['+ $idz +'].nFType'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2292.013946533203,
+ "y": 1128.5903549194336,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1b88da83.b7eeb5",
+ "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 <parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].attributes.pLMNInfoList['+ $id-plmn +'].sNSSAIList['+ $id-snssai +'].sNssai'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1566.13916015625,
+ "y": 2653.7226514816284,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "81a294ba.0e11e8",
+ "type": "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": 1420.1390838623047,
+ "y": 2703.722749710083,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "54d6339e.a38aec",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI1 == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1427.0282440185547,
+ "y": 2747.277633666992,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "276143e5.03bb8c",
+ "e635ef1e.b8037"
+ ]
+ ]
+ },
+ {
+ "id": "276143e5.03bb8c",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1600.2500228881836,
+ "y": 2701.5004844665527,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "55957445.1f742c"
+ ]
+ ]
+ },
+ {
+ "id": "93bc35c0.833c98",
+ "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": 1962.2499771118164,
+ "y": 2852.500340461731,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "153e8344.b21fcd",
+ "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": 1967.7501678466797,
+ "y": 2888.000535964966,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ecd0711.911899",
+ "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": 1956.3891372680664,
+ "y": 2923.15288066864,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "66f45efa.a8ba4",
+ "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": 1969.0001678466797,
+ "y": 2961.5003414154053,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "f731369c.1f2078",
+ "1dc9bdec.d9f382"
+ ]
+ ]
+ },
+ {
+ "id": "410cf853.2a1e78",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2391.9165382385254,
+ "y": 3703.8339462280273,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "559e943e.90a8ac"
+ ]
+ ]
+ },
+ {
+ "id": "f82bb9bf.adee38",
+ "type": "for",
+ "name": "for each rrmpolicyMember",
+ "xml": "<for index='idcu-rrm2' start='0' end='`$tmp.CUUPRRMPolicyMembersLength`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2084.2222442626953,
+ "y": 3640.2777919769287,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "28c3a324.a0b91c"
+ ]
+ ]
+ },
+ {
+ "id": "28c3a324.a0b91c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2309.888900756836,
+ "y": 3530.3890705108643,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "93158c88.68e73",
+ "25c33e22.4b4582",
+ "f0f0f73c.3cc7a8",
+ "74150b42.d93ce4",
+ "814d0d47.dc151"
+ ]
+ ]
+ },
+ {
+ "id": "93158c88.68e73",
+ "type": "switchNode",
+ "name": "if length > 0 ",
+ "xml": "<switch test='`$tmp.CUUPRRMPolicyMembersLength > 0`'>\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2448.055892944336,
+ "y": 3431.527892589569,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "3c9ad90f.5cbbe6",
+ "f8de9f4d.8a2f5"
+ ]
+ ]
+ },
+ {
+ "id": "3c9ad90f.5cbbe6",
+ "type": "success",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2596.722499847412,
+ "y": 3386.08296918869,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "a746dc11.ec75c"
+ ]
+ ]
+ },
+ {
+ "id": "a746dc11.ec75c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2756.3888511657715,
+ "y": 3443.083552837372,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "b3dc5050.4c54c",
+ "80534116.ca9af"
+ ]
+ ]
+ },
+ {
+ "id": "b3dc5050.4c54c",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2804.1669311523438,
+ "y": 3258.972421169281,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "692c82fc.02dd2c",
+ "173fc19c.87bcde"
+ ]
+ ]
+ },
+ {
+ "id": "692c82fc.02dd2c",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2847.500473022461,
+ "y": 3337.8609671592712,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "855ba5f7.0c5788"
+ ]
+ ]
+ },
+ {
+ "id": "173fc19c.87bcde",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2838.343982696533,
+ "y": 3378.305250644684,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "5fb3e19c.4fe5e"
+ ]
+ ]
+ },
+ {
+ "id": "855ba5f7.0c5788",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3028.8888931274414,
+ "y": 3339.1945672035217,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "c29b3e94.917ca",
+ "230243f4.b1d3ac",
+ "c9ed0d14.ac512"
+ ]
+ ]
+ },
+ {
+ "id": "5fb3e19c.4fe5e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3019.999969482422,
+ "y": 3381.4166054725647,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "5d773c44.2fc9b4",
+ "3680afb.372cb5"
+ ]
+ ]
+ },
+ {
+ "id": "230243f4.b1d3ac",
+ "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": 3350.1665000915527,
+ "y": 3238.417146205902,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5d773c44.2fc9b4",
+ "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": 3325.277862548828,
+ "y": 3379.7502064704895,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3680afb.372cb5",
+ "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": 3249.72208404541,
+ "y": 3415.305688381195,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f8de9f4d.8a2f5",
+ "type": "failure",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2596.3336296081543,
+ "y": 3476.416955471039,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "372f6399.fbe82c"
+ ]
+ ]
+ },
+ {
+ "id": "372f6399.fbe82c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2779.000518798828,
+ "y": 3484.75004529953,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "c826720f.e7abe",
+ "b943ca8c.dc0588",
+ "8437179b.8ec7a8"
+ ]
+ ]
+ },
+ {
+ "id": "c826720f.e7abe",
+ "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": 3075.3894958496094,
+ "y": 3482.6396107673645,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "b943ca8c.dc0588",
+ "type": "switchNode",
+ "name": "find matching RRMPolicyMember",
+ "xml": "<switch test='`$tmp.CUUPRRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3070.2777786254883,
+ "y": 3525.639220714569,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "e2627326.2d84"
+ ]
+ ]
+ },
+ {
+ "id": "e2627326.2d84",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3301.1112670898438,
+ "y": 3493.083230495453,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "fbaa4d41.1c083"
+ ]
+ ]
+ },
+ {
+ "id": "fbaa4d41.1c083",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3524.7221069335938,
+ "y": 3489.749978542328,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "1362be16.41b692",
+ "ac4e8854.da6348",
+ "649ff35.3b4d30c"
+ ]
+ ]
+ },
+ {
+ "id": "1362be16.41b692",
+ "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": 3790.3888397216797,
+ "y": 3457.527864933014,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "649ff35.3b4d30c",
+ "type": "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": 3742.0487670898438,
+ "y": 3505.409890651703,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ac4e8854.da6348",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3747.6108474731445,
+ "y": 3553.0835299491882,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "b9c47227.ccdc6",
+ "39bb9059.2905f"
+ ]
+ ]
+ },
+ {
+ "id": "b9c47227.ccdc6",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3990.94490814209,
+ "y": 3552.3055539131165,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "3e74737c.d92dec"
+ ]
+ ]
+ },
+ {
+ "id": "39bb9059.2905f",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3981.7883224487305,
+ "y": 3603.860948085785,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "2c126c58.8f06c4"
+ ]
+ ]
+ },
+ {
+ "id": "3e74737c.d92dec",
+ "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": 4319.8327560424805,
+ "y": 3549.7500643730164,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2c126c58.8f06c4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4148.7221755981445,
+ "y": 3601.4167819023132,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "7e5e82d8.f2cb0c",
+ "4b252233.88a5dc"
+ ]
+ ]
+ },
+ {
+ "id": "7e5e82d8.f2cb0c",
+ "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": 4448.999885559082,
+ "y": 3595.305989742279,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4b252233.88a5dc",
+ "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": 4368.999603271484,
+ "y": 3654.1944060325623,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "25c33e22.4b4582",
+ "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": 2542.5001373291016,
+ "y": 3548.7503504753113,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f0f0f73c.3cc7a8",
+ "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": 2531.4380264282227,
+ "y": 3581.5628509521484,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "74150b42.d93ce4",
+ "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": 2541.9376373291016,
+ "y": 3618.3128519058228,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "58c36fb8.f4dfe",
+ "type": "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": 2030.0343551635742,
+ "y": 3684.6742782592773,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dc7ec7e1.74ebf8",
+ "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.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": 2106.812286376953,
+ "y": 3730.673496246338,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "410cf853.2a1e78",
+ "7ed88f17.7c3a3"
+ ]
+ ]
+ },
+ {
+ "id": "9bc85a3f.4f97b8",
+ "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-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList_length'`\" />\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 2158.437728881836,
+ "y": 4253.3754596710205,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "390b889.487c978",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2201.7713165283203,
+ "y": 4370.375461578369,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "2f1d5905.26edc6"
+ ]
+ ]
+ },
+ {
+ "id": "4d74a9ab.0a99b8",
+ "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-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList['+ $id-duplmn +'].sNSSAIList['+ $id-dusnssai +'].sNssai'`\" />\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 2823.29891204834,
+ "y": 4368.6254596710205,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "52a23239.3966bc",
+ "type": "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": 2743.0487670898438,
+ "y": 4410.625070571899,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9db8a2d.1060f6",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2741.1876335144043,
+ "y": 4466.930540084839,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "74941460.666fcc"
+ ]
+ ]
+ },
+ {
+ "id": "74941460.666fcc",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2894.659900665283,
+ "y": 4470.402805328369,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "47b8e29b.68b05c"
+ ]
+ ]
+ },
+ {
+ "id": "a0cd0fbb.6491d",
+ "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": 3070.1875,
+ "y": 4938.062509059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "969e0685.f850b8",
+ "type": "for",
+ "name": "for each rrmpolicyMember",
+ "xml": "<for index='iddu-rrm2' start='0' end='`$tmp.DURRMPolicyMembersLength`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3661.4722213745117,
+ "y": 5703.965518951416,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "1809465d.9c9f8a"
+ ]
+ ]
+ },
+ {
+ "id": "1809465d.9c9f8a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3879.1390228271484,
+ "y": 5703.076847076416,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "339f697a.dd3e66",
+ "6499a345.d7027c",
+ "420a8b96.8ef064",
+ "d37ffbec.0600c8",
+ "d3868686.13f658"
+ ]
+ ]
+ },
+ {
+ "id": "339f697a.dd3e66",
+ "type": "switchNode",
+ "name": "if length > 0 ",
+ "xml": "<switch test='`$tmp.DURRMPolicyMembersLength > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4036.056137084961,
+ "y": 5617.71537733078,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "a71ed519.6ac118",
+ "3b7bdbc1.3a8654"
+ ]
+ ]
+ },
+ {
+ "id": "a71ed519.6ac118",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4178.972393035889,
+ "y": 5575.770593166351,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "cca6f31.8a6801"
+ ]
+ ]
+ },
+ {
+ "id": "cca6f31.8a6801",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4345.6388511657715,
+ "y": 5575.771052837372,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "c1bc64d5.0f59b8"
+ ]
+ ]
+ },
+ {
+ "id": "c1bc64d5.0f59b8",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4193.416732788086,
+ "y": 5454.659788370132,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "c319e81d.1bf0f8",
+ "2450544e.c7636c"
+ ]
+ ]
+ },
+ {
+ "id": "c319e81d.1bf0f8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4436.750473022461,
+ "y": 5470.548467159271,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "8f0c66d0.fc45e8"
+ ]
+ ]
+ },
+ {
+ "id": "2450544e.c7636c",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4427.593982696533,
+ "y": 5510.992750644684,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "9663ef07.c3e0f"
+ ]
+ ]
+ },
+ {
+ "id": "8f0c66d0.fc45e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4618.138893127441,
+ "y": 5471.882067203522,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "39c65f25.faaa"
+ ]
+ ]
+ },
+ {
+ "id": "39c65f25.faaa",
+ "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": 4903.416603088379,
+ "y": 5469.104344844818,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "58ed9fdc.f70ce",
+ "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": 4914.527862548828,
+ "y": 5512.4377064704895,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4d235858.c42ce8",
+ "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": 4838.97208404541,
+ "y": 5547.993188381195,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9663ef07.c3e0f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4609.249969482422,
+ "y": 5514.104105472565,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "58ed9fdc.f70ce",
+ "4d235858.c42ce8"
+ ]
+ ]
+ },
+ {
+ "id": "3b7bdbc1.3a8654",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4182.6875,
+ "y": 5647.437509059906,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "3d7dab21.8e1514"
+ ]
+ ]
+ },
+ {
+ "id": "3d7dab21.8e1514",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4368.354583740234,
+ "y": 5635.770827770233,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "e6e6b5c1.daa598",
+ "84c2fa8.a66d308"
+ ]
+ ]
+ },
+ {
+ "id": "e6e6b5c1.daa598",
+ "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": 4661.993957519531,
+ "y": 5594.6605677604675,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "84c2fa8.a66d308",
+ "type": "switchNode",
+ "name": "find matching RRMPolicyMember",
+ "xml": "<switch test='`$tmp.cellDURRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4659.631988525391,
+ "y": 5639.659635066986,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "e2debe19.05c79"
+ ]
+ ]
+ },
+ {
+ "id": "e2debe19.05c79",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4890.46533203125,
+ "y": 5644.104012966156,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "71840f36.bc53e"
+ ]
+ ]
+ },
+ {
+ "id": "71840f36.bc53e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 5114.076171875,
+ "y": 5640.770761013031,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "bc75a65e.a247d8",
+ "fbf33cbb.f7dd5",
+ "1a7f21b0.035cfe"
+ ]
+ ]
+ },
+ {
+ "id": "bc75a65e.a247d8",
+ "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": 5379.742904663086,
+ "y": 5608.548647403717,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "1a7f21b0.035cfe",
+ "type": "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": 5331.40283203125,
+ "y": 5656.430673122406,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fbf33cbb.f7dd5",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5336.964912414551,
+ "y": 5704.104312419891,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "744f772c.11e608",
+ "ffc5c4e0.f3cb98"
+ ]
+ ]
+ },
+ {
+ "id": "744f772c.11e608",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5580.298973083496,
+ "y": 5703.32633638382,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "d89b50a6.4ab1d"
+ ]
+ ]
+ },
+ {
+ "id": "ffc5c4e0.f3cb98",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5571.142387390137,
+ "y": 5754.881730556488,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "267d3403.20ea7c"
+ ]
+ ]
+ },
+ {
+ "id": "d89b50a6.4ab1d",
+ "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": 5909.186820983887,
+ "y": 5700.7708468437195,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "267d3403.20ea7c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 5738.076240539551,
+ "y": 5752.437564373016,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "2a7f1faa.0789c",
+ "ec7b11c1.05fdb"
+ ]
+ ]
+ },
+ {
+ "id": "2a7f1faa.0789c",
+ "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": 6038.353950500488,
+ "y": 5746.326772212982,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ec7b11c1.05fdb",
+ "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": 5958.353668212891,
+ "y": 5805.215188503265,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6499a345.d7027c",
+ "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": 4211.750144958496,
+ "y": 5689.938275337219,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "420a8b96.8ef064",
+ "type": "execute",
+ "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": 4184.25008392334,
+ "y": 5723.188245773315,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d37ffbec.0600c8",
+ "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": 4207.688026428223,
+ "y": 5757.750777244568,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d3868686.13f658",
+ "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": 4215.18758392334,
+ "y": 5793.50074672699,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3c6e1a79.f26096",
+ "type": "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": 3578.035189628601,
+ "y": 5786.36283826828,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aa2e708b.e308a",
+ "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": 3665.312454223633,
+ "y": 5852.612397193909,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "77051153.b9545",
+ "d2b03e66.99c87"
+ ]
+ ]
+ },
+ {
+ "id": "c456d34.fe5423",
+ "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": 220.0833339691162,
+ "y": 1723.5833735466003,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "b7895624.0ca7f8",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-ric' start='0' end='`$tmp.RICPLMNEntries`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 987.0000991821289,
+ "y": 798.5000524520874,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "76e6f7a.3ca4d08"
+ ]
+ ]
+ },
+ {
+ "id": "76e6f7a.3ca4d08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1168.2500686645508,
+ "y": 780.5000038146973,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "94c9e791.10cd98",
+ "564ce9e2.d06238"
+ ]
+ ]
+ },
+ {
+ "id": "49b437f3.5cf978",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.ric.sNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1366.2500915527344,
+ "y": 811.7500858306885,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "3976d7ae.f2c0a8",
+ "5cd1fb3d.1481e4"
+ ]
+ ]
+ },
+ {
+ "id": "e22a1b59.fe9f38",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1590.5002670288086,
+ "y": 722.5000829696655,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "fb9fe418.9a17b8",
+ "34883ae0.e4eea6",
+ "2978a6c1.06fe2a",
+ "989e4f58.38bde",
+ "1659b31f.61c47d",
+ "1404947f.e16acc",
+ "54425eac.eaaf6"
+ ]
+ ]
+ },
+ {
+ "id": "15ff5f7d.ac4ce1",
+ "type": "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": 958.25,
+ "y": 724.2500057220459,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fb9fe418.9a17b8",
+ "type": "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": 1728.454689025879,
+ "y": 919.2728900909424,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3976d7ae.f2c0a8",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1517.0000762939453,
+ "y": 767.750057220459,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "e22a1b59.fe9f38"
+ ]
+ ]
+ },
+ {
+ "id": "5cd1fb3d.1481e4",
+ "type": "failure",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1519.7499923706055,
+ "y": 829.2499876022339,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "3bb606bc.e67bca"
+ ]
+ ]
+ },
+ {
+ "id": "3bb606bc.e67bca",
+ "type": "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 doesn't exist \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1505.7499961853027,
+ "y": 890.2500371932983,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64f89e65.0ab4b",
+ "type": "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": 2503.399990081787,
+ "y": 548.4500017166138,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1e47fe7b.f65f02",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.pLMNInfoList_length > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2106.5999298095703,
+ "y": 808.0501098632812,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "41fbb677.47daa8",
+ "fa6f994b.ad8d78"
+ ]
+ ]
+ },
+ {
+ "id": "41fbb677.47daa8",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2194.5998573303223,
+ "y": 696.0500302314758,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "6c8d3861.194578"
+ ]
+ ]
+ },
+ {
+ "id": "fa6f994b.ad8d78",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2213.599884033203,
+ "y": 747.0500526428223,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "db983423.8e86a8"
+ ]
+ ]
+ },
+ {
+ "id": "a6a0663a.c18978",
+ "type": "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": 2388.400375366211,
+ "y": 825.8501315116882,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6c8d3861.194578",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2364.599937438965,
+ "y": 688.2500796318054,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "64f89e65.0ab4b",
+ "a4271c85.b4e31"
+ ]
+ ]
+ },
+ {
+ "id": "db983423.8e86a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2349.600051879883,
+ "y": 736.2500548362732,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "a6a0663a.c18978"
+ ]
+ ]
+ },
+ {
+ "id": "eb2cc8b8.8811b8",
+ "type": "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-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList_length'`\"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2059.599868774414,
+ "y": 658.7501215934753,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ab1a1337.b2d58",
+ "type": "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": 1132.8000411987305,
+ "y": 2256.149984359741,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3b2efef6.f4db92",
+ "type": "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": 2506.999984741211,
+ "y": 2280.7499408721924,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6917fdf2.dd9844",
+ "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": 2557.000129699707,
+ "y": 2167.949939727783,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6f0d087a.f937e8",
+ "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": 2501.400131225586,
+ "y": 2125.9499378204346,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "33960a6b.e663d6",
+ "type": "set",
+ "name": "set mcc & mnc Variables",
+ "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmn.mcc`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmn.mnc`'/>",
+ "comments": "",
+ "x": 664.9545745849609,
+ "y": 1065.2954750061035,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "94c9e791.10cd98",
+ "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-cps-response.['+ $idy +'].attributes.pLMNInfoList['+$id-ric+'].sNSSAIList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1287.0001678466797,
+ "y": 689.5000343322754,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "564ce9e2.d06238",
+ "type": "for",
+ "name": "foreach sNSSAI",
+ "xml": "<for index='id-ric-snssai' start='0' end='`$tmp.ric.sNSSAILength`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1346.0001678466797,
+ "y": 721.5000343322754,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "536ee724.83a118"
+ ]
+ ]
+ },
+ {
+ "id": "536ee724.83a118",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1557.000072479248,
+ "y": 633.5000333786011,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "1a0e5e3f.3e9692",
+ "49b437f3.5cf978",
+ "3d27856c.95527a"
+ ]
+ ]
+ },
+ {
+ "id": "1a0e5e3f.3e9692",
+ "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-cps-response.['+ $idy +'].attributes.pLMNInfoList['+$id-ric+'].sNSSAIList['+$id-ric-snssai+'].sNssai'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1749.0001678466797,
+ "y": 529.5000505447388,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2978a6c1.06fe2a",
+ "type": "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": 1735.7501068115234,
+ "y": 684.5000114440918,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "989e4f58.38bde",
+ "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-cps-response.['+ $idy +'].attributes.pLMNInfoList['+$id-ric+'].sNSSAIList['+$id-ric-snssai+'].sNssai'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1763.25,
+ "y": 731.2500839233398,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fe57d7c.f7b2f28",
+ "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": 2047.0002517700195,
+ "y": 3550.449959754944,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2b1fd179.9e31fe",
+ "type": "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": 2032.0001754760742,
+ "y": 3598.4500579833984,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9fc7c5b.0387d38",
+ "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": 2035.799934387207,
+ "y": 3509.4499588012695,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "814d0d47.dc151",
+ "type": "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": 2479.0001335144043,
+ "y": 3513.149959564209,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c29b3e94.917ca",
+ "type": "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": 3194.199996948242,
+ "y": 3185.550105571747,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c9ed0d14.ac512",
+ "type": "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": 3227.199951171875,
+ "y": 3298.550057888031,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "80534116.ca9af",
+ "type": "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": 2767.60009765625,
+ "y": 3208.350106716156,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8437179b.8ec7a8",
+ "type": "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": 2983.00004196167,
+ "y": 3436.3501563072205,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6a11af4f.d7015",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2144.4000282287598,
+ "y": 3062.450050354004,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "b98f7b7f.c5d088"
+ ]
+ ]
+ },
+ {
+ "id": "6c216737.b275e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2171.4000244140625,
+ "y": 3140.450051307678,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "c9008e39.94f08"
+ ]
+ ]
+ },
+ {
+ "id": "b98f7b7f.c5d088",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2339.400032043457,
+ "y": 3055.450050354004,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "415cbbf8.9d4124",
+ "86fa30e7.dfbfa"
+ ]
+ ]
+ },
+ {
+ "id": "c9008e39.94f08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2345.400032043457,
+ "y": 3133.450050354004,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "3c49989a.5061b8"
+ ]
+ ]
+ },
+ {
+ "id": "3c49989a.5061b8",
+ "type": "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": 2524.4000358581543,
+ "y": 3152.450051307678,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "86fa30e7.dfbfa",
+ "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": 2570.6000366210938,
+ "y": 3079.450050354004,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "415cbbf8.9d4124",
+ "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": 2571.6000366210938,
+ "y": 3041.4500494003296,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "6ccb5957.6e97a8",
+ "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-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].attributes.pLMNInfoList['+ $id-plmn +'].sNSSAIList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1292.9999923706055,
+ "y": 2322.849843978882,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3a6bc5d.5ee993a",
+ "type": "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": 1290.0000686645508,
+ "y": 2376.050039291382,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b7a0d3b1.e2614",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-snssai' start='0' end='`$tmp.sNssaiListLength`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1478.0000915527344,
+ "y": 2537.6504344940186,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "9f941657.84b308"
+ ]
+ ]
+ },
+ {
+ "id": "9f941657.84b308",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1224.0000915527344,
+ "y": 2622.650484085083,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "1b88da83.b7eeb5",
+ "81a294ba.0e11e8",
+ "54d6339e.a38aec"
+ ]
+ ]
+ },
+ {
+ "id": "8a2c4744.a700e8",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.sNssaiListLength > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1225.9999923706055,
+ "y": 2466.450433731079,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "a4c55d63.5547b",
+ "22c42819.378698"
+ ]
+ ]
+ },
+ {
+ "id": "a4c55d63.5547b",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1399.9999961853027,
+ "y": 2412.6500415802,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "99b88c3f.d9bc"
+ ]
+ ]
+ },
+ {
+ "id": "22c42819.378698",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1394.799997329712,
+ "y": 2481.849846839905,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "d70198d9.23c128"
+ ]
+ ]
+ },
+ {
+ "id": "99b88c3f.d9bc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1497.9999980926514,
+ "y": 2343.2500400543213,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "b7a0d3b1.e2614",
+ "3cefb342.1f4b8c"
+ ]
+ ]
+ },
+ {
+ "id": "d70198d9.23c128",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1540.0000953674316,
+ "y": 2483.25004196167,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "4b40780c.a75688"
+ ]
+ ]
+ },
+ {
+ "id": "4b40780c.a75688",
+ "type": "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": 1617.599998474121,
+ "y": 2428.4500427246094,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3cefb342.1f4b8c",
+ "type": "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": 1645.400074005127,
+ "y": 2322.450038909912,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "55957445.1f742c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1774.2000274658203,
+ "y": 2699.6502895355225,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "de0fc599.a60458",
+ "a7cd0e67.196b7",
+ "93bc35c0.833c98",
+ "153e8344.b21fcd",
+ "ecd0711.911899",
+ "66f45efa.a8ba4",
+ "1a9722f0.c4a64d",
+ "8fd00b15.09c6f8",
+ "191dc287.aec87d",
+ "f0b44ecd.02e3e"
+ ]
+ ]
+ },
+ {
+ "id": "e635ef1e.b8037",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1592,
+ "y": 2753.050045967102,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "49f10bf5.59a174"
+ ]
+ ]
+ },
+ {
+ "id": "49f10bf5.59a174",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1742,
+ "y": 2752.0500450134277,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "24898117.75da8e"
+ ]
+ ]
+ },
+ {
+ "id": "24898117.75da8e",
+ "type": "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": 1735.0000038146973,
+ "y": 2818.0500450134277,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1a9722f0.c4a64d",
+ "type": "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": 1945.0000267028809,
+ "y": 2662.0500926971436,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6b827803.541a98",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2309.60009765625,
+ "y": 3910.649908065796,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "deb8a1a6.1a997"
+ ]
+ ]
+ },
+ {
+ "id": "67c67695.b83e18",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2316.600128173828,
+ "y": 3982.8501625061035,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "80446c8f.34c37"
+ ]
+ ]
+ },
+ {
+ "id": "deb8a1a6.1a997",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2478.60009765625,
+ "y": 3909.649908065796,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "1c2d1634.30322a",
+ "db339ac4.beef58"
+ ]
+ ]
+ },
+ {
+ "id": "db339ac4.beef58",
+ "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": 2667.6001358032227,
+ "y": 3912.649965286255,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "1c2d1634.30322a",
+ "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": 2658.60009765625,
+ "y": 3862.6499071121216,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "80446c8f.34c37",
+ "type": "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": 2559.60009765625,
+ "y": 3994.649908065796,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e3e4bd80.17ff5",
+ "type": "block",
+ "name": "block : gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1977.1999778747559,
+ "y": 4328.450265884399,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "9bc85a3f.4f97b8",
+ "390b889.487c978",
+ "654f9275.7690ac",
+ "6d164dd8.0d2cd4"
+ ]
+ ]
+ },
+ {
+ "id": "654f9275.7690ac",
+ "type": "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": 2096.2000312805176,
+ "y": 4199.450067520142,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6d164dd8.0d2cd4",
+ "type": "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": 2161.2000312805176,
+ "y": 4326.45006942749,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4734669f.9445a8",
+ "type": "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": 3052.39990234375,
+ "y": 4692.450201034546,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4203c5c.ffe3e3c",
+ "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": 3575.199951171875,
+ "y": 5566.449892044067,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90a911a7.ea2cc",
+ "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": 3944.2503509521484,
+ "y": 5558.000379562378,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "4215cbad.f74294",
+ "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": 3637.999954223633,
+ "y": 5607.449892044067,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "35ec1dcf.6b70f2",
+ "type": "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": 3665.7999572753906,
+ "y": 5655.050283432007,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9cbbdff1.2db93",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3277.399871826172,
+ "y": 5148.649852752686,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "aa918963.569728"
+ ]
+ ]
+ },
+ {
+ "id": "87aacf63.99c86",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3284.39990234375,
+ "y": 5220.850107192993,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "9767745b.f63dd8"
+ ]
+ ]
+ },
+ {
+ "id": "aa918963.569728",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3446.399871826172,
+ "y": 5147.649852752686,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "5d865a21.032204",
+ "e727a194.52baa"
+ ]
+ ]
+ },
+ {
+ "id": "e727a194.52baa",
+ "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": 3635.3999099731445,
+ "y": 5150.6499099731445,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "5d865a21.032204",
+ "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": 3626.399871826172,
+ "y": 5100.649851799011,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "9767745b.f63dd8",
+ "type": "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": 3507.4001502990723,
+ "y": 5206.65018081665,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f4950f8e.2c2cb",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3806.800151824951,
+ "y": 6069.850191116333,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "a883fe7f.66d31"
+ ]
+ ]
+ },
+ {
+ "id": "639111e1.a2174",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3819.800151824951,
+ "y": 6118.0505838394165,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "4ec1c50c.57dc9c"
+ ]
+ ]
+ },
+ {
+ "id": "a883fe7f.66d31",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3967.8001556396484,
+ "y": 6076.850191116333,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4ec1c50c.57dc9c",
+ "type": "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": 3976.8001556396484,
+ "y": 6118.850193023682,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bb5d6dd6.83647",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2797.599956512451,
+ "y": 2617.85010433197,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "82ee16f0.061ff8"
+ ]
+ ]
+ },
+ {
+ "id": "4e7786b8.1d6608",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2810.599956512451,
+ "y": 2666.0504970550537,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "cc04d001.6e479"
+ ]
+ ]
+ },
+ {
+ "id": "82ee16f0.061ff8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2958.5999603271484,
+ "y": 2624.85010433197,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cc04d001.6e479",
+ "type": "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": 2967.5999603271484,
+ "y": 2666.850106239319,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1c04f0a6.c01d1f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2450.2000465393066,
+ "y": 1566.249981880188,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "1647b2cc.a29dcd"
+ ]
+ ]
+ },
+ {
+ "id": "6f9f097f.cee4a8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2477.2000427246094,
+ "y": 1644.2499828338623,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "dc9d954a.ad8688"
+ ]
+ ]
+ },
+ {
+ "id": "1647b2cc.a29dcd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2645.200050354004,
+ "y": 1559.249981880188,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "c1fa60a0.4a4f",
+ "6ccc6a9b.564634"
+ ]
+ ]
+ },
+ {
+ "id": "dc9d954a.ad8688",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2651.200050354004,
+ "y": 1637.249981880188,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "fd30666f.d718f8"
+ ]
+ ]
+ },
+ {
+ "id": "fd30666f.d718f8",
+ "type": "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": 2836.2000427246094,
+ "y": 1648.250072479248,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6ccc6a9b.564634",
+ "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": 2875.4002380371094,
+ "y": 1589.250072479248,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "c1fa60a0.4a4f",
+ "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": 2877.4000549316406,
+ "y": 1545.2499809265137,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "2f1d5905.26edc6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2323.3999366760254,
+ "y": 4142.250065803528,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "511b3d8.e8e85c4",
+ "2233c411.5c43bc",
+ "7f3c5d5b.f93c74"
+ ]
+ ]
+ },
+ {
+ "id": "511b3d8.e8e85c4",
+ "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-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList['+ $id-duplmn +'].sNSSAIList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2574.14990234375,
+ "y": 4074.5996124744415,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2233c411.5c43bc",
+ "type": "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": 2571.1500358581543,
+ "y": 4124.800065994263,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eb0d8d98.74c5f",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-dusnssai' start='0' end='`$tmp.sNssaiListLengthDU`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2759.150001525879,
+ "y": 4289.400202989578,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "398d85e2.2dc40a"
+ ]
+ ]
+ },
+ {
+ "id": "398d85e2.2dc40a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2505.150001525879,
+ "y": 4374.400252580643,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "4d74a9ab.0a99b8",
+ "52a23239.3966bc",
+ "9db8a2d.1060f6"
+ ]
+ ]
+ },
+ {
+ "id": "7f3c5d5b.f93c74",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.sNssaiListLengthDU > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2507.14990234375,
+ "y": 4218.200202226639,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "98689bbe.1a57e8",
+ "aec9e093.8be21"
+ ]
+ ]
+ },
+ {
+ "id": "98689bbe.1a57e8",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2681.1499061584473,
+ "y": 4164.39981007576,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "78873c9c.d43254"
+ ]
+ ]
+ },
+ {
+ "id": "aec9e093.8be21",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2675.9499073028564,
+ "y": 4233.5996153354645,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "dd3f9417.0506a8"
+ ]
+ ]
+ },
+ {
+ "id": "78873c9c.d43254",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2779.149908065796,
+ "y": 4094.999808549881,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "eb0d8d98.74c5f",
+ "954a8eb7.63db1"
+ ]
+ ]
+ },
+ {
+ "id": "dd3f9417.0506a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2821.150005340576,
+ "y": 4234.99981045723,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "1309ef6e.4f2021"
+ ]
+ ]
+ },
+ {
+ "id": "1309ef6e.4f2021",
+ "type": "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": 2898.7499084472656,
+ "y": 4180.199811220169,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "954a8eb7.63db1",
+ "type": "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": 2926.5499839782715,
+ "y": 4074.199807405472,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6bd0302.f586ad",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2605.199951171875,
+ "y": 452.6499996185303,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "aa44c473.bbbba8",
+ "1197617b.cc494f",
+ "47d51a79.b061b4"
+ ]
+ ]
+ },
+ {
+ "id": "aa44c473.bbbba8",
+ "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-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList['+ $id-cuplmn +'].sNSSAIList_length'`\" />\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 2855.9499168395996,
+ "y": 384.99954628944397,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1197617b.cc494f",
+ "type": "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": 2852.950050354004,
+ "y": 435.19999980926514,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6a3e5da4.710c24",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-cusnssai' start='0' end='`$tmp.sNssaiListLengthCU`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3084.9500427246094,
+ "y": 596.8000812530518,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "b95f77aa.edfc98"
+ ]
+ ]
+ },
+ {
+ "id": "47d51a79.b061b4",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.sNssaiListLengthCU > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2788.9499168395996,
+ "y": 528.6001360416412,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "ee0b4387.d21a3",
+ "98516663.868528"
+ ]
+ ]
+ },
+ {
+ "id": "ee0b4387.d21a3",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2962.949920654297,
+ "y": 474.79974389076233,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "673cb023.6620e"
+ ]
+ ]
+ },
+ {
+ "id": "98516663.868528",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2958.7500915527344,
+ "y": 524.9995670318604,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "11fa41de.1dd61e"
+ ]
+ ]
+ },
+ {
+ "id": "673cb023.6620e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3060.9499225616455,
+ "y": 405.3997423648834,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "6a3e5da4.710c24",
+ "4429e363.cc313c"
+ ]
+ ]
+ },
+ {
+ "id": "11fa41de.1dd61e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3130.950241088867,
+ "y": 531.3997688293457,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "47352264.a09ccc"
+ ]
+ ]
+ },
+ {
+ "id": "47352264.a09ccc",
+ "type": "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": 3302.5498542785645,
+ "y": 527.5997200012207,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4429e363.cc313c",
+ "type": "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": 3208.349998474121,
+ "y": 384.59974122047424,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2ecc0183.03bf1e",
+ "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": 502.0000534057617,
+ "y": 156.75000762939453,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "b11099b8.398bb8",
+ "dc47b287.5a833"
+ ]
+ ]
+ },
+ {
+ "id": "b11099b8.398bb8",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 811.9999885559082,
+ "y": 139.75000762939453,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "9ed8fded.20c86"
+ ]
+ ]
+ },
+ {
+ "id": "dc47b287.5a833",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 830.0000381469727,
+ "y": 192.7500343322754,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "9a8f6761.93b8b8"
+ ]
+ ]
+ },
+ {
+ "id": "b4c0abb3.7aab88",
+ "type": "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": 1182.80082321167,
+ "y": 176.55010604858398,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9ed8fded.20c86",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 979.0000877380371,
+ "y": 138.9500560760498,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "7c60a0f0.f2104",
+ "801a0715.f6d848"
+ ]
+ ]
+ },
+ {
+ "id": "9a8f6761.93b8b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 993.0001983642578,
+ "y": 189.95000743865967,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "b4c0abb3.7aab88",
+ "83b16463.dd6eb8"
+ ]
+ ]
+ },
+ {
+ "id": "7c60a0f0.f2104",
+ "type": "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": 1173.7998962402344,
+ "y": 91.7500114440918,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "97b942e3.1632f",
+ "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": 3266.800048828125,
+ "y": 197.75000762939453,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "611b8716.230608",
+ "type": "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": 3285.549945831299,
+ "y": 242.25000762939453,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "744a4706.5da928",
+ "type": "switchNode",
+ "name": "check action",
+ "xml": "<switch test='`$tmp.action`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3286.300247192383,
+ "y": 129.0000057220459,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "395e0258.e633ee",
+ "59bc6ee5.be7ec"
+ ]
+ ]
+ },
+ {
+ "id": "395e0258.e633ee",
+ "type": "success",
+ "name": "deallocate",
+ "xml": "<outcome value='deallocate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3473.300048828125,
+ "y": 139.75003147125244,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "9d02eabc.3fe868"
+ ]
+ ]
+ },
+ {
+ "id": "126e64bf.e1a05b",
+ "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": 3884.3002548217773,
+ "y": 213.75000858306885,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "59bc6ee5.be7ec",
+ "type": "failure",
+ "name": "modify-deallocate",
+ "xml": "<outcome value='modify-deallocate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3468.300048828125,
+ "y": 237.75000762939453,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "352b15f4.9cbada"
+ ]
+ ]
+ },
+ {
+ "id": "995091a5.6c2b7",
+ "type": "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": 3845.5500526428223,
+ "y": 167.75000762939453,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9d02eabc.3fe868",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3645.550048828125,
+ "y": 139.75000762939453,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "995091a5.6c2b7",
+ "e62c2bc5.167978"
+ ]
+ ]
+ },
+ {
+ "id": "e62c2bc5.167978",
+ "type": "set",
+ "name": "read sNSSAI from input",
+ "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\"/>",
+ "comments": "",
+ "x": 3847.5500564575195,
+ "y": 118.75000667572021,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "2aefaaa4.57bd36",
+ "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": 3305.050048828125,
+ "y": 82.2500057220459,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "352b15f4.9cbada",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3662.100051879883,
+ "y": 234.25000762939453,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "126e64bf.e1a05b",
+ "b1bb195d.4d98a8"
+ ]
+ ]
+ },
+ {
+ "id": "b1bb195d.4d98a8",
+ "type": "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": 3904.10005569458,
+ "y": 282.25000953674316,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "96220425.ce73c8",
+ "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": 2698.199951171875,
+ "y": 169.2500057220459,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "b9da093c.cc3548"
+ ]
+ ]
+ },
+ {
+ "id": "b9da093c.cc3548",
+ "type": "other",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2899.4497604370117,
+ "y": 158.5000057220459,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "bdba449.3ba15b8"
+ ]
+ ]
+ },
+ {
+ "id": "bdba449.3ba15b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3065.4498596191406,
+ "y": 152.5000057220459,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "2aefaaa4.57bd36",
+ "744a4706.5da928",
+ "97b942e3.1632f",
+ "611b8716.230608"
+ ]
+ ]
+ },
+ {
+ "id": "83b16463.dd6eb8",
+ "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": 1238.2002639770508,
+ "y": 214.25000762939453,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "4b228987.44f8e8"
+ ]
+ ]
+ },
+ {
+ "id": "4b228987.44f8e8",
+ "type": "other",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1489.2001686096191,
+ "y": 201.25000762939453,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "86f6aa9d.434f98"
+ ]
+ ]
+ },
+ {
+ "id": "86f6aa9d.434f98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1705.200050354004,
+ "y": 213.25000953674316,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "f94e0a69.3b5168",
+ "e3e3f738.d2ec58",
+ "4d60a6b0.4d4c78",
+ "47c1ddd3.3df444",
+ "b8bd1677.bb8f78",
+ "b721916b.7b937",
+ "2d81f5e.c8e490a"
+ ]
+ ]
+ },
+ {
+ "id": "f94e0a69.3b5168",
+ "type": "set",
+ "name": "read action from input",
+ "xml": "<set>\n<parameter name='tmp.action' value=\"`$instantiate-r-a-n-slice-input.action`\"/>",
+ "comments": "",
+ "x": 1982.2000045776367,
+ "y": 299.2500286102295,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "e3e3f738.d2ec58",
+ "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.2000045776367,
+ "y": 371.25000381469727,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4d60a6b0.4d4c78",
+ "type": "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": 1919.949806213379,
+ "y": 407.7500057220459,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "47c1ddd3.3df444",
+ "type": "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": 1909.4000778198242,
+ "y": 527.7500133514404,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "801a0715.f6d848",
+ "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": 1286.7999954223633,
+ "y": 134.25000762939453,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "699a595d.1a2648"
+ ]
+ ]
+ },
+ {
+ "id": "699a595d.1a2648",
+ "type": "other",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1594.8000259399414,
+ "y": 108.25000381469727,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "fa90dc26.275c8"
+ ]
+ ]
+ },
+ {
+ "id": "fa90dc26.275c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1765.8000259399414,
+ "y": 109.25000476837158,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "6c5171ff.4b29",
+ "73992bcb.3e01a4",
+ "f74473d1.2107c",
+ "ba05dce8.ccc4f",
+ "3902ad7c.866bb2",
+ "f8fbb1ee.d5667",
+ "58909a66.4f93d4"
+ ]
+ ]
+ },
+ {
+ "id": "6c5171ff.4b29",
+ "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": 1986.8000030517578,
+ "y": 60,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "73992bcb.3e01a4",
+ "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": 1967.8000030517578,
+ "y": 130.25000762939453,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f74473d1.2107c",
+ "type": "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": 1972.8000030517578,
+ "y": 161.25000762939453,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3902ad7c.866bb2",
+ "type": "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": 1960.7999801635742,
+ "y": 266.25000858306885,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ba05dce8.ccc4f",
+ "type": "set",
+ "name": "read sNSSAI from input",
+ "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\"/>",
+ "comments": "",
+ "x": 2021.7999801635742,
+ "y": 195.25000762939453,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "b8bd1677.bb8f78",
+ "type": "set",
+ "name": "read sNSSAI from input sliceprofile",
+ "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>",
+ "comments": "",
+ "x": 1986.400001525879,
+ "y": 446.2500057220459,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "b721916b.7b937",
+ "type": "set",
+ "name": "read SpId from input sliceprofile",
+ "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
+ "comments": "",
+ "x": 2001.800048828125,
+ "y": 483.2500057220459,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "f8fbb1ee.d5667",
+ "type": "set",
+ "name": "read SpId from input ",
+ "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfileId`\"/>",
+ "comments": "",
+ "x": 2043.7999801635742,
+ "y": 231.25000858306885,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "e9a10f4d.0c6f2",
+ "type": "execute",
+ "name": "Get list of anchors from CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-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": 762.1999816894531,
+ "y": 345.2500343322754,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "dbeea395.8c3ca",
+ "25820e30.75f5b2"
+ ]
+ ]
+ },
+ {
+ "id": "dbeea395.8c3ca",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1042.2000617980957,
+ "y": 286.9722023010254,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "c2981c7a.2705d"
+ ]
+ ]
+ },
+ {
+ "id": "25820e30.75f5b2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1014.2557640075684,
+ "y": 369.80552864074707,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "246e6d87.c3aa62"
+ ]
+ ]
+ },
+ {
+ "id": "c2981c7a.2705d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1199.9501647949219,
+ "y": 285.97229957580566,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "93f1aeea.7b671",
+ "f8310a8.4ba15f8"
+ ]
+ ]
+ },
+ {
+ "id": "246e6d87.c3aa62",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1189.700065612793,
+ "y": 370.4722270965576,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "e535eca5.6fb25",
+ "9107d9cf.f639d8"
+ ]
+ ]
+ },
+ {
+ "id": "93f1aeea.7b671",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1379.6997756958008,
+ "y": 312.5833110809326,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "e535eca5.6fb25",
+ "type": "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 anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1391.4497756958008,
+ "y": 362.22227668762207,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9107d9cf.f639d8",
+ "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-modifyallocate-cps-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1426.2279968261719,
+ "y": 417.47227668762207,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd297572.69cac8",
+ "type": "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=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 753.8945693969727,
+ "y": 305.7222261428833,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f8310a8.4ba15f8",
+ "type": "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=\"Failed to fetch anchors from CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1367.3945999145508,
+ "y": 267.7222261428833,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f553ee6f.fe81e",
+ "type": "execute",
+ "name": "getAnchors URL",
+ "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 778.1445159912109,
+ "y": 268.472225189209,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c0761ee.a3bd7e",
+ "type": "execute",
+ "name": "set anchors size",
+ "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 688.048957824707,
+ "y": 386.07101917266846,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "58a0dd44.8fbbf4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 689.9377136230469,
+ "y": 532.4042720794678,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "e487cff1.9ecc",
+ "bcc6f080.57b92"
+ ]
+ ]
+ },
+ {
+ "id": "8dbf3bb2.a39b78",
+ "type": "execute",
+ "name": "read anchorName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1561.4934310913086,
+ "y": 515.1822023391724,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7634ff46.e0b13",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 586.2340087890625,
+ "y": 470.1820659637451,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "3e6eb38c.8ba68c"
+ ]
+ ]
+ },
+ {
+ "id": "3e6eb38c.8ba68c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 775.1228790283203,
+ "y": 467.95981216430664,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "3f777cef.1ab084",
+ "baa1c777.b56f58"
+ ]
+ ]
+ },
+ {
+ "id": "3f777cef.1ab084",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 986.2711334228516,
+ "y": 463.95988750457764,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "8b5bca1d.8f0ab8"
+ ]
+ ]
+ },
+ {
+ "id": "baa1c777.b56f58",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 975.0488662719727,
+ "y": 419.95986223220825,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8b5bca1d.8f0ab8",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1211.8266067504883,
+ "y": 457.1821041107178,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "14243a4c.a83bb6"
+ ]
+ ]
+ },
+ {
+ "id": "14243a4c.a83bb6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1391.9624481201172,
+ "y": 464.4042720794678,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "e0df91d1.f1017",
+ "2a4f7390.ffd38c"
+ ]
+ ]
+ },
+ {
+ "id": "1c135f07.bdae71",
+ "type": "execute",
+ "name": "initialize earRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 694.2463684082031,
+ "y": 421.73762130737305,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e0df91d1.f1017",
+ "type": "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=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1607.542625427246,
+ "y": 469.0710201263428,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bcc6f080.57b92",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 929.3204040527344,
+ "y": 548.0833263397217,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "6e154725.a06508"
+ ]
+ ]
+ },
+ {
+ "id": "e487cff1.9ecc",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 927.0981674194336,
+ "y": 508.0832996368408,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6e154725.a06508",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1166.875991821289,
+ "y": 528.305591583252,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "9733103b.ac886"
+ ]
+ ]
+ },
+ {
+ "id": "9733103b.ac886",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1353.011833190918,
+ "y": 515.5277590751648,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "8dbf3bb2.a39b78",
+ "61eecf4e.08f1a"
+ ]
+ ]
+ },
+ {
+ "id": "75690319.28e85c",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 477,
+ "y": 535.2500057220459,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "58a0dd44.8fbbf4"
+ ]
+ ]
+ },
+ {
+ "id": "2a4f7390.ffd38c",
+ "type": "execute",
+ "name": "set nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 1623.6000442504883,
+ "y": 428.2500228881836,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "566f0c13.3c36f4",
+ "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.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.anchor.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 675,
+ "y": 619.0000076293945,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "defb0345.d78a8",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getNearRTRICByNSSI.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nearrtric-by-rannfnssi`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 629.0000534057617,
+ "y": 657.0000095367432,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9ee9b02d.5d0c5",
+ "type": "record",
+ "name": "record TBDMT 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 CPS TDBMT to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByNSSI.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 640.0000076293945,
+ "y": 694.0000095367432,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f4ad0d69.8a8f4",
+ "type": "execute",
+ "name": "Get nearRTRIC for RANNFNSSIId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-rannfnssi.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-cps-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": 655.9999618530273,
+ "y": 731.0000104904175,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "24fc36ac.2cc9aa",
+ "e42b439f.4e3a6"
+ ]
+ ]
+ },
+ {
+ "id": "58909a66.4f93d4",
+ "type": "set",
+ "name": "read rannfnssiid from input",
+ "xml": "<set>\n<parameter name='tmp.payload.RANNFNSSIId' value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
+ "comments": "",
+ "x": 2003.6000061035156,
+ "y": 96,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "2d81f5e.c8e490a",
+ "type": "set",
+ "name": "read rannfnssiid from input",
+ "xml": "<set>\n<parameter name='tmp.payload.RANNFNSSIId' value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
+ "comments": "",
+ "x": 1983.6000061035156,
+ "y": 336.00000381469727,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "2ab20b2.c4662f4",
+ "type": "execute",
+ "name": "generate plmnid URL cps",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 668.0000076293945,
+ "y": 768.4000225067139,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3c8d387a.bf8218",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.getmcc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 679.0000076293945,
+ "y": 803.0000228881836,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5002dadc.f9b734",
+ "type": "record",
+ "name": "record TBDMT 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 CPS TDBMT to Get plmnid from sliceprofile\"/>\n<parameter name='field2' value=\"`$tmp.cps.getPLMNID.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 689.0000076293945,
+ "y": 837.200023651123,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "23c0289f.7c38a8",
+ "type": "execute",
+ "name": "Get PLMNMCCID from sliceprofileID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getplmnmccid-cps-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": 722,
+ "y": 874.2000122070312,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "e277d055.4e27",
+ "f7b00508.eded38"
+ ]
+ ]
+ },
+ {
+ "id": "f7b00508.eded38",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 928,
+ "y": 929.4000244140625,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "5e221115.468af"
+ ]
+ ]
+ },
+ {
+ "id": "5e221115.468af",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1085,
+ "y": 930.4000244140625,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "96cdea7f.288788",
+ "b546918c.604f7",
+ "63add92d.fca458"
+ ]
+ ]
+ },
+ {
+ "id": "96cdea7f.288788",
+ "type": "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 MCC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$getplmnmccid-cps-response.httpResponse`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1234.00004196167,
+ "y": 913.4000005722046,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e277d055.4e27",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 949,
+ "y": 870.4000244140625,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "7c238c11.b6f524"
+ ]
+ ]
+ },
+ {
+ "id": "7c238c11.b6f524",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1081,
+ "y": 874.4000244140625,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "5ea6bd82.86b724"
+ ]
+ ]
+ },
+ {
+ "id": "5ea6bd82.86b724",
+ "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": 1212,
+ "y": 876.4000244140625,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "727ee4a2.8509dc",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getPLMNMNCID.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNMNCID.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-plmnmncid-from-sliceprofile`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 656.8000106811523,
+ "y": 937.0000381469727,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "91b52d7b.490f2",
+ "type": "record",
+ "name": "record TBDMT 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 CPS TDBMT to Get plmnid from sliceprofile\"/>\n<parameter name='field2' value=\"`$tmp.cps.getPLMNMNCID.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 664.8000106811523,
+ "y": 971.2000379562378,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4d9d7d5d.5fed04",
+ "type": "execute",
+ "name": "Get PLMNMNCID from sliceprofileID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNMNCID.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getplmnmncid-cps-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": 693.8000106811523,
+ "y": 1008.2000026702881,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "ddb46764.c46498",
+ "8ea5bea5.8c5b4"
+ ]
+ ]
+ },
+ {
+ "id": "8ea5bea5.8c5b4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 931.8000335693359,
+ "y": 1072.6000385284424,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "228441c4.5742be"
+ ]
+ ]
+ },
+ {
+ "id": "228441c4.5742be",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1087.8000411987305,
+ "y": 1071.6000385284424,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "4d611dc3.340854",
+ "2c8c89f5.a2c7e6",
+ "a44275d7.21c2a8"
+ ]
+ ]
+ },
+ {
+ "id": "4d611dc3.340854",
+ "type": "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 plmnmnc info from Cps\"/>\n<parameter name=\"field2\" value=\"`$getplmnid-cps-response`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1255.7999439239502,
+ "y": 1075.6001377105713,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ddb46764.c46498",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 953.7999877929688,
+ "y": 1005.5999755859375,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "fd86b8da.a98d88"
+ ]
+ ]
+ },
+ {
+ "id": "fd86b8da.a98d88",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1085.7999877929688,
+ "y": 1009.5999755859375,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "33177827.1857f8"
+ ]
+ ]
+ },
+ {
+ "id": "33177827.1857f8",
+ "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": 1219.7999420166016,
+ "y": 1026.6000022888184,
+ "z": "ef6618ab.e71c28",
+ "wires": []
+ },
+ {
+ "id": "405b1b1e.551e24",
+ "type": "execute",
+ "name": "generate plmnid URL cps",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNMNCID.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 664,
+ "y": 906.4000244140625,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b546918c.604f7",
+ "type": "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=\"plmn mcc value\"/>\n<parameter name=\"field2\" value=\"`$tmp.plmn.mcc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1241.00004196167,
+ "y": 986.2000017166138,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "63add92d.fca458",
+ "type": "execute",
+ "name": "read nearRTRICId-PLMN",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mcc' />\n\t<parameter name='source' value=\"`'getplmnmccid-cps-response.[0]'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1307.6001358032227,
+ "y": 949.6000003814697,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2c8c89f5.a2c7e6",
+ "type": "execute",
+ "name": "read nearRTRICId-PLMN",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mnc' />\n\t<parameter name='source' value=\"`'getplmnmncid-cps-response.[0]'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1315.4000396728516,
+ "y": 1122.4000644683838,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a44275d7.21c2a8",
+ "type": "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=\"plmn mnc value\"/>\n<parameter name=\"field2\" value=\"`$tmp.plmn.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1281.4000244140625,
+ "y": 1159.800048828125,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3d27856c.95527a",
+ "type": "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 from cps response\"/>\n<parameter name=\"field2\" value=\"`$tmp.ric.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1765.199951171875,
+ "y": 581.4000244140625,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1659b31f.61c47d",
+ "type": "execute",
+ "name": "generate delete nssai from rtric url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.rtric.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1812.6000518798828,
+ "y": 814.4000110626221,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1404947f.e16acc",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.deletenssai.rtric.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.rtric.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-nssai-from-rtric`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1774.599998474121,
+ "y": 857.4000358581543,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "54425eac.eaaf6",
+ "type": "execute",
+ "name": "delete snssai from nearrtic",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.deletenssai.rtric.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/delete-nearrtic-nssai.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps--nearrtic-nssai-delete-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": 1566.4000244140625,
+ "y": 1020.2000122070312,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "2b4e3189.9b8a2e",
+ "b2a1da52.7c9308"
+ ]
+ ]
+ },
+ {
+ "id": "e661d74c.681978",
+ "type": "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=\"`nearrtric length`\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-cps-response._length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 666.9999847412109,
+ "y": 1159.599967956543,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "514dd6f.6906628",
+ "type": "execute",
+ "name": "generate delete nssai from cucp url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.cellcu.plmn.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2227.39990234375,
+ "y": 1516.800048828125,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c52bf64c.f7efa8",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.deletenssai.cellcu.plmn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.cellcu.plmn.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-nssai-from-cucp-plmninfo`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2189.3998489379883,
+ "y": 1559.8000736236572,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9ce076ba.219ae8",
+ "type": "execute",
+ "name": "delete snssai from cucp plmninfo",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.deletenssai.cellcu.plmn.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/delete-cucp-plmn-nssai.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-cucp-plmninfo-nssai-delete-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": 2199,
+ "y": 1609.4000244140625,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "1c04f0a6.c01d1f",
+ "6f9f097f.cee4a8"
+ ]
+ ]
+ },
+ {
+ "id": "930a549f.867938",
+ "type": "execute",
+ "name": "generate delete nssai from cucp url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.cellcu.rrmpolicy.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2513.39990234375,
+ "y": 2533.199951171875,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a5776646.7b9808",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.deletenssai.cellcu.rrmpolicy.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.cellcu.rrmpolicy.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-nssai-from-cucp-rrmpolicy`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2475.3998489379883,
+ "y": 2576.199975967407,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "51a270d0.6d0f9",
+ "type": "execute",
+ "name": "delete snssai from cucp rrm",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.deletenssai.cellcu.rrmpolicy.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/delete-cucp-rrmpolicy-nssai.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-cucp-rrmpolicy-nssai-delete-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": 2485,
+ "y": 2625.7999267578125,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "bb5d6dd6.83647",
+ "4e7786b8.1d6608"
+ ]
+ ]
+ },
+ {
+ "id": "191dc287.aec87d",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.deletenssai.cuup.plmn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.cuup.plmn.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-nssai-from-cuup-plmninfo`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1935,
+ "y": 3078.199951171875,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8fd00b15.09c6f8",
+ "type": "execute",
+ "name": "generate delete nssai from cuup url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.cuup.plmn.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1971.0000305175781,
+ "y": 3023.200044631958,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f0b44ecd.02e3e",
+ "type": "execute",
+ "name": "delete snssai from cuup plmninfo",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.deletenssai.cuup.plmn.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/delete-cuup-plmn-nssai.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-cuup-plmninfo-nssai-delete-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1944.6001510620117,
+ "y": 3127.7999019622803,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "6a11af4f.d7015",
+ "6c216737.b275e8"
+ ]
+ ]
+ },
+ {
+ "id": "b9a6e18d.cb90d",
+ "type": "execute",
+ "name": "generate delete nssai from cucp url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.cuup.rrmpolicy.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2044.5999755859375,
+ "y": 3885.39990234375,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8988f981.ab5bc8",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.deletenssai.cuup.rrmpolicy.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.cuup.rrmpolicy.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-nssai-from-cuup-rrmpolicy`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2006.5999221801758,
+ "y": 3928.399927139282,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "50e238c2.478fb8",
+ "type": "execute",
+ "name": "delete snssai from cucp rrm",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.deletenssai.cuup.rrmpolicy.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/delete-cuup-rrm-nssai.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-cuup-rrm-nssai-delete-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": 2016.2000732421875,
+ "y": 3977.9998779296875,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "6b827803.541a98",
+ "67c67695.b83e18"
+ ]
+ ]
+ },
+ {
+ "id": "b2cb93a7.0ea5b",
+ "type": "execute",
+ "name": "generate delete nssai from celldu url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.celldu.plmn.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3077,
+ "y": 5087.39990234375,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5e5d6483.74da7c",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.deletenssai.celldu.plmn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.celldu.plmn.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-nssai-from-du-plmninfo`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3038.9999465942383,
+ "y": 5130.399927139282,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "abfcd08f.28a71",
+ "type": "execute",
+ "name": "delete snssai from du plmninfo",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.deletenssai.celldu.plmn.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/delete-celldu-plmn-nssai.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-du-plmninfo-nssai-delete-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": 3048.60009765625,
+ "y": 5179.9998779296875,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "9cbbdff1.2db93",
+ "87aacf63.99c86"
+ ]
+ ]
+ },
+ {
+ "id": "fc856f47.9a3c5",
+ "type": "execute",
+ "name": "generate delete nssai from du url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.du.rrmpolicy.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3559,
+ "y": 6012.60009765625,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2a875355.2f2dcc",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.deletenssai.du.rrmpolicy.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.du.rrmpolicy.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-nssai-from-du-rrmpolicy`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3520.9999465942383,
+ "y": 6055.600122451782,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5c5f4115.5dccd",
+ "type": "execute",
+ "name": "delete snssai from du rrm",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.deletenssai.du.rrmpolicy.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/delete-celldu-rrm-nssai.json '`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-du-rrm-nssai-delete-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": 3530.60009765625,
+ "y": 6105.2000732421875,
+ "z": "ef6618ab.e71c28",
+ "wires": [
+ [
+ "f4950f8e.2c2cb",
+ "639111e1.a2174"
+ ]
+ ]
+ }
+] \ No newline at end of file