+ "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",