diff options
author | KAPIL SINGAL <ks220y@att.com> | 2021-10-07 00:16:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-10-07 00:16:14 +0000 |
commit | 32c3b1f4cbc16caaf948023305c911cb7464f4a3 (patch) | |
tree | d02d5e9d8df29756341cdd29b4b9ba78cb5405b2 /platform-logic | |
parent | ae45670f883392b7bf31be8825db83bba8930574 (diff) | |
parent | 51a2008ba207f614e303f8aa0d14757313f8c86b (diff) |
Merge "Terminate Flow CPS-SDNR integration bug fix"
Diffstat (limited to 'platform-logic')
5 files changed, 4562 insertions, 3687 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 index 59579803..0d41fede 100644 --- 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 @@ -1,20 +1,20 @@ [ { - "id": "2fc302d6.82e3ae", + "id": "a593fc4d.99e26", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 123, - "y": 110.2500057220459, - "z": "ef6618ab.e71c28", + "x": 159, + "y": 83, + "z": "4362d1ff.2aa3f", "wires": [ [ - "27a281ce.e8554e" + "2a64a19a.019a4e" ] ] }, { - "id": "27a281ce.e8554e", + "id": "2a64a19a.019a4e", "type": "service-logic", "name": "ran-slice-api ${project.version}", "module": "ran-slice-api", @@ -22,9351 +22,10012 @@ "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", + "x": 214.0000228881836, + "y": 169.99996852874756, + "z": "4362d1ff.2aa3f", "wires": [ [ - "8d07770b.40d8d8" + "1c0320.d6166ce" ] ] }, { - "id": "8d07770b.40d8d8", + "id": "1c0320.d6166ce", "type": "method", "name": "method", "xml": "<method rpc='terminateRANSliceInstance-cps' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 112, - "y": 257.24993991851807, - "z": "ef6618ab.e71c28", + "x": 148, + "y": 229.99993419647217, + "z": "4362d1ff.2aa3f", "wires": [ [ - "4a5cabc2.a7b434" + "b244bf30.c5cc5" ] ] }, { - "id": "4a5cabc2.a7b434", + "id": "b244bf30.c5cc5", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 117.99999237060547, - "y": 351.9999704360962, - "z": "ef6618ab.e71c28", + "x": 153.99999237060547, + "y": 324.7499647140503, + "z": "4362d1ff.2aa3f", "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" + "825c54ce.12e118", + "852a7cd7.0e44b", + "b030ec80.afe94", + "29244ea7.043122", + "d29aae71.65948", + "3e23694f.30ec66", + "9228750a.cc8a58", + "2efc8306.c0963c", + "a0041bd3.223548", + "98a3ccc1.d8a57", + "22895b04.ab7d74", + "f51c6109.c83e", + "32699d5d.1f8142", + "fdaf85bc.3245d8", + "cceda3e7.97351" ] ] }, { - "id": "61eecf4e.08f1a", + "id": "e74d28aa.444dd8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 375.00000762939453, - "y": 608.250057220459, - "z": "ef6618ab.e71c28", + "x": 411.00000762939453, + "y": 581.0000514984131, + "z": "4362d1ff.2aa3f", "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" + "77983397.219fbc", + "e76f5cf6.f52e1", + "c769bd1c.360ad", + "c76f610d.318b8", + "28f33e52.c2d1a2", + "e0c5361e.d177c8", + "50ac7aee.638584", + "e13403f4.699e1", + "c917eaf1.567e48", + "c3ddabd8.38d038", + "d562fffb.216e1", + "8a0aeb1.cdd6a18", + "5314131e.59454c", + "b4bede01.04b64", + "95274abb.896988" ] ] }, { - "id": "e42b439f.4e3a6", + "id": "2011d4eb.10c1bc", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 945.0680961608887, - "y": 639.3180861473083, - "z": "ef6618ab.e71c28", + "x": 981.0680961608887, + "y": 612.0680804252625, + "z": "4362d1ff.2aa3f", "wires": [ [ - "fbbc66fc.f79578" + "94ca78a7.990408" ] ] }, { - "id": "fbbc66fc.f79578", + "id": "94ca78a7.990408", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1115.0679931640625, - "y": 640.3182015419006, - "z": "ef6618ab.e71c28", + "x": 1151.0679931640625, + "y": 613.0681958198547, + "z": "4362d1ff.2aa3f", "wires": [ [ - "ffbe99c0.53a808", - "8eea7516.4225a8" + "c0dab6e8.41a718", + "3a0b88dc.fccdc8" ] ] }, { - "id": "ffbe99c0.53a808", + "id": "c0dab6e8.41a718", "type": "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", + "x": 1374.0678901672363, + "y": 591.0681715011597, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "8eea7516.4225a8", + "id": "3a0b88dc.fccdc8", "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", + "x": 1380.8459167480469, + "y": 627.0682697296143, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "24fc36ac.2cc9aa", + "id": "bfbe4a8b.1e5568", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 950.0680809020996, - "y": 599.3181781768799, - "z": "ef6618ab.e71c28", + "x": 986.0680809020996, + "y": 572.068172454834, + "z": "4362d1ff.2aa3f", "wires": [ [ - "781815a4.a3ee1c" + "bdd0c471.0cb8d8" ] ] }, { - "id": "781815a4.a3ee1c", + "id": "bdd0c471.0cb8d8", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 1214.0682792663574, - "y": 591.3182258605957, - "z": "ef6618ab.e71c28", + "x": 1250.0682792663574, + "y": 564.0682201385498, + "z": "4362d1ff.2aa3f", "wires": [ [ - "297876ec.0f7e9a", - "86a7278f.d35238" + "7578a2ee.b6e16c", + "4e23e519.fe1fac" ] ] }, { - "id": "297876ec.0f7e9a", + "id": "7578a2ee.b6e16c", "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", + "x": 1470.0679893493652, + "y": 559.179274559021, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "26f000ef.f9a63", + "id": "95274abb.896988", "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", + "x": 514.2499771118164, + "y": 1186.0681266784668, + "z": "4362d1ff.2aa3f", "wires": [ [ - "9f21b321.b4642", - "60a0fe7f.d8146", - "27d156bf.17d99a", - "eecde6e4.e3a8f8", - "e661d74c.681978" + "22850386.92b2ac", + "8c95ddd8.ddca8", + "694e85a8.b4f0dc", + "c4f85eed.6a7cd", + "91e03317.2c8b8" ] ] }, { - "id": "9f21b321.b4642", + "id": "22850386.92b2ac", "type": "block", "name": "Process NearRTRIC", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 712.6035499572754, - "y": 1201.893913269043, - "z": "ef6618ab.e71c28", + "x": 748.6035499572754, + "y": 1174.643907546997, + "z": "4362d1ff.2aa3f", "wires": [ [ - "dba510c5.0e5a7", - "b7895624.0ca7f8", - "15ff5f7d.ac4ce1" + "c75898e2.2dbb68", + "af1d3111.897f9", + "33b52e2f.c50952" ] ] }, { - "id": "dba510c5.0e5a7", + "id": "c75898e2.2dbb68", "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", + "x": 1039.795555114746, + "y": 653.9773616790771, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "34883ae0.e4eea6", + "id": "345285a3.ea85aa", "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", + "x": 1817.7960968017578, + "y": 740.9776182174683, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "2b4e3189.9b8a2e", + "id": "9ab960d3.cb4ed", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1725.0681686401367, - "y": 959.7726945877075, - "z": "ef6618ab.e71c28", + "x": 1761.0681686401367, + "y": 932.5226888656616, + "z": "4362d1ff.2aa3f", "wires": [ [ - "c55935b5.790928" + "d342befb.7ed6f" ] ] }, { - "id": "c55935b5.790928", + "id": "d342befb.7ed6f", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1878.0682830810547, - "y": 948.7727012634277, - "z": "ef6618ab.e71c28", + "x": 1914.0682830810547, + "y": 921.5226955413818, + "z": "4362d1ff.2aa3f", "wires": [ [ - "ce52c4be.108d98", - "55e4c978.919018" + "a26c29c8.b9e6e8", + "95009dba.61ce1" ] ] }, { - "id": "55e4c978.919018", + "id": "95009dba.61ce1", "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", + "x": 2063.067974090576, + "y": 884.6336736679077, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "ce52c4be.108d98", + "id": "a26c29c8.b9e6e8", "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", + "x": 2077.0679779052734, + "y": 959.5227422714233, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "b2a1da52.7c9308", + "id": "dbbd9fd9.c6a2c", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1722.8863067626953, - "y": 1100.6817951202393, - "z": "ef6618ab.e71c28", + "x": 1758.8863067626953, + "y": 1073.4317893981934, + "z": "4362d1ff.2aa3f", "wires": [ [ - "ff899f06.f5f5d" + "c5199379.cb19d" ] ] }, { - "id": "ff899f06.f5f5d", + "id": "c5199379.cb19d", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1872.886215209961, - "y": 1115.6819324493408, - "z": "ef6618ab.e71c28", + "x": 1908.886215209961, + "y": 1088.431926727295, + "z": "4362d1ff.2aa3f", "wires": [ [ - "45b6ca11.f79d04" + "667d28f2.4bd938" ] ] }, { - "id": "45b6ca11.f79d04", + "id": "667d28f2.4bd938", "type": "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", + "x": 2055.8861541748047, + "y": 1116.4320030212402, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "1a8a4142.50086f", + "id": "6ddf54c.6b60dac", "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", + "x": 1023.25, + "y": 1298.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "60a0fe7f.d8146", + "id": "8c95ddd8.ddca8", "type": "block", "name": "Process CUCP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 665.2500228881836, - "y": 1313.500093460083, - "z": "ef6618ab.e71c28", + "x": 701.2500228881836, + "y": 1286.250087738037, + "z": "4362d1ff.2aa3f", "wires": [ [ - "1a8a4142.50086f", - "14cec2de.b3b30d", - "257d60a3.014f" + "6ddf54c.6b60dac", + "b15f9c76.7e842", + "462b74f8.7c2bac" ] ] }, { - "id": "14cec2de.b3b30d", + "id": "b15f9c76.7e842", "type": "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", + "x": 995.25, + "y": 1363.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "257d60a3.014f", + "id": "462b74f8.7c2bac", "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", + "x": 1023.25, + "y": 1438.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "efa55bbc.3e1cc8" + "51adad4e.60cf14" ] ] }, { - "id": "efa55bbc.3e1cc8", + "id": "51adad4e.60cf14", "type": "block", "name": "block : process CUCP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1208.25, - "y": 1472.500009059906, - "z": "ef6618ab.e71c28", + "x": 1244.25, + "y": 1445.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "fc80606c.b3fbe", - "14f13e10.9327a2", - "e885f11b.c9aea", - "134a4feb.b12ec" + "a01ba96f.9ada58", + "8b76f8f5.f59148", + "532530fa.ab878", + "c29c31de.31f01" ] ] }, { - "id": "fc80606c.b3fbe", + "id": "a01ba96f.9ada58", "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", + "x": 1552.2500762939453, + "y": 1285.8499941825867, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "14f13e10.9327a2", + "id": "8b76f8f5.f59148", "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", + "x": 1599.25, + "y": 1442.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "fcd1f3c6.0e5ed" + "16cd1517.4fe0eb" ] ] }, { - "id": "da0b6865.1a7908", + "id": "e8e36787.3363a8", "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", + "x": 2311.750274658203, + "y": 1051.0000162124634, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "e4685a55.406e88", + "id": "c2734544.0b6438", "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", + "x": 2311.50008392334, + "y": 1291.500020980835, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "8bd7c16b.de00e", + "id": "e67f84a.e137e78", "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", + "x": 2273.250030517578, + "y": 1425.2501621246338, + "z": "4362d1ff.2aa3f", "wires": [ [ - "8f227315.0314b", - "34f969ab.cb9066" + "48f04bb5.877db4", + "b933757.2748b88" ] ] }, { - "id": "e6862312.8c998", + "id": "a9a4c0cb.b692d", "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", + "x": 2315.25008392334, + "y": 1383.749972820282, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "e3ed491d.954e98", + "id": "3b3cf53a.c3ffea", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2075.249931335449, - "y": 1069.500015258789, - "z": "ef6618ab.e71c28", + "x": 2111.249931335449, + "y": 1042.2500095367432, + "z": "4362d1ff.2aa3f", "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" + "e8e36787.3363a8", + "c2734544.0b6438", + "a9a4c0cb.b692d", + "be7c4f02.616e1", + "50992071.88a1", + "7f435123.cd4f1", + "5545ad8a.a482d4", + "fbbadb1e.2496c8", + "53c28e03.f485d", + "7e51e929.5df288", + "acc58f8b.9d227", + "1699c374.bd60dd", + "9837743f.055848", + "d0d6b08.3a2905", + "e67f84a.e137e78" ] ] }, { - "id": "8f227315.0314b", + "id": "48f04bb5.877db4", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2475.2499389648438, - "y": 1484.500075340271, - "z": "ef6618ab.e71c28", + "x": 2511.2499389648438, + "y": 1457.250069618225, + "z": "4362d1ff.2aa3f", "wires": [ [ - "fe1d9725.a71938" + "e43f7930.03bd28" ] ] }, { - "id": "fe1d9725.a71938", + "id": "e43f7930.03bd28", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2658.2499389648438, - "y": 1477.5000762939453, - "z": "ef6618ab.e71c28", + "x": 2694.2499389648438, + "y": 1450.2500705718994, + "z": "4362d1ff.2aa3f", "wires": [ [ - "1f64cadd.96c7c5" + "44b573d1.af78ac" ] ] }, { - "id": "1f64cadd.96c7c5", + "id": "44b573d1.af78ac", "type": "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", + "x": 2947.2499465942383, + "y": 1447.2503623962402, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "34f969ab.cb9066", + "id": "b933757.2748b88", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2457.25008392334, - "y": 1432.4999771118164, - "z": "ef6618ab.e71c28", + "x": 2493.25008392334, + "y": 1405.2499713897705, + "z": "4362d1ff.2aa3f", "wires": [ [ - "332ae432.3b7a1c" + "27957ad2.3e9e06" ] ] }, { - "id": "332ae432.3b7a1c", + "id": "27957ad2.3e9e06", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2600.2501373291016, - "y": 1393.5000743865967, - "z": "ef6618ab.e71c28", + "x": 2636.2501373291016, + "y": 1366.2500686645508, + "z": "4362d1ff.2aa3f", "wires": [ [ - "a1315b4e.247908", - "f20a8cc0.30eaa", - "86a7278f.d35238" + "e9fa638c.0e75a", + "d689c631.f6e6f8", + "4e23e519.fe1fac" ] ] }, { - "id": "a1315b4e.247908", + "id": "e9fa638c.0e75a", "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", + "x": 2896.2499389648438, + "y": 1386.2501678466797, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "f20a8cc0.30eaa", + "id": "d689c631.f6e6f8", "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", + "x": 2820.249942779541, + "y": 1348.2500686645508, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "cfe58b39.ed0498", + "id": "be7c4f02.616e1", "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", + "x": 2378.25008392334, + "y": 1154.2501153945923, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "6bf128ac.d071f8", + "id": "50992071.88a1", "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", + "x": 2352.25008392334, + "y": 1204.000018119812, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "eadf156.6353ae8", + "id": "7f435123.cd4f1", "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", + "x": 2320.0000801086426, + "y": 1247.0000190734863, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "e885f11b.c9aea", + "id": "532530fa.ab878", "type": "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", + "x": 1602.2500457763672, + "y": 1340.2499713897705, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "134a4feb.b12ec", + "id": "c29c31de.31f01", "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", + "x": 1609.25, + "y": 1398.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "a674e8bb.cfe268", + "id": "5545ad8a.a482d4", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2271.25008392334, - "y": 1033.500020980835, - "z": "ef6618ab.e71c28", + "x": 2307.25008392334, + "y": 1006.2500152587891, + "z": "4362d1ff.2aa3f", "wires": [ [ - "b68a4e07.b2dd7", - "d9e938b.5fdb9c8" + "1fc0ab11.1338c5", + "8a1d90d7.4a06c" ] ] }, { - "id": "b68a4e07.b2dd7", + "id": "1fc0ab11.1338c5", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2506.25008392334, - "y": 1035.4998264312744, - "z": "ef6618ab.e71c28", + "x": 2542.25008392334, + "y": 1008.2498207092285, + "z": "4362d1ff.2aa3f", "wires": [ [ - "7e2204de.3b325c" + "feb75968.663e08" ] ] }, { - "id": "7e2204de.3b325c", + "id": "feb75968.663e08", "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", + "x": 2864.25, + "y": 1092.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "d9e938b.5fdb9c8", + "id": "8a1d90d7.4a06c", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2518.25008392334, - "y": 1104.5000224113464, - "z": "ef6618ab.e71c28", + "x": 2554.25008392334, + "y": 1077.2500166893005, + "z": "4362d1ff.2aa3f", "wires": [ [ - "df53585c.b9fa48" + "7ad33459.55586c" ] ] }, { - "id": "c6c9496b.250678", + "id": "fbbadb1e.2496c8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1855.25, - "y": 1890.500009059906, - "z": "ef6618ab.e71c28", + "x": 1891.25, + "y": 1863.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "c0711216.8ce9c", - "7b1874fb.c5415c", - "7e19a58b.6323ec", - "dfbcf2c5.3ff55", - "579778ab.278998", - "45c1bca2.5e8e04", - "61df6e54.11339", - "c3d03b5f.8c6898", - "bbf378e6.b63a58" + "983e9bd3.9b9348", + "7e4c283c.1265f8", + "3af047b9.ca1e98", + "81892afb.adb828", + "2f4a65f0.ada76a", + "502526c.4a56fd8", + "9383334.5463cd", + "e23d74fd.419fd8", + "a852d319.d79c7" ] ] }, { - "id": "c0711216.8ce9c", + "id": "983e9bd3.9b9348", "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", + "x": 2073.25, + "y": 1646.25000333786, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "7b1874fb.c5415c", + "id": "7e4c283c.1265f8", "type": "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", + "x": 2072.25, + "y": 1707.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "7e19a58b.6323ec", + "id": "3af047b9.ca1e98", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2077.25, - "y": 1796.500009059906, - "z": "ef6618ab.e71c28", + "x": 2113.25, + "y": 1769.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "60276eca.ed52d", - "e6b24565.3c8fe8" + "a533afc3.7a907", + "f5b36009.94336" ] ] }, { - "id": "60276eca.ed52d", + "id": "a533afc3.7a907", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2255.25, - "y": 1763.499764919281, - "z": "ef6618ab.e71c28", + "x": 2291.25, + "y": 1736.249759197235, + "z": "4362d1ff.2aa3f", "wires": [ [ - "dd141b86.78ab68" + "592d5b8e.84cb14" ] ] }, { - "id": "dd141b86.78ab68", + "id": "592d5b8e.84cb14", "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", + "x": 2569.25, + "y": 1728.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "dfbcf2c5.3ff55", + "id": "81892afb.adb828", "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", + "x": 2148.25, + "y": 1841.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "579778ab.278998", + "id": "2f4a65f0.ada76a", "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", + "x": 2113.25, + "y": 1893.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "fceb310.bb2c0d", + "id": "391a5330.797c4c", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2363.25, - "y": 2047.500009059906, - "z": "ef6618ab.e71c28", + "x": 2399.25, + "y": 2020.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "e4abead.1867818" + "cc5ebdb4.50a1e" ] ] }, { - "id": "e4abead.1867818", + "id": "cc5ebdb4.50a1e", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2527.2498779296875, - "y": 2048.5001311302185, - "z": "ef6618ab.e71c28", + "x": 2563.2498779296875, + "y": 2021.2501254081726, + "z": "4362d1ff.2aa3f", "wires": [ [ - "366d6670.9c68aa", - "da77f44.4f42e08" + "f4a18a03.d59a88", + "9594e736.26cff8" ] ] }, { - "id": "366d6670.9c68aa", + "id": "f4a18a03.d59a88", "type": "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", + "x": 2713.2498779296875, + "y": 2016.250247478485, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "116f3d7a.fe8f33", + "id": "411f306f.8c401", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2359.25, - "y": 1968.500009059906, - "z": "ef6618ab.e71c28", + "x": 2395.25, + "y": 1941.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "77902d7b.ae4ff4" + "749d04f7.cf0f0c" ] ] }, { - "id": "77902d7b.ae4ff4", + "id": "749d04f7.cf0f0c", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2517.250244140625, - "y": 1916.500009059906, - "z": "ef6618ab.e71c28", + "x": 2553.250244140625, + "y": 1889.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "fcdb7134.4bc93", - "e9c8e0c5.1e294", - "86a7278f.d35238" + "3aed661f.a3a34a", + "a488089.67421f8", + "4e23e519.fe1fac" ] ] }, { - "id": "fcdb7134.4bc93", + "id": "3aed661f.a3a34a", "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", + "x": 2724.2498779296875, + "y": 1950.2500643730164, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "e9c8e0c5.1e294", + "id": "a488089.67421f8", "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", + "x": 2719.25, + "y": 1855.25000333786, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "45c1bca2.5e8e04", + "id": "502526c.4a56fd8", "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", + "x": 2148.25, + "y": 1968.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "116f3d7a.fe8f33", - "fceb310.bb2c0d" + "411f306f.8c401", + "391a5330.797c4c" ] ] }, { - "id": "da77f44.4f42e08", + "id": "9594e736.26cff8", "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", + "x": 2736.2499656677246, + "y": 2053.249942302704, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "61df6e54.11339", + "id": "9383334.5463cd", "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", + "x": 2083.25, + "y": 2126.250232219696, + "z": "4362d1ff.2aa3f", "wires": [ [ - "95b2986f.e58608" + "45dde15e.6bc87" ] ] }, { - "id": "c3d03b5f.8c6898", + "id": "e23d74fd.419fd8", "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", + "x": 2127.25, + "y": 2022.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "95b2986f.e58608", + "id": "45dde15e.6bc87", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2268.25, - "y": 2173.500237941742, - "z": "ef6618ab.e71c28", + "x": 2304.25, + "y": 2146.250232219696, + "z": "4362d1ff.2aa3f", "wires": [ [ - "5d789216.d6bbcc", - "bf15866.078ce78", - "f69925d0.0398b8", - "672cacb9.6f85d4", - "3b2efef6.f4db92", - "6917fdf2.dd9844", - "6f0d087a.f937e8", - "930a549f.867938", - "a5776646.7b9808", - "51a270d0.6d0f9" + "6130d78e.3ef2b8", + "e095ba7d.602cb8", + "c33706b4.c283d8", + "88cbbfb7.5430c", + "6961ce5f.85d8e", + "f5609229.9fc58", + "a124dda8.0e64f", + "b5d5aa72.a5f438" ] ] }, { - "id": "5d789216.d6bbcc", + "id": "6130d78e.3ef2b8", "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", + "x": 2586.2501373291016, + "y": 2126.2501220703125, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "bbf378e6.b63a58", + "id": "a852d319.d79c7", "type": "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", + "x": 2067.25, + "y": 2076.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "a4271c85.b4e31", + "id": "35acdffa.67d3", "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", + "x": 2588.3611221313477, + "y": 578.472261428833, + "z": "4362d1ff.2aa3f", "wires": [ [ - "6bd0302.f586ad" + "d4f5fdbd.35a5e" ] ] }, { - "id": "fcd1f3c6.0e5ed", + "id": "16cd1517.4fe0eb", "type": "block", "name": "block", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1779.2499771118164, - "y": 1345.4999799728394, - "z": "ef6618ab.e71c28", + "x": 1815.2499771118164, + "y": 1318.2499742507935, + "z": "4362d1ff.2aa3f", "wires": [ [ - "907603d2.1339e", - "1e47fe7b.f65f02", - "eb2cc8b8.8811b8" + "a9ad87e1.e88a28", + "94ff05a5.17c6c8", + "9d782789.ac6528" ] ] }, { - "id": "bbf4a1c6.48d0e", + "id": "f2a607a3.9d13e8", "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", + "x": 2805.0274810791016, + "y": 815.0278015136719, + "z": "4362d1ff.2aa3f", "wires": [ [ - "5faff031.b5532" + "a0c08489.b707d8" ] ] }, { - "id": "5faff031.b5532", + "id": "a0c08489.b707d8", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2192.2499351501465, - "y": 923.5000247955322, - "z": "ef6618ab.e71c28", + "x": 2228.2499351501465, + "y": 896.2500190734863, + "z": "4362d1ff.2aa3f", "wires": [ [ - "e3ed491d.954e98" + "3b3cf53a.c3ffea" ] ] }, { - "id": "aaa0dde.d7b212", + "id": "53c28e03.f485d", "type": "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", + "x": 2302.2499351501465, + "y": 963.2500200271606, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "66a6e267.dfc32c", + "id": "65a1252d.e10b3c", "type": "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", + "x": 2863.1388092041016, + "y": 771.4722437858582, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "b95f77aa.edfc98", + "id": "b00fe70d.289e28", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2636.2501373291016, - "y": 772.500081539154, - "z": "ef6618ab.e71c28", + "x": 2672.2501373291016, + "y": 745.2500758171082, + "z": "4362d1ff.2aa3f", "wires": [ [ - "66a6e267.dfc32c", - "bbf4a1c6.48d0e", - "c191c83d.0ed278" + "65a1252d.e10b3c", + "f2a607a3.9d13e8", + "d4e23b2.b3c8ac8" ] ] }, { - "id": "c191c83d.0ed278", + "id": "d4e23b2.b3c8ac8", "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", + "x": 3043.1386108398438, + "y": 695.472291469574, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "27d156bf.17d99a", + "id": "694e85a8.b4f0dc", "type": "block", "name": "Process CUUP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 568.25, - "y": 1535.500009059906, - "z": "ef6618ab.e71c28", + "x": 604.25, + "y": 1508.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "9bc70afb.740798", - "28530b29.61bf74", - "7774938a.4a229c" + "297bd09b.cd0d6", + "ed29c9e.c100d38", + "915f956e.5c35d8" ] ] }, { - "id": "9bc70afb.740798", + "id": "297bd09b.cd0d6", "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", + "x": 935.25, + "y": 1518.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "28530b29.61bf74", + "id": "ed29c9e.c100d38", "type": "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", + "x": 907.25, + "y": 1583.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "7774938a.4a229c", + "id": "915f956e.5c35d8", "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", + "x": 935.25, + "y": 1658.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "74a0ec57.9a1604" + "1bebd309.b13e5d" ] ] }, { - "id": "74a0ec57.9a1604", + "id": "1bebd309.b13e5d", "type": "block", "name": "block : process CUUP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 764.250129699707, - "y": 2045.5002117156982, - "z": "ef6618ab.e71c28", + "x": 805.2501220703125, + "y": 2238.2501702308655, + "z": "4362d1ff.2aa3f", "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" + "ce45e88a.159178", + "80c8bbc.3da9248", + "4433e505.b1963c", + "80e6a79a.32f7a8", + "ceddcf9c.85ca4", + "522c0816.ef5668", + "197472d7.60136d", + "fe39c96a.c4f238", + "40e302f5.23a42c", + "1f9a028f.b6a12d", + "e76fec09.863a4", + "c7222d15.ae175", + "fc649fb8.5638c" ] ] }, { - "id": "9856f937.6cb738", + "id": "ce45e88a.159178", "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", + "x": 1217.2500457763672, + "y": 2071.250024795532, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "77adaf37.3fea6", + "id": "80c8bbc.3da9248", "type": "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", + "x": 1201.2501411437988, + "y": 2121.2500743865967, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "5ff7e760.b99518", + "id": "4433e505.b1963c", "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", + "x": 1197.2500457763672, + "y": 2175.2500762939453, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "a2fa3115.9de0c", + "id": "80e6a79a.32f7a8", "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", + "x": 1041.2499923706055, + "y": 2310.250228881836, + "z": "4362d1ff.2aa3f", "wires": [ [ - "1bc073ce.7ff5ac" + "377ecbe8.205794" ] ] }, { - "id": "1bc073ce.7ff5ac", + "id": "377ecbe8.205794", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1127.2499923706055, - "y": 2409.500237226486, - "z": "ef6618ab.e71c28", + "x": 1163.2499923706055, + "y": 2382.2502315044403, + "z": "4362d1ff.2aa3f", "wires": [ [ - "6ccb5957.6e97a8", - "3a6bc5d.5ee993a", - "8a2c4744.a700e8" + "6d9e10ef.16ec6", + "98308a38.f45078", + "d92b4dd.57a53b" ] ] }, { - "id": "f731369c.1f2078", + "id": "3e784514.826d0a", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2255.250270843506, - "y": 2917.500340461731, - "z": "ef6618ab.e71c28", + "x": 2291.250270843506, + "y": 2890.250334739685, + "z": "4362d1ff.2aa3f", "wires": [ [ - "70956339.580aec" + "a3b30555.c76b48" ] ] }, { - "id": "70956339.580aec", + "id": "a3b30555.c76b48", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2412.250274658203, - "y": 2910.5001454353333, - "z": "ef6618ab.e71c28", + "x": 2448.250274658203, + "y": 2883.2501397132874, + "z": "4362d1ff.2aa3f", "wires": [ [ - "6b63917a.dd9e8", - "a6d21843.454a38", - "86a7278f.d35238" + "4c527fb5.94aed", + "3591b151.7fedfe", + "4e23e519.fe1fac" ] ] }, { - "id": "a6d21843.454a38", + "id": "3591b151.7fedfe", "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", + "x": 2693.2502822875977, + "y": 2884.25053024292, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "6b63917a.dd9e8", + "id": "4c527fb5.94aed", "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", + "x": 2681.2502822875977, + "y": 2919.2505311965942, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "e7366c55.27d0e", + "id": "e5c48738.2925c8", "type": "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", + "x": 2671.25008392334, + "y": 2967.2503356933594, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "f047b07.947bf5", + "id": "fda556a8.6a5048", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2479.2500762939453, - "y": 2987.5001468658447, - "z": "ef6618ab.e71c28", + "x": 2515.2500762939453, + "y": 2960.250141143799, + "z": "4362d1ff.2aa3f", "wires": [ [ - "e7366c55.27d0e" + "e5c48738.2925c8" ] ] }, { - "id": "1dc9bdec.d9f382", + "id": "bccc5f49.9e394", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2319.2500762939453, - "y": 2987.5003414154053, - "z": "ef6618ab.e71c28", + "x": 2355.2500762939453, + "y": 2960.2503356933594, + "z": "4362d1ff.2aa3f", "wires": [ [ - "f047b07.947bf5" + "fda556a8.6a5048" ] ] }, { - "id": "de0fc599.a60458", + "id": "5bd70436.20838c", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2001.2500267028809, - "y": 2708.500386238098, - "z": "ef6618ab.e71c28", + "x": 2037.2500267028809, + "y": 2681.2503805160522, + "z": "4362d1ff.2aa3f", "wires": [ [ - "cd465c1d.33451", - "6febd0f9.d496" + "f39b5e29.0d523", + "5aee7fe5.e9f54" ] ] }, { - "id": "cd465c1d.33451", + "id": "f39b5e29.0d523", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2321.250129699707, - "y": 2758.500143557787, - "z": "ef6618ab.e71c28", + "x": 2357.250129699707, + "y": 2731.250137835741, + "z": "4362d1ff.2aa3f", "wires": [ [ - "fb4608b3.dc6428" + "796865a0.c0b91c" ] ] }, { - "id": "6febd0f9.d496", + "id": "5aee7fe5.e9f54", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2354.250015258789, - "y": 2857.50035238266, - "z": "ef6618ab.e71c28", + "x": 2390.250015258789, + "y": 2830.250346660614, + "z": "4362d1ff.2aa3f", "wires": [ [ - "a99c6274.c44fa" + "bd330133.9df87" ] ] }, { - "id": "fb4608b3.dc6428", + "id": "796865a0.c0b91c", "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", + "x": 2722.250015258789, + "y": 2743.250346660614, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "a7cd0e67.196b7", + "id": "20648008.a4b2b", "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", + "x": 2053.249969482422, + "y": 2785.250138282776, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "6708ee77.a084a", + "id": "522c0816.ef5668", "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", + "x": 1413.2501373291016, + "y": 3160.250389099121, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "f5e9da0.26dd428", + "id": "197472d7.60136d", "type": "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", + "x": 1371.2501411437988, + "y": 3225.250389099121, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "d4bbbf7a.0735b", + "id": "fe39c96a.c4f238", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 1401.2500457763672, - "y": 3298.5002002716064, - "z": "ef6618ab.e71c28", + "x": 1437.2500457763672, + "y": 3271.2501945495605, + "z": "4362d1ff.2aa3f", "wires": [ [ - "362a55dc.680b9a", - "2250a766.25eda8" + "22c36d8b.fa87e2", + "81deb97d.0d7ee8" ] ] }, { - "id": "362a55dc.680b9a", + "id": "22c36d8b.fa87e2", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 1710.2499771118164, - "y": 3254.4997596740723, - "z": "ef6618ab.e71c28", + "x": 1746.2499771118164, + "y": 3227.2497539520264, + "z": "4362d1ff.2aa3f", "wires": [ [ - "8d0f0adf.b01368" + "1812318a.b9e3fe" ] ] }, { - "id": "8d0f0adf.b01368", + "id": "1812318a.b9e3fe", "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", + "x": 2005.2497863769531, + "y": 3229.249948978424, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "1354575.1f5a3a9", + "id": "40e302f5.23a42c", "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", + "x": 1484.2501430511475, + "y": 3320.2503910064697, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "b6699a74.f0bde8", + "id": "1f9a028f.b6a12d", "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", + "x": 1503.2501419782639, + "y": 3368.250343322754, + "z": "4362d1ff.2aa3f", "wires": [ [ - "3b91c31a.5efd6c", - "6678646.cb12f9c" + "aee201e3.877a4", + "aaf77b2c.a40968" ] ] }, { - "id": "3b91c31a.5efd6c", + "id": "aee201e3.877a4", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1873.2501754760742, - "y": 3360.5001516342163, - "z": "ef6618ab.e71c28", + "x": 1909.2501754760742, + "y": 3333.2501459121704, + "z": "4362d1ff.2aa3f", "wires": [ [ - "a5535451.b14438" + "c04216e2.b45818" ] ] }, { - "id": "a5535451.b14438", + "id": "c04216e2.b45818", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2047.2501754760742, - "y": 3371.4999561309814, - "z": "ef6618ab.e71c28", + "x": 2083.250175476074, + "y": 3344.2499504089355, + "z": "4362d1ff.2aa3f", "wires": [ [ - "9cfb1fad.e0a4e", - "ef16bee3.b9b7", - "86a7278f.d35238" + "d942f538.4c6e08", + "851219d7.df6148", + "4e23e519.fe1fac" ] ] }, { - "id": "ef16bee3.b9b7", + "id": "851219d7.df6148", "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", + "x": 2275.249984741211, + "y": 3289.2499504089355, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "9cfb1fad.e0a4e", + "id": "d942f538.4c6e08", "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", + "x": 2319.249984741211, + "y": 3333.2499504089355, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "50abea47.3c39c4", + "id": "c04ac138.73bcd", "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", + "x": 2306.249984741211, + "y": 3412.2503423690796, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "1e3eb9a5.be1626", + "id": "75fed6da.77ddf8", "type": "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", + "x": 2298.249984741211, + "y": 3368.2503414154053, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "3ab190e9.0f16f", + "id": "492e33f9.ebcf7c", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2053.2499809265137, - "y": 3417.500347137451, - "z": "ef6618ab.e71c28", + "x": 2089.2499809265137, + "y": 3390.2503414154053, + "z": "4362d1ff.2aa3f", "wires": [ [ - "1e3eb9a5.be1626", - "50abea47.3c39c4" + "75fed6da.77ddf8", + "c04ac138.73bcd" ] ] }, { - "id": "6678646.cb12f9c", + "id": "aaf77b2c.a40968", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1872.2501754760742, - "y": 3416.5001525878906, - "z": "ef6618ab.e71c28", + "x": 1908.2501754760742, + "y": 3389.2501468658447, + "z": "4362d1ff.2aa3f", "wires": [ [ - "3ab190e9.0f16f" + "492e33f9.ebcf7c" ] ] }, { - "id": "580350ca.52acc", + "id": "e76fec09.863a4", "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", + "x": 1502.2501411437988, + "y": 3415.2503929138184, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "21699cfe.f96104", + "id": "c7222d15.ae175", "type": "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", + "x": 1465.2501430511475, + "y": 3464.2503929138184, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "dd01cea.6808a3", + "id": "fc649fb8.5638c", "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", + "x": 1520.9166469573975, + "y": 3508.5835971832275, + "z": "4362d1ff.2aa3f", "wires": [ [ - "f82bb9bf.adee38", - "58c36fb8.f4dfe", - "dc7ec7e1.74ebf8", - "fe57d7c.f7b2f28", - "2b1fd179.9e31fe", - "9fc7c5b.0387d38", - "b9a6e18d.cb90d", - "8988f981.ab5bc8", - "50e238c2.478fb8" + "4e0b22eb.4d108c" ] ] }, { - "id": "559e943e.90a8ac", + "id": "4e0b22eb.4d108c", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2606.9165573120117, - "y": 3702.833737850189, - "z": "ef6618ab.e71c28", + "x": 1846.9166793823242, + "y": 3441.583484172821, + "z": "4362d1ff.2aa3f", "wires": [ [ - "dbea6191.b6fb9" + "4d4f8013.e437c", + "4f8d0c9a.694174", + "1fcc5693.492159", + "8f5b08e0.e38768", + "a8b03670.a59098", + "59703974.f6ec58", + "b99190ef.80ff8" ] ] }, { - "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", + "id": "c4f85eed.6a7cd", "type": "block", "name": "Process gNBDU", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 931.0001754760742, - "y": 4173.250737667084, - "z": "ef6618ab.e71c28", + "x": 967.0001754760742, + "y": 4146.000731945038, + "z": "4362d1ff.2aa3f", "wires": [ [ - "76145fcc.8ce7b", - "402dedb2.a803e4", - "bbee6e.03d2419" + "81435617.df9b58", + "37b794e4.e1c62c", + "7c3b5b96.2348c4" ] ] }, { - "id": "76145fcc.8ce7b", + "id": "81435617.df9b58", "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", + "x": 1296.0001754760742, + "y": 4177.000731945038, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "402dedb2.a803e4", + "id": "37b794e4.e1c62c", "type": "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", + "x": 1254.0001602172852, + "y": 4238.000731945038, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "bbee6e.03d2419", + "id": "7c3b5b96.2348c4", "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", + "x": 1269.0001907348633, + "y": 4304.000356674194, + "z": "4362d1ff.2aa3f", "wires": [ [ - "6de5245b.782a6c" + "a9b61ee3.a7d6c" ] ] }, { - "id": "6de5245b.782a6c", + "id": "a9b61ee3.a7d6c", "type": "block", "name": "block : process gNBDU", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1511.0001754760742, - "y": 4336.250707149506, - "z": "ef6618ab.e71c28", + "x": 1547.0001754760742, + "y": 4309.00070142746, + "z": "4362d1ff.2aa3f", "wires": [ [ - "7d317821.61d7c8", - "c99a7bb2.d2c4f8", - "cb1c80ff.a4959", - "c1fc5387.33572" + "ba4dfdec.80e15", + "cd0cf3be.2125d", + "8bfdd5f9.edc298", + "e6194141.ea6f7" ] ] }, { - "id": "7d317821.61d7c8", + "id": "ba4dfdec.80e15", "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", + "x": 1826, + "y": 4305.00000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "c99a7bb2.d2c4f8", + "id": "cd0cf3be.2125d", "type": "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", + "x": 1799, + "y": 4356.00000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "cb1c80ff.a4959", + "id": "8bfdd5f9.edc298", "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 ", + "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-cps-response.[' + $idy +'].GNBDUFunction[' + $id-du +'].NRCellDU_length'`\" />\n ", "comments": "", "outputs": 1, - "x": 1772, - "y": 4442.250364303589, - "z": "ef6618ab.e71c28", + "x": 1808, + "y": 4415.000358581543, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "c1fc5387.33572", + "id": "e6194141.ea6f7", "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", + "x": 1844.9999771118164, + "y": 4494.000261306763, + "z": "4362d1ff.2aa3f", "wires": [ [ - "e3e4bd80.17ff5" + "1f885d87.44dce2" ] ] }, { - "id": "47b8e29b.68b05c", + "id": "1da572e1.65fbad", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2765.750087738037, - "y": 4646.250267028809, - "z": "ef6618ab.e71c28", + "x": 2801.750087738037, + "y": 4619.000261306763, + "z": "4362d1ff.2aa3f", "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" + "7d888170.93e82", + "bceb54fd.aba978", + "57f504bf.346f8c", + "fe0155ee.5b8ce8", + "760719eb.a711f8", + "b4586679.088458", + "8bb55835.345c88", + "8c706af0.0bd8b8", + "7dcc0b2e.2691d4", + "70057501.d37bdc", + "13ded8db.371d47", + "68ea4419.c3ec8c", + "7553abbd.3b7564", + "ed312bcb.44f578", + "432501b7.4c769" ] ] }, { - "id": "ce857891.b48ff8", + "id": "8c706af0.0bd8b8", "type": "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", + "x": 3051.75, + "y": 4498.00000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "9202a636.ecee78", + "id": "8bb55835.345c88", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3043.75, - "y": 4593.250009059906, - "z": "ef6618ab.e71c28", + "x": 3079.75, + "y": 4566.00000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "582e6609.faff28", - "f772487a.c66838" + "5e5af0b3.e1286", + "b1254cc9.e3f8" ] ] }, { - "id": "582e6609.faff28", + "id": "5e5af0b3.e1286", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3251.75, - "y": 4558.249764919281, - "z": "ef6618ab.e71c28", + "x": 3287.75, + "y": 4530.999759197235, + "z": "4362d1ff.2aa3f", "wires": [ [ - "1f2df361.c3e70d" + "74a51738.411498" ] ] }, { - "id": "f772487a.c66838", + "id": "b1254cc9.e3f8", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3246.7500495910645, - "y": 4627.250333309174, - "z": "ef6618ab.e71c28", + "x": 3282.7500495910645, + "y": 4600.000327587128, + "z": "4362d1ff.2aa3f", "wires": [ [ - "160b7724.4df4a9" + "8d78b322.64de7" ] ] }, { - "id": "1f2df361.c3e70d", + "id": "74a51738.411498", "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", + "x": 3607.75, + "y": 4546.00000333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "ebbfda07.d46a88", + "id": "7d888170.93e82", "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'`\" />", + "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-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].idNRCellDU'`\" />", "comments": "", "outputs": 1, - "x": 3047.750141143799, - "y": 4632.250660896301, - "z": "ef6618ab.e71c28", + "x": 3083.750141143799, + "y": 4605.000655174255, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "989b72d8.79a82", + "id": "fe0155ee.5b8ce8", "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", + "x": 3131.750213623047, + "y": 4719.0001854896545, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "e0591127.1aa78", + "id": "760719eb.a711f8", "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", + "x": 3104.7503967285156, + "y": 4774.000187397003, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "838735f7.074d68", + "id": "b4586679.088458", "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", + "x": 3089.750198364258, + "y": 4818.250686645508, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "4e279e5c.a4eee", + "id": "bceb54fd.aba978", "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", + "x": 3090.500442504883, + "y": 4862.5002608299255, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "c71f0415.b873e8", + "id": "57f504bf.346f8c", "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", + "x": 3098.7499465942383, + "y": 4951.0003662109375, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "c2bbc497.437918", + "id": "7dcc0b2e.2691d4", "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", + "x": 3146.7499465942383, + "y": 4990.249977111816, + "z": "4362d1ff.2aa3f", "wires": [ [ - "f67ae9b2.d91b98", - "eda6f1d0.16c07" + "85ef1ede.16175", + "96ed637a.12067" ] ] }, { - "id": "eda6f1d0.16c07", + "id": "96ed637a.12067", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3363.749954223633, - "y": 4883.499980926514, - "z": "ef6618ab.e71c28", + "x": 3399.749954223633, + "y": 4856.249975204468, + "z": "4362d1ff.2aa3f", "wires": [ [ - "beedc21.59a444" + "18aaec18.388534" ] ] }, { - "id": "f67ae9b2.d91b98", + "id": "85ef1ede.16175", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3390.749954223633, - "y": 5014.499982833862, - "z": "ef6618ab.e71c28", + "x": 3426.749954223633, + "y": 4987.249977111816, + "z": "4362d1ff.2aa3f", "wires": [ [ - "b4ac4492.bb7348" + "3bdba14e.005e9e" ] ] }, { - "id": "beedc21.59a444", + "id": "18aaec18.388534", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3527.750343322754, - "y": 4857.499980926514, - "z": "ef6618ab.e71c28", + "x": 3563.750343322754, + "y": 4830.249975204468, + "z": "4362d1ff.2aa3f", "wires": [ [ - "3cdb3e0c.c9e822", - "6377aba4.4e1d74", - "86a7278f.d35238" + "2c11a092.7439", + "dcb56d5f.a11", + "4e23e519.fe1fac" ] ] }, { - "id": "b4ac4492.bb7348", + "id": "3bdba14e.005e9e", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3534.749954223633, - "y": 5012.499982833862, - "z": "ef6618ab.e71c28", + "x": 3570.749954223633, + "y": 4985.249977111816, + "z": "4362d1ff.2aa3f", "wires": [ [ - "8e740662.df0ea8" + "5f1a16f9.777a08" ] ] }, { - "id": "8e740662.df0ea8", + "id": "5f1a16f9.777a08", "type": "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", + "x": 3742.7495651245117, + "y": 4964.250367164612, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "3cdb3e0c.c9e822", + "id": "2c11a092.7439", "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", + "x": 3745.749954223633, + "y": 4891.249975204468, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "6377aba4.4e1d74", + "id": "dcb56d5f.a11", "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", + "x": 3744.7499561309814, + "y": 4825.2499742507935, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "60877c7e.f704b4", + "id": "70057501.d37bdc", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2914, - "y": 5338.500009059906, - "z": "ef6618ab.e71c28", + "x": 2950, + "y": 5311.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "2a46ba54.429216", - "90363258.58443", - "f6d5ea85.89e9c8", - "b02dd3ad.ec429", - "2d25771d.f89158", - "bba6efea.49983", - "df68ec93.f7152", - "fab35c07.8a393" + "bbba442e.585a18", + "dd350349.83219", + "566ce333.d2f77c", + "8634901b.54372", + "3bb470c5.7fd6d", + "fca8c515.63bb28", + "986062bf.61095", + "c7b3656.341fd98" ] ] }, { - "id": "2a46ba54.429216", + "id": "bbba442e.585a18", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3137.9999465942383, - "y": 5311.499985694885, - "z": "ef6618ab.e71c28", + "x": 3173.9999465942383, + "y": 5284.249979972839, + "z": "4362d1ff.2aa3f", "wires": [ [ - "9fe18faa.a0f84", - "aa35c14e.99f5f" + "6b482142.83a31", + "d3e734d8.c242d8" ] ] }, { - "id": "9fe18faa.a0f84", + "id": "6b482142.83a31", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3330.000144958496, - "y": 5265.500375747681, - "z": "ef6618ab.e71c28", + "x": 3366.000144958496, + "y": 5238.250370025635, + "z": "4362d1ff.2aa3f", "wires": [ [ - "2423dd23.e54072" + "12cd3585.6ba3da" ] ] }, { - "id": "2423dd23.e54072", + "id": "12cd3585.6ba3da", "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", + "x": 3696.0003509521484, + "y": 5262.250370025635, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "90363258.58443", + "id": "dd350349.83219", "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", + "x": 3198.9999465942383, + "y": 5351.249980926514, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "f6d5ea85.89e9c8", + "id": "566ce333.d2f77c", "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", + "x": 3174.9999465942383, + "y": 5408.249981880188, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "b02dd3ad.ec429", + "id": "8634901b.54372", "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", + "x": 3209.9999465942383, + "y": 5455.249982833862, + "z": "4362d1ff.2aa3f", "wires": [ [ - "b57d19e7.548a18", - "df0e63b4.de489" + "3bff47d8.12ba98", + "1369415e.3227af" ] ] }, { - "id": "b57d19e7.548a18", + "id": "3bff47d8.12ba98", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3397.9999504089355, - "y": 5468.499987602234, - "z": "ef6618ab.e71c28", + "x": 3433.9999504089355, + "y": 5441.249981880188, + "z": "4362d1ff.2aa3f", "wires": [ [ - "37bdbcbc.662a04" + "a0c69f11.0055" ] ] }, { - "id": "df0e63b4.de489", + "id": "1369415e.3227af", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3425.999954223633, - "y": 5528.499988555908, - "z": "ef6618ab.e71c28", + "x": 3461.999954223633, + "y": 5501.249982833862, + "z": "4362d1ff.2aa3f", "wires": [ [ - "bca5f748.ae09c8" + "cedf349e.fb8378" ] ] }, { - "id": "37bdbcbc.662a04", + "id": "a0c69f11.0055", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3562.000343322754, - "y": 5452.49998664856, - "z": "ef6618ab.e71c28", + "x": 3598.000343322754, + "y": 5425.249980926514, + "z": "4362d1ff.2aa3f", "wires": [ [ - "bbf6fe5e.9ebd6", - "a3665298.088d4", - "86a7278f.d35238" + "8f83b843.6996e8", + "e39fd7c.1ebb928", + "4e23e519.fe1fac" ] ] }, { - "id": "a3665298.088d4", + "id": "e39fd7c.1ebb928", "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", + "x": 3798.000347137451, + "y": 5389.249980926514, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "bbf6fe5e.9ebd6", + "id": "8f83b843.6996e8", "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", + "x": 3814.999954223633, + "y": 5425.249982833862, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "bca5f748.ae09c8", + "id": "cedf349e.fb8378", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3589.250343322754, - "y": 5518.249988555908, - "z": "ef6618ab.e71c28", + "x": 3625.250343322754, + "y": 5490.999982833862, + "z": "4362d1ff.2aa3f", "wires": [ [ - "c036dd8f.0b775", - "6381203e.c0e7e" + "144526ab.1ed0a9", + "4dacbf2f.1fd3e" ] ] }, { - "id": "c036dd8f.0b775", + "id": "144526ab.1ed0a9", "type": "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", + "x": 3793.500347137451, + "y": 5470.999982833862, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "6381203e.c0e7e", + "id": "4dacbf2f.1fd3e", "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", + "x": 3808.0003509521484, + "y": 5515.499982833862, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "2d25771d.f89158", + "id": "3bb470c5.7fd6d", "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", + "x": 3181.9999465942383, + "y": 5511.249982833862, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "bba6efea.49983", + "id": "fca8c515.63bb28", "type": "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", + "x": 3137.9999465942383, + "y": 5553.249983787537, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "df68ec93.f7152", + "id": "986062bf.61095", "type": "block", "name": "rrmPolicyDedicatedRatio", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3717.000343322754, - "y": 5241.499984741211, - "z": "ef6618ab.e71c28", + "x": 3753.000343322754, + "y": 5214.249979019165, + "z": "4362d1ff.2aa3f", "wires": [ [ - "8dff4ba1.356208", - "748e1d72.6aec34", - "5687c665.3d66c8", - "6c58dbcc.0312d4", - "cf586feb.3f85f", - "9bd25672.099568", - "8ce33bb1.456d58", - "1b28c419.181bfc", - "9835b420.63cae8", - "e5710ecc.f30db", - "2910c8a9.7f88f8" + "3344943c.03b91c", + "159ffc84.628f33", + "131f66f0.9cc699", + "baaad063.f0784", + "dfb604ec.281718", + "786a1c3b.7589f4", + "61fe1d8c.e2af34", + "ba12fb47.53d948", + "d3f0b010.64855", + "6f63c00d.941b7", + "3b400110.6b1e7e" ] ] }, { - "id": "5687c665.3d66c8", + "id": "131f66f0.9cc699", "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", + "x": 4174.989807128906, + "y": 4881.572756290436, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "6c58dbcc.0312d4", + "id": "baaad063.f0784", "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", + "x": 4183.531066894531, + "y": 4926.592775762081, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "cf586feb.3f85f", + "id": "dfb604ec.281718", "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", + "x": 4173.531188964844, + "y": 4981.592653691769, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "9bd25672.099568", + "id": "786a1c3b.7589f4", "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", + "x": 4173.531066894531, + "y": 5032.592653751373, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "8ce33bb1.456d58", + "id": "61fe1d8c.e2af34", "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", + "x": 4161.531188964844, + "y": 5092.592775762081, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "1b28c419.181bfc", + "id": "ba12fb47.53d948", "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", + "x": 4199.531066894531, + "y": 5142.592775762081, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "9835b420.63cae8", + "id": "d3f0b010.64855", "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", + "x": 4186.531005859375, + "y": 5212.593142032623, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "e5710ecc.f30db", + "id": "6f63c00d.941b7", "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", + "x": 4157.531005859375, + "y": 5276.592165470123, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "2910c8a9.7f88f8", + "id": "3b400110.6b1e7e", "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", + "x": 4145.531555175781, + "y": 5327.592043399811, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "748e1d72.6aec34", + "id": "159ffc84.628f33", "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", + "x": 4120.9898681640625, + "y": 5393.572512149811, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "8dff4ba1.356208", + "id": "3344943c.03b91c", "type": "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", + "x": 3946.9997940063477, + "y": 5405.693818569183, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "fab35c07.8a393", + "id": "c7b3656.341fd98", "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", + "x": 3167.25, + "y": 5595.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "242e0ea7.a01722" + "5d7694c5.34dbcc" ] ] }, { - "id": "242e0ea7.a01722", + "id": "5d7694c5.34dbcc", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3342.250343322754, - "y": 5624.499990463257, - "z": "ef6618ab.e71c28", + "x": 3378.250343322754, + "y": 5597.249984741211, + "z": "4362d1ff.2aa3f", "wires": [ [ - "969e0685.f850b8", - "3c6e1a79.f26096", - "aa2e708b.e308a", - "4203c5c.ffe3e3c", - "4215cbad.f74294", - "35ec1dcf.6b70f2", - "fc856f47.9a3c5", - "2a875355.2f2dcc", - "5c5f4115.5dccd" + "ab816b56.c228c8", + "4cc8ac14.4c1084", + "669b317c.8f914", + "ea7fb9c8.331758", + "d5e81ab2.43c078", + "5c1a93bb.2a6b7c" ] ] }, { - "id": "77051153.b9545", + "id": "490f7c30.bcdce4", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3946.250160217285, - "y": 5844.750289440155, - "z": "ef6618ab.e71c28", + "x": 4733.250263214111, + "y": 5820.500568389893, + "z": "4362d1ff.2aa3f", "wires": [ [ - "db6d8510.b1f948" + "7dff64d3.8f0cac" ] ] }, { - "id": "db6d8510.b1f948", + "id": "7dff64d3.8f0cac", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4138.500228881836, - "y": 5858.500289440155, - "z": "ef6618ab.e71c28", + "x": 5066.500354766846, + "y": 5862.250569343567, + "z": "4362d1ff.2aa3f", "wires": [ [ - "fd72482b.782be8" + "a9877f3b.4573f" ] ] }, { - "id": "fd72482b.782be8", + "id": "a9877f3b.4573f", "type": "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", + "x": 5287.000358581543, + "y": 5823.250177383423, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "1422c9f5.506f26", + "id": "f4895a41.edce18", "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", + "x": 5326.249969482422, + "y": 5916.2501792907715, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "723db737.6846c8", + "id": "3c86c6c3.d5133a", "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", + "x": 5313.249969482422, + "y": 5965.250180244446, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "93bbc5eb.b554a8", + "id": "fadfe465.a559e8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4164.250244140625, - "y": 5926.49978017807, - "z": "ef6618ab.e71c28", + "x": 5082.249961853027, + "y": 5942.2501792907715, + "z": "4362d1ff.2aa3f", "wires": [ [ - "723db737.6846c8", - "1422c9f5.506f26", - "86a7278f.d35238" + "3c86c6c3.d5133a", + "f4895a41.edce18", + "4e23e519.fe1fac" ] ] }, { - "id": "d2b03e66.99c87", + "id": "385a41fc.cda64e", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3945.25, - "y": 5921.49978017807, - "z": "ef6618ab.e71c28", + "x": 4721.249961853027, + "y": 5915.2501792907715, + "z": "4362d1ff.2aa3f", "wires": [ [ - "93bbc5eb.b554a8" + "fadfe465.a559e8" ] ] }, { - "id": "86a7278f.d35238", + "id": "4e23e519.fe1fac", "type": "block", "name": "block : SO Response", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4488.734375, - "y": 2826.5000116825104, - "z": "ef6618ab.e71c28", + "x": 4524.734375, + "y": 2799.2500059604645, + "z": "4362d1ff.2aa3f", "wires": [ [ - "da43e71c.cf65c8", - "92154f9e.512d4", - "ed5ff34a.259f9" + "96b8ef06.a53ed", + "4b3e20b4.2c613", + "d9f58809.0c5d48" ] ] }, { - "id": "da43e71c.cf65c8", + "id": "96b8ef06.a53ed", "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", + "x": 5186.7353515625, + "y": 2591.1496641635895, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "92154f9e.512d4", + "id": "4b3e20b4.2c613", "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", + "x": 5161.734237670898, + "y": 2688.250341653824, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "ed5ff34a.259f9", + "id": "d9f58809.0c5d48", "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", + "x": 5076.73424911499, + "y": 2785.2502195835114, + "z": "4362d1ff.2aa3f", "wires": [ [ - "94d331d7.9e92", - "3ba00a85.1e49e6" + "85148c30.39c6f", + "218762fb.ab09ae" ] ] }, { - "id": "94d331d7.9e92", + "id": "85148c30.39c6f", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 5266.734257698059, - "y": 2789.500194311142, - "z": "ef6618ab.e71c28", + "x": 5302.734257698059, + "y": 2762.250188589096, + "z": "4362d1ff.2aa3f", "wires": [ [ - "3d0b2b8f.9a9274" + "20d54df9.664e32" ] ] }, { - "id": "3ba00a85.1e49e6", + "id": "218762fb.ab09ae", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 5256.734111785889, - "y": 2897.500133752823, - "z": "ef6618ab.e71c28", + "x": 5292.734111785889, + "y": 2870.250128030777, + "z": "4362d1ff.2aa3f", "wires": [ [ - "c1c092dd.a63be" + "fd11d0b3.07c67" ] ] }, { - "id": "c1c092dd.a63be", + "id": "fd11d0b3.07c67", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 5406.733898162842, - "y": 2916.500194787979, - "z": "ef6618ab.e71c28", + "x": 5442.733898162842, + "y": 2889.2501890659332, + "z": "4362d1ff.2aa3f", "wires": [ [ - "61da69a2.a9b298" + "fe84b788.894c78" ] ] }, { - "id": "3d0b2b8f.9a9274", + "id": "20d54df9.664e32", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 5417.734127044678, - "y": 2784.5003163814545, - "z": "ef6618ab.e71c28", + "x": 5453.734127044678, + "y": 2757.2503106594086, + "z": "4362d1ff.2aa3f", "wires": [ [ - "8dd4dce2.b062d" + "1a120f90.93e64" ] ] }, { - "id": "8dd4dce2.b062d", + "id": "1a120f90.93e64", "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", + "x": 5619.733806610107, + "y": 2760.250128030777, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "61da69a2.a9b298", + "id": "fe84b788.894c78", "type": "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", + "x": 5606.733913421631, + "y": 2895.250128030777, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "915904fb.1e3638", + "id": "825c54ce.12e118", "type": "block", "name": "SO Response", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 570.734375, - "y": 4508.50001168251, - "z": "ef6618ab.e71c28", + "x": 606.734375, + "y": 4481.2500059604645, + "z": "4362d1ff.2aa3f", "wires": [ [ - "d0bcc0b9.4a364", - "311e3dfa.63a242", - "1d68fbdc.ba74c4", - "a12bb5.43f8d448" + "d0308193.43c45", + "b15ef3f5.6589f", + "9be523ce.e0186", + "5903adfd.0525f4" ] ] }, { - "id": "1d68fbdc.ba74c4", + "id": "9be523ce.e0186", "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", + "x": 886.7355194091797, + "y": 4331.149490594864, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "d0bcc0b9.4a364", + "id": "d0308193.43c45", "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", + "x": 883.7343521118164, + "y": 4485.250189065933, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "311e3dfa.63a242", + "id": "b15ef3f5.6589f", "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", + "x": 752.7344512939453, + "y": 4602.249893426895, + "z": "4362d1ff.2aa3f", "wires": [ [ - "a04c3484.3d25f8", - "e61fe0ee.b5224" + "80f96dc3.ad65", + "93b00144.9b5f" ] ] }, { - "id": "a04c3484.3d25f8", + "id": "80f96dc3.ad65", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 881.7344512939453, - "y": 4609.499898195267, - "z": "ef6618ab.e71c28", + "x": 917.7344512939453, + "y": 4582.249892473221, + "z": "4362d1ff.2aa3f", "wires": [ [ - "a7e6cc2a.eb0c7" + "e2586682.f91bb8" ] ] }, { - "id": "e61fe0ee.b5224", + "id": "93b00144.9b5f", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 873.7343444824219, - "y": 4682.499848604202, - "z": "ef6618ab.e71c28", + "x": 909.7343444824219, + "y": 4655.249842882156, + "z": "4362d1ff.2aa3f", "wires": [ [ - "54b00c26.7346a4" + "30858c48.694cf4" ] ] }, { - "id": "54b00c26.7346a4", + "id": "30858c48.694cf4", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1019.734188079834, - "y": 4687.499957323074, - "z": "ef6618ab.e71c28", + "x": 1055.734188079834, + "y": 4660.249951601028, + "z": "4362d1ff.2aa3f", "wires": [ [ - "8e01ee3a.8ad23" + "f58acaf.be64e38" ] ] }, { - "id": "a7e6cc2a.eb0c7", + "id": "e2586682.f91bb8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1030.7343521118164, - "y": 4605.50003361702, - "z": "ef6618ab.e71c28", + "x": 1066.7343521118164, + "y": 4578.250027894974, + "z": "4362d1ff.2aa3f", "wires": [ [ - "34eb0190.4684fe", - "5482e5dd.7c2b8c" + "ba6638d1.bd1048", + "a874463a.ec9d68" ] ] }, { - "id": "34eb0190.4684fe", + "id": "ba6638d1.bd1048", "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", + "x": 1213.7339706420898, + "y": 4589.249769449234, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "8e01ee3a.8ad23", + "id": "f58acaf.be64e38", "type": "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", + "x": 1216.7341079711914, + "y": 4666.249843835831, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "5482e5dd.7c2b8c", + "id": "a874463a.ec9d68", "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", + "x": 1201.2445793151855, + "y": 4493.2392609119415, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "a12bb5.43f8d448", + "id": "5903adfd.0525f4", "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", + "x": 906.073974609375, + "y": 4421.23534321785, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "e6b24565.3c8fe8", + "id": "f5b36009.94336", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2272.25, - "y": 1823.500009059906, - "z": "ef6618ab.e71c28", + "x": 2308.25, + "y": 1796.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "656dc107.984c" + "a1cef41b.5b1018" ] ] }, { - "id": "656dc107.984c", + "id": "a1cef41b.5b1018", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2465.239658355713, - "y": 1823.5001311302185, - "z": "ef6618ab.e71c28", + "x": 2501.239658355713, + "y": 1796.2501254081726, + "z": "4362d1ff.2aa3f", "wires": [ [ - "8012518.b5bfdb", - "f91ea328.ebc47" + "d86ebd18.4d977", + "8ed5b7ef.5cae58" ] ] }, { - "id": "8012518.b5bfdb", + "id": "d86ebd18.4d977", "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", + "x": 2808.239845275879, + "y": 1763.2502264976501, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "f91ea328.ebc47", + "id": "8ed5b7ef.5cae58", "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", + "x": 2752.240245819092, + "y": 1816.2504200935364, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "df53585c.b9fa48", + "id": "7ad33459.55586c", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2699.75, - "y": 1207.500009059906, - "z": "ef6618ab.e71c28", + "x": 2735.75, + "y": 1180.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "225894d1.8370fc", - "95590d66.9470f" + "8c262204.3f3ee", + "f710e206.35267" ] ] }, { - "id": "95590d66.9470f", + "id": "f710e206.35267", "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", + "x": 2986.750431060791, + "y": 1203.25013589859, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "225894d1.8370fc", + "id": "8c262204.3f3ee", "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", + "x": 3042.750030517578, + "y": 1150.2499423027039, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "de96ded3.4fa2f", + "id": "a1b0bfb5.6ad35", "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", + "x": 2813.250015258789, + "y": 2845.250346660614, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "4d3c0364.97325c", + "id": "852e3951.ec35c8", "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", + "x": 2887.249725341797, + "y": 2794.2501006126404, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "a99c6274.c44fa", + "id": "bd330133.9df87", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2531.2496795654297, - "y": 2859.5000977516174, - "z": "ef6618ab.e71c28", + "x": 2567.2496795654297, + "y": 2832.2500920295715, + "z": "4362d1ff.2aa3f", "wires": [ [ - "4d3c0364.97325c", - "de96ded3.4fa2f" + "852e3951.ec35c8", + "a1b0bfb5.6ad35" ] ] }, { - "id": "50c98569.82627c", + "id": "aa9b3325.61939", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2042.2499809265137, - "y": 3303.499955177307, - "z": "ef6618ab.e71c28", + "x": 2078.2499809265137, + "y": 3276.2499494552612, + "z": "4362d1ff.2aa3f", "wires": [ [ - "351d6399.5cd30c", - "a5e99380.d4a59" + "a3c62769.3876d8", + "9c5f2f2a.68209" ] ] }, { - "id": "351d6399.5cd30c", + "id": "a3c62769.3876d8", "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", + "x": 2345.249984741211, + "y": 3209.249948501587, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "a5e99380.d4a59", + "id": "9c5f2f2a.68209", "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", + "x": 2319.2501792907715, + "y": 3248.250144958496, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "2250a766.25eda8", + "id": "81deb97d.0d7ee8", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1833.7499771118164, - "y": 3309.4999561309814, - "z": "ef6618ab.e71c28", + "x": 1869.7499771118164, + "y": 3282.2499504089355, + "z": "4362d1ff.2aa3f", "wires": [ [ - "50c98569.82627c" + "aa9b3325.61939" ] ] }, { - "id": "160b7724.4df4a9", + "id": "8d78b322.64de7", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3441.75, - "y": 4642.500009059906, - "z": "ef6618ab.e71c28", + "x": 3477.75, + "y": 4615.25000333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "264ce025.0807b", - "2b5b3237.0e1efe" + "2d895443.31277c", + "92252a66.1715b8" ] ] }, { - "id": "264ce025.0807b", + "id": "2d895443.31277c", "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", + "x": 3784.750030517578, + "y": 4585.249942302704, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "2b5b3237.0e1efe", + "id": "92252a66.1715b8", "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", + "x": 3728.750431060791, + "y": 4638.25013589859, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "aa35c14e.99f5f", + "id": "d3e734d8.c242d8", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3332.4999504089355, - "y": 5332.499984741211, - "z": "ef6618ab.e71c28", + "x": 3368.4999504089355, + "y": 5305.249979019165, + "z": "4362d1ff.2aa3f", "wires": [ [ - "b1405a60.ac92a8" + "1f388abe.d63115" ] ] }, { - "id": "b1405a60.ac92a8", + "id": "1f388abe.d63115", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3493.500343322754, - "y": 5388.74959564209, - "z": "ef6618ab.e71c28", + "x": 3529.500343322754, + "y": 5361.499589920044, + "z": "4362d1ff.2aa3f", "wires": [ [ - "dd2a8f8c.e107d", - "e03fb918.ca7628" + "25e6abd3.4d0104", + "3a02ac02.7f1d64" ] ] }, { - "id": "dd2a8f8c.e107d", + "id": "25e6abd3.4d0104", "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", + "x": 3779.5003509521484, + "y": 5305.49958896637, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "e03fb918.ca7628", + "id": "3a02ac02.7f1d64", "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", + "x": 3770.500343322754, + "y": 5346.499980926514, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "8f101564.7b6a68", + "id": "ca0235ac.0278c8", "type": "comment", "name": "terminateRANSliceInstance/instantiateRANSliceModifyDeallocate-CPS", "info": "", "comments": "", - "x": 794.5000286102295, - "y": 97.750009059906, - "z": "ef6618ab.e71c28", + "x": 830.5000286102295, + "y": 70.50000333786011, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "1265ccfb.824893", + "id": "b030ec80.afe94", "type": "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", + "x": 449.7500305175781, + "y": 47.7499942779541, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "e3604cfc.48576", + "id": "29244ea7.043122", "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", + "x": 474.7498092651367, + "y": 91.75001335144043, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "848d52eb.8cc75", + "id": "3e23694f.30ec66", "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", + "x": 563.749813079834, + "y": 162.73952865600586, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "7d478635.d81058", + "id": "9228750a.cc8a58", "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", + "x": 602.7497634887695, + "y": 198.74990463256836, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "d1a91050.f5c7d", + "id": "2efc8306.c0963c", "type": "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", + "x": 623.7497634887695, + "y": 235.50000286102295, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "a90ef80c.176158", + "id": "77983397.219fbc", "type": "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", + "x": 665.4935874938965, + "y": 1077.493516921997, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "907603d2.1339e", + "id": "a9ad87e1.e88a28", "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", + "x": 2117.7776947021484, + "y": 577.7221846580505, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "bf15866.078ce78", + "id": "e095ba7d.602cb8", "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", + "x": 2586.749767303467, + "y": 2291.333149433136, + "z": "4362d1ff.2aa3f", "wires": [ [ - "f5cb88dc.a371c8" + "1e319aae.f4d585" ] ] }, { - "id": "f5cb88dc.a371c8", + "id": "1e319aae.f4d585", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2780.416763305664, - "y": 2318.694287776947, - "z": "ef6618ab.e71c28", + "x": 2816.416763305664, + "y": 2291.444282054901, + "z": "4362d1ff.2aa3f", "wires": [ [ - "4de91968.5984d8", - "ee7af470.070a48", - "c0ee8345.b60eb", - "3e40d822.6b3008", - "9c0cb6c5.a91938" + "1f23efc3.f03c9", + "e16560e.13187a", + "8e9f39fe.22deb8", + "eab684d4.949ff8", + "83d7cbd0.78b1c8", + "4c7b1b22.bd0f74", + "b468c089.b2fb5", + "e800da47.171388" ] ] }, { - "id": "4de91968.5984d8", + "id": "1f23efc3.f03c9", "type": "switchNode", - "name": "if length > 0 ", - "xml": "<switch test='`$tmp.NRCellCURRMPolicyMembersLength > 0`'>\n\n \n", + "name": "if length == 1 ", + "xml": "<switch test='`$tmp.NRCellCURRMPolicyMembersLength == 1`'>\n\n \n", "comments": "", "outputs": 1, - "x": 2919.583595275879, - "y": 2231.833092212677, - "z": "ef6618ab.e71c28", + "x": 2954.5836334228516, + "y": 2192.5829372406006, + "z": "4362d1ff.2aa3f", "wires": [ [ - "fd3be88a.350e78", - "32af5c3a.596024" + "98938333.6b5a2", + "e5e652a3.421ec" ] ] }, { - "id": "fd3be88a.350e78", + "id": "98938333.6b5a2", "type": "success", "name": "success", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3071.250068664551, - "y": 2206.3885741233826, - "z": "ef6618ab.e71c28", + "x": 3107.250068664551, + "y": 2179.1385684013367, + "z": "4362d1ff.2aa3f", "wires": [ [ - "72da6984.9ea608" + "beebda72.f8ff18" ] ] }, { - "id": "72da6984.9ea608", + "id": "beebda72.f8ff18", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3237.9164695739746, - "y": 2207.3889498710632, - "z": "ef6618ab.e71c28", + "x": 3273.9164695739746, + "y": 2180.1389441490173, + "z": "4362d1ff.2aa3f", "wires": [ [ - "ae18d644.440868" + "3b0f263b.b3c9aa", + "793708dc.13b3a8" ] ] }, { - "id": "ae18d644.440868", + "id": "3b0f263b.b3c9aa", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3085.694351196289, - "y": 2086.277685403824, - "z": "ef6618ab.e71c28", + "x": 3533.694381713867, + "y": 2076.027660369873, + "z": "4362d1ff.2aa3f", "wires": [ [ - "90dc7898.ac75a8", - "17d96053.23ca3" + "aeba2e57.0e679", + "d0a9dc8a.68924" ] ] }, { - "id": "90dc7898.ac75a8", + "id": "aeba2e57.0e679", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3329.028091430664, - "y": 2102.1663641929626, - "z": "ef6618ab.e71c28", + "x": 3745.028175354004, + "y": 2025.9164562225342, + "z": "4362d1ff.2aa3f", "wires": [ [ - "344ab0a7.26b28" + "158980d8.1f10df" ] ] }, { - "id": "17d96053.23ca3", + "id": "d0a9dc8a.68924", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3319.8716011047363, - "y": 2142.6106476783752, - "z": "ef6618ab.e71c28", + "x": 3724.871536254883, + "y": 2119.360475540161, + "z": "4362d1ff.2aa3f", "wires": [ [ - "efb17bc0.abe2d8" + "32f3eff0.74ae5" ] ] }, { - "id": "344ab0a7.26b28", + "id": "158980d8.1f10df", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3510.4165115356445, - "y": 2103.499964237213, - "z": "ef6618ab.e71c28", + "x": 3917.4164657592773, + "y": 2024.2500476837158, + "z": "4362d1ff.2aa3f", "wires": [ [ - "7114d556.6dd30c" + "b7edbf21.77999" ] ] }, { - "id": "efb17bc0.abe2d8", + "id": "32f3eff0.74ae5", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3501.527587890625, - "y": 2145.722002506256, - "z": "ef6618ab.e71c28", + "x": 3888.527786254883, + "y": 2123.471802711487, + "z": "4362d1ff.2aa3f", "wires": [ [ - "b651f452.31d918", - "9838b8bf.63bba8" + "898aec19.a071f", + "3df8e608.015b6a" ] ] }, { - "id": "7114d556.6dd30c", + "id": "b7edbf21.77999", "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", + "x": 4181.694580078125, + "y": 2026.4723138809204, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "b651f452.31d918", + "id": "898aec19.a071f", "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", + "x": 4171.805511474609, + "y": 2104.805591583252, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "9838b8bf.63bba8", + "id": "3df8e608.015b6a", "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", + "x": 4157.249664306641, + "y": 2142.3610610961914, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "32af5c3a.596024", + "id": "e5e652a3.421ec", "type": "failure", "name": "failure", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3074.861053466797, - "y": 2260.7221236228943, - "z": "ef6618ab.e71c28", + "x": 3110.861053466797, + "y": 2233.4721179008484, + "z": "4362d1ff.2aa3f", "wires": [ [ - "717697b8.50d648" + "100bd65c.822ffa" ] ] }, { - "id": "717697b8.50d648", + "id": "100bd65c.822ffa", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3260.5281372070312, - "y": 2249.0554423332214, - "z": "ef6618ab.e71c28", + "x": 3296.5281372070312, + "y": 2221.8054366111755, + "z": "4362d1ff.2aa3f", "wires": [ [ - "2f0c683.4f69298", - "e61d872b.51c228" + "9520f4bf.787b48", + "6dcc7813.e3e918", + "33aceed8.67cb72" ] ] }, { - "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", + "id": "9520f4bf.787b48", "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", + "x": 3592.8054733276367, + "y": 2265.6943140029907, + "z": "4362d1ff.2aa3f", "wires": [ [ - "3accf9bd.08c7b6" + "8c9e7813.dd9208", + "cbe5319b.fdcfe" ] ] }, { - "id": "3accf9bd.08c7b6", + "id": "8c9e7813.dd9208", "type": "success", "name": "success", - "xml": "<outcome value='success'>\n", + "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3782.638885498047, - "y": 2257.3886275291443, - "z": "ef6618ab.e71c28", + "x": 3818.638885498047, + "y": 2230.1386218070984, + "z": "4362d1ff.2aa3f", "wires": [ [ - "d5d89612.3d3528" + "826fcd38.202af" ] ] }, { - "id": "d5d89612.3d3528", + "id": "826fcd38.202af", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4006.249725341797, - "y": 2254.0553755760193, - "z": "ef6618ab.e71c28", + "x": 4042.249725341797, + "y": 2226.8053698539734, + "z": "4362d1ff.2aa3f", "wires": [ [ - "ff448220.a1efe", - "c7b7fd29.c8df2", - "55af628d.5f572c" + "118718e3.68c1b7", + "76d72c16.084914", + "35ad06cb.b6516a", + "2934c5cc.82cd4a" ] ] }, { - "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", + "id": "e2d5c1d8.66118", "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", + "x": 4837.360374450684, + "y": 2286.805455684662, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "c7b7fd29.c8df2", + "id": "118718e3.68c1b7", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 4229.138465881348, - "y": 2317.3889269828796, - "z": "ef6618ab.e71c28", + "x": 4265.138465881348, + "y": 2290.1389212608337, + "z": "4362d1ff.2aa3f", "wires": [ [ - "d4cdc97e.ad6b88", - "12532403.3fe08c" + "30ec3188.4c35ee", + "ff7f3dbc.28898" ] ] }, { - "id": "d4cdc97e.ad6b88", + "id": "30ec3188.4c35ee", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 4472.472526550293, - "y": 2316.610950946808, - "z": "ef6618ab.e71c28", + "x": 4508.472526550293, + "y": 2289.360945224762, + "z": "4362d1ff.2aa3f", "wires": [ [ - "ac3b1d0d.a1fd7" + "e2d5c1d8.66118" ] ] }, { - "id": "12532403.3fe08c", + "id": "ff7f3dbc.28898", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 4463.315940856934, - "y": 2368.1663451194763, - "z": "ef6618ab.e71c28", + "x": 4499.315940856934, + "y": 2340.9163393974304, + "z": "4362d1ff.2aa3f", "wires": [ [ - "cddecda9.2e57e" + "4b3294e8.f6928c" ] ] }, { - "id": "c51a2207.443e4", + "id": "ed556a45.9eada8", "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", + "x": 4966.527503967285, + "y": 2332.3613810539246, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "dcbaf818.0a7008", + "id": "d2470381.0873a", "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", + "x": 4886.5272216796875, + "y": 2391.2497973442078, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "cddecda9.2e57e", + "id": "4b3294e8.f6928c", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4630.249794006348, - "y": 2365.7221789360046, - "z": "ef6618ab.e71c28", + "x": 4666.249794006348, + "y": 2338.4721732139587, + "z": "4362d1ff.2aa3f", "wires": [ [ - "c51a2207.443e4", - "dcbaf818.0a7008" + "ed556a45.9eada8", + "d2470381.0873a" ] ] }, { - "id": "f69925d0.0398b8", + "id": "c33706b4.c283d8", "type": "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", + "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<parameter name=\"field5\" value=\"RRMPolicyRatio member id\"/>\n<parameter name=\"field6\" value=\"`$tmp.RRMPolicyMember_id`\"/>", "comments": "", "outputs": 1, - "x": 2499.8609352111816, - "y": 2374.889148235321, - "z": "ef6618ab.e71c28", + "x": 2552.861072540283, + "y": 2349.639042854309, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "672cacb9.6f85d4", + "id": "fa2cd2e4.57dc4", "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", + "x": 3574.639015197754, + "y": 2441.6389951705933, + "z": "4362d1ff.2aa3f", "wires": [ [ - "d8d77892.ec9ac8", - "89c3213e.72fa2" + "eedbf3af.919aa", + "9ce89205.57be4" ] ] }, { - "id": "d8d77892.ec9ac8", + "id": "eedbf3af.919aa", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2880.3888359069824, - "y": 2462.638934612274, - "z": "ef6618ab.e71c28", + "x": 3791.389019012451, + "y": 2396.3889951705933, + "z": "4362d1ff.2aa3f", "wires": [ [ - "c9fcfcec.44f11" + "36936845.91f328" ] ] }, { - "id": "c9fcfcec.44f11", + "id": "36936845.91f328", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3083.8888931274414, - "y": 2465.1389355659485, - "z": "ef6618ab.e71c28", + "x": 3963.889015197754, + "y": 2419.8888969421387, + "z": "4362d1ff.2aa3f", "wires": [ [ - "889c6b33.e73368" + "ee36526d.0f15" ] ] }, { - "id": "889c6b33.e73368", + "id": "ee36526d.0f15", "type": "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", + "x": 4117.38862991333, + "y": 2425.139091491699, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "8493398c.628a48", + "id": "8c25aaa9.75d428", "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", + "x": 4161.63862991333, + "y": 2503.138897895813, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "8d0bbd02.7cc77", + "id": "7e129e38.849d", "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", + "x": 4189.638236999512, + "y": 2572.1388988494873, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "9a36c927.c25bb8", + "id": "e0801025.8e3b5", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3080.889320373535, - "y": 2516.888967037201, - "z": "ef6618ab.e71c28", + "x": 3998.889804840088, + "y": 2527.6388988494873, + "z": "4362d1ff.2aa3f", "wires": [ [ - "8d0bbd02.7cc77", - "8493398c.628a48", - "86a7278f.d35238" + "7e129e38.849d", + "8c25aaa9.75d428", + "4e23e519.fe1fac" ] ] }, { - "id": "89c3213e.72fa2", + "id": "9ce89205.57be4", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2875.6388359069824, - "y": 2501.888967037201, - "z": "ef6618ab.e71c28", + "x": 3827.639019012451, + "y": 2522.6388988494873, + "z": "4362d1ff.2aa3f", "wires": [ [ - "9a36c927.c25bb8" + "e0801025.8e3b5" ] ] }, { - "id": "55af628d.5f572c", + "id": "76d72c16.084914", "type": "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", + "x": 4260.576431274414, + "y": 2242.4652128219604, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "8c2f38a0.f9fb28", + "id": "7e51e929.5df288", "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", + "x": 2325.138946533203, + "y": 1336.652853012085, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "ee7af470.070a48", + "id": "e16560e.13187a", "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", + "x": 3072.326461791992, + "y": 2266.715311050415, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "c0ee8345.b60eb", + "id": "8e9f39fe.22deb8", "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", + "x": 3049.826461791992, + "y": 2305.9652137756348, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "3e40d822.6b3008", + "id": "eab684d4.949ff8", "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", + "x": 3070.264549255371, + "y": 2340.527714729309, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "9c0cb6c5.a91938", + "id": "83d7cbd0.78b1c8", "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", + "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=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n\n", "comments": "", "outputs": 1, - "x": 3040.763946533203, - "y": 2414.527820110321, - "z": "ef6618ab.e71c28", + "x": 3085.763961791992, + "y": 2372.2778129577637, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "c6edfac9.7c9c58", + "id": "acc58f8b.9d227", "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", + "x": 2328.013946533203, + "y": 1101.3403491973877, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "1b88da83.b7eeb5", + "id": "95236b74.cd4db8", "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", + "x": 1602.13916015625, + "y": 2626.4726457595825, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "81a294ba.0e11e8", + "id": "f0e35392.1a742", "type": "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", + "x": 1456.1390838623047, + "y": 2676.472743988037, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "54d6339e.a38aec", + "id": "9fbafdf5.56349", "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", + "x": 1463.0282440185547, + "y": 2720.0276279449463, + "z": "4362d1ff.2aa3f", "wires": [ [ - "276143e5.03bb8c", - "e635ef1e.b8037" + "c7bc2152.03b55", + "bf8dcb31.c35428" ] ] }, { - "id": "276143e5.03bb8c", + "id": "c7bc2152.03b55", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1600.2500228881836, - "y": 2701.5004844665527, - "z": "ef6618ab.e71c28", + "x": 1636.2500228881836, + "y": 2674.250478744507, + "z": "4362d1ff.2aa3f", "wires": [ [ - "55957445.1f742c" + "b801dc72.c8dbb" ] ] }, { - "id": "93bc35c0.833c98", + "id": "4aae5e26.06af", "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", + "x": 1998.2499771118164, + "y": 2825.250334739685, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "153e8344.b21fcd", + "id": "7a0f9fee.c13c6", "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", + "x": 2003.7501678466797, + "y": 2860.75053024292, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "ecd0711.911899", + "id": "f591038a.6c231", "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", + "x": 1992.3891372680664, + "y": 2895.9028749465942, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "66f45efa.a8ba4", + "id": "b146627e.002d7", "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", + "x": 2005.0001678466797, + "y": 2934.2503356933594, + "z": "4362d1ff.2aa3f", "wires": [ [ - "f731369c.1f2078", - "1dc9bdec.d9f382" + "3e784514.826d0a", + "bccc5f49.9e394" ] ] }, { - "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", + "id": "4d4f8013.e437c", "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", + "x": 2120.2222442626953, + "y": 3613.027786254883, + "z": "4362d1ff.2aa3f", "wires": [ [ - "28c3a324.a0b91c" + "c6688874.fbbf88" ] ] }, { - "id": "28c3a324.a0b91c", + "id": "c6688874.fbbf88", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2309.888900756836, - "y": 3530.3890705108643, - "z": "ef6618ab.e71c28", + "x": 2345.888900756836, + "y": 3503.1390647888184, + "z": "4362d1ff.2aa3f", "wires": [ [ - "93158c88.68e73", - "25c33e22.4b4582", - "f0f0f73c.3cc7a8", - "74150b42.d93ce4", - "814d0d47.dc151" + "80063a16.c2e968", + "aa612dda.ec164", + "91981769.928308", + "843d0980.041f18", + "bd372935.fad1c8", + "af237d9f.d9f0c", + "b176ba88.4b4458" ] ] }, { - "id": "93158c88.68e73", + "id": "80063a16.c2e968", "type": "switchNode", - "name": "if length > 0 ", - "xml": "<switch test='`$tmp.CUUPRRMPolicyMembersLength > 0`'>\n \n", + "name": "if length == 1", + "xml": "<switch test='`$tmp.CUUPRRMPolicyMembersLength == 1`'>\n \n", "comments": "", "outputs": 1, - "x": 2448.055892944336, - "y": 3431.527892589569, - "z": "ef6618ab.e71c28", + "x": 2484.055892944336, + "y": 3404.277886867523, + "z": "4362d1ff.2aa3f", "wires": [ [ - "3c9ad90f.5cbbe6", - "f8de9f4d.8a2f5" + "bf9689c.23fa678", + "32e12bc7.522ed4" ] ] }, { - "id": "3c9ad90f.5cbbe6", + "id": "bf9689c.23fa678", "type": "success", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2596.722499847412, - "y": 3386.08296918869, - "z": "ef6618ab.e71c28", + "x": 2632.722499847412, + "y": 3358.8329634666443, + "z": "4362d1ff.2aa3f", "wires": [ [ - "a746dc11.ec75c" + "a7eba858.8192a8" ] ] }, { - "id": "a746dc11.ec75c", + "id": "a7eba858.8192a8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2756.3888511657715, - "y": 3443.083552837372, - "z": "ef6618ab.e71c28", + "x": 2792.3888511657715, + "y": 3415.833547115326, + "z": "4362d1ff.2aa3f", "wires": [ [ - "b3dc5050.4c54c", - "80534116.ca9af" + "4dc29dc4.5253a4", + "f63699d.32da168", + "e736d331.e0c38" ] ] }, { - "id": "b3dc5050.4c54c", + "id": "4dc29dc4.5253a4", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2804.1669311523438, - "y": 3258.972421169281, - "z": "ef6618ab.e71c28", + "x": 2859.1669387817383, + "y": 3233.7227964401245, + "z": "4362d1ff.2aa3f", "wires": [ [ - "692c82fc.02dd2c", - "173fc19c.87bcde" + "f71cc03a.73e48", + "4e6239ea.2a1048" ] ] }, { - "id": "692c82fc.02dd2c", + "id": "f71cc03a.73e48", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2847.500473022461, - "y": 3337.8609671592712, - "z": "ef6618ab.e71c28", + "x": 2883.500473022461, + "y": 3310.6109614372253, + "z": "4362d1ff.2aa3f", "wires": [ [ - "855ba5f7.0c5788" + "910e8451.4f33c8" ] ] }, { - "id": "173fc19c.87bcde", + "id": "4e6239ea.2a1048", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2838.343982696533, - "y": 3378.305250644684, - "z": "ef6618ab.e71c28", + "x": 2874.343982696533, + "y": 3351.055244922638, + "z": "4362d1ff.2aa3f", "wires": [ [ - "5fb3e19c.4fe5e" + "cf4d9020.73368" ] ] }, { - "id": "855ba5f7.0c5788", + "id": "910e8451.4f33c8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3028.8888931274414, - "y": 3339.1945672035217, - "z": "ef6618ab.e71c28", + "x": 3064.8888931274414, + "y": 3311.944561481476, + "z": "4362d1ff.2aa3f", "wires": [ [ - "c29b3e94.917ca", - "230243f4.b1d3ac", - "c9ed0d14.ac512" + "7c753ed4.67e1b", + "22d7f2fa.06bb3e" ] ] }, { - "id": "5fb3e19c.4fe5e", + "id": "cf4d9020.73368", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3019.999969482422, - "y": 3381.4166054725647, - "z": "ef6618ab.e71c28", + "x": 3055.999969482422, + "y": 3354.166599750519, + "z": "4362d1ff.2aa3f", "wires": [ [ - "5d773c44.2fc9b4", - "3680afb.372cb5" + "9ee4a6e7.5e8148", + "4f476de7.998814" ] ] }, { - "id": "230243f4.b1d3ac", + "id": "22d7f2fa.06bb3e", "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", + "x": 3388.166458129883, + "y": 3199.167284011841, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "5d773c44.2fc9b4", + "id": "9ee4a6e7.5e8148", "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", + "x": 3356.2777786254883, + "y": 3363.50048828125, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "3680afb.372cb5", + "id": "4f476de7.998814", "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", + "x": 3285.722312927246, + "y": 3396.055567741394, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "f8de9f4d.8a2f5", + "id": "32e12bc7.522ed4", "type": "failure", "name": "False", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2596.3336296081543, - "y": 3476.416955471039, - "z": "ef6618ab.e71c28", + "x": 2632.3336296081543, + "y": 3449.166949748993, + "z": "4362d1ff.2aa3f", "wires": [ [ - "372f6399.fbe82c" + "a2cfcdbf.309ab" ] ] }, { - "id": "372f6399.fbe82c", + "id": "a2cfcdbf.309ab", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2779.000518798828, - "y": 3484.75004529953, - "z": "ef6618ab.e71c28", + "x": 2815.000518798828, + "y": 3457.500039577484, + "z": "4362d1ff.2aa3f", "wires": [ [ - "c826720f.e7abe", - "b943ca8c.dc0588", - "8437179b.8ec7a8" + "3c9abb5a.2b8f74", + "bf3a0798.9998a8", + "c644812f.e5824" ] ] }, { - "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", + "id": "3c9abb5a.2b8f74", "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", + "x": 3106.2777786254883, + "y": 3498.389214992523, + "z": "4362d1ff.2aa3f", "wires": [ [ - "e2627326.2d84" + "a512fe76.ea7c6", + "a8436112.ba03b" ] ] }, { - "id": "e2627326.2d84", + "id": "a512fe76.ea7c6", "type": "success", "name": "success", - "xml": "<outcome value='success'>\n", + "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3301.1112670898438, - "y": 3493.083230495453, - "z": "ef6618ab.e71c28", + "x": 3337.1112670898438, + "y": 3465.833224773407, + "z": "4362d1ff.2aa3f", "wires": [ [ - "fbaa4d41.1c083" + "9e667410.3e9518" ] ] }, { - "id": "fbaa4d41.1c083", + "id": "9e667410.3e9518", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3524.7221069335938, - "y": 3489.749978542328, - "z": "ef6618ab.e71c28", + "x": 3560.7221069335938, + "y": 3462.499972820282, + "z": "4362d1ff.2aa3f", "wires": [ [ - "1362be16.41b692", - "ac4e8854.da6348", - "649ff35.3b4d30c" + "ff81a889.f03468", + "25105a3d.a48b56", + "bb42cbe8.b379e8" ] ] }, { - "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", + "id": "25105a3d.a48b56", "type": "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", + "x": 3778.0487670898438, + "y": 3478.159884929657, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "ac4e8854.da6348", + "id": "ff81a889.f03468", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3747.6108474731445, - "y": 3553.0835299491882, - "z": "ef6618ab.e71c28", + "x": 3783.6108474731445, + "y": 3525.8335242271423, + "z": "4362d1ff.2aa3f", "wires": [ [ - "b9c47227.ccdc6", - "39bb9059.2905f" + "9a588c81.f7cdf", + "a5647f81.d56e" ] ] }, { - "id": "b9c47227.ccdc6", + "id": "9a588c81.f7cdf", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3990.94490814209, - "y": 3552.3055539131165, - "z": "ef6618ab.e71c28", + "x": 4026.94490814209, + "y": 3525.0555481910706, + "z": "4362d1ff.2aa3f", "wires": [ [ - "3e74737c.d92dec" + "647e74b7.20b18c" ] ] }, { - "id": "39bb9059.2905f", + "id": "a5647f81.d56e", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3981.7883224487305, - "y": 3603.860948085785, - "z": "ef6618ab.e71c28", + "x": 4017.7883224487305, + "y": 3576.610942363739, + "z": "4362d1ff.2aa3f", "wires": [ [ - "2c126c58.8f06c4" + "80017c82.b62cc" ] ] }, { - "id": "3e74737c.d92dec", + "id": "647e74b7.20b18c", "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", + "x": 4355.8327560424805, + "y": 3522.5000586509705, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "2c126c58.8f06c4", + "id": "80017c82.b62cc", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4148.7221755981445, - "y": 3601.4167819023132, - "z": "ef6618ab.e71c28", + "x": 4184.7221755981445, + "y": 3574.1667761802673, + "z": "4362d1ff.2aa3f", "wires": [ [ - "7e5e82d8.f2cb0c", - "4b252233.88a5dc" + "c8411058.b493d", + "8f6b258e.c76f58" ] ] }, { - "id": "7e5e82d8.f2cb0c", + "id": "c8411058.b493d", "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", + "x": 4484.999885559082, + "y": 3568.055984020233, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "4b252233.88a5dc", + "id": "8f6b258e.c76f58", "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", + "x": 4404.999603271484, + "y": 3626.9444003105164, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "25c33e22.4b4582", + "id": "aa612dda.ec164", "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", + "x": 2578.5001373291016, + "y": 3521.5003447532654, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "f0f0f73c.3cc7a8", + "id": "91981769.928308", "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", + "x": 2567.4380264282227, + "y": 3554.3128452301025, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "74150b42.d93ce4", + "id": "843d0980.041f18", "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", + "x": 2577.9376373291016, + "y": 3591.062846183777, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "58c36fb8.f4dfe", + "id": "4f8d0c9a.694174", "type": "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", + "x": 2066.034355163574, + "y": 3657.4242725372314, + "z": "4362d1ff.2aa3f", "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", + "id": "21dd4862.afda18", "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", + "x": 2194.437728881836, + "y": 4226.125453948975, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "390b889.487c978", + "id": "78a5102e.7222d", "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", + "x": 2237.7713165283203, + "y": 4343.125455856323, + "z": "4362d1ff.2aa3f", "wires": [ [ - "2f1d5905.26edc6" + "5eb897c7.b09868" ] ] }, { - "id": "4d74a9ab.0a99b8", + "id": "c87a5522.3bc938", "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", + "x": 2859.29891204834, + "y": 4341.375453948975, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "52a23239.3966bc", + "id": "18e78151.58507f", "type": "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", + "x": 2779.0487670898438, + "y": 4383.3750648498535, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "9db8a2d.1060f6", + "id": "6d92ff7a.b0f38", "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", + "x": 2777.1876335144043, + "y": 4439.680534362793, + "z": "4362d1ff.2aa3f", "wires": [ [ - "74941460.666fcc" + "136966cd.24db19" ] ] }, { - "id": "74941460.666fcc", + "id": "136966cd.24db19", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2894.659900665283, - "y": 4470.402805328369, - "z": "ef6618ab.e71c28", + "x": 2930.659900665283, + "y": 4443.152799606323, + "z": "4362d1ff.2aa3f", "wires": [ [ - "47b8e29b.68b05c" + "1da572e1.65fbad" ] ] }, { - "id": "a0cd0fbb.6491d", + "id": "13ded8db.371d47", "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", + "x": 3106.1875, + "y": 4910.81250333786, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "969e0685.f850b8", + "id": "ab816b56.c228c8", "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", + "x": 3690.472366333008, + "y": 5696.715214729309, + "z": "4362d1ff.2aa3f", "wires": [ [ - "1809465d.9c9f8a" + "6a910ba6.333744" ] ] }, { - "id": "1809465d.9c9f8a", + "id": "6a910ba6.333744", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3879.1390228271484, - "y": 5703.076847076416, - "z": "ef6618ab.e71c28", + "x": 3915.1390228271484, + "y": 5675.82684135437, + "z": "4362d1ff.2aa3f", "wires": [ [ - "339f697a.dd3e66", - "6499a345.d7027c", - "420a8b96.8ef064", - "d37ffbec.0600c8", - "d3868686.13f658" + "f8ac8873.806398", + "d32bde12.52b6b", + "11ae5018.73325", + "89f1b497.5ec5e8", + "ccf556a9.8906e8", + "3d14a997.5217d6", + "bd39660d.8679b8" ] ] }, { - "id": "339f697a.dd3e66", + "id": "f8ac8873.806398", "type": "switchNode", - "name": "if length > 0 ", - "xml": "<switch test='`$tmp.DURRMPolicyMembersLength > 0`'>\n", + "name": "if length == 1", + "xml": "<switch test='`$tmp.DURRMPolicyMembersLength == 1`'>\n", "comments": "", "outputs": 1, - "x": 4036.056137084961, - "y": 5617.71537733078, - "z": "ef6618ab.e71c28", + "x": 4072.056137084961, + "y": 5590.465371608734, + "z": "4362d1ff.2aa3f", "wires": [ [ - "a71ed519.6ac118", - "3b7bdbc1.3a8654" + "b40f0a4c.b17268", + "ae836305.74e86" ] ] }, { - "id": "a71ed519.6ac118", + "id": "b40f0a4c.b17268", "type": "success", "name": "success", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 4178.972393035889, - "y": 5575.770593166351, - "z": "ef6618ab.e71c28", + "x": 4214.972393035889, + "y": 5548.520587444305, + "z": "4362d1ff.2aa3f", "wires": [ [ - "cca6f31.8a6801" + "e41c1d51.9b56" ] ] }, { - "id": "cca6f31.8a6801", + "id": "e41c1d51.9b56", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4345.6388511657715, - "y": 5575.771052837372, - "z": "ef6618ab.e71c28", + "x": 4381.6388511657715, + "y": 5548.521047115326, + "z": "4362d1ff.2aa3f", "wires": [ [ - "c1bc64d5.0f59b8" + "77f70e50.506bb", + "479e281f.6780e8" ] ] }, { - "id": "c1bc64d5.0f59b8", + "id": "77f70e50.506bb", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 4193.416732788086, - "y": 5454.659788370132, - "z": "ef6618ab.e71c28", + "x": 4631.416275024414, + "y": 5428.409841537476, + "z": "4362d1ff.2aa3f", "wires": [ [ - "c319e81d.1bf0f8", - "2450544e.c7636c" + "e8ed0ef6.23baf", + "9d47c805.1dc648" ] ] }, { - "id": "c319e81d.1bf0f8", + "id": "e8ed0ef6.23baf", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 4436.750473022461, - "y": 5470.548467159271, - "z": "ef6618ab.e71c28", + "x": 4885.750259399414, + "y": 5387.298512458801, + "z": "4362d1ff.2aa3f", "wires": [ [ - "8f0c66d0.fc45e8" + "63e3d62d.2e7078" ] ] }, { - "id": "2450544e.c7636c", + "id": "9d47c805.1dc648", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 4427.593982696533, - "y": 5510.992750644684, - "z": "ef6618ab.e71c28", + "x": 4875.593620300293, + "y": 5465.742652893066, + "z": "4362d1ff.2aa3f", "wires": [ [ - "9663ef07.c3e0f" + "86969547.724178" ] ] }, { - "id": "8f0c66d0.fc45e8", + "id": "63e3d62d.2e7078", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4618.138893127441, - "y": 5471.882067203522, - "z": "ef6618ab.e71c28", + "x": 5192.138938903809, + "y": 5378.6321058273315, + "z": "4362d1ff.2aa3f", "wires": [ [ - "39c65f25.faaa" + "e20aae39.7b94" ] ] }, { - "id": "39c65f25.faaa", + "id": "e20aae39.7b94", "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", + "x": 5468.41667175293, + "y": 5384.8547620773315, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "58ed9fdc.f70ce", + "id": "8f6ebe1d.7f9ec", "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", + "x": 5465.528015136719, + "y": 5460.187575340271, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "4d235858.c42ce8", + "id": "aa845590.166218", "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", + "x": 5421.9725341796875, + "y": 5493.743045806885, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "9663ef07.c3e0f", + "id": "86969547.724178", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4609.249969482422, - "y": 5514.104105472565, - "z": "ef6618ab.e71c28", + "x": 5106.250263214111, + "y": 5461.853981971741, + "z": "4362d1ff.2aa3f", "wires": [ [ - "58ed9fdc.f70ce", - "4d235858.c42ce8" + "8f6ebe1d.7f9ec", + "aa845590.166218" ] ] }, { - "id": "3b7bdbc1.3a8654", + "id": "ae836305.74e86", "type": "failure", "name": "failure", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 4182.6875, - "y": 5647.437509059906, - "z": "ef6618ab.e71c28", + "x": 4218.6875, + "y": 5620.18750333786, + "z": "4362d1ff.2aa3f", "wires": [ [ - "3d7dab21.8e1514" + "8fd60f4f.f8044" ] ] }, { - "id": "3d7dab21.8e1514", + "id": "8fd60f4f.f8044", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4368.354583740234, - "y": 5635.770827770233, - "z": "ef6618ab.e71c28", + "x": 4404.354583740234, + "y": 5608.520822048187, + "z": "4362d1ff.2aa3f", "wires": [ [ - "e6e6b5c1.daa598", - "84c2fa8.a66d308" + "ad5cd518.65f6d8", + "d321b367.90d9d", + "3c95a7fa.43b848" ] ] }, { - "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", + "id": "ad5cd518.65f6d8", "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", + "x": 4695.631988525391, + "y": 5612.40962934494, + "z": "4362d1ff.2aa3f", "wires": [ [ - "e2debe19.05c79" + "a0641b06.3d3c58", + "e130ff6b.e30d1" ] ] }, { - "id": "e2debe19.05c79", + "id": "a0641b06.3d3c58", "type": "success", "name": "success", - "xml": "<outcome value='success'>\n", + "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 4890.46533203125, - "y": 5644.104012966156, - "z": "ef6618ab.e71c28", + "x": 4926.46533203125, + "y": 5616.85400724411, + "z": "4362d1ff.2aa3f", "wires": [ [ - "71840f36.bc53e" + "2c0b1843.3b96b8" ] ] }, { - "id": "71840f36.bc53e", + "id": "2c0b1843.3b96b8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 5114.076171875, - "y": 5640.770761013031, - "z": "ef6618ab.e71c28", + "x": 5150.076171875, + "y": 5613.520755290985, + "z": "4362d1ff.2aa3f", "wires": [ [ - "bc75a65e.a247d8", - "fbf33cbb.f7dd5", - "1a7f21b0.035cfe" + "28103b73.679764", + "bd5cb862.aa9d78", + "134ce212.7d5bde" ] ] }, { - "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", + "id": "bd5cb862.aa9d78", "type": "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", + "x": 5367.40283203125, + "y": 5629.18066740036, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "fbf33cbb.f7dd5", + "id": "28103b73.679764", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 5336.964912414551, - "y": 5704.104312419891, - "z": "ef6618ab.e71c28", + "x": 5372.964912414551, + "y": 5676.8543066978455, + "z": "4362d1ff.2aa3f", "wires": [ [ - "744f772c.11e608", - "ffc5c4e0.f3cb98" + "a994f40.a073b1", + "9863db76.3d1918" ] ] }, { - "id": "744f772c.11e608", + "id": "a994f40.a073b1", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 5580.298973083496, - "y": 5703.32633638382, - "z": "ef6618ab.e71c28", + "x": 5616.298973083496, + "y": 5676.076330661774, + "z": "4362d1ff.2aa3f", "wires": [ [ - "d89b50a6.4ab1d" + "f2c11ac0.84ce88" ] ] }, { - "id": "ffc5c4e0.f3cb98", + "id": "9863db76.3d1918", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 5571.142387390137, - "y": 5754.881730556488, - "z": "ef6618ab.e71c28", + "x": 5607.142387390137, + "y": 5727.631724834442, + "z": "4362d1ff.2aa3f", "wires": [ [ - "267d3403.20ea7c" + "70479836.5a9238" ] ] }, { - "id": "d89b50a6.4ab1d", + "id": "f2c11ac0.84ce88", "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", + "x": 5945.186820983887, + "y": 5673.520841121674, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "267d3403.20ea7c", + "id": "70479836.5a9238", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 5738.076240539551, - "y": 5752.437564373016, - "z": "ef6618ab.e71c28", + "x": 5774.076240539551, + "y": 5725.1875586509705, + "z": "4362d1ff.2aa3f", "wires": [ [ - "2a7f1faa.0789c", - "ec7b11c1.05fdb" + "137eb124.dd665f", + "c947f355.348fc" ] ] }, { - "id": "2a7f1faa.0789c", + "id": "137eb124.dd665f", "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", + "x": 6074.353950500488, + "y": 5719.076766490936, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "ec7b11c1.05fdb", + "id": "c947f355.348fc", "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", + "x": 5994.353668212891, + "y": 5777.9651827812195, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "6499a345.d7027c", + "id": "d32bde12.52b6b", "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", + "x": 4247.750144958496, + "y": 5662.688269615173, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "420a8b96.8ef064", + "id": "11ae5018.73325", "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", + "x": 4220.25008392334, + "y": 5695.9382400512695, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "d37ffbec.0600c8", + "id": "89f1b497.5ec5e8", "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", + "x": 4243.688026428223, + "y": 5730.500771522522, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "d3868686.13f658", + "id": "ccf556a9.8906e8", "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", + "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_id`\"/>\n", "comments": "", "outputs": 1, - "x": 4215.18758392334, - "y": 5793.50074672699, - "z": "ef6618ab.e71c28", + "x": 4251.18758392334, + "y": 5766.250741004944, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "3c6e1a79.f26096", + "id": "4cc8ac14.4c1084", "type": "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", + "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<parameter name=\"field5\" value=\"RRMPolicyMember id\"/>\n<parameter name=\"field6\" value=\"`$tmp.CellDURRMPolicyMember_id`\"/>\n\n", "comments": "", "outputs": 1, - "x": 3578.035189628601, - "y": 5786.36283826828, - "z": "ef6618ab.e71c28", + "x": 3614.035189628601, + "y": 5759.112832546234, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "aa2e708b.e308a", + "id": "a2ab1045.8aaad", "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", + "x": 4516.312469482422, + "y": 5862.363459587097, + "z": "4362d1ff.2aa3f", "wires": [ [ - "77051153.b9545", - "d2b03e66.99c87" + "490f7c30.bcdce4", + "385a41fc.cda64e" ] ] }, { - "id": "c456d34.fe5423", + "id": "852a7cd7.0e44b", "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", + "x": 256.0833339691162, + "y": 1696.3333678245544, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "b7895624.0ca7f8", + "id": "af1d3111.897f9", "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", + "x": 1023.0000991821289, + "y": 771.2500467300415, + "z": "4362d1ff.2aa3f", "wires": [ [ - "76e6f7a.3ca4d08" + "45d13ae0.86f314" ] ] }, { - "id": "76e6f7a.3ca4d08", + "id": "45d13ae0.86f314", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1168.2500686645508, - "y": 780.5000038146973, - "z": "ef6618ab.e71c28", + "x": 1204.2500686645508, + "y": 753.2499980926514, + "z": "4362d1ff.2aa3f", "wires": [ [ - "94c9e791.10cd98", - "564ce9e2.d06238" + "daad8991.69ef58", + "f8838ce3.be291" ] ] }, { - "id": "49b437f3.5cf978", + "id": "9b99bc7.e21154", "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", + "x": 1402.2500915527344, + "y": 784.5000801086426, + "z": "4362d1ff.2aa3f", "wires": [ [ - "3976d7ae.f2c0a8", - "5cd1fb3d.1481e4" + "72c46ee3.7db61", + "a80e97d5.df3988" ] ] }, { - "id": "e22a1b59.fe9f38", + "id": "2d70f8c3.038ed8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1590.5002670288086, - "y": 722.5000829696655, - "z": "ef6618ab.e71c28", + "x": 1626.5002670288086, + "y": 695.2500772476196, + "z": "4362d1ff.2aa3f", "wires": [ [ - "fb9fe418.9a17b8", - "34883ae0.e4eea6", - "2978a6c1.06fe2a", - "989e4f58.38bde", - "1659b31f.61c47d", - "1404947f.e16acc", - "54425eac.eaaf6" + "30097c5e.694234", + "345285a3.ea85aa", + "b6565bf5.bad2b8", + "e0ae50fb.89473", + "4e5cf884.aa2f38", + "242f5138.c166ee", + "3e905aaa.88fbf6" ] ] }, { - "id": "15ff5f7d.ac4ce1", + "id": "33b52e2f.c50952", "type": "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", + "x": 994.25, + "y": 697, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "fb9fe418.9a17b8", + "id": "30097c5e.694234", "type": "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", + "x": 1764.454689025879, + "y": 892.0228843688965, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "3976d7ae.f2c0a8", + "id": "72c46ee3.7db61", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1517.0000762939453, - "y": 767.750057220459, - "z": "ef6618ab.e71c28", + "x": 1553.0000762939453, + "y": 740.5000514984131, + "z": "4362d1ff.2aa3f", "wires": [ [ - "e22a1b59.fe9f38" + "2d70f8c3.038ed8" ] ] }, { - "id": "5cd1fb3d.1481e4", + "id": "a80e97d5.df3988", "type": "failure", "name": "false", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 1519.7499923706055, - "y": 829.2499876022339, - "z": "ef6618ab.e71c28", + "x": 1555.7499923706055, + "y": 801.999981880188, + "z": "4362d1ff.2aa3f", "wires": [ [ - "3bb606bc.e67bca" + "35e681df.2244be" ] ] }, { - "id": "3bb606bc.e67bca", + "id": "35e681df.2244be", "type": "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", + "x": 1541.7499961853027, + "y": 863.0000314712524, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "64f89e65.0ab4b", + "id": "734fc5dd.dbea8c", "type": "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", + "x": 2539.399990081787, + "y": 521.1999959945679, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "1e47fe7b.f65f02", + "id": "94ff05a5.17c6c8", "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", + "x": 2142.5999298095703, + "y": 780.8001041412354, + "z": "4362d1ff.2aa3f", "wires": [ [ - "41fbb677.47daa8", - "fa6f994b.ad8d78" + "f080dd2.627492", + "6a86fbe3.78f5d4" ] ] }, { - "id": "41fbb677.47daa8", + "id": "f080dd2.627492", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2194.5998573303223, - "y": 696.0500302314758, - "z": "ef6618ab.e71c28", + "x": 2230.5998573303223, + "y": 668.8000245094299, + "z": "4362d1ff.2aa3f", "wires": [ [ - "6c8d3861.194578" + "c45359aa.9f4258" ] ] }, { - "id": "fa6f994b.ad8d78", + "id": "6a86fbe3.78f5d4", "type": "outcome", "name": "False", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2213.599884033203, - "y": 747.0500526428223, - "z": "ef6618ab.e71c28", + "x": 2249.599884033203, + "y": 719.8000469207764, + "z": "4362d1ff.2aa3f", "wires": [ [ - "db983423.8e86a8" + "9d8fbc44.d424b" ] ] }, { - "id": "a6a0663a.c18978", + "id": "7be4603d.59654", "type": "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", + "x": 2424.400375366211, + "y": 798.6001257896423, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "6c8d3861.194578", + "id": "c45359aa.9f4258", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2364.599937438965, - "y": 688.2500796318054, - "z": "ef6618ab.e71c28", + "x": 2400.599937438965, + "y": 661.0000739097595, + "z": "4362d1ff.2aa3f", "wires": [ [ - "64f89e65.0ab4b", - "a4271c85.b4e31" + "734fc5dd.dbea8c", + "35acdffa.67d3" ] ] }, { - "id": "db983423.8e86a8", + "id": "9d8fbc44.d424b", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2349.600051879883, - "y": 736.2500548362732, - "z": "ef6618ab.e71c28", + "x": 2385.600051879883, + "y": 709.0000491142273, + "z": "4362d1ff.2aa3f", "wires": [ [ - "a6a0663a.c18978" + "7be4603d.59654" ] ] }, { - "id": "eb2cc8b8.8811b8", + "id": "9d782789.ac6528", "type": "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", + "x": 2095.599868774414, + "y": 631.5001158714294, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "ab1a1337.b2d58", + "id": "ceddcf9c.85ca4", "type": "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", + "x": 1168.8000411987305, + "y": 2228.8999786376953, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "3b2efef6.f4db92", + "id": "88cbbfb7.5430c", "type": "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", + "x": 2542.999984741211, + "y": 2253.4999351501465, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "6917fdf2.dd9844", + "id": "6961ce5f.85d8e", "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", + "x": 2615.000328063965, + "y": 2203.6999282836914, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "6f0d087a.f937e8", + "id": "f5609229.9fc58", "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", + "x": 2549.4005279541016, + "y": 2164.6999282836914, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "33960a6b.e663d6", + "id": "e76f5cf6.f52e1", "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", + "x": 700.9545745849609, + "y": 1038.0454692840576, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "94c9e791.10cd98", + "id": "daad8991.69ef58", "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", + "x": 1323.0001678466797, + "y": 662.2500286102295, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "564ce9e2.d06238", + "id": "f8838ce3.be291", "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", + "x": 1382.0001678466797, + "y": 694.2500286102295, + "z": "4362d1ff.2aa3f", "wires": [ [ - "536ee724.83a118" + "67a2566a.78c9f8" ] ] }, { - "id": "536ee724.83a118", + "id": "67a2566a.78c9f8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1557.000072479248, - "y": 633.5000333786011, - "z": "ef6618ab.e71c28", + "x": 1593.000072479248, + "y": 606.2500276565552, + "z": "4362d1ff.2aa3f", "wires": [ [ - "1a0e5e3f.3e9692", - "49b437f3.5cf978", - "3d27856c.95527a" + "2b4cbf69.af081", + "9b99bc7.e21154", + "f1813d68.8fae" ] ] }, { - "id": "1a0e5e3f.3e9692", + "id": "2b4cbf69.af081", "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", + "x": 1785.0001678466797, + "y": 502.25004482269287, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "2978a6c1.06fe2a", + "id": "b6565bf5.bad2b8", "type": "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", + "x": 1771.7501068115234, + "y": 657.2500057220459, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "989e4f58.38bde", + "id": "e0ae50fb.89473", "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", + "x": 1799.25, + "y": 704.000078201294, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "fe57d7c.f7b2f28", + "id": "1fcc5693.492159", "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", + "x": 2111.0003204345703, + "y": 3529.2000522613525, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "2b1fd179.9e31fe", + "id": "8f5b08e0.e38768", "type": "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", + "x": 2068.000175476074, + "y": 3571.2000522613525, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "9fc7c5b.0387d38", + "id": "a8b03670.a59098", "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", + "x": 2068.8001251220703, + "y": 3477.200051307678, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "814d0d47.dc151", + "id": "bd372935.fad1c8", "type": "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", + "x": 2515.0001335144043, + "y": 3485.899953842163, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "c29b3e94.917ca", + "id": "7c753ed4.67e1b", "type": "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", + "x": 3230.199996948242, + "y": 3158.300099849701, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "80534116.ca9af", + "id": "f63699d.32da168", "type": "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", + "x": 2803.60009765625, + "y": 3181.10010099411, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "8437179b.8ec7a8", + "id": "bf3a0798.9998a8", "type": "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", + "x": 3019.00004196167, + "y": 3409.1001505851746, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "6a11af4f.d7015", + "id": "ee0240bc.c8eb3", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2144.4000282287598, - "y": 3062.450050354004, - "z": "ef6618ab.e71c28", + "x": 2180.4000282287598, + "y": 3035.200044631958, + "z": "4362d1ff.2aa3f", "wires": [ [ - "b98f7b7f.c5d088" + "aeb2aa85.be5688" ] ] }, { - "id": "6c216737.b275e8", + "id": "20618a7.7ae8276", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2171.4000244140625, - "y": 3140.450051307678, - "z": "ef6618ab.e71c28", + "x": 2207.4000244140625, + "y": 3113.2000455856323, + "z": "4362d1ff.2aa3f", "wires": [ [ - "c9008e39.94f08" + "a863160a.078198" ] ] }, { - "id": "b98f7b7f.c5d088", + "id": "aeb2aa85.be5688", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2339.400032043457, - "y": 3055.450050354004, - "z": "ef6618ab.e71c28", + "x": 2375.400032043457, + "y": 3028.200044631958, + "z": "4362d1ff.2aa3f", "wires": [ [ - "415cbbf8.9d4124", - "86fa30e7.dfbfa" + "e9e89870.1fe768", + "f334c0f3.2b63" ] ] }, { - "id": "c9008e39.94f08", + "id": "a863160a.078198", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2345.400032043457, - "y": 3133.450050354004, - "z": "ef6618ab.e71c28", + "x": 2381.400032043457, + "y": 3106.200044631958, + "z": "4362d1ff.2aa3f", "wires": [ [ - "3c49989a.5061b8" + "22d8d848.eff628" ] ] }, { - "id": "3c49989a.5061b8", + "id": "22d8d848.eff628", "type": "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", + "x": 2560.4000358581543, + "y": 3125.2000455856323, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "86fa30e7.dfbfa", + "id": "f334c0f3.2b63", "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", + "x": 2606.6000366210938, + "y": 3052.200044631958, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "415cbbf8.9d4124", + "id": "e9e89870.1fe768", "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", + "x": 2607.6000366210938, + "y": 3014.2000436782837, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "6ccb5957.6e97a8", + "id": "6d9e10ef.16ec6", "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", + "x": 1328.9999923706055, + "y": 2295.599838256836, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "3a6bc5d.5ee993a", + "id": "98308a38.f45078", "type": "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", + "x": 1326.0000686645508, + "y": 2348.800033569336, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "b7a0d3b1.e2614", + "id": "74fb7d03.363ec4", "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", + "x": 1514.0000915527344, + "y": 2510.4004287719727, + "z": "4362d1ff.2aa3f", "wires": [ [ - "9f941657.84b308" + "175b63f8.0a69fc" ] ] }, { - "id": "9f941657.84b308", + "id": "175b63f8.0a69fc", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1224.0000915527344, - "y": 2622.650484085083, - "z": "ef6618ab.e71c28", + "x": 1260.0000915527344, + "y": 2595.400478363037, + "z": "4362d1ff.2aa3f", "wires": [ [ - "1b88da83.b7eeb5", - "81a294ba.0e11e8", - "54d6339e.a38aec" + "95236b74.cd4db8", + "f0e35392.1a742", + "9fbafdf5.56349" ] ] }, { - "id": "8a2c4744.a700e8", + "id": "d92b4dd.57a53b", "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", + "x": 1261.9999923706055, + "y": 2439.200428009033, + "z": "4362d1ff.2aa3f", "wires": [ [ - "a4c55d63.5547b", - "22c42819.378698" + "4c2d66ae.7d4c58", + "50901623.0f3918" ] ] }, { - "id": "a4c55d63.5547b", + "id": "4c2d66ae.7d4c58", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1399.9999961853027, - "y": 2412.6500415802, - "z": "ef6618ab.e71c28", + "x": 1435.9999961853027, + "y": 2385.4000358581543, + "z": "4362d1ff.2aa3f", "wires": [ [ - "99b88c3f.d9bc" + "82a6553c.b3b198" ] ] }, { - "id": "22c42819.378698", + "id": "50901623.0f3918", "type": "outcome", "name": "False", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 1394.799997329712, - "y": 2481.849846839905, - "z": "ef6618ab.e71c28", + "x": 1430.799997329712, + "y": 2454.599841117859, + "z": "4362d1ff.2aa3f", "wires": [ [ - "d70198d9.23c128" + "9aa1e691.94f778" ] ] }, { - "id": "99b88c3f.d9bc", + "id": "82a6553c.b3b198", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1497.9999980926514, - "y": 2343.2500400543213, - "z": "ef6618ab.e71c28", + "x": 1533.9999980926514, + "y": 2316.0000343322754, + "z": "4362d1ff.2aa3f", "wires": [ [ - "b7a0d3b1.e2614", - "3cefb342.1f4b8c" + "74fb7d03.363ec4", + "9f4d7438.216078" ] ] }, { - "id": "d70198d9.23c128", + "id": "9aa1e691.94f778", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1540.0000953674316, - "y": 2483.25004196167, - "z": "ef6618ab.e71c28", + "x": 1576.0000953674316, + "y": 2456.000036239624, + "z": "4362d1ff.2aa3f", "wires": [ [ - "4b40780c.a75688" + "1e0c860c.f8667a" ] ] }, { - "id": "4b40780c.a75688", + "id": "1e0c860c.f8667a", "type": "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", + "x": 1653.599998474121, + "y": 2401.2000370025635, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "3cefb342.1f4b8c", + "id": "9f4d7438.216078", "type": "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", + "x": 1681.400074005127, + "y": 2295.200033187866, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "55957445.1f742c", + "id": "b801dc72.c8dbb", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1774.2000274658203, - "y": 2699.6502895355225, - "z": "ef6618ab.e71c28", + "x": 1810.2000274658203, + "y": 2672.4002838134766, + "z": "4362d1ff.2aa3f", "wires": [ [ - "de0fc599.a60458", - "a7cd0e67.196b7", - "93bc35c0.833c98", - "153e8344.b21fcd", - "ecd0711.911899", - "66f45efa.a8ba4", - "1a9722f0.c4a64d", - "8fd00b15.09c6f8", - "191dc287.aec87d", - "f0b44ecd.02e3e" + "5bd70436.20838c", + "20648008.a4b2b", + "4aae5e26.06af", + "7a0f9fee.c13c6", + "f591038a.6c231", + "b146627e.002d7", + "31a92f3.afafbd", + "d6f00dc0.ad8e5", + "1ff3dbb1.c96064", + "7dfb976a.724fb8" ] ] }, { - "id": "e635ef1e.b8037", + "id": "bf8dcb31.c35428", "type": "outcome", "name": "False", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 1592, - "y": 2753.050045967102, - "z": "ef6618ab.e71c28", + "x": 1628, + "y": 2725.800040245056, + "z": "4362d1ff.2aa3f", "wires": [ [ - "49f10bf5.59a174" + "a5e35945.38b878" ] ] }, { - "id": "49f10bf5.59a174", + "id": "a5e35945.38b878", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1742, - "y": 2752.0500450134277, - "z": "ef6618ab.e71c28", + "x": 1778, + "y": 2724.800039291382, + "z": "4362d1ff.2aa3f", "wires": [ [ - "24898117.75da8e" + "dfa0938b.bc793" ] ] }, { - "id": "24898117.75da8e", + "id": "dfa0938b.bc793", "type": "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", + "x": 1771.0000038146973, + "y": 2790.800039291382, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "1a9722f0.c4a64d", + "id": "31a92f3.afafbd", "type": "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", + "x": 1981.0000267028809, + "y": 2634.8000869750977, + "z": "4362d1ff.2aa3f", "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", + "id": "1f885d87.44dce2", "type": "block", "name": "block : gNBDU", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1977.1999778747559, - "y": 4328.450265884399, - "z": "ef6618ab.e71c28", + "x": 2013.1999778747559, + "y": 4301.2002601623535, + "z": "4362d1ff.2aa3f", "wires": [ [ - "9bc85a3f.4f97b8", - "390b889.487c978", - "654f9275.7690ac", - "6d164dd8.0d2cd4" + "21dd4862.afda18", + "78a5102e.7222d", + "d7f61396.f1af4", + "b38a0ef8.34bfc" ] ] }, { - "id": "654f9275.7690ac", + "id": "d7f61396.f1af4", "type": "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", + "x": 2132.2000312805176, + "y": 4172.200061798096, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "6d164dd8.0d2cd4", + "id": "b38a0ef8.34bfc", "type": "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", + "x": 2197.2000312805176, + "y": 4299.200063705444, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "4734669f.9445a8", + "id": "68ea4419.c3ec8c", "type": "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", + "x": 3088.39990234375, + "y": 4665.2001953125, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "4203c5c.ffe3e3c", + "id": "669b317c.8f914", "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", + "x": 3638.199951171875, + "y": 5568.199686050415, + "z": "4362d1ff.2aa3f", "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", + "id": "ea7fb9c8.331758", "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", + "x": 3708.999954223633, + "y": 5611.199686050415, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "35ec1dcf.6b70f2", + "id": "d5e81ab2.43c078", "type": "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", + "x": 3678.8001022338867, + "y": 5651.800371170044, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "9cbbdff1.2db93", + "id": "a3804138.8c7b3", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3277.399871826172, - "y": 5148.649852752686, - "z": "ef6618ab.e71c28", + "x": 3313.399871826172, + "y": 5121.39984703064, + "z": "4362d1ff.2aa3f", "wires": [ [ - "aa918963.569728" + "74c3dfc0.3f1c" ] ] }, { - "id": "87aacf63.99c86", + "id": "89a24fe.dbeeab", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3284.39990234375, - "y": 5220.850107192993, - "z": "ef6618ab.e71c28", + "x": 3320.39990234375, + "y": 5193.600101470947, + "z": "4362d1ff.2aa3f", "wires": [ [ - "9767745b.f63dd8" + "ed1194ff.9e7da8" ] ] }, { - "id": "aa918963.569728", + "id": "74c3dfc0.3f1c", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3446.399871826172, - "y": 5147.649852752686, - "z": "ef6618ab.e71c28", + "x": 3482.399871826172, + "y": 5120.39984703064, + "z": "4362d1ff.2aa3f", "wires": [ [ - "5d865a21.032204", - "e727a194.52baa" + "133513cd.1c495c", + "81e109fb.efb808" ] ] }, { - "id": "e727a194.52baa", + "id": "81e109fb.efb808", "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", + "x": 3671.3999099731445, + "y": 5123.399904251099, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "5d865a21.032204", + "id": "133513cd.1c495c", "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", + "x": 3662.399871826172, + "y": 5073.399846076965, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "9767745b.f63dd8", + "id": "ed1194ff.9e7da8", "type": "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", + "x": 3543.4001502990723, + "y": 5179.4001750946045, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "f4950f8e.2c2cb", + "id": "a0f874be.1820c8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3806.800151824951, - "y": 6069.850191116333, - "z": "ef6618ab.e71c28", + "x": 4664.799964904785, + "y": 6073.599987030029, + "z": "4362d1ff.2aa3f", "wires": [ [ - "a883fe7f.66d31" + "1d0d5b54.679515" ] ] }, { - "id": "639111e1.a2174", + "id": "143724b4.a98d2b", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3819.800151824951, - "y": 6118.0505838394165, - "z": "ef6618ab.e71c28", + "x": 4679.799964904785, + "y": 6154.80076789856, + "z": "4362d1ff.2aa3f", "wires": [ [ - "4ec1c50c.57dc9c" + "c0fd3d93.cd909" ] ] }, { - "id": "a883fe7f.66d31", + "id": "1d0d5b54.679515", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3967.8001556396484, - "y": 6076.850191116333, - "z": "ef6618ab.e71c28", + "x": 4824.799964904785, + "y": 6093.599987030029, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "4ec1c50c.57dc9c", + "id": "c0fd3d93.cd909", "type": "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", + "x": 4847.799964904785, + "y": 6154.599987030029, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "bb5d6dd6.83647", + "id": "ed9c3a60.eac898", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2797.599956512451, - "y": 2617.85010433197, - "z": "ef6618ab.e71c28", + "x": 3766.6001052856445, + "y": 2570.6000328063965, + "z": "4362d1ff.2aa3f", "wires": [ [ - "82ee16f0.061ff8" + "a0f5aa5c.245eb8" ] ] }, { - "id": "4e7786b8.1d6608", + "id": "608b7c9c.745044", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2810.599956512451, - "y": 2666.0504970550537, - "z": "ef6618ab.e71c28", + "x": 3764.6001052856445, + "y": 2639.800621032715, + "z": "4362d1ff.2aa3f", "wires": [ [ - "cc04d001.6e479" + "88bb192.e182ce8" ] ] }, { - "id": "82ee16f0.061ff8", + "id": "a0f5aa5c.245eb8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2958.5999603271484, - "y": 2624.85010433197, - "z": "ef6618ab.e71c28", + "x": 3936.6001052856445, + "y": 2577.6000328063965, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "cc04d001.6e479", + "id": "88bb192.e182ce8", "type": "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", + "x": 3944.6001052856445, + "y": 2652.600034713745, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "1c04f0a6.c01d1f", + "id": "1547297b.5d85e7", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2450.2000465393066, - "y": 1566.249981880188, - "z": "ef6618ab.e71c28", + "x": 2486.2000465393066, + "y": 1538.999976158142, + "z": "4362d1ff.2aa3f", "wires": [ [ - "1647b2cc.a29dcd" + "cab8ef49.220a1" ] ] }, { - "id": "6f9f097f.cee4a8", + "id": "7b8990cd.0e83f", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2477.2000427246094, - "y": 1644.2499828338623, - "z": "ef6618ab.e71c28", + "x": 2513.2000427246094, + "y": 1616.9999771118164, + "z": "4362d1ff.2aa3f", "wires": [ [ - "dc9d954a.ad8688" + "b8229612.6f3fd8" ] ] }, { - "id": "1647b2cc.a29dcd", + "id": "cab8ef49.220a1", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2645.200050354004, - "y": 1559.249981880188, - "z": "ef6618ab.e71c28", + "x": 2681.200050354004, + "y": 1531.999976158142, + "z": "4362d1ff.2aa3f", "wires": [ [ - "c1fa60a0.4a4f", - "6ccc6a9b.564634" + "5de9fda8.886b84", + "e0d69c6c.9003b" ] ] }, { - "id": "dc9d954a.ad8688", + "id": "b8229612.6f3fd8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2651.200050354004, - "y": 1637.249981880188, - "z": "ef6618ab.e71c28", + "x": 2687.200050354004, + "y": 1609.999976158142, + "z": "4362d1ff.2aa3f", "wires": [ [ - "fd30666f.d718f8" + "6ecc0c39.3dcbf4" ] ] }, { - "id": "fd30666f.d718f8", + "id": "6ecc0c39.3dcbf4", "type": "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", + "x": 2872.2000427246094, + "y": 1621.0000667572021, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "6ccc6a9b.564634", + "id": "e0d69c6c.9003b", "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", + "x": 2911.4002380371094, + "y": 1562.0000667572021, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "c1fa60a0.4a4f", + "id": "5de9fda8.886b84", "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", + "x": 2913.4000549316406, + "y": 1517.9999752044678, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "2f1d5905.26edc6", + "id": "5eb897c7.b09868", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2323.3999366760254, - "y": 4142.250065803528, - "z": "ef6618ab.e71c28", + "x": 2359.3999366760254, + "y": 4115.000060081482, + "z": "4362d1ff.2aa3f", "wires": [ [ - "511b3d8.e8e85c4", - "2233c411.5c43bc", - "7f3c5d5b.f93c74" + "6c080df2.f8a894", + "ae658f9f.134e5", + "43305ce7.126cc4" ] ] }, { - "id": "511b3d8.e8e85c4", + "id": "6c080df2.f8a894", "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", + "x": 2610.14990234375, + "y": 4047.3496067523956, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "2233c411.5c43bc", + "id": "ae658f9f.134e5", "type": "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", + "x": 2607.1500358581543, + "y": 4097.550060272217, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "eb0d8d98.74c5f", + "id": "69124f57.9645f", "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", + "x": 2795.150001525879, + "y": 4262.150197267532, + "z": "4362d1ff.2aa3f", "wires": [ [ - "398d85e2.2dc40a" + "5908c53d.a5c3dc" ] ] }, { - "id": "398d85e2.2dc40a", + "id": "5908c53d.a5c3dc", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2505.150001525879, - "y": 4374.400252580643, - "z": "ef6618ab.e71c28", + "x": 2541.150001525879, + "y": 4347.150246858597, + "z": "4362d1ff.2aa3f", "wires": [ [ - "4d74a9ab.0a99b8", - "52a23239.3966bc", - "9db8a2d.1060f6" + "c87a5522.3bc938", + "18e78151.58507f", + "6d92ff7a.b0f38" ] ] }, { - "id": "7f3c5d5b.f93c74", + "id": "43305ce7.126cc4", "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", + "x": 2543.14990234375, + "y": 4190.950196504593, + "z": "4362d1ff.2aa3f", "wires": [ [ - "98689bbe.1a57e8", - "aec9e093.8be21" + "1bebc204.8ac1de", + "c4f33138.8c143" ] ] }, { - "id": "98689bbe.1a57e8", + "id": "1bebc204.8ac1de", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2681.1499061584473, - "y": 4164.39981007576, - "z": "ef6618ab.e71c28", + "x": 2717.1499061584473, + "y": 4137.149804353714, + "z": "4362d1ff.2aa3f", "wires": [ [ - "78873c9c.d43254" + "eefe8e63.dd273" ] ] }, { - "id": "aec9e093.8be21", + "id": "c4f33138.8c143", "type": "outcome", "name": "False", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2675.9499073028564, - "y": 4233.5996153354645, - "z": "ef6618ab.e71c28", + "x": 2711.9499073028564, + "y": 4206.349609613419, + "z": "4362d1ff.2aa3f", "wires": [ [ - "dd3f9417.0506a8" + "8858b345.21d99" ] ] }, { - "id": "78873c9c.d43254", + "id": "eefe8e63.dd273", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2779.149908065796, - "y": 4094.999808549881, - "z": "ef6618ab.e71c28", + "x": 2815.149908065796, + "y": 4067.749802827835, + "z": "4362d1ff.2aa3f", "wires": [ [ - "eb0d8d98.74c5f", - "954a8eb7.63db1" + "69124f57.9645f", + "5ecff304.f2008c" ] ] }, { - "id": "dd3f9417.0506a8", + "id": "8858b345.21d99", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2821.150005340576, - "y": 4234.99981045723, - "z": "ef6618ab.e71c28", + "x": 2857.150005340576, + "y": 4207.749804735184, + "z": "4362d1ff.2aa3f", "wires": [ [ - "1309ef6e.4f2021" + "54bf4664.ddd118" ] ] }, { - "id": "1309ef6e.4f2021", + "id": "54bf4664.ddd118", "type": "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", + "x": 2934.7499084472656, + "y": 4152.949805498123, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "954a8eb7.63db1", + "id": "5ecff304.f2008c", "type": "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", + "x": 2962.5499839782715, + "y": 4046.949801683426, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "6bd0302.f586ad", + "id": "d4f5fdbd.35a5e", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2605.199951171875, - "y": 452.6499996185303, - "z": "ef6618ab.e71c28", + "x": 2641.199951171875, + "y": 425.3999938964844, + "z": "4362d1ff.2aa3f", "wires": [ [ - "aa44c473.bbbba8", - "1197617b.cc494f", - "47d51a79.b061b4" + "6940b5c7.8cbbec", + "a509d70.c0c7028", + "96c84e1b.ea8a1" ] ] }, { - "id": "aa44c473.bbbba8", + "id": "6940b5c7.8cbbec", "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", + "x": 2891.9499168395996, + "y": 357.74954056739807, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "1197617b.cc494f", + "id": "a509d70.c0c7028", "type": "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", + "x": 2888.950050354004, + "y": 407.94999408721924, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "6a3e5da4.710c24", + "id": "915837e4.ff0548", "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", + "x": 3120.9500427246094, + "y": 569.5500755310059, + "z": "4362d1ff.2aa3f", "wires": [ [ - "b95f77aa.edfc98" + "b00fe70d.289e28" ] ] }, { - "id": "47d51a79.b061b4", + "id": "96c84e1b.ea8a1", "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", + "x": 2824.9499168395996, + "y": 501.35013031959534, + "z": "4362d1ff.2aa3f", "wires": [ [ - "ee0b4387.d21a3", - "98516663.868528" + "47413082.5b53f", + "c0db4022.e3d19" ] ] }, { - "id": "ee0b4387.d21a3", + "id": "47413082.5b53f", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2962.949920654297, - "y": 474.79974389076233, - "z": "ef6618ab.e71c28", + "x": 2998.949920654297, + "y": 447.54973816871643, + "z": "4362d1ff.2aa3f", "wires": [ [ - "673cb023.6620e" + "90fc502f.3bca9" ] ] }, { - "id": "98516663.868528", + "id": "c0db4022.e3d19", "type": "outcome", "name": "False", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2958.7500915527344, - "y": 524.9995670318604, - "z": "ef6618ab.e71c28", + "x": 2994.7500915527344, + "y": 497.74956130981445, + "z": "4362d1ff.2aa3f", "wires": [ [ - "11fa41de.1dd61e" + "b8dec9d2.3b0508" ] ] }, { - "id": "673cb023.6620e", + "id": "90fc502f.3bca9", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3060.9499225616455, - "y": 405.3997423648834, - "z": "ef6618ab.e71c28", + "x": 3096.9499225616455, + "y": 378.1497366428375, + "z": "4362d1ff.2aa3f", "wires": [ [ - "6a3e5da4.710c24", - "4429e363.cc313c" + "915837e4.ff0548", + "fbbc3aa5.b4e728" ] ] }, { - "id": "11fa41de.1dd61e", + "id": "b8dec9d2.3b0508", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3130.950241088867, - "y": 531.3997688293457, - "z": "ef6618ab.e71c28", + "x": 3166.950241088867, + "y": 504.1497631072998, + "z": "4362d1ff.2aa3f", "wires": [ [ - "47352264.a09ccc" + "11baf674.1f3c6a" ] ] }, { - "id": "47352264.a09ccc", + "id": "11baf674.1f3c6a", "type": "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", + "x": 3338.5498542785645, + "y": 500.3497142791748, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "4429e363.cc313c", + "id": "fbbc3aa5.b4e728", "type": "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", + "x": 3244.349998474121, + "y": 357.34973549842834, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "2ecc0183.03bf1e", + "id": "d29aae71.65948", "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", + "x": 538.0000534057617, + "y": 129.50000190734863, + "z": "4362d1ff.2aa3f", "wires": [ [ - "b11099b8.398bb8", - "dc47b287.5a833" + "8fd04f4e.5dce2", + "6e3cf067.7e42c" ] ] }, { - "id": "b11099b8.398bb8", + "id": "8fd04f4e.5dce2", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 811.9999885559082, - "y": 139.75000762939453, - "z": "ef6618ab.e71c28", + "x": 847.9999885559082, + "y": 112.50000190734863, + "z": "4362d1ff.2aa3f", "wires": [ [ - "9ed8fded.20c86" + "1b1d79bc.add6b6" ] ] }, { - "id": "dc47b287.5a833", + "id": "6e3cf067.7e42c", "type": "outcome", "name": "False", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 830.0000381469727, - "y": 192.7500343322754, - "z": "ef6618ab.e71c28", + "x": 866.0000381469727, + "y": 165.5000286102295, + "z": "4362d1ff.2aa3f", "wires": [ [ - "9a8f6761.93b8b8" + "8ff68a78.cc7ee8" ] ] }, { - "id": "b4c0abb3.7aab88", + "id": "a8c59092.a9f91", "type": "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", + "x": 1218.80082321167, + "y": 149.3001003265381, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "9ed8fded.20c86", + "id": "1b1d79bc.add6b6", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 979.0000877380371, - "y": 138.9500560760498, - "z": "ef6618ab.e71c28", + "x": 1015.0000877380371, + "y": 111.7000503540039, + "z": "4362d1ff.2aa3f", "wires": [ [ - "7c60a0f0.f2104", - "801a0715.f6d848" + "1e464d16.3da2b3", + "1f1524ca.7272cb" ] ] }, { - "id": "9a8f6761.93b8b8", + "id": "8ff68a78.cc7ee8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 993.0001983642578, - "y": 189.95000743865967, - "z": "ef6618ab.e71c28", + "x": 1029.0001983642578, + "y": 162.70000171661377, + "z": "4362d1ff.2aa3f", "wires": [ [ - "b4c0abb3.7aab88", - "83b16463.dd6eb8" + "a8c59092.a9f91", + "8f5e9df1.b51ab" ] ] }, { - "id": "7c60a0f0.f2104", + "id": "1e464d16.3da2b3", "type": "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", + "x": 1209.7998962402344, + "y": 64.5000057220459, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "97b942e3.1632f", + "id": "de6ca49f.d9e9a8", "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", + "x": 3302.800048828125, + "y": 170.50000190734863, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "611b8716.230608", + "id": "8c84a899.cfbdb8", "type": "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", + "x": 3321.549945831299, + "y": 215.00000190734863, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "744a4706.5da928", + "id": "47602e2b.c8b6c", "type": "switchNode", "name": "check action", "xml": "<switch test='`$tmp.action`'>", "comments": "", "outputs": 1, - "x": 3286.300247192383, - "y": 129.0000057220459, - "z": "ef6618ab.e71c28", + "x": 3322.300247192383, + "y": 101.75, + "z": "4362d1ff.2aa3f", "wires": [ [ - "395e0258.e633ee", - "59bc6ee5.be7ec" + "98ca18a6.c52dc8", + "1d49fdc8.2514f2" ] ] }, { - "id": "395e0258.e633ee", + "id": "98ca18a6.c52dc8", "type": "success", "name": "deallocate", "xml": "<outcome value='deallocate'>\n", "comments": "", "outputs": 1, - "x": 3473.300048828125, - "y": 139.75003147125244, - "z": "ef6618ab.e71c28", + "x": 3509.300048828125, + "y": 112.50002574920654, + "z": "4362d1ff.2aa3f", "wires": [ [ - "9d02eabc.3fe868" + "1d8f2e96.5dd241" ] ] }, { - "id": "126e64bf.e1a05b", + "id": "6622b573.abb55c", "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", + "x": 3920.3002548217773, + "y": 186.50000286102295, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "59bc6ee5.be7ec", + "id": "1d49fdc8.2514f2", "type": "failure", "name": "modify-deallocate", "xml": "<outcome value='modify-deallocate'>\n", "comments": "", "outputs": 1, - "x": 3468.300048828125, - "y": 237.75000762939453, - "z": "ef6618ab.e71c28", + "x": 3504.300048828125, + "y": 210.50000190734863, + "z": "4362d1ff.2aa3f", "wires": [ [ - "352b15f4.9cbada" + "93b5c3eb.832db" ] ] }, { - "id": "995091a5.6c2b7", + "id": "4a7b4862.d5ff78", "type": "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", + "x": 3881.5500526428223, + "y": 140.50000190734863, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "9d02eabc.3fe868", + "id": "1d8f2e96.5dd241", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3645.550048828125, - "y": 139.75000762939453, - "z": "ef6618ab.e71c28", + "x": 3681.550048828125, + "y": 112.50000190734863, + "z": "4362d1ff.2aa3f", "wires": [ [ - "995091a5.6c2b7", - "e62c2bc5.167978" + "4a7b4862.d5ff78", + "97cfa780.e00568" ] ] }, { - "id": "e62c2bc5.167978", + "id": "97cfa780.e00568", "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", + "x": 3883.5500564575195, + "y": 91.50000095367432, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "2aefaaa4.57bd36", + "id": "f1f126f7.71e498", "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", + "x": 3341.050048828125, + "y": 55, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "352b15f4.9cbada", + "id": "93b5c3eb.832db", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3662.100051879883, - "y": 234.25000762939453, - "z": "ef6618ab.e71c28", + "x": 3698.100051879883, + "y": 207.00000190734863, + "z": "4362d1ff.2aa3f", "wires": [ [ - "126e64bf.e1a05b", - "b1bb195d.4d98a8" + "6622b573.abb55c", + "a3ab7184.3b9fc" ] ] }, { - "id": "b1bb195d.4d98a8", + "id": "a3ab7184.3b9fc", "type": "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", + "x": 3940.10005569458, + "y": 255.00000381469727, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "96220425.ce73c8", + "id": "f2574384.a17c5", "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", + "x": 2734.199951171875, + "y": 142, + "z": "4362d1ff.2aa3f", "wires": [ [ - "b9da093c.cc3548" + "98be0f92.eb6c9" ] ] }, { - "id": "b9da093c.cc3548", + "id": "98be0f92.eb6c9", "type": "other", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2899.4497604370117, - "y": 158.5000057220459, - "z": "ef6618ab.e71c28", + "x": 2935.4497604370117, + "y": 131.25, + "z": "4362d1ff.2aa3f", "wires": [ [ - "bdba449.3ba15b8" + "ef42950b.6895f8" ] ] }, { - "id": "bdba449.3ba15b8", + "id": "ef42950b.6895f8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3065.4498596191406, - "y": 152.5000057220459, - "z": "ef6618ab.e71c28", + "x": 3101.4498596191406, + "y": 125.25, + "z": "4362d1ff.2aa3f", "wires": [ [ - "2aefaaa4.57bd36", - "744a4706.5da928", - "97b942e3.1632f", - "611b8716.230608" + "f1f126f7.71e498", + "47602e2b.c8b6c", + "de6ca49f.d9e9a8", + "8c84a899.cfbdb8" ] ] }, { - "id": "83b16463.dd6eb8", + "id": "8f5e9df1.b51ab", "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", + "x": 1274.2002639770508, + "y": 187.00000190734863, + "z": "4362d1ff.2aa3f", "wires": [ [ - "4b228987.44f8e8" + "5e8b8e7d.d0e1c" ] ] }, { - "id": "4b228987.44f8e8", + "id": "5e8b8e7d.d0e1c", "type": "other", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1489.2001686096191, - "y": 201.25000762939453, - "z": "ef6618ab.e71c28", + "x": 1525.2001686096191, + "y": 174.00000190734863, + "z": "4362d1ff.2aa3f", "wires": [ [ - "86f6aa9d.434f98" + "a3c41ce4.7f0b" ] ] }, { - "id": "86f6aa9d.434f98", + "id": "a3c41ce4.7f0b", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1705.200050354004, - "y": 213.25000953674316, - "z": "ef6618ab.e71c28", + "x": 1741.200050354004, + "y": 186.00000381469727, + "z": "4362d1ff.2aa3f", "wires": [ [ - "f94e0a69.3b5168", - "e3e3f738.d2ec58", - "4d60a6b0.4d4c78", - "47c1ddd3.3df444", - "b8bd1677.bb8f78", - "b721916b.7b937", - "2d81f5e.c8e490a" + "668dbb38.1e2084", + "47d91905.d9dfb8", + "71e538a1.f12f18", + "a38e278.ff78cd8", + "2d5f0b1e.c1c614", + "b2e58ec6.5d645", + "4bbd1d8e.1a4364" ] ] }, { - "id": "f94e0a69.3b5168", + "id": "668dbb38.1e2084", "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", + "x": 2018.2000045776367, + "y": 272.0000228881836, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "e3e3f738.d2ec58", + "id": "47d91905.d9dfb8", "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", + "x": 1958.2000045776367, + "y": 343.99999809265137, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "4d60a6b0.4d4c78", + "id": "71e538a1.f12f18", "type": "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", + "x": 1955.949806213379, + "y": 380.5, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "47c1ddd3.3df444", + "id": "a38e278.ff78cd8", "type": "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", + "x": 1945.4000778198242, + "y": 500.50000762939453, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "801a0715.f6d848", + "id": "1f1524ca.7272cb", "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", + "x": 1322.7999954223633, + "y": 107.00000190734863, + "z": "4362d1ff.2aa3f", "wires": [ [ - "699a595d.1a2648" + "cfd07bb6.2b9ea8" ] ] }, { - "id": "699a595d.1a2648", + "id": "cfd07bb6.2b9ea8", "type": "other", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1594.8000259399414, - "y": 108.25000381469727, - "z": "ef6618ab.e71c28", + "x": 1630.8000259399414, + "y": 80.99999809265137, + "z": "4362d1ff.2aa3f", "wires": [ [ - "fa90dc26.275c8" + "69574773.bb8968" ] ] }, { - "id": "fa90dc26.275c8", + "id": "69574773.bb8968", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1765.8000259399414, - "y": 109.25000476837158, - "z": "ef6618ab.e71c28", + "x": 1801.8000259399414, + "y": 81.99999904632568, + "z": "4362d1ff.2aa3f", "wires": [ [ - "6c5171ff.4b29", - "73992bcb.3e01a4", - "f74473d1.2107c", - "ba05dce8.ccc4f", - "3902ad7c.866bb2", - "f8fbb1ee.d5667", - "58909a66.4f93d4" + "1c292776.4068a9", + "ccc8a973.a11ee8", + "48891931.8975c8", + "fcb2c9d6.470248", + "5f1a01b7.58cd8", + "118b871d.510ed9", + "6dcb6d4c.8c36d4" ] ] }, { - "id": "6c5171ff.4b29", + "id": "1c292776.4068a9", "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", + "x": 2022.8000030517578, + "y": 32.7499942779541, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "73992bcb.3e01a4", + "id": "ccc8a973.a11ee8", "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", + "x": 2003.8000030517578, + "y": 103.00000190734863, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "f74473d1.2107c", + "id": "48891931.8975c8", "type": "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", + "x": 2008.8000030517578, + "y": 134.00000190734863, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "3902ad7c.866bb2", + "id": "5f1a01b7.58cd8", "type": "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", + "x": 1996.7999801635742, + "y": 239.00000286102295, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "ba05dce8.ccc4f", + "id": "fcb2c9d6.470248", "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", + "x": 2057.799980163574, + "y": 168.00000190734863, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "b8bd1677.bb8f78", + "id": "2d5f0b1e.c1c614", "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", + "x": 2022.400001525879, + "y": 419, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "b721916b.7b937", + "id": "b2e58ec6.5d645", "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", + "x": 2037.800048828125, + "y": 456, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "f8fbb1ee.d5667", + "id": "118b871d.510ed9", "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", + "x": 2079.799980163574, + "y": 204.00000286102295, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "e9a10f4d.0c6f2", + "id": "22895b04.ab7d74", "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", + "x": 798.1999816894531, + "y": 318.0000286102295, + "z": "4362d1ff.2aa3f", "wires": [ [ - "dbeea395.8c3ca", - "25820e30.75f5b2" + "abd1c531.fa2f78", + "e6a0257d.2dfd48" ] ] }, { - "id": "dbeea395.8c3ca", + "id": "abd1c531.fa2f78", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1042.2000617980957, - "y": 286.9722023010254, - "z": "ef6618ab.e71c28", + "x": 1078.2000617980957, + "y": 259.7221965789795, + "z": "4362d1ff.2aa3f", "wires": [ [ - "c2981c7a.2705d" + "48a0fb2d.b0dc94" ] ] }, { - "id": "25820e30.75f5b2", + "id": "e6a0257d.2dfd48", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1014.2557640075684, - "y": 369.80552864074707, - "z": "ef6618ab.e71c28", + "x": 1050.2557640075684, + "y": 342.5555229187012, + "z": "4362d1ff.2aa3f", "wires": [ [ - "246e6d87.c3aa62" + "f6c736b1.98b8a8" ] ] }, { - "id": "c2981c7a.2705d", + "id": "48a0fb2d.b0dc94", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 1199.9501647949219, - "y": 285.97229957580566, - "z": "ef6618ab.e71c28", + "x": 1235.9501647949219, + "y": 258.72229385375977, + "z": "4362d1ff.2aa3f", "wires": [ [ - "93f1aeea.7b671", - "f8310a8.4ba15f8" + "626351b8.a723", + "d1c6ef24.c6337" ] ] }, { - "id": "246e6d87.c3aa62", + "id": "f6c736b1.98b8a8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1189.700065612793, - "y": 370.4722270965576, - "z": "ef6618ab.e71c28", + "x": 1225.700065612793, + "y": 343.2222213745117, + "z": "4362d1ff.2aa3f", "wires": [ [ - "e535eca5.6fb25", - "9107d9cf.f639d8" + "2335eb70.005664", + "db2eff35.159b8" ] ] }, { - "id": "93f1aeea.7b671", + "id": "626351b8.a723", "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", + "x": 1415.6997756958008, + "y": 285.3333053588867, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "e535eca5.6fb25", + "id": "2335eb70.005664", "type": "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", + "x": 1427.4497756958008, + "y": 334.9722709655762, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "9107d9cf.f639d8", + "id": "db2eff35.159b8", "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", + "x": 1462.2279968261719, + "y": 390.2222709655762, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "cd297572.69cac8", + "id": "98a3ccc1.d8a57", "type": "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", + "x": 789.8945693969727, + "y": 278.4722204208374, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "f8310a8.4ba15f8", + "id": "d1c6ef24.c6337", "type": "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", + "x": 1403.3945999145508, + "y": 240.4722204208374, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "f553ee6f.fe81e", + "id": "a0041bd3.223548", "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", + "x": 814.1445159912109, + "y": 241.2222194671631, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "c0761ee.a3bd7e", + "id": "f51c6109.c83e", "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", + "x": 724.048957824707, + "y": 358.82101345062256, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "58a0dd44.8fbbf4", + "id": "f12ef748.7c1f48", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 689.9377136230469, - "y": 532.4042720794678, - "z": "ef6618ab.e71c28", + "x": 725.9377136230469, + "y": 505.1542663574219, + "z": "4362d1ff.2aa3f", "wires": [ [ - "e487cff1.9ecc", - "bcc6f080.57b92" + "9f894a5b.2b84b8", + "3b8de901.cf1bc6" ] ] }, { - "id": "8dbf3bb2.a39b78", + "id": "d29699ad.7584f8", "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", + "x": 1597.4934310913086, + "y": 487.93219661712646, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "7634ff46.e0b13", + "id": "fdaf85bc.3245d8", "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", + "x": 622.2340087890625, + "y": 442.9320602416992, + "z": "4362d1ff.2aa3f", "wires": [ [ - "3e6eb38c.8ba68c" + "408160e0.30557" ] ] }, { - "id": "3e6eb38c.8ba68c", + "id": "408160e0.30557", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 775.1228790283203, - "y": 467.95981216430664, - "z": "ef6618ab.e71c28", + "x": 811.1228790283203, + "y": 440.70980644226074, + "z": "4362d1ff.2aa3f", "wires": [ [ - "3f777cef.1ab084", - "baa1c777.b56f58" + "28ad3f2b.de5c5", + "b2ea59b5.d97a58" ] ] }, { - "id": "3f777cef.1ab084", + "id": "28ad3f2b.de5c5", "type": "switchNode", "name": "check schemaSetName", "xml": "<switch test='`$tmp.schemaset.name`'>\n", "comments": "", "outputs": 1, - "x": 986.2711334228516, - "y": 463.95988750457764, - "z": "ef6618ab.e71c28", + "x": 1022.2711334228516, + "y": 436.70988178253174, + "z": "4362d1ff.2aa3f", "wires": [ [ - "8b5bca1d.8f0ab8" + "b42bf25d.2587a" ] ] }, { - "id": "baa1c777.b56f58", + "id": "b2ea59b5.d97a58", "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", + "x": 1011.0488662719727, + "y": 392.70985651016235, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "8b5bca1d.8f0ab8", + "id": "b42bf25d.2587a", "type": "outcome", "name": "if ran-network", "xml": "<outcome value='ran-network'>\n", "comments": "", "outputs": 1, - "x": 1211.8266067504883, - "y": 457.1821041107178, - "z": "ef6618ab.e71c28", + "x": 1247.8266067504883, + "y": 429.9320983886719, + "z": "4362d1ff.2aa3f", "wires": [ [ - "14243a4c.a83bb6" + "286ad45e.2e8f1c" ] ] }, { - "id": "14243a4c.a83bb6", + "id": "286ad45e.2e8f1c", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1391.9624481201172, - "y": 464.4042720794678, - "z": "ef6618ab.e71c28", + "x": 1427.9624481201172, + "y": 437.1542663574219, + "z": "4362d1ff.2aa3f", "wires": [ [ - "e0df91d1.f1017", - "2a4f7390.ffd38c" + "89617d27.3b10d", + "867a81d8.cb624" ] ] }, { - "id": "1c135f07.bdae71", + "id": "32699d5d.1f8142", "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", + "x": 730.2463684082031, + "y": 394.48761558532715, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "e0df91d1.f1017", + "id": "89617d27.3b10d", "type": "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", + "x": 1643.542625427246, + "y": 441.8210144042969, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "bcc6f080.57b92", + "id": "3b8de901.cf1bc6", "type": "switchNode", "name": "check schemaSetName", "xml": "<switch test='`$tmp.schemaset.name`'>\n", "comments": "", "outputs": 1, - "x": 929.3204040527344, - "y": 548.0833263397217, - "z": "ef6618ab.e71c28", + "x": 965.3204040527344, + "y": 520.8333206176758, + "z": "4362d1ff.2aa3f", "wires": [ [ - "6e154725.a06508" + "99e0547c.2f69a8" ] ] }, { - "id": "e487cff1.9ecc", + "id": "9f894a5b.2b84b8", "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", + "x": 963.0981674194336, + "y": 480.8332939147949, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "6e154725.a06508", + "id": "99e0547c.2f69a8", "type": "outcome", "name": "if ran-network", "xml": "<outcome value='ran-network'>\n", "comments": "", "outputs": 1, - "x": 1166.875991821289, - "y": 528.305591583252, - "z": "ef6618ab.e71c28", + "x": 1202.875991821289, + "y": 501.05558586120605, + "z": "4362d1ff.2aa3f", "wires": [ [ - "9733103b.ac886" + "a6bff942.0708e8" ] ] }, { - "id": "9733103b.ac886", + "id": "a6bff942.0708e8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1353.011833190918, - "y": 515.5277590751648, - "z": "ef6618ab.e71c28", + "x": 1389.011833190918, + "y": 488.2777533531189, + "z": "4362d1ff.2aa3f", "wires": [ [ - "8dbf3bb2.a39b78", - "61eecf4e.08f1a" + "d29699ad.7584f8", + "e74d28aa.444dd8" ] ] }, { - "id": "75690319.28e85c", + "id": "cceda3e7.97351", "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", + "x": 513, + "y": 508, + "z": "4362d1ff.2aa3f", "wires": [ [ - "58a0dd44.8fbbf4" + "f12ef748.7c1f48" ] ] }, { - "id": "2a4f7390.ffd38c", + "id": "867a81d8.cb624", "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", + "x": 1659.6000442504883, + "y": 401.0000171661377, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "566f0c13.3c36f4", + "id": "c769bd1c.360ad", "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", + "x": 711, + "y": 591.7500019073486, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "defb0345.d78a8", + "id": "c76f610d.318b8", "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", + "x": 665.0000534057617, + "y": 629.7500038146973, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "9ee9b02d.5d0c5", + "id": "28f33e52.c2d1a2", "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", + "x": 676.0000076293945, + "y": 666.7500038146973, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "f4ad0d69.8a8f4", + "id": "e0c5361e.d177c8", "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", + "x": 691.9999618530273, + "y": 703.7500047683716, + "z": "4362d1ff.2aa3f", "wires": [ [ - "24fc36ac.2cc9aa", - "e42b439f.4e3a6" + "bfbe4a8b.1e5568", + "2011d4eb.10c1bc" ] ] }, { - "id": "58909a66.4f93d4", + "id": "6dcb6d4c.8c36d4", "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", + "x": 2039.6000061035156, + "y": 68.7499942779541, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "2d81f5e.c8e490a", + "id": "4bbd1d8e.1a4364", "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", + "x": 2019.6000061035156, + "y": 308.74999809265137, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "2ab20b2.c4662f4", + "id": "50ac7aee.638584", "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", + "x": 704.0000076293945, + "y": 741.150016784668, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "3c8d387a.bf8218", + "id": "e13403f4.699e1", "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", + "x": 715.0000076293945, + "y": 775.7500171661377, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "5002dadc.f9b734", + "id": "c917eaf1.567e48", "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", + "x": 725.0000076293945, + "y": 809.9500179290771, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "23c0289f.7c38a8", + "id": "c3ddabd8.38d038", "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", + "x": 758, + "y": 846.9500064849854, + "z": "4362d1ff.2aa3f", "wires": [ [ - "e277d055.4e27", - "f7b00508.eded38" + "701ba7e4.da5698", + "1e34b02a.dfb4" ] ] }, { - "id": "f7b00508.eded38", + "id": "1e34b02a.dfb4", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 928, - "y": 929.4000244140625, - "z": "ef6618ab.e71c28", + "x": 964, + "y": 902.1500186920166, + "z": "4362d1ff.2aa3f", "wires": [ [ - "5e221115.468af" + "aadc82ee.c1134" ] ] }, { - "id": "5e221115.468af", + "id": "aadc82ee.c1134", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1085, - "y": 930.4000244140625, - "z": "ef6618ab.e71c28", + "x": 1121, + "y": 903.1500186920166, + "z": "4362d1ff.2aa3f", "wires": [ [ - "96cdea7f.288788", - "b546918c.604f7", - "63add92d.fca458" + "28e25d38.eb88e2", + "f762b636.209728", + "4861e018.32f2" ] ] }, { - "id": "96cdea7f.288788", + "id": "28e25d38.eb88e2", "type": "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", + "x": 1270.00004196167, + "y": 886.1499948501587, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "e277d055.4e27", + "id": "701ba7e4.da5698", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 949, - "y": 870.4000244140625, - "z": "ef6618ab.e71c28", + "x": 985, + "y": 843.1500186920166, + "z": "4362d1ff.2aa3f", "wires": [ [ - "7c238c11.b6f524" + "adb0c1ea.e47de" ] ] }, { - "id": "7c238c11.b6f524", + "id": "adb0c1ea.e47de", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 1081, - "y": 874.4000244140625, - "z": "ef6618ab.e71c28", + "x": 1117, + "y": 847.1500186920166, + "z": "4362d1ff.2aa3f", "wires": [ [ - "5ea6bd82.86b724" + "85a942b0.7eeb4" ] ] }, { - "id": "5ea6bd82.86b724", + "id": "85a942b0.7eeb4", "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", + "x": 1248, + "y": 849.1500186920166, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "727ee4a2.8509dc", + "id": "d562fffb.216e1", "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", + "x": 692.8000106811523, + "y": 909.7500324249268, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "91b52d7b.490f2", + "id": "8a0aeb1.cdd6a18", "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", + "x": 700.8000106811523, + "y": 943.9500322341919, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "4d9d7d5d.5fed04", + "id": "5314131e.59454c", "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", + "x": 729.8000106811523, + "y": 980.9499969482422, + "z": "4362d1ff.2aa3f", "wires": [ [ - "ddb46764.c46498", - "8ea5bea5.8c5b4" + "d889094c.76a8d8", + "aa701de3.deaae" ] ] }, { - "id": "8ea5bea5.8c5b4", + "id": "aa701de3.deaae", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 931.8000335693359, - "y": 1072.6000385284424, - "z": "ef6618ab.e71c28", + "x": 967.8000335693359, + "y": 1045.3500328063965, + "z": "4362d1ff.2aa3f", "wires": [ [ - "228441c4.5742be" + "5e70894e.cb85c8" ] ] }, { - "id": "228441c4.5742be", + "id": "5e70894e.cb85c8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1087.8000411987305, - "y": 1071.6000385284424, - "z": "ef6618ab.e71c28", + "x": 1123.8000411987305, + "y": 1044.3500328063965, + "z": "4362d1ff.2aa3f", "wires": [ [ - "4d611dc3.340854", - "2c8c89f5.a2c7e6", - "a44275d7.21c2a8" + "20de27aa.9cb3f8", + "bbe00c0a.0a2b6", + "fe21841b.420248" ] ] }, { - "id": "4d611dc3.340854", + "id": "20de27aa.9cb3f8", "type": "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", + "x": 1291.7999439239502, + "y": 1048.3501319885254, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "ddb46764.c46498", + "id": "d889094c.76a8d8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 953.7999877929688, - "y": 1005.5999755859375, - "z": "ef6618ab.e71c28", + "x": 989.7999877929688, + "y": 978.3499698638916, + "z": "4362d1ff.2aa3f", "wires": [ [ - "fd86b8da.a98d88" + "ec35dc28.d8e7c" ] ] }, { - "id": "fd86b8da.a98d88", + "id": "ec35dc28.d8e7c", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 1085.7999877929688, - "y": 1009.5999755859375, - "z": "ef6618ab.e71c28", + "x": 1121.7999877929688, + "y": 982.3499698638916, + "z": "4362d1ff.2aa3f", "wires": [ [ - "33177827.1857f8" + "58d7e2d9.7d83cc" ] ] }, { - "id": "33177827.1857f8", + "id": "58d7e2d9.7d83cc", "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", + "x": 1255.7999420166016, + "y": 999.3499965667725, + "z": "4362d1ff.2aa3f", "wires": [] }, { - "id": "405b1b1e.551e24", + "id": "b4bede01.04b64", "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", + "x": 700, + "y": 879.1500186920166, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "b546918c.604f7", + "id": "f762b636.209728", "type": "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", + "x": 1277.00004196167, + "y": 958.9499959945679, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "63add92d.fca458", + "id": "4861e018.32f2", "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", + "x": 1343.6001358032227, + "y": 922.3499946594238, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "2c8c89f5.a2c7e6", + "id": "bbe00c0a.0a2b6", "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", + "x": 1351.4000396728516, + "y": 1095.150058746338, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "a44275d7.21c2a8", + "id": "fe21841b.420248", "type": "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", + "x": 1317.4000244140625, + "y": 1132.550043106079, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "3d27856c.95527a", + "id": "f1813d68.8fae", "type": "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", + "x": 1801.199951171875, + "y": 554.1500186920166, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "1659b31f.61c47d", + "id": "4e5cf884.aa2f38", "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", + "x": 1848.6000518798828, + "y": 787.1500053405762, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "1404947f.e16acc", + "id": "242f5138.c166ee", "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", + "x": 1810.599998474121, + "y": 830.1500301361084, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "54425eac.eaaf6", + "id": "3e905aaa.88fbf6", "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", + "x": 1602.4000244140625, + "y": 992.9500064849854, + "z": "4362d1ff.2aa3f", "wires": [ [ - "2b4e3189.9b8a2e", - "b2a1da52.7c9308" + "9ab960d3.cb4ed", + "dbbd9fd9.c6a2c" ] ] }, { - "id": "e661d74c.681978", + "id": "91e03317.2c8b8", "type": "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", + "x": 702.9999847412109, + "y": 1132.349962234497, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "514dd6f.6906628", + "id": "1699c374.bd60dd", "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", + "x": 2263.39990234375, + "y": 1489.550043106079, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "c52bf64c.f7efa8", + "id": "9837743f.055848", "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", + "x": 2225.3998489379883, + "y": 1532.5500679016113, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "9ce076ba.219ae8", + "id": "d0d6b08.3a2905", "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", + "x": 2235, + "y": 1582.1500186920166, + "z": "4362d1ff.2aa3f", "wires": [ [ - "1c04f0a6.c01d1f", - "6f9f097f.cee4a8" + "1547297b.5d85e7", + "7b8990cd.0e83f" ] ] }, { - "id": "930a549f.867938", + "id": "caa79323.e145c", "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", + "x": 3582.399948120117, + "y": 2493.9505195617676, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "a5776646.7b9808", + "id": "eec6e040.8480e", "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", + "x": 3534.3999557495117, + "y": 2546.9505195617676, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "51a270d0.6d0f9", + "id": "2941f21b.17e4ee", "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", + "x": 3505.999954223633, + "y": 2609.549934387207, + "z": "4362d1ff.2aa3f", "wires": [ [ - "bb5d6dd6.83647", - "4e7786b8.1d6608" + "ed9c3a60.eac898", + "608b7c9c.745044" ] ] }, { - "id": "191dc287.aec87d", + "id": "1ff3dbb1.c96064", "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", + "x": 1971, + "y": 3050.949945449829, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "8fd00b15.09c6f8", + "id": "d6f00dc0.ad8e5", "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", + "x": 2007.0000305175781, + "y": 2995.950038909912, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "f0b44ecd.02e3e", + "id": "7dfb976a.724fb8", "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", + "x": 1980.6001510620117, + "y": 3100.5498962402344, + "z": "4362d1ff.2aa3f", "wires": [ [ - "6a11af4f.d7015", - "6c216737.b275e8" + "ee0240bc.c8eb3", + "20618a7.7ae8276" ] ] }, { - "id": "b9a6e18d.cb90d", + "id": "7553abbd.3b7564", "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`\"/>", + "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": 2044.5999755859375, - "y": 3885.39990234375, - "z": "ef6618ab.e71c28", + "x": 3113, + "y": 5060.149896621704, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "8988f981.ab5bc8", + "id": "ed312bcb.44f578", "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`\"/>", + "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": 2006.5999221801758, - "y": 3928.399927139282, - "z": "ef6618ab.e71c28", + "x": 3074.9999465942383, + "y": 5103.149921417236, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "50e238c2.478fb8", + "id": "432501b7.4c769", "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\"/>", + "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": 2016.2000732421875, - "y": 3977.9998779296875, - "z": "ef6618ab.e71c28", + "x": 3084.60009765625, + "y": 5152.749872207642, + "z": "4362d1ff.2aa3f", "wires": [ [ - "6b827803.541a98", - "67c67695.b83e18" + "a3804138.8c7b3", + "89a24fe.dbeeab" ] ] }, { - "id": "b2cb93a7.0ea5b", + "id": "a19eda1f.73b018", "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`\"/>", + "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": 3077, - "y": 5087.39990234375, - "z": "ef6618ab.e71c28", + "x": 4511.999961853027, + "y": 6002.349986076355, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "5e5d6483.74da7c", + "id": "f1e36c26.bfaa8", "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`\"/>", + "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": 3038.9999465942383, - "y": 5130.399927139282, - "z": "ef6618ab.e71c28", + "x": 4469.999961853027, + "y": 6055.349987030029, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "abfcd08f.28a71", + "id": "2c9cdcfa.95e8a4", "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\"/>", + "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": 3048.60009765625, - "y": 5179.9998779296875, - "z": "ef6618ab.e71c28", + "x": 4443.599960327148, + "y": 6131.949987411499, + "z": "4362d1ff.2aa3f", "wires": [ [ - "9cbbdff1.2db93", - "87aacf63.99c86" + "a0f874be.1820c8", + "143724b4.a98d2b" ] ] }, { - "id": "fc856f47.9a3c5", + "id": "4c7b1b22.bd0f74", "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`\"/>", + "name": "RRMPolicymember id", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyMember_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].idx'`\" />\n ", + "comments": "", + "outputs": 1, + "x": 2936.2000427246094, + "y": 2122.3999280929565, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "af237d9f.d9f0c", + "type": "execute", + "name": "RRMPolicymember id", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyMember_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].idx'`\" />\n ", + "comments": "", + "outputs": 1, + "x": 2527.199951171875, + "y": 3325.800048828125, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "59703974.f6ec58", + "type": "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=\"idx cuup \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPRRMPolicyMember_id`\"/>\n", "comments": "", "outputs": 1, - "x": 3559, - "y": 6012.60009765625, - "z": "ef6618ab.e71c28", + "x": 2087.800048828125, + "y": 3703.800048828125, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "2a875355.2f2dcc", + "id": "3d14a997.5217d6", + "type": "execute", + "name": "RRMPolicyMember id", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CellDURRMPolicyMember_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].idx'`\" />\n ", + "comments": "", + "outputs": 1, + "x": 4041.3999633789062, + "y": 5532.799886703491, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "6dcc7813.e3e918", + "type": "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=\"rrm policy nsssai\"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyMember_sNSSAI`\"/>\n", + "comments": "", + "outputs": 1, + "x": 3567.199951171875, + "y": 2225.949945449829, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "35ad06cb.b6516a", + "type": "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 for rrmmember \"/>\n\n", + "comments": "", + "outputs": 1, + "x": 4274.199966430664, + "y": 2208.950075149536, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "33aceed8.67cb72", + "type": "execute", + "name": "Read RRMPolicyMember-sNSSA", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyMember_sNSSAI' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].sNSSAI'`\" />\n ", + "comments": "", + "outputs": 1, + "x": 3567.39990234375, + "y": 2191.550043106079, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "cbe5319b.fdcfe", + "type": "failure", + "name": "failure", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 3912, + "y": 2308.550043106079, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "5f2ff54f.6d7c2c" + ] + ] + }, + { + "id": "5f2ff54f.6d7c2c", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4107, + "y": 2358.550043106079, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "2ddcd572.fedaca", + "d9efcf13.fe644" + ] + ] + }, + { + "id": "2ddcd572.fedaca", + "type": "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 not found for rrmmember \"/>\n\n", + "comments": "", + "outputs": 1, + "x": 4279, + "y": 2369.550043106079, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "a124dda8.0e64f", + "type": "set", + "name": "set boolflag", + "xml": "<set>\n<parameter name='tmp.setboolflagcucp' value=\"false\" />\n", + "comments": "", + "x": 2528.6001358032227, + "y": 2055.1500492095947, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "b5d5aa72.a5f438", + "type": "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=\"bool flag after setting\"/>\n<parameter name=\"field2\" value=\"`$tmp.setboolflagcucp`\"/>\n", + "comments": "", + "outputs": 1, + "x": 2541.6001358032227, + "y": 2092.149927139282, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "793708dc.13b3a8", + "type": "set", + "name": "set boolflag", + "xml": "<set>\n<parameter name='tmp.setboolflagcucp' value=\"true\" />\n", + "comments": "", + "x": 3486.39990234375, + "y": 2026.1500186920166, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "2934c5cc.82cd4a", + "type": "set", + "name": "set boolflag", + "xml": "<set>\n<parameter name='tmp.setboolflagcucp' value=\"true\" />\n", + "comments": "", + "x": 4302.39990234375, + "y": 2174.550043106079, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "d9efcf13.fe644", + "type": "set", + "name": "set boolflag", + "xml": "<set>\n<parameter name='tmp.setboolflagcucp' value=\"false\" />\n", + "comments": "", + "x": 4289.39990234375, + "y": 2333.550043106079, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "b468c089.b2fb5", + "type": "switchNode", + "name": "check bool flag", + "xml": "<switch test='`$tmp.setboolflagcucp == true`'>\n\n \n", + "comments": "", + "outputs": 1, + "x": 2931.599899291992, + "y": 2463.9500312805176, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "5971a46a.93c88c", + "c7b0ab90.4d8dd8" + ] + ] + }, + { + "id": "5971a46a.93c88c", + "type": "success", + "name": "success", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 3138.4001388549805, + "y": 2429.950029373169, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "56cb9778.4e3e78" + ] + ] + }, + { + "id": "56cb9778.4e3e78", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3290.0665435791016, + "y": 2427.9504203796387, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "fa2cd2e4.57dc4", + "260c6520.4374aa", + "eec6e040.8480e", + "caa79323.e145c", + "2941f21b.17e4ee" + ] + ] + }, + { + "id": "c7b0ab90.4d8dd8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 3149.0110778808594, + "y": 2483.2834300994873, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "44cba1ac.1cdfe" + ] + ] + }, + { + "id": "44cba1ac.1cdfe", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3291.678024291992, + "y": 2489.6170234680176, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "ed7350dc.22c34" + ] + ] + }, + { + "id": "ed7350dc.22c34", + "type": "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=\"Bool flag Failed no deletion\"/>", + "comments": "", + "outputs": 1, + "x": 3189.800094604492, + "y": 2604.9500312805176, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "260c6520.4374aa", + "type": "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=\"bool flag true calling deletion\"/>", + "comments": "", + "outputs": 1, + "x": 3539.7999572753906, + "y": 2366.950126647949, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "e800da47.171388", + "type": "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=\"id set before calling url \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n", + "comments": "", + "outputs": 1, + "x": 3021.800048828125, + "y": 2412.550043106079, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "b99190ef.80ff8", + "type": "set", + "name": "set boolflag", + "xml": "<set>\n<parameter name='tmp.setboolflagcuup' value=\"false\" />\n", + "comments": "", + "x": 2060.600128173828, + "y": 3436.350142478943, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "c644812f.e5824", + "type": "execute", + "name": "Read RRMPolicyMember-sNSSAI", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyMember_sNSSAI' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].sNSSAI'`\" />\n ", + "comments": "", + "outputs": 1, + "x": 3097.000045776367, + "y": 3456.350145339966, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "e736d331.e0c38", + "type": "set", + "name": "set boolflag", + "xml": "<set>\n<parameter name='tmp.setboolflagcuup' value=\"true\" />\n", + "comments": "", + "x": 2796.60009765625, + "y": 3137.350091934204, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "a8436112.ba03b", + "type": "failure", + "name": "False", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 3336, + "y": 3529.350091934204, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "6dc412fe.1d9f3c" + ] + ] + }, + { + "id": "bb42cbe8.b379e8", + "type": "set", + "name": "set boolflag", + "xml": "<set>\n<parameter name='tmp.setboolflagcuup' value=\"true\" />\n", + "comments": "", + "x": 3793, + "y": 3415.350091934204, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "6dc412fe.1d9f3c", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3533, + "y": 3539.350091934204, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "9f4c8c93.f5312" + ] + ] + }, + { + "id": "9f4c8c93.f5312", + "type": "set", + "name": "set boolflag", + "xml": "<set>\n<parameter name='tmp.setboolflagcuup' value=\"false\" />\n", + "comments": "", + "x": 3731, + "y": 3581.350091934204, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "b176ba88.4b4458", + "type": "switchNode", + "name": "check bool flag", + "xml": "<switch test='`$tmp.setboolflagcuup == true`'>\n\n \n", + "comments": "", + "outputs": 1, + "x": 2464.3999404907227, + "y": 3640.9500007629395, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "1a651c69.a41574", + "e29ee685.cd6698" + ] + ] + }, + { + "id": "1a651c69.a41574", + "type": "success", + "name": "success", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2662.2001419067383, + "y": 3644.9499435424805, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "ba23a822.a692d8" + ] + ] + }, + { + "id": "ba23a822.a692d8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2813.8665466308594, + "y": 3642.95033454895, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "83563474.6e2428", + "bd552584.d195b8", + "60564818.378dd8", + "387c0fcb.c59d7" + ] + ] + }, + { + "id": "e29ee685.cd6698", + "type": "failure", + "name": "failure", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 2672.811080932617, + "y": 3698.283344268799, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "a8a357e0.93c6e8" + ] + ] + }, + { + "id": "a8a357e0.93c6e8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2815.47802734375, + "y": 3704.616937637329, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "14d3105e.a7a48" + ] + ] + }, + { + "id": "c0ec5d15.e2a62", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3605.800094604492, + "y": 3647.35014629364, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "bde0b1ab.a13de" + ] + ] + }, + { + "id": "bde0b1ab.a13de", + "type": "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": 3769.800491333008, + "y": 3647.350145339966, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "972e47d4.adfd38", + "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": 3738.8001022338867, + "y": 3703.3501472473145, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "383bfe26.b1fe32", + "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": 3779.800491333008, + "y": 3746.3501472473145, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "b0cbc440.0b88c8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3535.800491333008, + "y": 3715.3497562408447, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "383bfe26.b1fe32", + "972e47d4.adfd38" + ] + ] + }, + { + "id": "8e01220e.54b76", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3322.8000984191895, + "y": 3728.3501472473145, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "b0cbc440.0b88c8" + ] + ] + }, + { + "id": "34aff615.956eca", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3439.8000984191895, + "y": 3647.3509254455566, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "c0ec5d15.e2a62" + ] + ] + }, + { + "id": "83563474.6e2428", + "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": 3075.800048828125, + "y": 3651.350145339966, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "34aff615.956eca", + "8e01220e.54b76" + ] + ] + }, + { + "id": "617e43ad.ae35dc", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3545.800048828125, + "y": 3846.350091934204, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "737f5ac9.d3a014" + ] + ] + }, + { + "id": "76a29d29.9e9554", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3552.800079345703, + "y": 3918.5503463745117, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "d6c8aa60.567c88" + ] + ] + }, + { + "id": "737f5ac9.d3a014", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3714.800048828125, + "y": 3845.350091934204, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "a9dac52b.98a3e8", + "4f04be96.63f24" + ] + ] + }, + { + "id": "4f04be96.63f24", + "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": 3899.7998962402344, + "y": 3885.3501920700073, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "a9dac52b.98a3e8", + "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": 3895.7998962402344, + "y": 3845.350191116333, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "d6c8aa60.567c88", + "type": "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": 3795.800048828125, + "y": 3930.350091934204, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "bd552584.d195b8", + "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": 3121.7998962402344, + "y": 3777.1001482009888, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "60564818.378dd8", "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`\"/>", + "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": 3520.9999465942383, - "y": 6055.600122451782, - "z": "ef6618ab.e71c28", + "x": 3107.799903869629, + "y": 3825.100149154663, + "z": "4362d1ff.2aa3f", "wires": [ [] ] }, { - "id": "5c5f4115.5dccd", + "id": "387c0fcb.c59d7", "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\"/>", + "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": 3530.60009765625, - "y": 6105.2000732421875, - "z": "ef6618ab.e71c28", + "x": 3118.400291442871, + "y": 3875.700149536133, + "z": "4362d1ff.2aa3f", "wires": [ [ - "f4950f8e.2c2cb", - "639111e1.a2174" + "617e43ad.ae35dc", + "76a29d29.9e9554" ] ] + }, + { + "id": "14d3105e.a7a48", + "type": "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=\"Bool flag Failed no deletion\"/>", + "comments": "", + "outputs": 1, + "x": 2853.1221084594727, + "y": 3780.0828647613525, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "5c1a93bb.2a6b7c", + "type": "set", + "name": "set boolflag", + "xml": "<set>\n<parameter name='tmp.setboolflagdu' value=\"false\" />\n", + "comments": "", + "x": 3620.39990234375, + "y": 5532.749994277954, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "479e281f.6780e8", + "type": "set", + "name": "set boolflag", + "xml": "<set>\n<parameter name='tmp.setboolflagdu' value=\"true\" />\n", + "comments": "", + "x": 4596.799865722656, + "y": 5370.750074386597, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "134ce212.7d5bde", + "type": "set", + "name": "set boolflag", + "xml": "<set>\n<parameter name='tmp.setboolflagdu' value=\"true\" />\n", + "comments": "", + "x": 5375.7998046875, + "y": 5574.749994277954, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "e130ff6b.e30d1", + "type": "failure", + "name": "failure", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 4958, + "y": 5695.749994277954, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "8292ff5.a26de" + ] + ] + }, + { + "id": "8292ff5.a26de", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 5143.667259216309, + "y": 5701.083671569824, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "68b95103.d930d", + "290adac9.ffb786" + ] + ] + }, + { + "id": "68b95103.d930d", + "type": "set", + "name": "set boolflag", + "xml": "<set>\n<parameter name='tmp.setboolflagdu' value=\"false\" />\n", + "comments": "", + "x": 5359.999980926514, + "y": 5771.750665664673, + "z": "4362d1ff.2aa3f", + "wires": [] + }, + { + "id": "d321b367.90d9d", + "type": "execute", + "name": "Read RRMPolicyMember-sNSSA", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDURRMPolicyMember_sNSSAI' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].sNSSAI'`\" />\n ", + "comments": "", + "outputs": 1, + "x": 4711.800262451172, + "y": 5542.749979019165, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "bd39660d.8679b8", + "type": "switchNode", + "name": "check bool flag", + "xml": "<switch test='`$tmp.setboolflagdu == true`'>\n\n \n", + "comments": "", + "outputs": 1, + "x": 3919.3999557495117, + "y": 5837.350178718567, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "201e389c.ed9768", + "a0e824d6.c476b8" + ] + ] + }, + { + "id": "201e389c.ed9768", + "type": "success", + "name": "success", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 4086.2000617980957, + "y": 5807.350081443787, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "ebc4d6ed.dbc8e8" + ] + ] + }, + { + "id": "ebc4d6ed.dbc8e8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4233.866508483887, + "y": 5844.350425720215, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "a2ab1045.8aaad", + "a19eda1f.73b018", + "f1e36c26.bfaa8", + "2c9cdcfa.95e8a4" + ] + ] + }, + { + "id": "a0e824d6.c476b8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 4092.8110427856445, + "y": 5899.6834354400635, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "b15edbf5.32ba08" + ] + ] + }, + { + "id": "b15edbf5.32ba08", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4235.477989196777, + "y": 5906.017028808594, + "z": "4362d1ff.2aa3f", + "wires": [ + [ + "710b3ac2.0a8ee4" + ] + ] + }, + { + "id": "710b3ac2.0a8ee4", + "type": "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=\"flag false no deletion\"/>", + "comments": "", + "outputs": 1, + "x": 4263.7998046875, + "y": 5965.350091934204, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "3c95a7fa.43b848", + "type": "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 nssai du\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDURRMPolicyMember_sNSSAI`\"/>\n", + "comments": "", + "outputs": 1, + "x": 4702, + "y": 5579.149896621704, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] + }, + { + "id": "290adac9.ffb786", + "type": "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 not found\"/>\n\n", + "comments": "", + "outputs": 1, + "x": 5359.399982452393, + "y": 5720.950273513794, + "z": "4362d1ff.2aa3f", + "wires": [ + [] + ] } ]
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json index 76f062f4..5375dab3 100644 --- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json @@ -1,36 +1,36 @@ [ { - "id": "5d7a8a4.399b674", + "id": "d1e7af47.6f931", "type": "method", "name": "method", "xml": "<method rpc='terminateRANSliceInstance' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 149, - "y": 275.00000381469727, - "z": "ae173881.f63c38", + "x": 195, + "y": 301.00000381469727, + "z": "caf08a98.986ee8", "wires": [ [ - "1bd2d18e.d8968e" + "eab5d513.78f368" ] ] }, { - "id": "a8565007.84d53", + "id": "a9e91766.5294e8", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 152, - "y": 125, - "z": "ae173881.f63c38", + "x": 198, + "y": 151, + "z": "caf08a98.986ee8", "wires": [ [ - "757edbb2.896d14" + "caed2765.fc59a8" ] ] }, { - "id": "757edbb2.896d14", + "id": "caed2765.fc59a8", "type": "service-logic", "name": "ran-slice-api ${project.version}", "module": "ran-slice-api", @@ -38,182 +38,227 @@ "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": 209.99998474121094, - "y": 186.00009536743164, - "z": "ae173881.f63c38", + "x": 255.99998474121094, + "y": 212.00009536743164, + "z": "caf08a98.986ee8", "wires": [ [ - "5d7a8a4.399b674" + "d1e7af47.6f931" ] ] }, { - "id": "1bd2d18e.d8968e", + "id": "eab5d513.78f368", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 303, - "y": 352, - "z": "ae173881.f63c38", + "x": 349, + "y": 378, + "z": "caf08a98.986ee8", "wires": [ [ - "fa817d28.5fff" + "aa977715.f49368", + "d8967c83.83d89", + "b2a30f21.fb34d", + "71cc1e38.80e52" ] ] }, { - "id": "fa817d28.5fff", + "id": "aa977715.f49368", "type": "switchNode", "name": "switch configdb deployed", - "xml": "<switch test='`$prop.configdb-deployed`'>\n", + "xml": "<switch test='`$prop.configdb-deployed`'>\n\n", "comments": "", "outputs": 1, - "x": 476.00000762939453, - "y": 282.00000381469727, - "z": "ae173881.f63c38", + "x": 595.0000076293945, + "y": 347.00000381469727, + "z": "caf08a98.986ee8", "wires": [ [ - "deb8bda.62c444", - "dc2e7a56.adbfa8" + "67fd2250.5743bc", + "4989df0a.7e501" ] ] }, { - "id": "deb8bda.62c444", + "id": "67fd2250.5743bc", "type": "outcome", "name": "ConfigDB Deployed", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 727.0000305175781, - "y": 256.9999694824219, - "z": "ae173881.f63c38", + "x": 773.0000305175781, + "y": 282.9999694824219, + "z": "caf08a98.986ee8", "wires": [ [ - "c7bc97f2.0ae808" + "ba2ee922.e69b38" ] ] }, { - "id": "dc2e7a56.adbfa8", + "id": "4989df0a.7e501", "type": "outcome", "name": "CPS Deployed", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 682.0000076293945, - "y": 406.0000057220459, - "z": "ae173881.f63c38", + "x": 728.0000076293945, + "y": 432.0000057220459, + "z": "caf08a98.986ee8", "wires": [ [ - "e37ba065.98f6d" + "62f74699.a46298" ] ] }, { - "id": "e37ba065.98f6d", + "id": "62f74699.a46298", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 903.0000114440918, - "y": 401.99998140335083, - "z": "ae173881.f63c38", + "x": 949.0000114440918, + "y": 427.99998140335083, + "z": "caf08a98.986ee8", "wires": [ [ - "e72f4d6.6af97b", - "c8bd2cef.30f8" + "35328acd.181116", + "63db8ef6.f26ba" ] ] }, { - "id": "c7bc97f2.0ae808", + "id": "ba2ee922.e69b38", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 940, - "y": 266, - "z": "ae173881.f63c38", + "x": 986, + "y": 292, + "z": "caf08a98.986ee8", "wires": [ [ - "d57d2de3.9e931", - "b1b35d47.3428a" + "7ed6294c.a0ff38", + "2dc22bd3.475184" ] ] }, { - "id": "d57d2de3.9e931", + "id": "7ed6294c.a0ff38", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling instantiateRANSliceModifyAllocate-CPS \"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling terminateranslice-Configdb \"/>", "comments": "", "outputs": 1, - "x": 1124, - "y": 223, - "z": "ae173881.f63c38", + "x": 1170, + "y": 249, + "z": "caf08a98.986ee8", "wires": [ [] ] }, { - "id": "b1b35d47.3428a", + "id": "2dc22bd3.475184", "type": "call", "name": "call terminateRanslice-configdb", "xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance-configDb' mode='sync' >\n", "comments": "", "outputs": 1, - "x": 1209.678897857666, - "y": 277.75000762939453, - "z": "ae173881.f63c38", + "x": 1255.678897857666, + "y": 303.75000762939453, + "z": "caf08a98.986ee8", "wires": [ [] ] }, { - "id": "e72f4d6.6af97b", + "id": "35328acd.181116", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling instantiateRANSliceModifyAllocate-CPS \"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling terminateranslice-CPS \"/>", "comments": "", "outputs": 1, - "x": 1107, - "y": 401, - "z": "ae173881.f63c38", + "x": 1153, + "y": 427, + "z": "caf08a98.986ee8", "wires": [ [] ] }, { - "id": "c8bd2cef.30f8", + "id": "63db8ef6.f26ba", "type": "call", "name": "call terminateRanslice-cps", "xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance-cps' mode='sync' >\n", "comments": "", "outputs": 1, - "x": 1192.678897857666, - "y": 455.75000762939453, - "z": "ae173881.f63c38", + "x": 1238.678897857666, + "y": 481.75000762939453, + "z": "caf08a98.986ee8", "wires": [ [] ] }, { - "id": "238e69cb.6016d6", + "id": "fae38958.1a6888", "type": "comment", "name": "terminateRANSliceInstance/instantiateRANSliceModifyDeallocate", "info": "", "comments": "", - "x": 687, - "y": 64, - "z": "ae173881.f63c38", + "x": 733, + "y": 90, + "z": "caf08a98.986ee8", "wires": [] + }, + { + "id": "d8967c83.83d89", + "type": "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=\"value of configdb deployed\"/>\n<parameter name=\"field2\" value='`$prop.configdb-deployed`'/>", + "comments": "", + "outputs": 1, + "x": 577.0000076293945, + "y": 285.00000381469727, + "z": "caf08a98.986ee8", + "wires": [ + [] + ] + }, + { + "id": "b2a30f21.fb34d", + "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": 575.0000076293945, + "y": 195.00000190734863, + "z": "caf08a98.986ee8", + "wires": [ + [] + ] + }, + { + "id": "71cc1e38.80e52", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. controller details \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field5\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field6\" value=\"`$prop.ransim-mounted`\"/>\n<parameter name=\"field7\" value=\"config DB deployed (true/false): \"/>\n<parameter name=\"field8\" value=\"`$prop.configdb-deployed`\"/>", + "comments": "", + "outputs": 1, + "x": 555.000057220459, + "y": 236.0000514984131, + "z": "caf08a98.986ee8", + "wires": [ + [] + ] } ]
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance-cps.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance-cps.xml index 4d8c1b9c..eaaa9bf5 100644 --- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance-cps.xml +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance-cps.xml @@ -1011,6 +1011,15 @@ <for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`'> <block atomic='true'> <set> + <parameter name='tmp.setboolflagcucp' value="false" /> + </set> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="bool flag after setting"/> + <parameter name="field2" value="`$tmp.setboolflagcucp`"/> + </record> + <set> <parameter name='tmp.rrmPolicyDedicatedRatio_cellCU' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" /> <parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value="`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`" /> </set> @@ -1030,9 +1039,16 @@ </record> <for index='idcu-rrm1' start='0' end='`$tmp.NRCellCURRMPolicyMembersLength`' > <block atomic='true'> - <switch test='`$tmp.NRCellCURRMPolicyMembersLength > 0`'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.RRMPolicyMember_id' /> + <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].idx'`" /> + </execute> + <switch test='`$tmp.NRCellCURRMPolicyMembersLength == 1`'> <outcome value='true'> <block atomic='true'> + <set> + <parameter name='tmp.setboolflagcucp' value="true" /> + </set> <switch test='`$prop.ransim-mounted`'> <outcome value='false'> <block atomic='true'> @@ -1065,18 +1081,30 @@ </outcome> <outcome value='false'> <block atomic='true'> - <set> - <parameter name='tmp.RRMPolicyMember_sNSSAI' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].sNSSAI'`" /> - </set> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.RRMPolicyMember_sNSSAI' /> + <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].sNSSAI'`" /> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="rrm policy nsssai"/> + <parameter name="field2" value="`$tmp.RRMPolicyMember_sNSSAI`"/> + </record> <switch test='`$tmp.RRMPolicyMember_sNSSAI==$tmp.sNSSAI`'> - <outcome value='success'> + <outcome value='true'> <block atomic='true'> <set> - <parameter name='tmp.RRMPolicyMember_id' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].idx'`" /> + <parameter name='tmp.setboolflagcucp' value="true" /> </set> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> <parameter name="level" value="info" /> + <parameter name="field1" value="Matching snssai found for rrmmember "/> + </record> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> <parameter name="field1" value="RRMPolicyMember id - "/> <parameter name="field2" value="`$tmp.RRMPolicyMember_id`"/> </record> @@ -1108,6 +1136,18 @@ </switch> </block> </outcome> + <outcome value='false'> + <block atomic='true'> + <set> + <parameter name='tmp.setboolflagcucp' value="false" /> + </set> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Matching snssai not found for rrmmember "/> + </record> + </block> + </outcome> </switch> </block> </outcome> @@ -1131,11 +1171,149 @@ <parameter name="replacement" value="`$tmp.RRMPolicyRatio_id`"/> </execute> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/> - <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/> + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> <parameter name="target" value="{idx}"/> <parameter name="replacement" value="`$tmp.RRMPolicyMember_id`"/> </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="id set before calling url "/> + <parameter name="field2" value="`$tmp.RRMPolicyMember_id`"/> + </record> + <switch test='`$tmp.setboolflagcucp == true`'> + <outcome value='true'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="bool flag true calling deletion"/> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.deleteRRMPolicyRatio.url`"/> + <parameter name="restapiUser" value="`$prop.controller.user`" /> + <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> + <parameter name="httpMethod" value="DELETE"/> + <parameter name="responsePrefix" value="delete-cellCU-RRMPolicyRatio-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <outcome value='success'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully Deleted - cellCU RRMpolicyRatio/RRMPolicyMember"/> + </record> + </block> + </outcome> + <outcome value='failure'> + <block atomic='true'> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error Removing cellCU RRMPolicyRatio. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error removing NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/> + </return> + <block atomic='true'> + <set> + <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> + <parameter name="tmp.status" value="success"/> + <parameter name="tmp.reason" value="`$error-message`"/> + <parameter name="tmp.requestID" value="`$terminate-r-a-n-slice-input.common-header.request-id `"/> + <parameter name="tmp.action" value="`$terminate-r-a-n-slice-instance-input.action`"/> + </set> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for SO Callback Response"/> + <parameter name='field2' value="`$tmp.so.callbackURL`" /> + <parameter name='field3' value="`$tmp.status`" /> + <parameter name='field4' value="`$tmp.reason`" /> + <parameter name='field5' value="`$tmp.requestID`" /> + <parameter name='field6' value="`$tmp.action`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="so-callback-terminate-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='*/*' /> + <parameter name="convertResponse" value="true"/> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> + <outcome value='failure'> + <block> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name="error-code" value="500" /> + <parameter name="error-message" value="Error sending SO Response" /> + </return> + </block> + </outcome> + <outcome value='success'> + <block> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="SO Response Sent "/> + </record> + </block> + </outcome> + </execute> + </block> + </block> + </outcome> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/> + <parameter name="outputPath" value="tmp.cps.deletenssai.cellcu.rrmpolicy.url"/> + <parameter name="target" value="{schemaSet}"/> + <parameter name="replacement" value="`$tmp.schemaset.name`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.cps.deletenssai.cellcu.rrmpolicy.url`"/> + <parameter name="outputPath" value="tmp.cps.deletenssai.cellcu.rrmpolicy.url"/> + <parameter name="target" value="{templateId}"/> + <parameter name="replacement" value="`$prop.tbdmt.template.delete-nssai-from-cucp-rrmpolicy`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$tmp.cps.deletenssai.cellcu.rrmpolicy.url`"/> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/delete-cucp-rrmpolicy-nssai.json'`" /> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="cps-cucp-rrmpolicy-nssai-delete-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="convertResponse" value="true"/> + <outcome value='failure'> + <block atomic='true'></block> + </outcome> + <outcome value='success'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully removed - gNBCU rrmpolicy Entry from configdb"/> + </record> + </outcome> + </execute> + </block> + </outcome> + <outcome value='false'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Bool flag Failed no deletion"/> + </record> + </block> + </outcome> + </switch> </block> </for> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> @@ -1145,119 +1323,9 @@ <parameter name="field2" value="`$tmp.deleteRRMPolicyRatio.url`"/> <parameter name="field3" value="RRMPolicyRatio id"/> <parameter name="field4" value="`$tmp.RRMPolicyRatio_id`"/> + <parameter name="field5" value="RRMPolicyRatio member id"/> + <parameter name="field6" value="`$tmp.RRMPolicyMember_id`"/> </record> - <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.deleteRRMPolicyRatio.url`"/> - <parameter name="restapiUser" value="`$prop.controller.user`" /> - <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> - <parameter name="httpMethod" value="DELETE"/> - <parameter name="responsePrefix" value="delete-cellCU-RRMPolicyRatio-response"/> - <parameter name='contentType' value='application/json' /> - <parameter name='format' value='json' /> - <outcome value='success'> - <block atomic='true'> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Successfully Deleted - cellCU RRMpolicyRatio/RRMPolicyMember"/> - </record> - </block> - </outcome> - <outcome value='failure'> - <block atomic='true'> - <set> - <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error Removing cellCU RRMPolicyRatio. Aborting RPC executiopn'/> - </set> - <return status='failure'> - <parameter name='ack-final' value='Y'/> - <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error removing NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/> - </return> - <block atomic='true'> - <set> - <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> - <parameter name="tmp.status" value="success"/> - <parameter name="tmp.reason" value="`$error-message`"/> - <parameter name="tmp.requestID" value="`$terminate-r-a-n-slice-input.common-header.request-id `"/> - <parameter name="tmp.action" value="`$terminate-r-a-n-slice-instance-input.action`"/> - </set> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="URL for SO Callback Response"/> - <parameter name='field2' value="`$tmp.so.callbackURL`" /> - <parameter name='field3' value="`$tmp.status`" /> - <parameter name='field4' value="`$tmp.reason`" /> - <parameter name='field5' value="`$tmp.requestID`" /> - <parameter name='field6' value="`$tmp.action`" /> - </record> - <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> - <parameter name="httpMethod" value="POST"/> - <parameter name="responsePrefix" value="so-callback-terminate-response"/> - <parameter name='contentType' value='application/json' /> - <parameter name='format' value='json' /> - <parameter name='accept' value='*/*' /> - <parameter name="convertResponse" value="true"/> - <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> - <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> - <outcome value='failure'> - <block> - <return status='failure'> - <parameter name='ack-final' value='Y'/> - <parameter name="error-code" value="500" /> - <parameter name="error-message" value="Error sending SO Response" /> - </return> - </block> - </outcome> - <outcome value='success'> - <block> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="SO Response Sent "/> - </record> - </block> - </outcome> - </execute> - </block> - </block> - </outcome> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/> - <parameter name="outputPath" value="tmp.cps.deletenssai.cellcu.rrmpolicy.url"/> - <parameter name="target" value="{schemaSet}"/> - <parameter name="replacement" value="`$tmp.schemaset.name`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.cps.deletenssai.cellcu.rrmpolicy.url`"/> - <parameter name="outputPath" value="tmp.cps.deletenssai.cellcu.rrmpolicy.url"/> - <parameter name="target" value="{templateId}"/> - <parameter name="replacement" value="`$prop.tbdmt.template.delete-nssai-from-cucp-rrmpolicy`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="restapiUrl" value="`$tmp.cps.deletenssai.cellcu.rrmpolicy.url`"/> - <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/delete-cucp-rrmpolicy-nssai.json'`" /> - <parameter name="httpMethod" value="POST"/> - <parameter name="responsePrefix" value="cps-cucp-rrmpolicy-nssai-delete-response"/> - <parameter name='contentType' value='application/json' /> - <parameter name='format' value='json' /> - <parameter name='accept' value='application/json' /> - <parameter name="convertResponse" value="true"/> - <outcome value='failure'> - <block atomic='true'></block> - </outcome> - <outcome value='success'> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Successfully removed - gNBCU rrmpolicy Entry from configdb"/> - </record> - </outcome> - </execute> </block> </for> </block> @@ -1723,6 +1791,9 @@ </record> <for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' > <block atomic='true'> + <set> + <parameter name='tmp.setboolflagcuup' value="false" /> + </set> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> <parameter name='outputPath' value='tmp.CUUPRRMPolicyRatio_id' /> <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`" /> @@ -1739,9 +1810,16 @@ </record> <for index='idcu-rrm2' start='0' end='`$tmp.CUUPRRMPolicyMembersLength`' > <block atomic='true'> - <switch test='`$tmp.CUUPRRMPolicyMembersLength > 0`'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.CUUPRRMPolicyMember_id' /> + <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].idx'`" /> + </execute> + <switch test='`$tmp.CUUPRRMPolicyMembersLength == 1`'> <outcome value='true'> <block atomic='true'> + <set> + <parameter name='tmp.setboolflagcuup' value="true" /> + </set> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> <parameter name="level" value="info" /> @@ -1763,12 +1841,6 @@ <parameter name="target" value="{idNearRTRIC}"/> <parameter name="replacement" value="`$tmp.nearRTRICId`"/> </execute> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Delete RRMPolicy URL after setting - "/> - <parameter name="field2" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> - </record> </block> </outcome> <outcome value='true'> @@ -1798,14 +1870,15 @@ <parameter name="field1" value="Failure" /> <parameter name="field2" value="Tocheck if ransim mounted" /> </record> - <set> - <parameter name='tmp.CUUPRRMPolicyMember_sNSSAI' value="`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].sNSSAI'`" /> - </set> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.CUUPRRMPolicyMember_sNSSAI' /> + <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].sNSSAI'`" /> + </execute> <switch test='`$tmp.CUUPRRMPolicyMember_sNSSAI==$tmp.sNSSAI`'> - <outcome value='success'> + <outcome value='true'> <block atomic='true'> <set> - <parameter name='tmp.CUUPRRMPolicyMember_id' value="`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].idx'`" /> + <parameter name='tmp.setboolflagcuup' value="true" /> </set> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> @@ -1841,6 +1914,13 @@ </switch> </block> </outcome> + <outcome value='false'> + <block atomic='true'> + <set> + <parameter name='tmp.setboolflagcuup' value="false" /> + </set> + </block> + </outcome> </switch> </block> </outcome> @@ -1869,6 +1949,94 @@ <parameter name="target" value="{idx}"/> <parameter name="replacement" value="`$tmp.CUUPRRMPolicyMember_id`"/> </execute> + <switch test='`$tmp.setboolflagcuup == true`'> + <outcome value='true'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.deleteRRMPolicyRatio-CUUP.url`"/> + <parameter name="restapiUser" value="`$prop.controller.user`" /> + <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> + <parameter name="httpMethod" value="DELETE"/> + <parameter name="responsePrefix" value="delete-CUUP-RRMPolicyRatio-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <outcome value='success'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully removed - CUUP RRMpolicyRatio"/> + </record> + </block> + </outcome> + <outcome value='failure'> + <block atomic='true'> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error removing CUUP RRMPolicyRatio. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error removing RRMPolicyRatio. Aborting RPC executiopn'/> + </return> + </block> + </outcome> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/> + <parameter name="outputPath" value="tmp.cps.deletenssai.cuup.rrmpolicy.url"/> + <parameter name="target" value="{schemaSet}"/> + <parameter name="replacement" value="`$tmp.schemaset.name`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.cps.deletenssai.cuup.rrmpolicy.url`"/> + <parameter name="outputPath" value="tmp.cps.deletenssai.cuup.rrmpolicy.url"/> + <parameter name="target" value="{templateId}"/> + <parameter name="replacement" value="`$prop.tbdmt.template.delete-nssai-from-cuup-rrmpolicy`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$tmp.cps.deletenssai.cuup.rrmpolicy.url`"/> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/delete-cuup-rrm-nssai.json'`" /> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="cps-cuup-rrm-nssai-delete-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="convertResponse" value="true"/> + <outcome value='failure'> + <block atomic='true'> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error removing CUUP PLMNInfoList. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error removing CUUP PLMNInfo. Aborting RPC executiopn'/> + </return> + </block> + </outcome> + <outcome value='success'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully removed - gNBCUUP rrmpolicy Entry from configdb"/> + </record> + </outcome> + </execute> + </block> + </outcome> + <outcome value='false'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Bool flag Failed no deletion"/> + </record> + </block> + </outcome> + </switch> </block> </for> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> @@ -1879,79 +2047,12 @@ <parameter name="field3" value="RRMPolicyRatio id"/> <parameter name="field4" value="`$tmp.CUUPRRMPolicyRatio_id`"/> </record> - <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.deleteRRMPolicyRatio-CUUP.url`"/> - <parameter name="restapiUser" value="`$prop.controller.user`" /> - <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> - <parameter name="httpMethod" value="DELETE"/> - <parameter name="responsePrefix" value="delete-CUUP-RRMPolicyRatio-response"/> - <parameter name='contentType' value='application/json' /> - <parameter name='format' value='json' /> - <outcome value='success'> - <block atomic='true'> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Successfully removed - CUUP RRMpolicyRatio"/> - </record> - </block> - </outcome> - <outcome value='failure'> - <block atomic='true'> - <set> - <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error removing CUUP RRMPolicyRatio. Aborting RPC executiopn'/> - </set> - <return status='failure'> - <parameter name='ack-final' value='Y'/> - <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error removing RRMPolicyRatio. Aborting RPC executiopn'/> - </return> - </block> - </outcome> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/> - <parameter name="outputPath" value="tmp.cps.deletenssai.cuup.rrmpolicy.url"/> - <parameter name="target" value="{schemaSet}"/> - <parameter name="replacement" value="`$tmp.schemaset.name`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.cps.deletenssai.cuup.rrmpolicy.url`"/> - <parameter name="outputPath" value="tmp.cps.deletenssai.cuup.rrmpolicy.url"/> - <parameter name="target" value="{templateId}"/> - <parameter name="replacement" value="`$prop.tbdmt.template.delete-nssai-from-cuup-rrmpolicy`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="restapiUrl" value="`$tmp.cps.deletenssai.cuup.rrmpolicy.url`"/> - <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/delete-cuup-rrm-nssai.json'`" /> - <parameter name="httpMethod" value="POST"/> - <parameter name="responsePrefix" value="cps-cuup-rrm-nssai-delete-response"/> - <parameter name='contentType' value='application/json' /> - <parameter name='format' value='json' /> - <parameter name='accept' value='application/json' /> - <parameter name="convertResponse" value="true"/> - <outcome value='failure'> - <block atomic='true'> - <set> - <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error removing CUUP PLMNInfoList. Aborting RPC executiopn'/> - </set> - <return status='failure'> - <parameter name='ack-final' value='Y'/> - <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error removing CUUP PLMNInfo. Aborting RPC executiopn'/> - </return> - </block> - </outcome> - <outcome value='success'> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Successfully removed - gNBCUUP rrmpolicy Entry from configdb"/> - </record> - </outcome> - </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="idx cuup "/> + <parameter name="field2" value="`$tmp.CUUPRRMPolicyMember_id`"/> + </record> </block> </for> </block> @@ -1984,7 +2085,7 @@ </record> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> <parameter name='outputPath' value='tmp.cellDUList_length' /> - <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].GNBDUFunction[' + $id-du +'].NRCellDU_length'`" /> + <parameter name='source' value="`'getNFNSSIRIC-cps-response.[' + $idy +'].GNBDUFunction[' + $id-du +'].NRCellDU_length'`" /> </execute> <for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' > <block atomic='true'> @@ -2075,7 +2176,7 @@ </switch> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> <parameter name='outputPath' value='tmp.cellDULocalId' /> - <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" /> + <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].idNRCellDU'`" /> </execute> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> @@ -2433,6 +2534,9 @@ </record> <for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' > <block atomic='true'> + <set> + <parameter name='tmp.setboolflagdu' value="false" /> + </set> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> <parameter name='outputPath' value='tmp.cellDURRMPolicyRatio_id' /> <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`" /> @@ -2449,9 +2553,16 @@ </record> <for index='iddu-rrm2' start='0' end='`$tmp.DURRMPolicyMembersLength`' > <block atomic='true'> - <switch test='`$tmp.DURRMPolicyMembersLength > 0`'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.CellDURRMPolicyMember_id' /> + <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].idx'`" /> + </execute> + <switch test='`$tmp.DURRMPolicyMembersLength == 1`'> <outcome value='true'> <block atomic='true'> + <set> + <parameter name='tmp.setboolflagdu' value="true" /> + </set> <switch test='`$prop.ransim-mounted`'> <outcome value='false'> <block atomic='true'> @@ -2484,14 +2595,21 @@ </outcome> <outcome value='false'> <block atomic='true'> - <set> - <parameter name='tmp.cellDURRMPolicyMember_sNSSAI' value="`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].sNSSAI'`" /> - </set> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.cellDURRMPolicyMember_sNSSAI' /> + <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].sNSSAI'`" /> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="RRMPolicyMember nssai du"/> + <parameter name="field2" value="`$tmp.cellDURRMPolicyMember_sNSSAI`"/> + </record> <switch test='`$tmp.cellDURRMPolicyMember_sNSSAI==$tmp.sNSSAI`'> - <outcome value='success'> + <outcome value='true'> <block atomic='true'> <set> - <parameter name='tmp.CellDURRMPolicyMember_id' value="`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].idx'`" /> + <parameter name='tmp.setboolflagdu' value="true" /> </set> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> @@ -2527,6 +2645,18 @@ </switch> </block> </outcome> + <outcome value='false'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="snssai not found"/> + </record> + <set> + <parameter name='tmp.setboolflagdu' value="false" /> + </set> + </block> + </outcome> </switch> </block> </outcome> @@ -2553,8 +2683,135 @@ <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/> <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> <parameter name="target" value="{idx}"/> - <parameter name="replacement" value="`$tmp.cellDURRMPolicyMember_sNSSAI`"/> + <parameter name="replacement" value="`$tmp.CellDURRMPolicyMember_id`"/> </execute> + <switch test='`$tmp.setboolflagdu == true`'> + <outcome value='true'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.deleteRRMPolicyRatio-DU.url`"/> + <parameter name="restapiUser" value="`$prop.controller.user`" /> + <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> + <parameter name="httpMethod" value="DELETE"/> + <parameter name="responsePrefix" value="delete-cellDU-RRMPolicyRatio-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <outcome value='success'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully removed - cellDU RRMpolicyRatio"/> + </record> + </block> + </outcome> + <outcome value='failure'> + <block atomic='true'> + <block atomic='true'> + <set> + <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> + <parameter name="tmp.status" value="success"/> + <parameter name="tmp.reason" value="`$error-message`"/> + <parameter name="tmp.requestID" value="`$terminate-r-a-n-slice-input.common-header.request-id `"/> + <parameter name="tmp.action" value="`$terminate-r-a-n-slice-instance-input.action`"/> + </set> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for SO Callback Response"/> + <parameter name='field2' value="`$tmp.so.callbackURL`" /> + <parameter name='field3' value="`$tmp.status`" /> + <parameter name='field4' value="`$tmp.reason`" /> + <parameter name='field5' value="`$tmp.requestID`" /> + <parameter name='field6' value="`$tmp.action`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="so-callback-terminate-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='*/*' /> + <parameter name="convertResponse" value="true"/> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> + <outcome value='failure'> + <block> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name="error-code" value="500" /> + <parameter name="error-message" value="Error sending SO Response" /> + </return> + </block> + </outcome> + <outcome value='success'> + <block> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="SO Response Sent "/> + </record> + </block> + </outcome> + </execute> + </block> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error removing cellDU RRMPolicyRatio. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error removing RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/> + </return> + </block> + </outcome> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/> + <parameter name="outputPath" value="tmp.cps.deletenssai.du.rrmpolicy.url"/> + <parameter name="target" value="{schemaSet}"/> + <parameter name="replacement" value="`$tmp.schemaset.name`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.cps.deletenssai.du.rrmpolicy.url`"/> + <parameter name="outputPath" value="tmp.cps.deletenssai.du.rrmpolicy.url"/> + <parameter name="target" value="{templateId}"/> + <parameter name="replacement" value="`$prop.tbdmt.template.delete-nssai-from-du-rrmpolicy`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$tmp.cps.deletenssai.du.rrmpolicy.url`"/> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/delete-celldu-rrm-nssai.json '`" /> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="cps-du-rrm-nssai-delete-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="convertResponse" value="true"/> + <outcome value='failure'> + <block atomic='true'></block> + </outcome> + <outcome value='success'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully removed - gNBDU rrmpolicy Entry from configdb"/> + </record> + </outcome> + </execute> + </block> + </outcome> + <outcome value='false'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="flag false no deletion"/> + </record> + </block> + </outcome> + </switch> </block> </for> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> @@ -2564,119 +2821,9 @@ <parameter name="field2" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/> <parameter name="field3" value="RRMPolicyRatio id"/> <parameter name="field4" value="`$tmp.cellDURRMPolicyRatio_id`"/> + <parameter name="field5" value="RRMPolicyMember id"/> + <parameter name="field6" value="`$tmp.CellDURRMPolicyMember_id`"/> </record> - <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.deleteRRMPolicyRatio-DU.url`"/> - <parameter name="restapiUser" value="`$prop.controller.user`" /> - <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> - <parameter name="httpMethod" value="DELETE"/> - <parameter name="responsePrefix" value="delete-cellDU-RRMPolicyRatio-response"/> - <parameter name='contentType' value='application/json' /> - <parameter name='format' value='json' /> - <outcome value='success'> - <block atomic='true'> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Successfully removed - cellDU RRMpolicyRatio"/> - </record> - </block> - </outcome> - <outcome value='failure'> - <block atomic='true'> - <block atomic='true'> - <set> - <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> - <parameter name="tmp.status" value="success"/> - <parameter name="tmp.reason" value="`$error-message`"/> - <parameter name="tmp.requestID" value="`$terminate-r-a-n-slice-input.common-header.request-id `"/> - <parameter name="tmp.action" value="`$terminate-r-a-n-slice-instance-input.action`"/> - </set> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="URL for SO Callback Response"/> - <parameter name='field2' value="`$tmp.so.callbackURL`" /> - <parameter name='field3' value="`$tmp.status`" /> - <parameter name='field4' value="`$tmp.reason`" /> - <parameter name='field5' value="`$tmp.requestID`" /> - <parameter name='field6' value="`$tmp.action`" /> - </record> - <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> - <parameter name="httpMethod" value="POST"/> - <parameter name="responsePrefix" value="so-callback-terminate-response"/> - <parameter name='contentType' value='application/json' /> - <parameter name='format' value='json' /> - <parameter name='accept' value='*/*' /> - <parameter name="convertResponse" value="true"/> - <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> - <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> - <outcome value='failure'> - <block> - <return status='failure'> - <parameter name='ack-final' value='Y'/> - <parameter name="error-code" value="500" /> - <parameter name="error-message" value="Error sending SO Response" /> - </return> - </block> - </outcome> - <outcome value='success'> - <block> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="SO Response Sent "/> - </record> - </block> - </outcome> - </execute> - </block> - <set> - <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error removing cellDU RRMPolicyRatio. Aborting RPC executiopn'/> - </set> - <return status='failure'> - <parameter name='ack-final' value='Y'/> - <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error removing RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/> - </return> - </block> - </outcome> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/> - <parameter name="outputPath" value="tmp.cps.deletenssai.du.rrmpolicy.url"/> - <parameter name="target" value="{schemaSet}"/> - <parameter name="replacement" value="`$tmp.schemaset.name`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.cps.deletenssai.du.rrmpolicy.url`"/> - <parameter name="outputPath" value="tmp.cps.deletenssai.du.rrmpolicy.url"/> - <parameter name="target" value="{templateId}"/> - <parameter name="replacement" value="`$prop.tbdmt.template.delete-nssai-from-du-rrmpolicy`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="restapiUrl" value="`$tmp.cps.deletenssai.du.rrmpolicy.url`"/> - <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/delete-celldu-rrm-nssai.json '`" /> - <parameter name="httpMethod" value="POST"/> - <parameter name="responsePrefix" value="cps-du-rrm-nssai-delete-response"/> - <parameter name='contentType' value='application/json' /> - <parameter name='format' value='json' /> - <parameter name='accept' value='application/json' /> - <parameter name="convertResponse" value="true"/> - <outcome value='failure'> - <block atomic='true'></block> - </outcome> - <outcome value='success'> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Successfully removed - gNBDU rrmpolicy Entry from configdb"/> - </record> - </outcome> - </execute> </block> </for> </block> diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml index 7ef1cf84..4799ce1a 100644 --- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml @@ -3,13 +3,35 @@ 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}'> <method rpc='terminateRANSliceInstance' mode='sync'> <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' > + <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' /> + <parameter name='contextPrefix' value='prop' /> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Properties read .. controller details "/> + <parameter name="field2" value="`$prop.controller.user`"/> + <parameter name="field3" value="`$prop.controller.pwd`"/> + <parameter name="field4" value="`$prop.controller.url`"/> + <parameter name="field5" value="ransim-mounted (true/false): "/> + <parameter name="field6" value="`$prop.ransim-mounted`"/> + <parameter name="field7" value="config DB deployed (true/false): "/> + <parameter name="field8" value="`$prop.configdb-deployed`"/> + </record> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="value of configdb deployed"/> + <parameter name="field2" value='`$prop.configdb-deployed`'/> + </record> <switch test='`$prop.configdb-deployed`'> <outcome value='true'> <block atomic='true'> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="Calling instantiateRANSliceModifyAllocate-CPS "/> + <parameter name="field1" value="Calling terminateranslice-Configdb "/> </record> <call module='ran-slice-api' rpc='terminateRANSliceInstance-configDb' mode='sync' ></call> </block> @@ -19,7 +41,7 @@ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="Calling instantiateRANSliceModifyAllocate-CPS "/> + <parameter name="field1" value="Calling terminateranslice-CPS "/> </record> <call module='ran-slice-api' rpc='terminateRANSliceInstance-cps' mode='sync' ></call> </block> diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/delete-celldu-rrm-nssai.json b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-celldu-rrm-nssai.json index cdc55efb..14336155 100644 --- a/platform-logic/restapi-templates/src/main/json/cps-templates/delete-celldu-rrm-nssai.json +++ b/platform-logic/restapi-templates/src/main/json/cps-templates/delete-celldu-rrm-nssai.json @@ -4,7 +4,7 @@ "idGNBDUFunction": ${tmp.GNBDUId}, "idNRCellDU": ${tmp.cellDULocalId}, "id": ${tmp.cellDURRMPolicyRatio_id}, -"idx": ${tmp.cellDURRMPolicyMember_sNSSAI} +"idx": ${tmp.cellDURRMPolicyMember_id} } } |