diff options
Diffstat (limited to 'platform-logic/ran-slice-api/src/main')
2 files changed, 8017 insertions, 5177 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 0ce541a9..58e40e0f 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": "8504d916.dab238", + "id": "1ba43e4f.c8bae2", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 139.75, - "y": 131.25000444054604, - "z": "8fcccf93.60adc", + "x": 195.6666717529297, + "y": 286.9999237060547, + "z": "abb03ec2.1302c", "wires": [ [ - "d4caa4f3.306938" + "6c8a49b9.cf9828" ] ] }, { - "id": "d4caa4f3.306938", + "id": "6c8a49b9.cf9828", "type": "service-logic", "name": "ran-slice-api ${project.version}", "module": "ran-slice-api", @@ -22,10692 +22,12700 @@ "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": 194.7500228881836, - "y": 218.2499729692936, - "z": "8fcccf93.60adc", + "x": 250.66669464111328, + "y": 373.99989223480225, + "z": "abb03ec2.1302c", "wires": [ [ - "da565bbb.5abcf8" + "fc3da516.2b9528" ] ] }, { - "id": "da565bbb.5abcf8", + "id": "fc3da516.2b9528", "type": "method", "name": "method", "xml": "<method rpc='terminateRANSliceInstance-cps' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 128.75, - "y": 278.2499386370182, - "z": "8fcccf93.60adc", + "x": 184.6666717529297, + "y": 433.99985790252686, + "z": "abb03ec2.1302c", "wires": [ [ - "99046f2f.9829c" + "f7455acf.eeb6a8" ] ] }, { - "id": "99046f2f.9829c", + "id": "f7455acf.eeb6a8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 134.74999237060547, - "y": 372.99996915459633, - "z": "8fcccf93.60adc", + "x": 190.66666412353516, + "y": 528.749888420105, + "z": "abb03ec2.1302c", "wires": [ [ - "7e7faf45.ef6c6", - "abc396a6.bee178", - "c2141cb1.6ea78", - "9d56e568.a10688", - "59c69f44.e4557", - "7571ae54.f17e6", - "9df210ec.0c6da", - "4908e943.cd3e48", - "eaad2acf.d796b8", - "e5253b3.93cfdc8", - "1f4dda6a.60fbf6", - "a9a1f180.7c415", - "3fde0c1e.f19d24", - "9417ad17.2d139", - "9faeeb4a.6490b8" + "c6c4ef68.122e4", + "64b14f91.9ce5d", + "ddff54d7.3486a8", + "dd4ab05a.714b2", + "3d69c2bb.eace6e", + "9d09033b.dcc6b", + "ae2787dd.1a01e8", + "3df4c81e.76b5b8", + "7b29070b.2b3418", + "587aa058.17015", + "70d70104.904d3", + "fb9d6c4d.6e48b", + "373791ef.83e26e", + "cd5f6926.142538", + "a950df01.a3825" ] ] }, { - "id": "d73c09d.36373f8", + "id": "32971074.ad3d4", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 391.75000762939453, - "y": 629.2500559389591, - "z": "8fcccf93.60adc", + "x": 447.6666793823242, + "y": 784.9999752044678, + "z": "abb03ec2.1302c", "wires": [ [ - "74513341.e2efcc", - "e8e8283b.c78128", - "7a22f4d9.56920c", - "2c3f11c0.c765fe", - "2263fce9.da0114", - "c4b66996.105158", - "330e0edf.9f5e02", - "37cce2bc.1f6bee", - "38f75a79.327186", - "160f2833.531f98", - "c3a47ad4.d626b8", - "99a422dc.5c911", - "4761043b.7b811c", - "fbfc228d.7f12a", - "fc4c5be8.862b78" + "f46173a.1adc19", + "97482765.fa6318", + "57e7a91e.7ba918", + "920cbd6b.d99df", + "2cb3d5d3.84930a", + "af84c022.c86ad", + "c356b45b.10a778", + "10ba7da1.3eff82", + "1f8f4f99.a84fd", + "d188c7bd.aa5b68", + "6b18a12f.d10b5", + "5bef0ce.71f29f4", + "a31f1d9b.cfd73", + "b13c3777.c05758", + "52c2366.8432bc8" ] ] }, { - "id": "6fb9fdf8.2c76f4", + "id": "c89b481a.ca2538", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 961.8180961608887, - "y": 660.3180848658085, - "z": "8fcccf93.60adc", + "x": 1017.7347679138184, + "y": 816.0680041313171, + "z": "abb03ec2.1302c", "wires": [ [ - "ec73bb1d.86fa58" + "4e60d169.8b879" ] ] }, { - "id": "ec73bb1d.86fa58", + "id": "4e60d169.8b879", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1131.8179931640625, - "y": 661.3182002604008, - "z": "8fcccf93.60adc", + "x": 1187.7346649169922, + "y": 817.0681195259094, + "z": "abb03ec2.1302c", "wires": [ [ - "8c62521f.c448", - "fe05bb3c.2abe68" + "22f7d348.f51acc", + "a5e12b93.465eb8" ] ] }, { - "id": "8c62521f.c448", + "id": "22f7d348.f51acc", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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`\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 CPS\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-cps-response._length`\"/>", "comments": "", "outputs": 1, - "x": 1354.8178901672363, - "y": 639.3181759417057, - "z": "8fcccf93.60adc", + "x": 1410.734561920166, + "y": 795.0680952072144, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "fe05bb3c.2abe68", + "id": "a5e12b93.465eb8", "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": 1361.5959167480469, - "y": 675.3182741701603, - "z": "8fcccf93.60adc", + "x": 1417.5125885009766, + "y": 831.068193435669, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "ab20dbb2.e2f658", + "id": "cafdd69c.0bdde8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 966.8180809020996, - "y": 620.31817689538, - "z": "8fcccf93.60adc", + "x": 1022.7347526550293, + "y": 776.0680961608887, + "z": "abb03ec2.1302c", "wires": [ [ - "e827b57a.1dd6d8" + "e94e2f0c.bc7d4" ] ] }, { - "id": "e827b57a.1dd6d8", + "id": "e94e2f0c.bc7d4", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 1230.8182792663574, - "y": 612.3182245790958, - "z": "8fcccf93.60adc", + "x": 1286.734951019287, + "y": 768.0681438446045, + "z": "abb03ec2.1302c", "wires": [ [ - "e02ad146.7b119", - "19993899.7cd467" + "5ea6f8fa.cb7a18", + "316b9170.fe028e" ] ] }, { - "id": "e02ad146.7b119", + "id": "5ea6f8fa.cb7a18", "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'/>", + "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": 1450.8179893493652, - "y": 607.429278999567, - "z": "8fcccf93.60adc", + "x": 1506.734661102295, + "y": 763.1791982650757, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "fc4c5be8.862b78", + "id": "52c2366.8432bc8", "type": "for", "name": "foreach NearRTRIC", "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-cps-response._length`' >\n", "comments": "", "outputs": 1, - "x": 494.9999771118164, - "y": 1234.3181311190128, - "z": "8fcccf93.60adc", + "x": 550.9166488647461, + "y": 1390.0680503845215, + "z": "abb03ec2.1302c", "wires": [ [ - "4c2742a1.3764bc", - "2b4edf40.9d7d9", - "b52fb8ac.fa1128", - "f46c8e86.7a4cc", - "896b6f7.113379", - "6c6388e1.95b308" + "cd7b5b2e.15df88", + "3feef3da.608c0c", + "e361f9c1.00cf48", + "ed2b6da9.a8116", + "21f3f680.83717a", + "b5c5b17d.76ad" ] ] }, { - "id": "4c2742a1.3764bc", + "id": "cd7b5b2e.15df88", "type": "block", "name": "Process NearRTRIC", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 729.3535499572754, - "y": 1222.893911987543, - "z": "8fcccf93.60adc", + "x": 785.2702217102051, + "y": 1378.6438312530518, + "z": "abb03ec2.1302c", "wires": [ [ - "c124f79.e609d08", - "c198d40d.0e0f28", - "d97533b9.0a5ab", - "7b706a97.7a6964" + "46c7a11d.dab2f", + "2c97aee8.6feb22", + "1fe2408f.3bbe9f", + "79afbda7.95ca14" ] ] }, { - "id": "c124f79.e609d08", + "id": "46c7a11d.dab2f", "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": 1020.5455551147461, - "y": 702.2273661196232, - "z": "8fcccf93.60adc", + "x": 1076.4622268676758, + "y": 857.9772853851318, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "611f1c42.f343e4", + "id": "9d8ba42c.d0abf8", "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": 1799.5463638305664, - "y": 793.2276436388493, - "z": "8fcccf93.60adc", + "x": 1855.463035583496, + "y": 948.9775629043579, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "3b9a50ad.f2cfc", + "id": "8dd516ad.a52718", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1741.8181686401367, - "y": 980.7726933062077, - "z": "8fcccf93.60adc", + "x": 1797.7348403930664, + "y": 1136.5226125717163, + "z": "abb03ec2.1302c", "wires": [ [ - "a12d47f7.af1f58" + "759a5ecc.142e2" ] ] }, { - "id": "a12d47f7.af1f58", + "id": "759a5ecc.142e2", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1894.8182830810547, - "y": 969.7726999819279, - "z": "8fcccf93.60adc", + "x": 1950.7349548339844, + "y": 1125.5226192474365, + "z": "abb03ec2.1302c", "wires": [ [ - "2b8c3dcd.1be1f2", - "6c82abec.ff60d4" + "a5d67c1.092028", + "9fcef2cf.63be3" ] ] }, { - "id": "6c82abec.ff60d4", + "id": "9fcef2cf.63be3", "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'/>", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>", "comments": "", - "x": 2043.8179740905762, - "y": 932.8836781084538, - "z": "8fcccf93.60adc", + "x": 2099.734645843506, + "y": 1088.6335973739624, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "2b8c3dcd.1be1f2", + "id": "a5d67c1.092028", "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'/>", + "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 CPS. Aborting RPC executiopn'/>", "comments": "", - "x": 2057.8179779052734, - "y": 1007.7727467119694, - "z": "8fcccf93.60adc", + "x": 2113.734649658203, + "y": 1163.522665977478, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "909f9faf.91b46", + "id": "ab8eba7c.8f3cb8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1739.6363067626953, - "y": 1121.6817938387394, - "z": "8fcccf93.60adc", + "x": 1795.552978515625, + "y": 1277.431713104248, + "z": "abb03ec2.1302c", "wires": [ [ - "fd8f228d.3c2b6" + "e0a8de83.15ff1" ] ] }, { - "id": "fd8f228d.3c2b6", + "id": "e0a8de83.15ff1", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1889.636215209961, - "y": 1136.681931167841, - "z": "8fcccf93.60adc", + "x": 1945.5528869628906, + "y": 1292.4318504333496, + "z": "abb03ec2.1302c", "wires": [ [ - "8879bdcb.49f2f" + "93e039b1.f91188" ] ] }, { - "id": "8879bdcb.49f2f", + "id": "93e039b1.f91188", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2036.6361541748047, - "y": 1164.6820074617863, - "z": "8fcccf93.60adc", + "x": 2092.5528259277344, + "y": 1320.431926727295, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "3cd35e93.0f22b2", + "id": "40de9e67.eba3", "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": 1004, - "y": 1346.5000077784061, - "z": "8fcccf93.60adc", + "x": 1059.9166717529297, + "y": 1502.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "2b4edf40.9d7d9", + "id": "3feef3da.608c0c", "type": "block", "name": "Process CUCP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 682.0000228881836, - "y": 1334.5000921785831, - "z": "8fcccf93.60adc", + "x": 737.9166946411133, + "y": 1490.2500114440918, + "z": "abb03ec2.1302c", "wires": [ [ - "3cd35e93.0f22b2", - "7af616db.5c4348", - "129d5087.38c5ef" + "40de9e67.eba3", + "d787bb51.984b38", + "53973d78.a86cb4" ] ] }, { - "id": "7af616db.5c4348", + "id": "d787bb51.984b38", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 976, - "y": 1411.5000077784061, - "z": "8fcccf93.60adc", + "x": 1031.9166717529297, + "y": 1567.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "129d5087.38c5ef", + "id": "53973d78.a86cb4", "type": "for", "name": "foreach CUCP", "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n", "comments": "", "outputs": 1, - "x": 1004, - "y": 1486.5000077784061, - "z": "8fcccf93.60adc", + "x": 1059.9166717529297, + "y": 1642.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [ - "6fe46e0f.ae545" + "4fdb8598.46a7cc" ] ] }, { - "id": "6fe46e0f.ae545", + "id": "4fdb8598.46a7cc", "type": "block", "name": "block : process CUCP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1225, - "y": 1493.5000077784061, - "z": "8fcccf93.60adc", + "x": 1280.9166717529297, + "y": 1649.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [ - "ae96eba8.314028", - "516a8120.df5db", - "78aa4998.c05108", - "e609902d.0b01" + "bed07345.7abab", + "fc0d1a1a.111ba8", + "f4ef709e.c485d", + "297304e3.8470ac" ] ] }, { - "id": "ae96eba8.314028", + "id": "bed07345.7abab", "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": 1533.0000762939453, - "y": 1334.0999986231327, - "z": "8fcccf93.60adc", + "x": 1588.916748046875, + "y": 1489.8499178886414, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "516a8120.df5db", + "id": "fc0d1a1a.111ba8", "type": "for", "name": "for cellCUList", "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n", "comments": "", "outputs": 1, - "x": 1580, - "y": 1490.5000077784061, - "z": "8fcccf93.60adc", + "x": 1635.9166717529297, + "y": 1646.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [ - "e7b7d2c8.4ff52" + "35ed9873.ace0c8" ] ] }, { - "id": "252b51b6.895e5e", + "id": "cf5ff91b.360228", "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": 2292.500274658203, - "y": 1099.2500206530094, - "z": "8fcccf93.60adc", + "x": 2348.416946411133, + "y": 1254.999939918518, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "d4294f40.fd22a", + "id": "20cf0628.1b2a6a", "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": 2292.25008392334, - "y": 1339.750025421381, - "z": "8fcccf93.60adc", + "x": 2348.1667556762695, + "y": 1495.4999446868896, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "9f0abedc.72a67", + "id": "ae64da84.3a4018", "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": 2254.000030517578, - "y": 1473.5001665651798, - "z": "8fcccf93.60adc", + "x": 2309.916702270508, + "y": 1629.2500858306885, + "z": "abb03ec2.1302c", "wires": [ [ - "d2426c6a.b35bc", - "17b26db6.12e252" + "dde9c201.62a78", + "5f26df54.8906a" ] ] }, { - "id": "5e4d342b.7f72cc", + "id": "faba58e8.28cc08", "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.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": 2296.00008392334, - "y": 1431.999977260828, - "z": "8fcccf93.60adc", + "x": 2351.9167556762695, + "y": 1587.7498965263367, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "b94de4f0.5acf78", + "id": "27f3bce7.3235f4", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2091.999931335449, - "y": 1090.5000139772892, - "z": "8fcccf93.60adc", + "x": 2147.916603088379, + "y": 1246.2499332427979, + "z": "abb03ec2.1302c", "wires": [ [ - "252b51b6.895e5e", - "d4294f40.fd22a", - "5e4d342b.7f72cc", - "db88b45a.dd5818", - "3c6d4a98.230c66", - "88db24de.f478a8", - "1022eb1d.f2d895", - "6c7769df.ebf328", - "36d9523b.b155ee", - "a55bb031.bdd78", - "bce0e2e9.26b16", - "aaace4af.4f88b8", - "5249fbe1.95a714", - "fb33b407.b27a98", - "9f0abedc.72a67" + "cf5ff91b.360228", + "20cf0628.1b2a6a", + "faba58e8.28cc08", + "7f7e089b.f16578", + "17793e41.471ac2", + "accaa989.ee8bf8", + "78c7df4b.3ec4", + "2cf05492.4e9f4c", + "1f3f4688.27e689", + "2f995c2.dfcdca4", + "dcc2c19a.a8915", + "d67fb0e2.021c5", + "af79ecb2.3c29c", + "39e6bc82.87d234", + "ae64da84.3a4018" ] ] }, { - "id": "d2426c6a.b35bc", + "id": "dde9c201.62a78", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2491.9999389648438, - "y": 1505.5000740587711, - "z": "8fcccf93.60adc", + "x": 2547.9166107177734, + "y": 1661.2499933242798, + "z": "abb03ec2.1302c", "wires": [ [ - "d4c1fb7f.c7caa8" + "a7afd0bb.c3f6f" ] ] }, { - "id": "d4c1fb7f.c7caa8", + "id": "a7afd0bb.c3f6f", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2674.9999389648438, - "y": 1498.5000750124454, - "z": "8fcccf93.60adc", + "x": 2730.9166107177734, + "y": 1654.249994277954, + "z": "abb03ec2.1302c", "wires": [ [ - "19e6ba3f.b075f6" + "517d6257.251e5c" ] ] }, { - "id": "19e6ba3f.b075f6", + "id": "517d6257.251e5c", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2927.9999465942383, - "y": 1495.5003668367863, - "z": "8fcccf93.60adc", + "x": 2983.916618347168, + "y": 1651.250286102295, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "17b26db6.12e252", + "id": "5f26df54.8906a", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2474.00008392334, - "y": 1453.4999758303165, - "z": "8fcccf93.60adc", + "x": 2529.9167556762695, + "y": 1609.2498950958252, + "z": "abb03ec2.1302c", "wires": [ [ - "14ebd036.69155" + "87547512.9849d8" ] ] }, { - "id": "14ebd036.69155", + "id": "87547512.9849d8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2617.0001373291016, - "y": 1414.5000731050968, - "z": "8fcccf93.60adc", + "x": 2672.9168090820312, + "y": 1570.2499923706055, + "z": "abb03ec2.1302c", "wires": [ [ - "5a9ec6b4.345668", - "ac4a79c4.d24658", - "19993899.7cd467" + "7aee0745.be9428", + "4828676b.dcaf88", + "316b9170.fe028e" ] ] }, { - "id": "5a9ec6b4.345668", + "id": "7aee0745.be9428", "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": 2876.9999389648438, - "y": 1434.5001722872257, - "z": "8fcccf93.60adc", + "x": 2932.9166107177734, + "y": 1590.2500915527344, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "ac4a79c4.d24658", + "id": "4828676b.dcaf88", "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": 2800.999942779541, - "y": 1396.5000731050968, - "z": "8fcccf93.60adc", + "x": 2856.9166145324707, + "y": 1552.2499923706055, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "db88b45a.dd5818", + "id": "7f7e089b.f16578", "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": 2359.00008392334, - "y": 1202.5001198351383, - "z": "8fcccf93.60adc", + "x": 2414.9167556762695, + "y": 1358.250039100647, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "3c6d4a98.230c66", + "id": "17793e41.471ac2", "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": 2333.00008392334, - "y": 1252.250022560358, - "z": "8fcccf93.60adc", + "x": 2388.9167556762695, + "y": 1407.9999418258667, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "88db24de.f478a8", + "id": "accaa989.ee8bf8", "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": 2300.7500801086426, - "y": 1295.2500235140324, - "z": "8fcccf93.60adc", + "x": 2356.6667518615723, + "y": 1450.999942779541, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "78aa4998.c05108", + "id": "f4ef709e.c485d", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1583.0000457763672, - "y": 1388.4999758303165, - "z": "8fcccf93.60adc", + "x": 1638.9167175292969, + "y": 1544.2498950958252, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "e609902d.0b01", + "id": "297304e3.8470ac", "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": 1590, - "y": 1446.5000077784061, - "z": "8fcccf93.60adc", + "x": 1645.9166717529297, + "y": 1602.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "1022eb1d.f2d895", + "id": "78c7df4b.3ec4", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2288.00008392334, - "y": 1054.500019699335, - "z": "8fcccf93.60adc", + "x": 2343.9167556762695, + "y": 1210.2499389648438, + "z": "abb03ec2.1302c", "wires": [ [ - "1e66add1.7cf532", - "b828633b.c31c2" + "8d2da7b9.a57bf8", + "d2f10fd2.ed45" ] ] }, { - "id": "1e66add1.7cf532", + "id": "8d2da7b9.a57bf8", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2523.00008392334, - "y": 1056.4998251497746, - "z": "8fcccf93.60adc", + "x": 2578.9167556762695, + "y": 1212.2497444152832, + "z": "abb03ec2.1302c", "wires": [ [ - "3bf37e6c.328b82" + "b6bcae86.f69c9" ] ] }, { - "id": "3bf37e6c.328b82", + "id": "b6bcae86.f69c9", "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": 2845, - "y": 1140.5000077784061, - "z": "8fcccf93.60adc", + "x": 2900.9166717529297, + "y": 1296.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "b828633b.c31c2", + "id": "d2f10fd2.ed45", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2535.00008392334, - "y": 1125.5000211298466, - "z": "8fcccf93.60adc", + "x": 2590.9167556762695, + "y": 1281.2499403953552, + "z": "abb03ec2.1302c", "wires": [ [ - "da9897b6.a9b628" + "53bb375c.0a6788" ] ] }, { - "id": "6c7769df.ebf328", + "id": "2cf05492.4e9f4c", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1872, - "y": 1911.5000077784061, - "z": "8fcccf93.60adc", + "x": 1927.9166717529297, + "y": 2067.249927043915, + "z": "abb03ec2.1302c", "wires": [ [ - "b403aec1.05987", - "8d967a2.52bfe88", - "ce97bae4.cbc418", - "52748be5.f11204", - "f4541f82.0181d", - "7eddcedb.549b3", - "975c2107.4b881", - "be456a88.150008", - "24f60e2f.87e762" + "fe21a000.42e6f", + "31f1dbc7.0e9a24", + "8c5ad8f.229da28", + "543bb6d8.0e2dc8", + "155b8a01.849d16", + "bed41754.dbf568", + "34bd7f4e.1172e", + "5d574c8a.e2b664", + "696f0afe.f70dd4" ] ] }, { - "id": "b403aec1.05987", + "id": "fe21a000.42e6f", "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": 2054, - "y": 1694.5000077784061, - "z": "8fcccf93.60adc", + "x": 2109.9166717529297, + "y": 1850.2499270439148, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "8d967a2.52bfe88", + "id": "31f1dbc7.0e9a24", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2053, - "y": 1755.5000077784061, - "z": "8fcccf93.60adc", + "x": 2108.9166717529297, + "y": 1911.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "ce97bae4.cbc418", + "id": "8c5ad8f.229da28", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2094, - "y": 1817.5000077784061, - "z": "8fcccf93.60adc", + "x": 2149.9166717529297, + "y": 1973.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [ - "c60f7c00.bd752", - "f187756b.abc6a8" + "7ea657d9.14df58", + "55579178.23797" ] ] }, { - "id": "c60f7c00.bd752", + "id": "7ea657d9.14df58", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2272, - "y": 1784.4997636377811, - "z": "8fcccf93.60adc", + "x": 2327.9166717529297, + "y": 1940.2496829032898, + "z": "abb03ec2.1302c", "wires": [ [ - "66da64dd.1e721c" + "412cca1e.8129c4" ] ] }, { - "id": "66da64dd.1e721c", + "id": "412cca1e.8129c4", "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": 2550, - "y": 1776.5000077784061, - "z": "8fcccf93.60adc", + "x": 2605.9166717529297, + "y": 1932.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "52748be5.f11204", + "id": "543bb6d8.0e2dc8", "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": 2129, - "y": 1889.5000077784061, - "z": "8fcccf93.60adc", + "x": 2184.9166717529297, + "y": 2045.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "f4541f82.0181d", + "id": "155b8a01.849d16", "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": 2094, - "y": 1941.5000077784061, - "z": "8fcccf93.60adc", + "x": 2149.9166717529297, + "y": 2097.249927043915, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "1a007f79.276fe1", + "id": "cd8abd1a.07b83", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2380, - "y": 2068.500007778406, - "z": "8fcccf93.60adc", + "x": 2435.9166717529297, + "y": 2224.249927043915, + "z": "abb03ec2.1302c", "wires": [ [ - "318f3fc0.84c19" + "6f86416f.3eae1" ] ] }, { - "id": "318f3fc0.84c19", + "id": "6f86416f.3eae1", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2543.9998779296875, - "y": 2069.5001298487186, - "z": "8fcccf93.60adc", + "x": 2599.916549682617, + "y": 2225.2500491142273, + "z": "abb03ec2.1302c", "wires": [ [ - "fc2261af.5e46e", - "6af097ca.b0c608" + "f3a7c4a3.632bc8", + "2cca392e.c8fed6" ] ] }, { - "id": "fc2261af.5e46e", + "id": "f3a7c4a3.632bc8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2693.9998779296875, - "y": 2064.500251919031, - "z": "8fcccf93.60adc", + "x": 2749.916549682617, + "y": 2220.25017118454, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "e009d65b.69d368", + "id": "eaa9b8ed.263c58", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2376, - "y": 1989.5000077784061, - "z": "8fcccf93.60adc", + "x": 2431.9166717529297, + "y": 2145.249927043915, + "z": "abb03ec2.1302c", "wires": [ [ - "ac76af61.0db6c" + "f60e61de.0a13f" ] ] }, { - "id": "ac76af61.0db6c", + "id": "f60e61de.0a13f", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2534.000244140625, - "y": 1937.5000077784061, - "z": "8fcccf93.60adc", + "x": 2589.9169158935547, + "y": 2093.249927043915, + "z": "abb03ec2.1302c", "wires": [ [ - "c84eb908.9b7d88", - "f120c5a1.415098", - "19993899.7cd467" + "107dee1a.a3f492", + "4e497c6.29f1d84", + "316b9170.fe028e" ] ] }, { - "id": "c84eb908.9b7d88", + "id": "107dee1a.a3f492", "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": 2704.9998779296875, - "y": 1998.5000688135624, - "z": "8fcccf93.60adc", + "x": 2760.916549682617, + "y": 2154.249988079071, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "f120c5a1.415098", + "id": "4e497c6.29f1d84", "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": 2700, - "y": 1903.5000077784061, - "z": "8fcccf93.60adc", + "x": 2755.9166717529297, + "y": 2059.249927043915, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "7eddcedb.549b3", + "id": "bed41754.dbf568", "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": 2129, - "y": 2016.5000077784061, - "z": "8fcccf93.60adc", + "x": 2184.9166717529297, + "y": 2172.249927043915, + "z": "abb03ec2.1302c", "wires": [ [ - "e009d65b.69d368", - "1a007f79.276fe1" + "eaa9b8ed.263c58", + "cd8abd1a.07b83" ] ] }, { - "id": "6af097ca.b0c608", + "id": "2cca392e.c8fed6", "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": 2716.9999656677246, - "y": 2101.49994674325, - "z": "8fcccf93.60adc", + "x": 2772.9166374206543, + "y": 2257.2498660087585, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "975c2107.4b881", + "id": "34bd7f4e.1172e", "type": "for", "name": "for each rrmpolicyratio", "xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`'>\n", "comments": "", "outputs": 1, - "x": 2064, - "y": 2174.500236660242, - "z": "8fcccf93.60adc", + "x": 2119.9166717529297, + "y": 2330.2501559257507, + "z": "abb03ec2.1302c", "wires": [ [ - "ddea54.888cf5b" + "efc1790c.673ad8" ] ] }, { - "id": "be456a88.150008", + "id": "5d574c8a.e2b664", "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": 2108, - "y": 2070.500007778406, - "z": "8fcccf93.60adc", + "x": 2163.9166717529297, + "y": 2226.249927043915, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "ddea54.888cf5b", + "id": "efc1790c.673ad8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2285, - "y": 2194.500236660242, - "z": "8fcccf93.60adc", + "x": 2340.9166717529297, + "y": 2350.2501559257507, + "z": "abb03ec2.1302c", "wires": [ [ - "337d931c.971b6c", - "d5333612.b89998", - "98a5b2c7.7f4a7", - "efda857e.b182d8", - "e2b01839.98c568", - "17807e36.be4b72", - "add2e711.622b58", - "978aca38.56e1a8" + "f99e4696.16b678", + "71966e7d.61fe3", + "ffe2c7da.35a828", + "5ccbbfaf.7d267", + "794b5fb5.4ba12", + "76da6af6.531dd4", + "f7bc73cc.eb608", + "2334cb93.df8624" ] ] }, { - "id": "337d931c.971b6c", + "id": "f99e4696.16b678", "type": "set", "name": "Calculate updated RRMPolicyRatio", - "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellCU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`\" />", + "xml": "<set>\n\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`\" />", "comments": "", - "x": 2567.0001373291016, - "y": 2174.5001265108585, - "z": "8fcccf93.60adc", + "x": 2609.916732788086, + "y": 2329.250468879938, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "24f60e2f.87e762", + "id": "696f0afe.f70dd4", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2048, - "y": 2124.500007778406, - "z": "8fcccf93.60adc", + "x": 2103.9166717529297, + "y": 2280.249927043915, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "a75a4b61.fc60e8", + "id": "65f3f3ea.9ffbcc", "type": "for", "name": "foreach PLMNInfo", "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n", "comments": "", "outputs": 1, - "x": 2569.1111221313477, - "y": 626.722265869379, - "z": "8fcccf93.60adc", + "x": 2625.0277938842773, + "y": 782.4721851348877, + "z": "abb03ec2.1302c", "wires": [ [ - "6715c6c4.d03088" + "83d280c.ada118" ] ] }, { - "id": "e7b7d2c8.4ff52", + "id": "35ed9873.ace0c8", "type": "block", "name": "block", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1795.9999771118164, - "y": 1366.4999786913395, - "z": "8fcccf93.60adc", + "x": 1851.916648864746, + "y": 1522.2498979568481, + "z": "abb03ec2.1302c", "wires": [ [ - "a8248d2b.526ea", - "7b5fe370.5d3b5c", - "415d5b33.cdbca4" + "97855f4a.d7ad", + "cba4f766.8bfa58", + "66bdcf47.f5fd2" ] ] }, { - "id": "bbf1f1f6.7c9e3", + "id": "254bc6eb.85bf1a", "type": "switchNode", "name": "is NSSAI exists", "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n", "comments": "", "outputs": 1, - "x": 2785.7774810791016, - "y": 863.2778059542179, - "z": "8fcccf93.60adc", + "x": 2841.6941528320312, + "y": 1019.0277252197266, + "z": "abb03ec2.1302c", "wires": [ [ - "905ca198.a4fcb" + "79d73cd3.68fce4" ] ] }, { - "id": "905ca198.a4fcb", + "id": "79d73cd3.68fce4", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2208.9999351501465, - "y": 944.5000235140324, - "z": "8fcccf93.60adc", + "x": 2264.916606903076, + "y": 1100.249942779541, + "z": "abb03ec2.1302c", "wires": [ [ - "b94de4f0.5acf78" + "27f3bce7.3235f4" ] ] }, { - "id": "36d9523b.b155ee", + "id": "1f3f4688.27e689", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2282.9999351501465, - "y": 1011.5000244677067, - "z": "8fcccf93.60adc", + "x": 2338.916606903076, + "y": 1167.2499437332153, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "c2544ac9.e17ff8", + "id": "2b8cd09b.9da6a", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2843.8888092041016, - "y": 819.7222482264042, - "z": "8fcccf93.60adc", + "x": 2899.8054809570312, + "y": 975.4721674919128, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "7671b706.833948", + "id": "66e14ea5.3ea48", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2653.0001373291016, - "y": 793.5000802576542, - "z": "8fcccf93.60adc", + "x": 2708.9168090820312, + "y": 949.2499995231628, + "z": "abb03ec2.1302c", "wires": [ [ - "c2544ac9.e17ff8", - "bbf1f1f6.7c9e3", - "9509de42.c3e92" + "2b8cd09b.9da6a", + "254bc6eb.85bf1a", + "65f2ae51.d83ad" ] ] }, { - "id": "9509de42.c3e92", + "id": "65f2ae51.d83ad", "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": 3023.8886108398438, - "y": 743.72229591012, - "z": "8fcccf93.60adc", + "x": 3079.8052825927734, + "y": 899.4722151756287, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "b52fb8ac.fa1128", + "id": "e361f9c1.00cf48", "type": "block", "name": "Process CUUP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 585, - "y": 1556.5000077784061, - "z": "8fcccf93.60adc", + "x": 640.9166717529297, + "y": 1712.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [ - "2bcf2c18.a6e654", - "d99d348f.224158", - "7278d300.e2ec2c" + "49399da0.0bd954", + "12b74b72.cc3cd5", + "66b8aa7b.05e9f4" ] ] }, { - "id": "2bcf2c18.a6e654", + "id": "49399da0.0bd954", "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": 916, - "y": 1566.5000077784061, - "z": "8fcccf93.60adc", + "x": 971.9166717529297, + "y": 1722.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "d99d348f.224158", + "id": "12b74b72.cc3cd5", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 888, - "y": 1631.5000077784061, - "z": "8fcccf93.60adc", + "x": 943.9166717529297, + "y": 1787.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "7278d300.e2ec2c", + "id": "66b8aa7b.05e9f4", "type": "for", "name": "foreach CUUP", "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n", "comments": "", "outputs": 1, - "x": 916, - "y": 1706.5000077784061, - "z": "8fcccf93.60adc", + "x": 971.9166717529297, + "y": 1862.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [ - "523a2df4.6d04f4" + "44e82062.8b0ec" ] ] }, { - "id": "523a2df4.6d04f4", + "id": "44e82062.8b0ec", "type": "block", "name": "block : process CUUP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 786.0001220703125, - "y": 2286.5001746714115, - "z": "8fcccf93.60adc", + "x": 841.9167938232422, + "y": 2442.25009393692, + "z": "abb03ec2.1302c", "wires": [ [ - "d4b837ea.20fa18", - "d86782bd.f3502", - "600282da.5a611c", - "6a98f5a6.90badc", - "11d758ba.521d67", - "4d305871.d53308", - "618e9bb7.93d014", - "393bf82b.d11f58", - "199fde49.0e75f2", - "9899c9b5.96e018", - "3f9f412f.0eb5ce", - "a0cb8d6d.b08ac", - "577ac391.0505dc" + "fe3b3db8.d911f", + "371d991c.669586", + "7c8d036b.daf99c", + "3922ace6.2b03d4", + "7445c482.37cd0c", + "1d76c478.13bdbc", + "bda57e4a.42c0b", + "a010f201.e62", + "8145bb88.c3ec68", + "d7ade9d0.b77a98", + "e75c959d.637e78", + "8d17671a.146fc8", + "10a2c57.9e2653b", + "8da2f5a1.213378", + "238cc384.3b740c" ] ] }, { - "id": "d4b837ea.20fa18", + "id": "fe3b3db8.d911f", "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": 1198.0000457763672, - "y": 2119.5000292360783, - "z": "8fcccf93.60adc", + "x": 1253.9167175292969, + "y": 2275.249948501587, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "d86782bd.f3502", + "id": "371d991c.669586", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1182.0001411437988, - "y": 2169.5000788271427, - "z": "8fcccf93.60adc", + "x": 1237.9168128967285, + "y": 2325.2499980926514, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "600282da.5a611c", + "id": "7c8d036b.daf99c", "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": 1178.0000457763672, - "y": 2223.5000807344913, - "z": "8fcccf93.60adc", + "x": 1233.9167175292969, + "y": 2379.25, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "6a98f5a6.90badc", + "id": "3922ace6.2b03d4", "type": "for", "name": "foreach pLMNInfo", "xml": "<for index='id-plmn' start='0' end='1'>\n", "comments": "", "outputs": 1, - "x": 1021.9999923706055, - "y": 2358.500233322382, - "z": "8fcccf93.60adc", + "x": 1077.9166641235352, + "y": 2514.2501525878906, + "z": "abb03ec2.1302c", "wires": [ [ - "2159fe58.65bef2" + "dda75d30.33f96" ] ] }, { - "id": "2159fe58.65bef2", + "id": "dda75d30.33f96", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1143.9999923706055, - "y": 2430.5002359449863, - "z": "8fcccf93.60adc", + "x": 1199.9166641235352, + "y": 2586.250155210495, + "z": "abb03ec2.1302c", "wires": [ [ - "6852da4f.8f18e4", - "5b22aaff.b683d4", - "b76fd445.463118" + "5f4b0ba4.1868b4", + "61da4cab.1c9604", + "5cf07ee.a18f08" ] ] }, { - "id": "3ffe72e9.3ebb6e", + "id": "6ee50315.521c5c", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2272.000270843506, - "y": 2938.500339180231, - "z": "8fcccf93.60adc", + "x": 2327.9169425964355, + "y": 3094.2502584457397, + "z": "abb03ec2.1302c", "wires": [ [ - "fe7765c1.a354d8" + "e9a690b5.df87c" ] ] }, { - "id": "fe7765c1.a354d8", + "id": "e9a690b5.df87c", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2429.000274658203, - "y": 2931.5001441538334, - "z": "8fcccf93.60adc", + "x": 2484.916946411133, + "y": 3087.250063419342, + "z": "abb03ec2.1302c", "wires": [ [ - "a8917b.93d61e88", - "43959504.f6300c", - "19993899.7cd467" + "fededc31.9e6a5", + "fb69b12.dadfb5", + "316b9170.fe028e" ] ] }, { - "id": "43959504.f6300c", + "id": "fb69b12.dadfb5", "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": 2674.0002822875977, - "y": 2932.500534683466, - "z": "8fcccf93.60adc", + "x": 2729.9169540405273, + "y": 3088.2504539489746, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "a8917b.93d61e88", + "id": "fededc31.9e6a5", "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": 2662.0002822875977, - "y": 2967.5005356371403, - "z": "8fcccf93.60adc", + "x": 2717.9169540405273, + "y": 3123.250454902649, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "620c5243.00e2ec", + "id": "46efa16f.c84de", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2652.00008392334, - "y": 3015.5003401339054, - "z": "8fcccf93.60adc", + "x": 2707.9167556762695, + "y": 3171.250259399414, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4077ec46.65c474", + "id": "df647ace.cb52b8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2496.0000762939453, - "y": 3008.500145584345, - "z": "8fcccf93.60adc", + "x": 2551.916748046875, + "y": 3164.2500648498535, + "z": "abb03ec2.1302c", "wires": [ [ - "620c5243.00e2ec" + "46efa16f.c84de" ] ] }, { - "id": "f81fb1b4.d01d8", + "id": "44bc89bb.298148", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2336.0000762939453, - "y": 3008.5003401339054, - "z": "8fcccf93.60adc", + "x": 2391.916748046875, + "y": 3164.250259399414, + "z": "abb03ec2.1302c", "wires": [ [ - "4077ec46.65c474" + "df647ace.cb52b8" ] ] }, { - "id": "670409bf.710c78", + "id": "ca5cc8a3.3e8f88", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2018.0000267028809, - "y": 2729.5003849565983, - "z": "8fcccf93.60adc", + "x": 2073.9166984558105, + "y": 2885.250304222107, + "z": "abb03ec2.1302c", "wires": [ [ - "6304c7f8.db5bf8", - "8d5cbb13.2b91d8" + "36c2a171.0e8bae", + "9d3cb6c3.a805e8" ] ] }, { - "id": "6304c7f8.db5bf8", + "id": "36c2a171.0e8bae", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2338.000129699707, - "y": 2779.500142276287, - "z": "8fcccf93.60adc", + "x": 2393.9168014526367, + "y": 2935.2500615417957, + "z": "abb03ec2.1302c", "wires": [ [ - "826562d8.f86d1" + "a33d8811.e45768" ] ] }, { - "id": "8d5cbb13.2b91d8", + "id": "9d3cb6c3.a805e8", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2371.000015258789, - "y": 2878.50035110116, - "z": "8fcccf93.60adc", + "x": 2426.9166870117188, + "y": 3034.2502703666687, + "z": "abb03ec2.1302c", "wires": [ [ - "7cb74ecf.765ba" + "c4ed927e.78078" ] ] }, { - "id": "826562d8.f86d1", + "id": "a33d8811.e45768", "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": 2703.000015258789, - "y": 2791.50035110116, - "z": "8fcccf93.60adc", + "x": 2758.9166870117188, + "y": 2947.2502703666687, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "f7c431f2.041ad", + "id": "85d3c578.1ff548", "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": 2033.9999694824219, - "y": 2833.500142723322, - "z": "8fcccf93.60adc", + "x": 2089.9166412353516, + "y": 2989.2500619888306, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4d305871.d53308", + "id": "1d76c478.13bdbc", "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": 1394.0001373291016, - "y": 3208.500393539667, - "z": "8fcccf93.60adc", + "x": 1498.9168243408203, + "y": 3266.2505861520767, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "618e9bb7.93d014", + "id": "bda57e4a.42c0b", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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`\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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`\"/>\n<parameter name=\"field3\" value=\"`$tmp.payload.maxNumberofConns`\"/>\n\n<parameter name=\"field4\" value=\"RRM Policy Step Values\"/>\n<parameter name=\"field5\" value=\"`$tmp.maxNumberOfDRBsPerNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfDRBsPerCUUP`\"/>\n<parameter name=\"field7\" value=\"`$tmp.rRMPolicyDedicatedRatio1`\"/>\n<parameter name=\"field8\" value=\"`$tmp.rRMPolicyDedicatedRatio-CUUP`\"/>\n\n", "comments": "", "outputs": 1, - "x": 1352.0001411437988, - "y": 3273.500393539667, - "z": "8fcccf93.60adc", + "x": 1461.9168701171875, + "y": 3409.2506700754166, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "393bf82b.d11f58", + "id": "a010f201.e62", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 1418.0000457763672, - "y": 3319.5001989901066, - "z": "8fcccf93.60adc", + "x": 1473.9167175292969, + "y": 3475.2501182556152, + "z": "abb03ec2.1302c", "wires": [ [ - "661a407d.f8052", - "a8bdeb56.da60b8" + "fbc8d9cc.feee08", + "55fb2029.df4fc" ] ] }, { - "id": "661a407d.f8052", + "id": "fbc8d9cc.feee08", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 1726.9999771118164, - "y": 3275.4997583925724, - "z": "8fcccf93.60adc", + "x": 1782.916648864746, + "y": 3431.249677658081, + "z": "abb03ec2.1302c", "wires": [ [ - "5b918a0a.04aa14" + "beafd9cb.310fc8" ] ] }, { - "id": "5b918a0a.04aa14", + "id": "beafd9cb.310fc8", "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": 1985.9997863769531, - "y": 3277.49995341897, - "z": "8fcccf93.60adc", + "x": 2041.9164581298828, + "y": 3433.2498726844788, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "199fde49.0e75f2", + "id": "8145bb88.c3ec68", "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": 1465.0001430511475, - "y": 3368.5003954470158, - "z": "8fcccf93.60adc", + "x": 1520.9168148040771, + "y": 3524.2503147125244, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "9899c9b5.96e018", + "id": "d7ade9d0.b77a98", "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": 1484.0001419782639, - "y": 3416.5003477633, - "z": "8fcccf93.60adc", + "x": 1539.9168137311935, + "y": 3572.2502670288086, + "z": "abb03ec2.1302c", "wires": [ [ - "ba168e76.679bc", - "29fc6c54.1c7644" + "ce438f31.89a8c", + "3af8e02c.ea6cc" ] ] }, { - "id": "ba168e76.679bc", + "id": "ce438f31.89a8c", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1890.0001754760742, - "y": 3381.5001503527164, - "z": "8fcccf93.60adc", + "x": 1945.916847229004, + "y": 3537.250069618225, + "z": "abb03ec2.1302c", "wires": [ [ - "39724838.c0cae8" + "606330f3.ba527" ] ] }, { - "id": "39724838.c0cae8", + "id": "606330f3.ba527", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2064.000175476074, - "y": 3392.4999548494816, - "z": "8fcccf93.60adc", + "x": 2119.916847229004, + "y": 3548.2498741149902, + "z": "abb03ec2.1302c", "wires": [ [ - "1a9a34f.8a727cb", - "9f9db63a.52c5c8", - "19993899.7cd467" + "55251595.894f9c", + "ff2950a2.14478", + "316b9170.fe028e" ] ] }, { - "id": "9f9db63a.52c5c8", + "id": "ff2950a2.14478", "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": 2255.999984741211, - "y": 3337.4999548494816, - "z": "8fcccf93.60adc", + "x": 2311.9166564941406, + "y": 3493.2498741149902, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "1a9a34f.8a727cb", + "id": "55251595.894f9c", "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": 2299.999984741211, - "y": 3381.4999548494816, - "z": "8fcccf93.60adc", + "x": 2355.9166564941406, + "y": 3537.2498741149902, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "d1258a9e.527c58", + "id": "4b91f9c3.f041c8", "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": 2286.999984741211, - "y": 3460.5003468096256, - "z": "8fcccf93.60adc", + "x": 2342.9166564941406, + "y": 3616.2502660751343, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "811b06a3.ad72f8", + "id": "3feb4843.7f6b68", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2278.999984741211, - "y": 3416.5003458559513, - "z": "8fcccf93.60adc", + "x": 2334.9166564941406, + "y": 3572.25026512146, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "814453a3.74aaf", + "id": "13010ccf.e40de3", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2069.9999809265137, - "y": 3438.5003458559513, - "z": "8fcccf93.60adc", + "x": 2125.9166526794434, + "y": 3594.25026512146, + "z": "abb03ec2.1302c", "wires": [ [ - "811b06a3.ad72f8", - "d1258a9e.527c58" + "3feb4843.7f6b68", + "4b91f9c3.f041c8" ] ] }, { - "id": "29fc6c54.1c7644", + "id": "3af8e02c.ea6cc", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1889.0001754760742, - "y": 3437.5001513063908, - "z": "8fcccf93.60adc", + "x": 1944.916847229004, + "y": 3593.2500705718994, + "z": "abb03ec2.1302c", "wires": [ [ - "814453a3.74aaf" + "13010ccf.e40de3" ] ] }, { - "id": "3f9f412f.0eb5ce", + "id": "e75c959d.637e78", "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": 1483.0001411437988, - "y": 3463.5003973543644, - "z": "8fcccf93.60adc", + "x": 1538.9168128967285, + "y": 3619.250316619873, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "a0cb8d6d.b08ac", + "id": "8d17671a.146fc8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1446.0001430511475, - "y": 3512.5003973543644, - "z": "8fcccf93.60adc", + "x": 1501.9168148040771, + "y": 3668.250316619873, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "577ac391.0505dc", + "id": "10a2c57.9e2653b", "type": "for", "name": "for each rrmpolicyratio", "xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n", "comments": "", "outputs": 1, - "x": 1501.6666469573975, - "y": 3556.8336016237736, - "z": "8fcccf93.60adc", + "x": 1557.5833187103271, + "y": 3712.583520889282, + "z": "abb03ec2.1302c", "wires": [ [ - "e0214a2f.40dce8" + "38ebc36a.b4b08c" ] ] }, { - "id": "e0214a2f.40dce8", + "id": "38ebc36a.b4b08c", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1827.6666793823242, - "y": 3489.833488613367, - "z": "8fcccf93.60adc", + "x": 1813.5833435058594, + "y": 3714.583683013916, + "z": "abb03ec2.1302c", "wires": [ [ - "1e9d75fd.9ea96a", - "32c5fca3.db2194", - "61c4c1b5.b8b41", - "2212158e.81f10a", - "63fd7c40.f315b4", - "3e7a68f7.31a648", - "a45d5441.d86118" + "750911c.20034f", + "b68af716.6258a8", + "81c68600.ef0528", + "1d0d0a55.65b476", + "fc97f2d.beb331", + "5799de85.64ffb", + "e5584a04.ee2ee8" ] ] }, { - "id": "f46c8e86.7a4cc", + "id": "ed2b6da9.a8116", "type": "block", "name": "Process gNBDU", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1022.7501907348633, - "y": 3799.25061288476, - "z": "8fcccf93.60adc", + "x": 1078.666862487793, + "y": 3955.0005321502686, + "z": "abb03ec2.1302c", "wires": [ [ - "2af8d07e.3f44c", - "414bc740.7ea138", - "1aed90e3.a2773f" + "48e6bf3b.040f8", + "256fab02.1ee714", + "5d063a61.c12ae4" ] ] }, { - "id": "2af8d07e.3f44c", + "id": "48e6bf3b.040f8", "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": 1331.7502899169922, - "y": 3720.2509156763554, - "z": "8fcccf93.60adc", + "x": 1387.6669616699219, + "y": 3876.000834941864, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "414bc740.7ea138", + "id": "256fab02.1ee714", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1289.7502746582031, - "y": 3781.2509156763554, - "z": "8fcccf93.60adc", + "x": 1345.6669464111328, + "y": 3937.000834941864, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "1aed90e3.a2773f", + "id": "5d063a61.c12ae4", "type": "for", "name": "foreach DU", "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n", "comments": "", "outputs": 1, - "x": 1304.7503051757812, - "y": 3847.250540405512, - "z": "8fcccf93.60adc", + "x": 1360.666976928711, + "y": 4003.0004596710205, + "z": "abb03ec2.1302c", "wires": [ [ - "37898ed9.286012" + "feebc90d.05dcc8" ] ] }, { - "id": "37898ed9.286012", + "id": "feebc90d.05dcc8", "type": "block", "name": "block : process gNBDU", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1582.7502899169922, - "y": 3852.2508851587772, - "z": "8fcccf93.60adc", + "x": 1638.6669616699219, + "y": 4008.000804424286, + "z": "abb03ec2.1302c", "wires": [ [ - "7e4e1ea6.d5de2", - "d3067535.b07ce8", - "b2569ce.d22ca6", - "fa03b64f.9e2028" + "a3248e01.ef34b", + "545cc013.d2f6e", + "e69d4623.e449e8", + "74daf78c.c176c8" ] ] }, { - "id": "7e4e1ea6.d5de2", + "id": "a3248e01.ef34b", "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": 1881.750015258789, - "y": 3958.249884277582, - "z": "8fcccf93.60adc", + "x": 1937.6666870117188, + "y": 4113.999803543091, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "d3067535.b07ce8", + "id": "545cc013.d2f6e", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1854.750015258789, - "y": 4009.249884277582, - "z": "8fcccf93.60adc", + "x": 1910.6666870117188, + "y": 4164.999803543091, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "b2569ce.d22ca6", + "id": "e69d4623.e449e8", "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-cps-response.[' + $idy +'].GNBDUFunction[' + $id-du +'].NRCellDU_length'`\" />\n ", "comments": "", "outputs": 1, - "x": 1863.750015258789, - "y": 4068.250239521265, - "z": "8fcccf93.60adc", + "x": 1919.6666870117188, + "y": 4224.000158786774, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "fa03b64f.9e2028", + "id": "74daf78c.c176c8", "type": "for", "name": "for cellDUList", "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n", "comments": "", "outputs": 1, - "x": 1924.5000610351562, - "y": 4121.000242859125, - "z": "8fcccf93.60adc", + "x": 1980.416732788086, + "y": 4276.750162124634, + "z": "abb03ec2.1302c", "wires": [ [ - "d1c35fc7.bc589" + "3c027d38.6319c2" ] ] }, { - "id": "8e5a22ff.6ab18", + "id": "3a275951.871c26", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2782.500087738037, - "y": 4667.250265747309, - "z": "8fcccf93.60adc", + "x": 2838.416759490967, + "y": 4823.000185012817, + "z": "abb03ec2.1302c", "wires": [ [ - "6f78b7a7.359518", - "e81ac4d9.91d6d8", - "27a8150d.f8e10a", - "77d421e0.fbec3", - "cd84bbaa.82be88", - "4922c5e7.9ae29c", - "5ae1000b.a5d77", - "d13b514a.f4c49", - "201f49e0.3be066", - "f398e40c.8718e8", - "e0228203.6499", - "81c0b670.ffec98", - "e5bc3a0d.62e558", - "955efe13.2221a", - "827c61e5.babef" + "6968343e.ecd46c", + "6a91f0cd.f2865", + "81cb8df5.d5353", + "756219af.e96b58", + "1dceba04.6b6456", + "11f1c0f3.a8bc4f", + "7594188f.699c38", + "8dcc08d.39b57f8", + "e2fa5813.5da6e8", + "a469561d.66d708", + "e195f32.e03071", + "518cbcdd.2752e4", + "53db9608.ba2c18", + "c7d87cb3.35f2a", + "64b0ebe2.01e5e4" ] ] }, { - "id": "d13b514a.f4c49", + "id": "8dcc08d.39b57f8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3032.5, - "y": 4546.250007778406, - "z": "8fcccf93.60adc", + "x": 3088.4166717529297, + "y": 4701.999927043915, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "5ae1000b.a5d77", + "id": "7594188f.699c38", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3060.5, - "y": 4614.250007778406, - "z": "8fcccf93.60adc", + "x": 3116.4166717529297, + "y": 4769.999927043915, + "z": "abb03ec2.1302c", "wires": [ [ - "7f2639ea.793468", - "54bf5ae3.9c2494" + "5fb65a46.9dc394", + "bde60b2f.cad3b8" ] ] }, { - "id": "7f2639ea.793468", + "id": "5fb65a46.9dc394", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3268.5, - "y": 4579.249763637781, - "z": "8fcccf93.60adc", + "x": 3324.4166717529297, + "y": 4734.99968290329, + "z": "abb03ec2.1302c", "wires": [ [ - "e8953586.2ff168" + "cba51a54.1ecf58" ] ] }, { - "id": "54bf5ae3.9c2494", + "id": "bde60b2f.cad3b8", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3263.5000495910645, - "y": 4648.250332027674, - "z": "8fcccf93.60adc", + "x": 3319.416721343994, + "y": 4804.000251293182, + "z": "abb03ec2.1302c", "wires": [ [ - "9bc14146.2067" + "a6be1d8a.ba4d" ] ] }, { - "id": "e8953586.2ff168", + "id": "cba51a54.1ecf58", "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": 3588.5, - "y": 4594.250007778406, - "z": "8fcccf93.60adc", + "x": 3644.4166717529297, + "y": 4749.999927043915, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "6f78b7a7.359518", + "id": "6968343e.ecd46c", "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-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].idNRCellDU'`\" />", "comments": "", "outputs": 1, - "x": 3064.500141143799, - "y": 4653.250659614801, - "z": "8fcccf93.60adc", + "x": 3120.4168128967285, + "y": 4809.00057888031, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "77d421e0.fbec3", + "id": "756219af.e96b58", "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": 3112.500213623047, - "y": 4767.250189930201, - "z": "8fcccf93.60adc", + "x": 3168.4168853759766, + "y": 4923.000109195709, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "cd84bbaa.82be88", + "id": "1dceba04.6b6456", "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": 3085.5003967285156, - "y": 4822.250191837549, - "z": "8fcccf93.60adc", + "x": 3141.4170684814453, + "y": 4978.000111103058, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4922c5e7.9ae29c", + "id": "11f1c0f3.a8bc4f", "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": 3070.500198364258, - "y": 4866.500691086054, - "z": "8fcccf93.60adc", + "x": 3126.4168701171875, + "y": 5022.2506103515625, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "e81ac4d9.91d6d8", + "id": "6a91f0cd.f2865", "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": 3071.250442504883, - "y": 4910.750265270472, - "z": "8fcccf93.60adc", + "x": 3127.1671142578125, + "y": 5066.50018453598, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "27a8150d.f8e10a", + "id": "81cb8df5.d5353", "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": 3079.4999465942383, - "y": 4999.2503706514835, - "z": "8fcccf93.60adc", + "x": 3135.416618347168, + "y": 5155.000289916992, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "201f49e0.3be066", + "id": "e2fa5813.5da6e8", "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": 3127.4999465942383, - "y": 5038.499981552362, - "z": "8fcccf93.60adc", + "x": 3183.416618347168, + "y": 5194.249900817871, + "z": "abb03ec2.1302c", "wires": [ [ - "d7ccdce1.40ca9", - "875f8d02.4a447" + "316be776.66bd88", + "695dee15.6eb6b" ] ] }, { - "id": "875f8d02.4a447", + "id": "695dee15.6eb6b", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3380.499954223633, - "y": 4904.499979645014, - "z": "8fcccf93.60adc", + "x": 3436.4166259765625, + "y": 5060.2498989105225, + "z": "abb03ec2.1302c", "wires": [ [ - "1f1edc9f.fc2b23" + "21f2daf4.680c26" ] ] }, { - "id": "d7ccdce1.40ca9", + "id": "316be776.66bd88", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3407.499954223633, - "y": 5035.499981552362, - "z": "8fcccf93.60adc", + "x": 3463.4166259765625, + "y": 5191.249900817871, + "z": "abb03ec2.1302c", "wires": [ [ - "495d1503.d5850c" + "9f3db51f.a9c3f8" ] ] }, { - "id": "1f1edc9f.fc2b23", + "id": "21f2daf4.680c26", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3544.500343322754, - "y": 4878.499979645014, - "z": "8fcccf93.60adc", + "x": 3600.4170150756836, + "y": 5034.2498989105225, + "z": "abb03ec2.1302c", "wires": [ [ - "af555298.1cbed", - "5af094b1.3d00ac", - "19993899.7cd467" + "9fca650f.2151b8", + "3526c65b.c2d38a", + "316b9170.fe028e" ] ] }, { - "id": "495d1503.d5850c", + "id": "9f3db51f.a9c3f8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3551.499954223633, - "y": 5033.499981552362, - "z": "8fcccf93.60adc", + "x": 3607.4166259765625, + "y": 5189.249900817871, + "z": "abb03ec2.1302c", "wires": [ [ - "adee3ff7.adcc7" + "87975273.292e6" ] ] }, { - "id": "adee3ff7.adcc7", + "id": "87975273.292e6", "type": "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": 3723.4995651245117, - "y": 5012.500371605158, - "z": "8fcccf93.60adc", + "x": 3779.4162368774414, + "y": 5168.2502908706665, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "af555298.1cbed", + "id": "9fca650f.2151b8", "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": 3726.499954223633, - "y": 4939.499979645014, - "z": "8fcccf93.60adc", + "x": 3782.4166259765625, + "y": 5095.2498989105225, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "5af094b1.3d00ac", + "id": "3526c65b.c2d38a", "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": 3725.4999561309814, - "y": 4873.4999786913395, - "z": "8fcccf93.60adc", + "x": 3781.416627883911, + "y": 5029.249897956848, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "f398e40c.8718e8", + "id": "a469561d.66d708", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2930.75, - "y": 5359.500007778406, - "z": "8fcccf93.60adc", + "x": 2986.6666717529297, + "y": 5515.249927043915, + "z": "abb03ec2.1302c", "wires": [ [ - "541f55fb.9ac43c", - "8a80654c.36a308", - "4313b525.84504c", - "dcabcc2a.94456", - "273a8fd.d5c307", - "7fbfc33c.65940c", - "55625052.06a88", - "f32a46ea.54a608" + "3bb85d56.b352d2", + "b01db51b.b8e7d8", + "4b410bb3.697df4", + "c0b0fa78.17c1c8", + "7db8e65b.b2a548", + "a91eb77f.2aa468", + "de883414.7d9658", + "2af82ffc.86c9a" ] ] }, { - "id": "541f55fb.9ac43c", + "id": "3bb85d56.b352d2", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3154.7499465942383, - "y": 5332.499984413385, - "z": "8fcccf93.60adc", + "x": 3210.666618347168, + "y": 5488.249903678894, + "z": "abb03ec2.1302c", "wires": [ [ - "7490e9a6.b98618", - "850d63be.41ce6" + "1faf8101.dddbcf", + "b69774bf.f3d808" ] ] }, { - "id": "7490e9a6.b98618", + "id": "1faf8101.dddbcf", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3346.750144958496, - "y": 5286.500374466181, - "z": "8fcccf93.60adc", + "x": 3402.666816711426, + "y": 5442.250293731689, + "z": "abb03ec2.1302c", "wires": [ [ - "5bf00af7.a35dd4" + "2206a80d.00c5f8" ] ] }, { - "id": "5bf00af7.a35dd4", + "id": "2206a80d.00c5f8", "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": 3676.7503509521484, - "y": 5310.500374466181, - "z": "8fcccf93.60adc", + "x": 3732.667022705078, + "y": 5466.250293731689, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "8a80654c.36a308", + "id": "b01db51b.b8e7d8", "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": 3179.7499465942383, - "y": 5399.49998536706, - "z": "8fcccf93.60adc", + "x": 3235.666618347168, + "y": 5555.249904632568, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4313b525.84504c", + "id": "4b410bb3.697df4", "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": 3155.7499465942383, - "y": 5456.499986320734, - "z": "8fcccf93.60adc", + "x": 3211.666618347168, + "y": 5612.249905586243, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "dcabcc2a.94456", + "id": "c0b0fa78.17c1c8", "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": 3190.7499465942383, - "y": 5503.499987274408, - "z": "8fcccf93.60adc", + "x": 3246.666618347168, + "y": 5659.249906539917, + "z": "abb03ec2.1302c", "wires": [ [ - "d087fc9e.af0cf", - "3ba3de6f.e42e12" + "ea6ccec3.5088c", + "edf9838e.5d4b5" ] ] }, { - "id": "d087fc9e.af0cf", + "id": "ea6ccec3.5088c", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3414.7499504089355, - "y": 5489.499986320734, - "z": "8fcccf93.60adc", + "x": 3470.6666221618652, + "y": 5645.249905586243, + "z": "abb03ec2.1302c", "wires": [ [ - "4e0d554b.03f6ec" + "a4754948.1b9aa8" ] ] }, { - "id": "3ba3de6f.e42e12", + "id": "edf9838e.5d4b5", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3442.749954223633, - "y": 5549.499987274408, - "z": "8fcccf93.60adc", + "x": 3683.666633605957, + "y": 5674.250248283148, + "z": "abb03ec2.1302c", "wires": [ [ - "fae30cbc.49d2d" + "98e5991e.76fb98" ] ] }, { - "id": "4e0d554b.03f6ec", + "id": "a4754948.1b9aa8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3578.750343322754, - "y": 5473.49998536706, - "z": "8fcccf93.60adc", + "x": 3634.6670150756836, + "y": 5629.249904632568, + "z": "abb03ec2.1302c", "wires": [ [ - "28a20dd6.6fbee2", - "8c6309f4.0f0d18", - "19993899.7cd467" + "cfe60967.5e4408", + "d8046b23.390598", + "316b9170.fe028e" ] ] }, { - "id": "8c6309f4.0f0d18", + "id": "d8046b23.390598", "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": 3778.750347137451, - "y": 5437.49998536706, - "z": "8fcccf93.60adc", + "x": 3834.667018890381, + "y": 5593.249904632568, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "28a20dd6.6fbee2", + "id": "cfe60967.5e4408", "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": 3795.749954223633, - "y": 5473.499987274408, - "z": "8fcccf93.60adc", + "x": 3851.6666259765625, + "y": 5629.249906539917, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "fae30cbc.49d2d", + "id": "98e5991e.76fb98", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3606.000343322754, - "y": 5539.249987274408, - "z": "8fcccf93.60adc", + "x": 3846.917022705078, + "y": 5664.000248283148, + "z": "abb03ec2.1302c", "wires": [ [ - "9c213e9d.248c9", - "e03eb30e.19262" + "3bef5ada.9dd2a6", + "6bcfbb92.1e83f4" ] ] }, { - "id": "9c213e9d.248c9", + "id": "3bef5ada.9dd2a6", "type": "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": 3774.250347137451, - "y": 5519.249987274408, - "z": "8fcccf93.60adc", + "x": 4015.1670265197754, + "y": 5644.000248283148, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "e03eb30e.19262", + "id": "6bcfbb92.1e83f4", "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": 3788.7503509521484, - "y": 5563.749987274408, - "z": "8fcccf93.60adc", + "x": 4029.6670303344727, + "y": 5688.500248283148, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "273a8fd.d5c307", + "id": "7db8e65b.b2a548", "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": 3162.7499465942383, - "y": 5559.499987274408, - "z": "8fcccf93.60adc", + "x": 3218.666618347168, + "y": 5715.249906539917, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "7fbfc33c.65940c", + "id": "a91eb77f.2aa468", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3118.7499465942383, - "y": 5601.499988228083, - "z": "8fcccf93.60adc", + "x": 3174.666618347168, + "y": 5757.249907493591, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "55625052.06a88", + "id": "de883414.7d9658", "type": "block", "name": "rrmPolicyDedicatedRatio", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3733.750343322754, - "y": 5262.499983459711, - "z": "8fcccf93.60adc", + "x": 3789.6670150756836, + "y": 5418.24990272522, + "z": "abb03ec2.1302c", "wires": [ [ - "818dd721.bf86b8", - "7843ac3.42ce954", - "42a564d1.af201c", - "67dbe8e0.d1d338", - "87c67345.ea153", - "78383d30.d37534", - "d7f96850.36ba18", - "680dcd90.3190a4", - "fa911a8a.d13048", - "70084fc5.b99b1", - "16a96f39.4a54d1" + "fc43632.cea5aa", + "d8e492b7.5b4a7", + "dffc7550.f59f08", + "dd3d7fb8.b53f6", + "c92781d.9a54c8", + "15b6b189.1e073e", + "5efbfe90.5f7b1", + "92605db2.c80da", + "6a59974e.1a4a98", + "4cb15f69.c521c", + "cfcf9bd2.7eb188" ] ] }, { - "id": "42a564d1.af201c", + "id": "dffc7550.f59f08", "type": "set", "name": "Calculate RRM Parms1", - "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n", + "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`' />\n", "comments": "", - "x": 4155.739807128906, - "y": 4929.822760730982, - "z": "8fcccf93.60adc", + "x": 4211.656478881836, + "y": 5085.5726799964905, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "67dbe8e0.d1d338", + "id": "dd3d7fb8.b53f6", "type": "set", "name": "Calculate RRM Parms2", - "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n", + "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`' />\n", "comments": "", - "x": 4164.281066894531, - "y": 4974.842780202627, - "z": "8fcccf93.60adc", + "x": 4220.197738647461, + "y": 5130.592699468136, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "87c67345.ea153", + "id": "c92781d.9a54c8", "type": "set", "name": "Calculate RRM Parms3", - "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />", + "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`' />", "comments": "", - "x": 4154.281188964844, - "y": 5029.842658132315, - "z": "8fcccf93.60adc", + "x": 4210.197860717773, + "y": 5185.592577397823, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "78383d30.d37534", + "id": "15b6b189.1e073e", "type": "set", "name": "Calculate RRM Parms4", "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n", "comments": "", - "x": 4154.281066894531, - "y": 5080.842658191919, - "z": "8fcccf93.60adc", + "x": 4210.197738647461, + "y": 5236.592577457428, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "d7f96850.36ba18", + "id": "5efbfe90.5f7b1", "type": "set", "name": "Calculate RRM Parms5", "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />", "comments": "", - "x": 4142.281188964844, - "y": 5140.842780202627, - "z": "8fcccf93.60adc", + "x": 4198.197860717773, + "y": 5296.592699468136, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "680dcd90.3190a4", + "id": "92605db2.c80da", "type": "set", "name": "Calculate RRM Parms6", "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />", "comments": "", - "x": 4180.281066894531, - "y": 5190.842780202627, - "z": "8fcccf93.60adc", + "x": 4236.197738647461, + "y": 5346.592699468136, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "fa911a8a.d13048", + "id": "6a59974e.1a4a98", "type": "set", "name": "Calculate RRM Parms7", "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n", "comments": "", - "x": 4167.281005859375, - "y": 5260.843146473169, - "z": "8fcccf93.60adc", + "x": 4223.197677612305, + "y": 5416.593065738678, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "70084fc5.b99b1", + "id": "4cb15f69.c521c", "type": "set", "name": "calculation8", "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n", "comments": "", - "x": 4138.281005859375, - "y": 5324.842169910669, - "z": "8fcccf93.60adc", + "x": 4194.197677612305, + "y": 5480.592089176178, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "16a96f39.4a54d1", + "id": "cfcf9bd2.7eb188", "type": "set", "name": "calculation9", "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n", "comments": "", - "x": 4126.281555175781, - "y": 5375.842047840357, - "z": "8fcccf93.60adc", + "x": 4182.198226928711, + "y": 5531.5919671058655, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "7843ac3.42ce954", + "id": "d8e492b7.5b4a7", "type": "set", "name": "calculation10", "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n", "comments": "", - "x": 4101.7398681640625, - "y": 5441.822516590357, - "z": "8fcccf93.60adc", + "x": 4157.656539916992, + "y": 5597.5724358558655, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "818dd721.bf86b8", + "id": "fc43632.cea5aa", "type": "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": 3927.7497940063477, - "y": 5453.943823009729, - "z": "8fcccf93.60adc", + "x": 3983.6664657592773, + "y": 5609.693742275238, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "f32a46ea.54a608", + "id": "2af82ffc.86c9a", "type": "for", "name": "for each rrmpolicyratio", "xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n", "comments": "", "outputs": 1, - "x": 3148, - "y": 5643.500007778406, - "z": "8fcccf93.60adc", - "wires": [ - [ - "fde16b1e.8fa608" - ] - ] - }, - { - "id": "fde16b1e.8fa608", - "type": "block", - "name": "block : atomic", - "xml": "<block atomic='true'>", - "atomic": "true", - "comments": "", - "outputs": 1, - "x": 3359.000343322754, - "y": 5645.499989181757, - "z": "8fcccf93.60adc", - "wires": [ - [ - "a3d57e54.d7214", - "94ca4d30.f396b", - "53d30f3b.3532d", - "c56a302f.2e56c", - "dfba4e92.26bb8", - "ac6c3541.982568" - ] - ] - }, - { - "id": "e76d87d3.65ed68", - "type": "success", - "name": "success", - "xml": "<outcome value='success'>\n", - "comments": "", - "outputs": 1, - "x": 4714.000263214111, - "y": 5868.750572830439, - "z": "8fcccf93.60adc", + "x": 3203.9166717529297, + "y": 5799.249927043915, + "z": "abb03ec2.1302c", "wires": [ [ - "901ed315.94467" + "a3844d0d.cd085" ] ] }, { - "id": "901ed315.94467", + "id": "a3844d0d.cd085", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 5047.250354766846, - "y": 5910.500573784113, - "z": "8fcccf93.60adc", + "x": 3414.9170150756836, + "y": 5801.249908447266, + "z": "abb03ec2.1302c", "wires": [ [ - "7dfbfc15.932a94" + "3be88fac.23994", + "753549da.987cc8", + "8cb96950.7462b8", + "372afd9e.1618e2", + "41441730.687178", + "84e35ce4.a7ed6", + "b61127a2.26b4e8" ] ] }, { - "id": "7dfbfc15.932a94", - "type": "record", - "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 5267.750358581543, - "y": 5871.500181823969, - "z": "8fcccf93.60adc", - "wires": [ - [] - ] - }, - { - "id": "926d3cff.7e5ce", - "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": 5306.999969482422, - "y": 5964.5001837313175, - "z": "8fcccf93.60adc", - "wires": [] - }, - { - "id": "34bce7b7.1fe478", - "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": 5293.999969482422, - "y": 6013.500184684992, - "z": "8fcccf93.60adc", - "wires": [] - }, - { - "id": "8ebaea51.480a08", - "type": "block", - "name": "block : atomic", - "xml": "<block atomic='true'>", - "atomic": "true", - "comments": "", - "outputs": 1, - "x": 5062.999961853027, - "y": 5990.5001837313175, - "z": "8fcccf93.60adc", - "wires": [ - [ - "34bce7b7.1fe478", - "926d3cff.7e5ce", - "19993899.7cd467" - ] - ] - }, - { - "id": "db68cec3.01d33", - "type": "failure", - "name": "failure", - "xml": "<outcome value='failure'>\n", - "comments": "", - "outputs": 1, - "x": 4701.999961853027, - "y": 5963.5001837313175, - "z": "8fcccf93.60adc", - "wires": [ - [ - "8ebaea51.480a08" - ] - ] - }, - { - "id": "19993899.7cd467", + "id": "316b9170.fe028e", "type": "block", "name": "block : SO Response", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4505.484375, - "y": 2847.5000104010105, - "z": "8fcccf93.60adc", + "x": 4561.40104675293, + "y": 3003.249929666519, + "z": "abb03ec2.1302c", "wires": [ [ - "2d1691e0.a0f75e", - "c32d53ef.82947", - "e294be19.7b814" + "aff8fe5a.5ba72", + "fa4292a5.db10a", + "3b732ade.576656" ] ] }, { - "id": "2d1691e0.a0f75e", + "id": "aff8fe5a.5ba72", "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": 5167.4853515625, - "y": 2639.3996686041355, - "z": "8fcccf93.60adc", + "x": 5223.40202331543, + "y": 2795.149587869644, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "c32d53ef.82947", + "id": "fa4292a5.db10a", "type": "record", - "name": "record configdb RestAPI parms", + "name": "record CPS 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": 5142.484237670898, - "y": 2736.50034609437, - "z": "8fcccf93.60adc", + "x": 5198.400909423828, + "y": 2892.2502653598785, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "e294be19.7b814", + "id": "3b732ade.576656", "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": 5057.48424911499, - "y": 2833.5002240240574, - "z": "8fcccf93.60adc", + "x": 5113.40092086792, + "y": 2989.250143289566, + "z": "abb03ec2.1302c", "wires": [ [ - "a4c616bb.42fd98", - "6c18ba4a.c236d4" + "78474373.74efec", + "a6481dcb.5263a" ] ] }, { - "id": "a4c616bb.42fd98", + "id": "78474373.74efec", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 5283.484257698059, - "y": 2810.500193029642, - "z": "8fcccf93.60adc", + "x": 5339.400929450989, + "y": 2966.2501122951508, + "z": "abb03ec2.1302c", "wires": [ [ - "30d9addb.c1a982" + "af614c7c.4120f" ] ] }, { - "id": "6c18ba4a.c236d4", + "id": "a6481dcb.5263a", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 5273.484111785889, - "y": 2918.500132471323, - "z": "8fcccf93.60adc", + "x": 5329.400783538818, + "y": 3074.2500517368317, + "z": "abb03ec2.1302c", "wires": [ [ - "b1b838f3.1c28a8" + "34d159d6.87ff26" ] ] }, { - "id": "b1b838f3.1c28a8", + "id": "34d159d6.87ff26", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 5423.483898162842, - "y": 2937.5001935064793, - "z": "8fcccf93.60adc", + "x": 5479.4005699157715, + "y": 3093.250112771988, + "z": "abb03ec2.1302c", "wires": [ [ - "2239c3d8.ffc1dc" + "3ace3b5.8f6d0c4" ] ] }, { - "id": "30d9addb.c1a982", + "id": "af614c7c.4120f", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 5434.484127044678, - "y": 2805.5003150999546, - "z": "8fcccf93.60adc", + "x": 5490.400798797607, + "y": 2961.2502343654633, + "z": "abb03ec2.1302c", "wires": [ [ - "fef0f4ff.2351d8" + "76844fda.f1aab" ] ] }, { - "id": "fef0f4ff.2351d8", + "id": "76844fda.f1aab", "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": 5600.483806610107, - "y": 2808.500132471323, - "z": "8fcccf93.60adc", + "x": 5656.400478363037, + "y": 2964.2500517368317, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "2239c3d8.ffc1dc", + "id": "3ace3b5.8f6d0c4", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 5587.483913421631, - "y": 2943.500132471323, - "z": "8fcccf93.60adc", + "x": 5643.400585174561, + "y": 3099.2500517368317, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "7e7faf45.ef6c6", + "id": "c6c4ef68.122e4", "type": "block", "name": "SO Response", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 534.2344589233398, - "y": 4577.250015884638, - "z": "8fcccf93.60adc", + "x": 590.1511306762695, + "y": 4732.9999351501465, + "z": "abb03ec2.1302c", "wires": [ [ - "57272a08.005094", - "be460d87.65d51", - "2af314ee.3fb97c", - "1a3e93b.0f8796c" + "20769d2a.420012", + "a69eafea.2f728", + "7203136f.64f75c", + "57f1c818.b1f968" ] ] }, { - "id": "2af314ee.3fb97c", + "id": "7203136f.64f75c", "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": 834.2356109619141, - "y": 4509.149490982294, - "z": "8fcccf93.60adc", + "x": 890.1522827148438, + "y": 4664.899410247803, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "57272a08.005094", + "id": "20769d2a.420012", "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": 809.2344360351562, - "y": 4615.250138908625, - "z": "8fcccf93.60adc", + "x": 865.1511077880859, + "y": 4771.000058174133, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "be460d87.65d51", + "id": "a69eafea.2f728", "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": 680.2345352172852, - "y": 4698.2499033510685, - "z": "8fcccf93.60adc", + "x": 736.1512069702148, + "y": 4853.999822616577, + "z": "abb03ec2.1302c", "wires": [ [ - "6f60a30c.947f7c", - "537eaf05.5d535" + "f24970e9.4fb97", + "fa43c75d.2e2048" ] ] }, { - "id": "6f60a30c.947f7c", + "id": "f24970e9.4fb97", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 845.2345352172852, - "y": 4678.249902397394, - "z": "8fcccf93.60adc", + "x": 901.1512069702148, + "y": 4833.999821662903, + "z": "abb03ec2.1302c", "wires": [ [ - "1a3250d5.3c897f" + "9178e334.7b7b5" ] ] }, { - "id": "537eaf05.5d535", + "id": "fa43c75d.2e2048", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 837.2344284057617, - "y": 4751.24985280633, - "z": "8fcccf93.60adc", + "x": 893.1511001586914, + "y": 4906.999772071838, + "z": "abb03ec2.1302c", "wires": [ [ - "23679a3f.cfa8b6" + "f13d5bf2.7e9398" ] ] }, { - "id": "23679a3f.cfa8b6", + "id": "f13d5bf2.7e9398", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 983.2342720031738, - "y": 4756.249961525202, - "z": "8fcccf93.60adc", + "x": 1039.1509437561035, + "y": 4911.99988079071, + "z": "abb03ec2.1302c", "wires": [ [ - "d9412bdf.852f88" + "e2ef56da.241a68" ] ] }, { - "id": "1a3250d5.3c897f", + "id": "9178e334.7b7b5", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 994.2344360351562, - "y": 4674.250037819147, - "z": "8fcccf93.60adc", + "x": 1050.151107788086, + "y": 4829.999957084656, + "z": "abb03ec2.1302c", "wires": [ [ - "2cdc582b.e64078", - "45ea1961.a836b8" + "1e9476fe.8567f9", + "b91a468b.091708" ] ] }, { - "id": "2cdc582b.e64078", + "id": "1e9476fe.8567f9", "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": 1141.2340545654297, - "y": 4685.249779373407, - "z": "8fcccf93.60adc", + "x": 1197.1507263183594, + "y": 4840.999698638916, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "d9412bdf.852f88", + "id": "e2ef56da.241a68", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1144.2341918945312, - "y": 4762.249853760004, - "z": "8fcccf93.60adc", + "x": 1200.150863647461, + "y": 4917.999773025513, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "45ea1961.a836b8", + "id": "b91a468b.091708", "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": 1128.7446632385254, - "y": 4589.239270836115, - "z": "8fcccf93.60adc", + "x": 1184.661334991455, + "y": 4744.9891901016235, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "1a3e93b.0f8796c", + "id": "57f1c818.b1f968", "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": 816.5740509033203, - "y": 4556.235551506281, - "z": "8fcccf93.60adc", + "x": 872.49072265625, + "y": 4711.98547077179, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "f187756b.abc6a8", + "id": "55579178.23797", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2289, - "y": 1844.5000077784061, - "z": "8fcccf93.60adc", + "x": 2344.9166717529297, + "y": 2000.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [ - "e127e2.8aa6082" + "ac9f7d5c.c5ab6" ] ] }, { - "id": "e127e2.8aa6082", + "id": "ac9f7d5c.c5ab6", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2481.989658355713, - "y": 1844.5001298487186, - "z": "8fcccf93.60adc", + "x": 2537.9063301086426, + "y": 2000.2500491142273, + "z": "abb03ec2.1302c", "wires": [ [ - "f16b2400.28b148", - "f0b19402.872c98" + "2aff4ba7.44b734", + "d4eb12a5.41e3b" ] ] }, { - "id": "f16b2400.28b148", + "id": "2aff4ba7.44b734", "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": 2788.989845275879, - "y": 1811.5002309381962, - "z": "8fcccf93.60adc", + "x": 2844.9065170288086, + "y": 1967.2501502037048, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "f0b19402.872c98", + "id": "d4eb12a5.41e3b", "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": 2732.990245819092, - "y": 1864.5004245340824, - "z": "8fcccf93.60adc", + "x": 2788.9069175720215, + "y": 2020.250343799591, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "da9897b6.a9b628", + "id": "53bb375c.0a6788", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2716.5, - "y": 1228.5000077784061, - "z": "8fcccf93.60adc", + "x": 2772.4166717529297, + "y": 1384.2499270439148, + "z": "abb03ec2.1302c", "wires": [ [ - "fe94d5b4.e95ee8", - "fe7fa9a8.aefec8" + "8c8566bf.5636f8", + "804f660e.bdb128" ] ] }, { - "id": "fe7fa9a8.aefec8", + "id": "804f660e.bdb128", "type": "execute", "name": "populate mountName", "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=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>", "comments": "", "outputs": 1, - "x": 2967.500431060791, - "y": 1251.5001403391361, - "z": "8fcccf93.60adc", + "x": 3023.4171028137207, + "y": 1407.2500596046448, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "fe94d5b4.e95ee8", + "id": "8c8566bf.5636f8", "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": 3023.500030517578, - "y": 1198.49994674325, - "z": "8fcccf93.60adc", + "x": 3079.416702270508, + "y": 1354.2498660087585, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "d6e5f5ac.462df8", + "id": "fd1b89e3.a60298", "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": 2794.000015258789, - "y": 2893.50035110116, - "z": "8fcccf93.60adc", + "x": 2849.9166870117188, + "y": 3049.2502703666687, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "cd2b3fca.e6ec7", + "id": "6e81cef.e6ae63", "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": 2867.999725341797, - "y": 2842.5001050531864, - "z": "8fcccf93.60adc", + "x": 2923.9163970947266, + "y": 2998.250024318695, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "7cb74ecf.765ba", + "id": "c4ed927e.78078", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2547.9996795654297, - "y": 2880.5000964701176, - "z": "8fcccf93.60adc", + "x": 2603.9163513183594, + "y": 3036.250015735626, + "z": "abb03ec2.1302c", "wires": [ [ - "cd2b3fca.e6ec7", - "d6e5f5ac.462df8" + "6e81cef.e6ae63", + "fd1b89e3.a60298" ] ] }, { - "id": "4984f7f0.e83748", + "id": "b38c84e3.5f49f8", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2058.9999809265137, - "y": 3324.4999538958073, - "z": "8fcccf93.60adc", + "x": 2114.9166526794434, + "y": 3480.249873161316, + "z": "abb03ec2.1302c", "wires": [ [ - "925ec74f.486b28", - "91a2a295.605d2" + "77142c01.72edd4", + "367589e6.a41116" ] ] }, { - "id": "925ec74f.486b28", + "id": "77142c01.72edd4", "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": 2325.999984741211, - "y": 3257.499952942133, - "z": "8fcccf93.60adc", + "x": 2381.9166564941406, + "y": 3413.2498722076416, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "91a2a295.605d2", + "id": "367589e6.a41116", "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": 2300.0001792907715, - "y": 3296.500149399042, - "z": "8fcccf93.60adc", + "x": 2355.916851043701, + "y": 3452.250068664551, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "a8bdeb56.da60b8", + "id": "55fb2029.df4fc", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1850.4999771118164, - "y": 3330.4999548494816, - "z": "8fcccf93.60adc", + "x": 1906.416648864746, + "y": 3486.2498741149902, + "z": "abb03ec2.1302c", "wires": [ [ - "4984f7f0.e83748" + "b38c84e3.5f49f8" ] ] }, { - "id": "9bc14146.2067", + "id": "a6be1d8a.ba4d", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3458.5, - "y": 4663.500007778406, - "z": "8fcccf93.60adc", + "x": 3514.4166717529297, + "y": 4819.249927043915, + "z": "abb03ec2.1302c", "wires": [ [ - "2a64a233.05bece", - "718a8180.ece9d" + "4606ed6b.414b94", + "af44daa0.496f88" ] ] }, { - "id": "2a64a233.05bece", + "id": "4606ed6b.414b94", "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": 3765.500030517578, - "y": 4633.49994674325, - "z": "8fcccf93.60adc", + "x": 3821.416702270508, + "y": 4789.2498660087585, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "718a8180.ece9d", + "id": "af44daa0.496f88", "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": 3709.500431060791, - "y": 4686.500140339136, - "z": "8fcccf93.60adc", + "x": 3765.4171028137207, + "y": 4842.250059604645, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "850d63be.41ce6", + "id": "b69774bf.f3d808", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3349.2499504089355, - "y": 5353.499983459711, - "z": "8fcccf93.60adc", + "x": 3405.1666221618652, + "y": 5509.24990272522, + "z": "abb03ec2.1302c", "wires": [ [ - "e786f426.1b51f8" + "5d899889.56eb38" ] ] }, { - "id": "e786f426.1b51f8", + "id": "5d899889.56eb38", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3510.250343322754, - "y": 5409.74959436059, - "z": "8fcccf93.60adc", + "x": 3566.1670150756836, + "y": 5565.499513626099, + "z": "abb03ec2.1302c", "wires": [ [ - "63254003.faa88", - "71d1cfeb.72a13" + "84434cdf.37679", + "9be49a84.c05f88" ] ] }, { - "id": "63254003.faa88", + "id": "84434cdf.37679", "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": 3760.2503509521484, - "y": 5353.749593406916, - "z": "8fcccf93.60adc", + "x": 3816.167022705078, + "y": 5509.499512672424, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "71d1cfeb.72a13", + "id": "9be49a84.c05f88", "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": 3751.250343322754, - "y": 5394.74998536706, - "z": "8fcccf93.60adc", + "x": 3807.1670150756836, + "y": 5550.499904632568, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "eb5dc3f3.672d3", + "id": "2d92d665.3c8cba", "type": "comment", "name": "terminateRANSliceInstance/instantiateRANSliceModifyDeallocate-CPS", "info": "", "comments": "", - "x": 811.2500286102295, - "y": 118.75000777840614, - "z": "8fcccf93.60adc", + "x": 871.1666870117188, + "y": 142.49992620944977, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "c2141cb1.6ea78", + "id": "ddff54d7.3486a8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 430.5000305175781, - "y": 95.99999871850014, - "z": "8fcccf93.60adc", + "x": 486.4167079925537, + "y": 179.7499157190323, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "9d56e568.a10688", + "id": "dd4ab05a.714b2", "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": 455.4998092651367, - "y": 140.00001779198647, - "z": "8fcccf93.60adc", + "x": 511.4164867401123, + "y": 223.74993479251862, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "7571ae54.f17e6", + "id": "9d09033b.dcc6b", "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": 544.499813079834, - "y": 210.9895330965519, - "z": "8fcccf93.60adc", + "x": 600.4164905548096, + "y": 294.73945009708405, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "9df210ec.0c6da", + "id": "ae2787dd.1a01e8", "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": 583.4997634887695, - "y": 246.9999090731144, - "z": "8fcccf93.60adc", + "x": 639.4164409637451, + "y": 330.74982607364655, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4908e943.cd3e48", + "id": "3df4c81e.76b5b8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 604.4997634887695, - "y": 283.750007301569, - "z": "8fcccf93.60adc", + "x": 596.4165725708008, + "y": 454.5000225305557, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "74513341.e2efcc", + "id": "f46173a.1adc19", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 646.2435874938965, - "y": 1125.743521362543, - "z": "8fcccf93.60adc", + "x": 702.1602592468262, + "y": 1281.4934406280518, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "a8248d2b.526ea", + "id": "97855f4a.d7ad", "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": 2098.5276947021484, - "y": 625.9721890985966, - "z": "8fcccf93.60adc", + "x": 2154.444366455078, + "y": 781.7221083641052, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "d5333612.b89998", + "id": "8648aa3d.911368", "type": "for", "name": "for each rrmpolicyMember", "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.NRCellCURRMPolicyMembersLength`' >\n", "comments": "", "outputs": 1, - "x": 2567.499767303467, - "y": 2339.583153873682, - "z": "8fcccf93.60adc", + "x": 3416.417137145996, + "y": 2565.3331712186337, + "z": "abb03ec2.1302c", "wires": [ [ - "f82fad0a.78216" + "8219558b.9b7a28" ] ] }, { - "id": "f82fad0a.78216", + "id": "f7bc73cc.eb608", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2797.166763305664, - "y": 2339.694286495447, - "z": "8fcccf93.60adc", + "x": 2612.0835132598877, + "y": 2517.444316238165, + "z": "abb03ec2.1302c", "wires": [ [ - "4d539cc1.50cf34", - "c0d5e727.2bded8", - "92e62da.36e00d", - "ca507007.8cd19", - "2c13f84.7bd8608", - "a5301370.f6ba6", - "3881b0a9.f0cb6", - "c89d3afb.7a6348" + "201482a4.a0b29e" ] ] }, { - "id": "4d539cc1.50cf34", + "id": "201482a4.a0b29e", "type": "switchNode", "name": "if length == 1 ", "xml": "<switch test='`$tmp.NRCellCURRMPolicyMembersLength == 1`'>\n\n \n", "comments": "", "outputs": 1, - "x": 2935.3336334228516, - "y": 2240.8329416811466, - "z": "8fcccf93.60adc", + "x": 2841.250873565674, + "y": 2506.582713454962, + "z": "abb03ec2.1302c", "wires": [ [ - "c90538f9.29a1f8", - "df931f5c.b31fa" + "3dfb4bd5.69a774", + "a752c610.1912b8" ] ] }, { - "id": "c90538f9.29a1f8", + "id": "3dfb4bd5.69a774", "type": "success", "name": "success", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3088.000068664551, - "y": 2227.3885728418827, - "z": "8fcccf93.60adc", + "x": 3028.916706085205, + "y": 2416.138652175665, + "z": "abb03ec2.1302c", "wires": [ [ - "4b044b9f.5a5724" + "e1253ff9.b4cba" ] ] }, { - "id": "4b044b9f.5a5724", + "id": "e1253ff9.b4cba", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3254.6664695739746, - "y": 2228.3889485895634, - "z": "8fcccf93.60adc", + "x": 3227.583282470703, + "y": 2386.1389258801937, + "z": "abb03ec2.1302c", "wires": [ [ - "90551825.17ff88", - "e1612bb6.90d608" + "d8698a09.96b758", + "2104a3f4.4d9a8c", + "e07013c4.e34c2", + "bd00b4e3.549f08", + "bc1cfc87.adef2", + "f9c06ff1.be8df", + "9bd95583.173318", + "c0457eb3.0b9f", + "274e2efa.7d0232", + "36ce4da4.540e72", + "24131615.1eae3a" ] ] }, { - "id": "90551825.17ff88", + "id": "d8698a09.96b758", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3514.444381713867, - "y": 2124.277664810419, - "z": "8fcccf93.60adc", + "x": 3474.3612365722656, + "y": 2067.027592986822, + "z": "abb03ec2.1302c", "wires": [ [ - "651c577d.35b638", - "40c6056b.dd9b0c" + "3dbb680a.b1c768", + "4fff5555.0b8c0c" ] ] }, { - "id": "651c577d.35b638", + "id": "3dbb680a.b1c768", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3725.778175354004, - "y": 2074.16646066308, - "z": "8fcccf93.60adc", + "x": 3698.694854736328, + "y": 2043.9165090024471, + "z": "abb03ec2.1302c", "wires": [ [ - "b6ffa326.94c7f" + "f5cb310f.289f9" ] ] }, { - "id": "40c6056b.dd9b0c", + "id": "4fff5555.0b8c0c", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3705.621536254883, - "y": 2167.610479980707, - "z": "8fcccf93.60adc", + "x": 3676.5385360717773, + "y": 2088.3605111539364, + "z": "abb03ec2.1302c", "wires": [ [ - "5bd6e55c.82995c" + "f9777086.8d1c8" ] ] }, { - "id": "b6ffa326.94c7f", + "id": "f5cb310f.289f9", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3898.1664657592773, - "y": 2072.500052124262, - "z": "8fcccf93.60adc", + "x": 3885.083282470703, + "y": 2040.2499440610409, + "z": "abb03ec2.1302c", "wires": [ [ - "cde4c841.ce0ca8" + "80002f19.f8d1b" ] ] }, { - "id": "5bd6e55c.82995c", + "id": "f9777086.8d1c8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3869.277786254883, - "y": 2171.721807152033, - "z": "8fcccf93.60adc", + "x": 3842.1947326660156, + "y": 2104.471898406744, + "z": "abb03ec2.1302c", "wires": [ [ - "4705f3a3.28252c", - "36df8d79.470862" + "627c6ff.9b2429", + "a6956241.befc" ] ] }, { - "id": "cde4c841.ce0ca8", + "id": "80002f19.f8d1b", "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": 4162.444580078125, - "y": 2074.7223183214664, - "z": "8fcccf93.60adc", + "x": 4158.361484527588, + "y": 2037.472386687994, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4705f3a3.28252c", + "id": "627c6ff.9b2429", "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": 4152.555511474609, - "y": 2153.055596023798, - "z": "8fcccf93.60adc", + "x": 4156.472080230713, + "y": 2097.8056701123714, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "36df8d79.470862", + "id": "a6956241.befc", "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": 4137.999664306641, - "y": 2190.6110655367374, - "z": "8fcccf93.60adc", + "x": 4081.916416168213, + "y": 2155.361058562994, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "df931f5c.b31fa", + "id": "a752c610.1912b8", "type": "failure", "name": "failure", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3091.611053466797, - "y": 2281.7221223413944, - "z": "8fcccf93.60adc", + "x": 3019.5280952453613, + "y": 2560.472148269415, + "z": "abb03ec2.1302c", "wires": [ [ - "a751429c.93f71" + "fba6ef16.926e4" ] ] }, { - "id": "a751429c.93f71", + "id": "8219558b.9b7a28", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3277.2781372070312, - "y": 2270.0554410517216, - "z": "8fcccf93.60adc", + "x": 3408.1952476501465, + "y": 2652.805461257696, + "z": "abb03ec2.1302c", "wires": [ [ - "3b211688.8bccfa", - "37738501.baa66a", - "682673b1.c736fc" + "51d5cf1c.132b", + "d8ed2779.9097d8", + "e2f33aa.99865c8" ] ] }, { - "id": "3b211688.8bccfa", + "id": "51d5cf1c.132b", "type": "switchNode", "name": "find matching RRMPolicyMember", "xml": "<switch test='`$tmp.RRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n", "comments": "", "outputs": 1, - "x": 3573.5554733276367, - "y": 2313.9443184435368, - "z": "8fcccf93.60adc", + "x": 3604.4722442626953, + "y": 2734.694299697876, + "z": "abb03ec2.1302c", "wires": [ [ - "d6eaa095.5e8ad", - "a0314ea0.0a641" + "ab99bb3.e018048" ] ] }, { - "id": "d6eaa095.5e8ad", + "id": "ab99bb3.e018048", "type": "success", "name": "success", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3799.388885498047, - "y": 2278.3886262476444, - "z": "8fcccf93.60adc", + "x": 3830.3056564331055, + "y": 2699.1386075019836, + "z": "abb03ec2.1302c", "wires": [ [ - "aa1a1de1.89a11" + "90c72597.c5f1e8" ] ] }, { - "id": "aa1a1de1.89a11", + "id": "90c72597.c5f1e8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4022.999725341797, - "y": 2275.0553742945194, - "z": "8fcccf93.60adc", + "x": 4068.91658782959, + "y": 2572.805379241705, + "z": "abb03ec2.1302c", "wires": [ [ - "34d88697.e461da", - "f6f8248f.58d078", - "87c20073.faffa", - "fed3a110.72241" + "78c5168f.c4bcc8", + "58796b40.3777c4", + "211a363.d6d93ca", + "501d8052.81ad5", + "420677de.35e248", + "247e6afb.1e9ed6", + "e519dd06.decc4", + "b7f44ced.6f42e", + "23156f2f.85cfd" ] ] }, { - "id": "d54e39d9.d10e88", + "id": "af9cec6c.14a1b", "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": 4818.110374450684, - "y": 2335.055460125208, - "z": "8fcccf93.60adc", + "x": 4953.02751159668, + "y": 2568.8055866658688, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "34d88697.e461da", + "id": "78c5168f.c4bcc8", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 4245.888465881348, - "y": 2338.38892570138, - "z": "8fcccf93.60adc", + "x": 4380.805603027344, + "y": 2572.1390522420406, + "z": "abb03ec2.1302c", "wires": [ [ - "fb27ce35.66dba", - "bf3bd2e1.cabf3" + "4e9f9a8.5be7e64", + "9a4ac9cd.31e718" ] ] }, { - "id": "fb27ce35.66dba", + "id": "4e9f9a8.5be7e64", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 4489.222526550293, - "y": 2337.610949665308, - "z": "8fcccf93.60adc", + "x": 4624.139663696289, + "y": 2571.361076205969, + "z": "abb03ec2.1302c", "wires": [ [ - "d54e39d9.d10e88" + "af9cec6c.14a1b" ] ] }, { - "id": "bf3bd2e1.cabf3", + "id": "9a4ac9cd.31e718", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 4480.065940856934, - "y": 2389.1663438379765, - "z": "8fcccf93.60adc", + "x": 4614.98307800293, + "y": 2622.9164703786373, + "z": "abb03ec2.1302c", "wires": [ [ - "1ce8eea7.b5c1d1" + "7e8656a5.f70358" ] ] }, { - "id": "a84745d9.0eaf08", + "id": "1d455108.af16df", "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": 4947.277503967285, - "y": 2380.6113854944706, - "z": "8fcccf93.60adc", + "x": 5082.194641113281, + "y": 2614.3615120351315, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "e7c6d9e1.8cc3b8", + "id": "3179d56d.baa26a", "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": 4867.2772216796875, - "y": 2439.499801784754, - "z": "8fcccf93.60adc", + "x": 5002.194358825684, + "y": 2673.2499283254147, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "1ce8eea7.b5c1d1", + "id": "7e8656a5.f70358", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4646.999794006348, - "y": 2386.722177654505, - "z": "8fcccf93.60adc", + "x": 4781.916931152344, + "y": 2620.4723041951656, + "z": "abb03ec2.1302c", "wires": [ [ - "a84745d9.0eaf08", - "e7c6d9e1.8cc3b8" + "1d455108.af16df", + "3179d56d.baa26a" ] ] }, { - "id": "98a5b2c7.7f4a7", + "id": "71966e7d.61fe3", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2533.611072540283, - "y": 2397.889047294855, - "z": "8fcccf93.60adc", + "x": 2505.527847290039, + "y": 2667.639201492071, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "fa41d18.c262c3", + "id": "b10aaf7c.8415b", "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": 3555.389015197754, - "y": 2489.8889996111393, - "z": "8fcccf93.60adc", + "x": 4043.3067932128906, + "y": 2763.6393598020077, + "z": "abb03ec2.1302c", "wires": [ [ - "a7474860.e61118", - "4b1253ea.8d134c" + "ead83654.9e5628", + "ba71ec5f.4a63f" ] ] }, { - "id": "a7474860.e61118", + "id": "ead83654.9e5628", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3772.139019012451, - "y": 2444.6389996111393, - "z": "8fcccf93.60adc", + "x": 4282.056377410889, + "y": 2777.3892692029476, + "z": "abb03ec2.1302c", "wires": [ [ - "fa5ecca5.813c4" + "aaf78be2.9f86a8" ] ] }, { - "id": "fa5ecca5.813c4", + "id": "aaf78be2.9f86a8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3944.639015197754, - "y": 2468.1389013826847, - "z": "8fcccf93.60adc", + "x": 4454.556373596191, + "y": 2800.889170974493, + "z": "abb03ec2.1302c", "wires": [ [ - "868e4fb7.a93d3" + "5a6e2635.290948" ] ] }, { - "id": "868e4fb7.a93d3", + "id": "5a6e2635.290948", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 4098.13862991333, - "y": 2473.3890959322453, - "z": "8fcccf93.60adc", + "x": 4640.055995941162, + "y": 2803.1395382881165, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "7a2c0a0e.7f4294", + "id": "9191b6c2.7f34d8", "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": 4142.38862991333, - "y": 2551.388902336359, - "z": "8fcccf93.60adc", + "x": 4754.305812835693, + "y": 2844.1393551826477, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "45b3d572.de292c", + "id": "e83cd047.9e0e", "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": 4170.388236999512, - "y": 2620.3889032900333, - "z": "8fcccf93.60adc", + "x": 4802.305995941162, + "y": 2880.139660358429, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "fa4dcb8b.a9c888", + "id": "7dcf1c09.46bda4", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3979.639804840088, - "y": 2575.8889032900333, - "z": "8fcccf93.60adc", + "x": 4522.557025909424, + "y": 2861.6393551826477, + "z": "abb03ec2.1302c", "wires": [ [ - "45b3d572.de292c", - "7a2c0a0e.7f4294", - "19993899.7cd467" + "e83cd047.9e0e", + "9191b6c2.7f34d8", + "316b9170.fe028e" ] ] }, { - "id": "4b1253ea.8d134c", + "id": "ba71ec5f.4a63f", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3808.389019012451, - "y": 2570.8889032900333, - "z": "8fcccf93.60adc", + "x": 4351.306240081787, + "y": 2856.6393551826477, + "z": "abb03ec2.1302c", "wires": [ [ - "fa4dcb8b.a9c888" + "7dcf1c09.46bda4" ] ] }, { - "id": "f6f8248f.58d078", + "id": "58796b40.3777c4", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 4241.326431274414, - "y": 2290.7152172625065, - "z": "8fcccf93.60adc", + "x": 4376.243618011475, + "y": 2507.465318828821, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "a55bb031.bdd78", + "id": "2f995c2.dfcdca4", "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": 2305.888946533203, - "y": 1384.902857452631, - "z": "8fcccf93.60adc", + "x": 2361.805618286133, + "y": 1540.6527767181396, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "c0d5e727.2bded8", + "id": "9bd95583.173318", "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": 3053.076461791992, - "y": 2314.965315490961, - "z": "8fcccf93.60adc", + "x": 3583.993064880371, + "y": 2124.715373367071, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "92e62da.36e00d", + "id": "c0457eb3.0b9f", "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": 3030.576461791992, - "y": 2354.215218216181, - "z": "8fcccf93.60adc", + "x": 3561.493064880371, + "y": 2163.965276092291, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "ca507007.8cd19", + "id": "274e2efa.7d0232", "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": 3051.014549255371, - "y": 2388.777719169855, - "z": "8fcccf93.60adc", + "x": 3581.93115234375, + "y": 2198.527777045965, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "2c13f84.7bd8608", + "id": "36ce4da4.540e72", "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.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": 3066.513961791992, - "y": 2420.5278173983097, - "z": "8fcccf93.60adc", + "x": 3597.430564880371, + "y": 2230.27787527442, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "bce0e2e9.26b16", + "id": "dcc2c19a.a8915", "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": 2308.763946533203, - "y": 1149.5903536379337, - "z": "8fcccf93.60adc", + "x": 2364.680618286133, + "y": 1305.3402729034424, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "cc0b4ee4.898e1", + "id": "4b37a743.2b84e8", "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": 1582.88916015625, - "y": 2674.7226502001286, - "z": "8fcccf93.60adc", + "x": 1638.8058319091797, + "y": 2830.472569465637, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "3e212a9e.575c76", + "id": "4d1961b6.8b7fa", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1436.8890838623047, - "y": 2724.722748428583, - "z": "8fcccf93.60adc", + "x": 1492.8057556152344, + "y": 2880.472667694092, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "b17e9286.f7a13", + "id": "f24407e8.e34028", "type": "switchNode", "name": "is NSSAI exists", "xml": "<switch test='`$tmp.configDBSNSSAI1 == $tmp.sNSSAI`'>\n", "comments": "", "outputs": 1, - "x": 1443.7782440185547, - "y": 2768.2776323854923, - "z": "8fcccf93.60adc", + "x": 1499.6949157714844, + "y": 2924.027551651001, + "z": "abb03ec2.1302c", "wires": [ [ - "e1f87add.6d1208", - "dc059808.ab8fb8" + "8958c46c.82a278", + "d7aa1191.f04e6" ] ] }, { - "id": "e1f87add.6d1208", + "id": "8958c46c.82a278", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1617.0000228881836, - "y": 2722.500483185053, - "z": "8fcccf93.60adc", + "x": 1672.9166946411133, + "y": 2878.2504024505615, + "z": "abb03ec2.1302c", "wires": [ [ - "7d077a67.7f7794" + "be058f27.be2f2" ] ] }, { - "id": "a2334de5.c8e83", + "id": "eb669321.09738", "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": 1978.9999771118164, - "y": 2873.500339180231, - "z": "8fcccf93.60adc", + "x": 2034.916648864746, + "y": 3029.2502584457397, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "35b4a82.1d5d958", + "id": "1389bee4.5c2751", "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": 1984.5001678466797, - "y": 2909.000534683466, - "z": "8fcccf93.60adc", + "x": 2040.4168395996094, + "y": 3064.7504539489746, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "2f3a1b1d.755f74", + "id": "15b63fdb.9d269", "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": 1973.1391372680664, - "y": 2944.1528793871403, - "z": "8fcccf93.60adc", + "x": 2029.055809020996, + "y": 3099.902798652649, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "cff9bdc7.61fb", + "id": "f41ebbe4.4e54c8", "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": 1985.7501678466797, - "y": 2982.5003401339054, - "z": "8fcccf93.60adc", + "x": 2041.6668395996094, + "y": 3138.250259399414, + "z": "abb03ec2.1302c", "wires": [ [ - "3ffe72e9.3ebb6e", - "f81fb1b4.d01d8" + "6ee50315.521c5c", + "44bc89bb.298148" ] ] }, { - "id": "1e9d75fd.9ea96a", + "id": "132f41e5.fc3b1e", "type": "for", "name": "for each rrmpolicyMember", "xml": "<for index='idcu-rrm2' start='0' end='`$tmp.CUUPRRMPolicyMembersLength`' >\n", "comments": "", "outputs": 1, - "x": 2100.9722442626953, - "y": 3661.277790695429, - "z": "8fcccf93.60adc", + "x": 2855.889476776123, + "y": 3705.0279801785946, + "z": "abb03ec2.1302c", "wires": [ [ - "8c9574bc.5712e8" + "48b96388.b500ac" ] ] }, { - "id": "8c9574bc.5712e8", + "id": "e5584a04.ee2ee8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2326.638900756836, - "y": 3551.3890692293644, - "z": "8fcccf93.60adc", + "x": 2127.5557022094727, + "y": 3817.1391261518, + "z": "abb03ec2.1302c", "wires": [ [ - "423b49a1.23c838", - "e7552005.58f49", - "4dbb41cc.0e207", - "2ef87f08.fd9ec", - "44fa660a.e563e8", - "e0724946.901d28", - "cc43b3.50676c5" + "147b37c5.041308" ] ] }, { - "id": "423b49a1.23c838", + "id": "147b37c5.041308", "type": "switchNode", "name": "if length == 1", "xml": "<switch test='`$tmp.CUUPRRMPolicyMembersLength == 1`'>\n \n", "comments": "", "outputs": 1, - "x": 2464.805892944336, - "y": 3452.5278913080692, - "z": "8fcccf93.60adc", + "x": 2520.7225646972656, + "y": 3608.277810573578, + "z": "abb03ec2.1302c", "wires": [ [ - "4a13195.1a365e8", - "6b7f2d4e.b90b44" + "f2f93207.c1757", + "7dbc550f.35103c" ] ] }, { - "id": "4a13195.1a365e8", + "id": "f2f93207.c1757", "type": "success", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2613.472499847412, - "y": 3407.0829679071903, - "z": "8fcccf93.60adc", + "x": 2669.389171600342, + "y": 3562.832887172699, + "z": "abb03ec2.1302c", "wires": [ [ - "e841095d.ce6338" + "66b70f01.043c6" ] ] }, { - "id": "e841095d.ce6338", + "id": "66b70f01.043c6", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2773.1388511657715, - "y": 3464.083551555872, - "z": "8fcccf93.60adc", + "x": 2829.055522918701, + "y": 3619.8334708213806, + "z": "abb03ec2.1302c", "wires": [ [ - "bde336a2.490d08", - "64d78596.27eadc", - "44a9d8d9.c568f8" + "a724d667.2e1dd8", + "30a6d897.7162c8", + "b100653c.1013b8", + "e4d2ad9d.a7fd7", + "76194848.213b18", + "1fe6ef1b.3aa081", + "31d48eb1.246592", + "a20a96ee.7c1d28", + "98178b1b.25eaa8", + "1efc544a.a3accc" ] ] }, { - "id": "bde336a2.490d08", + "id": "a724d667.2e1dd8", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2839.9169387817383, - "y": 3281.9728008806705, - "z": "8fcccf93.60adc", + "x": 3086.8337936401367, + "y": 3399.722780227661, + "z": "abb03ec2.1302c", "wires": [ [ - "850959a1.d18fe8", - "ac9ef929.3c75f8" + "c10c5a01.7ebaa8", + "75022626.e03098" ] ] }, { - "id": "850959a1.d18fe8", + "id": "c10c5a01.7ebaa8", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2864.250473022461, - "y": 3358.8609658777714, - "z": "8fcccf93.60adc", + "x": 3207.1673126220703, + "y": 3330.61110624671, + "z": "abb03ec2.1302c", "wires": [ [ - "c853f7c3.c03358" + "1ec0d756.7f21f9" ] ] }, { - "id": "ac9ef929.3c75f8", + "id": "75022626.e03098", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2855.093982696533, - "y": 3399.305249363184, - "z": "8fcccf93.60adc", + "x": 3248.0113067626953, + "y": 3406.0550162494183, + "z": "abb03ec2.1302c", "wires": [ [ - "50e22469.0d4f7c" + "f1c05334.136ef" ] ] }, { - "id": "c853f7c3.c03358", + "id": "1ec0d756.7f21f9", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3045.6388931274414, - "y": 3360.194565922022, - "z": "8fcccf93.60adc", + "x": 3365.5559844970703, + "y": 3368.9447253644466, + "z": "abb03ec2.1302c", "wires": [ [ - "eaebd59b.eecca8", - "7722f9df.afa978" + "66faebf4.fb5894", + "e4736817.02c428" ] ] }, { - "id": "50e22469.0d4f7c", + "id": "f1c05334.136ef", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3036.749969482422, - "y": 3402.416604191065, - "z": "8fcccf93.60adc", + "x": 3393.6671295166016, + "y": 3407.1665881574154, + "z": "abb03ec2.1302c", "wires": [ [ - "b26cfd2b.a5f9c", - "7e01f377.21281c" + "c1ee034.4f85", + "f6fbae3d.35a8a" ] ] }, { - "id": "7722f9df.afa978", + "id": "e4736817.02c428", "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": 3368.916458129883, - "y": 3247.417288452387, - "z": "8fcccf93.60adc", + "x": 3615.8333129882812, + "y": 3365.1672677993774, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "b26cfd2b.a5f9c", + "id": "c1ee034.4f85", "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": 3337.0277786254883, - "y": 3411.750492721796, - "z": "8fcccf93.60adc", + "x": 3747.9452056884766, + "y": 3405.5003894269466, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "7e01f377.21281c", + "id": "f6fbae3d.35a8a", "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": 3266.472312927246, - "y": 3444.30557218194, - "z": "8fcccf93.60adc", + "x": 3612.3897857666016, + "y": 3446.055626243353, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "6b7f2d4e.b90b44", + "id": "7dbc550f.35103c", "type": "failure", "name": "False", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2613.0836296081543, - "y": 3497.416954189539, - "z": "8fcccf93.60adc", + "x": 2487.000379562378, + "y": 3703.1668351590633, + "z": "abb03ec2.1302c", "wires": [ [ - "37100645.a695aa" + "399dde95.b28cc2" ] ] }, { - "id": "37100645.a695aa", + "id": "48b96388.b500ac", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2795.750518798828, - "y": 3505.75004401803, - "z": "8fcccf93.60adc", + "x": 3003.6674423217773, + "y": 3774.5000279843807, + "z": "abb03ec2.1302c", "wires": [ [ - "4609de35.87ac2", - "c4261894.6ff918", - "8c7191c1.d720d" + "9cfdbd54.5424d", + "75276ea.a9bcd9", + "17c40d72.c75e13", + "32747706.7f8298", + "e0e796cb.304928", + "6f81c77a.b51e18" ] ] }, { - "id": "4609de35.87ac2", + "id": "9cfdbd54.5424d", "type": "switchNode", "name": "find matching RRMPolicyMember", "xml": "<switch test='`$tmp.CUUPRRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n", "comments": "", "outputs": 1, - "x": 3087.0277786254883, - "y": 3546.6392194330692, - "z": "8fcccf93.60adc", + "x": 3273.944839477539, + "y": 3891.3905754089355, + "z": "abb03ec2.1302c", "wires": [ [ - "a676a9af.381bd8", - "7249cf75.b17a5" + "ea2c3905.767b78", + "9933b9ed.510478" ] ] }, { - "id": "a676a9af.381bd8", - "type": "success", - "name": "success", - "xml": "<outcome value='true'>\n", - "comments": "", - "outputs": 1, - "x": 3317.8612670898438, - "y": 3514.083229213953, - "z": "8fcccf93.60adc", - "wires": [ - [ - "1eda23fe.2b6ebc" - ] - ] - }, - { - "id": "1eda23fe.2b6ebc", + "id": "65967b64.4008e4", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3541.4721069335938, - "y": 3510.749977260828, - "z": "8fcccf93.60adc", + "x": 3726.3893508911133, + "y": 3858.5000301599503, + "z": "abb03ec2.1302c", "wires": [ [ - "ebc58d46.3e24a", - "560b7fdd.f9483", - "85fee7e.7765818" + "a643d446.8eff28", + "e0cf4c33.691e", + "9f704da1.edff7", + "f6e8387.20bc2c8", + "85adfe2b.e142", + "3e33baab.790b86", + "75fa21f8.1ea17", + "3e6c4145.b29f5e", + "10f698b7.b0c4e7", + "f6a68741.1a0468" ] ] }, { - "id": "560b7fdd.f9483", + "id": "e0cf4c33.691e", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3758.7987670898438, - "y": 3526.409889370203, - "z": "8fcccf93.60adc", + "x": 3952.7157287597656, + "y": 3806.159865230322, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "ebc58d46.3e24a", + "id": "a643d446.8eff28", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3764.3608474731445, - "y": 3574.0835286676884, - "z": "8fcccf93.60adc", + "x": 3958.2778091430664, + "y": 3853.8335045278072, + "z": "abb03ec2.1302c", "wires": [ [ - "f0f9d09a.7dffe", - "447bc3f.f390c3c" + "4f771014.a7df", + "4b54af45.74ea8" ] ] }, { - "id": "f0f9d09a.7dffe", + "id": "4f771014.a7df", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 4007.69490814209, - "y": 3573.3055526316166, - "z": "8fcccf93.60adc", + "x": 4132.611846923828, + "y": 3819.055327743292, + "z": "abb03ec2.1302c", "wires": [ [ - "54620f42.63d16" + "950c4922.cadc98" ] ] }, { - "id": "447bc3f.f390c3c", + "id": "4b54af45.74ea8", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3998.5383224487305, - "y": 3624.860946804285, - "z": "8fcccf93.60adc", + "x": 4123.455261230469, + "y": 3870.6107219159603, + "z": "abb03ec2.1302c", "wires": [ [ - "f6e7714d.8eecf" + "ffcd7043.2c24e" ] ] }, { - "id": "54620f42.63d16", + "id": "950c4922.cadc98", "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": 4336.5827560424805, - "y": 3570.7500630915165, - "z": "8fcccf93.60adc", + "x": 4461.499694824219, + "y": 3816.4998382031918, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "f6e7714d.8eecf", + "id": "ffcd7043.2c24e", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4165.4721755981445, - "y": 3622.4167806208134, - "z": "8fcccf93.60adc", + "x": 4290.389114379883, + "y": 3868.1665557324886, + "z": "abb03ec2.1302c", "wires": [ [ - "aab6ae10.bc4c1", - "4f43d826.d50f18" + "1cb060ed.c6293f", + "5306bd61.a4b224" ] ] }, { - "id": "aab6ae10.bc4c1", + "id": "1cb060ed.c6293f", "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`\"/>", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.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": 4465.749885559082, - "y": 3616.305988460779, - "z": "8fcccf93.60adc", + "x": 4590.66682434082, + "y": 3862.0557635724545, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4f43d826.d50f18", + "id": "5306bd61.a4b224", "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": 4385.749603271484, - "y": 3675.1944047510624, - "z": "8fcccf93.60adc", + "x": 4510.666542053223, + "y": 3920.9441798627377, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "e7552005.58f49", + "id": "9f704da1.edff7", "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": 2559.2501373291016, - "y": 3569.7503491938114, - "z": "8fcccf93.60adc", + "x": 4018.1670150756836, + "y": 3903.501334667206, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4dbb41cc.0e207", + "id": "f6e8387.20bc2c8", "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": 2548.1880264282227, - "y": 3602.5628496706486, - "z": "8fcccf93.60adc", + "x": 4007.1049041748047, + "y": 3936.313835144043, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "2ef87f08.fd9ec", + "id": "85adfe2b.e142", "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": 2558.6876373291016, - "y": 3639.312850624323, - "z": "8fcccf93.60adc", + "x": 3998.60457611084, + "y": 3969.0638360977173, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "32c5fca3.db2194", + "id": "750911c.20034f", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2046.7843551635742, - "y": 3705.6742769777775, - "z": "8fcccf93.60adc", + "x": 2102.701026916504, + "y": 3861.424196243286, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "147c2411.6ed72c", + "id": "60a84bce.f8fd94", "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": 2175.187728881836, - "y": 4274.375458389521, - "z": "8fcccf93.60adc", + "x": 2357.1046447753906, + "y": 4256.125694274902, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "edc9af96.f2ff4", + "id": "80e043e8.ad667", "type": "for", "name": "foreach PLMNInfo", "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n", "comments": "", "outputs": 1, - "x": 2218.5213165283203, - "y": 4391.375460296869, - "z": "8fcccf93.60adc", + "x": 2304.4380264282227, + "y": 4418.125464767218, + "z": "abb03ec2.1302c", "wires": [ [ - "ad64052b.b86818" + "cb0259e3.e98338" ] ] }, { - "id": "e73f4024.64a65", + "id": "55f0496c.1a7248", "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": 2840.04891204834, - "y": 4389.625458389521, - "z": "8fcccf93.60adc", + "x": 2617.965576171875, + "y": 4717.375528663397, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "1f449eec.3edfe1", + "id": "851ffca0.9a197", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2759.7987670898438, - "y": 4431.6250692904, - "z": "8fcccf93.60adc", + "x": 2537.715431213379, + "y": 4759.375139564276, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "884a6ce0.db51b", + "id": "9747288f.baa2f8", "type": "switchNode", "name": "is NSSAI exists", "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n", "comments": "", "outputs": 1, - "x": 2757.9376335144043, - "y": 4487.930538803339, - "z": "8fcccf93.60adc", + "x": 2535.8542976379395, + "y": 4815.680609077215, + "z": "abb03ec2.1302c", "wires": [ [ - "69cac3fe.1f29dc" + "1a91828.e1e0e7e" ] ] }, { - "id": "69cac3fe.1f29dc", + "id": "1a91828.e1e0e7e", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2911.409900665283, - "y": 4491.402804046869, - "z": "8fcccf93.60adc", + "x": 2689.3265647888184, + "y": 4819.1528743207455, + "z": "abb03ec2.1302c", "wires": [ [ - "8e5a22ff.6ab18" + "3a275951.871c26" ] ] }, { - "id": "e0228203.6499", + "id": "e195f32.e03071", "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": 3086.9375, - "y": 4959.062507778406, - "z": "8fcccf93.60adc", + "x": 3142.8541717529297, + "y": 5114.812427043915, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "a3d57e54.d7214", + "id": "d889f9ae.9ae8c8", "type": "for", "name": "for each rrmpolicyMember", "xml": "<for index='iddu-rrm2' start='0' end='`$tmp.DURRMPolicyMembersLength`' >\n", "comments": "", "outputs": 1, - "x": 3671.222366333008, - "y": 5744.965219169855, - "z": "8fcccf93.60adc", + "x": 4558.138648986816, + "y": 5935.716075271368, + "z": "abb03ec2.1302c", "wires": [ [ - "b11fb5e6.1fb108" + "3bb9c20c.0a09ce" ] ] }, { - "id": "b11fb5e6.1fb108", + "id": "41441730.687178", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3895.8890228271484, - "y": 5724.076845794916, - "z": "8fcccf93.60adc", + "x": 3707.805694580078, + "y": 5915.827077239752, + "z": "abb03ec2.1302c", "wires": [ [ - "a2e39960.afd398", - "b65ef95c.bf4c38", - "7af617a4.90e6c8", - "4a639d0e.4bc7d4", - "46ede6ed.a9fa48", - "8970baaf.687768", - "7209a5b6.303a7c" + "ed111ee9.cc681" ] ] }, { - "id": "a2e39960.afd398", + "id": "ed111ee9.cc681", "type": "switchNode", "name": "if length == 1", "xml": "<switch test='`$tmp.DURRMPolicyMembersLength == 1`'>\n", "comments": "", "outputs": 1, - "x": 4052.806137084961, - "y": 5638.71537604928, - "z": "8fcccf93.60adc", + "x": 4000.72269821167, + "y": 5909.465745657682, + "z": "abb03ec2.1302c", "wires": [ [ - "b5fdb14c.4d2a8", - "7697b81e.d74888" + "7e16afa5.09ca3", + "659e73cc.f88efc" ] ] }, { - "id": "b5fdb14c.4d2a8", + "id": "7e16afa5.09ca3", "type": "success", "name": "success", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 4195.722393035889, - "y": 5596.7705918848515, - "z": "8fcccf93.60adc", + "x": 4251.639064788818, + "y": 5752.52051115036, + "z": "abb03ec2.1302c", "wires": [ [ - "c0ddb9af.c65688" + "5fc8d59a.3e91bc" ] ] }, { - "id": "c0ddb9af.c65688", + "id": "5fc8d59a.3e91bc", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4362.3888511657715, - "y": 5596.771051555872, - "z": "8fcccf93.60adc", + "x": 4418.305522918701, + "y": 5752.520970821381, + "z": "abb03ec2.1302c", "wires": [ [ - "a40e9ba2.b94528", - "eda6612.f569aa" + "3ca79c3b.b74654", + "9d266b67.dc2548", + "b6c80045.71d43", + "324ec667.ff099a", + "799e65fa.b824bc", + "97d95db8.7bde4", + "26a1f6e0.1a508a" ] ] }, { - "id": "a40e9ba2.b94528", + "id": "3ca79c3b.b74654", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 4612.166275024414, - "y": 5476.659845978022, - "z": "8fcccf93.60adc", + "x": 4668.082946777344, + "y": 5632.40976524353, + "z": "abb03ec2.1302c", "wires": [ [ - "b24563ad.7aa26", - "6c7d44f5.00f29c" + "9cdd6d6.3b8fb9", + "713de489.3e2bbc" ] ] }, { - "id": "b24563ad.7aa26", + "id": "9cdd6d6.3b8fb9", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 4866.500259399414, - "y": 5435.548516899347, - "z": "8fcccf93.60adc", + "x": 4922.416931152344, + "y": 5591.298436164856, + "z": "abb03ec2.1302c", "wires": [ [ - "7819b34c.cbdc6c" + "179e26df.c4b399" ] ] }, { - "id": "6c7d44f5.00f29c", + "id": "713de489.3e2bbc", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 4856.343620300293, - "y": 5513.992657333612, - "z": "8fcccf93.60adc", + "x": 4912.260292053223, + "y": 5669.742576599121, + "z": "abb03ec2.1302c", "wires": [ [ - "6e308fe1.862fa" + "98540198.e6af6" ] ] }, { - "id": "7819b34c.cbdc6c", + "id": "179e26df.c4b399", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 5172.888938903809, - "y": 5426.882110267878, - "z": "8fcccf93.60adc", + "x": 5228.805610656738, + "y": 5582.632029533386, + "z": "abb03ec2.1302c", "wires": [ [ - "106aa209.0c548e" + "dc606975.aad078" ] ] }, { - "id": "106aa209.0c548e", + "id": "dc606975.aad078", "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": 5449.16667175293, - "y": 5433.104766517878, - "z": "8fcccf93.60adc", + "x": 5505.083343505859, + "y": 5588.854685783386, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "89cb0bc3.e69268", + "id": "4f8e8f09.91bc4", "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": 5446.278015136719, - "y": 5508.437579780817, - "z": "8fcccf93.60adc", + "x": 5502.194686889648, + "y": 5664.187499046326, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "1781fb1d.28ba45", + "id": "1be52510.fb2feb", "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": 5402.7225341796875, - "y": 5541.993050247431, - "z": "8fcccf93.60adc", + "x": 5458.639205932617, + "y": 5697.742969512939, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "6e308fe1.862fa", + "id": "98540198.e6af6", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 5087.000263214111, - "y": 5510.103986412287, - "z": "8fcccf93.60adc", + "x": 5142.916934967041, + "y": 5665.853905677795, + "z": "abb03ec2.1302c", "wires": [ [ - "89cb0bc3.e69268", - "1781fb1d.28ba45" + "4f8e8f09.91bc4", + "1be52510.fb2feb" ] ] }, { - "id": "7697b81e.d74888", + "id": "659e73cc.f88efc", "type": "failure", "name": "failure", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 4199.4375, - "y": 5668.437507778406, - "z": "8fcccf93.60adc", + "x": 4168.354782104492, + "y": 5938.854094833136, + "z": "abb03ec2.1302c", "wires": [ [ - "4e60e0ae.41555" + "19a3bfc9.b9c3" ] ] }, { - "id": "4e60e0ae.41555", + "id": "19a3bfc9.b9c3", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4385.104583740234, - "y": 5656.770826488733, - "z": "8fcccf93.60adc", + "x": 4329.022104263306, + "y": 5941.187426894903, + "z": "abb03ec2.1302c", "wires": [ [ - "bebc050c.d7c798", - "24d6a02.3128a6", - "b99d40ae.ec37f" + "d889f9ae.9ae8c8" ] ] }, { - "id": "bebc050c.d7c798", + "id": "e02ae738.4dff58", "type": "switchNode", "name": "find matching RRMPolicyMember", "xml": "<switch test='`$tmp.cellDURRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n", "comments": "", "outputs": 1, - "x": 4676.381988525391, - "y": 5660.659633785486, - "z": "8fcccf93.60adc", + "x": 4800.298828125, + "y": 6085.076416820288, + "z": "abb03ec2.1302c", "wires": [ [ - "2a417fb6.11832", - "e7e3aa0b.dd1b58" + "22d7ddb7.9b1b92" ] ] }, { - "id": "2a417fb6.11832", + "id": "22d7ddb7.9b1b92", "type": "success", "name": "success", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 4907.21533203125, - "y": 5665.104011684656, - "z": "8fcccf93.60adc", + "x": 5059.132148742676, + "y": 6050.5210927426815, + "z": "abb03ec2.1302c", "wires": [ [ - "7c850fd1.73f92" + "bbdc72f2.8675a" ] ] }, { - "id": "7c850fd1.73f92", + "id": "bbdc72f2.8675a", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 5130.826171875, - "y": 5661.770759731531, - "z": "8fcccf93.60adc", + "x": 5252.742835998535, + "y": 6059.18775972724, + "z": "abb03ec2.1302c", "wires": [ [ - "d0161e6f.6bf16", - "9b0d619b.f767a", - "8dabe4b6.ce35f8" + "62f26b6.fd48f94", + "e6f2c700.0b5758", + "6f0907c6.445ca8", + "10ce3de5.b76cd2" ] ] }, { - "id": "9b0d619b.f767a", + "id": "e6f2c700.0b5758", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 5348.15283203125, - "y": 5677.430671840906, - "z": "8fcccf93.60adc", + "x": 5449.069496154785, + "y": 6069.847601741552, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "d0161e6f.6bf16", + "id": "62f26b6.fd48f94", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 5353.714912414551, - "y": 5725.1043111383915, - "z": "8fcccf93.60adc", + "x": 5454.631576538086, + "y": 6117.521241039038, + "z": "abb03ec2.1302c", "wires": [ [ - "8952f385.0a00a", - "a028eff3.38344" + "cc1d2459.b54bc8", + "ee9efa49.6a9c18" ] ] }, { - "id": "8952f385.0a00a", + "id": "cc1d2459.b54bc8", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 5597.048973083496, - "y": 5724.32633510232, - "z": "8fcccf93.60adc", + "x": 5712.965667724609, + "y": 5972.743586868048, + "z": "abb03ec2.1302c", "wires": [ [ - "6736ea9d.328e04" + "99bf6376.df98d" ] ] }, { - "id": "a028eff3.38344", + "id": "ee9efa49.6a9c18", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 5587.892387390137, - "y": 5775.881729274988, - "z": "8fcccf93.60adc", + "x": 5703.80908203125, + "y": 6024.298981040716, + "z": "abb03ec2.1302c", "wires": [ [ - "762c4962.ee32e8" + "ff51dd10.e1ad5" ] ] }, { - "id": "6736ea9d.328e04", + "id": "99bf6376.df98d", "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": 5925.936820983887, - "y": 5721.77084556222, - "z": "8fcccf93.60adc", + "x": 6041.853515625, + "y": 5970.188097327948, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "762c4962.ee32e8", + "id": "ff51dd10.e1ad5", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 5754.826240539551, - "y": 5773.4375630915165, - "z": "8fcccf93.60adc", + "x": 5870.742935180664, + "y": 6021.8548148572445, + "z": "abb03ec2.1302c", "wires": [ [ - "6c97430.a0f50bc", - "1ead54dd.71f66b" + "23426e8c.3684d2", + "b71e6ad6.645028" ] ] }, { - "id": "6c97430.a0f50bc", + "id": "23426e8c.3684d2", "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": 6055.103950500488, - "y": 5767.326770931482, - "z": "8fcccf93.60adc", + "x": 6171.020645141602, + "y": 6015.74402269721, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "1ead54dd.71f66b", + "id": "b71e6ad6.645028", "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": 5975.103668212891, - "y": 5826.2151872217655, - "z": "8fcccf93.60adc", + "x": 6091.020397186279, + "y": 6048.632584422827, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "b65ef95c.bf4c38", + "id": "b6c80045.71d43", "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": 4228.500144958496, - "y": 5710.938274055719, - "z": "8fcccf93.60adc", + "x": 4728.416793823242, + "y": 5697.688729614019, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "7af617a4.90e6c8", + "id": "324ec667.ff099a", "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": 4201.00008392334, - "y": 5744.188244491816, - "z": "8fcccf93.60adc", + "x": 4700.916732788086, + "y": 5730.938700050116, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4a639d0e.4bc7d4", + "id": "799e65fa.b824bc", "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": 4224.438026428223, - "y": 5778.750775963068, - "z": "8fcccf93.60adc", + "x": 4724.354675292969, + "y": 5765.501231521368, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "46ede6ed.a9fa48", + "id": "97d95db8.7bde4", "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_id`\"/>\n", "comments": "", "outputs": 1, - "x": 4231.93758392334, - "y": 5814.50074544549, - "z": "8fcccf93.60adc", + "x": 4731.854232788086, + "y": 5801.25120100379, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "94ca4d30.f396b", + "id": "3be88fac.23994", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3594.785189628601, - "y": 5807.36283698678, - "z": "8fcccf93.60adc", + "x": 3650.7018613815308, + "y": 5963.112756252289, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "6c3cf57c.ca322c", - "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": 4497.062469482422, - "y": 5910.613464027643, - "z": "8fcccf93.60adc", - "wires": [ - [ - "e76d87d3.65ed68", - "db68cec3.01d33" - ] - ] - }, - { - "id": "abc396a6.bee178", + "id": "64b14f91.9ce5d", "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": 236.8333339691162, - "y": 1744.5833722651005, - "z": "8fcccf93.60adc", + "x": 292.7500057220459, + "y": 1900.3332915306091, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "c198d40d.0e0f28", + "id": "2c97aee8.6feb22", "type": "for", "name": "foreach PLMNInfo", "xml": "<for index='id-ric' start='0' end='`$tmp.RICPLMNEntries`' >\n", "comments": "", "outputs": 1, - "x": 1003.7500991821289, - "y": 819.5000511705875, - "z": "8fcccf93.60adc", + "x": 1059.6667709350586, + "y": 975.2499704360962, + "z": "abb03ec2.1302c", "wires": [ [ - "5a9a8662.294918" + "b44d61f9.22fbc" ] ] }, { - "id": "5a9a8662.294918", + "id": "b44d61f9.22fbc", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1185.0000686645508, - "y": 801.5000025331974, - "z": "8fcccf93.60adc", + "x": 1240.9167404174805, + "y": 957.249921798706, + "z": "abb03ec2.1302c", "wires": [ [ - "1f14ddc1.dad3a2", - "6c115e3.7476aa" + "33d815bc.825c7a", + "19e9cb7b.d96df5" ] ] }, { - "id": "b646145a.d1d128", + "id": "34f6dd59.23c522", "type": "switchNode", "name": "is NSSAI exists", "xml": "<switch test='`$tmp.ric.sNSSAI == $tmp.sNSSAI`'>\n", "comments": "", "outputs": 1, - "x": 1383.0000915527344, - "y": 832.7500845491886, - "z": "8fcccf93.60adc", + "x": 1438.916763305664, + "y": 988.5000038146973, + "z": "abb03ec2.1302c", "wires": [ [ - "194d9ca6.5478c3", - "1d92a12d.84908f" + "eadc21b1.4cb93", + "bc74b6f6.5e1838" ] ] }, { - "id": "b342c2bf.890ac", + "id": "6c3961d9.9900f", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1607.2502670288086, - "y": 743.5000816881657, - "z": "8fcccf93.60adc", + "x": 1663.1669387817383, + "y": 899.2500009536743, + "z": "abb03ec2.1302c", "wires": [ [ - "928e69f1.e0cd48", - "3e4d078b.89aea8", - "8504a7d1.e8c0e8", - "4353beba.af64", - "86dd5c7c.ee408", - "f5473661.9e2548" + "2da5b2bd.cfae4e", + "af2cc14.a2fcb4", + "3774541d.6c858c", + "f3e2059a.a05248", + "9941102e.8ca6c", + "87605bdb.ff95d8" ] ] }, { - "id": "d97533b9.0a5ab", + "id": "1fe2408f.3bbe9f", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1015.0000534057617, - "y": 773.2500273287296, - "z": "8fcccf93.60adc", + "x": 1070.9167251586914, + "y": 928.9999465942383, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "928e69f1.e0cd48", + "id": "2da5b2bd.cfae4e", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1745.204689025879, - "y": 940.2728888094425, - "z": "8fcccf93.60adc", + "x": 1801.1213607788086, + "y": 1096.0228080749512, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "194d9ca6.5478c3", + "id": "eadc21b1.4cb93", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1533.7500762939453, - "y": 788.7500559389591, - "z": "8fcccf93.60adc", + "x": 1589.666748046875, + "y": 944.4999752044678, + "z": "abb03ec2.1302c", "wires": [ [ - "b342c2bf.890ac" + "6c3961d9.9900f" ] ] }, { - "id": "1d92a12d.84908f", + "id": "bc74b6f6.5e1838", "type": "failure", "name": "false", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 1536.4999923706055, - "y": 850.249986320734, - "z": "8fcccf93.60adc", + "x": 1592.4166641235352, + "y": 1005.9999055862427, + "z": "abb03ec2.1302c", "wires": [ [ - "9573a123.c3c9e" + "c172292f.f3b7f8" ] ] }, { - "id": "9573a123.c3c9e", + "id": "c172292f.f3b7f8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1522.4999961853027, - "y": 911.2500359117985, - "z": "8fcccf93.60adc", + "x": 1578.4166679382324, + "y": 1066.9999551773071, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "59c069a2.e89b88", + "id": "b9fd2d8a.3d1c9", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2520.149990081787, - "y": 569.4500004351139, - "z": "8fcccf93.60adc", + "x": 2576.066661834717, + "y": 725.1999197006226, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "7b5fe370.5d3b5c", + "id": "cba4f766.8bfa58", "type": "switchNode", "name": "check the action", "xml": "<switch test='`$tmp.pLMNInfoList_length > 0`'>\n", "comments": "", "outputs": 1, - "x": 2123.3499298095703, - "y": 829.0501085817814, - "z": "8fcccf93.60adc", + "x": 2179.2666015625, + "y": 984.80002784729, + "z": "abb03ec2.1302c", "wires": [ [ - "66ad2088.fec9", - "2208de80.d21e12" + "6eb9c23a.5189cc", + "24a034f.ac7efcc" ] ] }, { - "id": "66ad2088.fec9", + "id": "6eb9c23a.5189cc", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2211.3498573303223, - "y": 717.050028949976, - "z": "8fcccf93.60adc", + "x": 2267.266529083252, + "y": 872.7999482154846, + "z": "abb03ec2.1302c", "wires": [ [ - "d4e16515.e1bec8" + "973de859.cdd0b8" ] ] }, { - "id": "2208de80.d21e12", + "id": "24a034f.ac7efcc", "type": "outcome", "name": "False", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2230.349884033203, - "y": 768.0500513613224, - "z": "8fcccf93.60adc", + "x": 2286.266555786133, + "y": 923.799970626831, + "z": "abb03ec2.1302c", "wires": [ [ - "c3bdf4a.c419008" + "522e18fa.5b7e88" ] ] }, { - "id": "7c32c471.b1feec", + "id": "b9c531aa.b3c81", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2405.150375366211, - "y": 846.8501302301884, - "z": "8fcccf93.60adc", + "x": 2461.0670471191406, + "y": 1002.600049495697, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "d4e16515.e1bec8", + "id": "973de859.cdd0b8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2381.349937438965, - "y": 709.2500783503056, - "z": "8fcccf93.60adc", + "x": 2437.2666091918945, + "y": 864.9999976158142, + "z": "abb03ec2.1302c", "wires": [ [ - "59c069a2.e89b88", - "a75a4b61.fc60e8" + "b9fd2d8a.3d1c9", + "65f3f3ea.9ffbcc" ] ] }, { - "id": "c3bdf4a.c419008", + "id": "522e18fa.5b7e88", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2366.350051879883, - "y": 757.2500535547733, - "z": "8fcccf93.60adc", + "x": 2422.2667236328125, + "y": 912.999972820282, + "z": "abb03ec2.1302c", "wires": [ [ - "7c32c471.b1feec" + "b9c531aa.b3c81" ] ] }, { - "id": "415d5b33.cdbca4", + "id": "66bdcf47.f5fd2", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2076.349868774414, - "y": 679.7501203119755, - "z": "8fcccf93.60adc", + "x": 2132.2665405273438, + "y": 835.5000395774841, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "11d758ba.521d67", + "id": "7445c482.37cd0c", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1149.5500411987305, - "y": 2277.1499830782413, - "z": "8fcccf93.60adc", + "x": 1205.4667129516602, + "y": 2432.89990234375, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "efda857e.b182d8", + "id": "ffe2c7da.35a828", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2523.749984741211, - "y": 2301.7499395906925, - "z": "8fcccf93.60adc", + "x": 2579.6666564941406, + "y": 2476.4999853670597, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "e2b01839.98c568", + "id": "5ccbbfaf.7d267", "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": 2595.750328063965, - "y": 2251.9499327242374, - "z": "8fcccf93.60adc", + "x": 2652.6669921875, + "y": 2429.699852615595, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "17807e36.be4b72", + "id": "794b5fb5.4ba12", "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": 2530.1505279541016, - "y": 2212.9499327242374, - "z": "8fcccf93.60adc", + "x": 2586.0670471191406, + "y": 2391.699852615595, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "e8e8283b.c78128", + "id": "97482765.fa6318", "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": 681.7045745849609, - "y": 1086.2954737246037, - "z": "8fcccf93.60adc", + "x": 737.6212463378906, + "y": 1242.0453929901123, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "1f14ddc1.dad3a2", + "id": "33d815bc.825c7a", "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": 1303.7501678466797, - "y": 710.5000330507755, - "z": "8fcccf93.60adc", + "x": 1359.6668395996094, + "y": 866.2499523162842, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "6c115e3.7476aa", + "id": "19e9cb7b.d96df5", "type": "for", "name": "foreach sNSSAI", "xml": "<for index='id-ric-snssai' start='0' end='`$tmp.ric.sNSSAILength`' >\n", "comments": "", "outputs": 1, - "x": 1362.7501678466797, - "y": 742.5000330507755, - "z": "8fcccf93.60adc", + "x": 1418.6668395996094, + "y": 898.2499523162842, + "z": "abb03ec2.1302c", "wires": [ [ - "c904fba1.d979d8" + "5e7e74e9.40ffec" ] ] }, { - "id": "c904fba1.d979d8", + "id": "5e7e74e9.40ffec", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1573.750072479248, - "y": 654.5000320971012, - "z": "8fcccf93.60adc", + "x": 1629.6667442321777, + "y": 810.2499513626099, + "z": "abb03ec2.1302c", "wires": [ [ - "938716b8.f1b738", - "b646145a.d1d128", - "fbb43054.82cea" + "33d77868.f37918", + "34f6dd59.23c522", + "7db1a14f.9c81" ] ] }, { - "id": "938716b8.f1b738", + "id": "33d77868.f37918", "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": 1765.7501678466797, - "y": 550.5000492632389, - "z": "8fcccf93.60adc", + "x": 1821.6668395996094, + "y": 706.2499685287476, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "3e4d078b.89aea8", + "id": "af2cc14.a2fcb4", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1752.5001068115234, - "y": 705.5000101625919, - "z": "8fcccf93.60adc", + "x": 1808.4167785644531, + "y": 861.2499294281006, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "8504a7d1.e8c0e8", + "id": "3774541d.6c858c", "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": 1780, - "y": 752.25008264184, - "z": "8fcccf93.60adc", + "x": 1835.9166717529297, + "y": 908.0000019073486, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "61c4c1b5.b8b41", + "id": "b68af716.6258a8", "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": 2091.7503204345703, - "y": 3577.4500567018986, - "z": "8fcccf93.60adc", + "x": 2147.6669921875, + "y": 3733.199975967407, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "2212158e.81f10a", + "id": "81c68600.ef0528", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2048.750175476074, - "y": 3619.4500567018986, - "z": "8fcccf93.60adc", + "x": 2104.666847229004, + "y": 3775.199975967407, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "63fd7c40.f315b4", + "id": "1d0d0a55.65b476", "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": 2049.5501251220703, - "y": 3525.4500557482243, - "z": "8fcccf93.60adc", + "x": 2105.466796875, + "y": 3681.199975013733, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "44fa660a.e563e8", - "type": "record", - "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2495.7501335144043, - "y": 3534.149958282709, - "z": "8fcccf93.60adc", - "wires": [ - [] - ] - }, - { - "id": "eaebd59b.eecca8", + "id": "66faebf4.fb5894", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3210.949996948242, - "y": 3206.550104290247, - "z": "8fcccf93.60adc", + "x": 3512.866897583008, + "y": 3326.3000100553036, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "64d78596.27eadc", + "id": "30a6d897.7162c8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2784.35009765625, - "y": 3229.350105434656, - "z": "8fcccf93.60adc", + "x": 3031.2669525146484, + "y": 3347.1000847816467, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "c4261894.6ff918", - "type": "record", - "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2999.75004196167, - "y": 3457.3501550257206, - "z": "8fcccf93.60adc", - "wires": [ - [] - ] - }, - { - "id": "d2d2f2e4.73ac6", + "id": "68ed7e7d.f9def", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2161.1500282287598, - "y": 3083.450049072504, - "z": "8fcccf93.60adc", + "x": 2217.0666999816895, + "y": 3239.1999683380127, + "z": "abb03ec2.1302c", "wires": [ [ - "2d7a8b2d.2bce74" + "2cfa56c5.d6008a" ] ] }, { - "id": "698480ff.773f", + "id": "269672fe.9559de", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2188.1500244140625, - "y": 3161.4500500261784, - "z": "8fcccf93.60adc", + "x": 2244.066696166992, + "y": 3317.199969291687, + "z": "abb03ec2.1302c", "wires": [ [ - "58d2d439.01285c" + "fa236fe0.a47a5" ] ] }, { - "id": "2d7a8b2d.2bce74", + "id": "2cfa56c5.d6008a", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2356.150032043457, - "y": 3076.450049072504, - "z": "8fcccf93.60adc", + "x": 2412.0667037963867, + "y": 3232.1999683380127, + "z": "abb03ec2.1302c", "wires": [ [ - "4cf8b1bd.4a2cc", - "3d1f995.bfe3366" + "6bae6541.1313dc", + "e55ef063.7f692" ] ] }, { - "id": "58d2d439.01285c", + "id": "fa236fe0.a47a5", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2362.150032043457, - "y": 3154.450049072504, - "z": "8fcccf93.60adc", + "x": 2418.0667037963867, + "y": 3310.1999683380127, + "z": "abb03ec2.1302c", "wires": [ [ - "916293ca.0489a" + "2ecf91f0.feb76e" ] ] }, { - "id": "916293ca.0489a", + "id": "2ecf91f0.feb76e", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 CPS\"/>", "comments": "", "outputs": 1, - "x": 2541.1500358581543, - "y": 3173.4500500261784, - "z": "8fcccf93.60adc", + "x": 2597.066707611084, + "y": 3329.199969291687, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "3d1f995.bfe3366", + "id": "e55ef063.7f692", "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": 2587.3500366210938, - "y": 3100.450049072504, - "z": "8fcccf93.60adc", + "x": 2643.2667083740234, + "y": 3256.1999683380127, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "4cf8b1bd.4a2cc", + "id": "6bae6541.1313dc", "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": 2588.3500366210938, - "y": 3062.4500481188297, - "z": "8fcccf93.60adc", + "x": 2644.2667083740234, + "y": 3218.1999673843384, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "6852da4f.8f18e4", + "id": "5f4b0ba4.1868b4", "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": 1309.7499923706055, - "y": 2343.849842697382, - "z": "8fcccf93.60adc", + "x": 1365.6666641235352, + "y": 2499.5997619628906, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "5b22aaff.b683d4", + "id": "61da4cab.1c9604", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1306.7500686645508, - "y": 2397.050038009882, - "z": "8fcccf93.60adc", + "x": 1362.6667404174805, + "y": 2552.7999572753906, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "a1e8dd25.8f7f9", + "id": "5c8e677.adb3698", "type": "for", "name": "foreach snssai", "xml": "<for index='id-snssai' start='0' end='`$tmp.sNssaiListLength`'>\n", "comments": "", "outputs": 1, - "x": 1494.7500915527344, - "y": 2558.6504332125187, - "z": "8fcccf93.60adc", + "x": 1550.666763305664, + "y": 2714.4003524780273, + "z": "abb03ec2.1302c", "wires": [ [ - "34f9939d.32387c" + "f6d43725.968ba8" ] ] }, { - "id": "34f9939d.32387c", + "id": "f6d43725.968ba8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1240.7500915527344, - "y": 2643.650482803583, - "z": "8fcccf93.60adc", + "x": 1296.666763305664, + "y": 2799.400402069092, + "z": "abb03ec2.1302c", "wires": [ [ - "cc0b4ee4.898e1", - "3e212a9e.575c76", - "b17e9286.f7a13" + "4b37a743.2b84e8", + "4d1961b6.8b7fa", + "f24407e8.e34028" ] ] }, { - "id": "b76fd445.463118", + "id": "5cf07ee.a18f08", "type": "switchNode", "name": "check the action", "xml": "<switch test='`$tmp.sNssaiListLength > 0`'>\n", "comments": "", "outputs": 1, - "x": 1242.7499923706055, - "y": 2487.4504324495792, - "z": "8fcccf93.60adc", + "x": 1298.6666641235352, + "y": 2643.200351715088, + "z": "abb03ec2.1302c", "wires": [ [ - "a9207a55.c3d858", - "bdb80548.3190a8" + "ce10f87a.495178", + "f6f898a.50b7f68" ] ] }, { - "id": "a9207a55.c3d858", + "id": "ce10f87a.495178", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1416.7499961853027, - "y": 2433.6500402987003, - "z": "8fcccf93.60adc", + "x": 1472.6666679382324, + "y": 2589.399959564209, + "z": "abb03ec2.1302c", "wires": [ [ - "da88319c.4601a" + "64c2914c.163d7" ] ] }, { - "id": "bdb80548.3190a8", + "id": "f6f898a.50b7f68", "type": "outcome", "name": "False", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 1411.549997329712, - "y": 2502.849845558405, - "z": "8fcccf93.60adc", + "x": 1467.4666690826416, + "y": 2658.5997648239136, + "z": "abb03ec2.1302c", "wires": [ [ - "32837cac.347434" + "ad07af8d.a7fd5" ] ] }, { - "id": "da88319c.4601a", + "id": "64c2914c.163d7", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1514.7499980926514, - "y": 2364.2500387728214, - "z": "8fcccf93.60adc", + "x": 1570.666669845581, + "y": 2519.99995803833, + "z": "abb03ec2.1302c", "wires": [ [ - "a1e8dd25.8f7f9", - "a54144fa.4fa418" + "5c8e677.adb3698", + "a14c6d01.d72d4" ] ] }, { - "id": "32837cac.347434", + "id": "ad07af8d.a7fd5", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1556.7500953674316, - "y": 2504.25004068017, - "z": "8fcccf93.60adc", + "x": 1612.6667671203613, + "y": 2659.9999599456787, + "z": "abb03ec2.1302c", "wires": [ [ - "eb382606.7b0648" + "8cf7ee8a.d8711" ] ] }, { - "id": "eb382606.7b0648", + "id": "8cf7ee8a.d8711", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1634.349998474121, - "y": 2449.4500414431095, - "z": "8fcccf93.60adc", + "x": 1690.2666702270508, + "y": 2605.199960708618, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "a54144fa.4fa418", + "id": "a14c6d01.d72d4", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1662.150074005127, - "y": 2343.4500376284122, - "z": "8fcccf93.60adc", + "x": 1718.0667457580566, + "y": 2499.199956893921, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "7d077a67.7f7794", + "id": "be058f27.be2f2", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1790.9500274658203, - "y": 2720.6502882540226, - "z": "8fcccf93.60adc", + "x": 1846.86669921875, + "y": 2876.4002075195312, + "z": "abb03ec2.1302c", "wires": [ [ - "670409bf.710c78", - "f7c431f2.041ad", - "a2334de5.c8e83", - "35b4a82.1d5d958", - "2f3a1b1d.755f74", - "cff9bdc7.61fb", - "4baa09d1.720668", - "9aa15122.747e7", - "d9dafddb.45199", - "79b94a76.0bd4d4" + "ca5cc8a3.3e8f88", + "85d3c578.1ff548", + "eb669321.09738", + "1389bee4.5c2751", + "15b63fdb.9d269", + "f41ebbe4.4e54c8", + "bbebc6be.702738", + "9aa1fe61.40658", + "63185ff6.6bdd5", + "cd7d4069.bbbcc" ] ] }, { - "id": "dc059808.ab8fb8", + "id": "d7aa1191.f04e6", "type": "outcome", "name": "False", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 1608.75, - "y": 2774.050044685602, - "z": "8fcccf93.60adc", + "x": 1664.6666717529297, + "y": 2929.799963951111, + "z": "abb03ec2.1302c", "wires": [ [ - "da5ac2f6.d6859" + "f8dbdb22.f00708" ] ] }, { - "id": "da5ac2f6.d6859", + "id": "f8dbdb22.f00708", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1758.75, - "y": 2773.050043731928, - "z": "8fcccf93.60adc", + "x": 1814.6666717529297, + "y": 2928.7999629974365, + "z": "abb03ec2.1302c", "wires": [ [ - "79ae4300.6887ec" + "1c266667.93503a" ] ] }, { - "id": "79ae4300.6887ec", + "id": "1c266667.93503a", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1751.7500038146973, - "y": 2839.050043731928, - "z": "8fcccf93.60adc", + "x": 1807.666675567627, + "y": 2994.7999629974365, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4baa09d1.720668", + "id": "bbebc6be.702738", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1961.7500267028809, - "y": 2683.0500914156437, - "z": "8fcccf93.60adc", + "x": 2017.6666984558105, + "y": 2838.8000106811523, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "d1c35fc7.bc589", + "id": "3c027d38.6319c2", "type": "block", "name": "block : gNBDU", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1993.9499778747559, - "y": 4349.4502646029, - "z": "8fcccf93.60adc", + "x": 2137.86661529541, + "y": 4284.200358718634, + "z": "abb03ec2.1302c", "wires": [ [ - "147c2411.6ed72c", - "edc9af96.f2ff4", - "f6d760d9.86203", - "4f575cd1.378994" + "60a84bce.f8fd94", + "f60face3.d6997", + "c9bf6007.9bea7", + "c75383a5.eb7b8" ] ] }, { - "id": "f6d760d9.86203", + "id": "f60face3.d6997", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2112.9500312805176, - "y": 4220.450066238642, - "z": "8fcccf93.60adc", + "x": 2321.8668479919434, + "y": 4214.20023727417, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4f575cd1.378994", + "id": "c9bf6007.9bea7", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2177.9500312805176, - "y": 4347.45006814599, - "z": "8fcccf93.60adc", + "x": 2324.8668479919434, + "y": 4301.200240135193, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "81c0b670.ffec98", + "id": "518cbcdd.2752e4", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3069.14990234375, - "y": 4713.450199753046, - "z": "8fcccf93.60adc", + "x": 3125.0665740966797, + "y": 4869.200119018555, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "53d30f3b.3532d", + "id": "753549da.987cc8", "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": 3618.949951171875, - "y": 5616.449690490961, - "z": "8fcccf93.60adc", + "x": 3652.8666915893555, + "y": 5797.200121253729, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "c56a302f.2e56c", + "id": "8cb96950.7462b8", "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": 3689.749954223633, - "y": 5659.449690490961, - "z": "8fcccf93.60adc", + "x": 3723.6666946411133, + "y": 5840.200121253729, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "dfba4e92.26bb8", + "id": "372afd9e.1618e2", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3659.5501022338867, - "y": 5700.05037561059, - "z": "8fcccf93.60adc", + "x": 3693.466842651367, + "y": 5880.800806373358, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "2f06586c.7d50b8", + "id": "387f3b08.a164d4", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3294.149871826172, - "y": 5169.649851471186, - "z": "8fcccf93.60adc", + "x": 3350.0665435791016, + "y": 5325.399770736694, + "z": "abb03ec2.1302c", "wires": [ [ - "9fae7555.8c2268" + "2d33300d.7795d" ] ] }, { - "id": "1a3ddfd5.e9251", + "id": "131e7a39.845786", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3301.14990234375, - "y": 5241.850105911493, - "z": "8fcccf93.60adc", + "x": 3357.0665740966797, + "y": 5397.600025177002, + "z": "abb03ec2.1302c", "wires": [ [ - "51718326.ad0a7c" + "3f41991b.077646" ] ] }, { - "id": "9fae7555.8c2268", + "id": "2d33300d.7795d", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3463.149871826172, - "y": 5168.649851471186, - "z": "8fcccf93.60adc", + "x": 3519.0665435791016, + "y": 5324.399770736694, + "z": "abb03ec2.1302c", "wires": [ [ - "667a78b8.daeed8", - "a5f4a441.28a3a8" + "e26e3d3e.c0bc8", + "500ca6dc.f3db38" ] ] }, { - "id": "a5f4a441.28a3a8", + "id": "500ca6dc.f3db38", "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": 3652.1499099731445, - "y": 5171.649908691645, - "z": "8fcccf93.60adc", + "x": 3708.066581726074, + "y": 5327.399827957153, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "667a78b8.daeed8", + "id": "e26e3d3e.c0bc8", "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": 3643.149871826172, - "y": 5121.649850517511, - "z": "8fcccf93.60adc", + "x": 3699.0665435791016, + "y": 5277.39976978302, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "51718326.ad0a7c", + "id": "3f41991b.077646", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 CPS\"/>", "comments": "", "outputs": 1, - "x": 3524.1501502990723, - "y": 5227.6501795351505, - "z": "8fcccf93.60adc", + "x": 3580.066822052002, + "y": 5383.400098800659, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "d43499c6.aabef8", + "id": "c290983f.bc1468", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 4645.549964904785, - "y": 6121.849991470575, - "z": "8fcccf93.60adc", + "x": 6408.468933105469, + "y": 6275.600531220436, + "z": "abb03ec2.1302c", "wires": [ [ - "9b9c1c18.f2233" + "ecaca367.29efb" ] ] }, { - "id": "43ee118e.12a5e", + "id": "9db75ac1.2e9318", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 4660.549964904785, - "y": 6203.050772339106, - "z": "8fcccf93.60adc", + "x": 6435.468282699585, + "y": 6322.80235350132, + "z": "abb03ec2.1302c", "wires": [ [ - "b6c556dd.b7a948" + "6524ba29.19d1b4" ] ] }, { - "id": "9b9c1c18.f2233", + "id": "ecaca367.29efb", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4805.549964904785, - "y": 6141.849991470575, - "z": "8fcccf93.60adc", + "x": 6569.468936920166, + "y": 6268.6005293130875, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "b6c556dd.b7a948", + "id": "6524ba29.19d1b4", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 CPS\"/>", "comments": "", "outputs": 1, - "x": 4828.549964904785, - "y": 6202.849991470575, - "z": "8fcccf93.60adc", + "x": 6591.468286514282, + "y": 6323.60118162632, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "81cb8f59.a3daa", + "id": "29519b42.8a3c04", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3747.3501052856445, - "y": 2618.8500372469425, - "z": "8fcccf93.60adc", + "x": 4212.267547607422, + "y": 2897.600418895483, + "z": "abb03ec2.1302c", "wires": [ [ - "aec14d65.12e4e" + "9b3dd261.c5c8e" ] ] }, { - "id": "9d6a1f55.2c50c", + "id": "82dc9f9d.d054e", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3745.3501052856445, - "y": 2688.050625473261, - "z": "8fcccf93.60adc", + "x": 4188.267482757568, + "y": 2955.8011635243893, + "z": "abb03ec2.1302c", "wires": [ [ - "f5c85f8c.d0602" + "2e88aa6f.a54dd6" ] ] }, { - "id": "aec14d65.12e4e", + "id": "9b3dd261.c5c8e", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3917.3501052856445, - "y": 2625.8500372469425, - "z": "8fcccf93.60adc", + "x": 4349.267543792725, + "y": 2896.6002968251705, + "z": "abb03ec2.1302c", "wires": [ - [] + [ + "316b9170.fe028e" + ] ] }, { - "id": "f5c85f8c.d0602", + "id": "2e88aa6f.a54dd6", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 CPS\"/>", "comments": "", "outputs": 1, - "x": 3925.3501052856445, - "y": 2700.850039154291, - "z": "8fcccf93.60adc", + "x": 4332.267421722412, + "y": 2946.600235313177, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "9847a787.04e9f8", + "id": "a3a2682c.8af378", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2466.9500465393066, - "y": 1587.2499805986881, - "z": "8fcccf93.60adc", + "x": 2522.8667182922363, + "y": 1742.9998998641968, + "z": "abb03ec2.1302c", "wires": [ [ - "9010ccae.71f8d" + "f56a842e.e92a88" ] ] }, { - "id": "5f560c66.542f04", + "id": "41a7d799.d8fee8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2493.9500427246094, - "y": 1665.2499815523624, - "z": "8fcccf93.60adc", + "x": 2549.866714477539, + "y": 1820.999900817871, + "z": "abb03ec2.1302c", "wires": [ [ - "11172bbd.9202b4" + "74f5fb80.fceed4" ] ] }, { - "id": "9010ccae.71f8d", + "id": "f56a842e.e92a88", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2661.950050354004, - "y": 1580.2499805986881, - "z": "8fcccf93.60adc", + "x": 2717.8667221069336, + "y": 1735.9998998641968, + "z": "abb03ec2.1302c", "wires": [ [ - "acec48fe.f085b8", - "943ab785.d6f708" + "5e8bc29d.8fc7ec", + "6453c4c8.addd5c" ] ] }, { - "id": "11172bbd.9202b4", + "id": "74f5fb80.fceed4", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2667.950050354004, - "y": 1658.2499805986881, - "z": "8fcccf93.60adc", + "x": 2723.8667221069336, + "y": 1813.9998998641968, + "z": "abb03ec2.1302c", "wires": [ [ - "47982f8d.f778" + "74af27ea.eb81f8" ] ] }, { - "id": "47982f8d.f778", + "id": "74af27ea.eb81f8", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 CPS\"/>", "comments": "", "outputs": 1, - "x": 2852.9500427246094, - "y": 1669.2500711977482, - "z": "8fcccf93.60adc", + "x": 2908.866714477539, + "y": 1824.9999904632568, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "943ab785.d6f708", + "id": "6453c4c8.addd5c", "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": 2892.1502380371094, - "y": 1610.2500711977482, - "z": "8fcccf93.60adc", + "x": 2948.066909790039, + "y": 1765.9999904632568, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "acec48fe.f085b8", + "id": "5e8bc29d.8fc7ec", "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": 2894.1500549316406, - "y": 1566.2499796450138, - "z": "8fcccf93.60adc", + "x": 2950.0667266845703, + "y": 1721.9998989105225, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "ad64052b.b86818", + "id": "cb0259e3.e98338", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2340.1499366760254, - "y": 4163.250064522028, - "z": "8fcccf93.60adc", + "x": 2270.066635131836, + "y": 4529.0006475150585, + "z": "abb03ec2.1302c", "wires": [ [ - "17aadc2d.2d7744", - "78ce3184.889d9", - "2c288efb.71fdf2" + "6bd613fd.53aecc", + "a050356.982d6c8", + "123aa46a.e880cc" ] ] }, { - "id": "17aadc2d.2d7744", + "id": "6bd613fd.53aecc", "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": 2590.89990234375, - "y": 4095.5996111929417, - "z": "8fcccf93.60adc", + "x": 2499.816623687744, + "y": 4447.350391715765, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "78ce3184.889d9", + "id": "a050356.982d6c8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2587.9000358581543, - "y": 4145.800064712763, - "z": "8fcccf93.60adc", + "x": 2496.8167572021484, + "y": 4497.550845235586, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "8dd4f9c5.d27288", + "id": "93dbcbe4.7dfb78", "type": "for", "name": "foreach snssai", "xml": "<for index='id-dusnssai' start='0' end='`$tmp.sNssaiListLengthDU`'>\n", "comments": "", "outputs": 1, - "x": 2775.900001525879, - "y": 4310.400201708078, - "z": "8fcccf93.60adc", + "x": 2952.8167839050293, + "y": 4621.150919288397, + "z": "abb03ec2.1302c", "wires": [ [ - "8efc042a.62ea98" + "145f111b.eecbaf" ] ] }, { - "id": "8efc042a.62ea98", + "id": "145f111b.eecbaf", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2521.900001525879, - "y": 4395.400251299143, - "z": "8fcccf93.60adc", + "x": 2299.816665649414, + "y": 4723.150321573019, + "z": "abb03ec2.1302c", "wires": [ [ - "e73f4024.64a65", - "1f449eec.3edfe1", - "884a6ce0.db51b" + "55f0496c.1a7248", + "851ffca0.9a197", + "9747288f.baa2f8" ] ] }, { - "id": "2c288efb.71fdf2", + "id": "123aa46a.e880cc", "type": "switchNode", "name": "check the action", "xml": "<switch test='`$tmp.sNssaiListLengthDU > 0`'>\n", "comments": "", "outputs": 1, - "x": 2523.89990234375, - "y": 4239.200200945139, - "z": "8fcccf93.60adc", + "x": 2432.816623687744, + "y": 4590.950981467962, + "z": "abb03ec2.1302c", "wires": [ [ - "de5006f9.2b6a88", - "12867dc2.ea9312" + "1f93a2bc.49bb7d", + "f2c0e05.faeff2" ] ] }, { - "id": "de5006f9.2b6a88", + "id": "1f93a2bc.49bb7d", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2697.8999061584473, - "y": 4185.39980879426, - "z": "8fcccf93.60adc", + "x": 2563.816665649414, + "y": 4542.151041358709, + "z": "abb03ec2.1302c", "wires": [ [ - "915516bb.74c2b8" + "6cfb42d.d951dbc" ] ] }, { - "id": "12867dc2.ea9312", + "id": "f2c0e05.faeff2", "type": "outcome", "name": "False", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2692.6999073028564, - "y": 4254.599614053965, - "z": "8fcccf93.60adc", + "x": 2601.6166286468506, + "y": 4606.350394576788, + "z": "abb03ec2.1302c", "wires": [ [ - "c671228b.7d9f5" + "720ae0f8.60b17" ] ] }, { - "id": "915516bb.74c2b8", + "id": "6cfb42d.d951dbc", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2795.899908065796, - "y": 4115.999807268381, - "z": "8fcccf93.60adc", + "x": 2743.816604614258, + "y": 4558.750406593084, + "z": "abb03ec2.1302c", "wires": [ [ - "8dd4f9c5.d27288", - "21577b87.dd1264" + "93dbcbe4.7dfb78", + "f455d4ff.e67408" ] ] }, { - "id": "c671228b.7d9f5", + "id": "720ae0f8.60b17", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2837.900005340576, - "y": 4255.99980917573, - "z": "8fcccf93.60adc", + "x": 2746.8167266845703, + "y": 4607.750589698553, + "z": "abb03ec2.1302c", "wires": [ [ - "24591ce7.d5adc4" + "f9b2151a.f54558" ] ] }, { - "id": "24591ce7.d5adc4", + "id": "f9b2151a.f54558", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2915.4999084472656, - "y": 4201.199809938669, - "z": "8fcccf93.60adc", + "x": 2715.416759490967, + "y": 4642.950601905584, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "21577b87.dd1264", + "id": "f455d4ff.e67408", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2943.2999839782715, - "y": 4095.199806123972, - "z": "8fcccf93.60adc", + "x": 2937.2167472839355, + "y": 4561.9508465230465, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "6715c6c4.d03088", + "id": "83d280c.ada118", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2621.949951171875, - "y": 473.6499983370304, - "z": "8fcccf93.60adc", + "x": 2677.8666229248047, + "y": 629.3999176025391, + "z": "abb03ec2.1302c", "wires": [ [ - "b1deefef.87043", - "1d665598.3cc98a", - "ec511299.26edc" + "b1b65c9c.0c065", + "ce04ccef.51c45", + "2b3aee65.b34f92" ] ] }, { - "id": "b1deefef.87043", + "id": "b1b65c9c.0c065", "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": 2872.6999168395996, - "y": 405.9995450079441, - "z": "8fcccf93.60adc", + "x": 2928.6165885925293, + "y": 561.7494642734528, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "1d665598.3cc98a", + "id": "ce04ccef.51c45", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2869.700050354004, - "y": 456.1999985277653, - "z": "8fcccf93.60adc", + "x": 2925.6167221069336, + "y": 611.9499177932739, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "bdbe8822.4f0978", + "id": "d7516b51.f03828", "type": "for", "name": "foreach snssai", "xml": "<for index='id-cusnssai' start='0' end='`$tmp.sNssaiListLengthCU`'>\n", "comments": "", "outputs": 1, - "x": 3101.7000427246094, - "y": 617.8000799715519, - "z": "8fcccf93.60adc", + "x": 3157.616714477539, + "y": 773.5499992370605, + "z": "abb03ec2.1302c", "wires": [ [ - "7671b706.833948" + "66e14ea5.3ea48" ] ] }, { - "id": "ec511299.26edc", + "id": "2b3aee65.b34f92", "type": "switchNode", "name": "check the action", "xml": "<switch test='`$tmp.sNssaiListLengthCU > 0`'>\n", "comments": "", "outputs": 1, - "x": 2805.6999168395996, - "y": 549.6001347601414, - "z": "8fcccf93.60adc", + "x": 2861.6165885925293, + "y": 705.35005402565, + "z": "abb03ec2.1302c", "wires": [ [ - "ed076bf.70b9198", - "626c1902.77aca8" + "1f2ea5c7.6b8eea", + "8d9db573.862bf8" ] ] }, { - "id": "ed076bf.70b9198", + "id": "1f2ea5c7.6b8eea", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2979.699920654297, - "y": 495.79974260926247, - "z": "8fcccf93.60adc", + "x": 3035.6165924072266, + "y": 651.5496618747711, + "z": "abb03ec2.1302c", "wires": [ [ - "74772c32.227464" + "c076e6a5.cb07e8" ] ] }, { - "id": "626c1902.77aca8", + "id": "8d9db573.862bf8", "type": "outcome", "name": "False", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2975.5000915527344, - "y": 545.9995657503605, - "z": "8fcccf93.60adc", + "x": 3031.416763305664, + "y": 701.7494850158691, + "z": "abb03ec2.1302c", "wires": [ [ - "a262a39.700206" + "12e276be.ff24d9" ] ] }, { - "id": "74772c32.227464", + "id": "c076e6a5.cb07e8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3077.6999225616455, - "y": 426.39974108338356, - "z": "8fcccf93.60adc", + "x": 3133.616594314575, + "y": 582.1496603488922, + "z": "abb03ec2.1302c", "wires": [ [ - "bdbe8822.4f0978", - "20d0f9e4.de8b66" + "d7516b51.f03828", + "bb7570e4.84842" ] ] }, { - "id": "a262a39.700206", + "id": "12e276be.ff24d9", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3147.700241088867, - "y": 552.3997675478458, - "z": "8fcccf93.60adc", + "x": 3203.616912841797, + "y": 708.1496868133545, + "z": "abb03ec2.1302c", "wires": [ [ - "db09154a.d54fb8" + "db889e12.5d45e" ] ] }, { - "id": "db09154a.d54fb8", + "id": "db889e12.5d45e", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3319.2998542785645, - "y": 548.5997187197208, - "z": "8fcccf93.60adc", + "x": 3375.216526031494, + "y": 704.3496379852295, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "20d0f9e4.de8b66", + "id": "bb7570e4.84842", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3225.099998474121, - "y": 405.5997399389744, - "z": "8fcccf93.60adc", + "x": 3281.016670227051, + "y": 561.349659204483, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "59c69f44.e4557", + "id": "3d69c2bb.eace6e", "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": 518.7500534057617, - "y": 177.75000634789467, - "z": "8fcccf93.60adc", + "x": 574.6667308807373, + "y": 261.4999233484268, + "z": "abb03ec2.1302c", "wires": [ [ - "df4ca74c.d6ae38", - "bc0f0275.4ee31" + "af413e53.0c5cd", + "d7e6348b.c51c78" ] ] }, { - "id": "df4ca74c.d6ae38", + "id": "af413e53.0c5cd", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 828.7499885559082, - "y": 160.75000634789467, - "z": "8fcccf93.60adc", + "x": 883.6667137145996, + "y": 186.49992048740387, + "z": "abb03ec2.1302c", "wires": [ [ - "29f350b1.217b3" + "78133c01.12b704" ] ] }, { - "id": "bc0f0275.4ee31", + "id": "d7e6348b.c51c78", "type": "outcome", "name": "False", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 846.7500381469727, - "y": 213.75003305077553, - "z": "8fcccf93.60adc", + "x": 827.6666717529297, + "y": 415.4999557733536, + "z": "abb03ec2.1302c", "wires": [ [ - "c9357d2.66bce8" + "190cbb9e.466f34" ] ] }, { - "id": "cdd9dd5d.66b9f", + "id": "afb051ae.7f1dd", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1199.55082321167, - "y": 197.55010476708412, - "z": "8fcccf93.60adc", + "x": 1164.4675254821777, + "y": 399.3000074625015, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "29f350b1.217b3", + "id": "78133c01.12b704", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 995.7500877380371, - "y": 159.95005479454994, - "z": "8fcccf93.60adc", + "x": 1050.6668128967285, + "y": 185.69996893405914, + "z": "abb03ec2.1302c", "wires": [ [ - "4203d4cf.857e5c", - "4b814892.fcd8b8" + "b78cfdad.6f087", + "7be10b16.d2efc4" ] ] }, { - "id": "c9357d2.66bce8", + "id": "190cbb9e.466f34", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1009.7501983642578, - "y": 210.9500061571598, - "z": "8fcccf93.60adc", + "x": 1014.6668167114258, + "y": 431.69991075992584, + "z": "abb03ec2.1302c", "wires": [ [ - "cdd9dd5d.66b9f", - "f3709d1a.d9077" + "afb051ae.7f1dd", + "ca5f2ec9.f41ff" ] ] }, { - "id": "4203d4cf.857e5c", + "id": "b78cfdad.6f087", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1190.5498962402344, - "y": 112.75001016259193, - "z": "8fcccf93.60adc", - "wires": [ - [] - ] - }, - { - "id": "52e06639.8ea488", - "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": 3283.550048828125, - "y": 218.75000634789467, - "z": "8fcccf93.60adc", - "wires": [ - [] - ] - }, - { - "id": "e30dd1e7.f9c91", - "type": "record", - "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3302.299945831299, - "y": 263.25000634789467, - "z": "8fcccf93.60adc", + "x": 1245.4666213989258, + "y": 138.49992430210114, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "83ad3864.fe01a8", - "type": "switchNode", - "name": "check action", - "xml": "<switch test='`$tmp.action`'>", - "comments": "", - "outputs": 1, - "x": 3303.050247192383, - "y": 150.00000444054604, - "z": "8fcccf93.60adc", - "wires": [ - [ - "64d7be09.89f83", - "3f92c1f8.a5280e" - ] - ] - }, - { - "id": "64d7be09.89f83", - "type": "success", - "name": "deallocate", - "xml": "<outcome value='deallocate'>\n", - "comments": "", - "outputs": 1, - "x": 3490.050048828125, - "y": 160.75003018975258, - "z": "8fcccf93.60adc", - "wires": [ - [ - "a30c31ad.188e6" - ] - ] - }, - { - "id": "a0b7408f.fab34", - "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": 3901.0502548217773, - "y": 234.75000730156898, - "z": "8fcccf93.60adc", - "wires": [ - [] - ] - }, - { - "id": "3f92c1f8.a5280e", - "type": "failure", - "name": "modify-deallocate", - "xml": "<outcome value='modify-deallocate'>\n", - "comments": "", - "outputs": 1, - "x": 3485.050048828125, - "y": 258.75000634789467, - "z": "8fcccf93.60adc", - "wires": [ - [ - "f535a2cf.52ac9" - ] - ] - }, - { - "id": "4ac307ac.82cf88", - "type": "record", - "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3862.3000526428223, - "y": 188.75000634789467, - "z": "8fcccf93.60adc", - "wires": [ - [] - ] - }, - { - "id": "a30c31ad.188e6", - "type": "block", - "name": "block : atomic", - "xml": "<block atomic='true'>", - "atomic": "true", - "comments": "", - "outputs": 1, - "x": 3662.300048828125, - "y": 160.75000634789467, - "z": "8fcccf93.60adc", - "wires": [ - [ - "4ac307ac.82cf88", - "97b432fd.5f2c3" - ] - ] - }, - { - "id": "97b432fd.5f2c3", - "type": "set", - "name": "read sNSSAI from input", - "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\"/>", - "comments": "", - "x": 3864.3000564575195, - "y": 139.75000539422035, - "z": "8fcccf93.60adc", - "wires": [] - }, - { - "id": "5222864.2f40678", - "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": 3321.800048828125, - "y": 103.25000444054604, - "z": "8fcccf93.60adc", - "wires": [] - }, - { - "id": "f535a2cf.52ac9", - "type": "block", - "name": "block : atomic", - "xml": "<block atomic='true'>", - "atomic": "true", - "comments": "", - "outputs": 1, - "x": 3678.850051879883, - "y": 255.25000634789467, - "z": "8fcccf93.60adc", - "wires": [ - [ - "a0b7408f.fab34", - "e14aa022.d95ad" - ] - ] - }, - { - "id": "e14aa022.d95ad", - "type": "record", - "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3920.85005569458, - "y": 303.2500082552433, - "z": "8fcccf93.60adc", - "wires": [ - [] - ] - }, - { - "id": "f77e85c6.0b9bc8", - "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": 2714.949951171875, - "y": 190.25000444054604, - "z": "8fcccf93.60adc", - "wires": [ - [ - "8fe99134.2b965" - ] - ] - }, - { - "id": "8fe99134.2b965", - "type": "other", - "name": "success", - "xml": "<outcome value='success'>\n", - "comments": "", - "outputs": 1, - "x": 2916.1997604370117, - "y": 179.50000444054604, - "z": "8fcccf93.60adc", - "wires": [ - [ - "f1ff0f12.de5" - ] - ] - }, - { - "id": "f1ff0f12.de5", - "type": "block", - "name": "block : atomic", - "xml": "<block atomic='true'>", - "atomic": "true", - "comments": "", - "outputs": 1, - "x": 3082.1998596191406, - "y": 173.50000444054604, - "z": "8fcccf93.60adc", - "wires": [ - [ - "5222864.2f40678", - "83ad3864.fe01a8", - "52e06639.8ea488", - "e30dd1e7.f9c91" - ] - ] - }, - { - "id": "f3709d1a.d9077", + "id": "ca5f2ec9.f41ff", "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": 1254.9502639770508, - "y": 235.25000634789467, - "z": "8fcccf93.60adc", + "x": 1277.8670196533203, + "y": 429.99991858005524, + "z": "abb03ec2.1302c", "wires": [ [ - "ca558791.e9d438" + "2728d2b6.cf553e" ] ] }, { - "id": "ca558791.e9d438", + "id": "2728d2b6.cf553e", "type": "other", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1505.9501686096191, - "y": 222.25000634789467, - "z": "8fcccf93.60adc", + "x": 1562.8668670654297, + "y": 451.99991858005524, + "z": "abb03ec2.1302c", "wires": [ [ - "4f5714ed.94ce6c" + "26f0e397.e7e1cc" ] ] }, { - "id": "4f5714ed.94ce6c", + "id": "26f0e397.e7e1cc", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1721.950050354004, - "y": 234.2500082552433, - "z": "8fcccf93.60adc", + "x": 1796.8668689727783, + "y": 440.9999266862869, + "z": "abb03ec2.1302c", "wires": [ [ - "d3060eac.36b87", - "a234f2d.da1391", - "a42b84fa.792848", - "a68ee011.666af", - "67e6060b.273f08", - "b30295ff.22d8d8", - "59694532.48d62c" + "192b0a32.cd4cd6", + "46b8d6f3.7f8898", + "77673452.72275c", + "87a12f6d.76094", + "25f2137a.1dda3c", + "ecb95ddc.0304a", + "3cb7484.73ef7b8" ] ] }, { - "id": "d3060eac.36b87", + "id": "192b0a32.cd4cd6", "type": "set", "name": "read action from input", "xml": "<set>\n<parameter name='tmp.action' value=\"`$instantiate-r-a-n-slice-input.action`\"/>", "comments": "", - "x": 1998.9500045776367, - "y": 320.25002732872963, - "z": "8fcccf93.60adc", + "x": 2054.8666763305664, + "y": 475.9999465942383, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "a234f2d.da1391", + "id": "46b8d6f3.7f8898", "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": 1938.9500045776367, - "y": 392.2500025331974, - "z": "8fcccf93.60adc", + "x": 1994.8666763305664, + "y": 547.999921798706, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "a42b84fa.792848", + "id": "77673452.72275c", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1936.699806213379, - "y": 428.75000444054604, - "z": "8fcccf93.60adc", + "x": 1992.6164779663086, + "y": 584.4999237060547, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "a68ee011.666af", + "id": "87a12f6d.76094", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1926.1500778198242, - "y": 548.7500120699406, - "z": "8fcccf93.60adc", + "x": 1982.066749572754, + "y": 704.4999313354492, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4b814892.fcd8b8", + "id": "7be10b16.d2efc4", "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": 1303.5499954223633, - "y": 155.25000634789467, - "z": "8fcccf93.60adc", + "x": 1360.4666290283203, + "y": 174.9999234676361, + "z": "abb03ec2.1302c", "wires": [ [ - "520d237e.b3edac" + "49ee176c.12ac38" ] ] }, { - "id": "520d237e.b3edac", + "id": "49ee176c.12ac38", "type": "other", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1611.5500259399414, - "y": 129.2500025331974, - "z": "8fcccf93.60adc", + "x": 1656.4667301177979, + "y": 176.99992716312408, + "z": "abb03ec2.1302c", "wires": [ [ - "5bbf1c85.0b3854" + "4efcf8fa.98fe28" ] ] }, { - "id": "5bbf1c85.0b3854", + "id": "4efcf8fa.98fe28", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1782.5500259399414, - "y": 130.25000348687172, - "z": "8fcccf93.60adc", + "x": 1824.4667282104492, + "y": 177.9999223947525, + "z": "abb03ec2.1302c", "wires": [ [ - "807c1314.1bd43", - "c50aa63d.ce7e28", - "529d8630.838588", - "2b8e5861.4cce18", - "492ffdbe.27fce4", - "988f7e99.3e7ee", - "50e53c8.b25d6c4" + "dde5c1b6.1075b", + "1cfee520.b22ceb", + "bdef28fa.2aea88", + "24bc910c.355bfe", + "1e6eb7af.2ccc68", + "edf448dd.9844e8", + "5e3d54b7.8253bc", + "5afd1844.a85df8", + "cd1fa993.f2ae78", + "fa4200db.47b39", + "26c1dd12.b8b672", + "2579c391.0e3e0c" ] ] }, { - "id": "807c1314.1bd43", + "id": "dde5c1b6.1075b", "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": 2003.5500030517578, - "y": 80.99999871850014, - "z": "8fcccf93.60adc", + "x": 2078.4666748046875, + "y": 89.333251953125, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "c50aa63d.ce7e28", + "id": "1cfee520.b22ceb", "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": 1984.5500030517578, - "y": 151.25000634789467, - "z": "8fcccf93.60adc", + "x": 2059.4666748046875, + "y": 159.58325958251953, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "529d8630.838588", + "id": "bdef28fa.2aea88", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1989.5500030517578, - "y": 182.25000634789467, - "z": "8fcccf93.60adc", - "wires": [ - [] - ] - }, - { - "id": "492ffdbe.27fce4", - "type": "record", - "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1977.5499801635742, - "y": 287.250007301569, - "z": "8fcccf93.60adc", + "x": 2064.4666748046875, + "y": 190.58325958251953, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "2b8e5861.4cce18", + "id": "24bc910c.355bfe", "type": "set", "name": "read sNSSAI from input", "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\"/>", "comments": "", - "x": 2038.5499801635742, - "y": 216.25000634789467, - "z": "8fcccf93.60adc", + "x": 2113.466651916504, + "y": 224.58325958251953, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "67e6060b.273f08", + "id": "25f2137a.1dda3c", "type": "set", "name": "read sNSSAI from input sliceprofile", "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>", "comments": "", - "x": 2003.150001525879, - "y": 467.25000444054604, - "z": "8fcccf93.60adc", + "x": 2059.0666732788086, + "y": 622.9999237060547, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "b30295ff.22d8d8", + "id": "ecb95ddc.0304a", "type": "set", - "name": "read SpId from input sliceprofile", - "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>", + "name": "read data from input sliceprofile", + "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name='tmp.payload.dLThptPerSlice' value=\"`$payloadJson.input.sliceProfile.dLThptPerSlice`\"/>\n<parameter name='tmp.payload.uLThptPerSlice' value=\"`$payloadJson.input.sliceProfile.uLThptPerSlice`\"/>\n<parameter name='tmp.payload.maxNumberofConns' value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>", "comments": "", - "x": 2018.550048828125, - "y": 504.25000444054604, - "z": "8fcccf93.60adc", + "x": 2074.4667205810547, + "y": 659.9999237060547, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "988f7e99.3e7ee", + "id": "1e6eb7af.2ccc68", "type": "set", - "name": "read SpId from input ", - "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfileId`\"/>", + "name": "read other fields from input ", + "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfileId`\"/>\n<parameter name='tmp.payload.globalSubscriberId' value=\"`$payloadJson.input.globalSubscriberId`\"/>\n<parameter name='tmp.payload.subscriptionServiceType' value=\"`$payloadJson.input.subscriptionServiceType`\"/>\n", "comments": "", - "x": 2060.549980163574, - "y": 252.25000730156898, - "z": "8fcccf93.60adc", + "x": 2109.4666900634766, + "y": 251.99996948242188, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "1f4dda6a.60fbf6", + "id": "70d70104.904d3", "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": 778.9499816894531, - "y": 366.2500330507755, - "z": "8fcccf93.60adc", + "x": 770.8667907714844, + "y": 537.0000482797623, + "z": "abb03ec2.1302c", "wires": [ [ - "bae1ba7a.8bd918", - "da3106ff.603718" + "1b9694eb.42936b", + "820ba7d3.120388" ] ] }, { - "id": "bae1ba7a.8bd918", + "id": "1b9694eb.42936b", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1058.9500617980957, - "y": 307.9722010195255, - "z": "8fcccf93.60adc", + "x": 1050.866870880127, + "y": 478.72221624851227, + "z": "abb03ec2.1302c", "wires": [ [ - "a8d1f390.5a2ca" + "9c24ac0b.d783" ] ] }, { - "id": "da3106ff.603718", + "id": "820ba7d3.120388", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1031.0057640075684, - "y": 390.8055273592472, - "z": "8fcccf93.60adc", + "x": 1022.9225730895996, + "y": 561.555542588234, + "z": "abb03ec2.1302c", "wires": [ [ - "53ff7442.eb716c" + "a40dbf74.a1697" ] ] }, { - "id": "a8d1f390.5a2ca", + "id": "9c24ac0b.d783", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 1216.7001647949219, - "y": 306.9722982943058, - "z": "8fcccf93.60adc", + "x": 1208.6169738769531, + "y": 477.72231352329254, + "z": "abb03ec2.1302c", "wires": [ [ - "d76ba6eb.e3de18", - "831e1e0a.b55b5" + "18210040.f7fd", + "a600f6dc.575668" ] ] }, { - "id": "53ff7442.eb716c", + "id": "a40dbf74.a1697", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1206.450065612793, - "y": 391.47222581505775, - "z": "8fcccf93.60adc", + "x": 1198.3668746948242, + "y": 562.2222410440445, + "z": "abb03ec2.1302c", "wires": [ [ - "5f531b0e.661b14", - "88503201.4947a" + "e049bcb8.ea717", + "938498d8.452ba8" ] ] }, { - "id": "d76ba6eb.e3de18", + "id": "18210040.f7fd", "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": 1396.4497756958008, - "y": 333.58330979943275, - "z": "8fcccf93.60adc", + "x": 1388.366584777832, + "y": 504.3333250284195, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "5f531b0e.661b14", + "id": "e049bcb8.ea717", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1408.1997756958008, - "y": 383.2222754061222, - "z": "8fcccf93.60adc", + "x": 1400.116584777832, + "y": 553.972290635109, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "88503201.4947a", + "id": "938498d8.452ba8", "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": 1442.9779968261719, - "y": 438.4722754061222, - "z": "8fcccf93.60adc", + "x": 1434.8948059082031, + "y": 609.222290635109, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "e5253b3.93cfdc8", + "id": "587aa058.17015", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 770.6445693969727, - "y": 326.72222486138344, - "z": "8fcccf93.60adc", + "x": 762.5613784790039, + "y": 497.4722400903702, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "831e1e0a.b55b5", + "id": "a600f6dc.575668", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1384.1445999145508, - "y": 288.72222486138344, - "z": "8fcccf93.60adc", + "x": 1376.061408996582, + "y": 459.4722400903702, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "eaad2acf.d796b8", + "id": "7b29070b.2b3418", "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": 794.8945159912109, - "y": 289.4722239077091, - "z": "8fcccf93.60adc", + "x": 753.8113632202148, + "y": 464.222251534462, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "a9a1f180.7c415", + "id": "fb9d6c4d.6e48b", "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": 704.798957824707, - "y": 407.0710178911686, - "z": "8fcccf93.60adc", + "x": 696.7157669067383, + "y": 577.8210331201553, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "7f152c78.b49804", + "id": "7019d3e1.ebd7ac", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 706.6877136230469, - "y": 553.4042707979679, - "z": "8fcccf93.60adc", + "x": 762.6043853759766, + "y": 709.1541900634766, + "z": "abb03ec2.1302c", "wires": [ [ - "10c5cd3e.eaf973", - "f826ff63.d4d3b" + "47802f84.87ecc", + "8fb494f5.f53d88" ] ] }, { - "id": "60621b6e.4cf984", + "id": "2fb65749.35a418", "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": 1578.2434310913086, - "y": 536.1822010576725, - "z": "8fcccf93.60adc", + "x": 1634.1601028442383, + "y": 691.9321203231812, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "9417ad17.2d139", + "id": "cd5f6926.142538", "type": "for", "name": "For anchorsList", "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>", "comments": "", "outputs": 1, - "x": 602.9840087890625, - "y": 491.18206468224525, - "z": "8fcccf93.60adc", + "x": 594.9008178710938, + "y": 661.932079911232, + "z": "abb03ec2.1302c", "wires": [ [ - "bed41895.84d5c8" + "1e7a87fa.091718" ] ] }, { - "id": "bed41895.84d5c8", + "id": "1e7a87fa.091718", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 791.8728790283203, - "y": 488.9598108828068, - "z": "8fcccf93.60adc", + "x": 783.7896881103516, + "y": 659.7098261117935, + "z": "abb03ec2.1302c", "wires": [ [ - "d11391f7.cf4ee", - "60cac41e.ba2a8c" + "7ac24f54.54cde", + "85a9c9c2.9cbc88" ] ] }, { - "id": "d11391f7.cf4ee", + "id": "7ac24f54.54cde", "type": "switchNode", "name": "check schemaSetName", "xml": "<switch test='`$tmp.schemaset.name`'>\n", "comments": "", "outputs": 1, - "x": 1003.0211334228516, - "y": 484.9598862230778, - "z": "8fcccf93.60adc", + "x": 994.9379425048828, + "y": 655.7099014520645, + "z": "abb03ec2.1302c", "wires": [ [ - "17f8594d.2ab047" + "d6bd3a53.d6c968" ] ] }, { - "id": "60cac41e.ba2a8c", + "id": "85a9c9c2.9cbc88", "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": 991.7988662719727, - "y": 440.9598609507084, - "z": "8fcccf93.60adc", + "x": 983.7156753540039, + "y": 611.7098761796951, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "17f8594d.2ab047", + "id": "d6bd3a53.d6c968", "type": "outcome", "name": "if ran-network", "xml": "<outcome value='ran-network'>\n", "comments": "", "outputs": 1, - "x": 1228.5766067504883, - "y": 478.1821028292179, - "z": "8fcccf93.60adc", + "x": 1220.4934158325195, + "y": 648.9321180582047, + "z": "abb03ec2.1302c", "wires": [ [ - "273ef0a0.f16de" + "16d7468c.7061f9" ] ] }, { - "id": "273ef0a0.f16de", + "id": "16d7468c.7061f9", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1408.7124481201172, - "y": 485.4042707979679, - "z": "8fcccf93.60adc", + "x": 1400.6292572021484, + "y": 656.1542860269547, + "z": "abb03ec2.1302c", "wires": [ [ - "761eaade.869584", - "89e44e11.cad2c" + "30f34222.f6182e", + "705ed2e5.82e92c" ] ] }, { - "id": "3fde0c1e.f19d24", + "id": "373791ef.83e26e", "type": "execute", "name": "initialize earRTRIC size", "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t", "comments": "", "outputs": 1, - "x": 710.9963684082031, - "y": 442.7376200258732, - "z": "8fcccf93.60adc", + "x": 702.9131774902344, + "y": 613.4876352548599, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "761eaade.869584", + "id": "30f34222.f6182e", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1624.292625427246, - "y": 490.0710188448429, - "z": "8fcccf93.60adc", + "x": 1616.2094345092773, + "y": 660.8210340738297, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "f826ff63.d4d3b", + "id": "8fb494f5.f53d88", "type": "switchNode", "name": "check schemaSetName", "xml": "<switch test='`$tmp.schemaset.name`'>\n", "comments": "", "outputs": 1, - "x": 946.0704040527344, - "y": 569.0833250582218, - "z": "8fcccf93.60adc", + "x": 1001.9870758056641, + "y": 724.8332443237305, + "z": "abb03ec2.1302c", "wires": [ [ - "244c579a.39d708" + "82810a95.e92ac8" ] ] }, { - "id": "10c5cd3e.eaf973", + "id": "47802f84.87ecc", "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": 943.8481674194336, - "y": 529.083298355341, - "z": "8fcccf93.60adc", + "x": 999.7648391723633, + "y": 684.8332176208496, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "244c579a.39d708", + "id": "82810a95.e92ac8", "type": "outcome", "name": "if ran-network", "xml": "<outcome value='ran-network'>\n", "comments": "", "outputs": 1, - "x": 1183.625991821289, - "y": 549.3055903017521, - "z": "8fcccf93.60adc", + "x": 1239.5426635742188, + "y": 705.0555095672607, + "z": "abb03ec2.1302c", "wires": [ [ - "1ee0be55.b39cb2" + "ab77a8dd.426728" ] ] }, { - "id": "1ee0be55.b39cb2", + "id": "ab77a8dd.426728", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1369.761833190918, - "y": 536.5277577936649, - "z": "8fcccf93.60adc", + "x": 1425.6785049438477, + "y": 692.2776770591736, + "z": "abb03ec2.1302c", "wires": [ [ - "60621b6e.4cf984", - "d73c09d.36373f8" + "2fb65749.35a418", + "32971074.ad3d4" ] ] }, { - "id": "9faeeb4a.6490b8", + "id": "a950df01.a3825", "type": "for", "name": "For anchorsList", "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>", "comments": "", "outputs": 1, - "x": 493.75, - "y": 556.250004440546, - "z": "8fcccf93.60adc", + "x": 549.6666717529297, + "y": 711.9999237060547, + "z": "abb03ec2.1302c", "wires": [ [ - "7f152c78.b49804" + "7019d3e1.ebd7ac" ] ] }, { - "id": "89e44e11.cad2c", + "id": "705ed2e5.82e92c", "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": 1640.3500442504883, - "y": 449.25002160668373, - "z": "8fcccf93.60adc", + "x": 1632.2668533325195, + "y": 620.0000368356705, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "7a22f4d9.56920c", + "id": "57e7a91e.7ba918", "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": 691.75, - "y": 640.0000063478947, - "z": "8fcccf93.60adc", + "x": 747.6666717529297, + "y": 795.7499256134033, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "2c3f11c0.c765fe", + "id": "920cbd6b.d99df", "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": 645.7500534057617, - "y": 678.0000082552433, - "z": "8fcccf93.60adc", + "x": 701.6667251586914, + "y": 833.749927520752, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "2263fce9.da0114", + "id": "2cb3d5d3.84930a", "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": 656.7500076293945, - "y": 715.0000082552433, - "z": "8fcccf93.60adc", + "x": 712.6666793823242, + "y": 870.749927520752, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "c4b66996.105158", + "id": "af84c022.c86ad", "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": 672.7499618530273, - "y": 752.0000092089176, - "z": "8fcccf93.60adc", + "x": 728.666633605957, + "y": 907.7499284744263, + "z": "abb03ec2.1302c", "wires": [ [ - "ab20dbb2.e2f658", - "6fb9fdf8.2c76f4" + "cafdd69c.0bdde8", + "c89b481a.ca2538" ] ] }, { - "id": "50e53c8.b25d6c4", + "id": "edf448dd.9844e8", "type": "set", "name": "read rannfnssiid from input", "xml": "<set>\n<parameter name='tmp.payload.RANNFNSSIId' value=\"`$payloadJson.input.RANNFNSSIId`\"/>", "comments": "", - "x": 2020.3500061035156, - "y": 116.99999871850014, - "z": "8fcccf93.60adc", + "x": 2095.2666778564453, + "y": 125.333251953125, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "59694532.48d62c", + "id": "3cb7484.73ef7b8", "type": "set", "name": "read rannfnssiid from input", "xml": "<set>\n<parameter name='tmp.payload.RANNFNSSIId' value=\"`$payloadJson.input.RANNFNSSIId`\"/>", "comments": "", - "x": 2000.3500061035156, - "y": 357.0000025331974, - "z": "8fcccf93.60adc", + "x": 2056.2666778564453, + "y": 512.749921798706, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "330e0edf.9f5e02", + "id": "c356b45b.10a778", "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": 684.7500076293945, - "y": 789.400021225214, - "z": "8fcccf93.60adc", + "x": 740.6666793823242, + "y": 945.1499404907227, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "37cce2bc.1f6bee", + "id": "10ba7da1.3eff82", "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": 695.7500076293945, - "y": 824.0000216066837, - "z": "8fcccf93.60adc", + "x": 751.6666793823242, + "y": 979.7499408721924, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "38f75a79.327186", + "id": "1f8f4f99.a84fd", "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": 705.7500076293945, - "y": 858.2000223696232, - "z": "8fcccf93.60adc", + "x": 761.6666793823242, + "y": 1013.9499416351318, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "160f2833.531f98", + "id": "d188c7bd.aa5b68", "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": 738.75, - "y": 895.2000109255314, - "z": "8fcccf93.60adc", + "x": 794.6666717529297, + "y": 1050.94993019104, + "z": "abb03ec2.1302c", "wires": [ [ - "ee2752c9.2d115", - "cb8b6fcb.1a8a8" + "a70a3a6f.559c88", + "bda32ee7.8be0b" ] ] }, { - "id": "cb8b6fcb.1a8a8", + "id": "bda32ee7.8be0b", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 944.75, - "y": 950.4000231325626, - "z": "8fcccf93.60adc", + "x": 1000.6666717529297, + "y": 1106.1499423980713, + "z": "abb03ec2.1302c", "wires": [ [ - "67cb5b75.371994" + "d253117d.1f492" ] ] }, { - "id": "67cb5b75.371994", + "id": "d253117d.1f492", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1101.75, - "y": 951.4000231325626, - "z": "8fcccf93.60adc", + "x": 1157.6666717529297, + "y": 1107.1499423980713, + "z": "abb03ec2.1302c", "wires": [ [ - "ed61d082.56023", - "579971d.c9ad39", - "a34bd8bb.f8d8f8" + "4227305c.6c48e", + "ca3b224b.270e9", + "2bc02f4.7398ed" ] ] }, { - "id": "ed61d082.56023", + "id": "4227305c.6c48e", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1250.75004196167, - "y": 934.3999992907047, - "z": "8fcccf93.60adc", + "x": 1306.6667137145996, + "y": 1090.1499185562134, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "ee2752c9.2d115", + "id": "a70a3a6f.559c88", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 965.75, - "y": 891.4000231325626, - "z": "8fcccf93.60adc", + "x": 1021.6666717529297, + "y": 1047.1499423980713, + "z": "abb03ec2.1302c", "wires": [ [ - "9e13f33b.0ccde" + "f49b7623.7781d8" ] ] }, { - "id": "9e13f33b.0ccde", + "id": "f49b7623.7781d8", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 1097.75, - "y": 895.4000231325626, - "z": "8fcccf93.60adc", + "x": 1153.6666717529297, + "y": 1051.1499423980713, + "z": "abb03ec2.1302c", "wires": [ [ - "37fb3890.674748" + "81db8b8.119c578" ] ] }, { - "id": "37fb3890.674748", + "id": "81db8b8.119c578", "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'/>", + "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": 1228.75, - "y": 897.4000231325626, - "z": "8fcccf93.60adc", + "x": 1284.6666717529297, + "y": 1053.1499423980713, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "c3a47ad4.d626b8", + "id": "6b18a12f.d10b5", "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": 673.5500106811523, - "y": 958.0000368654728, - "z": "8fcccf93.60adc", + "x": 729.466682434082, + "y": 1113.7499561309814, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "99a422dc.5c911", + "id": "5bef0ce.71f29f4", "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": 681.5500106811523, - "y": 992.2000366747379, - "z": "8fcccf93.60adc", + "x": 737.466682434082, + "y": 1147.9499559402466, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4761043b.7b811c", + "id": "a31f1d9b.cfd73", "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": 710.5500106811523, - "y": 1029.2000013887882, - "z": "8fcccf93.60adc", + "x": 766.466682434082, + "y": 1184.9499206542969, + "z": "abb03ec2.1302c", "wires": [ [ - "1b029c70.0c8bb4", - "db7b260b.a16408" + "3fe8c183.c3d44e", + "589875fd.1aff2c" ] ] }, { - "id": "db7b260b.a16408", + "id": "589875fd.1aff2c", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 948.5500335693359, - "y": 1093.6000372469425, - "z": "8fcccf93.60adc", + "x": 1004.4667053222656, + "y": 1249.3499565124512, + "z": "abb03ec2.1302c", "wires": [ [ - "f63dd4d4.5933d8" + "5427875f.ecfe48" ] ] }, { - "id": "f63dd4d4.5933d8", + "id": "5427875f.ecfe48", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1104.5500411987305, - "y": 1092.6000372469425, - "z": "8fcccf93.60adc", + "x": 1160.4667129516602, + "y": 1248.3499565124512, + "z": "abb03ec2.1302c", "wires": [ [ - "daac99ef.fa4eb8", - "3595c328.1a299c", - "e41edae5.9cf558" + "aa4ee74e.37d858", + "992574a3.ab3b38", + "4319a1b1.be1a7" ] ] }, { - "id": "daac99ef.fa4eb8", + "id": "aa4ee74e.37d858", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1272.5499439239502, - "y": 1096.6001364290714, - "z": "8fcccf93.60adc", + "x": 1328.4666156768799, + "y": 1252.35005569458, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "1b029c70.0c8bb4", + "id": "3fe8c183.c3d44e", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 970.5499877929688, - "y": 1026.5999743044376, - "z": "8fcccf93.60adc", + "x": 1026.4666595458984, + "y": 1182.3498935699463, + "z": "abb03ec2.1302c", "wires": [ [ - "cda39818.4e56f8" + "54fb3d83.65a7e4" ] ] }, { - "id": "cda39818.4e56f8", + "id": "54fb3d83.65a7e4", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 1102.5499877929688, - "y": 1030.5999743044376, - "z": "8fcccf93.60adc", + "x": 1158.4666595458984, + "y": 1186.3498935699463, + "z": "abb03ec2.1302c", "wires": [ [ - "70e2634d.15364c" + "5e7fc66b.79a018" ] ] }, { - "id": "70e2634d.15364c", + "id": "5e7fc66b.79a018", "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'/>", + "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": 1236.5499420166016, - "y": 1047.6000010073185, - "z": "8fcccf93.60adc", + "x": 1292.4666137695312, + "y": 1203.3499202728271, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "fbfc228d.7f12a", + "id": "b13c3777.c05758", "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": 680.75, - "y": 927.4000231325626, - "z": "8fcccf93.60adc", + "x": 736.6666717529297, + "y": 1083.1499423980713, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "579971d.c9ad39", + "id": "ca3b224b.270e9", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1257.75004196167, - "y": 1007.2000004351139, - "z": "8fcccf93.60adc", + "x": 1313.6667137145996, + "y": 1162.9499197006226, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "a34bd8bb.f8d8f8", + "id": "2bc02f4.7398ed", "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": 1324.3501358032227, - "y": 970.5999990999699, - "z": "8fcccf93.60adc", + "x": 1380.2668075561523, + "y": 1126.3499183654785, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "3595c328.1a299c", + "id": "992574a3.ab3b38", "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": 1332.1500396728516, - "y": 1143.400063186884, - "z": "8fcccf93.60adc", + "x": 1388.0667114257812, + "y": 1299.1499824523926, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "e41edae5.9cf558", + "id": "4319a1b1.be1a7", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1298.1500244140625, - "y": 1180.8000475466251, - "z": "8fcccf93.60adc", + "x": 1354.0666961669922, + "y": 1336.5499668121338, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "fbb43054.82cea", + "id": "7db1a14f.9c81", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1781.949951171875, - "y": 602.4000231325626, - "z": "8fcccf93.60adc", + "x": 1837.8666229248047, + "y": 758.1499423980713, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4353beba.af64", + "id": "f3e2059a.a05248", "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": 1829.3500518798828, - "y": 835.4000097811222, - "z": "8fcccf93.60adc", + "x": 1885.2667236328125, + "y": 991.1499290466309, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "86dd5c7c.ee408", + "id": "9941102e.8ca6c", "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": 1791.349998474121, - "y": 878.4000345766544, - "z": "8fcccf93.60adc", + "x": 1847.2666702270508, + "y": 1034.149953842163, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "f5473661.9e2548", + "id": "87605bdb.ff95d8", "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": 1583.1500244140625, - "y": 1041.2000109255314, - "z": "8fcccf93.60adc", + "x": 1639.0666961669922, + "y": 1196.94993019104, + "z": "abb03ec2.1302c", "wires": [ [ - "3b9a50ad.f2cfc", - "909f9faf.91b46" + "8dd516ad.a52718", + "ab8eba7c.8f3cb8" ] ] }, { - "id": "896b6f7.113379", + "id": "21f3f680.83717a", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 683.7499847412109, - "y": 1180.599966675043, - "z": "8fcccf93.60adc", + "x": 739.6666564941406, + "y": 1336.3498859405518, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "aaace4af.4f88b8", + "id": "d67fb0e2.021c5", "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": 2244.14990234375, - "y": 1537.8000475466251, - "z": "8fcccf93.60adc", + "x": 2300.0665740966797, + "y": 1693.5499668121338, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "5249fbe1.95a714", + "id": "af79ecb2.3c29c", "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": 2206.1498489379883, - "y": 1580.8000723421574, - "z": "8fcccf93.60adc", + "x": 2262.066520690918, + "y": 1736.549991607666, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "fb33b407.b27a98", + "id": "39e6bc82.87d234", "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": 2215.75, - "y": 1630.4000231325626, - "z": "8fcccf93.60adc", + "x": 2271.6666717529297, + "y": 1786.1499423980713, + "z": "abb03ec2.1302c", "wires": [ [ - "9847a787.04e9f8", - "5f560c66.542f04" + "a3a2682c.8af378", + "41a7d799.d8fee8" ] ] }, { - "id": "1a3bdb67.694425", + "id": "f285d34.5f6423", "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": 3563.149948120117, - "y": 2542.2005240023136, - "z": "8fcccf93.60adc", + "x": 4050.0677795410156, + "y": 2809.950944274664, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "459f0b49.e88a44", + "id": "502b1ece.7b9d1", "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": 3515.1499557495117, - "y": 2595.2005240023136, - "z": "8fcccf93.60adc", + "x": 4017.067413330078, + "y": 2850.9510663449764, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "df9bb100.9f022", + "id": "c9d4772d.e46208", "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": 3486.749954223633, - "y": 2657.799938827753, - "z": "8fcccf93.60adc", + "x": 3966.667507171631, + "y": 2900.5504311025143, + "z": "abb03ec2.1302c", "wires": [ [ - "81cb8f59.a3daa", - "9d6a1f55.2c50c" + "29519b42.8a3c04", + "82dc9f9d.d054e" ] ] }, { - "id": "d9dafddb.45199", + "id": "63185ff6.6bdd5", "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": 1951.75, - "y": 3099.199949890375, - "z": "8fcccf93.60adc", + "x": 2007.6666717529297, + "y": 3254.949869155884, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "9aa15122.747e7", + "id": "9aa1fe61.40658", "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": 1987.7500305175781, - "y": 3044.200043350458, - "z": "8fcccf93.60adc", + "x": 2043.6667022705078, + "y": 3199.949962615967, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "79b94a76.0bd4d4", + "id": "cd7d4069.bbbcc", "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": 1961.3501510620117, - "y": 3148.7999006807804, - "z": "8fcccf93.60adc", + "x": 2017.2668228149414, + "y": 3304.549819946289, + "z": "abb03ec2.1302c", "wires": [ [ - "d2d2f2e4.73ac6", - "698480ff.773f" + "68ed7e7d.f9def", + "269672fe.9559de" ] ] }, { - "id": "e5bc3a0d.62e558", + "id": "53db9608.ba2c18", "type": "execute", "name": "generate delete nssai from celldu url", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.celldu.plmn.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>", "comments": "", "outputs": 1, - "x": 3093.75, - "y": 5108.39990106225, - "z": "8fcccf93.60adc", + "x": 3149.6666717529297, + "y": 5264.149820327759, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "955efe13.2221a", + "id": "c7d87cb3.35f2a", "type": "execute", "name": "prepare tbdmt template", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.deletenssai.celldu.plmn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.celldu.plmn.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-nssai-from-du-plmninfo`\"/>", "comments": "", "outputs": 1, - "x": 3055.7499465942383, - "y": 5151.399925857782, - "z": "8fcccf93.60adc", + "x": 3111.666618347168, + "y": 5307.149845123291, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "827c61e5.babef", + "id": "64b0ebe2.01e5e4", "type": "execute", "name": "delete snssai from du plmninfo", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.deletenssai.celldu.plmn.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/delete-celldu-plmn-nssai.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-du-plmninfo-nssai-delete-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>", "comments": "", "outputs": 1, - "x": 3065.35009765625, - "y": 5200.999876648188, - "z": "8fcccf93.60adc", + "x": 3121.2667694091797, + "y": 5356.749795913696, + "z": "abb03ec2.1302c", "wires": [ [ - "2f06586c.7d50b8", - "1a3ddfd5.e9251" + "387f3b08.a164d4", + "131e7a39.845786" ] ] }, { - "id": "1e1e1413.5ae28c", + "id": "c72e4ac8.c5ea18", "type": "execute", "name": "generate delete nssai from du url", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.du.rrmpolicy.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>", "comments": "", "outputs": 1, - "x": 4492.749961853027, - "y": 6050.599990516901, - "z": "8fcccf93.60adc", + "x": 6255.668930053711, + "y": 6204.350530266762, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "fb07d4ce.d0d638", + "id": "2141cb06.9d35d4", "type": "execute", "name": "prepare tbdmt template", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.deletenssai.du.rrmpolicy.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.du.rrmpolicy.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-nssai-from-du-rrmpolicy`\"/>", "comments": "", "outputs": 1, - "x": 4450.749961853027, - "y": 6103.599991470575, - "z": "8fcccf93.60adc", + "x": 6185.669448852539, + "y": 6239.350527405739, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "e67a3c06.e0a29", + "id": "8e6a00d0.7d7a4", "type": "execute", "name": "delete snssai from du rrm", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.deletenssai.du.rrmpolicy.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/delete-celldu-rrm-nssai.json '`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-du-rrm-nssai-delete-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>", "comments": "", "outputs": 1, - "x": 4424.349960327148, - "y": 6180.199991852045, - "z": "8fcccf93.60adc", + "x": 6172.2690505981445, + "y": 6273.950790047646, + "z": "abb03ec2.1302c", "wires": [ [ - "d43499c6.aabef8", - "43ee118e.12a5e" + "c290983f.bc1468", + "9db75ac1.2e9318" ] ] }, { - "id": "a5301370.f6ba6", - "type": "execute", - "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": 2916.9500427246094, - "y": 2170.6499325335026, - "z": "8fcccf93.60adc", - "wires": [ - [] - ] - }, - { - "id": "e0724946.901d28", + "id": "17c40d72.c75e13", "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": 2507.949951171875, - "y": 3374.050053268671, - "z": "8fcccf93.60adc", + "x": 3193.8665466308594, + "y": 3733.8001581430435, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "3e7a68f7.31a648", + "id": "fc97f2d.beb331", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2068.550048828125, - "y": 3752.050053268671, - "z": "8fcccf93.60adc", + "x": 2124.4667205810547, + "y": 3907.7999725341797, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "8970baaf.687768", + "id": "6b90a8e7.d01cc8", "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": 4022.1499633789062, - "y": 5581.049891144037, - "z": "8fcccf93.60adc", + "x": 4721.066360473633, + "y": 5975.799403518438, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "37738501.baa66a", + "id": "d8ed2779.9097d8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3547.949951171875, - "y": 2274.199949890375, - "z": "8fcccf93.60adc", + "x": 3578.8669395446777, + "y": 2695.949991554022, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "87c20073.faffa", + "id": "211a363.d6d93ca", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 4254.949966430664, - "y": 2257.200079590082, - "z": "8fcccf93.60adc", + "x": 4389.867317199707, + "y": 2478.950181633234, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "682673b1.c736fc", + "id": "e2f33aa.99865c8", "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": 3548.14990234375, - "y": 2239.800047546625, - "z": "8fcccf93.60adc", + "x": 3677.067008972168, + "y": 2655.550089210272, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "a0314ea0.0a641", - "type": "failure", - "name": "failure", - "xml": "<outcome value='false'>\n", + "id": "76da6af6.531dd4", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Existing RRMPolicyRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_cellCU`\"/>\n", "comments": "", "outputs": 1, - "x": 3892.75, - "y": 2356.800047546625, - "z": "8fcccf93.60adc", + "x": 2587.2670822143555, + "y": 2367.1500460207462, + "z": "abb03ec2.1302c", "wires": [ - [ - "4fa579a.d522c88" - ] + [] ] }, { - "id": "4fa579a.d522c88", + "id": "501d8052.81ad5", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4087.75, - "y": 2406.800047546625, - "z": "8fcccf93.60adc", + "x": 3797.7336654663086, + "y": 2815.950606673956, + "z": "abb03ec2.1302c", "wires": [ [ - "21af5d0b.a67d72", - "92c6811b.55423" + "b10aaf7c.8415b", + "502b1ece.7b9d1", + "f285d34.5f6423", + "c9d4772d.e46208", + "963421c1.48dea", + "4b994acf.3bf804", + "b7e46ad9.d13a48", + "1b59bf3d.0beda1", + "9bba3db6.3e713", + "6dfc24f6.903bac", + "a11d76af.150c28", + "4ba8950f.47997c" ] ] }, { - "id": "21af5d0b.a67d72", + "id": "24131615.1eae3a", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 4259.75, - "y": 2417.800047546625, - "z": "8fcccf93.60adc", + "x": 3533.466651916504, + "y": 2270.550105422735, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "add2e711.622b58", + "id": "5799de85.64ffb", "type": "set", "name": "set boolflag", - "xml": "<set>\n<parameter name='tmp.setboolflagcucp' value=\"false\" />\n", + "xml": "<set>\n<parameter name='tmp.setboolflagcuup' value=\"false\" />\n", "comments": "", - "x": 2509.3501358032227, - "y": 2103.4000536501408, - "z": "8fcccf93.60adc", + "x": 2097.266799926758, + "y": 3640.3500661849976, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "978aca38.56e1a8", + "id": "75276ea.a9bcd9", + "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": 3246.667007446289, + "y": 3764.350289940834, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "a827c7f2.306828", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4393.466968536377, + "y": 4013.3506396710873, + "z": "abb03ec2.1302c", + "wires": [ + [ + "aecf7c03.c6659" + ] + ] + }, + { + "id": "aecf7c03.c6659", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2522.3501358032227, - "y": 2140.3999315798283, - "z": "8fcccf93.60adc", + "x": 4557.467365264893, + "y": 4013.350638717413, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "e1612bb6.90d608", + "id": "81ab610f.0607e", "type": "set", - "name": "set boolflag", - "xml": "<set>\n<parameter name='tmp.setboolflagcucp' value=\"true\" />\n", + "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": 4584.467212677002, + "y": 4055.350578635931, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "17f10272.1220ce", + "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": 3467.14990234375, - "y": 2074.4000231325626, - "z": "8fcccf93.60adc", + "x": 4598.467761993408, + "y": 4089.3507007062435, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "fed3a110.72241", + "id": "d4ea0c85.8b5f9", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4378.467697143555, + "y": 4056.350090354681, + "z": "abb03ec2.1302c", + "wires": [ + [ + "17f10272.1220ce", + "81ab610f.0607e" + ] + ] + }, + { + "id": "2b8811d1.fb751e", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 4228.467258453369, + "y": 4072.3501132428646, + "z": "abb03ec2.1302c", + "wires": [ + [ + "d4ea0c85.8b5f9" + ] + ] + }, + { + "id": "40e0017f.c3e72", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 4229.46711730957, + "y": 4037.351188033819, + "z": "abb03ec2.1302c", + "wires": [ + [ + "a827c7f2.306828" + ] + ] + }, + { + "id": "3e33baab.790b86", + "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": 4019.4669876098633, + "y": 4008.350622177124, + "z": "abb03ec2.1302c", + "wires": [ + [ + "40e0017f.c3e72", + "2b8811d1.fb751e" + ] + ] + }, + { + "id": "ea38e329.ec965", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 4099.467018127441, + "y": 4110.350068897009, + "z": "abb03ec2.1302c", + "wires": [ + [ + "64e6bc4c.92a7b4" + ] + ] + }, + { + "id": "ab25b8fe.b1f0c8", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 4106.4670486450195, + "y": 4182.5503233373165, + "z": "abb03ec2.1302c", + "wires": [ + [ + "e9eeab75.5363e8" + ] + ] + }, + { + "id": "64e6bc4c.92a7b4", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4268.467018127441, + "y": 4109.350068897009, + "z": "abb03ec2.1302c", + "wires": [ + [ + "67de806f.c5a17", + "34aeabf7.a6e2c4" + ] + ] + }, + { + "id": "34aeabf7.a6e2c4", + "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": 4506.467014312744, + "y": 4148.350313991308, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "67de806f.c5a17", + "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": 4502.467014312744, + "y": 4108.350313037634, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "e9eeab75.5363e8", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 CPS\"/>", + "comments": "", + "outputs": 1, + "x": 4299.467197418213, + "y": 4174.350007861853, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "75fa21f8.1ea17", + "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": 4006.4679374694824, + "y": 4058.1005415916443, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "3e6c4145.b29f5e", + "type": "execute", + "name": "prepare tbdmt template", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.deletenssai.cuup.rrmpolicy.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.deletenssai.cuup.rrmpolicy.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-nssai-from-cuup-rrmpolicy`\"/>", + "comments": "", + "outputs": 1, + "x": 3918.4679374694824, + "y": 4096.100218296051, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "10f698b7.b0c4e7", + "type": "execute", + "name": "delete snssai from cucp rrm", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.deletenssai.cuup.rrmpolicy.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/delete-cuup-rrm-nssai.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-cuup-rrm-nssai-delete-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>", + "comments": "", + "outputs": 1, + "x": 3917.06787109375, + "y": 4139.700479507446, + "z": "abb03ec2.1302c", + "wires": [ + [ + "ea38e329.ec965", + "ab25b8fe.b1f0c8" + ] + ] + }, + { + "id": "9d266b67.dc2548", "type": "set", "name": "set boolflag", - "xml": "<set>\n<parameter name='tmp.setboolflagcucp' value=\"true\" />\n", + "xml": "<set>\n<parameter name='tmp.setboolflagdu' value=\"true\" />\n", "comments": "", - "x": 4283.14990234375, - "y": 2222.800047546625, - "z": "8fcccf93.60adc", + "x": 4633.466537475586, + "y": 5574.749998092651, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "92c6811b.55423", + "id": "6f0907c6.445ca8", "type": "set", "name": "set boolflag", - "xml": "<set>\n<parameter name='tmp.setboolflagcucp' value=\"false\" />\n", + "xml": "<set>\n<parameter name='tmp.setboolflagdu' value=\"true\" />\n", "comments": "", - "x": 4270.14990234375, - "y": 2381.800047546625, - "z": "8fcccf93.60adc", + "x": 5457.466468811035, + "y": 6015.416928619146, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "3881b0a9.f0cb6", - "type": "switchNode", - "name": "check bool flag", - "xml": "<switch test='`$tmp.setboolflagcucp == true`'>\n\n \n", + "id": "ae789f2.865126", + "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": 4816.467102050781, + "y": 6015.416766494513, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "e0ab130a.aab48", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", "comments": "", "outputs": 1, - "x": 2912.349899291992, - "y": 2512.2000357210636, - "z": "8fcccf93.60adc", + "x": 5746.5346755981445, + "y": 6262.351178765297, + "z": "abb03ec2.1302c", "wires": [ [ - "4e5b57c8.ea0b48", - "54afc41f.d9854c" + "c72e4ac8.c5ea18", + "2141cb06.9d35d4", + "8e6a00d0.7d7a4" ] ] }, { - "id": "4e5b57c8.ea0b48", - "type": "success", - "name": "success", - "xml": "<outcome value='true'>\n", + "id": "4a834742.54cdf8", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 4806.666839599609, + "y": 6051.816684097052, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "79afbda7.95ca14", + "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": 3119.1501388549805, - "y": 2478.200033813715, - "z": "8fcccf93.60adc", + "x": 1092.9166717529297, + "y": 888.9999237060547, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "a8669b36.ec8a18", + "type": "execute", + "name": "generate RAN inventory 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.getInventory.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.inventory.schemaset`\"/>", + "comments": "", + "outputs": 1, + "x": 944.1041641235352, + "y": 4043.1875324249268, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "f0c04e42.213fe", + "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.getInventory.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getInventory.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-ran-slices`\"/>", + "comments": "", + "outputs": 1, + "x": 934.4861221313477, + "y": 4080.410129070282, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "6abbce64.cfb32", + "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 inventory details - CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.getInventory.url`\" />", + "comments": "", + "outputs": 1, + "x": 959.4861831665039, + "y": 4126.660129547119, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "61e843f7.c5359c", + "type": "execute", + "name": "Fetch inventory details in CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getInventory.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-terminate-rannfnssi-ran-inventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"get-inventory-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": 932.8542556762695, + "y": 4175.687533378601, + "z": "abb03ec2.1302c", "wires": [ [ - "1563a4c8.5d8e0b" + "790b355a.d4509c", + "2668f1f4.ae678e" ] ] }, { - "id": "1563a4c8.5d8e0b", + "id": "b5c5b17d.76ad", "type": "block", - "name": "block : atomic", + "name": "update inventory", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3270.8165435791016, - "y": 2476.2004248201847, - "z": "8fcccf93.60adc", + "x": 650.3542213439941, + "y": 4045.687527179718, + "z": "abb03ec2.1302c", "wires": [ [ - "fa41d18.c262c3", - "4c7e73c6.06d01c", - "459f0b49.e88a44", - "1a3bdb67.694425", - "df9bb100.9f022" + "a8669b36.ec8a18", + "f0c04e42.213fe", + "6abbce64.cfb32", + "61e843f7.c5359c", + "4d1f651.3b0e19c", + "4fe7a884.4a2658" ] ] }, { - "id": "54afc41f.d9854c", + "id": "790b355a.d4509c", "type": "failure", "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1204.1043395996094, + "y": 4109.437533378601, + "z": "abb03ec2.1302c", + "wires": [ + [ + "262007d6.b7ab08" + ] + ] + }, + { + "id": "262007d6.b7ab08", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1344.104658126831, + "y": 4117.437411308289, + "z": "abb03ec2.1302c", + "wires": [ + [ + "9a300eab.0f4f2", + "e944d16c.f6542" + ] + ] + }, + { + "id": "e944d16c.f6542", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RAN Inventory. Aborting RPC executiopn'/>", + "comments": "", + "x": 1467.8542766571045, + "y": 4062.2988605499268, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "9a300eab.0f4f2", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating inventory in CPS. Aborting RPC executiopn'/>", + "comments": "", + "x": 1533.1040782928467, + "y": 4120.437472343445, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "17d602ca.2df31d", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 inventory\"/>", + "comments": "", + "outputs": 1, + "x": 1552.1043300628662, + "y": 4172.437660217285, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "c854f48b.9d2738", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1366.104082107544, + "y": 4188.43741607666, + "z": "abb03ec2.1302c", + "wires": [ + [ + "17d602ca.2df31d", + "aa6e1ca.2a805e" + ] + ] + }, + { + "id": "2668f1f4.ae678e", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1208.1042919158936, + "y": 4189.437170982361, + "z": "abb03ec2.1302c", + "wires": [ + [ + "c854f48b.9d2738" + ] + ] + }, + { + "id": "aa6e1ca.2a805e", + "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": 1522.8541717529297, + "y": 4213.187423706055, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "4d1f651.3b0e19c", + "type": "switchNode", + "name": "check slices length", + "xml": "<switch test='`$tmp.profiles_length == 1`'>\n", + "comments": "", + "outputs": 1, + "x": 596.6041793823242, + "y": 4324.437538146973, + "z": "abb03ec2.1302c", + "wires": [ + [ + "98db652d.c00fa8", + "66e223f6.6b1b2c" + ] + ] + }, + { + "id": "98db652d.c00fa8", + "type": "outcome", + "name": "length==1", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 822.8541793823242, + "y": 4330.687540054321, + "z": "abb03ec2.1302c", + "wires": [ + [ + "89cc1ee.43539e" + ] + ] + }, + { + "id": "66e223f6.6b1b2c", + "type": "outcome", + "name": "more than one sNSSAI", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3129.7610778808594, - "y": 2531.5334345400333, - "z": "8fcccf93.60adc", + "x": 858.9653778076172, + "y": 4537.882368087769, + "z": "abb03ec2.1302c", "wires": [ [ - "5795102d.5b0af" + "7a58f496.2d97bc" ] ] }, { - "id": "5795102d.5b0af", + "id": "89cc1ee.43539e", "type": "block", - "name": "block : atomic", + "name": "delete-rannfnssi", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3272.428024291992, - "y": 2537.8670279085636, - "z": "8fcccf93.60adc", + "x": 1027.8541946411133, + "y": 4326.937539100647, + "z": "abb03ec2.1302c", "wires": [ [ - "f94293f4.f74a" + "153042f7.87ff5d", + "3cf81843.6c32f8", + "4b4e18c5.c15f18", + "198da8dd.5d9977" ] ] }, { - "id": "f94293f4.f74a", + "id": "153042f7.87ff5d", + "type": "execute", + "name": "generate RAN inventory 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.delete.rannfnssi.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.inventory.schemaset`\"/>", + "comments": "", + "outputs": 1, + "x": 1323.1666870117188, + "y": 4245.687539100647, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "3cf81843.6c32f8", + "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.delete.rannfnssi.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.delete.rannfnssi.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-rannfnssi`\"/>", + "comments": "", + "outputs": 1, + "x": 1291.0486297607422, + "y": 4300.410134792328, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "4b4e18c5.c15f18", "type": "record", - "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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\"/>", + "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 delete inventory in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.delete.rannfnssi.url`\" />", "comments": "", "outputs": 1, - "x": 3170.550094604492, - "y": 2653.2000357210636, - "z": "8fcccf93.60adc", + "x": 1323.5487670898438, + "y": 4349.160135269165, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4c7e73c6.06d01c", + "id": "198da8dd.5d9977", + "type": "execute", + "name": "Fetch inventory details in CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.delete.rannfnssi.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-terminate-rannfnssi-ran-inventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"delete-inventory-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": 1309.4168395996094, + "y": 4396.937541007996, + "z": "abb03ec2.1302c", + "wires": [ + [ + "3efbb6d9.31638a", + "d293b4a2.1d7068" + ] + ] + }, + { + "id": "3efbb6d9.31638a", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1570.666847229004, + "y": 4343.187424659729, + "z": "abb03ec2.1302c", + "wires": [ + [ + "9f1b6b71.3bb218" + ] + ] + }, + { + "id": "9f1b6b71.3bb218", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1710.6671657562256, + "y": 4351.1873025894165, + "z": "abb03ec2.1302c", + "wires": [ + [ + "fee9893d.6a6038", + "ff4676bd.4eb108" + ] + ] + }, + { + "id": "ff4676bd.4eb108", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RAN Inventory. Aborting RPC executiopn'/>", + "comments": "", + "x": 1834.416784286499, + "y": 4296.048751831055, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "fee9893d.6a6038", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating inventory in CPS. Aborting RPC executiopn'/>", + "comments": "", + "x": 1899.6665859222412, + "y": 4354.187363624573, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "bb8bcb74.8cdc68", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 fetched inventory details\"/>", + "comments": "", + "outputs": 1, + "x": 1918.6668376922607, + "y": 4406.187551498413, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "39e03cf9.cad814", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1732.6665897369385, + "y": 4422.187307357788, + "z": "abb03ec2.1302c", + "wires": [ + [ + "bb8bcb74.8cdc68", + "e218a012.f4a2e" + ] + ] + }, + { + "id": "d293b4a2.1d7068", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1574.666799545288, + "y": 4423.187062263489, + "z": "abb03ec2.1302c", + "wires": [ + [ + "39e03cf9.cad814" + ] + ] + }, + { + "id": "e218a012.f4a2e", + "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": 1889.4166793823242, + "y": 4446.937314987183, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "7a58f496.2d97bc", + "type": "block", + "name": "delete-sNSSAI", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1130.0416717529297, + "y": 4533.187545776367, + "z": "abb03ec2.1302c", + "wires": [ + [ + "7ef60dcd.ed34d4", + "c684d384.8dcc5", + "6bba75a8.26354c", + "d70b48f4.946558", + "3f067569.ce2f5a" + ] + ] + }, + { + "id": "7ef60dcd.ed34d4", + "type": "execute", + "name": "generate RAN inventory 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.delete.snssai.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.inventory.schemaset`\"/>", "comments": "", "outputs": 1, - "x": 3520.5499572753906, - "y": 2415.2001310884953, - "z": "8fcccf93.60adc", + "x": 1444.1041641235352, + "y": 4528.187424659729, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "c89d3afb.7a6348", + "id": "c684d384.8dcc5", + "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.delete.snssai.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.delete.snssai.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-slice-profile`\"/>", + "comments": "", + "outputs": 1, + "x": 1411.9861068725586, + "y": 4582.91002035141, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "6bba75a8.26354c", "type": "record", - "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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", + "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 delete inventory in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.delete.snssai.url`\" />", "comments": "", "outputs": 1, - "x": 3002.550048828125, - "y": 2460.800047546625, - "z": "8fcccf93.60adc", + "x": 1444.4862442016602, + "y": 4631.660020828247, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "a45d5441.d86118", + "id": "d70b48f4.946558", + "type": "execute", + "name": "Fetch inventory details in CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.delete.snssai.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-terminate-snssai-ran-inventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"delete-inventory-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": 1430.3543167114258, + "y": 4679.437426567078, + "z": "abb03ec2.1302c", + "wires": [ + [ + "a7b18a36.5a2088", + "312cddf5.8f3842" + ] + ] + }, + { + "id": "a7b18a36.5a2088", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1691.6043243408203, + "y": 4625.687310218811, + "z": "abb03ec2.1302c", + "wires": [ + [ + "fa8c7714.728ec8" + ] + ] + }, + { + "id": "fa8c7714.728ec8", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1831.604642868042, + "y": 4633.6871881484985, + "z": "abb03ec2.1302c", + "wires": [ + [ + "9d34e20.ebf372", + "fca5d943.336fa8" + ] + ] + }, + { + "id": "fca5d943.336fa8", "type": "set", - "name": "set boolflag", - "xml": "<set>\n<parameter name='tmp.setboolflagcuup' value=\"false\" />\n", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RAN Inventory. Aborting RPC executiopn'/>", "comments": "", - "x": 2041.3501281738281, - "y": 3484.600146919489, - "z": "8fcccf93.60adc", + "x": 1955.3542613983154, + "y": 4578.548637390137, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "8c7191c1.d720d", + "id": "9d34e20.ebf372", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating inventory in CPS. Aborting RPC executiopn'/>", + "comments": "", + "x": 2020.6040630340576, + "y": 4636.687249183655, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "15e6ea5c.309856", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 inventory\"/>", + "comments": "", + "outputs": 1, + "x": 2039.6043148040771, + "y": 4688.687437057495, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "71e0fd53.5c8d34", "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 ", + "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": 3077.750045776367, - "y": 3504.600149780512, - "z": "8fcccf93.60adc", + "x": 2010.3541564941406, + "y": 4729.437200546265, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "44a9d8d9.c568f8", - "type": "set", - "name": "set boolflag", - "xml": "<set>\n<parameter name='tmp.setboolflagcuup' value=\"true\" />\n", + "id": "baac77bd.99f8d8", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", "comments": "", - "x": 2777.35009765625, - "y": 3185.60009637475, - "z": "8fcccf93.60adc", - "wires": [] + "outputs": 1, + "x": 1853.6040668487549, + "y": 4704.68719291687, + "z": "abb03ec2.1302c", + "wires": [ + [ + "15e6ea5c.309856", + "71e0fd53.5c8d34" + ] + ] }, { - "id": "7249cf75.b17a5", - "type": "failure", - "name": "False", - "xml": "<outcome value='false'>\n", + "id": "312cddf5.8f3842", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3316.75, - "y": 3577.60009637475, - "z": "8fcccf93.60adc", + "x": 1695.6042766571045, + "y": 4705.686947822571, + "z": "abb03ec2.1302c", "wires": [ [ - "e3062132.3d744" + "baac77bd.99f8d8" ] ] }, { - "id": "85fee7e.7765818", + "id": "3f067569.ce2f5a", "type": "set", - "name": "set boolflag", - "xml": "<set>\n<parameter name='tmp.setboolflagcuup' value=\"true\" />\n", + "name": "set slice profile id", + "xml": "<set>\n<parameter name='tmp.payload.sliceProfileId' value='`$tmp.sliceprofileid`'/>", + "comments": "", + "x": 1420.3541717529297, + "y": 4476.937423706055, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "4fe7a884.4a2658", + "type": "set", + "name": "set profiles size", + "xml": "<set>\n<parameter name='tmp.profiles_length' value='`$get-inventory-cps-response.sliceProfilesList_length`'/>", "comments": "", - "x": 3773.75, - "y": 3463.60009637475, - "z": "8fcccf93.60adc", + "x": 832.8541793823242, + "y": 4253.18754196167, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "e3062132.3d744", + "id": "fba6ef16.926e4", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3513.75, - "y": 3587.60009637475, - "z": "8fcccf93.60adc", + "x": 3191.4168243408203, + "y": 2555.999949783087, + "z": "abb03ec2.1302c", "wires": [ [ - "3ae297a4.3b7858" + "8648aa3d.911368" ] ] }, { - "id": "3ae297a4.3b7858", - "type": "set", - "name": "set boolflag", - "xml": "<set>\n<parameter name='tmp.setboolflagcuup' value=\"false\" />\n", + "id": "23156f2f.85cfd", + "type": "execute", + "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": "", - "x": 3711.75, - "y": 3629.60009637475, - "z": "8fcccf93.60adc", - "wires": [] + "outputs": 1, + "x": 4389.416763305664, + "y": 2533.999989181757, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] }, { - "id": "cc43b3.50676c5", - "type": "switchNode", - "name": "check bool flag", - "xml": "<switch test='`$tmp.setboolflagcuup == true`'>\n\n \n", + "id": "2104a3f4.4d9a8c", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2445.1499404907227, - "y": 3689.2000052034855, - "z": "8fcccf93.60adc", + "x": 3566.4166717529297, + "y": 2296.9999192655087, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "e07013c4.e34c2", + "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": 3591.2558822631836, + "y": 2353.6889737546444, + "z": "abb03ec2.1302c", "wires": [ [ - "1fdf344c.c41b5c", - "741fc37b.b8c8dc" + "dd176e38.ea65a", + "5276c174.1e5ea" ] ] }, { - "id": "1fdf344c.c41b5c", + "id": "dd176e38.ea65a", "type": "success", "name": "success", - "xml": "<outcome value='true'>\n", + "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2642.9501419067383, - "y": 3693.1999479830265, - "z": "8fcccf93.60adc", + "x": 3843.006004333496, + "y": 2326.43888220191, + "z": "abb03ec2.1302c", "wires": [ [ - "d656e792.b4e8d8" + "36d9b018.46cd2" ] ] }, { - "id": "d656e792.b4e8d8", + "id": "36d9b018.46cd2", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2794.6165466308594, - "y": 3691.2003389894962, - "z": "8fcccf93.60adc", + "x": 3990.505729675293, + "y": 2349.938689559698, + "z": "abb03ec2.1302c", "wires": [ [ - "a0bd0fc.8879af", - "464be133.3bf93", - "42a9e3c1.47bdac", - "a77a0947.889998" + "9e6a563.c7403a8" ] ] }, { - "id": "741fc37b.b8c8dc", + "id": "5276c174.1e5ea", "type": "failure", "name": "failure", - "xml": "<outcome value='false'>\n", + "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2653.561080932617, - "y": 3746.533348709345, - "z": "8fcccf93.60adc", + "x": 3844.255947113037, + "y": 2373.6887296140194, + "z": "abb03ec2.1302c", "wires": [ [ - "a5931210.0f3ca" + "eaf8ab1c.c4d7c8" ] ] }, { - "id": "a5931210.0f3ca", + "id": "eaf8ab1c.c4d7c8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2796.22802734375, - "y": 3752.866942077875, - "z": "8fcccf93.60adc", + "x": 3997.5066146850586, + "y": 2409.6887296140194, + "z": "abb03ec2.1302c", "wires": [ [ - "abb4729d.24214" + "42a9318b.9b4eb", + "8e212cda.f0852", + "316b9170.fe028e" ] ] }, { - "id": "8ef02ebf.6a3e1", + "id": "9e6a563.c7403a8", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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\"/>", + "comments": "", + "outputs": 1, + "x": 4163.005702972412, + "y": 2370.189126342535, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "8e212cda.f0852", + "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": 4289.255321502686, + "y": 2396.188761085272, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "42a9318b.9b4eb", + "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": 4310.255016326904, + "y": 2441.1890042722225, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "bd00b4e3.549f08", + "type": "execute", + "name": "generate delete rrmpolicyratio from nrcellcu 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": 3585.4166564941406, + "y": 2403.9999183118343, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "bc1cfc87.adef2", + "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-nrcellcu-rrmpolicyratio`\"/>", + "comments": "", + "outputs": 1, + "x": 3527.416898727417, + "y": 2447.000040382147, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "f9c06ff1.be8df", + "type": "execute", + "name": "delete rrmpolicy from nrcellcu", + "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-nrcellcu-rrmpolicyratio.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-nrcellcu-rrmpolicy-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": 3527.0169372558594, + "y": 2485.5992835462093, + "z": "abb03ec2.1302c", + "wires": [ + [ + "2616f4c8.6e73cc", + "49633d2e.2230b4" + ] + ] + }, + { + "id": "2616f4c8.6e73cc", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3767.616973876953, + "y": 2465.6493934094906, + "z": "abb03ec2.1302c", + "wires": [ + [ + "9bfa85e9.82fcc8" + ] + ] + }, + { + "id": "49633d2e.2230b4", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3777.616912841797, + "y": 2521.8501370847225, + "z": "abb03ec2.1302c", + "wires": [ + [ + "be2498d9.bc6e48" + ] + ] + }, + { + "id": "9bfa85e9.82fcc8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3586.550094604492, - "y": 3695.600150734186, - "z": "8fcccf93.60adc", + "x": 3942.6170349121094, + "y": 2461.6493628919125, + "z": "abb03ec2.1302c", "wires": [ [ - "40ead4d7.d3110c" + "2344520e.11779e", + "551fc191.a96c3" ] ] }, { - "id": "40ead4d7.d3110c", + "id": "be2498d9.bc6e48", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 CPS\"/>", "comments": "", "outputs": 1, - "x": 3750.550491333008, - "y": 3695.600149780512, - "z": "8fcccf93.60adc", + "x": 3940.6168518066406, + "y": 2527.649361938238, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "c2687019.23726", + "id": "2344520e.11779e", "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'/>", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Removing cellCU RRMPolicyRatio. Aborting RPC executiopn'/>", "comments": "", - "x": 3719.5501022338867, - "y": 3751.6001516878605, - "z": "8fcccf93.60adc", + "x": 4123.16667175293, + "y": 2463.9999192655087, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "d3d954a2.e388d8", + "id": "551fc191.a96c3", "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'/>", + "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": 3760.550491333008, - "y": 3794.6001516878605, - "z": "8fcccf93.60adc", + "x": 4144.166366577148, + "y": 2509.0001624524593, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "8eb28f3e.78944", + "id": "963421c1.48dea", + "type": "switchNode", + "name": "ransim mounted", + "xml": "<switch test='`$prop.ransim-mounted`'>\n", + "comments": "", + "outputs": 1, + "x": 3618.9168548583984, + "y": 2909.250735282898, + "z": "abb03ec2.1302c", + "wires": [ + [ + "6e4ef15b.5c928", + "941ef479.64cbb8" + ] + ] + }, + { + "id": "6e4ef15b.5c928", + "type": "outcome", + "name": "Not Mounted", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 3818.0281867980957, + "y": 2939.3610877990723, + "z": "abb03ec2.1302c", + "wires": [ + [ + "c62c247c.e6e558" + ] + ] + }, + { + "id": "c62c247c.e6e558", + "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": 4061.91707611084, + "y": 2985.138808578253, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "941ef479.64cbb8", + "type": "outcome", + "name": "Mounted", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 3782.4269485473633, + "y": 2976.028081893921, + "z": "abb03ec2.1302c", + "wires": [ + [ + "43659423.6b749c" + ] + ] + }, + { + "id": "43659423.6b749c", "type": "block", - "name": "block : atomic", + "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3516.550491333008, - "y": 3763.5997606813908, - "z": "8fcccf93.60adc", + "x": 3937.5274047851562, + "y": 3026.0272420346737, + "z": "abb03ec2.1302c", "wires": [ [ - "d3d954a2.e388d8", - "c2687019.23726" + "adeb1cf5.7242e", + "813188df.fdbd38" ] ] }, { - "id": "4d76f420.ec8b5c", - "type": "failure", - "name": "failure", - "xml": "<outcome value='failure'>\n", + "id": "adeb1cf5.7242e", + "type": "execute", + "name": "generate patchRRMPolicyRatio.ToNRCellCU", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 4221.194671630859, + "y": 3024.1388953626156, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "813188df.fdbd38", + "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": 4162.972694396973, + "y": 3067.13880571723, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "4b994acf.3bf804", + "type": "execute", + "name": "patch NRCellCU - RRMPolicyRatio", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellCU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />", "comments": "", "outputs": 1, - "x": 3303.5500984191895, - "y": 3776.6001516878605, - "z": "8fcccf93.60adc", + "x": 3499.8055267333984, + "y": 3131.9167556762695, + "z": "abb03ec2.1302c", "wires": [ [ - "8eb28f3e.78944" + "c2e6e410.d99f98", + "3d2f2969.645746" ] ] }, { - "id": "3ab45df3.a5d9d2", + "id": "c2e6e410.d99f98", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3420.5500984191895, - "y": 3695.6009298861027, - "z": "8fcccf93.60adc", + "x": 3770.9166564941406, + "y": 3091.2498944699764, + "z": "abb03ec2.1302c", "wires": [ [ - "8ef02ebf.6a3e1" + "6a77332c.128c3c" ] ] }, { - "id": "a0bd0fc.8879af", - "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' />", + "id": "3d2f2969.645746", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3056.550048828125, - "y": 3699.600149780512, - "z": "8fcccf93.60adc", + "x": 3759.9166564941406, + "y": 3145.250016540289, + "z": "abb03ec2.1302c", "wires": [ [ - "3ab45df3.a5d9d2", - "4d76f420.ec8b5c" + "74e72848.094c38" ] ] }, { - "id": "ffc1bf9e.fc93d", - "type": "failure", - "name": "failure", - "xml": "<outcome value='failure'>\n", + "id": "6a77332c.128c3c", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3961.9166564941406, + "y": 3091.2498944699764, + "z": "abb03ec2.1302c", + "wires": [ + [ + "a519e777.6ecca8" + ] + ] + }, + { + "id": "74e72848.094c38", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3970.916961669922, + "y": 3160.250016540289, + "z": "abb03ec2.1302c", + "wires": [ + [ + "f6b3af6e.2a0d8", + "e4ba086a.a4a508", + "316b9170.fe028e" + ] + ] + }, + { + "id": "a519e777.6ecca8", + "type": "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-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>", + "comments": "", + "outputs": 1, + "x": 4146.916412353516, + "y": 3092.2501386106014, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "e4ba086a.a4a508", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>", + "comments": "", + "x": 4228.916656494141, + "y": 3135.2498944699764, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "f6b3af6e.2a0d8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>", + "comments": "", + "x": 4195.916717529297, + "y": 3174.250077575445, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "cb8edbb3.435c38", + "type": "execute", + "name": "generate putRRMPolicyRatio 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.rrmpolicy.putCUCP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>", + "comments": "", + "outputs": 1, + "x": 3508.9166717529297, + "y": 3188.2499192655087, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "1b72b84d.8431b8", + "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.rrmpolicy.putCUCP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUCP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrcellcu-rrm-policy`\"/>", + "comments": "", + "outputs": 1, + "x": 3463.7710571289062, + "y": 3216.4160455167294, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "a7085af0.419a78", + "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/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update rrm policy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putCUCP.url`\" />", + "comments": "", + "outputs": 1, + "x": 3497.243194580078, + "y": 3248.7774308621883, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "1ebb1946.6490c7", + "type": "execute", + "name": "Update RRMPolicy for gNBCUCP in CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcellcu-rrm-policy-ratio.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>", "comments": "", "outputs": 1, - "x": 3526.550048828125, - "y": 3894.60009637475, - "z": "8fcccf93.60adc", + "x": 3546.138870239258, + "y": 3281.8052113950253, + "z": "abb03ec2.1302c", "wires": [ [ - "e752ee7f.a45d1" + "2ca29ec4.95c722", + "53f895d5.431cac" ] ] }, { - "id": "2756e5a6.12894a", + "id": "53f895d5.431cac", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3533.550079345703, - "y": 3966.8003508150578, - "z": "8fcccf93.60adc", + "x": 3775.416648864746, + "y": 3282.249441832304, + "z": "abb03ec2.1302c", + "wires": [ + [ + "32ae34db.6bd85c" + ] + ] + }, + { + "id": "2ca29ec4.95c722", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3759.639060974121, + "y": 3210.361068099737, + "z": "abb03ec2.1302c", "wires": [ [ - "e4a76058.f034b" + "c4b5f578.1acd88" ] ] }, { - "id": "e752ee7f.a45d1", + "id": "c4b5f578.1acd88", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3695.550048828125, - "y": 3893.60009637475, - "z": "8fcccf93.60adc", + "x": 3963.416572570801, + "y": 3211.2496388852596, + "z": "abb03ec2.1302c", "wires": [ [ - "3badcc60.036ef4", - "f360a666.d63a58" + "b66fe49b.98c768", + "3f7df7af.965248", + "316b9170.fe028e" ] ] }, { - "id": "f360a666.d63a58", + "id": "3f7df7af.965248", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicy member - NRCellCU. Aborting RPC executiopn'/>", + "comments": "", + "x": 4144.971870422363, + "y": 3205.0275844037533, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "b66fe49b.98c768", "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'/>", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in CPS. Aborting RPC executiopn'/>", "comments": "", - "x": 3880.5498962402344, - "y": 3933.6001965105534, - "z": "8fcccf93.60adc", + "x": 4139.971717834473, + "y": 3243.3608668744564, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "3badcc60.036ef4", + "id": "e98ebcc1.5047e", + "type": "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-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated CPS - NRCellCU RRMPolicy \"/>", + "comments": "", + "outputs": 1, + "x": 4050.4168281555176, + "y": 3279.2497470080853, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "32ae34db.6bd85c", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 3914.416736602783, + "y": 3286.2496249377728, + "z": "abb03ec2.1302c", + "wires": [ + [ + "e98ebcc1.5047e" + ] + ] + }, + { + "id": "b7e46ad9.d13a48", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3213.9166717529297, + "y": 3181.2499192655087, + "z": "abb03ec2.1302c", + "wires": [ + [ + "cb8edbb3.435c38", + "1b72b84d.8431b8", + "a7085af0.419a78", + "1ebb1946.6490c7" + ] + ] + }, + { + "id": "1b59bf3d.0beda1", "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'/>", + "name": "set API params", + "xml": "<set>\n\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_updated`'/>\n ", "comments": "", - "x": 3876.5498962402344, - "y": 3893.600195556879, - "z": "8fcccf93.60adc", + "x": 3547.4167709350586, + "y": 3092.5006580352783, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "e4a76058.f034b", + "id": "420677de.35e248", + "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": 4314.66667175293, + "y": 2606.2499192655087, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "247e6afb.1e9ed6", + "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": 4292.16667175293, + "y": 2645.4998219907284, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "e519dd06.decc4", + "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": 4312.604759216309, + "y": 2680.0623229444027, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "b7f44ced.6f42e", + "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.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": 4328.10417175293, + "y": 2711.8124211728573, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "9b14b594.570588", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 4264.1402587890625, + "y": 2752.0846513211727, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "b100653c.1013b8", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3776.550048828125, - "y": 3978.60009637475, - "z": "8fcccf93.60adc", + "x": 3132.1666717529297, + "y": 3436.2499192655087, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "464be133.3bf93", + "id": "e4d2ad9d.a7fd7", "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": "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": 3102.5498962402344, - "y": 3825.350152641535, - "z": "8fcccf93.60adc", + "x": 3195.666675567627, + "y": 3471.850310176611, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "42a9e3c1.47bdac", + "id": "76194848.213b18", "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`\"/>", + "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": 3088.549903869629, - "y": 3873.350153595209, - "z": "8fcccf93.60adc", + "x": 3184.604564666748, + "y": 3504.662810653448, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "a77a0947.889998", + "id": "1fe6ef1b.3aa081", "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": "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": 3195.104175567627, + "y": 3541.4128116071224, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "31d48eb1.246592", + "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": 3176.4166717529297, + "y": 3581.2499192655087, + "z": "abb03ec2.1302c", + "wires": [ + [ + "24427339.8cae9c", + "b7421661.babf78" + ] + ] + }, + { + "id": "24427339.8cae9c", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3523.4168663024902, + "y": 3491.250646919012, + "z": "abb03ec2.1302c", + "wires": [ + [ + "b6a1c7dc.4d3ce8" + ] + ] + }, + { + "id": "b6a1c7dc.4d3ce8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", "comments": "", "outputs": 1, - "x": 3099.150291442871, - "y": 3923.950153976679, - "z": "8fcccf93.60adc", + "x": 3689.416862487793, + "y": 3491.2498677670956, + "z": "abb03ec2.1302c", "wires": [ [ - "ffc1bf9e.fc93d", - "2756e5a6.12894a" + "c40f7cae.14f2a" ] ] }, { - "id": "abb4729d.24214", + "id": "c40f7cae.14f2a", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2833.8721084594727, - "y": 3828.3328692018986, - "z": "8fcccf93.60adc", + "x": 3853.4172592163086, + "y": 3491.2498668134212, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "ac6c3541.982568", + "id": "64a3862c.b564e8", "type": "set", - "name": "set boolflag", - "xml": "<set>\n<parameter name='tmp.setboolflagdu' value=\"false\" />\n", + "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": 3601.14990234375, - "y": 5580.9999987185, - "z": "8fcccf93.60adc", + "x": 3822.4168701171875, + "y": 3547.24986872077, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "eda6612.f569aa", - "type": "set", - "name": "set boolflag", - "xml": "<set>\n<parameter name='tmp.setboolflagdu' value=\"true\" />\n", + "id": "e5bcac8a.3a4fd", + "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": 4577.549865722656, - "y": 5419.000078827143, - "z": "8fcccf93.60adc", + "x": 3863.4172592163086, + "y": 3590.24986872077, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "8dabe4b6.ce35f8", - "type": "set", - "name": "set boolflag", - "xml": "<set>\n<parameter name='tmp.setboolflagdu' value=\"true\" />\n", + "id": "6247f9c7.4edfa8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", "comments": "", - "x": 5356.5498046875, - "y": 5622.9999987185, - "z": "8fcccf93.60adc", - "wires": [] + "outputs": 1, + "x": 3619.4172592163086, + "y": 3559.2494777143, + "z": "abb03ec2.1302c", + "wires": [ + [ + "e5bcac8a.3a4fd", + "64a3862c.b564e8" + ] + ] }, { - "id": "e7e3aa0b.dd1b58", + "id": "b7421661.babf78", "type": "failure", "name": "failure", - "xml": "<outcome value='false'>\n", + "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 4938.75, - "y": 5743.9999987185, - "z": "8fcccf93.60adc", + "x": 3476.4168548583984, + "y": 3544.2499154508114, + "z": "abb03ec2.1302c", "wires": [ [ - "a8416984.69e2d8" + "6247f9c7.4edfa8" ] ] }, { - "id": "a8416984.69e2d8", + "id": "a20a96ee.7c1d28", + "type": "execute", + "name": "generate delete rrmpolicyratio 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.rrmpolicy.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>", + "comments": "", + "outputs": 1, + "x": 3224.1666717529297, + "y": 3621.7499192655087, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "98178b1b.25eaa8", + "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-cuup-rrmpolicyratio`\"/>", + "comments": "", + "outputs": 1, + "x": 3166.166913986206, + "y": 3664.750041335821, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "1efc544a.a3accc", + "type": "execute", + "name": "delete rrmpolicy from nrcellcu", + "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-rrmpolicyratio.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-cuup-rrmpolicy-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": 3165.7669525146484, + "y": 3703.3492844998837, + "z": "abb03ec2.1302c", + "wires": [ + [ + "353dcb68.7770b4", + "6fb327b2.06b688" + ] + ] + }, + { + "id": "353dcb68.7770b4", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3406.366989135742, + "y": 3683.399394363165, + "z": "abb03ec2.1302c", + "wires": [ + [ + "6968c085.e92bc" + ] + ] + }, + { + "id": "6968c085.e92bc", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 5124.417259216309, - "y": 5749.33367601037, - "z": "8fcccf93.60adc", + "x": 3581.3670501708984, + "y": 3679.399363845587, + "z": "abb03ec2.1302c", "wires": [ [ - "aa95b9ca.c425b8", - "8997def1.32afe" + "7bccd44f.b8165c", + "ab509d74.3db14" ] ] }, { - "id": "aa95b9ca.c425b8", + "id": "7bccd44f.b8165c", "type": "set", - "name": "set boolflag", - "xml": "<set>\n<parameter name='tmp.setboolflagdu' value=\"false\" />\n", + "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": 5340.749980926514, - "y": 5820.000670105219, - "z": "8fcccf93.60adc", + "x": 3761.9166870117188, + "y": 3681.749920219183, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "24d6a02.3128a6", - "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 ", + "id": "ab509d74.3db14", + "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": 3782.9163818359375, + "y": 3726.7501634061337, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "1c58d59a.6d90aa", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 rrmpolicy Entry from CPS\"/>", "comments": "", "outputs": 1, - "x": 4692.550262451172, - "y": 5590.999983459711, - "z": "8fcccf93.60adc", + "x": 3579.3668670654297, + "y": 3745.3993628919125, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "7209a5b6.303a7c", + "id": "6fb327b2.06b688", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3416.366928100586, + "y": 3739.600138038397, + "z": "abb03ec2.1302c", + "wires": [ + [ + "1c58d59a.6d90aa" + ] + ] + }, + { + "id": "399dde95.b28cc2", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2644.9168815612793, + "y": 3704.2503922879696, + "z": "abb03ec2.1302c", + "wires": [ + [ + "132f41e5.fc3b1e" + ] + ] + }, + { + "id": "f6a68741.1a0468", "type": "switchNode", - "name": "check bool flag", - "xml": "<switch test='`$tmp.setboolflagdu == true`'>\n\n \n", + "name": "ransim mounted", + "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3900.1499557495117, - "y": 5885.600183159113, - "z": "8fcccf93.60adc", + "x": 3869.4171562194824, + "y": 4179.250204563141, + "z": "abb03ec2.1302c", "wires": [ [ - "2deff8bc.282e68", - "56374127.b0d4e" + "2f4373c1.c157ec", + "a251f0f7.c67f2" ] ] }, { - "id": "2deff8bc.282e68", - "type": "success", - "name": "success", + "id": "2f4373c1.c157ec", + "type": "outcome", + "name": "Not Mounted", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 4054.4170837402344, + "y": 4222.138629108667, + "z": "abb03ec2.1302c", + "wires": [ + [ + "19dbfb2a.78a175" + ] + ] + }, + { + "id": "a251f0f7.c67f2", + "type": "outcome", + "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 4066.9500617980957, - "y": 5855.600085884333, - "z": "8fcccf93.60adc", + "x": 4093.0284099578857, + "y": 4260.583290964365, + "z": "abb03ec2.1302c", "wires": [ [ - "e85b5d6f.9203d" + "ab1f3821.7fbd38" ] ] }, { - "id": "e85b5d6f.9203d", + "id": "19dbfb2a.78a175", + "type": "execute", + "name": "patch RRMPolicyRatio CUUP- URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n", + "comments": "", + "outputs": 1, + "x": 4305.4169845581055, + "y": 4216.139053672552, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "ab1f3821.7fbd38", "type": "block", - "name": "block : atomic", + "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4214.616508483887, - "y": 5892.600430160761, - "z": "8fcccf93.60adc", + "x": 4246.305995941162, + "y": 4257.249887794256, + "z": "abb03ec2.1302c", "wires": [ [ - "6c3cf57c.ca322c", - "1e1e1413.5ae28c", - "fb07d4ce.d0d638", - "e67a3c06.e0a29" + "573e7dcc.9e9094", + "fd528602.ea2948", + "fd8178e.712b388", + "44733c1b.3d20a4", + "9b321463.224328", + "28baad34.ab8b92", + "8049c9d9.809368", + "514ae71b.559918", + "da5ea8e5.80d1f8" ] ] }, { - "id": "56374127.b0d4e", + "id": "573e7dcc.9e9094", + "type": "execute", + "name": "patch RRMPolicyRatio.TogNBCUUP", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 4552.750324249268, + "y": 4252.805492728949, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "fd528602.ea2948", + "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": 4496.7507247924805, + "y": 4305.805686324835, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "9b321463.224328", + "type": "execute", + "name": "patch CUUP- RRMPolicyRatio", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-CUUP-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />", + "comments": "", + "outputs": 1, + "x": 4472.667282104492, + "y": 4419.250862121582, + "z": "abb03ec2.1302c", + "wires": [ + [ + "e40d7904.f7a368", + "fed32f03.da285" + ] + ] + }, + { + "id": "e40d7904.f7a368", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 4707.777870178223, + "y": 4439.139359474182, + "z": "abb03ec2.1302c", + "wires": [ + [ + "6aef4ee0.f73c1" + ] + ] + }, + { + "id": "fed32f03.da285", "type": "failure", "name": "failure", - "xml": "<outcome value='false'>\n", + "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 4073.5610427856445, - "y": 5947.9334398806095, - "z": "8fcccf93.60adc", + "x": 4687.778079986572, + "y": 4480.139698028564, + "z": "abb03ec2.1302c", "wires": [ [ - "a69b1832.481b98" + "13244e52.137992" ] ] }, { - "id": "a69b1832.481b98", + "id": "6aef4ee0.f73c1", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4216.227989196777, - "y": 5954.26703324914, - "z": "8fcccf93.60adc", + "x": 4898.777870178223, + "y": 4439.139359474182, + "z": "abb03ec2.1302c", "wires": [ [ - "4854c572.a9736c" + "5158538b.77987c" ] ] }, { - "id": "4854c572.a9736c", + "id": "5158538b.77987c", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>", + "comments": "", + "outputs": 1, + "x": 5083.777626037598, + "y": 4440.139603614807, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "13244e52.137992", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4870.778079986572, + "y": 4483.139698028564, + "z": "abb03ec2.1302c", + "wires": [ + [ + "f523eab4.3a6d68", + "bc103bfd.1bfdf8" + ] + ] + }, + { + "id": "bc103bfd.1bfdf8", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>", + "comments": "", + "x": 5165.777870178223, + "y": 4483.139359474182, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "f523eab4.3a6d68", + "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 CPS. Aborting RPC executiopn'/>", + "comments": "", + "x": 5126.7778396606445, + "y": 4532.139759063721, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "44733c1b.3d20a4", + "type": "set", + "name": "set API params", + "xml": "<set>\n\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_updated`'/> \n<parameter name='tmp.RRMPolicyRatio_id' value='`$tmp.CUUPRRMPolicyRatio_id`'/>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.CUUPRRMPolicyMember_id`'/> ", + "comments": "", + "x": 4441.167610168457, + "y": 4383.25216293335, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "28baad34.ab8b92", + "type": "execute", + "name": "generate update CUUP rrmpolicy 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.rrmpolicy.putCUUP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>", + "comments": "", + "outputs": 1, + "x": 4454.917121887207, + "y": 4483.251514434814, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "8049c9d9.809368", + "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.rrmpolicy.putCUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUUP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-cuup-rrm-policy`\"/>", "comments": "", "outputs": 1, - "x": 4244.5498046875, - "y": 6013.60009637475, - "z": "8fcccf93.60adc", + "x": 4399.326438903809, + "y": 4515.196341514587, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "b99d40ae.ec37f", + "id": "da5ea8e5.80d1f8", + "type": "execute", + "name": "Update cellCU for gNBCUUP in CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-cuup-rrm-policy-ratio.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-rrmpolicy-cuup-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": 4424.678855895996, + "y": 4588.648768424988, + "z": "abb03ec2.1302c", + "wires": [ + [ + "d5fe0724.bcc958", + "9de9ef90.5f5d2" + ] + ] + }, + { + "id": "9de9ef90.5f5d2", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 4704.028736114502, + "y": 4539.168200492859, + "z": "abb03ec2.1302c", + "wires": [ + [ + "d0596930.ccf1d8" + ] + ] + }, + { + "id": "d5fe0724.bcc958", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 4707.278491973877, + "y": 4594.667590141296, + "z": "abb03ec2.1302c", + "wires": [ + [ + "184b4c18.4618a4" + ] + ] + }, + { + "id": "d0596930.ccf1d8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4860.528675079346, + "y": 4539.418018341064, + "z": "abb03ec2.1302c", + "wires": [ + [ + "d7b6c32d.7a2c7", + "91477b2a.2ee838" + ] + ] + }, + { + "id": "91477b2a.2ee838", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>", + "comments": "", + "x": 5069.028793334961, + "y": 4558.168832778931, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "d7b6c32d.7a2c7", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in CPS. Aborting RPC executiopn'/>", + "comments": "", + "x": 5168.278186798096, + "y": 4589.667773246765, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "c452b705.8205d8", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 CPS - CUUP RRMPolicyRatio \"/>", "comments": "", "outputs": 1, - "x": 4682.75, - "y": 5627.39990106225, - "z": "8fcccf93.60adc", + "x": 5024.278430938721, + "y": 4605.667590141296, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "8997def1.32afe", + "id": "184b4c18.4618a4", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 4874.278491973877, + "y": 4594.667530059814, + "z": "abb03ec2.1302c", + "wires": [ + [ + "c452b705.8205d8" + ] + ] + }, + { + "id": "514ae71b.559918", "type": "record", - "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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", + "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 update CUUP-rrmpolicy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\" />", "comments": "", "outputs": 1, - "x": 5340.149982452393, - "y": 5769.20027795434, - "z": "8fcccf93.60adc", + "x": 4440.576705932617, + "y": 4553.11236000061, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "7b706a97.7a6964", + "id": "26a1f6e0.1a508a", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4684.58317565918, + "y": 5879.749919265509, + "z": "abb03ec2.1302c", + "wires": [ + [ + "9fb991d1.05be4", + "a376a235.39bc8", + "90a6f159.4312f", + "c78579e8.e2e118" + ] + ] + }, + { + "id": "9fb991d1.05be4", "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'`\" />", + "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": 1037, - "y": 733.250004440546, - "z": "8fcccf93.60adc", + "x": 4985.029148101807, + "y": 5836.762940257788, + "z": "abb03ec2.1302c", "wires": [ - [] + [ + "b45f8819.003bc8", + "2f8e51bb.0e7f7e" + ] ] }, { - "id": "350c8d90.a17472", + "id": "a376a235.39bc8", "type": "execute", - "name": "generate RAN inventory 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.getInventory.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.inventory.schemaset`\"/>", + "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.delete.du.rrmpolicy.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>", "comments": "", "outputs": 1, - "x": 888.1874923706055, - "y": 3887.437613159418, - "z": "8fcccf93.60adc", + "x": 4960.716453552246, + "y": 5875.749440521002, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "f63bf770.9832b8", + "id": "90a6f159.4312f", "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.getInventory.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getInventory.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-ran-slices`\"/>", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.delete.du.rrmpolicy.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.delete.du.rrmpolicy.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-nrcelldu-rrmpolicyratio`\"/>", "comments": "", "outputs": 1, - "x": 878.569450378418, - "y": 3924.6602098047733, - "z": "8fcccf93.60adc", + "x": 4931.716457366943, + "y": 5923.749441474676, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "dcf0043f.b14eb8", - "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 inventory details - CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.getInventory.url`\" />", + "id": "c78579e8.e2e118", + "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.delete.du.rrmpolicy.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/delete-nrcelldu-rrmpolicyratio.json '`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-du-rrm-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": 903.5695114135742, - "y": 3970.9102102816105, - "z": "8fcccf93.60adc", + "x": 4929.316390991211, + "y": 5959.349704116583, + "z": "abb03ec2.1302c", "wires": [ - [] + [ + "9508e784.c18038", + "af8b9ffa.5cc64" + ] ] }, { - "id": "c01289d5.f2cd08", - "type": "execute", - "name": "Fetch inventory details in CPS", - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getInventory.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-terminate-rannfnssi-ran-inventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"get-inventory-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\"/>", + "id": "9508e784.c18038", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 5114.51692199707, + "y": 5932.999441474676, + "z": "abb03ec2.1302c", + "wires": [ + [ + "fecb3f88.91e9f" + ] + ] + }, + { + "id": "af8b9ffa.5cc64", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 876.9375839233398, - "y": 4019.9376141130924, - "z": "8fcccf93.60adc", + "x": 5120.51692199707, + "y": 5991.200616210699, + "z": "abb03ec2.1302c", "wires": [ [ - "897874a.c509288", - "2590b985.b6fd76" + "46cea62f.d58ed8" ] ] }, { - "id": "6c6388e1.95b308", + "id": "fecb3f88.91e9f", "type": "block", - "name": "update inventory", + "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 594.4375495910645, - "y": 3889.9376079142094, - "z": "8fcccf93.60adc", + "x": 5289.516925811768, + "y": 5951.99944242835, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "46cea62f.d58ed8", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 CPS\"/>", + "comments": "", + "outputs": 1, + "x": 5271.516927719116, + "y": 6000.999444335699, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "b45f8819.003bc8", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 5242.967613220215, + "y": 5785.900479644537, + "z": "abb03ec2.1302c", "wires": [ [ - "350c8d90.a17472", - "f63bf770.9832b8", - "dcf0043f.b14eb8", - "c01289d5.f2cd08", - "d8590e45.46de7", - "d00157b8.fde708" + "36e6455b.38bbea" ] ] }, { - "id": "897874a.c509288", + "id": "2f8e51bb.0e7f7e", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1148.1876678466797, - "y": 3953.6876141130924, - "z": "8fcccf93.60adc", + "x": 5235.966957092285, + "y": 5857.649831146002, + "z": "abb03ec2.1302c", "wires": [ [ - "6cdfa210.ea5fdc" + "d913933f.232b9" ] ] }, { - "id": "6cdfa210.ea5fdc", + "id": "36e6455b.38bbea", "type": "block", - "name": "block", - "xml": "<block>", - "atomic": "false", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", "comments": "", "outputs": 1, - "x": 1288.1879863739014, - "y": 3961.68749204278, - "z": "8fcccf93.60adc", + "x": 5427.217620849609, + "y": 5781.650479644537, + "z": "abb03ec2.1302c", "wires": [ [ - "2f6c4f5d.58459", - "edf07513.82d468" + "a54d9178.a5c4b" ] ] }, { - "id": "edf07513.82d468", + "id": "a54d9178.a5c4b", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 5597.717365264893, + "y": 5754.649829238653, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "a1650065.fbd67", "type": "set", "name": "set", - "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RAN Inventory. Aborting RPC executiopn'/>", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing cellDU RRMPolicyRatio. Aborting RPC executiopn'/>", "comments": "", - "x": 1411.9376049041748, - "y": 3906.548941284418, - "z": "8fcccf93.60adc", + "x": 5636.9669761657715, + "y": 5847.649831146002, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "2f6c4f5d.58459", + "id": "e708afc6.59711", "type": "returnFailure", "name": "return failure", - "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/>", + "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": 1477.187406539917, - "y": 3964.687553077936, - "z": "8fcccf93.60adc", + "x": 5623.9669761657715, + "y": 5896.649832099676, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "b1086ae7.775b68", - "type": "record", - "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 inventory\"/>", + "id": "d913933f.232b9", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", "comments": "", "outputs": 1, - "x": 1496.1876583099365, - "y": 4016.6877409517765, - "z": "8fcccf93.60adc", + "x": 5406.966968536377, + "y": 5860.649831146002, + "z": "abb03ec2.1302c", "wires": [ - [] + [ + "e708afc6.59711", + "a1650065.fbd67" + ] ] }, { - "id": "56f6e791.ce2378", + "id": "3bb9c20c.0a09ce", "type": "block", - "name": "block", - "xml": "<block>\n", - "atomic": "false", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4545.58317565918, + "y": 6017.416423171759, + "z": "abb03ec2.1302c", + "wires": [ + [ + "ae789f2.865126", + "4a834742.54cdf8", + "e02ae738.4dff58", + "6b90a8e7.d01cc8" + ] + ] + }, + { + "id": "10ce3de5.b76cd2", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", "comments": "", "outputs": 1, - "x": 1310.1874103546143, - "y": 4032.6874968111515, - "z": "8fcccf93.60adc", + "x": 5476.583335876465, + "y": 6184.083596557379, + "z": "abb03ec2.1302c", "wires": [ [ - "b1086ae7.775b68", - "df465158.61279" + "f52485bc.b1bb48", + "e0ab130a.aab48", + "5e2c53ee.43a4fc", + "e21c2b10.8a7858", + "14e964d1.a8267b", + "7ec33097.8aa65", + "274edf4.fc4522", + "de14c9d9.ef42c8", + "1dd258ec.9132e7", + "5cb1e73f.917de8", + "582a6a33.3bc014", + "aeacb554.bfc748", + "bb1690be.0a83", + "d5240e27.822ee", + "504b422f.779c6c" ] ] }, { - "id": "2590b985.b6fd76", + "id": "f52485bc.b1bb48", + "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": 5815.02880859375, + "y": 6215.0966202020645, + "z": "abb03ec2.1302c", + "wires": [ + [ + "cd614c51.49ac3", + "340ab288.b8ca4e" + ] + ] + }, + { + "id": "cd614c51.49ac3", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1152.1876201629639, - "y": 4033.687251716852, - "z": "8fcccf93.60adc", + "x": 6059.968276977539, + "y": 6102.2339874506, + "z": "abb03ec2.1302c", "wires": [ [ - "56f6e791.ce2378" + "b1225947.05be98" ] ] }, { - "id": "df465158.61279", - "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", + "id": "340ab288.b8ca4e", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 6053.967628479004, + "y": 6142.98333799839, + "z": "abb03ec2.1302c", + "wires": [ + [ + "6ade0349.834f8c" + ] + ] + }, + { + "id": "b1225947.05be98", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 6246.218105316162, + "y": 6096.983974099159, + "z": "abb03ec2.1302c", + "wires": [ + [ + "fad326ff.fc4bd8" + ] + ] + }, + { + "id": "fad326ff.fc4bd8", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1466.9375, - "y": 4057.437504440546, - "z": "8fcccf93.60adc", + "x": 6416.717849731445, + "y": 6069.983323693275, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "d8590e45.46de7", - "type": "switchNode", - "name": "check slices length", - "xml": "<switch test='`$tmp.profiles_length == 1`'>\n", + "id": "c8b9e8f.e8fe418", + "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": 6390.968152999878, + "y": 6162.9831730127335, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "c222ec69.323b7", + "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": 6422.968154907227, + "y": 6127.983171820641, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "6ade0349.834f8c", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", "comments": "", "outputs": 1, - "x": 540.6875076293945, - "y": 4168.687618881464, - "z": "8fcccf93.60adc", + "x": 6221.967632293701, + "y": 6145.9833389520645, + "z": "abb03ec2.1302c", "wires": [ [ - "b4af3967.ac1c48", - "c974c54b.3c13a8" + "c222ec69.323b7", + "c8b9e8f.e8fe418" ] ] }, { - "id": "b4af3967.ac1c48", - "type": "outcome", - "name": "length==1", - "xml": "<outcome value='true'>\n", + "id": "5e2c53ee.43a4fc", + "type": "execute", + "name": "patch NRCellDU - RRMPolicyRatio", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellDU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />", "comments": "", "outputs": 1, - "x": 766.9375076293945, - "y": 4174.937620788813, - "z": "8fcccf93.60adc", + "x": 5676.58349609375, + "y": 6508.750274032354, + "z": "abb03ec2.1302c", "wires": [ [ - "d5cd0750.57be38" + "22370c2e.6856b4", + "d91a1f4a.29e2f" ] ] }, { - "id": "c974c54b.3c13a8", - "type": "outcome", - "name": "more than one sNSSAI", - "xml": "<outcome value='false'>\n", + "id": "22370c2e.6856b4", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 5971.297378540039, + "y": 6543.178197234869, + "z": "abb03ec2.1302c", + "wires": [ + [ + "b7bce499.6b57c8" + ] + ] + }, + { + "id": "d91a1f4a.29e2f", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 803.0487060546875, - "y": 4382.13244882226, - "z": "8fcccf93.60adc", + "x": 5980.297470092773, + "y": 6591.178840011358, + "z": "abb03ec2.1302c", "wires": [ [ - "79c04406.89b2fc" + "796a76c5.8a3588" ] ] }, { - "id": "d5cd0750.57be38", + "id": "b7bce499.6b57c8", "type": "block", - "name": "delete-rannfnssi", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 6162.297378540039, + "y": 6543.178197234869, + "z": "abb03ec2.1302c", + "wires": [ + [ + "ac574f86.36af" + ] + ] + }, + { + "id": "ac574f86.36af", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 - cellDU RRMpolicyRatio\"/>", + "comments": "", + "outputs": 1, + "x": 6347.297134399414, + "y": 6544.178441375494, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "796a76c5.8a3588", + "type": "block", + "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 971.9375228881836, - "y": 4171.187619835138, - "z": "8fcccf93.60adc", + "x": 6166.797657012939, + "y": 6584.928839534521, + "z": "abb03ec2.1302c", "wires": [ [ - "c91831ab.7ae38", - "1c3bae02.c0f192", - "9b94e49d.d28e58", - "4376498a.6f0b78" + "37337306.8c8edc", + "ccb8be33.3f232" ] ] }, { - "id": "c91831ab.7ae38", + "id": "ccb8be33.3f232", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU RRMPolicyRatio. Aborting RPC executiopn'/>", + "comments": "", + "x": 6429.297378540039, + "y": 6587.178197234869, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "37337306.8c8edc", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>", + "comments": "", + "x": 6408.296905517578, + "y": 6623.178499549627, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "274edf4.fc4522", "type": "execute", - "name": "generate RAN inventory 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.delete.rannfnssi.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.inventory.schemaset`\"/>", + "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_id`\"/>\n", + "comments": "", + "outputs": 1, + "x": 5757.91667175293, + "y": 6183.749919265509, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "7ec33097.8aa65", + "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": 5750.4171142578125, + "y": 6147.999949783087, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "14e964d1.a8267b", + "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": 5726.97917175293, + "y": 6113.437418311834, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "e21c2b10.8a7858", + "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": 5754.479232788086, + "y": 6080.187447875738, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "84e35ce4.a7ed6", + "type": "set", + "name": "Calculate updated RRMPolicyRatio", + "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`\" />", + "comments": "", + "x": 3682.499710083008, + "y": 5756.47746309638, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "b61127a2.26b4e8", + "type": "execute", + "name": "Set existing RRMPolicyRatio", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellDU-old' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n\t\n\t", + "comments": "", + "outputs": 1, + "x": 3632.250030517578, + "y": 5710.08358129859, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "de14c9d9.ef42c8", + "type": "set", + "name": "set API params", + "xml": "<set>\n\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>\n<parameter name='tmp.RRMPolicyRatio_id' value='`$tmp.cellDURRMPolicyRatio_id`'/> ", + "comments": "", + "x": 5641.58317565918, + "y": 6458.083415359259, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "1dd258ec.9132e7", + "type": "execute", + "name": "generate putRRMPolicyRatio 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.rrmpolicy.putDU.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>", "comments": "", "outputs": 1, - "x": 1267.250015258789, - "y": 4089.9376198351383, - "z": "8fcccf93.60adc", + "x": 5700.250213623047, + "y": 6589.7497881650925, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "1c3bae02.c0f192", + "id": "5cb1e73f.917de8", "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.delete.rannfnssi.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.delete.rannfnssi.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-rannfnssi`\"/>", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.putDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putDU.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrcelldu-rrm-policy`\"/>", "comments": "", "outputs": 1, - "x": 1235.1319580078125, - "y": 4144.660215526819, - "z": "8fcccf93.60adc", + "x": 5694.659568786621, + "y": 6625.028000712395, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "9b94e49d.d28e58", + "id": "582a6a33.3bc014", "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 delete inventory in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.delete.rannfnssi.url`\" />", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update DU-rrmolicy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putDU.url`\" />", "comments": "", "outputs": 1, - "x": 1267.632095336914, - "y": 4193.410216003656, - "z": "8fcccf93.60adc", + "x": 5717.020843505859, + "y": 6662.944295763969, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "4376498a.6f0b78", + "id": "aeacb554.bfc748", "type": "execute", - "name": "Fetch inventory details in CPS", - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.delete.rannfnssi.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-terminate-rannfnssi-ran-inventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"delete-inventory-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\"/>", + "name": "update RRMPolicy for DU in CPS", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcelldu-rrm-policy-ratio.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-rrmpolicy-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": 1253.5001678466797, - "y": 4241.187621742487, - "z": "8fcccf93.60adc", + "x": 5731.916809082031, + "y": 6700.861004710197, + "z": "abb03ec2.1302c", "wires": [ [ - "f44a0459.5d4048", - "7636ebe2.c9f294" + "c5237e67.86915", + "68350008.0dc88" ] ] }, { - "id": "f44a0459.5d4048", + "id": "c5237e67.86915", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1514.7501754760742, - "y": 4187.43750539422, - "z": "8fcccf93.60adc", + "x": 5998.500019073486, + "y": 6670.251585334539, + "z": "abb03ec2.1302c", "wires": [ [ - "502a0fce.dc096" + "a4c89014.18a93" ] ] }, { - "id": "502a0fce.dc096", - "type": "block", - "name": "block", - "xml": "<block>", - "atomic": "false", + "id": "68350008.0dc88", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1654.750494003296, - "y": 4195.437383323908, - "z": "8fcccf93.60adc", + "x": 6008.24995803833, + "y": 6712.750974029303, + "z": "abb03ec2.1302c", "wires": [ [ - "e5b2902e.8b6a7", - "a2a0680d.ddc308" + "ced3ff13.b92b9" ] ] }, { - "id": "a2a0680d.ddc308", - "type": "set", - "name": "set", - "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RAN Inventory. Aborting RPC executiopn'/>", + "id": "a4c89014.18a93", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", "comments": "", - "x": 1778.5001125335693, - "y": 4140.298832565546, - "z": "8fcccf93.60adc", - "wires": [] + "outputs": 1, + "x": 6200.500675201416, + "y": 6648.000277847052, + "z": "abb03ec2.1302c", + "wires": [ + [ + "9c4932a1.cd409" + ] + ] }, { - "id": "e5b2902e.8b6a7", - "type": "returnFailure", - "name": "return failure", - "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/>", + "id": "9c4932a1.cd409", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/>", "comments": "", - "x": 1843.7499141693115, - "y": 4198.437444359064, - "z": "8fcccf93.60adc", + "x": 6442.249954223633, + "y": 6673.250452011824, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "6d5f5255.2db42c", + "id": "db5911c7.d6051", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 fetched inventory details\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 CPS - NRCellDU RRMPolicyRatio \"/>", "comments": "", "outputs": 1, - "x": 1862.750165939331, - "y": 4250.437632232904, - "z": "8fcccf93.60adc", + "x": 6405.250682830811, + "y": 6710.5002797544, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "ea49eec5.5e87b", + "id": "ced3ff13.b92b9", "type": "block", - "name": "block", - "xml": "<block>\n", - "atomic": "false", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", "comments": "", "outputs": 1, - "x": 1676.7499179840088, - "y": 4266.437388092279, - "z": "8fcccf93.60adc", + "x": 6211.500022888184, + "y": 6721.751584380865, + "z": "abb03ec2.1302c", "wires": [ [ - "6d5f5255.2db42c", - "cf72b22.03c915" + "db5911c7.d6051" ] ] }, { - "id": "7636ebe2.c9f294", - "type": "success", - "name": "success", - "xml": "<outcome value='success'>\n", + "id": "c75383a5.eb7b8", + "type": "switchNode", + "name": "check the plmn size", + "xml": "<switch test='`$tmp.DUpLMNInfoList_length > 0`'>\n", "comments": "", "outputs": 1, - "x": 1518.7501277923584, - "y": 4267.43714299798, - "z": "8fcccf93.60adc", + "x": 2301.666816711426, + "y": 4347.750044822693, + "z": "abb03ec2.1302c", "wires": [ [ - "ea49eec5.5e87b" + "8cb9090c.7c6388" ] ] }, { - "id": "cf72b22.03c915", + "id": "cdee0189.0f059", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2669.6668281555176, + "y": 4350.750045537949, + "z": "abb03ec2.1302c", + "wires": [ + [ + "80e043e8.ad667" + ] + ] + }, + { + "id": "8cb9090c.7c6388", + "type": "outcome", + "name": "True", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2492.666748046875, + "y": 4351.749919891357, + "z": "abb03ec2.1302c", + "wires": [ + [ + "cdee0189.0f059" + ] + ] + }, + { + "id": "9bba3db6.3e713", "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", + "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": 3554.666847229004, + "y": 2952.416750907898, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "6dfc24f6.903bac", + "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": 3547.166847229004, + "y": 2991.6667523384094, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "a11d76af.150c28", + "type": "execute", + "name": "prepare RRMPolicyRatio 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=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n", + "comments": "", + "outputs": 1, + "x": 3565.6050033569336, + "y": 3030.229253768921, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "4ba8950f.47997c", + "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\n", "comments": "", "outputs": 1, - "x": 1833.5000076293945, - "y": 4291.187395721674, - "z": "8fcccf93.60adc", + "x": 3568.1043548583984, + "y": 3058.979254722595, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "79c04406.89b2fc", + "id": "2334cb93.df8624", + "type": "execute", + "name": "read existing rrmpolicyratio", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellCU' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n\t\n ", + "comments": "", + "outputs": 1, + "x": 2574, + "y": 2280.749916702509, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "ea2c3905.767b78", + "type": "outcomeTrue", + "name": "true", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 3506.333438873291, + "y": 3879.416615128517, + "z": "abb03ec2.1302c", + "wires": [ + [ + "65967b64.4008e4" + ] + ] + }, + { + "id": "fd8178e.712b388", + "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": 4486.000289916992, + "y": 4348.084192276001, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "bb1690be.0a83", + "type": "switchNode", + "name": "ransim mounted", + "xml": "<switch test='`$prop.ransim-mounted`'>\n", + "comments": "", + "outputs": 1, + "x": 5701.00016784668, + "y": 6318.083604454994, + "z": "abb03ec2.1302c", + "wires": [ + [ + "8efa9c74.d9877", + "9f0d0f56.23258" + ] + ] + }, + { + "id": "8efa9c74.d9877", + "type": "outcome", + "name": "Not Mounted", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 5902.000175476074, + "y": 6324.97227537632, + "z": "abb03ec2.1302c", + "wires": [ + [ + "8cd6dd3a.b5b6a" + ] + ] + }, + { + "id": "9f0d0f56.23258", + "type": "outcome", + "name": "Mounted", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 5891.611503601074, + "y": 6361.41693842411, + "z": "abb03ec2.1302c", + "wires": [ + [ + "fcd6b7de.1e0238" + ] + ] + }, + { + "id": "8cd6dd3a.b5b6a", + "type": "execute", + "name": "patch RRMPolicyRatio CUUP- URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\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": 6161.000183105469, + "y": 6335.973578095436, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "fcd6b7de.1e0238", "type": "block", - "name": "delete-sNSSAI", + "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1074.125, - "y": 4377.4376265108585, - "z": "8fcccf93.60adc", + "x": 6074.889503479004, + "y": 6386.0836054086685, + "z": "abb03ec2.1302c", "wires": [ [ - "7c4dec13.792574", - "f6f2416.b5ae8c", - "febe071b.3b2f08", - "7861d513.e8bbbc", - "e7337306.e2d2a" + "54835849.b191c8", + "920c9c75.20431" ] ] }, { - "id": "7c4dec13.792574", + "id": "54835849.b191c8", "type": "execute", - "name": "generate RAN inventory 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.delete.snssai.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.inventory.schemaset`\"/>", + "name": "patch RRMPolicyRatio.TogNBCUUP", + "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-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", "comments": "", "outputs": 1, - "x": 1388.1874923706055, - "y": 4372.43750539422, - "z": "8fcccf93.60adc", + "x": 6360.333518981934, + "y": 6385.639592766762, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "f6f2416.b5ae8c", + "id": "920c9c75.20431", "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.delete.snssai.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.delete.snssai.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.delete-slice-profile`\"/>", + "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": 1356.069435119629, - "y": 4427.160101085901, - "z": "8fcccf93.60adc", + "x": 6326.333526611328, + "y": 6416.639593720436, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "febe071b.3b2f08", + "id": "d5240e27.822ee", + "type": "execute", + "name": "prepare idGNBDUFunction", + "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=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n", + "comments": "", + "outputs": 1, + "x": 5707, + "y": 6364.083416581154, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "504b422f.779c6c", + "type": "execute", + "name": "prepare idNRCellDu", + "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=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n", + "comments": "", + "outputs": 1, + "x": 5679.499938964844, + "y": 6397.33338701725, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "e0e796cb.304928", + "type": "set", + "name": "Calculate updated RRMPolicyRatio", + "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value='`$tmp.rrmPolicyDedicatedRatioCUUP_old + $tmp.rRMPolicyDedicatedRatio-CUUP`' />", + "comments": "", + "x": 3272.3333435058594, + "y": 3829.7500311136246, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "32747706.7f8298", + "type": "execute", + "name": "read exisitng rrmPolicyDedicatedRatio", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatioCUUP_old' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyDedicatedRatio'`\" />\n", + "comments": "", + "outputs": 1, + "x": 3296.8333435058594, + "y": 3791.500029206276, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "6f81c77a.b51e18", "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 delete inventory in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.delete.snssai.url`\" />", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Updated RRM Policy Ratio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_CellCU_updated`\"/>\n<parameter name=\"field3\" value=\"RRM Policy member - sNSSAI\"/>\n<parameter name=\"field4\" value=\"`$tmp.CUUPRRMPolicyMember_sNSSAI`\"/>\n", "comments": "", "outputs": 1, - "x": 1388.5695724487305, - "y": 4475.910101562738, - "z": "8fcccf93.60adc", + "x": 3190, + "y": 3855.749920487404, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "7861d513.e8bbbc", + "id": "8da2f5a1.213378", + "type": "set", + "name": "Calculate RRMPolicyRatio - step3", + "xml": "<set>\n\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n", + "comments": "", + "x": 1511.6666259765625, + "y": 3304.083172440529, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "238cc384.3b740c", + "type": "set", + "name": "Calculate RRMPolicyRatio - step4", + "xml": "<set>\n\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />", + "comments": "", + "x": 1501.6666259765625, + "y": 3345.083172440529, + "z": "abb03ec2.1302c", + "wires": [] + }, + { + "id": "26c1dd12.b8b672", "type": "execute", - "name": "Fetch inventory details in CPS", - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.delete.snssai.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-terminate-snssai-ran-inventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"delete-inventory-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\"/>", + "name": "generate fetchsliceProfile URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.aai.fetchSliceProfile`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getSliceProfilefromAAI.url\"/>\n <parameter name=\"target\" value=\"{global-customer-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.globalSubscriberId`\"/>", + "comments": "", + "outputs": 1, + "x": 2126.3337173461914, + "y": 280.4165916442871, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "5e3d54b7.8253bc", + "type": "execute", + "name": "prepare subscriptionServiceType", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getSliceProfilefromAAI.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getSliceProfilefromAAI.url\"/>\n <parameter name=\"target\" value=\"{service-type}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.subscriptionServiceType`\"/>", + "comments": "", + "outputs": 1, + "x": 2084.6668853759766, + "y": 312.4165983200073, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "5afd1844.a85df8", + "type": "execute", + "name": "prepare service-instance-id", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getSliceProfilefromAAI.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getSliceProfilefromAAI.url\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.RANNFNSSIId`\"/>", + "comments": "", + "outputs": 1, + "x": 2052.6668853759766, + "y": 350.4165906906128, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "cd1fa993.f2ae78", + "type": "execute", + "name": "prepare profile-id", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getSliceProfilefromAAI.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getSliceProfilefromAAI.url\"/>\n <parameter name=\"target\" value=\"{profile-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sliceprofileid`\"/>", "comments": "", "outputs": 1, - "x": 1374.437644958496, - "y": 4523.687507301569, - "z": "8fcccf93.60adc", + "x": 2015.6668853759766, + "y": 384.4165744781494, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] + }, + { + "id": "fa4200db.47b39", + "type": "execute", + "name": "fetch Slice Profile", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.org.onap.ccsdk.sli.adaptors.aai.uri+ $tmp.getSliceProfilefromAAI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-slice-profile-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>", + "comments": "", + "outputs": 1, + "x": 2015.6668853759766, + "y": 415.41659450531006, + "z": "abb03ec2.1302c", "wires": [ [ - "78300dfe.6708f4", - "eb54d687.192278" + "acc95937.7d0e78", + "4a3f51d0.9046a" ] ] }, { - "id": "78300dfe.6708f4", + "id": "acc95937.7d0e78", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1635.6876525878906, - "y": 4469.937390953302, - "z": "8fcccf93.60adc", + "x": 2333.666793823242, + "y": 375.4166259765625, + "z": "abb03ec2.1302c", "wires": [ [ - "9f0e3d3f.20bd8" + "4842283e.4a7348" ] ] }, { - "id": "9f0e3d3f.20bd8", + "id": "4842283e.4a7348", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 1775.6879711151123, - "y": 4477.93726888299, - "z": "8fcccf93.60adc", + "x": 2493.416851043701, + "y": 340.4167184829712, + "z": "abb03ec2.1302c", "wires": [ [ - "3e0ebbd2.f08d94", - "4817a35f.0ba89c" + "7ce277e1.339168", + "c4f82041.214e1" ] ] }, { - "id": "4817a35f.0ba89c", - "type": "set", - "name": "set", - "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RAN Inventory. Aborting RPC executiopn'/>", + "id": "c4f82041.214e1", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 Slice Profile from AAI\"/>", "comments": "", - "x": 1899.4375896453857, - "y": 4422.798718124628, - "z": "8fcccf93.60adc", - "wires": [] + "outputs": 1, + "x": 2660.86128616333, + "y": 322.1666450500488, + "z": "abb03ec2.1302c", + "wires": [ + [] + ] }, { - "id": "3e0ebbd2.f08d94", - "type": "returnFailure", - "name": "return failure", - "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/>", + "id": "7ce277e1.339168", + "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": 1964.687391281128, - "y": 4480.937329918146, - "z": "8fcccf93.60adc", + "x": 2673.16646194458, + "y": 367.02772998809814, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "e59cb927.259898", + "id": "2430fe24.1311a2", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 inventory\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 SliceProfile from AAI\"/>", "comments": "", "outputs": 1, - "x": 1983.6876430511475, - "y": 4532.9375177919865, - "z": "8fcccf93.60adc", + "x": 2684.91646194458, + "y": 416.6666955947876, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "27d42df9.64b1c2", + "id": "a8d7ae0.fefd25", "type": "execute", "name": "printContext", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />\n\n\n", "comments": "", "outputs": 1, - "x": 1954.437484741211, - "y": 4573.687281280756, - "z": "8fcccf93.60adc", + "x": 2644.694797515869, + "y": 459.9166955947876, + "z": "abb03ec2.1302c", "wires": [ [] ] }, { - "id": "8f02949b.05c038", + "id": "a75f3f14.1df9d", "type": "block", - "name": "block", - "xml": "<block>\n", - "atomic": "false", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", "comments": "", "outputs": 1, - "x": 1797.6873950958252, - "y": 4548.9372736513615, - "z": "8fcccf93.60adc", + "x": 2483.1667518615723, + "y": 424.91664600372314, + "z": "abb03ec2.1302c", "wires": [ [ - "e59cb927.259898", - "27d42df9.64b1c2" + "2430fe24.1311a2", + "a8d7ae0.fefd25" ] ] }, { - "id": "eb54d687.192278", + "id": "4a3f51d0.9046a", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1639.6876049041748, - "y": 4549.937028557062, - "z": "8fcccf93.60adc", + "x": 2307.7224502563477, + "y": 424.2499475479126, + "z": "abb03ec2.1302c", "wires": [ [ - "8f02949b.05c038" + "a75f3f14.1df9d" ] ] }, { - "id": "e7337306.e2d2a", + "id": "2579c391.0e3e0c", "type": "set", - "name": "set slice profile id", - "xml": "<set>\n<parameter name='tmp.payload.sliceProfileId' value='`$tmp.sliceprofileid`'/>", + "name": "read other fields from response ", + "xml": "<set>\n\n<parameter name='tmp.payload.dLThptPerSlice' value=\"`$get-slice-profile-response.exp-data-rate-DL`\"/>\n<parameter name='tmp.payload.uLThptPerSlice' value=\"`$get-slice-profile-response.exp-data-rate-UL`\"/>\n<parameter name='tmp.payload.maxNumberofConns' value=\"`$get-slice-profile-response.max-number-of-PDU-session`\"/>\n", "comments": "", - "x": 1364.4375, - "y": 4321.187504440546, - "z": "8fcccf93.60adc", + "x": 2052, + "y": 445.333251953125, + "z": "abb03ec2.1302c", "wires": [] }, { - "id": "d00157b8.fde708", - "type": "set", - "name": "set profiles size", - "xml": "<set>\n<parameter name='tmp.profiles_length' value='`$get-inventory-cps-response.sliceProfilesList_length`'/>", + "id": "9933b9ed.510478", + "type": "outcomeFalse", + "name": "false", + "xml": "<outcome value='false'>\n", "comments": "", - "x": 776.9375076293945, - "y": 4097.437622696161, - "z": "8fcccf93.60adc", - "wires": [] + "outputs": 1, + "x": 3455.3334007263184, + "y": 3936.333818435669, + "z": "abb03ec2.1302c", + "wires": [ + [ + "167ccb55.576185" + ] + ] + }, + { + "id": "167ccb55.576185", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3584.3334350585938, + "y": 3915.3340167999268, + "z": "abb03ec2.1302c", + "wires": [ + [ + "7e7159e2.fe6898" + ] + ] + }, + { + "id": "7e7159e2.fe6898", + "type": "record", + "name": "record", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3719.3334426879883, + "y": 3913.3340167999268, + "z": "abb03ec2.1302c", + "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 add197be..dc18a284 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 @@ -55,14 +55,72 @@ </set> <set> <parameter name='tmp.sliceprofileid' value="`$payloadJson.input.sliceProfileId`"/> + <parameter name='tmp.payload.globalSubscriberId' value="`$payloadJson.input.globalSubscriberId`"/> + <parameter name='tmp.payload.subscriptionServiceType' value="`$payloadJson.input.subscriptionServiceType`"/> + </set> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.aai.fetchSliceProfile`"/> + <parameter name="outputPath" value="tmp.getSliceProfilefromAAI.url"/> + <parameter name="target" value="{global-customer-id}"/> + <parameter name="replacement" value="`$tmp.payload.globalSubscriberId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getSliceProfilefromAAI.url`"/> + <parameter name="outputPath" value="tmp.getSliceProfilefromAAI.url"/> + <parameter name="target" value="{service-type}"/> + <parameter name="replacement" value="`$tmp.payload.subscriptionServiceType`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getSliceProfilefromAAI.url`"/> + <parameter name="outputPath" value="tmp.getSliceProfilefromAAI.url"/> + <parameter name="target" value="{service-instance-id}"/> + <parameter name="replacement" value="`$tmp.payload.RANNFNSSIId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getSliceProfilefromAAI.url`"/> + <parameter name="outputPath" value="tmp.getSliceProfilefromAAI.url"/> + <parameter name="target" value="{profile-id}"/> + <parameter name="replacement" value="`$tmp.sliceprofileid`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$prop.org.onap.ccsdk.sli.adaptors.aai.uri+ $tmp.getSliceProfilefromAAI.url`"/> + <parameter name="httpMethod" value="GET"/> + <parameter name="responsePrefix" value="get-slice-profile-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> + <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="Failed to fetch Slice Profile from AAI"/> + </record> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/> + </set> + </block> + </outcome> + <outcome value='success'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully Obtained SliceProfile from AAI"/> + </record> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' > + <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' /> + </execute> + </block> + </outcome> + </execute> + <set> + <parameter name='tmp.payload.dLThptPerSlice' value="`$get-slice-profile-response.exp-data-rate-DL`"/> + <parameter name='tmp.payload.uLThptPerSlice' value="`$get-slice-profile-response.exp-data-rate-UL`"/> + <parameter name='tmp.payload.maxNumberofConns' value="`$get-slice-profile-response.max-number-of-PDU-session`"/> </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="DEallocate sNSSAI: "/> - <parameter name="field2" value="`$tmp.sNSSAI`"/> - <parameter name="field3" value="`$tmp.sliceprofileid`"/> - </record> </block> </outcome> </execute> @@ -103,6 +161,9 @@ </set> <set> <parameter name='tmp.sliceprofileid' value="`$payloadJson.input.sliceProfile.sliceProfileId`"/> + <parameter name='tmp.payload.dLThptPerSlice' value="`$payloadJson.input.sliceProfile.dLThptPerSlice`"/> + <parameter name='tmp.payload.uLThptPerSlice' value="`$payloadJson.input.sliceProfile.uLThptPerSlice`"/> + <parameter name='tmp.payload.maxNumberofConns' value="`$payloadJson.input.sliceProfile.maxNumberofConns`"/> </set> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> @@ -256,7 +317,7 @@ <block> <set> <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/> + <parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/> </set> <block atomic='true'> <set> @@ -314,7 +375,7 @@ <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 Obtained NearRT RIC info from ConfigDB"/> + <parameter name="field1" value="Successfully Obtained NearRT RIC info from CPS"/> <parameter name="field2" value="`$getNFNSSIRIC-cps-response._length`"/> </record> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' > @@ -354,7 +415,7 @@ <block> <set> <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/> + <parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/> </set> </block> </outcome> @@ -410,7 +471,7 @@ <block> <set> <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/> + <parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/> </set> </block> </outcome> @@ -536,12 +597,12 @@ <block atomic='true'> <set> <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/> + <parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/> </set> <return status='failure'> <parameter name='ack-final' value='Y'/> <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/> + <parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/> </return> </block> </outcome> @@ -858,7 +919,7 @@ <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 - CEllCU PLMNInfo Entry from configdb"/> + <parameter name="field1" value="Successfully removed - CEllCU PLMNInfo Entry from CPS"/> </record> </block> </outcome> @@ -1010,19 +1071,19 @@ </record> <for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`'> <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellCU' /> + <parameter name='source' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" /> + </execute> <set> - <parameter name='tmp.setboolflagcucp' value="false" /> + <parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value="`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`" /> </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`"/> + <parameter name="field1" value="Existing RRMPolicyRatio"/> + <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatio_cellCU`"/> </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> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' /> <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`" /> @@ -1037,285 +1098,689 @@ <parameter name="field1" value="RRMPolicyMembersList size"/> <parameter name="field2" value="`$tmp.NRCellCURRMPolicyMembersLength`"/> </record> - <for index='idcu-rrm1' start='0' end='`$tmp.NRCellCURRMPolicyMembersLength`' > - <block atomic='true'> - <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'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> - </execute> - </block> - </outcome> - <outcome value='true'> - <block atomic='true'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU.ransim-mounted`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deleteRRMPolicyRatio.url`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> - <parameter name="target" value="{mountName}"/> - <parameter name="replacement" value="`$tmp.CUCPName`"/> - </execute> - </block> - </outcome> - </switch> - </block> - </outcome> - <outcome value='false'> - <block atomic='true'> - <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='true'> + <block atomic='true'> + <switch test='`$tmp.NRCellCURRMPolicyMembersLength == 1`'> + <outcome value='true'> + <block atomic='true'> + <switch test='`$prop.ransim-mounted`'> + <outcome value='false'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + </block> + </outcome> + <outcome value='true'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU.ransim-mounted`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> + <parameter name="target" value="{mountName}"/> + <parameter name="replacement" value="`$tmp.CUCPName`"/> + </execute> + </block> + </outcome> + </switch> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> + <parameter name="target" value="{idGNBCUCPFunction}"/> + <parameter name="replacement" value="`$tmp.CUCPName`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> + <parameter name="target" value="{idNRCellCU}"/> + <parameter name="replacement" value="`$tmp.cellCULocalId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> + <parameter name="target" value="{id}"/> + <parameter name="replacement" value="`$tmp.RRMPolicyRatio_id`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <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> + <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"/> + </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.setboolflagcucp' value="true" /> + <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/terminateRANSlice.log" /> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="Matching snssai found for rrmmember "/> + <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> - <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> - <switch test='`$prop.ransim-mounted`'> - <outcome value='false'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.removeRRMPolicyMember.ToNRCellCU`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> - </execute> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="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='true'> - <block atomic='true'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.removeRRMPolicyMember.ToNRCellCU.ransim-mounted`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deleteRRMPolicyRatio.url`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> - <parameter name="target" value="{mountName}"/> - <parameter name="replacement" value="`$tmp.CUCPName`"/> - </execute> + <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> - </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> - </switch> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deleteRRMPolicyRatio.url`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> - <parameter name="target" value="{idGNBCUCPFunction}"/> - <parameter name="replacement" value="`$tmp.CUCPName`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deleteRRMPolicyRatio.url`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> - <parameter name="target" value="{idNRCellCU}"/> - <parameter name="replacement" value="`$tmp.cellCULocalId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deleteRRMPolicyRatio.url`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> - <parameter name="target" value="{id}"/> - <parameter name="replacement" value="`$tmp.RRMPolicyRatio_id`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <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> + </execute> </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> + </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-nrcellcu-rrmpolicyratio`"/> + </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-nrcellcu-rrmpolicyratio.json'`" /> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="cps-nrcellcu-rrmpolicy-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 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> + </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 CPS"/> + </record> + </outcome> + </execute> + </block> + </outcome> + <outcome value='false'> + <block atomic='true'> + <for index='idcu-rrm1' start='0' end='`$tmp.NRCellCURRMPolicyMembersLength`' > + <block atomic='true'> + <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='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="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="URL for SO Callback Response"/> - <parameter name='field2' value="`$tmp.so.callbackURL`" /> - <parameter name='field3' value="`$tmp.status`" /> - <parameter name='field4' value="`$tmp.reason`" /> - <parameter name='field5' value="`$tmp.requestID`" /> - <parameter name='field6' value="`$tmp.action`" /> + <parameter name="field1" value="Matching snssai found for rrmmember "/> </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> + <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> + <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='`$prop.ransim-mounted`'> + <outcome value='false'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.removeRRMPolicyMember.ToNRCellCU`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + </outcome> + <outcome value='true'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.removeRRMPolicyMember.ToNRCellCU.ransim-mounted`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> + <parameter name="target" value="{mountName}"/> + <parameter name="replacement" value="`$tmp.CUCPName`"/> + </execute> </block> </outcome> - <outcome value='success'> - <block> + </switch> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> + <parameter name="target" value="{idGNBCUCPFunction}"/> + <parameter name="replacement" value="`$tmp.CUCPName`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> + <parameter name="target" value="{idNRCellCU}"/> + <parameter name="replacement" value="`$tmp.cellCULocalId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/> + <parameter name="target" value="{id}"/> + <parameter name="replacement" value="`$tmp.RRMPolicyRatio_id`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <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> + <block atomic='true'> + <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 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> + <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="SO Response Sent "/> + <parameter name="field1" value="Successfully removed - gNBCU rrmpolicy Entry from CPS"/> </record> - </block> - </outcome> - </execute> + </outcome> + </execute> + <switch test='`$prop.ransim-mounted`'> + <outcome value='false'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + </outcome> + <outcome value='true'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/> + <parameter name="target" value="{mountName}"/> + <parameter name="replacement" value="`$tmp.CUCPName`"/> + </execute> + </block> + </outcome> + </switch> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/> + <parameter name="target" value="{idGNBCUCPFunction}"/> + <parameter name="replacement" value="`$tmp.CUCPName`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/> + <parameter name="target" value="{idNRCellCU}"/> + <parameter name="replacement" value="`$tmp.cellCULocalId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/> + <parameter name="target" value="{id}"/> + <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="target" value="{idx}"/> + <parameter name="replacement" value="`$tmp.RRMPolicyMember_id`"/> + </execute> + <set> + <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/> + <parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_updated`'/> + </set> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" /> + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio.url`"/> + <parameter name="restapiUser" value="`$prop.controller.user`" /> + <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> + <parameter name="httpMethod" value="PATCH"/> + <parameter name="responsePrefix" value="patch-cellCU-RRMPolicyRatio-response"/> + <parameter name='contentType' value='application/yang.patch+json' /> + <parameter name='accept' value='application/yang.patch-status+json'/> + <parameter name='format' value='json' /> + <outcome value='success'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully Patched - cellCU RRMpolicyRatio"/> + </record> + </block> + </outcome> + <outcome value='failure'> + <block atomic='true'> + <block atomic='true'> + <set> + <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> + <parameter name="tmp.status" value="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 patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/> + </return> + </block> + </outcome> + </execute> + <block atomic='true'> + <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.rrmpolicy.putCUCP.url"/> + <parameter name="target" value="{schemaSet}"/> + <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.cps.rrmpolicy.putCUCP.url`"/> + <parameter name="outputPath" value="tmp.cps.rrmpolicy.putCUCP.url"/> + <parameter name="target" value="{templateId}"/> + <parameter name="replacement" value="`$prop.tbdmt.template.put-nrcellcu-rrm-policy`"/> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for CPS TDBMT to update rrm policy in CPS"/> + <parameter name='field2' value="`$tmp.cps.rrmpolicy.putCUCP.url`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.putCUCP.url`"/> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcellcu-rrm-policy-ratio.json'`" /> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="update-gNBCUCP-rrmpolicy-configdb-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="convertResponse" value="true"/> + <outcome value='failure'> + <block atomic='true'> + <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 in updating RRMPolicy member - NRCellCU. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in CPS. Aborting RPC executiopn'/> + </return> + </block> + </outcome> + <outcome value='success'> + <block> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully updated CPS - NRCellCU RRMPolicy "/> + </record> + </block> + </outcome> + </execute> + </block> + </block> </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> + </outcome> + </switch> + </block> + </for> + </block> + </outcome> + </switch> + </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" /> @@ -1615,7 +2080,7 @@ <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 PLMNInfo Entry from configdb"/> + <parameter name="field1" value="Successfully removed - gNBCUUP PLMNInfo Entry from CPS"/> </record> </block> </outcome> @@ -1656,11 +2121,23 @@ <parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' /> <parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' /> </set> + <set> + <parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' /> + </set> + <set> + <parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' /> + </set> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> <parameter name="level" value="info" /> <parameter name="field1" value="RRMPolicyRatio for this profile is - "/> <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio-CUUP`"/> + <parameter name="field3" value="`$tmp.payload.maxNumberofConns`"/> + <parameter name="field4" value="RRM Policy Step Values"/> + <parameter name="field5" value="`$tmp.maxNumberOfDRBsPerNSSAI`"/> + <parameter name="field6" value="`$tmp.maxNumberOfDRBsPerCUUP`"/> + <parameter name="field7" value="`$tmp.rRMPolicyDedicatedRatio1`"/> + <parameter name="field8" value="`$tmp.rRMPolicyDedicatedRatio-CUUP`"/> </record> <switch test='`$prop.ransim-mounted`'> <outcome value='false'> @@ -1808,237 +2285,442 @@ <parameter name="field1" value="CUUP - RRMPolicyMembersList size"/> <parameter name="field2" value="`$tmp.CUUPRRMPolicyMembersLength`"/> </record> - <for index='idcu-rrm2' start='0' end='`$tmp.CUUPRRMPolicyMembersLength`' > - <block atomic='true'> - <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" /> - <parameter name="field1" value="Success" /> - <parameter name="field2" value="Tocheck if ransim mounted" /> - </record> - <switch test='`$prop.ransim-mounted`'> - <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="before setting url" /> - <parameter name="field2" value="ransimnot mounted" /> - </record> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToCUUP`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> - </execute> - </block> - </outcome> - <outcome value='true'> - <block atomic='true'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToCUUP.ransim-mounted`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> - <parameter name="target" value="{mountName}"/> - <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/> - </execute> - </block> - </outcome> - </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="Failure" /> - <parameter name="field2" value="Tocheck if ransim mounted" /> - </record> - <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='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" /> - <parameter name="field1" value="RRMPolicyMember id - "/> - <parameter name="field2" value="`$tmp.CUUPRRMPolicyMember_id`"/> - </record> - <switch test='`$prop.ransim-mounted`'> - <outcome value='false'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.removeRRMPolicyMember.ToCUUP`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> - </execute> - </outcome> - <outcome value='true'> - <block atomic='true'> + <block atomic='true'> + <switch test='`$tmp.CUUPRRMPolicyMembersLength == 1`'> + <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="Success" /> + <parameter name="field2" value="Tocheck if ransim mounted" /> + </record> + <switch test='`$prop.ransim-mounted`'> + <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="before setting url" /> + <parameter name="field2" value="ransimnot mounted" /> + </record> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToCUUP`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + </block> + </outcome> + <outcome value='true'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToCUUP.ransim-mounted`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{mountName}"/> + <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/> + </execute> + </block> + </outcome> + </switch> + <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 first - "/> + <parameter name="field2" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> + </record> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{idGNBCUUPFunction}"/> + <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{id}"/> + <parameter name="replacement" value="`$tmp.CUUPRRMPolicyRatio_id`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{idx}"/> + <parameter name="replacement" value="`$tmp.CUUPRRMPolicyMember_id`"/> + </execute> + <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-cuup-rrmpolicyratio`"/> + </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-rrmpolicyratio.json'`" /> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="cps-cuup-rrmpolicy-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 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> + </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 - CUUP rrmpolicy Entry from CPS"/> + </record> + </outcome> + </execute> + </block> + </outcome> + <outcome value='false'> + <block atomic='true'> + <for index='idcu-rrm2' start='0' end='`$tmp.CUUPRRMPolicyMembersLength`' > + <block atomic='true'> + <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> + <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> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatioCUUP_old' /> + <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyDedicatedRatio'`" /> + </execute> + <set> + <parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value='`$tmp.rrmPolicyDedicatedRatioCUUP_old + $tmp.rRMPolicyDedicatedRatio-CUUP`' /> + </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="Updated RRM Policy Ratio"/> + <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatio_CellCU_updated`"/> + <parameter name="field3" value="RRM Policy member - sNSSAI"/> + <parameter name="field4" value="`$tmp.CUUPRRMPolicyMember_sNSSAI`"/> + </record> + <switch test='`$tmp.CUUPRRMPolicyMember_sNSSAI==$tmp.sNSSAI`'> + <outcome value='true'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="RRMPolicyMember id - "/> + <parameter name="field2" value="`$tmp.CUUPRRMPolicyMember_id`"/> + </record> + <switch test='`$prop.ransim-mounted`'> + <outcome value='false'> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.removeRRMPolicyMember.CUUP.ransim-mounted`"/> + <parameter name="source" value="`$prop.restapi.removeRRMPolicyMember.ToCUUP`"/> <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> <parameter name="target" value="{idNearRTRIC}"/> <parameter name="replacement" value="`$tmp.nearRTRICId`"/> </execute> + </outcome> + <outcome value='true'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.removeRRMPolicyMember.ToCUUP.ransim-mounted`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{mountName}"/> + <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/> + </execute> + </block> + </outcome> + </switch> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{idGNBCUUPFunction}"/> + <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{id}"/> + <parameter name="replacement" value="`$tmp.CUUPRRMPolicyRatio_id`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{idx}"/> + <parameter name="replacement" value="`$tmp.CUUPRRMPolicyMember_id`"/> + </execute> + <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 CPS"/> + </record> + </outcome> + </execute> + <switch test='`$prop.ransim-mounted`'> + <outcome value='false'> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> - <parameter name="target" value="{mountName}"/> - <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/> + <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> </execute> - </block> - </outcome> - </switch> - </block> - </outcome> - <outcome value='false'> - <block atomic='true'> - <set> - <parameter name='tmp.setboolflagcuup' value="false" /> - </set> - </block> - </outcome> - </switch> - </block> - </outcome> - </switch> - <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 first - "/> - <parameter name="field2" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> - </record> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> - <parameter name="target" value="{idGNBCUUPFunction}"/> - <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> - <parameter name="target" value="{id}"/> - <parameter name="replacement" value="`$tmp.CUUPRRMPolicyRatio_id`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/> - <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> + </outcome> + <outcome value='true'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{mountName}"/> + <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{idGNBCUUPFunction}"/> + <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/> + </execute> + <set> + <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/> + <parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_updated`'/> + <parameter name='tmp.RRMPolicyRatio_id' value='`$tmp.CUUPRRMPolicyRatio_id`'/> + <parameter name='tmp.RRMPolicyMember_id' value='`$tmp.CUUPRRMPolicyMember_id`'/> + </set> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" /> + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`"/> + <parameter name="restapiUser" value="`$prop.controller.user`" /> + <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> + <parameter name="httpMethod" value="PATCH"/> + <parameter name="responsePrefix" value="patch-CUUP-RRMPolicyRatio-response"/> + <parameter name='contentType' value='application/yang.patch+json' /> + <parameter name='accept' value='application/yang.patch-status+json'/> + <parameter name='format' value='json' /> + <outcome value='success'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully Patched - cellCU RRMpolicyRatio"/> + </record> + </block> + </outcome> + <outcome value='failure'> + <block atomic='true'> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating nearRTRIC info in CPS. 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.rrmpolicy.putCUUP.url"/> + <parameter name="target" value="{schemaSet}"/> + <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.cps.rrmpolicy.putCUUP.url`"/> + <parameter name="outputPath" value="tmp.cps.rrmpolicy.putCUUP.url"/> + <parameter name="target" value="{templateId}"/> + <parameter name="replacement" value="`$prop.tbdmt.template.put-cuup-rrm-policy`"/> + </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="URL for CPS TDBMT to update CUUP-rrmpolicy in CPS"/> + <parameter name='field2' value="`$tmp.cps.rrmpolicy.putCUUP.url`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.putCUUP.url`"/> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-cuup-rrm-policy-ratio.json'`" /> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="update-rrmpolicy-cuup-cps-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="convertResponse" value="true"/> + <outcome value='failure'> + <block atomic='true'> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in CPS. Aborting RPC executiopn'/> + </return> + </block> + </outcome> + <outcome value='success'> + <block> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully updated CPS - CUUP RRMPolicyRatio "/> + </record> + </block> + </outcome> + </execute> + </block> + </outcome> + </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="RRMPolicyMember id - "/> + <parameter name="field2" value="`$tmp.CUUPRRMPolicyMember_id`"/> + </record> + </block> + </outcome> + </switch> + </block> + </for> + </block> + </outcome> + </switch> + </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" /> @@ -2105,748 +2787,898 @@ <parameter name="field1" value="plmninfolengthcelldu "/> <parameter name="field2" value="`$tmp.DUpLMNInfoList_length`"/> </record> - <for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' > - <block atomic='true'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> - <parameter name='outputPath' value='tmp.sNssaiListLengthDU' /> - <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList['+ $id-duplmn +'].sNSSAIList_length'`" /> - </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="DU_plmninfolength_nssailength "/> - <parameter name="field2" value="`$tmp.sNssaiListLengthDU`"/> - </record> - <switch test='`$tmp.sNssaiListLengthDU > 0`'> - <outcome value='true'> + <switch test='`$tmp.DUpLMNInfoList_length > 0`'> + <outcome value='true'> + <block atomic='true'> + <for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' > <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.sNssaiListLengthDU' /> + <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList['+ $id-duplmn +'].sNSSAIList_length'`" /> + </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="plmninfolistnssailength in true in DU "/> + <parameter name="field1" value="DU_plmninfolength_nssailength "/> <parameter name="field2" value="`$tmp.sNssaiListLengthDU`"/> </record> - <for index='id-dusnssai' start='0' end='`$tmp.sNssaiListLengthDU`'> - <block atomic='true'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> - <parameter name='outputPath' value='tmp.configDBSNSSAI-DU' /> - <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList['+ $id-duplmn +'].sNSSAIList['+ $id-dusnssai +'].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="sNSSAI - getNFNSSIRIC-configdb-response"/> - <parameter name="field2" value="`$tmp.configDBSNSSAI-DU`"/> - <parameter name="field3" value="sNSSAI from request"/> - <parameter name="field4" value="`$tmp.sNSSAI`"/> - </record> - <switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'> - <outcome value='true'> + <switch test='`$tmp.sNssaiListLengthDU > 0`'> + <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="plmninfolistnssailength in true in DU "/> + <parameter name="field2" value="`$tmp.sNssaiListLengthDU`"/> + </record> + <for index='id-dusnssai' start='0' end='`$tmp.sNssaiListLengthDU`'> <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.configDBSNSSAI-DU' /> + <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList['+ $id-duplmn +'].sNSSAIList['+ $id-dusnssai +'].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="CellDU is applicable for the NSSAI "/> + <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/> + <parameter name="field2" value="`$tmp.configDBSNSSAI-DU`"/> + <parameter name="field3" value="sNSSAI from request"/> + <parameter name="field4" value="`$tmp.sNSSAI`"/> </record> - <switch test='`$prop.ransim-mounted`'> - <outcome value='false'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.terminateSNSSAIEntry.ToNRCellDU`"/> - <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> - </execute> - </outcome> + <switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'> <outcome value='true'> <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="CellDU is applicable for the NSSAI "/> + </record> + <switch test='`$prop.ransim-mounted`'> + <outcome value='false'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.terminateSNSSAIEntry.ToNRCellDU`"/> + <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + </outcome> + <outcome value='true'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.terminateSNSSAIEntry.ToNRCellDU.ransim-mounted`"/> + <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/> + <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/> + <parameter name="target" value="{mountName}"/> + <parameter name="replacement" value="`$tmp.GNBDUId`"/> + </execute> + </block> + </outcome> + </switch> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.cellDULocalId' /> + <parameter name='source' value="`'getNFNSSIRIC-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" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="LocalId "/> + <parameter name="field2" value="`$tmp.cellDULocalId`"/> + </record> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.terminateSNSSAIEntry.ToNRCellDU.ransim-mounted`"/> + <parameter name="source" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/> <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + <parameter name="target" value="{idGNBDUFunction}"/> + <parameter name="replacement" value="`$tmp.GNBDUId`"/> </execute> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > <parameter name="source" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/> <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/> - <parameter name="target" value="{mountName}"/> - <parameter name="replacement" value="`$tmp.GNBDUId`"/> + <parameter name="target" value="{idNRCellDU}"/> + <parameter name="replacement" value="`$tmp.cellDULocalId`"/> </execute> - </block> - </outcome> - </switch> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> - <parameter name='outputPath' value='tmp.cellDULocalId' /> - <parameter name='source' value="`'getNFNSSIRIC-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" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="LocalId "/> - <parameter name="field2" value="`$tmp.cellDULocalId`"/> - </record> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/> - <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/> - <parameter name="target" value="{idGNBDUFunction}"/> - <parameter name="replacement" value="`$tmp.GNBDUId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/> - <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/> - <parameter name="target" value="{idNRCellDU}"/> - <parameter name="replacement" value="`$tmp.cellDULocalId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/> - <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/> - <parameter name="target" value="{mcc}"/> - <parameter name="replacement" value="`$tmp.mcc`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/> - <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/> - <parameter name="target" value="{mnc}"/> - <parameter name="replacement" value="`$tmp.mnc`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/> - <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/> - <parameter name="target" value="{sNssai}"/> - <parameter name="replacement" value="`$tmp.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="patch cellCU NSSAI parameters"/> - <parameter name="field2" value="`$tmp.nearRTRICId`"/> - <parameter name="field3" value="`$tmp.GNBDUId`"/> - <parameter name="field4" value="`$tmp.cellDULocalId`"/> - <parameter name="field5" value="`$tmp.mcc`"/> - <parameter name="field6" value="`$tmp.mnc`"/> - <parameter name="field7" value="`$tmp.sNSSAI`"/> - <parameter name="field8" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/> - </record> - <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.deletePLMNInfoListEntry-cellDU.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-PLMNInfoList-response"/> - <parameter name='contentType' value='application/json' /> - <parameter name='format' value='json' /> - <outcome value='failure'> - <block atomic='true'> - <block atomic='true'> - <set> - <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> - <parameter name="tmp.status" value="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> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/> + <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/> + <parameter name="target" value="{mcc}"/> + <parameter name="replacement" value="`$tmp.mcc`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/> + <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/> + <parameter name="target" value="{mnc}"/> + <parameter name="replacement" value="`$tmp.mnc`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/> + <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/> + <parameter name="target" value="{sNssai}"/> + <parameter name="replacement" value="`$tmp.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="patch cellCU NSSAI parameters"/> + <parameter name="field2" value="`$tmp.nearRTRICId`"/> + <parameter name="field3" value="`$tmp.GNBDUId`"/> + <parameter name="field4" value="`$tmp.cellDULocalId`"/> + <parameter name="field5" value="`$tmp.mcc`"/> + <parameter name="field6" value="`$tmp.mnc`"/> + <parameter name="field7" value="`$tmp.sNSSAI`"/> + <parameter name="field8" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.deletePLMNInfoListEntry-cellDU.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-PLMNInfoList-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <outcome value='failure'> + <block atomic='true'> + <block atomic='true'> + <set> + <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> + <parameter name="tmp.status" value="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/terminateRANSlice.log" /> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="SO Response Sent "/> + <parameter name="field1" value="URL for SO Callback Response"/> + <parameter name='field2' value="`$tmp.so.callbackURL`" /> + <parameter name='field3' value="`$tmp.status`" /> + <parameter name='field4' value="`$tmp.reason`" /> + <parameter name='field5' value="`$tmp.requestID`" /> + <parameter name='field6' value="`$tmp.action`" /> </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> + <parameter name="restapiUrl" value="`$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> - </outcome> - </execute> - </block> - <set> - <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error deleting cellDU PLMNInfoList. Aborting RPC executiopn'/> - </set> - <return status='failure'> - <parameter name='ack-final' value='Y'/> - <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error deleting NECellDU - PLMNInfo. Aborting RPC executiopn'/> - </return> - </block> - </outcome> - <outcome value='success'> - <block atomic='true'> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Successfully deleted - cellDU PLMNInfo List"/> - </record> - </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.celldu.plmn.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.celldu.plmn.url`"/> - <parameter name="outputPath" value="tmp.cps.deletenssai.celldu.plmn.url"/> - <parameter name="target" value="{templateId}"/> - <parameter name="replacement" value="`$prop.tbdmt.template.delete-nssai-from-du-plmninfo`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="restapiUrl" value="`$tmp.cps.deletenssai.celldu.plmn.url`"/> - <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/delete-celldu-plmn-nssai.json'`" /> - <parameter name="httpMethod" value="POST"/> - <parameter name="responsePrefix" value="cps-du-plmninfo-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 - gNBDU pmmninfo Entry from configdb"/> - </record> - </outcome> - </execute> - <block atomic='true'> - <block atomic='true'> - <set> - <parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' /> - </set> - <set> - <parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' /> - </set> - <set> - <parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' /> - </set> - <set> - <parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' /> - </set> - <set> - <parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' /> - </set> - <set> - <parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' /> - </set> - <set> - <parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' /> - </set> - <set> - <parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' /> - </set> - <set> - <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' /> - </set> - <set> - <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' /> - </set> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="rRMPolicyDedicatedRatio for CellDU "/> - <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/> - <parameter name="field3" value="tmp.nearRTRIC.trafficCapacity1 "/> - <parameter name="field4" value="`$tmp.nearRTRIC.trafficCapacity1`"/> - <parameter name="field5" value="tmp.nearRTRIC.trafficCapacity "/> - <parameter name="field6" value="`$tmp.nearRTRIC.trafficCapacity`"/> - <parameter name="field7" value="tmp.nearRTRIC.trafficCapacityBPS"/> - <parameter name="field8" value="`$tmp.nearRTRIC.trafficCapacityBPS`"/> - <parameter name="field9" value="tmp.nrcelldu.totalPRBForSNSSAI "/> - <parameter name="field10" value="`$tmp.nrcelldu.totalPRBForSNSSAI`"/> - <parameter name="field11" value="tmp.nrcelldu.PRBPerImpactedCell "/> - <parameter name="field12" value="`$tmp.nrcelldu.PRBPerImpactedCell`"/> - <parameter name="field13" value="tmp.rRMPolicyDedicatedRatio.CellDU1 "/> - <parameter name="field14" value="`$tmp.rRMPolicyDedicatedRatio.CellDU1`"/> - </record> - </block> - <switch test='`$prop.ransim-mounted`'> - <outcome value='false'> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error deleting cellDU PLMNInfoList. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error deleting NECellDU - PLMNInfo. Aborting RPC executiopn'/> + </return> + </block> + </outcome> + <outcome value='success'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully deleted - cellDU PLMNInfo List"/> + </record> + </block> + </outcome> + </execute> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`"/> - <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/> + <parameter name="outputPath" value="tmp.cps.deletenssai.celldu.plmn.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.celldu.plmn.url`"/> + <parameter name="outputPath" value="tmp.cps.deletenssai.celldu.plmn.url"/> + <parameter name="target" value="{templateId}"/> + <parameter name="replacement" value="`$prop.tbdmt.template.delete-nssai-from-du-plmninfo`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$tmp.cps.deletenssai.celldu.plmn.url`"/> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/delete-celldu-plmn-nssai.json'`" /> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="cps-du-plmninfo-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 - gNBDU pmmninfo Entry from CPS"/> + </record> + </outcome> </execute> - </outcome> - <outcome value='true'> - <block atomic='true'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`"/> - <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/> - <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/> - <parameter name="target" value="{mountName}"/> - <parameter name="replacement" value="`$tmp.GNBDUId`"/> - </execute> - </block> - </outcome> - </switch> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/> - <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/> - <parameter name="target" value="{idGNBDUFunction}"/> - <parameter name="replacement" value="`$tmp.GNBDUId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/> - <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/> - <parameter name="target" value="{idNRCellDU}"/> - <parameter name="replacement" value="`$tmp.cellDULocalId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`"/> - <parameter name="restapiUser" value="`$prop.controller.user`" /> - <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> - <parameter name="httpMethod" value="GET"/> - <parameter name="responsePrefix" value="get-rrmpolicyratio-du-response"/> - <parameter name='contentType' value='application/json' /> - <parameter name='format' value='json' /> - <parameter name='accept' value='application/json' /> - <parameter name="convertResponse" value="true"/> - <outcome value='failure'> <block atomic='true'> <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`"/> + <parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`' /> + </set> + <set> + <parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`' /> + </set> + <set> + <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`' /> + </set> + <set> + <parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' /> + </set> + <set> + <parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' /> + </set> + <set> + <parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' /> + </set> + <set> + <parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' /> + </set> + <set> + <parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' /> + </set> + <set> + <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' /> + </set> + <set> + <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' /> </set> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="URL for SO Callback Response"/> - <parameter name='field2' value="`$tmp.so.callbackURL`" /> - <parameter name='field3' value="`$tmp.status`" /> - <parameter name='field4' value="`$tmp.reason`" /> - <parameter name='field5' value="`$tmp.requestID`" /> - <parameter name='field6' value="`$tmp.action`" /> + <parameter name="field1" value="rRMPolicyDedicatedRatio for CellDU "/> + <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/> + <parameter name="field3" value="tmp.nearRTRIC.trafficCapacity1 "/> + <parameter name="field4" value="`$tmp.nearRTRIC.trafficCapacity1`"/> + <parameter name="field5" value="tmp.nearRTRIC.trafficCapacity "/> + <parameter name="field6" value="`$tmp.nearRTRIC.trafficCapacity`"/> + <parameter name="field7" value="tmp.nearRTRIC.trafficCapacityBPS"/> + <parameter name="field8" value="`$tmp.nearRTRIC.trafficCapacityBPS`"/> + <parameter name="field9" value="tmp.nrcelldu.totalPRBForSNSSAI "/> + <parameter name="field10" value="`$tmp.nrcelldu.totalPRBForSNSSAI`"/> + <parameter name="field11" value="tmp.nrcelldu.PRBPerImpactedCell "/> + <parameter name="field12" value="`$tmp.nrcelldu.PRBPerImpactedCell`"/> + <parameter name="field13" value="tmp.rRMPolicyDedicatedRatio.CellDU1 "/> + <parameter name="field14" value="`$tmp.rRMPolicyDedicatedRatio.CellDU1`"/> </record> - <execute plugin='org.onap.ccsdk.sli.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 in retrieving RRMPolicyRatio. Aborting RPC executiopn'/> - </set> - <return status='failure'> - <parameter name='ack-final' value='Y'/> - <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/> - </return> - </block> - </outcome> - <outcome value='success'> - <block atomic='true'> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/> - </record> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' > - <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' /> + <switch test='`$prop.ransim-mounted`'> + <outcome value='false'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + </outcome> + <outcome value='true'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/> + <parameter name="target" value="{mountName}"/> + <parameter name="replacement" value="`$tmp.GNBDUId`"/> + </execute> + </block> + </outcome> + </switch> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/> + <parameter name="target" value="{idGNBDUFunction}"/> + <parameter name="replacement" value="`$tmp.GNBDUId`"/> </execute> - </block> - </outcome> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> - <parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' /> - <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length'`" /> - </execute> - <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="RRMPolicyRatioList size"/> - <parameter name="field2" value="`$tmp.rrmPolicyRatioDUList_length`"/> - </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'`" /> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> - <parameter name='outputPath' value='tmp.DURRMPolicyMembersLength' /> - <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList_length'`" /> - </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="RRMPOLICYmemberslength"/> - <parameter name="field2" value="`$tmp.DURRMPolicyMembersLength`"/> - </record> - <for index='iddu-rrm2' start='0' end='`$tmp.DURRMPolicyMembersLength`' > - <block atomic='true'> - <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'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/> + <parameter name="target" value="{idNRCellDU}"/> + <parameter name="replacement" value="`$tmp.cellDULocalId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`"/> + <parameter name="restapiUser" value="`$prop.controller.user`" /> + <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> + <parameter name="httpMethod" value="GET"/> + <parameter name="responsePrefix" value="get-rrmpolicyratio-du-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="convertResponse" value="true"/> + <outcome value='failure'> + <block atomic='true'> <block atomic='true'> <set> - <parameter name='tmp.setboolflagdu' value="true" /> + <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> - <switch test='`$prop.ransim-mounted`'> - <outcome value='false'> - <block atomic='true'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> - </execute> - </block> - </outcome> - <outcome value='true'> - <block atomic='true'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU.ransim-mounted`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> - <parameter name="target" value="{mountName}"/> - <parameter name="replacement" value="`$tmp.GNBDUId`"/> - </execute> - </block> - </outcome> - </switch> - </block> - </outcome> - <outcome value='false'> - <block atomic='true'> - <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="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="RRMPolicyMember nssai du"/> - <parameter name="field2" value="`$tmp.cellDURRMPolicyMember_sNSSAI`"/> + <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> - <switch test='`$tmp.cellDURRMPolicyMember_sNSSAI==$tmp.sNSSAI`'> - <outcome value='true'> - <block atomic='true'> - <set> - <parameter name='tmp.setboolflagdu' value="true" /> - </set> + <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="RRMPolicyMember id - "/> - <parameter name="field2" value="`$tmp.CellDURRMPolicyMember_id`"/> + <parameter name="field1" value="SO Response Sent "/> </record> - <switch test='`$prop.ransim-mounted`'> - <outcome value='false'> + </block> + </outcome> + </execute> + </block> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/> + </return> + </block> + </outcome> + <outcome value='success'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/> + </record> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' > + <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' /> + </execute> + </block> + </outcome> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' /> + <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length'`" /> + </execute> + <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="RRMPolicyRatioList size"/> + <parameter name="field2" value="`$tmp.rrmPolicyRatioDUList_length`"/> + </record> + <for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' > + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellDU-old' /> + <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" /> + </execute> + <set> + <parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value="`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`" /> + </set> + <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'`" /> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.DURRMPolicyMembersLength' /> + <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList_length'`" /> + </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="RRMPOLICYmemberslength"/> + <parameter name="field2" value="`$tmp.DURRMPolicyMembersLength`"/> + </record> + <block atomic='true'> + <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'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + </block> + </outcome> + <outcome value='true'> + <block atomic='true'> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.removeRRMPolicyMember.ToNRCellDU`"/> + <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU.ransim-mounted`"/> <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> <parameter name="target" value="{idNearRTRIC}"/> <parameter name="replacement" value="`$tmp.nearRTRICId`"/> </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> + <parameter name="target" value="{mountName}"/> + <parameter name="replacement" value="`$tmp.GNBDUId`"/> + </execute> + </block> + </outcome> + </switch> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> + <parameter name="target" value="{idGNBDUFunction}"/> + <parameter name="replacement" value="`$tmp.GNBDUId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> + <parameter name="target" value="{idNRCellDU}"/> + <parameter name="replacement" value="`$tmp.cellDULocalId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> + <parameter name="target" value="{id}"/> + <parameter name="replacement" value="`$tmp.cellDURRMPolicyRatio_id`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <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_id`"/> + </execute> + <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='true'> + <outcome value='failure'> <block atomic='true'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.removeRRMPolicyMember.ToNRCellDU.ransim-mounted`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> - <parameter name="target" value="{mountName}"/> - <parameter name="replacement" value="`$tmp.GNBDUId`"/> - </execute> + <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> - </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> - </switch> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> - <parameter name="target" value="{idGNBDUFunction}"/> - <parameter name="replacement" value="`$tmp.GNBDUId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> - <parameter name="target" value="{idNRCellDU}"/> - <parameter name="replacement" value="`$tmp.cellDULocalId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/> - <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> - <parameter name="target" value="{id}"/> - <parameter name="replacement" value="`$tmp.cellDURRMPolicyRatio_id`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <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_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> + </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.delete.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.delete.du.rrmpolicy.url`"/> + <parameter name="outputPath" value="tmp.cps.delete.du.rrmpolicy.url"/> + <parameter name="target" value="{templateId}"/> + <parameter name="replacement" value="`$prop.tbdmt.template.delete-nrcelldu-rrmpolicyratio`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$tmp.cps.delete.du.rrmpolicy.url`"/> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/delete-nrcelldu-rrmpolicyratio.json '`" /> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="cps-du-rrm-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 CPS"/> + </record> + </outcome> + </execute> </block> - </outcome> - <outcome value='failure'> - <block atomic='true'> + </block> + </outcome> + <outcome value='false'> + <block atomic='true'> + <for index='iddu-rrm2' start='0' end='`$tmp.DURRMPolicyMembersLength`' > <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> + <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> + <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/so-callback-response.log" /> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="URL for SO Callback Response"/> - <parameter name='field2' value="`$tmp.so.callbackURL`" /> - <parameter name='field3' value="`$tmp.status`" /> - <parameter name='field4' value="`$tmp.reason`" /> - <parameter name='field5' value="`$tmp.requestID`" /> - <parameter name='field6' value="`$tmp.action`" /> + <parameter name="field1" value="RRMPolicyMember nssai du"/> + <parameter name="field2" value="`$tmp.cellDURRMPolicyMember_sNSSAI`"/> </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> + <switch test='`$tmp.cellDURRMPolicyMember_sNSSAI==$tmp.sNSSAI`'> + <outcome value='true'> + <block atomic='true'> + <set> + <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" /> <parameter name="level" value="info" /> - <parameter name="field1" value="SO Response Sent "/> + <parameter name="field1" value="RRMPolicyMember id - "/> + <parameter name="field2" value="`$tmp.CellDURRMPolicyMember_id`"/> </record> + <switch test='`$prop.ransim-mounted`'> + <outcome value='false'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.removeRRMPolicyMember.ToNRCellDU`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + </outcome> + <outcome value='true'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.removeRRMPolicyMember.ToNRCellDU.ransim-mounted`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> + <parameter name="target" value="{mountName}"/> + <parameter name="replacement" value="`$tmp.GNBDUId`"/> + </execute> + </block> + </outcome> + </switch> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> + <parameter name="target" value="{idGNBDUFunction}"/> + <parameter name="replacement" value="`$tmp.GNBDUId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> + <parameter name="target" value="{idNRCellDU}"/> + <parameter name="replacement" value="`$tmp.cellDULocalId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/> + <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/> + <parameter name="target" value="{id}"/> + <parameter name="replacement" value="`$tmp.cellDURRMPolicyRatio_id`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <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_id`"/> + </execute> + <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'> + <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> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error removing cellDU RRMPolicyRatio. Aborting RPC executiopn'/> + </set> + </block> + </outcome> + </execute> + <block atomic='true'> + <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 CPS"/> + </record> + </outcome> + </execute> + </block> + <switch test='`$prop.ransim-mounted`'> + <outcome value='false'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + </outcome> + <outcome value='true'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{mountName}"/> + <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/> + </execute> + </block> + </outcome> + </switch> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{idGNBDUFunction}"/> + <parameter name="replacement" value="`$tmp.GNBDUId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/> + <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/> + <parameter name="target" value="{idNRCellDU}"/> + <parameter name="replacement" value="`$tmp.cellDULocalId`"/> + </execute> + <set> + <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/> + <parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/> + <parameter name='tmp.RRMPolicyRatio_id' value='`$tmp.cellDURRMPolicyRatio_id`'/> + </set> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" /> + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`"/> + <parameter name="restapiUser" value="`$prop.controller.user`" /> + <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> + <parameter name="httpMethod" value="PATCH"/> + <parameter name="responsePrefix" value="patch-cellDU-RRMPolicyRatio-response"/> + <parameter name='contentType' value='application/yang.patch+json' /> + <parameter name='accept' value='application/yang.patch-status+json'/> + <parameter name='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 Patched - cellDU RRMpolicyRatio"/> + </record> + </block> + </outcome> + <outcome value='failure'> + <block atomic='true'> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error patching cellDU RRMPolicyRatio. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/> + </return> + </block> + </outcome> + </execute> + <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.rrmpolicy.putDU.url"/> + <parameter name="target" value="{schemaSet}"/> + <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.cps.rrmpolicy.putDU.url`"/> + <parameter name="outputPath" value="tmp.cps.rrmpolicy.putDU.url"/> + <parameter name="target" value="{templateId}"/> + <parameter name="replacement" value="`$prop.tbdmt.template.put-nrcelldu-rrm-policy`"/> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for CPS TDBMT to update DU-rrmolicy from CPS"/> + <parameter name='field2' value="`$tmp.cps.rrmpolicy.putDU.url`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.putDU.url`"/> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcelldu-rrm-policy-ratio.json'`" /> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="update-gNBDU-rrmpolicy-cps-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="convertResponse" value="true"/> + <outcome value='failure'> + <block atomic='true'> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/> + </set> + </block> + </outcome> + <outcome value='success'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully updated CPS - NRCellDU RRMPolicyRatio "/> + </record> + </block> + </outcome> + </execute> + </block> </block> </outcome> - </execute> + </switch> </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"> - <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Delete RRMPolicy URL - "/> - <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> + </for> + </block> + </outcome> + </switch> + </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="Delete RRMPolicy URL - "/> + <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> + </block> + </for> + </block> </block> - </for> - </block> + </outcome> + </switch> </block> - </outcome> - </switch> - </block> - </for> - </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="plmninfolistnssailength in false in DU "/> - <parameter name="field2" value="`$tmp.sNssaiListLengthDU`"/> - </record> + </for> + </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="plmninfolistnssailength in false in DU "/> + <parameter name="field2" value="`$tmp.sNssaiListLengthDU`"/> + </record> + </block> + </outcome> + </switch> </block> - </outcome> - </switch> - </block> - </for> + </for> + </block> + </outcome> + </switch> </block> </for> </block> @@ -2889,7 +3721,7 @@ <return status='failure'> <parameter name='ack-final' value='Y'/> <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/> + <parameter name='error-message' value='Error updating inventory in CPS. Aborting RPC executiopn'/> </return> </block> </outcome> @@ -2948,7 +3780,7 @@ <return status='failure'> <parameter name='ack-final' value='Y'/> <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/> + <parameter name='error-message' value='Error updating inventory in CPS. Aborting RPC executiopn'/> </return> </block> </outcome> @@ -3008,7 +3840,7 @@ <return status='failure'> <parameter name='ack-final' value='Y'/> <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/> + <parameter name='error-message' value='Error updating inventory in CPS. Aborting RPC executiopn'/> </return> </block> </outcome> |