+[
+ {
+ "id": "1ba43e4f.c8bae2",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 195.6666717529297,
+ "y": 286.9999237060547,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "6c8a49b9.cf9828"
+ ]
+ ]
+ },
+ {
+ "id": "6c8a49b9.cf9828",
+ "type": "service-logic",
+ "name": "ran-slice-api ${project.version}",
+ "module": "ran-slice-api",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
+ "outputs": 1,
+ "x": 250.66669464111328,
+ "y": 373.99989223480225,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "fc3da516.2b9528"
+ ]
+ ]
+ },
+ {
+ "id": "fc3da516.2b9528",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='terminateRANSliceInstance-cps' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 184.6666717529297,
+ "y": 433.99985790252686,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "f7455acf.eeb6a8"
+ ]
+ ]
+ },
+ {
+ "id": "f7455acf.eeb6a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 190.66666412353516,
+ "y": 528.749888420105,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "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": "32971074.ad3d4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 447.6666793823242,
+ "y": 784.9999752044678,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "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": "c89b481a.ca2538",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1017.7347679138184,
+ "y": 816.0680041313171,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "4e60d169.8b879"
+ ]
+ ]
+ },
+ {
+ "id": "4e60d169.8b879",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1187.7346649169922,
+ "y": 817.0681195259094,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "22f7d348.f51acc",
+ "a5e12b93.465eb8"
+ ]
+ ]
+ },
+ {
+ "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 CPS\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-cps-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1410.734561920166,
+ "y": 795.0680952072144,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1417.5125885009766,
+ "y": 831.068193435669,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cafdd69c.0bdde8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1022.7347526550293,
+ "y": 776.0680961608887,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "e94e2f0c.bc7d4"
+ ]
+ ]
+ },
+ {
+ "id": "e94e2f0c.bc7d4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1286.734951019287,
+ "y": 768.0681438446045,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "5ea6f8fa.cb7a18",
+ "316b9170.fe028e"
+ ]
+ ]
+ },
+ {
+ "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 CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1506.734661102295,
+ "y": 763.1791982650757,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "52c2366.8432bc8",
+ "type": "for",
+ "name": "foreach NearRTRIC",
+ "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-cps-response._length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 550.9166488647461,
+ "y": 1390.0680503845215,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "cd7b5b2e.15df88",
+ "3feef3da.608c0c",
+ "e361f9c1.00cf48",
+ "ed2b6da9.a8116",
+ "21f3f680.83717a",
+ "b5c5b17d.76ad"
+ ]
+ ]
+ },
+ {
+ "id": "cd7b5b2e.15df88",
+ "type": "block",
+ "name": "Process NearRTRIC",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 785.2702217102051,
+ "y": 1378.6438312530518,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "46c7a11d.dab2f",
+ "2c97aee8.6feb22",
+ "1fe2408f.3bbe9f",
+ "79afbda7.95ca14"
+ ]
+ ]
+ },
+ {
+ "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": 1076.4622268676758,
+ "y": 857.9772853851318,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1855.463035583496,
+ "y": 948.9775629043579,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8dd516ad.a52718",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1797.7348403930664,
+ "y": 1136.5226125717163,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "759a5ecc.142e2"
+ ]
+ ]
+ },
+ {
+ "id": "759a5ecc.142e2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1950.7349548339844,
+ "y": 1125.5226192474365,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a5d67c1.092028",
+ "9fcef2cf.63be3"
+ ]
+ ]
+ },
+ {
+ "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 CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2099.734645843506,
+ "y": 1088.6335973739624,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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 CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2113.734649658203,
+ "y": 1163.522665977478,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "ab8eba7c.8f3cb8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1795.552978515625,
+ "y": 1277.431713104248,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "e0a8de83.15ff1"
+ ]
+ ]
+ },
+ {
+ "id": "e0a8de83.15ff1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1945.5528869628906,
+ "y": 1292.4318504333496,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "93e039b1.f91188"
+ ]
+ ]
+ },
+ {
+ "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": 2092.5528259277344,
+ "y": 1320.431926727295,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1059.9166717529297,
+ "y": 1502.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3feef3da.608c0c",
+ "type": "block",
+ "name": "Process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 737.9166946411133,
+ "y": 1490.2500114440918,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "40de9e67.eba3",
+ "d787bb51.984b38",
+ "53973d78.a86cb4"
+ ]
+ ]
+ },
+ {
+ "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": 1031.9166717529297,
+ "y": 1567.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "53973d78.a86cb4",
+ "type": "for",
+ "name": "foreach CUCP",
+ "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1059.9166717529297,
+ "y": 1642.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "4fdb8598.46a7cc"
+ ]
+ ]
+ },
+ {
+ "id": "4fdb8598.46a7cc",
+ "type": "block",
+ "name": "block : process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1280.9166717529297,
+ "y": 1649.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "bed07345.7abab",
+ "fc0d1a1a.111ba8",
+ "f4ef709e.c485d",
+ "297304e3.8470ac"
+ ]
+ ]
+ },
+ {
+ "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": 1588.916748046875,
+ "y": 1489.8499178886414,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fc0d1a1a.111ba8",
+ "type": "for",
+ "name": "for cellCUList",
+ "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1635.9166717529297,
+ "y": 1646.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "35ed9873.ace0c8"
+ ]
+ ]
+ },
+ {
+ "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": 2348.416946411133,
+ "y": 1254.999939918518,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2348.1667556762695,
+ "y": 1495.4999446868896,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2309.916702270508,
+ "y": 1629.2500858306885,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "dde9c201.62a78",
+ "5f26df54.8906a"
+ ]
+ ]
+ },
+ {
+ "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": 2351.9167556762695,
+ "y": 1587.7498965263367,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "27f3bce7.3235f4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2147.916603088379,
+ "y": 1246.2499332427979,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "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": "dde9c201.62a78",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2547.9166107177734,
+ "y": 1661.2499933242798,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a7afd0bb.c3f6f"
+ ]
+ ]
+ },
+ {
+ "id": "a7afd0bb.c3f6f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2730.9166107177734,
+ "y": 1654.249994277954,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "517d6257.251e5c"
+ ]
+ ]
+ },
+ {
+ "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": 2983.916618347168,
+ "y": 1651.250286102295,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f26df54.8906a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2529.9167556762695,
+ "y": 1609.2498950958252,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "87547512.9849d8"
+ ]
+ ]
+ },
+ {
+ "id": "87547512.9849d8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2672.9168090820312,
+ "y": 1570.2499923706055,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "7aee0745.be9428",
+ "4828676b.dcaf88",
+ "316b9170.fe028e"
+ ]
+ ]
+ },
+ {
+ "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": 2932.9166107177734,
+ "y": 1590.2500915527344,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 2856.9166145324707,
+ "y": 1552.2499923706055,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 2414.9167556762695,
+ "y": 1358.250039100647,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2388.9167556762695,
+ "y": 1407.9999418258667,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2356.6667518615723,
+ "y": 1450.999942779541,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1638.9167175292969,
+ "y": 1544.2498950958252,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1645.9166717529297,
+ "y": 1602.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "78c7df4b.3ec4",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2343.9167556762695,
+ "y": 1210.2499389648438,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "8d2da7b9.a57bf8",
+ "d2f10fd2.ed45"
+ ]
+ ]
+ },
+ {
+ "id": "8d2da7b9.a57bf8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2578.9167556762695,
+ "y": 1212.2497444152832,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "b6bcae86.f69c9"
+ ]
+ ]
+ },
+ {
+ "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": 2900.9166717529297,
+ "y": 1296.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d2f10fd2.ed45",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2590.9167556762695,
+ "y": 1281.2499403953552,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "53bb375c.0a6788"
+ ]
+ ]
+ },
+ {
+ "id": "2cf05492.4e9f4c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1927.9166717529297,
+ "y": 2067.249927043915,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "fe21a000.42e6f",
+ "31f1dbc7.0e9a24",
+ "8c5ad8f.229da28",
+ "543bb6d8.0e2dc8",
+ "155b8a01.849d16",
+ "bed41754.dbf568",
+ "34bd7f4e.1172e",
+ "5d574c8a.e2b664",
+ "696f0afe.f70dd4"
+ ]
+ ]
+ },
+ {
+ "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": 2109.9166717529297,
+ "y": 1850.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 2108.9166717529297,
+ "y": 1911.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8c5ad8f.229da28",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2149.9166717529297,
+ "y": 1973.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "7ea657d9.14df58",
+ "55579178.23797"
+ ]
+ ]
+ },
+ {
+ "id": "7ea657d9.14df58",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2327.9166717529297,
+ "y": 1940.2496829032898,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "412cca1e.8129c4"
+ ]
+ ]
+ },
+ {
+ "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": 2605.9166717529297,
+ "y": 1932.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2184.9166717529297,
+ "y": 2045.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2149.9166717529297,
+ "y": 2097.249927043915,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd8abd1a.07b83",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2435.9166717529297,
+ "y": 2224.249927043915,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "6f86416f.3eae1"
+ ]
+ ]
+ },
+ {
+ "id": "6f86416f.3eae1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2599.916549682617,
+ "y": 2225.2500491142273,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "f3a7c4a3.632bc8",
+ "2cca392e.c8fed6"
+ ]
+ ]
+ },
+ {
+ "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": 2749.916549682617,
+ "y": 2220.25017118454,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eaa9b8ed.263c58",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2431.9166717529297,
+ "y": 2145.249927043915,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "f60e61de.0a13f"
+ ]
+ ]
+ },
+ {
+ "id": "f60e61de.0a13f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2589.9169158935547,
+ "y": 2093.249927043915,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "107dee1a.a3f492",
+ "4e497c6.29f1d84",
+ "316b9170.fe028e"
+ ]
+ ]
+ },
+ {
+ "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": 2760.916549682617,
+ "y": 2154.249988079071,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 2755.9166717529297,
+ "y": 2059.249927043915,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 2184.9166717529297,
+ "y": 2172.249927043915,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "eaa9b8ed.263c58",
+ "cd8abd1a.07b83"
+ ]
+ ]
+ },
+ {
+ "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": 2772.9166374206543,
+ "y": 2257.2498660087585,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2119.9166717529297,
+ "y": 2330.2501559257507,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "efc1790c.673ad8"
+ ]
+ ]
+ },
+ {
+ "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": 2163.9166717529297,
+ "y": 2226.249927043915,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "efc1790c.673ad8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2340.9166717529297,
+ "y": 2350.2501559257507,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "f99e4696.16b678",
+ "71966e7d.61fe3",
+ "ffe2c7da.35a828",
+ "5ccbbfaf.7d267",
+ "794b5fb5.4ba12",
+ "76da6af6.531dd4",
+ "f7bc73cc.eb608",
+ "2334cb93.df8624"
+ ]
+ ]
+ },
+ {
+ "id": "f99e4696.16b678",
+ "type": "set",
+ "name": "Calculate updated RRMPolicyRatio",
+ "xml": "<set>\n\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`\" />",
+ "comments": "",
+ "x": 2609.916732788086,
+ "y": 2329.250468879938,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 2103.9166717529297,
+ "y": 2280.249927043915,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "65f3f3ea.9ffbcc",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2625.0277938842773,
+ "y": 782.4721851348877,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "83d280c.ada118"
+ ]
+ ]
+ },
+ {
+ "id": "35ed9873.ace0c8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1851.916648864746,
+ "y": 1522.2498979568481,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "97855f4a.d7ad",
+ "cba4f766.8bfa58",
+ "66bdcf47.f5fd2"
+ ]
+ ]
+ },
+ {
+ "id": "254bc6eb.85bf1a",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2841.6941528320312,
+ "y": 1019.0277252197266,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "79d73cd3.68fce4"
+ ]
+ ]
+ },
+ {
+ "id": "79d73cd3.68fce4",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2264.916606903076,
+ "y": 1100.249942779541,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "27f3bce7.3235f4"
+ ]
+ ]
+ },
+ {
+ "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": 2338.916606903076,
+ "y": 1167.2499437332153,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2899.8054809570312,
+ "y": 975.4721674919128,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "66e14ea5.3ea48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2708.9168090820312,
+ "y": 949.2499995231628,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "2b8cd09b.9da6a",
+ "254bc6eb.85bf1a",
+ "65f2ae51.d83ad"
+ ]
+ ]
+ },
+ {
+ "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": 3079.8052825927734,
+ "y": 899.4722151756287,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e361f9c1.00cf48",
+ "type": "block",
+ "name": "Process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 640.9166717529297,
+ "y": 1712.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "49399da0.0bd954",
+ "12b74b72.cc3cd5",
+ "66b8aa7b.05e9f4"
+ ]
+ ]
+ },
+ {
+ "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": 971.9166717529297,
+ "y": 1722.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 943.9166717529297,
+ "y": 1787.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "66b8aa7b.05e9f4",
+ "type": "for",
+ "name": "foreach CUUP",
+ "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 971.9166717529297,
+ "y": 1862.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "44e82062.8b0ec"
+ ]
+ ]
+ },
+ {
+ "id": "44e82062.8b0ec",
+ "type": "block",
+ "name": "block : process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 841.9167938232422,
+ "y": 2442.25009393692,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "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": "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": 1253.9167175292969,
+ "y": 2275.249948501587,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1237.9168128967285,
+ "y": 2325.2499980926514,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1233.9167175292969,
+ "y": 2379.25,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3922ace6.2b03d4",
+ "type": "for",
+ "name": "foreach pLMNInfo",
+ "xml": "<for index='id-plmn' start='0' end='1'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1077.9166641235352,
+ "y": 2514.2501525878906,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "dda75d30.33f96"
+ ]
+ ]
+ },
+ {
+ "id": "dda75d30.33f96",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1199.9166641235352,
+ "y": 2586.250155210495,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "5f4b0ba4.1868b4",
+ "61da4cab.1c9604",
+ "5cf07ee.a18f08"
+ ]
+ ]
+ },
+ {
+ "id": "6ee50315.521c5c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2327.9169425964355,
+ "y": 3094.2502584457397,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "e9a690b5.df87c"
+ ]
+ ]
+ },
+ {
+ "id": "e9a690b5.df87c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2484.916946411133,
+ "y": 3087.250063419342,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "fededc31.9e6a5",
+ "fb69b12.dadfb5",
+ "316b9170.fe028e"
+ ]
+ ]
+ },
+ {
+ "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": 2729.9169540405273,
+ "y": 3088.2504539489746,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 2717.9169540405273,
+ "y": 3123.250454902649,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 2707.9167556762695,
+ "y": 3171.250259399414,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df647ace.cb52b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2551.916748046875,
+ "y": 3164.2500648498535,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "46efa16f.c84de"
+ ]
+ ]
+ },
+ {
+ "id": "44bc89bb.298148",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2391.916748046875,
+ "y": 3164.250259399414,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "df647ace.cb52b8"
+ ]
+ ]
+ },
+ {
+ "id": "ca5cc8a3.3e8f88",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2073.9166984558105,
+ "y": 2885.250304222107,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "36c2a171.0e8bae",
+ "9d3cb6c3.a805e8"
+ ]
+ ]
+ },
+ {
+ "id": "36c2a171.0e8bae",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2393.9168014526367,
+ "y": 2935.2500615417957,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a33d8811.e45768"
+ ]
+ ]
+ },
+ {
+ "id": "9d3cb6c3.a805e8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2426.9166870117188,
+ "y": 3034.2502703666687,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "c4ed927e.78078"
+ ]
+ ]
+ },
+ {
+ "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": 2758.9166870117188,
+ "y": 2947.2502703666687,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2089.9166412353516,
+ "y": 2989.2500619888306,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1498.9168243408203,
+ "y": 3266.2505861520767,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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`\"/>\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": 1461.9168701171875,
+ "y": 3409.2506700754166,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a010f201.e62",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1473.9167175292969,
+ "y": 3475.2501182556152,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "fbc8d9cc.feee08",
+ "55fb2029.df4fc"
+ ]
+ ]
+ },
+ {
+ "id": "fbc8d9cc.feee08",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1782.916648864746,
+ "y": 3431.249677658081,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "beafd9cb.310fc8"
+ ]
+ ]
+ },
+ {
+ "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": 2041.9164581298828,
+ "y": 3433.2498726844788,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1520.9168148040771,
+ "y": 3524.2503147125244,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1539.9168137311935,
+ "y": 3572.2502670288086,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ce438f31.89a8c",
+ "3af8e02c.ea6cc"
+ ]
+ ]
+ },
+ {
+ "id": "ce438f31.89a8c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1945.916847229004,
+ "y": 3537.250069618225,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "606330f3.ba527"
+ ]
+ ]
+ },
+ {
+ "id": "606330f3.ba527",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2119.916847229004,
+ "y": 3548.2498741149902,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "55251595.894f9c",
+ "ff2950a2.14478",
+ "316b9170.fe028e"
+ ]
+ ]
+ },
+ {
+ "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": 2311.9166564941406,
+ "y": 3493.2498741149902,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 2355.9166564941406,
+ "y": 3537.2498741149902,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 2342.9166564941406,
+ "y": 3616.2502660751343,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2334.9166564941406,
+ "y": 3572.25026512146,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "13010ccf.e40de3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2125.9166526794434,
+ "y": 3594.25026512146,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "3feb4843.7f6b68",
+ "4b91f9c3.f041c8"
+ ]
+ ]
+ },
+ {
+ "id": "3af8e02c.ea6cc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1944.916847229004,
+ "y": 3593.2500705718994,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "13010ccf.e40de3"
+ ]
+ ]
+ },
+ {
+ "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": 1538.9168128967285,
+ "y": 3619.250316619873,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1501.9168148040771,
+ "y": 3668.250316619873,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1557.5833187103271,
+ "y": 3712.583520889282,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "38ebc36a.b4b08c"
+ ]
+ ]
+ },
+ {
+ "id": "38ebc36a.b4b08c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1813.5833435058594,
+ "y": 3714.583683013916,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "750911c.20034f",
+ "b68af716.6258a8",
+ "81c68600.ef0528",
+ "1d0d0a55.65b476",
+ "fc97f2d.beb331",
+ "5799de85.64ffb",
+ "e5584a04.ee2ee8"
+ ]
+ ]
+ },
+ {
+ "id": "ed2b6da9.a8116",
+ "type": "block",
+ "name": "Process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1078.666862487793,
+ "y": 3955.0005321502686,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "48e6bf3b.040f8",
+ "256fab02.1ee714",
+ "5d063a61.c12ae4"
+ ]
+ ]
+ },
+ {
+ "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": 1387.6669616699219,
+ "y": 3876.000834941864,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1345.6669464111328,
+ "y": 3937.000834941864,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5d063a61.c12ae4",
+ "type": "for",
+ "name": "foreach DU",
+ "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1360.666976928711,
+ "y": 4003.0004596710205,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "feebc90d.05dcc8"
+ ]
+ ]
+ },
+ {
+ "id": "feebc90d.05dcc8",
+ "type": "block",
+ "name": "block : process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1638.6669616699219,
+ "y": 4008.000804424286,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a3248e01.ef34b",
+ "545cc013.d2f6e",
+ "e69d4623.e449e8",
+ "74daf78c.c176c8"
+ ]
+ ]
+ },
+ {
+ "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": 1937.6666870117188,
+ "y": 4113.999803543091,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1910.6666870117188,
+ "y": 4164.999803543091,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1919.6666870117188,
+ "y": 4224.000158786774,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "74daf78c.c176c8",
+ "type": "for",
+ "name": "for cellDUList",
+ "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1980.416732788086,
+ "y": 4276.750162124634,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "3c027d38.6319c2"
+ ]
+ ]
+ },
+ {
+ "id": "3a275951.871c26",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2838.416759490967,
+ "y": 4823.000185012817,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "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": "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": 3088.4166717529297,
+ "y": 4701.999927043915,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7594188f.699c38",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3116.4166717529297,
+ "y": 4769.999927043915,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "5fb65a46.9dc394",
+ "bde60b2f.cad3b8"
+ ]
+ ]
+ },
+ {
+ "id": "5fb65a46.9dc394",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3324.4166717529297,
+ "y": 4734.99968290329,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "cba51a54.1ecf58"
+ ]
+ ]
+ },
+ {
+ "id": "bde60b2f.cad3b8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3319.416721343994,
+ "y": 4804.000251293182,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a6be1d8a.ba4d"
+ ]
+ ]
+ },
+ {
+ "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": 3644.4166717529297,
+ "y": 4749.999927043915,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3120.4168128967285,
+ "y": 4809.00057888031,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3168.4168853759766,
+ "y": 4923.000109195709,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3141.4170684814453,
+ "y": 4978.000111103058,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3126.4168701171875,
+ "y": 5022.2506103515625,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3127.1671142578125,
+ "y": 5066.50018453598,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3135.416618347168,
+ "y": 5155.000289916992,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3183.416618347168,
+ "y": 5194.249900817871,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "316be776.66bd88",
+ "695dee15.6eb6b"
+ ]
+ ]
+ },
+ {
+ "id": "695dee15.6eb6b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3436.4166259765625,
+ "y": 5060.2498989105225,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "21f2daf4.680c26"
+ ]
+ ]
+ },
+ {
+ "id": "316be776.66bd88",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3463.4166259765625,
+ "y": 5191.249900817871,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "9f3db51f.a9c3f8"
+ ]
+ ]
+ },
+ {
+ "id": "21f2daf4.680c26",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3600.4170150756836,
+ "y": 5034.2498989105225,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "9fca650f.2151b8",
+ "3526c65b.c2d38a",
+ "316b9170.fe028e"
+ ]
+ ]
+ },
+ {
+ "id": "9f3db51f.a9c3f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3607.4166259765625,
+ "y": 5189.249900817871,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "87975273.292e6"
+ ]
+ ]
+ },
+ {
+ "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": 3779.4162368774414,
+ "y": 5168.2502908706665,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3782.4166259765625,
+ "y": 5095.2498989105225,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 3781.416627883911,
+ "y": 5029.249897956848,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "a469561d.66d708",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2986.6666717529297,
+ "y": 5515.249927043915,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "3bb85d56.b352d2",
+ "b01db51b.b8e7d8",
+ "4b410bb3.697df4",
+ "c0b0fa78.17c1c8",
+ "7db8e65b.b2a548",
+ "a91eb77f.2aa468",
+ "de883414.7d9658",
+ "2af82ffc.86c9a"
+ ]
+ ]
+ },
+ {
+ "id": "3bb85d56.b352d2",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3210.666618347168,
+ "y": 5488.249903678894,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "1faf8101.dddbcf",
+ "b69774bf.f3d808"
+ ]
+ ]
+ },
+ {
+ "id": "1faf8101.dddbcf",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3402.666816711426,
+ "y": 5442.250293731689,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "2206a80d.00c5f8"
+ ]
+ ]
+ },
+ {
+ "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": 3732.667022705078,
+ "y": 5466.250293731689,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3235.666618347168,
+ "y": 5555.249904632568,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3211.666618347168,
+ "y": 5612.249905586243,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3246.666618347168,
+ "y": 5659.249906539917,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ea6ccec3.5088c",
+ "edf9838e.5d4b5"
+ ]
+ ]
+ },
+ {
+ "id": "ea6ccec3.5088c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3470.6666221618652,
+ "y": 5645.249905586243,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a4754948.1b9aa8"
+ ]
+ ]
+ },
+ {
+ "id": "edf9838e.5d4b5",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3683.666633605957,
+ "y": 5674.250248283148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "98e5991e.76fb98"
+ ]
+ ]
+ },
+ {
+ "id": "a4754948.1b9aa8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3634.6670150756836,
+ "y": 5629.249904632568,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "cfe60967.5e4408",
+ "d8046b23.390598",
+ "316b9170.fe028e"
+ ]
+ ]
+ },
+ {
+ "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": 3834.667018890381,
+ "y": 5593.249904632568,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 3851.6666259765625,
+ "y": 5629.249906539917,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "98e5991e.76fb98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3846.917022705078,
+ "y": 5664.000248283148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "3bef5ada.9dd2a6",
+ "6bcfbb92.1e83f4"
+ ]
+ ]
+ },
+ {
+ "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": 4015.1670265197754,
+ "y": 5644.000248283148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4029.6670303344727,
+ "y": 5688.500248283148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3218.666618347168,
+ "y": 5715.249906539917,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3174.666618347168,
+ "y": 5757.249907493591,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "de883414.7d9658",
+ "type": "block",
+ "name": "rrmPolicyDedicatedRatio",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3789.6670150756836,
+ "y": 5418.24990272522,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "fc43632.cea5aa",
+ "d8e492b7.5b4a7",
+ "dffc7550.f59f08",
+ "dd3d7fb8.b53f6",
+ "c92781d.9a54c8",
+ "15b6b189.1e073e",
+ "5efbfe90.5f7b1",
+ "92605db2.c80da",
+ "6a59974e.1a4a98",
+ "4cb15f69.c521c",
+ "cfcf9bd2.7eb188"
+ ]
+ ]
+ },
+ {
+ "id": "dffc7550.f59f08",
+ "type": "set",
+ "name": "Calculate RRM Parms1",
+ "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 4211.656478881836,
+ "y": 5085.5726799964905,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "dd3d7fb8.b53f6",
+ "type": "set",
+ "name": "Calculate RRM Parms2",
+ "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 4220.197738647461,
+ "y": 5130.592699468136,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "c92781d.9a54c8",
+ "type": "set",
+ "name": "Calculate RRM Parms3",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`' />",
+ "comments": "",
+ "x": 4210.197860717773,
+ "y": 5185.592577397823,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 4210.197738647461,
+ "y": 5236.592577457428,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "5efbfe90.5f7b1",
+ "type": "set",
+ "name": "Calculate RRM Parms5",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
+ "comments": "",
+ "x": 4198.197860717773,
+ "y": 5296.592699468136,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "92605db2.c80da",
+ "type": "set",
+ "name": "Calculate RRM Parms6",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
+ "comments": "",
+ "x": 4236.197738647461,
+ "y": 5346.592699468136,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 4223.197677612305,
+ "y": 5416.593065738678,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 4194.197677612305,
+ "y": 5480.592089176178,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "cfcf9bd2.7eb188",
+ "type": "set",
+ "name": "calculation9",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
+ "comments": "",
+ "x": 4182.198226928711,
+ "y": 5531.5919671058655,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 4157.656539916992,
+ "y": 5597.5724358558655,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 3983.6664657592773,
+ "y": 5609.693742275238,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3203.9166717529297,
+ "y": 5799.249927043915,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a3844d0d.cd085"
+ ]
+ ]
+ },
+ {
+ "id": "a3844d0d.cd085",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3414.9170150756836,
+ "y": 5801.249908447266,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "3be88fac.23994",
+ "753549da.987cc8",
+ "8cb96950.7462b8",
+ "372afd9e.1618e2",
+ "41441730.687178",
+ "84e35ce4.a7ed6",
+ "b61127a2.26b4e8"
+ ]
+ ]
+ },
+ {
+ "id": "316b9170.fe028e",
+ "type": "block",
+ "name": "block : SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4561.40104675293,
+ "y": 3003.249929666519,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "aff8fe5a.5ba72",
+ "fa4292a5.db10a",
+ "3b732ade.576656"
+ ]
+ ]
+ },
+ {
+ "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": 5223.40202331543,
+ "y": 2795.149587869644,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "fa4292a5.db10a",
+ "type": "record",
+ "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": 5198.400909423828,
+ "y": 2892.2502653598785,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 5113.40092086792,
+ "y": 2989.250143289566,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "78474373.74efec",
+ "a6481dcb.5263a"
+ ]
+ ]
+ },
+ {
+ "id": "78474373.74efec",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5339.400929450989,
+ "y": 2966.2501122951508,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "af614c7c.4120f"
+ ]
+ ]
+ },
+ {
+ "id": "a6481dcb.5263a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5329.400783538818,
+ "y": 3074.2500517368317,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "34d159d6.87ff26"
+ ]
+ ]
+ },
+ {
+ "id": "34d159d6.87ff26",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5479.4005699157715,
+ "y": 3093.250112771988,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "3ace3b5.8f6d0c4"
+ ]
+ ]
+ },
+ {
+ "id": "af614c7c.4120f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5490.400798797607,
+ "y": 2961.2502343654633,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "76844fda.f1aab"
+ ]
+ ]
+ },
+ {
+ "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": 5656.400478363037,
+ "y": 2964.2500517368317,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 5643.400585174561,
+ "y": 3099.2500517368317,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c6c4ef68.122e4",
+ "type": "block",
+ "name": "SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 590.1511306762695,
+ "y": 4732.9999351501465,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "20769d2a.420012",
+ "a69eafea.2f728",
+ "7203136f.64f75c",
+ "57f1c818.b1f968"
+ ]
+ ]
+ },
+ {
+ "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": 890.1522827148438,
+ "y": 4664.899410247803,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 865.1511077880859,
+ "y": 4771.000058174133,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 736.1512069702148,
+ "y": 4853.999822616577,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "f24970e9.4fb97",
+ "fa43c75d.2e2048"
+ ]
+ ]
+ },
+ {
+ "id": "f24970e9.4fb97",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 901.1512069702148,
+ "y": 4833.999821662903,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "9178e334.7b7b5"
+ ]
+ ]
+ },
+ {
+ "id": "fa43c75d.2e2048",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 893.1511001586914,
+ "y": 4906.999772071838,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "f13d5bf2.7e9398"
+ ]
+ ]
+ },
+ {
+ "id": "f13d5bf2.7e9398",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1039.1509437561035,
+ "y": 4911.99988079071,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "e2ef56da.241a68"
+ ]
+ ]
+ },
+ {
+ "id": "9178e334.7b7b5",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1050.151107788086,
+ "y": 4829.999957084656,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "1e9476fe.8567f9",
+ "b91a468b.091708"
+ ]
+ ]
+ },
+ {
+ "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": 1197.1507263183594,
+ "y": 4840.999698638916,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 1200.150863647461,
+ "y": 4917.999773025513,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1184.661334991455,
+ "y": 4744.9891901016235,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 872.49072265625,
+ "y": 4711.98547077179,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "55579178.23797",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2344.9166717529297,
+ "y": 2000.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ac9f7d5c.c5ab6"
+ ]
+ ]
+ },
+ {
+ "id": "ac9f7d5c.c5ab6",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2537.9063301086426,
+ "y": 2000.2500491142273,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "2aff4ba7.44b734",
+ "d4eb12a5.41e3b"
+ ]
+ ]
+ },
+ {
+ "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": 2844.9065170288086,
+ "y": 1967.2501502037048,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2788.9069175720215,
+ "y": 2020.250343799591,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "53bb375c.0a6788",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2772.4166717529297,
+ "y": 1384.2499270439148,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "8c8566bf.5636f8",
+ "804f660e.bdb128"
+ ]
+ ]
+ },
+ {
+ "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": 3023.4171028137207,
+ "y": 1407.2500596046448,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3079.416702270508,
+ "y": 1354.2498660087585,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2849.9166870117188,
+ "y": 3049.2502703666687,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2923.9163970947266,
+ "y": 2998.250024318695,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c4ed927e.78078",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2603.9163513183594,
+ "y": 3036.250015735626,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "6e81cef.e6ae63",
+ "fd1b89e3.a60298"
+ ]
+ ]
+ },
+ {
+ "id": "b38c84e3.5f49f8",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2114.9166526794434,
+ "y": 3480.249873161316,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "77142c01.72edd4",
+ "367589e6.a41116"
+ ]
+ ]
+ },
+ {
+ "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": 2381.9166564941406,
+ "y": 3413.2498722076416,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2355.916851043701,
+ "y": 3452.250068664551,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "55fb2029.df4fc",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1906.416648864746,
+ "y": 3486.2498741149902,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "b38c84e3.5f49f8"
+ ]
+ ]
+ },
+ {
+ "id": "a6be1d8a.ba4d",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3514.4166717529297,
+ "y": 4819.249927043915,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "4606ed6b.414b94",
+ "af44daa0.496f88"
+ ]
+ ]
+ },
+ {
+ "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": 3821.416702270508,
+ "y": 4789.2498660087585,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3765.4171028137207,
+ "y": 4842.250059604645,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b69774bf.f3d808",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3405.1666221618652,
+ "y": 5509.24990272522,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "5d899889.56eb38"
+ ]
+ ]
+ },
+ {
+ "id": "5d899889.56eb38",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3566.1670150756836,
+ "y": 5565.499513626099,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "84434cdf.37679",
+ "9be49a84.c05f88"
+ ]
+ ]
+ },
+ {
+ "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": 3816.167022705078,
+ "y": 5509.499512672424,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3807.1670150756836,
+ "y": 5550.499904632568,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d92d665.3c8cba",
+ "type": "comment",
+ "name": "terminateRANSliceInstance/instantiateRANSliceModifyDeallocate-CPS",
+ "info": "",
+ "comments": "",
+ "x": 871.1666870117188,
+ "y": 142.49992620944977,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 486.4167079925537,
+ "y": 179.7499157190323,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 511.4164867401123,
+ "y": 223.74993479251862,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 600.4164905548096,
+ "y": 294.73945009708405,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 639.4164409637451,
+ "y": 330.74982607364655,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 596.4165725708008,
+ "y": 454.5000225305557,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 702.1602592468262,
+ "y": 1281.4934406280518,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2154.444366455078,
+ "y": 781.7221083641052,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8648aa3d.911368",
+ "type": "for",
+ "name": "for each rrmpolicyMember",
+ "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.NRCellCURRMPolicyMembersLength`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3416.417137145996,
+ "y": 2565.3331712186337,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "8219558b.9b7a28"
+ ]
+ ]
+ },
+ {
+ "id": "f7bc73cc.eb608",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2612.0835132598877,
+ "y": 2517.444316238165,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "201482a4.a0b29e"
+ ]
+ ]
+ },
+ {
+ "id": "201482a4.a0b29e",
+ "type": "switchNode",
+ "name": "if length == 1 ",
+ "xml": "<switch test='`$tmp.NRCellCURRMPolicyMembersLength == 1`'>\n\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2841.250873565674,
+ "y": 2506.582713454962,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "3dfb4bd5.69a774",
+ "a752c610.1912b8"
+ ]
+ ]
+ },
+ {
+ "id": "3dfb4bd5.69a774",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3028.916706085205,
+ "y": 2416.138652175665,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "e1253ff9.b4cba"
+ ]
+ ]
+ },
+ {
+ "id": "e1253ff9.b4cba",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3227.583282470703,
+ "y": 2386.1389258801937,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "d8698a09.96b758",
+ "2104a3f4.4d9a8c",
+ "e07013c4.e34c2",
+ "bd00b4e3.549f08",
+ "bc1cfc87.adef2",
+ "f9c06ff1.be8df",
+ "9bd95583.173318",
+ "c0457eb3.0b9f",
+ "274e2efa.7d0232",
+ "36ce4da4.540e72",
+ "24131615.1eae3a"
+ ]
+ ]
+ },
+ {
+ "id": "d8698a09.96b758",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3474.3612365722656,
+ "y": 2067.027592986822,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "3dbb680a.b1c768",
+ "4fff5555.0b8c0c"
+ ]
+ ]
+ },
+ {
+ "id": "3dbb680a.b1c768",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3698.694854736328,
+ "y": 2043.9165090024471,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "f5cb310f.289f9"
+ ]
+ ]
+ },
+ {
+ "id": "4fff5555.0b8c0c",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3676.5385360717773,
+ "y": 2088.3605111539364,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "f9777086.8d1c8"
+ ]
+ ]
+ },
+ {
+ "id": "f5cb310f.289f9",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3885.083282470703,
+ "y": 2040.2499440610409,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "80002f19.f8d1b"
+ ]
+ ]
+ },
+ {
+ "id": "f9777086.8d1c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3842.1947326660156,
+ "y": 2104.471898406744,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "627c6ff.9b2429",
+ "a6956241.befc"
+ ]
+ ]
+ },
+ {
+ "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": 4158.361484527588,
+ "y": 2037.472386687994,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4156.472080230713,
+ "y": 2097.8056701123714,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4081.916416168213,
+ "y": 2155.361058562994,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a752c610.1912b8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3019.5280952453613,
+ "y": 2560.472148269415,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "fba6ef16.926e4"
+ ]
+ ]
+ },
+ {
+ "id": "8219558b.9b7a28",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3408.1952476501465,
+ "y": 2652.805461257696,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "51d5cf1c.132b",
+ "d8ed2779.9097d8",
+ "e2f33aa.99865c8"
+ ]
+ ]
+ },
+ {
+ "id": "51d5cf1c.132b",
+ "type": "switchNode",
+ "name": "find matching RRMPolicyMember",
+ "xml": "<switch test='`$tmp.RRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3604.4722442626953,
+ "y": 2734.694299697876,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ab99bb3.e018048"
+ ]
+ ]
+ },
+ {
+ "id": "ab99bb3.e018048",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3830.3056564331055,
+ "y": 2699.1386075019836,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "90c72597.c5f1e8"
+ ]
+ ]
+ },
+ {
+ "id": "90c72597.c5f1e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4068.91658782959,
+ "y": 2572.805379241705,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "78c5168f.c4bcc8",
+ "58796b40.3777c4",
+ "211a363.d6d93ca",
+ "501d8052.81ad5",
+ "420677de.35e248",
+ "247e6afb.1e9ed6",
+ "e519dd06.decc4",
+ "b7f44ced.6f42e",
+ "23156f2f.85cfd"
+ ]
+ ]
+ },
+ {
+ "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": 4953.02751159668,
+ "y": 2568.8055866658688,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "78c5168f.c4bcc8",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4380.805603027344,
+ "y": 2572.1390522420406,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "4e9f9a8.5be7e64",
+ "9a4ac9cd.31e718"
+ ]
+ ]
+ },
+ {
+ "id": "4e9f9a8.5be7e64",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4624.139663696289,
+ "y": 2571.361076205969,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "af9cec6c.14a1b"
+ ]
+ ]
+ },
+ {
+ "id": "9a4ac9cd.31e718",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4614.98307800293,
+ "y": 2622.9164703786373,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "7e8656a5.f70358"
+ ]
+ ]
+ },
+ {
+ "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": 5082.194641113281,
+ "y": 2614.3615120351315,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 5002.194358825684,
+ "y": 2673.2499283254147,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7e8656a5.f70358",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4781.916931152344,
+ "y": 2620.4723041951656,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "1d455108.af16df",
+ "3179d56d.baa26a"
+ ]
+ ]
+ },
+ {
+ "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": 2505.527847290039,
+ "y": 2667.639201492071,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4043.3067932128906,
+ "y": 2763.6393598020077,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ead83654.9e5628",
+ "ba71ec5f.4a63f"
+ ]
+ ]
+ },
+ {
+ "id": "ead83654.9e5628",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4282.056377410889,
+ "y": 2777.3892692029476,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "aaf78be2.9f86a8"
+ ]
+ ]
+ },
+ {
+ "id": "aaf78be2.9f86a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4454.556373596191,
+ "y": 2800.889170974493,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "5a6e2635.290948"
+ ]
+ ]
+ },
+ {
+ "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": 4640.055995941162,
+ "y": 2803.1395382881165,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4754.305812835693,
+ "y": 2844.1393551826477,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 4802.305995941162,
+ "y": 2880.139660358429,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "7dcf1c09.46bda4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4522.557025909424,
+ "y": 2861.6393551826477,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "e83cd047.9e0e",
+ "9191b6c2.7f34d8",
+ "316b9170.fe028e"
+ ]
+ ]
+ },
+ {
+ "id": "ba71ec5f.4a63f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4351.306240081787,
+ "y": 2856.6393551826477,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "7dcf1c09.46bda4"
+ ]
+ ]
+ },
+ {
+ "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": 4376.243618011475,
+ "y": 2507.465318828821,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2361.805618286133,
+ "y": 1540.6527767181396,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3583.993064880371,
+ "y": 2124.715373367071,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3561.493064880371,
+ "y": 2163.965276092291,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3581.93115234375,
+ "y": 2198.527777045965,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3597.430564880371,
+ "y": 2230.27787527442,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2364.680618286133,
+ "y": 1305.3402729034424,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1638.8058319091797,
+ "y": 2830.472569465637,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1492.8057556152344,
+ "y": 2880.472667694092,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f24407e8.e34028",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI1 == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1499.6949157714844,
+ "y": 2924.027551651001,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "8958c46c.82a278",
+ "d7aa1191.f04e6"
+ ]
+ ]
+ },
+ {
+ "id": "8958c46c.82a278",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1672.9166946411133,
+ "y": 2878.2504024505615,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "be058f27.be2f2"
+ ]
+ ]
+ },
+ {
+ "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": 2034.916648864746,
+ "y": 3029.2502584457397,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2040.4168395996094,
+ "y": 3064.7504539489746,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2029.055809020996,
+ "y": 3099.902798652649,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2041.6668395996094,
+ "y": 3138.250259399414,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "6ee50315.521c5c",
+ "44bc89bb.298148"
+ ]
+ ]
+ },
+ {
+ "id": "132f41e5.fc3b1e",
+ "type": "for",
+ "name": "for each rrmpolicyMember",
+ "xml": "<for index='idcu-rrm2' start='0' end='`$tmp.CUUPRRMPolicyMembersLength`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2855.889476776123,
+ "y": 3705.0279801785946,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "48b96388.b500ac"
+ ]
+ ]
+ },
+ {
+ "id": "e5584a04.ee2ee8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2127.5557022094727,
+ "y": 3817.1391261518,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "147b37c5.041308"
+ ]
+ ]
+ },
+ {
+ "id": "147b37c5.041308",
+ "type": "switchNode",
+ "name": "if length == 1",
+ "xml": "<switch test='`$tmp.CUUPRRMPolicyMembersLength == 1`'>\n \n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2520.7225646972656,
+ "y": 3608.277810573578,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "f2f93207.c1757",
+ "7dbc550f.35103c"
+ ]
+ ]
+ },
+ {
+ "id": "f2f93207.c1757",
+ "type": "success",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2669.389171600342,
+ "y": 3562.832887172699,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "66b70f01.043c6"
+ ]
+ ]
+ },
+ {
+ "id": "66b70f01.043c6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2829.055522918701,
+ "y": 3619.8334708213806,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a724d667.2e1dd8",
+ "30a6d897.7162c8",
+ "b100653c.1013b8",
+ "e4d2ad9d.a7fd7",
+ "76194848.213b18",
+ "1fe6ef1b.3aa081",
+ "31d48eb1.246592",
+ "a20a96ee.7c1d28",
+ "98178b1b.25eaa8",
+ "1efc544a.a3accc"
+ ]
+ ]
+ },
+ {
+ "id": "a724d667.2e1dd8",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3086.8337936401367,
+ "y": 3399.722780227661,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "c10c5a01.7ebaa8",
+ "75022626.e03098"
+ ]
+ ]
+ },
+ {
+ "id": "c10c5a01.7ebaa8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3207.1673126220703,
+ "y": 3330.61110624671,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "1ec0d756.7f21f9"
+ ]
+ ]
+ },
+ {
+ "id": "75022626.e03098",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3248.0113067626953,
+ "y": 3406.0550162494183,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "f1c05334.136ef"
+ ]
+ ]
+ },
+ {
+ "id": "1ec0d756.7f21f9",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3365.5559844970703,
+ "y": 3368.9447253644466,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "66faebf4.fb5894",
+ "e4736817.02c428"
+ ]
+ ]
+ },
+ {
+ "id": "f1c05334.136ef",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3393.6671295166016,
+ "y": 3407.1665881574154,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "c1ee034.4f85",
+ "f6fbae3d.35a8a"
+ ]
+ ]
+ },
+ {
+ "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": 3615.8333129882812,
+ "y": 3365.1672677993774,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3747.9452056884766,
+ "y": 3405.5003894269466,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3612.3897857666016,
+ "y": 3446.055626243353,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7dbc550f.35103c",
+ "type": "failure",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2487.000379562378,
+ "y": 3703.1668351590633,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "399dde95.b28cc2"
+ ]
+ ]
+ },
+ {
+ "id": "48b96388.b500ac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3003.6674423217773,
+ "y": 3774.5000279843807,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "9cfdbd54.5424d",
+ "75276ea.a9bcd9",
+ "17c40d72.c75e13",
+ "32747706.7f8298",
+ "e0e796cb.304928",
+ "6f81c77a.b51e18"
+ ]
+ ]
+ },
+ {
+ "id": "9cfdbd54.5424d",
+ "type": "switchNode",
+ "name": "find matching RRMPolicyMember",
+ "xml": "<switch test='`$tmp.CUUPRRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3273.944839477539,
+ "y": 3891.3905754089355,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ea2c3905.767b78",
+ "9933b9ed.510478"
+ ]
+ ]
+ },
+ {
+ "id": "65967b64.4008e4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3726.3893508911133,
+ "y": 3858.5000301599503,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a643d446.8eff28",
+ "e0cf4c33.691e",
+ "9f704da1.edff7",
+ "f6e8387.20bc2c8",
+ "85adfe2b.e142",
+ "3e33baab.790b86",
+ "75fa21f8.1ea17",
+ "3e6c4145.b29f5e",
+ "10f698b7.b0c4e7",
+ "f6a68741.1a0468"
+ ]
+ ]
+ },
+ {
+ "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": 3952.7157287597656,
+ "y": 3806.159865230322,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a643d446.8eff28",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3958.2778091430664,
+ "y": 3853.8335045278072,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "4f771014.a7df",
+ "4b54af45.74ea8"
+ ]
+ ]
+ },
+ {
+ "id": "4f771014.a7df",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4132.611846923828,
+ "y": 3819.055327743292,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "950c4922.cadc98"
+ ]
+ ]
+ },
+ {
+ "id": "4b54af45.74ea8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4123.455261230469,
+ "y": 3870.6107219159603,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ffcd7043.2c24e"
+ ]
+ ]
+ },
+ {
+ "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": 4461.499694824219,
+ "y": 3816.4998382031918,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ffcd7043.2c24e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4290.389114379883,
+ "y": 3868.1665557324886,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "1cb060ed.c6293f",
+ "5306bd61.a4b224"
+ ]
+ ]
+ },
+ {
+ "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.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": 4590.66682434082,
+ "y": 3862.0557635724545,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4510.666542053223,
+ "y": 3920.9441798627377,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4018.1670150756836,
+ "y": 3903.501334667206,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4007.1049041748047,
+ "y": 3936.313835144043,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3998.60457611084,
+ "y": 3969.0638360977173,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2102.701026916504,
+ "y": 3861.424196243286,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2357.1046447753906,
+ "y": 4256.125694274902,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "80e043e8.ad667",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2304.4380264282227,
+ "y": 4418.125464767218,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "cb0259e3.e98338"
+ ]
+ ]
+ },
+ {
+ "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": 2617.965576171875,
+ "y": 4717.375528663397,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2537.715431213379,
+ "y": 4759.375139564276,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9747288f.baa2f8",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2535.8542976379395,
+ "y": 4815.680609077215,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "1a91828.e1e0e7e"
+ ]
+ ]
+ },
+ {
+ "id": "1a91828.e1e0e7e",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2689.3265647888184,
+ "y": 4819.1528743207455,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "3a275951.871c26"
+ ]
+ ]
+ },
+ {
+ "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": 3142.8541717529297,
+ "y": 5114.812427043915,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d889f9ae.9ae8c8",
+ "type": "for",
+ "name": "for each rrmpolicyMember",
+ "xml": "<for index='iddu-rrm2' start='0' end='`$tmp.DURRMPolicyMembersLength`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4558.138648986816,
+ "y": 5935.716075271368,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "3bb9c20c.0a09ce"
+ ]
+ ]
+ },
+ {
+ "id": "41441730.687178",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3707.805694580078,
+ "y": 5915.827077239752,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ed111ee9.cc681"
+ ]
+ ]
+ },
+ {
+ "id": "ed111ee9.cc681",
+ "type": "switchNode",
+ "name": "if length == 1",
+ "xml": "<switch test='`$tmp.DURRMPolicyMembersLength == 1`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4000.72269821167,
+ "y": 5909.465745657682,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "7e16afa5.09ca3",
+ "659e73cc.f88efc"
+ ]
+ ]
+ },
+ {
+ "id": "7e16afa5.09ca3",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4251.639064788818,
+ "y": 5752.52051115036,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "5fc8d59a.3e91bc"
+ ]
+ ]
+ },
+ {
+ "id": "5fc8d59a.3e91bc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4418.305522918701,
+ "y": 5752.520970821381,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "3ca79c3b.b74654",
+ "9d266b67.dc2548",
+ "b6c80045.71d43",
+ "324ec667.ff099a",
+ "799e65fa.b824bc",
+ "97d95db8.7bde4",
+ "26a1f6e0.1a508a"
+ ]
+ ]
+ },
+ {
+ "id": "3ca79c3b.b74654",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4668.082946777344,
+ "y": 5632.40976524353,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "9cdd6d6.3b8fb9",
+ "713de489.3e2bbc"
+ ]
+ ]
+ },
+ {
+ "id": "9cdd6d6.3b8fb9",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4922.416931152344,
+ "y": 5591.298436164856,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "179e26df.c4b399"
+ ]
+ ]
+ },
+ {
+ "id": "713de489.3e2bbc",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4912.260292053223,
+ "y": 5669.742576599121,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "98540198.e6af6"
+ ]
+ ]
+ },
+ {
+ "id": "179e26df.c4b399",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 5228.805610656738,
+ "y": 5582.632029533386,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "dc606975.aad078"
+ ]
+ ]
+ },
+ {
+ "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": 5505.083343505859,
+ "y": 5588.854685783386,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 5502.194686889648,
+ "y": 5664.187499046326,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 5458.639205932617,
+ "y": 5697.742969512939,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "98540198.e6af6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 5142.916934967041,
+ "y": 5665.853905677795,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "4f8e8f09.91bc4",
+ "1be52510.fb2feb"
+ ]
+ ]
+ },
+ {
+ "id": "659e73cc.f88efc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4168.354782104492,
+ "y": 5938.854094833136,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "19a3bfc9.b9c3"
+ ]
+ ]
+ },
+ {
+ "id": "19a3bfc9.b9c3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4329.022104263306,
+ "y": 5941.187426894903,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "d889f9ae.9ae8c8"
+ ]
+ ]
+ },
+ {
+ "id": "e02ae738.4dff58",
+ "type": "switchNode",
+ "name": "find matching RRMPolicyMember",
+ "xml": "<switch test='`$tmp.cellDURRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4800.298828125,
+ "y": 6085.076416820288,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "22d7ddb7.9b1b92"
+ ]
+ ]
+ },
+ {
+ "id": "22d7ddb7.9b1b92",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5059.132148742676,
+ "y": 6050.5210927426815,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "bbdc72f2.8675a"
+ ]
+ ]
+ },
+ {
+ "id": "bbdc72f2.8675a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 5252.742835998535,
+ "y": 6059.18775972724,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "62f26b6.fd48f94",
+ "e6f2c700.0b5758",
+ "6f0907c6.445ca8",
+ "10ce3de5.b76cd2"
+ ]
+ ]
+ },
+ {
+ "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": 5449.069496154785,
+ "y": 6069.847601741552,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "62f26b6.fd48f94",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5454.631576538086,
+ "y": 6117.521241039038,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "cc1d2459.b54bc8",
+ "ee9efa49.6a9c18"
+ ]
+ ]
+ },
+ {
+ "id": "cc1d2459.b54bc8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5712.965667724609,
+ "y": 5972.743586868048,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "99bf6376.df98d"
+ ]
+ ]
+ },
+ {
+ "id": "ee9efa49.6a9c18",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5703.80908203125,
+ "y": 6024.298981040716,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ff51dd10.e1ad5"
+ ]
+ ]
+ },
+ {
+ "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": 6041.853515625,
+ "y": 5970.188097327948,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ff51dd10.e1ad5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 5870.742935180664,
+ "y": 6021.8548148572445,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "23426e8c.3684d2",
+ "b71e6ad6.645028"
+ ]
+ ]
+ },
+ {
+ "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": 6171.020645141602,
+ "y": 6015.74402269721,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 6091.020397186279,
+ "y": 6048.632584422827,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4728.416793823242,
+ "y": 5697.688729614019,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4700.916732788086,
+ "y": 5730.938700050116,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4724.354675292969,
+ "y": 5765.501231521368,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4731.854232788086,
+ "y": 5801.25120100379,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3650.7018613815308,
+ "y": 5963.112756252289,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 292.7500057220459,
+ "y": 1900.3332915306091,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "2c97aee8.6feb22",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-ric' start='0' end='`$tmp.RICPLMNEntries`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1059.6667709350586,
+ "y": 975.2499704360962,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "b44d61f9.22fbc"
+ ]
+ ]
+ },
+ {
+ "id": "b44d61f9.22fbc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1240.9167404174805,
+ "y": 957.249921798706,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "33d815bc.825c7a",
+ "19e9cb7b.d96df5"
+ ]
+ ]
+ },
+ {
+ "id": "34f6dd59.23c522",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.ric.sNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1438.916763305664,
+ "y": 988.5000038146973,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "eadc21b1.4cb93",
+ "bc74b6f6.5e1838"
+ ]
+ ]
+ },
+ {
+ "id": "6c3961d9.9900f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1663.1669387817383,
+ "y": 899.2500009536743,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "2da5b2bd.cfae4e",
+ "af2cc14.a2fcb4",
+ "3774541d.6c858c",
+ "f3e2059a.a05248",
+ "9941102e.8ca6c",
+ "87605bdb.ff95d8"
+ ]
+ ]
+ },
+ {
+ "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": 1070.9167251586914,
+ "y": 928.9999465942383,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1801.1213607788086,
+ "y": 1096.0228080749512,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eadc21b1.4cb93",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1589.666748046875,
+ "y": 944.4999752044678,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "6c3961d9.9900f"
+ ]
+ ]
+ },
+ {
+ "id": "bc74b6f6.5e1838",
+ "type": "failure",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1592.4166641235352,
+ "y": 1005.9999055862427,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "c172292f.f3b7f8"
+ ]
+ ]
+ },
+ {
+ "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": 1578.4166679382324,
+ "y": 1066.9999551773071,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2576.066661834717,
+ "y": 725.1999197006226,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cba4f766.8bfa58",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.pLMNInfoList_length > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2179.2666015625,
+ "y": 984.80002784729,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "6eb9c23a.5189cc",
+ "24a034f.ac7efcc"
+ ]
+ ]
+ },
+ {
+ "id": "6eb9c23a.5189cc",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2267.266529083252,
+ "y": 872.7999482154846,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "973de859.cdd0b8"
+ ]
+ ]
+ },
+ {
+ "id": "24a034f.ac7efcc",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2286.266555786133,
+ "y": 923.799970626831,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "522e18fa.5b7e88"
+ ]
+ ]
+ },
+ {
+ "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": 2461.0670471191406,
+ "y": 1002.600049495697,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "973de859.cdd0b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2437.2666091918945,
+ "y": 864.9999976158142,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "b9fd2d8a.3d1c9",
+ "65f3f3ea.9ffbcc"
+ ]
+ ]
+ },
+ {
+ "id": "522e18fa.5b7e88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2422.2667236328125,
+ "y": 912.999972820282,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "b9c531aa.b3c81"
+ ]
+ ]
+ },
+ {
+ "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": 2132.2665405273438,
+ "y": 835.5000395774841,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1205.4667129516602,
+ "y": 2432.89990234375,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2579.6666564941406,
+ "y": 2476.4999853670597,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2652.6669921875,
+ "y": 2429.699852615595,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2586.0670471191406,
+ "y": 2391.699852615595,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 737.6212463378906,
+ "y": 1242.0453929901123,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 1359.6668395996094,
+ "y": 866.2499523162842,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1418.6668395996094,
+ "y": 898.2499523162842,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "5e7e74e9.40ffec"
+ ]
+ ]
+ },
+ {
+ "id": "5e7e74e9.40ffec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1629.6667442321777,
+ "y": 810.2499513626099,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "33d77868.f37918",
+ "34f6dd59.23c522",
+ "7db1a14f.9c81"
+ ]
+ ]
+ },
+ {
+ "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": 1821.6668395996094,
+ "y": 706.2499685287476,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1808.4167785644531,
+ "y": 861.2499294281006,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1835.9166717529297,
+ "y": 908.0000019073486,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2147.6669921875,
+ "y": 3733.199975967407,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2104.666847229004,
+ "y": 3775.199975967407,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2105.466796875,
+ "y": 3681.199975013733,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3512.866897583008,
+ "y": 3326.3000100553036,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3031.2669525146484,
+ "y": 3347.1000847816467,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "68ed7e7d.f9def",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2217.0666999816895,
+ "y": 3239.1999683380127,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "2cfa56c5.d6008a"
+ ]
+ ]
+ },
+ {
+ "id": "269672fe.9559de",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2244.066696166992,
+ "y": 3317.199969291687,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "fa236fe0.a47a5"
+ ]
+ ]
+ },
+ {
+ "id": "2cfa56c5.d6008a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2412.0667037963867,
+ "y": 3232.1999683380127,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "6bae6541.1313dc",
+ "e55ef063.7f692"
+ ]
+ ]
+ },
+ {
+ "id": "fa236fe0.a47a5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2418.0667037963867,
+ "y": 3310.1999683380127,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "2ecf91f0.feb76e"
+ ]
+ ]
+ },
+ {
+ "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 CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2597.066707611084,
+ "y": 3329.199969291687,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2643.2667083740234,
+ "y": 3256.1999683380127,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 2644.2667083740234,
+ "y": 3218.1999673843384,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 1365.6666641235352,
+ "y": 2499.5997619628906,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1362.6667404174805,
+ "y": 2552.7999572753906,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5c8e677.adb3698",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-snssai' start='0' end='`$tmp.sNssaiListLength`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1550.666763305664,
+ "y": 2714.4003524780273,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "f6d43725.968ba8"
+ ]
+ ]
+ },
+ {
+ "id": "f6d43725.968ba8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1296.666763305664,
+ "y": 2799.400402069092,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "4b37a743.2b84e8",
+ "4d1961b6.8b7fa",
+ "f24407e8.e34028"
+ ]
+ ]
+ },
+ {
+ "id": "5cf07ee.a18f08",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.sNssaiListLength > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1298.6666641235352,
+ "y": 2643.200351715088,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ce10f87a.495178",
+ "f6f898a.50b7f68"
+ ]
+ ]
+ },
+ {
+ "id": "ce10f87a.495178",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1472.6666679382324,
+ "y": 2589.399959564209,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "64c2914c.163d7"
+ ]
+ ]
+ },
+ {
+ "id": "f6f898a.50b7f68",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1467.4666690826416,
+ "y": 2658.5997648239136,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ad07af8d.a7fd5"
+ ]
+ ]
+ },
+ {
+ "id": "64c2914c.163d7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1570.666669845581,
+ "y": 2519.99995803833,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "5c8e677.adb3698",
+ "a14c6d01.d72d4"
+ ]
+ ]
+ },
+ {
+ "id": "ad07af8d.a7fd5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1612.6667671203613,
+ "y": 2659.9999599456787,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "8cf7ee8a.d8711"
+ ]
+ ]
+ },
+ {
+ "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": 1690.2666702270508,
+ "y": 2605.199960708618,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1718.0667457580566,
+ "y": 2499.199956893921,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "be058f27.be2f2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1846.86669921875,
+ "y": 2876.4002075195312,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ca5cc8a3.3e8f88",
+ "85d3c578.1ff548",
+ "eb669321.09738",
+ "1389bee4.5c2751",
+ "15b63fdb.9d269",
+ "f41ebbe4.4e54c8",
+ "bbebc6be.702738",
+ "9aa1fe61.40658",
+ "63185ff6.6bdd5",
+ "cd7d4069.bbbcc"
+ ]
+ ]
+ },
+ {
+ "id": "d7aa1191.f04e6",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1664.6666717529297,
+ "y": 2929.799963951111,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "f8dbdb22.f00708"
+ ]
+ ]
+ },
+ {
+ "id": "f8dbdb22.f00708",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1814.6666717529297,
+ "y": 2928.7999629974365,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "1c266667.93503a"
+ ]
+ ]
+ },
+ {
+ "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": 1807.666675567627,
+ "y": 2994.7999629974365,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2017.6666984558105,
+ "y": 2838.8000106811523,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3c027d38.6319c2",
+ "type": "block",
+ "name": "block : gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2137.86661529541,
+ "y": 4284.200358718634,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "60a84bce.f8fd94",
+ "f60face3.d6997",
+ "c9bf6007.9bea7",
+ "c75383a5.eb7b8"
+ ]
+ ]
+ },
+ {
+ "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": 2321.8668479919434,
+ "y": 4214.20023727417,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2324.8668479919434,
+ "y": 4301.200240135193,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3125.0665740966797,
+ "y": 4869.200119018555,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3652.8666915893555,
+ "y": 5797.200121253729,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3723.6666946411133,
+ "y": 5840.200121253729,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3693.466842651367,
+ "y": 5880.800806373358,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "387f3b08.a164d4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3350.0665435791016,
+ "y": 5325.399770736694,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "2d33300d.7795d"
+ ]
+ ]
+ },
+ {
+ "id": "131e7a39.845786",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3357.0665740966797,
+ "y": 5397.600025177002,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "3f41991b.077646"
+ ]
+ ]
+ },
+ {
+ "id": "2d33300d.7795d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3519.0665435791016,
+ "y": 5324.399770736694,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "e26e3d3e.c0bc8",
+ "500ca6dc.f3db38"
+ ]
+ ]
+ },
+ {
+ "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": 3708.066581726074,
+ "y": 5327.399827957153,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 3699.0665435791016,
+ "y": 5277.39976978302,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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 CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3580.066822052002,
+ "y": 5383.400098800659,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c290983f.bc1468",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 6408.468933105469,
+ "y": 6275.600531220436,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ecaca367.29efb"
+ ]
+ ]
+ },
+ {
+ "id": "9db75ac1.2e9318",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 6435.468282699585,
+ "y": 6322.80235350132,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "6524ba29.19d1b4"
+ ]
+ ]
+ },
+ {
+ "id": "ecaca367.29efb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 6569.468936920166,
+ "y": 6268.6005293130875,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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 CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 6591.468286514282,
+ "y": 6323.60118162632,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "29519b42.8a3c04",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4212.267547607422,
+ "y": 2897.600418895483,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "9b3dd261.c5c8e"
+ ]
+ ]
+ },
+ {
+ "id": "82dc9f9d.d054e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4188.267482757568,
+ "y": 2955.8011635243893,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "2e88aa6f.a54dd6"
+ ]
+ ]
+ },
+ {
+ "id": "9b3dd261.c5c8e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4349.267543792725,
+ "y": 2896.6002968251705,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "316b9170.fe028e"
+ ]
+ ]
+ },
+ {
+ "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 CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4332.267421722412,
+ "y": 2946.600235313177,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a3a2682c.8af378",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2522.8667182922363,
+ "y": 1742.9998998641968,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "f56a842e.e92a88"
+ ]
+ ]
+ },
+ {
+ "id": "41a7d799.d8fee8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2549.866714477539,
+ "y": 1820.999900817871,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "74f5fb80.fceed4"
+ ]
+ ]
+ },
+ {
+ "id": "f56a842e.e92a88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2717.8667221069336,
+ "y": 1735.9998998641968,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "5e8bc29d.8fc7ec",
+ "6453c4c8.addd5c"
+ ]
+ ]
+ },
+ {
+ "id": "74f5fb80.fceed4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2723.8667221069336,
+ "y": 1813.9998998641968,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "74af27ea.eb81f8"
+ ]
+ ]
+ },
+ {
+ "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 CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2908.866714477539,
+ "y": 1824.9999904632568,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2948.066909790039,
+ "y": 1765.9999904632568,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 2950.0667266845703,
+ "y": 1721.9998989105225,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "cb0259e3.e98338",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2270.066635131836,
+ "y": 4529.0006475150585,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "6bd613fd.53aecc",
+ "a050356.982d6c8",
+ "123aa46a.e880cc"
+ ]
+ ]
+ },
+ {
+ "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": 2499.816623687744,
+ "y": 4447.350391715765,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2496.8167572021484,
+ "y": 4497.550845235586,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "93dbcbe4.7dfb78",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-dusnssai' start='0' end='`$tmp.sNssaiListLengthDU`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2952.8167839050293,
+ "y": 4621.150919288397,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "145f111b.eecbaf"
+ ]
+ ]
+ },
+ {
+ "id": "145f111b.eecbaf",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2299.816665649414,
+ "y": 4723.150321573019,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "55f0496c.1a7248",
+ "851ffca0.9a197",
+ "9747288f.baa2f8"
+ ]
+ ]
+ },
+ {
+ "id": "123aa46a.e880cc",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.sNssaiListLengthDU > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2432.816623687744,
+ "y": 4590.950981467962,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "1f93a2bc.49bb7d",
+ "f2c0e05.faeff2"
+ ]
+ ]
+ },
+ {
+ "id": "1f93a2bc.49bb7d",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2563.816665649414,
+ "y": 4542.151041358709,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "6cfb42d.d951dbc"
+ ]
+ ]
+ },
+ {
+ "id": "f2c0e05.faeff2",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2601.6166286468506,
+ "y": 4606.350394576788,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "720ae0f8.60b17"
+ ]
+ ]
+ },
+ {
+ "id": "6cfb42d.d951dbc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2743.816604614258,
+ "y": 4558.750406593084,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "93dbcbe4.7dfb78",
+ "f455d4ff.e67408"
+ ]
+ ]
+ },
+ {
+ "id": "720ae0f8.60b17",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2746.8167266845703,
+ "y": 4607.750589698553,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "f9b2151a.f54558"
+ ]
+ ]
+ },
+ {
+ "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": 2715.416759490967,
+ "y": 4642.950601905584,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2937.2167472839355,
+ "y": 4561.9508465230465,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "83d280c.ada118",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2677.8666229248047,
+ "y": 629.3999176025391,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "b1b65c9c.0c065",
+ "ce04ccef.51c45",
+ "2b3aee65.b34f92"
+ ]
+ ]
+ },
+ {
+ "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": 2928.6165885925293,
+ "y": 561.7494642734528,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2925.6167221069336,
+ "y": 611.9499177932739,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d7516b51.f03828",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-cusnssai' start='0' end='`$tmp.sNssaiListLengthCU`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3157.616714477539,
+ "y": 773.5499992370605,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "66e14ea5.3ea48"
+ ]
+ ]
+ },
+ {
+ "id": "2b3aee65.b34f92",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.sNssaiListLengthCU > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2861.6165885925293,
+ "y": 705.35005402565,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "1f2ea5c7.6b8eea",
+ "8d9db573.862bf8"
+ ]
+ ]
+ },
+ {
+ "id": "1f2ea5c7.6b8eea",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3035.6165924072266,
+ "y": 651.5496618747711,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "c076e6a5.cb07e8"
+ ]
+ ]
+ },
+ {
+ "id": "8d9db573.862bf8",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3031.416763305664,
+ "y": 701.7494850158691,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "12e276be.ff24d9"
+ ]
+ ]
+ },
+ {
+ "id": "c076e6a5.cb07e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3133.616594314575,
+ "y": 582.1496603488922,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "d7516b51.f03828",
+ "bb7570e4.84842"
+ ]
+ ]
+ },
+ {
+ "id": "12e276be.ff24d9",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3203.616912841797,
+ "y": 708.1496868133545,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "db889e12.5d45e"
+ ]
+ ]
+ },
+ {
+ "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": 3375.216526031494,
+ "y": 704.3496379852295,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3281.016670227051,
+ "y": 561.349659204483,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 574.6667308807373,
+ "y": 261.4999233484268,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "af413e53.0c5cd",
+ "d7e6348b.c51c78"
+ ]
+ ]
+ },
+ {
+ "id": "af413e53.0c5cd",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 883.6667137145996,
+ "y": 186.49992048740387,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "78133c01.12b704"
+ ]
+ ]
+ },
+ {
+ "id": "d7e6348b.c51c78",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 827.6666717529297,
+ "y": 415.4999557733536,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "190cbb9e.466f34"
+ ]
+ ]
+ },
+ {
+ "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": 1164.4675254821777,
+ "y": 399.3000074625015,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "78133c01.12b704",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1050.6668128967285,
+ "y": 185.69996893405914,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "b78cfdad.6f087",
+ "7be10b16.d2efc4"
+ ]
+ ]
+ },
+ {
+ "id": "190cbb9e.466f34",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1014.6668167114258,
+ "y": 431.69991075992584,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "afb051ae.7f1dd",
+ "ca5f2ec9.f41ff"
+ ]
+ ]
+ },
+ {
+ "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": 1245.4666213989258,
+ "y": 138.49992430210114,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1277.8670196533203,
+ "y": 429.99991858005524,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "2728d2b6.cf553e"
+ ]
+ ]
+ },
+ {
+ "id": "2728d2b6.cf553e",
+ "type": "other",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1562.8668670654297,
+ "y": 451.99991858005524,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "26f0e397.e7e1cc"
+ ]
+ ]
+ },
+ {
+ "id": "26f0e397.e7e1cc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1796.8668689727783,
+ "y": 440.9999266862869,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "192b0a32.cd4cd6",
+ "46b8d6f3.7f8898",
+ "77673452.72275c",
+ "87a12f6d.76094",
+ "25f2137a.1dda3c",
+ "ecb95ddc.0304a",
+ "3cb7484.73ef7b8"
+ ]
+ ]
+ },
+ {
+ "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": 2054.8666763305664,
+ "y": 475.9999465942383,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 1994.8666763305664,
+ "y": 547.999921798706,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1992.6164779663086,
+ "y": 584.4999237060547,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1982.066749572754,
+ "y": 704.4999313354492,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1360.4666290283203,
+ "y": 174.9999234676361,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "49ee176c.12ac38"
+ ]
+ ]
+ },
+ {
+ "id": "49ee176c.12ac38",
+ "type": "other",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1656.4667301177979,
+ "y": 176.99992716312408,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "4efcf8fa.98fe28"
+ ]
+ ]
+ },
+ {
+ "id": "4efcf8fa.98fe28",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1824.4667282104492,
+ "y": 177.9999223947525,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "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": "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": 2078.4666748046875,
+ "y": 89.333251953125,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 2059.4666748046875,
+ "y": 159.58325958251953,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2064.4666748046875,
+ "y": 190.58325958251953,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "24bc910c.355bfe",
+ "type": "set",
+ "name": "read sNSSAI from input",
+ "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\"/>",
+ "comments": "",
+ "x": 2113.466651916504,
+ "y": 224.58325958251953,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 2059.0666732788086,
+ "y": 622.9999237060547,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "ecb95ddc.0304a",
+ "type": "set",
+ "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": 2074.4667205810547,
+ "y": 659.9999237060547,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "1e6eb7af.2ccc68",
+ "type": "set",
+ "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": 2109.4666900634766,
+ "y": 251.99996948242188,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 770.8667907714844,
+ "y": 537.0000482797623,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "1b9694eb.42936b",
+ "820ba7d3.120388"
+ ]
+ ]
+ },
+ {
+ "id": "1b9694eb.42936b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1050.866870880127,
+ "y": 478.72221624851227,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "9c24ac0b.d783"
+ ]
+ ]
+ },
+ {
+ "id": "820ba7d3.120388",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1022.9225730895996,
+ "y": 561.555542588234,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a40dbf74.a1697"
+ ]
+ ]
+ },
+ {
+ "id": "9c24ac0b.d783",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1208.6169738769531,
+ "y": 477.72231352329254,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "18210040.f7fd",
+ "a600f6dc.575668"
+ ]
+ ]
+ },
+ {
+ "id": "a40dbf74.a1697",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1198.3668746948242,
+ "y": 562.2222410440445,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "e049bcb8.ea717",
+ "938498d8.452ba8"
+ ]
+ ]
+ },
+ {
+ "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": 1388.366584777832,
+ "y": 504.3333250284195,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 1400.116584777832,
+ "y": 553.972290635109,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1434.8948059082031,
+ "y": 609.222290635109,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 762.5613784790039,
+ "y": 497.4722400903702,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1376.061408996582,
+ "y": 459.4722400903702,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 753.8113632202148,
+ "y": 464.222251534462,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 696.7157669067383,
+ "y": 577.8210331201553,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7019d3e1.ebd7ac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 762.6043853759766,
+ "y": 709.1541900634766,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "47802f84.87ecc",
+ "8fb494f5.f53d88"
+ ]
+ ]
+ },
+ {
+ "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": 1634.1601028442383,
+ "y": 691.9321203231812,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd5f6926.142538",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 594.9008178710938,
+ "y": 661.932079911232,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "1e7a87fa.091718"
+ ]
+ ]
+ },
+ {
+ "id": "1e7a87fa.091718",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 783.7896881103516,
+ "y": 659.7098261117935,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "7ac24f54.54cde",
+ "85a9c9c2.9cbc88"
+ ]
+ ]
+ },
+ {
+ "id": "7ac24f54.54cde",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 994.9379425048828,
+ "y": 655.7099014520645,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "d6bd3a53.d6c968"
+ ]
+ ]
+ },
+ {
+ "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": 983.7156753540039,
+ "y": 611.7098761796951,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d6bd3a53.d6c968",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1220.4934158325195,
+ "y": 648.9321180582047,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "16d7468c.7061f9"
+ ]
+ ]
+ },
+ {
+ "id": "16d7468c.7061f9",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1400.6292572021484,
+ "y": 656.1542860269547,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "30f34222.f6182e",
+ "705ed2e5.82e92c"
+ ]
+ ]
+ },
+ {
+ "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": 702.9131774902344,
+ "y": 613.4876352548599,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1616.2094345092773,
+ "y": 660.8210340738297,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8fb494f5.f53d88",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1001.9870758056641,
+ "y": 724.8332443237305,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "82810a95.e92ac8"
+ ]
+ ]
+ },
+ {
+ "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": 999.7648391723633,
+ "y": 684.8332176208496,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "82810a95.e92ac8",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1239.5426635742188,
+ "y": 705.0555095672607,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ab77a8dd.426728"
+ ]
+ ]
+ },
+ {
+ "id": "ab77a8dd.426728",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1425.6785049438477,
+ "y": 692.2776770591736,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "2fb65749.35a418",
+ "32971074.ad3d4"
+ ]
+ ]
+ },
+ {
+ "id": "a950df01.a3825",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 549.6666717529297,
+ "y": 711.9999237060547,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "7019d3e1.ebd7ac"
+ ]
+ ]
+ },
+ {
+ "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": 1632.2668533325195,
+ "y": 620.0000368356705,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 747.6666717529297,
+ "y": 795.7499256134033,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 701.6667251586914,
+ "y": 833.749927520752,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 712.6666793823242,
+ "y": 870.749927520752,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 728.666633605957,
+ "y": 907.7499284744263,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "cafdd69c.0bdde8",
+ "c89b481a.ca2538"
+ ]
+ ]
+ },
+ {
+ "id": "edf448dd.9844e8",
+ "type": "set",
+ "name": "read rannfnssiid from input",
+ "xml": "<set>\n<parameter name='tmp.payload.RANNFNSSIId' value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
+ "comments": "",
+ "x": 2095.2666778564453,
+ "y": 125.333251953125,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "3cb7484.73ef7b8",
+ "type": "set",
+ "name": "read rannfnssiid from input",
+ "xml": "<set>\n<parameter name='tmp.payload.RANNFNSSIId' value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
+ "comments": "",
+ "x": 2056.2666778564453,
+ "y": 512.749921798706,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 740.6666793823242,
+ "y": 945.1499404907227,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 751.6666793823242,
+ "y": 979.7499408721924,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 761.6666793823242,
+ "y": 1013.9499416351318,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 794.6666717529297,
+ "y": 1050.94993019104,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a70a3a6f.559c88",
+ "bda32ee7.8be0b"
+ ]
+ ]
+ },
+ {
+ "id": "bda32ee7.8be0b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1000.6666717529297,
+ "y": 1106.1499423980713,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "d253117d.1f492"
+ ]
+ ]
+ },
+ {
+ "id": "d253117d.1f492",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1157.6666717529297,
+ "y": 1107.1499423980713,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "4227305c.6c48e",
+ "ca3b224b.270e9",
+ "2bc02f4.7398ed"
+ ]
+ ]
+ },
+ {
+ "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": 1306.6667137145996,
+ "y": 1090.1499185562134,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a70a3a6f.559c88",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1021.6666717529297,
+ "y": 1047.1499423980713,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "f49b7623.7781d8"
+ ]
+ ]
+ },
+ {
+ "id": "f49b7623.7781d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1153.6666717529297,
+ "y": 1051.1499423980713,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "81db8b8.119c578"
+ ]
+ ]
+ },
+ {
+ "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 CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1284.6666717529297,
+ "y": 1053.1499423980713,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 729.466682434082,
+ "y": 1113.7499561309814,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 737.466682434082,
+ "y": 1147.9499559402466,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 766.466682434082,
+ "y": 1184.9499206542969,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "3fe8c183.c3d44e",
+ "589875fd.1aff2c"
+ ]
+ ]
+ },
+ {
+ "id": "589875fd.1aff2c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1004.4667053222656,
+ "y": 1249.3499565124512,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "5427875f.ecfe48"
+ ]
+ ]
+ },
+ {
+ "id": "5427875f.ecfe48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1160.4667129516602,
+ "y": 1248.3499565124512,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "aa4ee74e.37d858",
+ "992574a3.ab3b38",
+ "4319a1b1.be1a7"
+ ]
+ ]
+ },
+ {
+ "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": 1328.4666156768799,
+ "y": 1252.35005569458,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3fe8c183.c3d44e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1026.4666595458984,
+ "y": 1182.3498935699463,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "54fb3d83.65a7e4"
+ ]
+ ]
+ },
+ {
+ "id": "54fb3d83.65a7e4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1158.4666595458984,
+ "y": 1186.3498935699463,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "5e7fc66b.79a018"
+ ]
+ ]
+ },
+ {
+ "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 CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1292.4666137695312,
+ "y": 1203.3499202728271,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 736.6666717529297,
+ "y": 1083.1499423980713,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1313.6667137145996,
+ "y": 1162.9499197006226,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1380.2668075561523,
+ "y": 1126.3499183654785,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1388.0667114257812,
+ "y": 1299.1499824523926,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1354.0666961669922,
+ "y": 1336.5499668121338,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1837.8666229248047,
+ "y": 758.1499423980713,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1885.2667236328125,
+ "y": 991.1499290466309,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1847.2666702270508,
+ "y": 1034.149953842163,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 1639.0666961669922,
+ "y": 1196.94993019104,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "8dd516ad.a52718",
+ "ab8eba7c.8f3cb8"
+ ]
+ ]
+ },
+ {
+ "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": 739.6666564941406,
+ "y": 1336.3498859405518,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2300.0665740966797,
+ "y": 1693.5499668121338,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2262.066520690918,
+ "y": 1736.549991607666,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2271.6666717529297,
+ "y": 1786.1499423980713,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a3a2682c.8af378",
+ "41a7d799.d8fee8"
+ ]
+ ]
+ },
+ {
+ "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": 4050.0677795410156,
+ "y": 2809.950944274664,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4017.067413330078,
+ "y": 2850.9510663449764,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3966.667507171631,
+ "y": 2900.5504311025143,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "29519b42.8a3c04",
+ "82dc9f9d.d054e"
+ ]
+ ]
+ },
+ {
+ "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": 2007.6666717529297,
+ "y": 3254.949869155884,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2043.6667022705078,
+ "y": 3199.949962615967,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2017.2668228149414,
+ "y": 3304.549819946289,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "68ed7e7d.f9def",
+ "269672fe.9559de"
+ ]
+ ]
+ },
+ {
+ "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": 3149.6666717529297,
+ "y": 5264.149820327759,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3111.666618347168,
+ "y": 5307.149845123291,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3121.2667694091797,
+ "y": 5356.749795913696,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "387f3b08.a164d4",
+ "131e7a39.845786"
+ ]
+ ]
+ },
+ {
+ "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": 6255.668930053711,
+ "y": 6204.350530266762,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 6185.669448852539,
+ "y": 6239.350527405739,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 6172.2690505981445,
+ "y": 6273.950790047646,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "c290983f.bc1468",
+ "9db75ac1.2e9318"
+ ]
+ ]
+ },
+ {
+ "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": 3193.8665466308594,
+ "y": 3733.8001581430435,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2124.4667205810547,
+ "y": 3907.7999725341797,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4721.066360473633,
+ "y": 5975.799403518438,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3578.8669395446777,
+ "y": 2695.949991554022,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4389.867317199707,
+ "y": 2478.950181633234,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 3677.067008972168,
+ "y": 2655.550089210272,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2587.2670822143555,
+ "y": 2367.1500460207462,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "501d8052.81ad5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3797.7336654663086,
+ "y": 2815.950606673956,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "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": "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=\"id set before calling url \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3533.466651916504,
+ "y": 2270.550105422735,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5799de85.64ffb",
+ "type": "set",
+ "name": "set boolflag",
+ "xml": "<set>\n<parameter name='tmp.setboolflagcuup' value=\"false\" />\n",
+ "comments": "",
+ "x": 2097.266799926758,
+ "y": 3640.3500661849976,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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=\"Successfully removed - CUUP RRMpolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4557.467365264893,
+ "y": 4013.350638717413,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "81ab610f.0607e",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 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": 4598.467761993408,
+ "y": 4089.3507007062435,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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.setboolflagdu' value=\"true\" />\n",
+ "comments": "",
+ "x": 4633.466537475586,
+ "y": 5574.749998092651,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "6f0907c6.445ca8",
+ "type": "set",
+ "name": "set boolflag",
+ "xml": "<set>\n<parameter name='tmp.setboolflagdu' value=\"true\" />\n",
+ "comments": "",
+ "x": 5457.466468811035,
+ "y": 6015.416928619146,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 5746.5346755981445,
+ "y": 6262.351178765297,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "c72e4ac8.c5ea18",
+ "2141cb06.9d35d4",
+ "8e6a00d0.7d7a4"
+ ]
+ ]
+ },
+ {
+ "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": 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": [
+ [
+ "790b355a.d4509c",
+ "2668f1f4.ae678e"
+ ]
+ ]
+ },
+ {
+ "id": "b5c5b17d.76ad",
+ "type": "block",
+ "name": "update inventory",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 650.3542213439941,
+ "y": 4045.687527179718,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a8669b36.ec8a18",
+ "f0c04e42.213fe",
+ "6abbce64.cfb32",
+ "61e843f7.c5359c",
+ "4d1f651.3b0e19c",
+ "4fe7a884.4a2658"
+ ]
+ ]
+ },
+ {
+ "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": 858.9653778076172,
+ "y": 4537.882368087769,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "7a58f496.2d97bc"
+ ]
+ ]
+ },
+ {
+ "id": "89cc1ee.43539e",
+ "type": "block",
+ "name": "delete-rannfnssi",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1027.8541946411133,
+ "y": 4326.937539100647,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "153042f7.87ff5d",
+ "3cf81843.6c32f8",
+ "4b4e18c5.c15f18",
+ "198da8dd.5d9977"
+ ]
+ ]
+ },
+ {
+ "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 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": 1323.5487670898438,
+ "y": 4349.160135269165,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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=\"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": 1444.1041641235352,
+ "y": 4528.187424659729,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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 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": 1444.4862442016602,
+ "y": 4631.660020828247,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RAN Inventory. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1955.3542613983154,
+ "y": 4578.548637390137,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": "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": 2010.3541564941406,
+ "y": 4729.437200546265,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "baac77bd.99f8d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1853.6040668487549,
+ "y": 4704.68719291687,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "15e6ea5c.309856",
+ "71e0fd53.5c8d34"
+ ]
+ ]
+ },
+ {
+ "id": "312cddf5.8f3842",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1695.6042766571045,
+ "y": 4705.686947822571,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "baac77bd.99f8d8"
+ ]
+ ]
+ },
+ {
+ "id": "3f067569.ce2f5a",
+ "type": "set",
+ "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": 832.8541793823242,
+ "y": 4253.18754196167,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "fba6ef16.926e4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3191.4168243408203,
+ "y": 2555.999949783087,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "8648aa3d.911368"
+ ]
+ ]
+ },
+ {
+ "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": "",
+ "outputs": 1,
+ "x": 4389.416763305664,
+ "y": 2533.999989181757,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 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": [
+ [
+ "dd176e38.ea65a",
+ "5276c174.1e5ea"
+ ]
+ ]
+ },
+ {
+ "id": "dd176e38.ea65a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3843.006004333496,
+ "y": 2326.43888220191,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "36d9b018.46cd2"
+ ]
+ ]
+ },
+ {
+ "id": "36d9b018.46cd2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3990.505729675293,
+ "y": 2349.938689559698,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "9e6a563.c7403a8"
+ ]
+ ]
+ },
+ {
+ "id": "5276c174.1e5ea",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3844.255947113037,
+ "y": 2373.6887296140194,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "eaf8ab1c.c4d7c8"
+ ]
+ ]
+ },
+ {
+ "id": "eaf8ab1c.c4d7c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3997.5066146850586,
+ "y": 2409.6887296140194,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "42a9318b.9b4eb",
+ "8e212cda.f0852",
+ "316b9170.fe028e"
+ ]
+ ]
+ },
+ {
+ "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": 3942.6170349121094,
+ "y": 2461.6493628919125,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "2344520e.11779e",
+ "551fc191.a96c3"
+ ]
+ ]
+ },
+ {
+ "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 - gNBCU rrmpolicy Entry from CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3940.6168518066406,
+ "y": 2527.649361938238,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2344520e.11779e",
+ "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": 4123.16667175293,
+ "y": 2463.9999192655087,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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 NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4144.166366577148,
+ "y": 2509.0001624524593,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3937.5274047851562,
+ "y": 3026.0272420346737,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "adeb1cf5.7242e",
+ "813188df.fdbd38"
+ ]
+ ]
+ },
+ {
+ "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": 3499.8055267333984,
+ "y": 3131.9167556762695,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "c2e6e410.d99f98",
+ "3d2f2969.645746"
+ ]
+ ]
+ },
+ {
+ "id": "c2e6e410.d99f98",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3770.9166564941406,
+ "y": 3091.2498944699764,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "6a77332c.128c3c"
+ ]
+ ]
+ },
+ {
+ "id": "3d2f2969.645746",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3759.9166564941406,
+ "y": 3145.250016540289,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "74e72848.094c38"
+ ]
+ ]
+ },
+ {
+ "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": 3546.138870239258,
+ "y": 3281.8052113950253,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "2ca29ec4.95c722",
+ "53f895d5.431cac"
+ ]
+ ]
+ },
+ {
+ "id": "53f895d5.431cac",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "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": [
+ [
+ "c4b5f578.1acd88"
+ ]
+ ]
+ },
+ {
+ "id": "c4b5f578.1acd88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3963.416572570801,
+ "y": 3211.2496388852596,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "b66fe49b.98c768",
+ "3f7df7af.965248",
+ "316b9170.fe028e"
+ ]
+ ]
+ },
+ {
+ "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 updating NRCellCU-RRMPolicyRatio in CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4139.971717834473,
+ "y": 3243.3608668744564,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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 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": 3547.4167709350586,
+ "y": 3092.5006580352783,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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=\"Delete RRMPolicy URL first - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3132.1666717529297,
+ "y": 3436.2499192655087,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e4d2ad9d.a7fd7",
+ "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": 3195.666675567627,
+ "y": 3471.850310176611,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "76194848.213b18",
+ "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": 3184.604564666748,
+ "y": 3504.662810653448,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1fe6ef1b.3aa081",
+ "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": 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": 3689.416862487793,
+ "y": 3491.2498677670956,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "c40f7cae.14f2a"
+ ]
+ ]
+ },
+ {
+ "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=\"Successfully removed - CUUP RRMpolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3853.4172592163086,
+ "y": 3491.2498668134212,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64a3862c.b564e8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3822.4168701171875,
+ "y": 3547.24986872077,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 3863.4172592163086,
+ "y": 3590.24986872077,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "6247f9c7.4edfa8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3619.4172592163086,
+ "y": 3559.2494777143,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "e5bcac8a.3a4fd",
+ "64a3862c.b564e8"
+ ]
+ ]
+ },
+ {
+ "id": "b7421661.babf78",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3476.4168548583984,
+ "y": 3544.2499154508114,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "6247f9c7.4edfa8"
+ ]
+ ]
+ },
+ {
+ "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": 3581.3670501708984,
+ "y": 3679.399363845587,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "7bccd44f.b8165c",
+ "ab509d74.3db14"
+ ]
+ ]
+ },
+ {
+ "id": "7bccd44f.b8165c",
+ "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": 3761.9166870117188,
+ "y": 3681.749920219183,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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": 3579.3668670654297,
+ "y": 3745.3993628919125,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3869.4171562194824,
+ "y": 4179.250204563141,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "2f4373c1.c157ec",
+ "a251f0f7.c67f2"
+ ]
+ ]
+ },
+ {
+ "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": 4093.0284099578857,
+ "y": 4260.583290964365,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ab1f3821.7fbd38"
+ ]
+ ]
+ },
+ {
+ "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": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4246.305995941162,
+ "y": 4257.249887794256,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "573e7dcc.9e9094",
+ "fd528602.ea2948",
+ "fd8178e.712b388",
+ "44733c1b.3d20a4",
+ "9b321463.224328",
+ "28baad34.ab8b92",
+ "8049c9d9.809368",
+ "514ae71b.559918",
+ "da5ea8e5.80d1f8"
+ ]
+ ]
+ },
+ {
+ "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='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4687.778079986572,
+ "y": 4480.139698028564,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "13244e52.137992"
+ ]
+ ]
+ },
+ {
+ "id": "6aef4ee0.f73c1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4898.777870178223,
+ "y": 4439.139359474182,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "5158538b.77987c"
+ ]
+ ]
+ },
+ {
+ "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/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": 4399.326438903809,
+ "y": 4515.196341514587,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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=\"Successfully updated CPS - CUUP RRMPolicyRatio \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 5024.278430938721,
+ "y": 4605.667590141296,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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 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": 4440.576705932617,
+ "y": 4553.11236000061,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": "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": 4985.029148101807,
+ "y": 5836.762940257788,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "b45f8819.003bc8",
+ "2f8e51bb.0e7f7e"
+ ]
+ ]
+ },
+ {
+ "id": "a376a235.39bc8",
+ "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.delete.du.rrmpolicy.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4960.716453552246,
+ "y": 5875.749440521002,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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.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": 4931.716457366943,
+ "y": 5923.749441474676,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 4929.316390991211,
+ "y": 5959.349704116583,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "9508e784.c18038",
+ "af8b9ffa.5cc64"
+ ]
+ ]
+ },
+ {
+ "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": 5120.51692199707,
+ "y": 5991.200616210699,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "46cea62f.d58ed8"
+ ]
+ ]
+ },
+ {
+ "id": "fecb3f88.91e9f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "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": [
+ [
+ "36e6455b.38bbea"
+ ]
+ ]
+ },
+ {
+ "id": "2f8e51bb.0e7f7e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5235.966957092285,
+ "y": 5857.649831146002,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "d913933f.232b9"
+ ]
+ ]
+ },
+ {
+ "id": "36e6455b.38bbea",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 5427.217620849609,
+ "y": 5781.650479644537,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a54d9178.a5c4b"
+ ]
+ ]
+ },
+ {
+ "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 removing cellDU RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 5636.9669761657715,
+ "y": 5847.649831146002,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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 removing RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 5623.9669761657715,
+ "y": 5896.649832099676,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "d913933f.232b9",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 5406.966968536377,
+ "y": 5860.649831146002,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "e708afc6.59711",
+ "a1650065.fbd67"
+ ]
+ ]
+ },
+ {
+ "id": "3bb9c20c.0a09ce",
+ "type": "block",
+ "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": 5476.583335876465,
+ "y": 6184.083596557379,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "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": "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": 6059.968276977539,
+ "y": 6102.2339874506,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "b1225947.05be98"
+ ]
+ ]
+ },
+ {
+ "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": 6416.717849731445,
+ "y": 6069.983323693275,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 6221.967632293701,
+ "y": 6145.9833389520645,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "c222ec69.323b7",
+ "c8b9e8f.e8fe418"
+ ]
+ ]
+ },
+ {
+ "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": 5676.58349609375,
+ "y": 6508.750274032354,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "22370c2e.6856b4",
+ "d91a1f4a.29e2f"
+ ]
+ ]
+ },
+ {
+ "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": 5980.297470092773,
+ "y": 6591.178840011358,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "796a76c5.8a3588"
+ ]
+ ]
+ },
+ {
+ "id": "b7bce499.6b57c8",
+ "type": "block",
+ "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": 6166.797657012939,
+ "y": 6584.928839534521,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "37337306.8c8edc",
+ "ccb8be33.3f232"
+ ]
+ ]
+ },
+ {
+ "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": "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": 5700.250213623047,
+ "y": 6589.7497881650925,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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.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": 5694.659568786621,
+ "y": 6625.028000712395,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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/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": 5717.020843505859,
+ "y": 6662.944295763969,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aeacb554.bfc748",
+ "type": "execute",
+ "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": 5731.916809082031,
+ "y": 6700.861004710197,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "c5237e67.86915",
+ "68350008.0dc88"
+ ]
+ ]
+ },
+ {
+ "id": "c5237e67.86915",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5998.500019073486,
+ "y": 6670.251585334539,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a4c89014.18a93"
+ ]
+ ]
+ },
+ {
+ "id": "68350008.0dc88",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 6008.24995803833,
+ "y": 6712.750974029303,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "ced3ff13.b92b9"
+ ]
+ ]
+ },
+ {
+ "id": "a4c89014.18a93",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 6200.500675201416,
+ "y": 6648.000277847052,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "9c4932a1.cd409"
+ ]
+ ]
+ },
+ {
+ "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": 6442.249954223633,
+ "y": 6673.250452011824,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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 updated CPS - NRCellDU RRMPolicyRatio \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 6405.250682830811,
+ "y": 6710.5002797544,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ced3ff13.b92b9",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 6211.500022888184,
+ "y": 6721.751584380865,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "db5911c7.d6051"
+ ]
+ ]
+ },
+ {
+ "id": "c75383a5.eb7b8",
+ "type": "switchNode",
+ "name": "check the plmn size",
+ "xml": "<switch test='`$tmp.DUpLMNInfoList_length > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2301.666816711426,
+ "y": 4347.750044822693,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "8cb9090c.7c6388"
+ ]
+ ]
+ },
+ {
+ "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": "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": 3568.1043548583984,
+ "y": 3058.979254722595,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 6074.889503479004,
+ "y": 6386.0836054086685,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "54835849.b191c8",
+ "920c9c75.20431"
+ ]
+ ]
+ },
+ {
+ "id": "54835849.b191c8",
+ "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.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": 6360.333518981934,
+ "y": 6385.639592766762,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "920c9c75.20431",
+ "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": 6326.333526611328,
+ "y": 6416.639593720436,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3190,
+ "y": 3855.749920487404,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": "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": 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": [
+ [
+ "acc95937.7d0e78",
+ "4a3f51d0.9046a"
+ ]
+ ]
+ },
+ {
+ "id": "acc95937.7d0e78",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2333.666793823242,
+ "y": 375.4166259765625,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "4842283e.4a7348"
+ ]
+ ]
+ },
+ {
+ "id": "4842283e.4a7348",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2493.416851043701,
+ "y": 340.4167184829712,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "7ce277e1.339168",
+ "c4f82041.214e1"
+ ]
+ ]
+ },
+ {
+ "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": "",
+ "outputs": 1,
+ "x": 2660.86128616333,
+ "y": 322.1666450500488,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": 2673.16646194458,
+ "y": 367.02772998809814,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "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 Obtained SliceProfile from AAI\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2684.91646194458,
+ "y": 416.6666955947876,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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-modifyallocate-cps-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2644.694797515869,
+ "y": 459.9166955947876,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a75f3f14.1df9d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2483.1667518615723,
+ "y": 424.91664600372314,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "2430fe24.1311a2",
+ "a8d7ae0.fefd25"
+ ]
+ ]
+ },
+ {
+ "id": "4a3f51d0.9046a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2307.7224502563477,
+ "y": 424.2499475479126,
+ "z": "abb03ec2.1302c",
+ "wires": [
+ [
+ "a75f3f14.1df9d"
+ ]
+ ]
+ },
+ {
+ "id": "2579c391.0e3e0c",
+ "type": "set",
+ "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": 2052,
+ "y": 445.333251953125,
+ "z": "abb03ec2.1302c",
+ "wires": []
+ },
+ {
+ "id": "9933b9ed.510478",
+ "type": "outcomeFalse",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "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