summaryrefslogtreecommitdiffstats
path: root/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json')
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json7999
1 files changed, 7999 insertions, 0 deletions
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json
new file mode 100644
index 00000000..d444e7ed
--- /dev/null
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json
@@ -0,0 +1,7999 @@
+[
+ {
+ "id": "19ec700d.6cdc2",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 161.75,
+ "y": 171.74999392032623,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d6fca9.bee54358"
+ ]
+ ]
+ },
+ {
+ "id": "d6fca9.bee54358",
+ "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": 246.7500228881836,
+ "y": 238.7499634027481,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d00cab92.9c4aa8"
+ ]
+ ]
+ },
+ {
+ "id": "d00cab92.9c4aa8",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='instantiateRANSliceModifyAllocate-CPS' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 180.75,
+ "y": 298.7499290704727,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "66d1076c.af9f08"
+ ]
+ ]
+ },
+ {
+ "id": "66d1076c.af9f08",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 176.74999237060547,
+ "y": 359.74996531009674,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e22e0c4c.d5556",
+ "bf968fde.5a03c",
+ "f6e46dad.569ee",
+ "3e120068.88b83",
+ "4c61e3ca.3e341c",
+ "a55a4b1e.803eb8",
+ "8a51c492.d53608",
+ "27a58a37.b0d516",
+ "db0a0ae7.99aea8"
+ ]
+ ]
+ },
+ {
+ "id": "2903995b.5e4666",
+ "type": "for",
+ "name": "foreach NearRTRIC",
+ "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 303.75003814697266,
+ "y": 1460.5682631134987,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "32e1faab.5aa326",
+ "9bf2fef4.4ea0f",
+ "8d18d60.089e928",
+ "d095f7c9.e586e8"
+ ]
+ ]
+ },
+ {
+ "id": "32e1faab.5aa326",
+ "type": "block",
+ "name": "Process NearRTRIC",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 538.4090805053711,
+ "y": 1278.2273217439651,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "cf5175a9.96e5c8",
+ "c39abc7c.91006",
+ "15172e34.a4ac32",
+ "2ad233f9.94c3ac",
+ "17c9b275.b24efe",
+ "8b33f4d.cc63408"
+ ]
+ ]
+ },
+ {
+ "id": "cf5175a9.96e5c8",
+ "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-configdb-response.['+ $idy +'].nearRTRICId'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1083.2955169677734,
+ "y": 1085.4772993326187,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c39abc7c.91006",
+ "type": "execute",
+ "name": "read gNBId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1054.2955017089844,
+ "y": 1128.477360367775,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "15172e34.a4ac32",
+ "type": "set",
+ "name": "Calculate uLThptPerSlice dLThptPerSlice maxNumberOfConns",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNFNSSIRIC-configdb-response._length`' />",
+ "comments": "",
+ "x": 1184.6591339111328,
+ "y": 1203.2954622507095,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "2ad233f9.94c3ac",
+ "type": "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=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConn for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"nearRTRICId\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"RANNFNSSI\"/>\n<parameter name=\"field12\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n<parameter name=\"field13\" value=\"NSSAI\"/>\n<parameter name=\"field14\" value=\"`$tmp.payload.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1030.568130493164,
+ "y": 1244.2955385446548,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d41ea7d7.e32d38",
+ "type": "execute",
+ "name": "Update nearRT RIC Details in ConfigDB",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updatenearRTRIC.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"modify-allocate-nearRTRIC-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": 1342.8182373046875,
+ "y": 1268.9546300172806,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "32e44f99.1e657",
+ "9c8b7e53.bb44"
+ ]
+ ]
+ },
+ {
+ "id": "32e44f99.1e657",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1620.0681076049805,
+ "y": 1197.5225917100906,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ca709c59.499e2"
+ ]
+ ]
+ },
+ {
+ "id": "ca709c59.499e2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1759.5682334899902,
+ "y": 1167.0226365327835,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a4a372fe.fbc1a",
+ "1183b1d3.1cb91e"
+ ]
+ ]
+ },
+ {
+ "id": "1183b1d3.1cb91e",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1937.3180236816406,
+ "y": 1137.883689045906,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "a4a372fe.fbc1a",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1941.5680236816406,
+ "y": 1197.7727605104446,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "9c8b7e53.bb44",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1596.636344909668,
+ "y": 1264.9318791627884,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "eea70dad.2f935"
+ ]
+ ]
+ },
+ {
+ "id": "eea70dad.2f935",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1748.1361961364746,
+ "y": 1269.6819401979446,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c30ba562.8cd3b8"
+ ]
+ ]
+ },
+ {
+ "id": "c30ba562.8cd3b8",
+ "type": "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 Updated NearRT RIC info in ConfigDB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1890.6361980438232,
+ "y": 1255.93201649189,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "17c9b275.b24efe",
+ "type": "execute",
+ "name": "set params",
+ "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1086.750015258789,
+ "y": 1166.7500215768814,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f5ce7442.2243e8",
+ "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-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 909.0000457763672,
+ "y": 1467.5000916719437,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9bf2fef4.4ea0f",
+ "type": "block",
+ "name": "Process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 589.0000228881836,
+ "y": 1454.0000277757645,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f5ce7442.2243e8",
+ "a55c0c9.c8a4bf",
+ "f7e580cc.8e06c"
+ ]
+ ]
+ },
+ {
+ "id": "a55c0c9.c8a4bf",
+ "type": "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=\"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": 888.5000305175781,
+ "y": 1516.2500916719437,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f7e580cc.8e06c",
+ "type": "for",
+ "name": "foreach CUCP",
+ "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 909,
+ "y": 1567.500246167183,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "408fdf4.6d7d22"
+ ]
+ ]
+ },
+ {
+ "id": "408fdf4.6d7d22",
+ "type": "block",
+ "name": "block : process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1138.7500457763672,
+ "y": 1543.2500630617142,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "dc4f9c5f.68e18",
+ "172acb9f.c46174",
+ "d86a58bf.54ffb8",
+ "5b59f11d.eef5d"
+ ]
+ ]
+ },
+ {
+ "id": "dc4f9c5f.68e18",
+ "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-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1558.5,
+ "y": 1483.7500010728836,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "172acb9f.c46174",
+ "type": "for",
+ "name": "for cellCUList",
+ "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1562.5,
+ "y": 1627.7500010728836,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6a9c0d77.8182b4"
+ ]
+ ]
+ },
+ {
+ "id": "c8ed2807.4747b8",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2232.75,
+ "y": 1526.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "56a4a713.6fb208",
+ "type": "execute",
+ "name": "patch PLMNInfoListEntry ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry.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-PLMNInfoList-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": 2261.750015258789,
+ "y": 1601.7500420808792,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "486beee8.2d926",
+ "c6df77b5.f694f8"
+ ]
+ ]
+ },
+ {
+ "id": "fb57ecca.4101e",
+ "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/instantiateRANSliceModifyAllocate.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.patchPLMNInfoListEntry.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2226.75008392334,
+ "y": 1563.7501031160355,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c086e0db.2b74a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2097.75,
+ "y": 1109.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c8ed2807.4747b8",
+ "fb57ecca.4101e",
+ "56a4a713.6fb208",
+ "c2a66c8b.edf75",
+ "8a6a4ac2.a05aa8",
+ "d96e48b.a8361b8",
+ "59ed0fb6.63e22",
+ "25329798.250fb8",
+ "bc14f401.6d9738",
+ "b481d2c4.5dffe",
+ "2ce9fc18.f66724"
+ ]
+ ]
+ },
+ {
+ "id": "486beee8.2d926",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2517.750114440918,
+ "y": 1651.7502113580704,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1b106328.df428d"
+ ]
+ ]
+ },
+ {
+ "id": "1b106328.df428d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2690.749900817871,
+ "y": 1650.7502723932266,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "711a0a9.ccf7ff4"
+ ]
+ ]
+ },
+ {
+ "id": "711a0a9.ccf7ff4",
+ "type": "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 Patched - cellCU PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2888.7499618530273,
+ "y": 1647.7503944635391,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c6df77b5.f694f8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2482.75008392334,
+ "y": 1534.7499672174454,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5b815535.44449c"
+ ]
+ ]
+ },
+ {
+ "id": "5b815535.44449c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2632.750358581543,
+ "y": 1493.7501503229141,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "aea75068.43d16",
+ "29d931ba.d4c36e",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "aea75068.43d16",
+ "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": 2803.7499923706055,
+ "y": 1554.7502113580704,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "29d931ba.d4c36e",
+ "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": 2798.750114440918,
+ "y": 1459.7501503229141,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "c2a66c8b.edf75",
+ "type": "execute",
+ "name": "prepare idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2314.75,
+ "y": 1336.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a6a4ac2.a05aa8",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2275.75,
+ "y": 1404.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d96e48b.a8361b8",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2242.75,
+ "y": 1462.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d86a58bf.54ffb8",
+ "type": "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=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1531.5,
+ "y": 1534.7500010728836,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b59f11d.eef5d",
+ "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-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1572.5,
+ "y": 1583.7500010728836,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "59ed0fb6.63e22",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2320.75,
+ "y": 1172.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a9dd6757.2953f8",
+ "b417b68e.e1a6a8"
+ ]
+ ]
+ },
+ {
+ "id": "a9dd6757.2953f8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2528.75,
+ "y": 1137.7497497797012,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5a807756.064e88"
+ ]
+ ]
+ },
+ {
+ "id": "5a807756.064e88",
+ "type": "execute",
+ "name": "generate patch PLMNInfoListEntry ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2848.75,
+ "y": 1152.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b417b68e.e1a6a8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2516.75,
+ "y": 1239.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7879486d.e43fa8"
+ ]
+ ]
+ },
+ {
+ "id": "25329798.250fb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1875.75,
+ "y": 1923.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6218a5e7.19801c",
+ "d7ed5721.b6a058",
+ "847e0a63.92c6c8",
+ "74620174.3854b",
+ "cde60f46.242d2",
+ "bb944ddc.6b08d",
+ "4dd5c0ad.ffb3b",
+ "d61c7133.88a1b",
+ "80aeccba.14133",
+ "fd415f84.f4c55",
+ "ed8d5920.d85c48"
+ ]
+ ]
+ },
+ {
+ "id": "6218a5e7.19801c",
+ "type": "set",
+ "name": "Calculate maxNumberOfConnsPercellCU",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n",
+ "comments": "",
+ "x": 2131.75013923645,
+ "y": 1694.750101685524,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "d7ed5721.b6a058",
+ "type": "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=\"RRMPolicyRatio temp1 - \"/>\n<parameter name=\"field2\" value=\"`$tmp.maxNumberOfConnsPercellCU`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio temp2 - \"/>\n<parameter name=\"field4\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU1`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.rRMPolicyDedicatedRatio_SliceProfile`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2074.7500743865967,
+ "y": 1822.7500711679459,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "847e0a63.92c6c8",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2095.7500743865967,
+ "y": 1858.7500406503677,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "bc41bbdf.e95d28",
+ "470c5ace.e7b614"
+ ]
+ ]
+ },
+ {
+ "id": "bc41bbdf.e95d28",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2275.75,
+ "y": 1796.7497497797012,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1b7d3039.94cbe"
+ ]
+ ]
+ },
+ {
+ "id": "1b7d3039.94cbe",
+ "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": 2553.75,
+ "y": 1788.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "74620174.3854b",
+ "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": 2132.75,
+ "y": 1901.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cde60f46.242d2",
+ "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": 2131.7500400543213,
+ "y": 1941.7500139474869,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ace9b02b.2edc2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2388.749979019165,
+ "y": 2044.7501055002213,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "40132242.f947dc"
+ ]
+ ]
+ },
+ {
+ "id": "40132242.f947dc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2547.7498779296875,
+ "y": 2081.7501159906387,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ce858e45.304ef",
+ "a0e7445d.246698"
+ ]
+ ]
+ },
+ {
+ "id": "ce858e45.304ef",
+ "type": "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": 2698.7499866485596,
+ "y": 2049.7503196001053,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f7f902f2.e7da1",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2385.749952316284,
+ "y": 1951.7500139474869,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "58a27ec4.653b6"
+ ]
+ ]
+ },
+ {
+ "id": "58a27ec4.653b6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2537.750244140625,
+ "y": 1949.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6096c1a0.3b3d6",
+ "3511e81b.158498",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "6096c1a0.3b3d6",
+ "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": 2708.7498779296875,
+ "y": 2010.7500549554825,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3511e81b.158498",
+ "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": 2703.75,
+ "y": 1915.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "bb944ddc.6b08d",
+ "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": 2170.3056640625,
+ "y": 1978.97232067585,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f7f902f2.e7da1",
+ "ace9b02b.2edc2"
+ ]
+ ]
+ },
+ {
+ "id": "a0e7445d.246698",
+ "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": 2724.7499256134033,
+ "y": 2082.750044465065,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4dd5c0ad.ffb3b",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2102.19441986084,
+ "y": 2112.3059092760086,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8fe136c6.17a838"
+ ]
+ ]
+ },
+ {
+ "id": "8fe136c6.17a838",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2298.749969482422,
+ "y": 2096.750191807747,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2ce5e5de.75ff2a",
+ "80a7ac47.c5b5f",
+ "f0e4d0b9.5cb97",
+ "4ec432c0.d80f7c",
+ "817d9a40.4d7588",
+ "913f52a7.91d36",
+ "113eac04.d40744",
+ "64d19144.0eb6c",
+ "fbccd084.f1d7d",
+ "6fcd9fe2.31558",
+ "f0cbaac9.a493b8"
+ ]
+ ]
+ },
+ {
+ "id": "2ce5e5de.75ff2a",
+ "type": "set",
+ "name": "Calculate updated RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_new' value='`$tmp.rrmPolicyDedicatedRatiocellCU_old + $tmp.rRMPolicyDedicatedRatio_SliceProfile`' />",
+ "comments": "",
+ "x": 2606.7500171661377,
+ "y": 2166.750291466713,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "80a7ac47.c5b5f",
+ "type": "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=\"Existing RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatiocellCU_old`\"/>\n<parameter name=\"field3\" value=\"Updated RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field4\" value=\"`$tmp.rrmPolicyDedicatedRatio_CellCU_new`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2531.750047683716,
+ "y": 2200.749987244606,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f0e4d0b9.5cb97",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2581.75,
+ "y": 2234.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "825507e4.aa30f8",
+ "f00e0383.441b5"
+ ]
+ ]
+ },
+ {
+ "id": "825507e4.aa30f8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2862.8610458374023,
+ "y": 2162.861032128334,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ac824bbc.bac8e8"
+ ]
+ ]
+ },
+ {
+ "id": "ac824bbc.bac8e8",
+ "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": 3107.75040435791,
+ "y": 2164.6388832330704,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4ec432c0.d80f7c",
+ "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": 2619.6387786865234,
+ "y": 2412.4167066812515,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "566a5169.0247f",
+ "f8f81676.3a6628"
+ ]
+ ]
+ },
+ {
+ "id": "566a5169.0247f",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2882.75,
+ "y": 2397.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "df046f8f.74fc5"
+ ]
+ ]
+ },
+ {
+ "id": "df046f8f.74fc5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3073.75,
+ "y": 2397.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1ce5b72b.fab4d9"
+ ]
+ ]
+ },
+ {
+ "id": "1ce5b72b.fab4d9",
+ "type": "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 Patched - cellCU RRMpolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3258.749755859375,
+ "y": 2398.7502380609512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f8f81676.3a6628",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2881.75,
+ "y": 2485.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "bf50a8b6.dba708"
+ ]
+ ]
+ },
+ {
+ "id": "bf50a8b6.dba708",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3100.750244140625,
+ "y": 2490.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "48451220.92d92c",
+ "7f61be2.bfbf84",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "48451220.92d92c",
+ "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": 3345.7498779296875,
+ "y": 2536.7500549554825,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "7f61be2.bfbf84",
+ "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": 3340.75,
+ "y": 2441.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "d61c7133.88a1b",
+ "type": "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=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2108.416831970215,
+ "y": 2067.8612834215164,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6a9c0d77.8182b4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1778.7500648498535,
+ "y": 1624.250123143196,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "71fa8a11.f27964"
+ ]
+ ]
+ },
+ {
+ "id": "bc14f401.6d9738",
+ "type": "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=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field2\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2292.75,
+ "y": 1104.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b481d2c4.5dffe",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1402.750129699707,
+ "y": 2329.8612920045853,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8f88d421.8dd488",
+ "51a0c05e.7561a",
+ "34dc53d6.b374fc",
+ "3b328437.5c249c",
+ "4553a6ba.147f48",
+ "58ac14e8.eb98dc",
+ "bada65e4.1da208",
+ "4eb1dd56.c808d4",
+ "87a7e402.af5cf8",
+ "3c6081eb.b1579e",
+ "1fcbf748.f9d299",
+ "ee277e46.997ce"
+ ]
+ ]
+ },
+ {
+ "id": "deee5e5b.eab8c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2335.305585861206,
+ "y": 2501.305521130562,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "4efc3e8f.b9f52"
+ ]
+ ]
+ },
+ {
+ "id": "92ca3817.cb4e68",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2444.972381591797,
+ "y": 2455.3058758974075,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5196063c.12f678"
+ ]
+ ]
+ },
+ {
+ "id": "5196063c.12f678",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2600.305732727051,
+ "y": 2465.750041127205,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1a1539cb.644be6",
+ "aebc70dc.11a22",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "aebc70dc.11a22",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating NRCellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2740.749801635742,
+ "y": 2474.8612662553787,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "1a1539cb.644be6",
+ "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 in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2759.0828552246094,
+ "y": 2522.3055497407913,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "136d7b50.756295",
+ "type": "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 updated NRCellCU pLMNinfo \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2598.4165420532227,
+ "y": 2509.972101330757,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4efc3e8f.b9f52",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2469.9723358154297,
+ "y": 2506.194364666939,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "136d7b50.756295"
+ ]
+ ]
+ },
+ {
+ "id": "c3541b36.ca9228",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2433.9724349975586,
+ "y": 2680.8614164590836,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5595137c.47760c"
+ ]
+ ]
+ },
+ {
+ "id": "2b0ff9fe.3fd566",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2449.7500228881836,
+ "y": 2752.7497901916504,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2ce6a12a.e113ce"
+ ]
+ ]
+ },
+ {
+ "id": "5595137c.47760c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2637.7499465942383,
+ "y": 2681.749987244606,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "534ab7d9.974d98",
+ "eaaab728.761b28",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "eaaab728.761b28",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2819.305244445801,
+ "y": 2675.5279327630997,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "534ab7d9.974d98",
+ "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 ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2814.30509185791,
+ "y": 2713.861215233803,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "2ce6a12a.e113ce",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2588.7501106262207,
+ "y": 2756.749973297119,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8bbfc7e8.9c1db8"
+ ]
+ ]
+ },
+ {
+ "id": "8bbfc7e8.9c1db8",
+ "type": "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 updated CPS - NRCellCU RRMPolicyRatio \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2724.750202178955,
+ "y": 2749.7500953674316,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8d18d60.089e928",
+ "type": "block",
+ "name": "Process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 588.75,
+ "y": 1568.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "fd24acfc.982b4",
+ "b3f6888c.53b148",
+ "fb05ab6b.b44b08"
+ ]
+ ]
+ },
+ {
+ "id": "fd24acfc.982b4",
+ "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-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 907.2500152587891,
+ "y": 1640.000095486641,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b3f6888c.53b148",
+ "type": "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=\"Number of CUUP 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": 883,
+ "y": 1686.250095486641,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fb05ab6b.b44b08",
+ "type": "for",
+ "name": "foreach CUUP",
+ "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 898.5000457763672,
+ "y": 1733.7500973939896,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e9262143.c127a"
+ ]
+ ]
+ },
+ {
+ "id": "e9262143.c127a",
+ "type": "block",
+ "name": "block : process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1140.75,
+ "y": 1725.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a8bdc975.93d718",
+ "df26693d.9c1d68",
+ "b854d19f.e63f8"
+ ]
+ ]
+ },
+ {
+ "id": "a8bdc975.93d718",
+ "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-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1396.0000305175781,
+ "y": 1695.0277124643326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df26693d.9c1d68",
+ "type": "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=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1380.3334636688232,
+ "y": 1736.8056679964066,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b854d19f.e63f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1373.75,
+ "y": 2809.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7e729ad2.08cec4",
+ "43d320b7.13252",
+ "b20337ab.3175f8",
+ "aa323d75.37c99",
+ "7506de9c.a252e",
+ "7a48dd4b.7e5964",
+ "73762e8c.ada86",
+ "64c40584.9db1cc",
+ "2c6e3557.445b6a",
+ "ce1d73c1.a526f",
+ "c6febfd4.7ba2f",
+ "44079d40.b3e3e4",
+ "a7c61b4d.7c7ac8",
+ "2b2dcf92.ad428",
+ "76809bf5.5f9204",
+ "c91f3329.9b73d",
+ "74fa9997.55e2c8",
+ "17f442ac.e65c0d",
+ "a69e803e.2d92c"
+ ]
+ ]
+ },
+ {
+ "id": "b20337ab.3175f8",
+ "type": "execute",
+ "name": "patch PLMNInfoListEntry gNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoList-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-gNBCUUP-PLMNInfoList-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": 1688.4167785644531,
+ "y": 3012.1945120096207,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f12d3ff7.048c4",
+ "8d7a8d7c.4ceb3"
+ ]
+ ]
+ },
+ {
+ "id": "f12d3ff7.048c4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1984.8612480163574,
+ "y": 3043.083513855934,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "831cd380.e2d81"
+ ]
+ ]
+ },
+ {
+ "id": "831cd380.e2d81",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2174.0835189819336,
+ "y": 3029.8613945245743,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "122e9c3.0b3de64",
+ "63387a22.b02654",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "63387a22.b02654",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2405.0835304260254,
+ "y": 2991.6393200159073,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "122e9c3.0b3de64",
+ "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 patching CUUP PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2432.306022644043,
+ "y": 3032.306075692177,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "ab5c1b92.e216d8",
+ "type": "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 Patched - gNBCUUP PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2347.4164237976074,
+ "y": 3073.9724136590958,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9bcbbc63.ce6a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2161.083240509033,
+ "y": 3079.527982354164,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ab5c1b92.e216d8"
+ ]
+ ]
+ },
+ {
+ "id": "8d7a8d7c.4ceb3",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1975.5277481079102,
+ "y": 3083.416991829872,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "9bcbbc63.ce6a8"
+ ]
+ ]
+ },
+ {
+ "id": "7e729ad2.08cec4",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1640.75,
+ "y": 2811.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "389ee51f.2b170a",
+ "c5b1dc9e.1d94d"
+ ]
+ ]
+ },
+ {
+ "id": "389ee51f.2b170a",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1881.7501068115234,
+ "y": 2912.749912261963,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "dd498c40.f04d3"
+ ]
+ ]
+ },
+ {
+ "id": "c5b1dc9e.1d94d",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1871.3057403564453,
+ "y": 2952.638889312744,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3ea81489.2ed41c"
+ ]
+ ]
+ },
+ {
+ "id": "dd498c40.f04d3",
+ "type": "execute",
+ "name": "generate patch PLMNInfoListEntry CUUP URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2187.749984741211,
+ "y": 2880.750217437744,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "43d320b7.13252",
+ "type": "execute",
+ "name": "prepare idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1652.4166259765625,
+ "y": 2856.305708527565,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "817d9a40.4d7588",
+ "type": "set",
+ "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": "",
+ "x": 2583.5281677246094,
+ "y": 2310.5274807214737,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "913f52a7.91d36",
+ "type": "set",
+ "name": "RRMPolicyMember Id",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.rrmPolicyMembers+1`'/>\n",
+ "comments": "",
+ "x": 2594.5279083251953,
+ "y": 2346.417045235634,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "aa323d75.37c99",
+ "type": "set",
+ "name": "Calculate rRMPolicyDedicatedRatio Temp",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n",
+ "comments": "",
+ "x": 1710.3058013916016,
+ "y": 3121.9731270074844,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "7506de9c.a252e",
+ "type": "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=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio-CUUP`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1614.0835304260254,
+ "y": 3186.1949521303177,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7a48dd4b.7e5964",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1631.75,
+ "y": 3226.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e0d5f9df.572568",
+ "f0c6590e.ff84c8"
+ ]
+ ]
+ },
+ {
+ "id": "e0d5f9df.572568",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1809.75,
+ "y": 3193.7497497797012,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d5b3429e.86a3b"
+ ]
+ ]
+ },
+ {
+ "id": "d5b3429e.86a3b",
+ "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": 2104.750030517578,
+ "y": 3139.750050187111,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "73762e8c.ada86",
+ "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": 1668.7500839233398,
+ "y": 3281.7500072717667,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64c40584.9db1cc",
+ "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": 1657.7503204345703,
+ "y": 3387.750035881996,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "fa1727db.4ff6f8",
+ "2caf3fc.d12ffc"
+ ]
+ ]
+ },
+ {
+ "id": "fa1727db.4ff6f8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1914.7500953674316,
+ "y": 3328.7501722574234,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "95863617.152ff8"
+ ]
+ ]
+ },
+ {
+ "id": "95863617.152ff8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2075.750244140625,
+ "y": 3347.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1d3ed326.676d6d",
+ "1a7af4ec.bd2a9b",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "1a7af4ec.bd2a9b",
+ "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": 2241.75,
+ "y": 3313.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "1d3ed326.676d6d",
+ "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": 2297.860809326172,
+ "y": 3357.6390167474747,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "14ba2028.e74e7",
+ "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": 2282.9721069335938,
+ "y": 3453.305573105812,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7abf90e6.fc0eb",
+ "type": "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": 2277.9719161987305,
+ "y": 3396.9723316431046,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "859ce1d7.ad2f3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2085.305465698242,
+ "y": 3395.1946407556534,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7abf90e6.fc0eb",
+ "14ba2028.e74e7"
+ ]
+ ]
+ },
+ {
+ "id": "2caf3fc.d12ffc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1905.7500953674316,
+ "y": 3398.7501751184464,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "859ce1d7.ad2f3"
+ ]
+ ]
+ },
+ {
+ "id": "2c6e3557.445b6a",
+ "type": "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=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1592.750228881836,
+ "y": 3523.7500969171524,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ce1d73c1.a526f",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1632.4167175292969,
+ "y": 3606.0835955142975,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c15c3846.9cc378"
+ ]
+ ]
+ },
+ {
+ "id": "c15c3846.9cc378",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1848.4166259765625,
+ "y": 3622.0832458734512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8c306307.562dc",
+ "16688c58.f027d4",
+ "432ce41d.3e06ac",
+ "72b5092b.75c418",
+ "f1a9ca03.a0eb48",
+ "993dd44a.170258",
+ "a427632f.d869c",
+ "268bc997.735946",
+ "eb350ab1.e1b0a8"
+ ]
+ ]
+ },
+ {
+ "id": "8c306307.562dc",
+ "type": "set",
+ "name": "Calculate updated RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`\" />",
+ "comments": "",
+ "x": 2173.4166259765625,
+ "y": 3599.0832458734512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "432ce41d.3e06ac",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2141.416603088379,
+ "y": 3641.1944819688797,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3ba2ebea.4073e4",
+ "7b24440a.b6717c"
+ ]
+ ]
+ },
+ {
+ "id": "3ba2ebea.4073e4",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2358.4167251586914,
+ "y": 3637.0830656290054,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "cbc21366.cc7fa"
+ ]
+ ]
+ },
+ {
+ "id": "cbc21366.cc7fa",
+ "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": 2631.4165954589844,
+ "y": 3607.083615899086,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f1a9ca03.a0eb48",
+ "type": "set",
+ "name": "RRMPolicyMember Id",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.rrmPolicyMembers-CUUP+1`\" />",
+ "comments": "",
+ "x": 2145.3055267333984,
+ "y": 3792.8612962961197,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "16688c58.f027d4",
+ "type": "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=\"Updated RRMPolicyRatio for CUUP is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio_id is - \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyMember_id CUUP is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field7\" value=\"Existing RRMPolicyMembers Length\"/>\n<parameter name=\"field8\" value=\"`$tmp.rrmPolicyMembers-CUUP`\"/>\n<parameter name=\"field9\" value=\"Update RRMPolicyRatio URL - \"/>\n<parameter name=\"field10\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2106.7502670288086,
+ "y": 3825.7502485513687,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "72b5092b.75c418",
+ "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": 2169.305534362793,
+ "y": 3862.194244980812,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "354622a4.01e51e",
+ "5fbbff2d.baa83"
+ ]
+ ]
+ },
+ {
+ "id": "354622a4.01e51e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2442.4166259765625,
+ "y": 3813.0832458734512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "69f07a5c.9cf3c4"
+ ]
+ ]
+ },
+ {
+ "id": "69f07a5c.9cf3c4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2633.4166259765625,
+ "y": 3813.0832458734512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a9cd31eb.4cc17"
+ ]
+ ]
+ },
+ {
+ "id": "a9cd31eb.4cc17",
+ "type": "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 Patched - cellCU RRMpolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2818.4163818359375,
+ "y": 3814.0834900140762,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e783d84f.9663b8",
+ "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": 2900.4166259765625,
+ "y": 3857.0832458734512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "ba52afe8.7e6ff",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2905.41650390625,
+ "y": 3952.0833069086075,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "7364065d.f75a68",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2660.4168701171875,
+ "y": 3906.0832458734512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ba52afe8.7e6ff",
+ "e783d84f.9663b8",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "5fbbff2d.baa83",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2441.4166259765625,
+ "y": 3901.0832458734512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7364065d.f75a68"
+ ]
+ ]
+ },
+ {
+ "id": "c6febfd4.7ba2f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1314.861328125,
+ "y": 3853.3057500123978,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "28f5dfd.9a4812",
+ "50bcf572.bcf0cc",
+ "47702ad.848f4d4",
+ "c914f18c.7a4f1",
+ "104eb87.a376648",
+ "45595c3c.0be1a4",
+ "a051c642.6a7bc8",
+ "87a1a22f.c133b",
+ "908953b0.a03cd",
+ "37b9229.a3546de",
+ "295de976.356436",
+ "d5b4aac3.9ea238"
+ ]
+ ]
+ },
+ {
+ "id": "1538fb5f.4f3bb5",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2207.0833740234375,
+ "y": 3906.4169861078262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e156ed41.b239e"
+ ]
+ ]
+ },
+ {
+ "id": "ddfd7b68.8530b8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2193.58345413208,
+ "y": 3956.1669107675552,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "9c627ea9.b2d31"
+ ]
+ ]
+ },
+ {
+ "id": "9c627ea9.b2d31",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2352.0832748413086,
+ "y": 3984.6669729948044,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6cd70f8.ecedff"
+ ]
+ ]
+ },
+ {
+ "id": "e156ed41.b239e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2395.333641052246,
+ "y": 3943.6669107675552,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7bf34b39.555734",
+ "cda14761.70e308",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "6cd70f8.ecedff",
+ "type": "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 updated NRCellCU pLMNinfo \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2488.5835189819336,
+ "y": 3998.1670347452164,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7bf34b39.555734",
+ "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-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2653.833122253418,
+ "y": 3987.166973233223,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "cda14761.70e308",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating CUUP. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2562.5833053588867,
+ "y": 3952.9167886972427,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "a29bc829.f0a308",
+ "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": 2616.833339691162,
+ "y": 4188.167035698891,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "9b0063e8.dab5c",
+ "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 ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2613.083053588867,
+ "y": 4229.416791558266,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "f24c3597.bcb938",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2433.3335189819336,
+ "y": 4222.166974663734,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "9b0063e8.dab5c",
+ "a29bc829.f0a308",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "39ab04a2.95217c",
+ "type": "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 updated ConfigDB - CUUP RRMPolicyRatio \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2586.0834197998047,
+ "y": 4276.416730523109,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ecf4a24e.3af86",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2420.0834197998047,
+ "y": 4275.416730523109,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "39ab04a2.95217c"
+ ]
+ ]
+ },
+ {
+ "id": "cafa563f.803a28",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2239.0834197998047,
+ "y": 4281.416486382484,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ecf4a24e.3af86"
+ ]
+ ]
+ },
+ {
+ "id": "1368906b.b985c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2232.8335494995117,
+ "y": 4233.916852593422,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f24c3597.bcb938"
+ ]
+ ]
+ },
+ {
+ "id": "d095f7c9.e586e8",
+ "type": "block",
+ "name": "Process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1052.5002212524414,
+ "y": 3897.5005947351456,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "cdee6074.ed50f",
+ "1a25480f.a37d28",
+ "f62b0243.ca58b"
+ ]
+ ]
+ },
+ {
+ "id": "cdee6074.ed50f",
+ "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-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1358.8335876464844,
+ "y": 3988.61228954792,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1a25480f.a37d28",
+ "type": "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=\"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": 1350.166847229004,
+ "y": 4040.8340245485306,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f62b0243.ca58b",
+ "type": "for",
+ "name": "foreach DU",
+ "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1382.2781066894531,
+ "y": 4101.612041592598,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7d091122.91519"
+ ]
+ ]
+ },
+ {
+ "id": "7d091122.91519",
+ "type": "block",
+ "name": "block : process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1550.6114044189453,
+ "y": 4620.612058639526,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5da8a3ad.b841dc",
+ "6195dc83.0766b4",
+ "d1ec1bdb.d109c8",
+ "d6c90ccd.8a5e2"
+ ]
+ ]
+ },
+ {
+ "id": "5da8a3ad.b841dc",
+ "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-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1832.5000762939453,
+ "y": 4555.5,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6195dc83.0766b4",
+ "type": "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=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1805.5000762939453,
+ "y": 4606.5,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d1ec1bdb.d109c8",
+ "type": "execute",
+ "name": "read cellDU list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1846.5000762939453,
+ "y": 4655.5,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d6c90ccd.8a5e2",
+ "type": "for",
+ "name": "for cellDUList",
+ "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1836.5000762939453,
+ "y": 4699.5,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ca950d87.43a8c"
+ ]
+ ]
+ },
+ {
+ "id": "43075f86.beee5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2841.25,
+ "y": 4563.499993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "62039c3b.2e06f4",
+ "605d907e.3b9d9",
+ "4dd74a3.63a31b4",
+ "61d3b400.5ce54c",
+ "6b24ccd2.7ea0f4",
+ "35b48e7f.5233d2",
+ "8bd207bb.4a89a8",
+ "15be5ec0.1c4b61",
+ "5937227c.16b29c",
+ "54889c38.a9cd24",
+ "dfb56ac0.269c28",
+ "8666c4e7.b8a108"
+ ]
+ ]
+ },
+ {
+ "id": "15be5ec0.1c4b61",
+ "type": "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=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3036.25,
+ "y": 4558.499993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8bd207bb.4a89a8",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3064.25,
+ "y": 4626.499993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5154bb9f.200654",
+ "83449ab4.0152e8"
+ ]
+ ]
+ },
+ {
+ "id": "5154bb9f.200654",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3272.25,
+ "y": 4591.499749779701,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "fc0f3c5c.42d97"
+ ]
+ ]
+ },
+ {
+ "id": "83449ab4.0152e8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3267.2500495910645,
+ "y": 4660.500318169594,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ef44957a.a99338"
+ ]
+ ]
+ },
+ {
+ "id": "fc0f3c5c.42d97",
+ "type": "execute",
+ "name": "generate patch PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3592.25,
+ "y": 4606.499993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "62039c3b.2e06f4",
+ "type": "execute",
+ "name": "read cellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3061.2501525878906,
+ "y": 4714.500238060951,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "61d3b400.5ce54c",
+ "type": "execute",
+ "name": "prepare idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3116.250213623047,
+ "y": 4779.500176072121,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6b24ccd2.7ea0f4",
+ "type": "execute",
+ "name": "prepare idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3089.2503967285156,
+ "y": 4834.500177979469,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "35b48e7f.5233d2",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 3069.2500915527344,
+ "y": 4897.500484108925,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "605d907e.3b9d9",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3071.2503356933594,
+ "y": 4955.500116944313,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4dd74a3.63a31b4",
+ "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/instantiateRANSliceModifyAllocate.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.patchPLMNInfoListEntry-cellDU.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3075.250213623047,
+ "y": 5001.500733971596,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5937227c.16b29c",
+ "type": "execute",
+ "name": "patch PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.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-PLMNInfoList-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": 3130.250213623047,
+ "y": 5047.750002026558,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "17e4fa67.e67316",
+ "7dace641.0f9008"
+ ]
+ ]
+ },
+ {
+ "id": "7dace641.0f9008",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3378.8215656280518,
+ "y": 4888.750117897987,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "868005da.09d9a8"
+ ]
+ ]
+ },
+ {
+ "id": "17e4fa67.e67316",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3384.964256286621,
+ "y": 4944.892823815346,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a0ccbc63.af49d"
+ ]
+ ]
+ },
+ {
+ "id": "868005da.09d9a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3555.3931732177734,
+ "y": 4888.178340554237,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5ad31e38.d519e",
+ "15a48f53.e9cc91",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "a0ccbc63.af49d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3538.6785583496094,
+ "y": 4944.749949097633,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e6087780.a3b1e8"
+ ]
+ ]
+ },
+ {
+ "id": "e6087780.a3b1e8",
+ "type": "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 Patched - cellDU PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3576.107250213623,
+ "y": 5010.892745614052,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ad31e38.d519e",
+ "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 NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3742.1069869995117,
+ "y": 4964.89268553257,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "15a48f53.e9cc91",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3724.25,
+ "y": 4912.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "54889c38.a9cd24",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2934.5,
+ "y": 5371.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8f65cb9d.048b28",
+ "f9f106.3ad64ef8",
+ "3a4622d9.5f175e",
+ "b986af06.b93c6",
+ "7fae1a9.e7695e4",
+ "b0e07a56.eb0968",
+ "b7d983c1.d239f",
+ "4af7254c.0f94ec",
+ "9bbde133.9199d",
+ "a7792ca5.50c21"
+ ]
+ ]
+ },
+ {
+ "id": "8f65cb9d.048b28",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3156.5,
+ "y": 5277.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "73b1b3f4.19640c",
+ "d4970e1f.1fd1b"
+ ]
+ ]
+ },
+ {
+ "id": "d4970e1f.1fd1b",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3405.2147064208984,
+ "y": 5290.0367695093155,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "56f3561a.ac8948"
+ ]
+ ]
+ },
+ {
+ "id": "56f3561a.ac8948",
+ "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": 3599.4999084472656,
+ "y": 5228.179366707802,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f9f106.3ad64ef8",
+ "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": 3191.5,
+ "y": 5349.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3a4622d9.5f175e",
+ "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": 3156.5,
+ "y": 5401.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b986af06.b93c6",
+ "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": 3191.5,
+ "y": 5476.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c269d283.8fd35",
+ "bd0e158e.059d78"
+ ]
+ ]
+ },
+ {
+ "id": "c269d283.8fd35",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3438.5,
+ "y": 5449.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "857415f4.a266a8"
+ ]
+ ]
+ },
+ {
+ "id": "bd0e158e.059d78",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3442.5,
+ "y": 5528.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "be81b143.1fc7b"
+ ]
+ ]
+ },
+ {
+ "id": "857415f4.a266a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3606.500473022461,
+ "y": 5460.607347130775,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a82d6535.8cffe8",
+ "b7c3ff1f.bc02f",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "b7c3ff1f.bc02f",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3762.5,
+ "y": 5363.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "a82d6535.8cffe8",
+ "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": 3767.4998779296875,
+ "y": 5458.7500549554825,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "be81b143.1fc7b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3606.4998779296875,
+ "y": 5529.750115990639,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "4fda18b3.9db558",
+ "9c5722da.7d9"
+ ]
+ ]
+ },
+ {
+ "id": "4fda18b3.9db558",
+ "type": "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": 3763.643051147461,
+ "y": 5501.892781853676,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9c5722da.7d9",
+ "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": 3771.5000915527344,
+ "y": 5539.178704857826,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7fae1a9.e7695e4",
+ "type": "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=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioDUList_length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3129.0714111328125,
+ "y": 5609.035392403603,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b0e07a56.eb0968",
+ "type": "block",
+ "name": "rrmPolicyDedicatedRatio",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3191.214096546173,
+ "y": 5156.0356212854385,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f883b03a.ef216",
+ "af9f11f4.78c62",
+ "b10b5e0c.72314",
+ "9db8c539.0a0aa8",
+ "6bc2b88f.76a8c8",
+ "3f062193.b947de",
+ "a6a8b9e5.316c68",
+ "949f4c1a.ce91d",
+ "9d1ae75e.bcfc48",
+ "1fe4082d.a36b08",
+ "4a6f0191.d8f03"
+ ]
+ ]
+ },
+ {
+ "id": "b10b5e0c.72314",
+ "type": "set",
+ "name": "Calculate RRM Parms1",
+ "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 4159.489807128906,
+ "y": 4942.072746872902,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "9db8c539.0a0aa8",
+ "type": "set",
+ "name": "Calculate RRM Parms2",
+ "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 4168.031066894531,
+ "y": 4987.092766344547,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "6bc2b88f.76a8c8",
+ "type": "set",
+ "name": "Calculate RRM Parms3",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
+ "comments": "",
+ "x": 4158.031188964844,
+ "y": 5042.092644274235,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3f062193.b947de",
+ "type": "set",
+ "name": "Calculate RRM Parms4",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 4158.031066894531,
+ "y": 5093.092644333839,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "a6a8b9e5.316c68",
+ "type": "set",
+ "name": "Calculate RRM Parms5",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
+ "comments": "",
+ "x": 4146.031188964844,
+ "y": 5153.092766344547,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "949f4c1a.ce91d",
+ "type": "set",
+ "name": "Calculate RRM Parms6",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />",
+ "comments": "",
+ "x": 4184.031066894531,
+ "y": 5203.092766344547,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "9d1ae75e.bcfc48",
+ "type": "set",
+ "name": "Calculate RRM Parms7",
+ "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
+ "comments": "",
+ "x": 4171.031005859375,
+ "y": 5273.093132615089,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "1fe4082d.a36b08",
+ "type": "set",
+ "name": "calculation8",
+ "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
+ "comments": "",
+ "x": 4142.031005859375,
+ "y": 5337.092156052589,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "4a6f0191.d8f03",
+ "type": "set",
+ "name": "calculation9",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
+ "comments": "",
+ "x": 4130.031555175781,
+ "y": 5388.092033982277,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "af9f11f4.78c62",
+ "type": "set",
+ "name": "calculation10",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
+ "comments": "",
+ "x": 4105.4898681640625,
+ "y": 5454.072502732277,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "f883b03a.ef216",
+ "type": "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": 3931.4997940063477,
+ "y": 5466.1938091516495,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b7d983c1.d239f",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3151.75,
+ "y": 5655.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a53a21d5.1b313"
+ ]
+ ]
+ },
+ {
+ "id": "a53a21d5.1b313",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3372.75,
+ "y": 5675.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1b550014.5201b",
+ "b46625d1.c5da98",
+ "642c3db5.225a44",
+ "df6bb9e7.91aa48",
+ "98b50177.a679d",
+ "2e984400.7745bc",
+ "77b3e185.b47fc",
+ "62f38bf.033d574",
+ "55f4d449.7a769c",
+ "a0f19fe6.b3c43"
+ ]
+ ]
+ },
+ {
+ "id": "1b550014.5201b",
+ "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": 3699.178512573242,
+ "y": 5615.60748398304,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "642c3db5.225a44",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3644.321762084961,
+ "y": 5659.464260697365,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e744ad30.9419b",
+ "686d6df8.9e5f14"
+ ]
+ ]
+ },
+ {
+ "id": "e744ad30.9419b",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3840.035758972168,
+ "y": 5650.749746918678,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c46e2a8e.4988d8"
+ ]
+ ]
+ },
+ {
+ "id": "c46e2a8e.4988d8",
+ "type": "execute",
+ "name": "patchRRMPolicyRatio 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": 4157.750217437744,
+ "y": 5620.036683678627,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "98b50177.a679d",
+ "type": "set",
+ "name": "RRMPolicyMember Id",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.RRMPolicyMembersDU_Length+1`\" />",
+ "comments": "",
+ "x": 3629.321533203125,
+ "y": 5827.321384072304,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "b46625d1.c5da98",
+ "type": "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=\"RRMPolicyRatioid - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyMemberid- \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field5\" value=\"Updated RRMPolicyRatio for CellDU is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3604.893051147461,
+ "y": 5867.036262154579,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df6bb9e7.91aa48",
+ "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": 3689.0357971191406,
+ "y": 5903.32148706913,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "657e941d.80fc9c",
+ "b3dedf75.05c98"
+ ]
+ ]
+ },
+ {
+ "id": "657e941d.80fc9c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3966.75,
+ "y": 5866.74976503849,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "cedf2ee9.c5dcd"
+ ]
+ ]
+ },
+ {
+ "id": "cedf2ee9.c5dcd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4157.75,
+ "y": 5866.74976503849,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c572acdd.e114e"
+ ]
+ ]
+ },
+ {
+ "id": "c572acdd.e114e",
+ "type": "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 Patched - cellDU RRMpolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4342.749755859375,
+ "y": 5867.750009179115,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bf367b69.78c2f8",
+ "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": 4424.75,
+ "y": 5910.74976503849,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "df3b4f0.60c8eb",
+ "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": 4429.7498779296875,
+ "y": 6005.749826073647,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "471bb6e.63e9548",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4162.2502784729,
+ "y": 5908.500407338142,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "df3b4f0.60c8eb",
+ "bf367b69.78c2f8",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "b3dedf75.05c98",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3975.7500915527344,
+ "y": 5914.75040781498,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "471bb6e.63e9548"
+ ]
+ ]
+ },
+ {
+ "id": "dfb56ac0.269c28",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2520.583610534668,
+ "y": 5927.527860760689,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "db6539b9.fface8",
+ "6b14b248.70683c",
+ "b0323c91.c5946",
+ "bd600a84.5b8d28",
+ "3f889fa8.24ada",
+ "36523ebf.3db352",
+ "cc745824.7b3288",
+ "556e9c3.d416364",
+ "c8a9b003.4e213",
+ "34c419f3.4189d6",
+ "2afc55d4.0fdf1a"
+ ]
+ ]
+ },
+ {
+ "id": "67aafde3.1e6b44",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3536.1392211914062,
+ "y": 6017.639016747475,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "81ce4a95.e18528"
+ ]
+ ]
+ },
+ {
+ "id": "cb54d9cb.7a7378",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3539.7228775024414,
+ "y": 6077.250904202461,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2b5f5a.aa2f10a6"
+ ]
+ ]
+ },
+ {
+ "id": "2b5f5a.aa2f10a6",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3688.777786254883,
+ "y": 6086.027271389961,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3fe6db33.905464"
+ ]
+ ]
+ },
+ {
+ "id": "81ce4a95.e18528",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3714.9446563720703,
+ "y": 6019.8900891542435,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2d614c6c.612744",
+ "2740df4e.23d3c",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "2740df4e.23d3c",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating NRCellDU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3921.7779960632324,
+ "y": 6005.111600995064,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3fe6db33.905464",
+ "type": "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 updated NRCellCU pLMNinfo \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3838.194797515869,
+ "y": 6094.389980435371,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d614c6c.612744",
+ "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-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3924.5556983947754,
+ "y": 6045.471927762032,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "13b72a03.4db0f6",
+ "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": 4048.249786376953,
+ "y": 6264.250532746315,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "f79a6d92.a08eb",
+ "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 in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4068.249912261963,
+ "y": 6305.500533699989,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "d3e1f66f.c5a5a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3858.500274658203,
+ "y": 6297.000167489052,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f79a6d92.a08eb",
+ "13b72a03.4db0f6",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "9f649d76.9ec46",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3672.500217437744,
+ "y": 6391.250084519386,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d3e1f66f.c5a5a8"
+ ]
+ ]
+ },
+ {
+ "id": "40529f96.2b4fa",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3682.250156402588,
+ "y": 6433.7494732141495,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "cbb88d3d.07a53"
+ ]
+ ]
+ },
+ {
+ "id": "cbb88d3d.07a53",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3851.500213623047,
+ "y": 6357.750290513039,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c2e36292.4f889"
+ ]
+ ]
+ },
+ {
+ "id": "c2e36292.4f889",
+ "type": "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 updated ConfigDB - NRCellDU RRMPolicyRatio \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4016.250274658203,
+ "y": 6362.500046372414,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "479d909e.4559c",
+ "type": "block",
+ "name": "block : SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4509.234375,
+ "y": 2859.7499965429306,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d13464a8.c473a8",
+ "1442c906.c2a9d7",
+ "96caf0a7.e1b47",
+ "34f9cdd8.73fce2",
+ "3aa7172f.242b68"
+ ]
+ ]
+ },
+ {
+ "id": "d13464a8.c473a8",
+ "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.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
+ "comments": "",
+ "x": 5162.2354736328125,
+ "y": 2683.649747490883,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "1442c906.c2a9d7",
+ "type": "record",
+ "name": "record configdb RestAPI parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 5146.234237670898,
+ "y": 2748.75033223629,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "96caf0a7.e1b47",
+ "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=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-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": 5061.23424911499,
+ "y": 2845.7502101659775,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7f6e9ffc.4e5fd",
+ "b48234ba.97dc18"
+ ]
+ ]
+ },
+ {
+ "id": "7f6e9ffc.4e5fd",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5287.234257698059,
+ "y": 2822.750179171562,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "867b195e.6bc338"
+ ]
+ ]
+ },
+ {
+ "id": "b48234ba.97dc18",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5277.234111785889,
+ "y": 2930.750118613243,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "9c0026b0.3dd038"
+ ]
+ ]
+ },
+ {
+ "id": "9c0026b0.3dd038",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5427.233898162842,
+ "y": 2949.7501796483994,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "74f1f284.a869bc"
+ ]
+ ]
+ },
+ {
+ "id": "867b195e.6bc338",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5438.234127044678,
+ "y": 2817.7503012418747,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "b0845d56.4e5b1"
+ ]
+ ]
+ },
+ {
+ "id": "b0845d56.4e5b1",
+ "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": 5604.233806610107,
+ "y": 2820.750118613243,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "74f1f284.a869bc",
+ "type": "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=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 5591.233913421631,
+ "y": 2955.750118613243,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e22e0c4c.d5556",
+ "type": "block",
+ "name": "SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 591.234375,
+ "y": 4541.749996542931,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8cb8bc7d.7e74a",
+ "476fc738.416598",
+ "50137f8e.4980a",
+ "849286c2.be2068",
+ "846f8159.327a4",
+ "a265251b.3b1538"
+ ]
+ ]
+ },
+ {
+ "id": "50137f8e.4980a",
+ "type": "set",
+ "name": "set tmp variables for SO response",
+ "xml": "<set>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
+ "comments": "",
+ "x": 868.2355804443359,
+ "y": 4489.649533867836,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "8cb8bc7d.7e74a",
+ "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/instantiateRANSliceModifyAllocate.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`\" />\n<parameter name='field7' value=\"`$prop.restapi.so.user`\" />\n<parameter name='field8' value=\"`$prop.restapi.so.password`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 866.2344131469727,
+ "y": 4581.750181794167,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "476fc738.416598",
+ "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-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": 737.2344512939453,
+ "y": 4662.749884009361,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f9853664.aacc68",
+ "e53dccb7.c9878"
+ ]
+ ]
+ },
+ {
+ "id": "f9853664.aacc68",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 902.2344512939453,
+ "y": 4642.749883055687,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3420f22.697f30e"
+ ]
+ ]
+ },
+ {
+ "id": "e53dccb7.c9878",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 894.2343444824219,
+ "y": 4715.7498334646225,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "76c9ead5.6b72d4"
+ ]
+ ]
+ },
+ {
+ "id": "76c9ead5.6b72d4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1040.234188079834,
+ "y": 4720.749942183495,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "413a0051.38f5a"
+ ]
+ ]
+ },
+ {
+ "id": "3420f22.697f30e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1051.2343521118164,
+ "y": 4638.75001847744,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6a452c40.33a0e4",
+ "a489ad20.48a"
+ ]
+ ]
+ },
+ {
+ "id": "6a452c40.33a0e4",
+ "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": 1198.2339706420898,
+ "y": 4649.7497600317,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "413a0051.38f5a",
+ "type": "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=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1201.2341079711914,
+ "y": 4726.749834418297,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a489ad20.48a",
+ "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": 1185.7445793151855,
+ "y": 4553.739251494408,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "849286c2.be2068",
+ "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": 888.5740203857422,
+ "y": 4535.735594391823,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "470c5ace.e7b614",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2292.75,
+ "y": 1856.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f9257a75.7e69c8"
+ ]
+ ]
+ },
+ {
+ "id": "f9257a75.7e69c8",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2485.739658355713,
+ "y": 1856.7501159906387,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a80d922c.a1cde",
+ "e6daa16f.fde87"
+ ]
+ ]
+ },
+ {
+ "id": "a80d922c.a1cde",
+ "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": 2792.739845275879,
+ "y": 1823.7502170801163,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6daa16f.fde87",
+ "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": 2736.740245819092,
+ "y": 1876.7504106760025,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7879486d.e43fa8",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2720.25,
+ "y": 1240.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "82157520.f495d8",
+ "6a5761ea.7f37e"
+ ]
+ ]
+ },
+ {
+ "id": "6a5761ea.7f37e",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2971.250431060791,
+ "y": 1263.7501264810562,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "82157520.f495d8",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3027.250030517578,
+ "y": 1210.74993288517,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ddfeee6b.9b1e5",
+ "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": 3208.806022644043,
+ "y": 2246.6388803720474,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4dca9024.f47ec",
+ "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": 3267.0279998779297,
+ "y": 2203.638970017433,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7c5e9fd9.58f49",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2983.3607330322266,
+ "y": 2205.5273166894913,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "4dca9024.f47ec",
+ "ddfeee6b.9b1e5"
+ ]
+ ]
+ },
+ {
+ "id": "f00e0383.441b5",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2819.2601470947266,
+ "y": 2205.527939915657,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7c5e9fd9.58f49"
+ ]
+ ]
+ },
+ {
+ "id": "f843b4e8.2e9988",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2270.750045776367,
+ "y": 2957.7500343322754,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "82dd2315.9e43a",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.TogNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2364.749526977539,
+ "y": 2920.7498512268066,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3ea81489.2ed41c",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2026.083236694336,
+ "y": 2959.3059425354004,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "82dd2315.9e43a",
+ "f843b4e8.2e9988"
+ ]
+ ]
+ },
+ {
+ "id": "14b26f52.795b81",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2039.75,
+ "y": 3237.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f944afa6.c43e3",
+ "8efae8c6.89c2f8"
+ ]
+ ]
+ },
+ {
+ "id": "f944afa6.c43e3",
+ "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": 2341.7499351501465,
+ "y": 3197.7500549554825,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8efae8c6.89c2f8",
+ "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": 2285.7503356933594,
+ "y": 3250.7502485513687,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f0c6590e.ff84c8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1812.25,
+ "y": 3246.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "14b26f52.795b81"
+ ]
+ ]
+ },
+ {
+ "id": "7b24440a.b6717c",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2357.0279502868652,
+ "y": 3670.5277220010757,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "637945d1.d2c12c"
+ ]
+ ]
+ },
+ {
+ "id": "637945d1.d2c12c",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2572.305606842041,
+ "y": 3648.19445002079,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f55e49da.112a18",
+ "a7569e63.3c5be"
+ ]
+ ]
+ },
+ {
+ "id": "f55e49da.112a18",
+ "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": 2878.7499351501465,
+ "y": 3643.7500549554825,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a7569e63.3c5be",
+ "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": 2822.7503356933594,
+ "y": 3696.7502485513687,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ef44957a.a99338",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3462.25,
+ "y": 4675.749993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8927c582.e2ad88",
+ "92020df.7d663f"
+ ]
+ ]
+ },
+ {
+ "id": "8927c582.e2ad88",
+ "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.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3769.250030517578,
+ "y": 4645.74993288517,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "92020df.7d663f",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3713.250431060791,
+ "y": 4698.750126481056,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "73b1b3f4.19640c",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3400.4287185668945,
+ "y": 5344.464416146278,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1b55a289.002ffd"
+ ]
+ ]
+ },
+ {
+ "id": "1b55a289.002ffd",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3531.714797973633,
+ "y": 5371.285113930702,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "37385ac0.81c706",
+ "a3561b1e.d49408"
+ ]
+ ]
+ },
+ {
+ "id": "37385ac0.81c706",
+ "type": "execute",
+ "name": "generate patchRRMPolicyRatio.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": 3773.0000495910645,
+ "y": 5263.999591469765,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a3561b1e.d49408",
+ "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": 3716.0005378723145,
+ "y": 5324.999957680702,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "686d6df8.9e5f14",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3834.7144165039062,
+ "y": 5690.893161416054,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "324935f3.b203ea"
+ ]
+ ]
+ },
+ {
+ "id": "324935f3.b203ea",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3993.1436729431152,
+ "y": 5702.000008225441,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6ce8d66e.2c5e18",
+ "336826dc.606bea"
+ ]
+ ]
+ },
+ {
+ "id": "6ce8d66e.2c5e18",
+ "type": "execute",
+ "name": "generate patchRRMPolicyRatio.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": 4242.999771118164,
+ "y": 5664.714660286903,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "336826dc.606bea",
+ "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": 4181.714820861816,
+ "y": 5714.285739541054,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "63f24c79.8133b4",
+ "type": "comment",
+ "name": "instantiateRANSlice-ModifyAllocate",
+ "info": "",
+ "comments": "",
+ "x": 729.5,
+ "y": 82.99999868869781,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "bf968fde.5a03c",
+ "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": 239.77081298828125,
+ "y": 1543.1041198968887,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "80aeccba.14133",
+ "type": "set",
+ "name": "Calculate maxNumberOfConnsPercellCU * 100",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n",
+ "comments": "",
+ "x": 2156.250078201294,
+ "y": 1732.2500101327896,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "fd415f84.f4c55",
+ "type": "set",
+ "name": "Calculate RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
+ "comments": "",
+ "x": 2108.250078201294,
+ "y": 1770.2500101327896,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "ed8d5920.d85c48",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioList_length' value='`$get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
+ "comments": "",
+ "x": 2148.0557250976562,
+ "y": 2025.9168092012405,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "113eac04.d40744",
+ "type": "execute",
+ "name": "read rrmPolicyDedicatedRatio_cellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatiocellCU_old' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2608.4999866485596,
+ "y": 2132.0000787973404,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4146177c.a9f1e8",
+ "type": "block",
+ "name": "Get Cells List in TA",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 592.9999618530273,
+ "y": 877.5002336502075,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c7ce326f.111f"
+ ]
+ ]
+ },
+ {
+ "id": "c7fdb989.03f1d8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1510.9999809265137,
+ "y": 883.7502498626709,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a221419c.a4f89"
+ ]
+ ]
+ },
+ {
+ "id": "df033120.0b194",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1508.2498588562012,
+ "y": 962.7503108978271,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "69e52ce2.cd6b44"
+ ]
+ ]
+ },
+ {
+ "id": "69e52ce2.cd6b44",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1644.2496147155762,
+ "y": 1006.2503719329834,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a121602f.ed2c1",
+ "e257733.3ac959",
+ "36202bfe.91e6c4"
+ ]
+ ]
+ },
+ {
+ "id": "a121602f.ed2c1",
+ "type": "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 Obtained List of Cells from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getListofCells-cps-response._length`\"/>\n<parameter name=\"field3\" value=\"List of Cells in the Tracking Area Relevant for RAN Slice Instantiation \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1832.4995422363281,
+ "y": 937.7501150369644,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "36202bfe.91e6c4",
+ "type": "for",
+ "name": "For list of cells",
+ "xml": "<for index='idx' start='0' end='`$getListofCells-cps-response._length `' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1841.5206451416016,
+ "y": 975.4163442850113,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f2daa995.ccf808",
+ "9ed852c4.b10bf"
+ ]
+ ]
+ },
+ {
+ "id": "e257733.3ac959",
+ "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": 1812.2778625488281,
+ "y": 1022.7501302957535,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f2daa995.ccf808",
+ "type": "execute",
+ "name": "Cells in TrackingArea",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.[' + $idx + ']'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2046.520492553711,
+ "y": 925.0828787088394,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9ed852c4.b10bf",
+ "type": "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=\"`$tmp.trackingarea.cell`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1999.520492553711,
+ "y": 968.4162536859512,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a221419c.a4f89",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1660.4997100830078,
+ "y": 947.7500530481339,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3f6f57b7.940a38",
+ "4627d8f6.778418"
+ ]
+ ]
+ },
+ {
+ "id": "4627d8f6.778418",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting List of cells for the Tracking Area. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1876.9999084472656,
+ "y": 832.6111451387405,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3f6f57b7.940a38",
+ "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 Getting Info from ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1904.4995880126953,
+ "y": 887.7501302957535,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "71fa8a11.f27964",
+ "type": "for",
+ "name": "foreach TACell",
+ "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2030.833381652832,
+ "y": 1008.361206650734,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6dfddcd9.3dfe74"
+ ]
+ ]
+ },
+ {
+ "id": "2bad52cb.45a31e",
+ "type": "switchNode",
+ "name": "is cellCU applicable for NSSAI",
+ "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2511.0001068115234,
+ "y": 901.0000630617142,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2a0570e1.7b04c"
+ ]
+ ]
+ },
+ {
+ "id": "2a0570e1.7b04c",
+ "type": "outcome",
+ "name": "Applicable",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2220.75,
+ "y": 1016.4999939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c086e0db.2b74a"
+ ]
+ ]
+ },
+ {
+ "id": "6dfddcd9.3dfe74",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2256.5002517700195,
+ "y": 861.0000611543655,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2bad52cb.45a31e",
+ "1803f8c0.deeac7",
+ "dd6bcf51.4e37c"
+ ]
+ ]
+ },
+ {
+ "id": "1803f8c0.deeac7",
+ "type": "execute",
+ "name": "read Cell from getNFNSSIRIC-configdb-response",
+ "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 +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2567.000228881836,
+ "y": 806.000020980835,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dd6bcf51.4e37c",
+ "type": "execute",
+ "name": "read cellCU from getListofCells-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.[' + $id-ta + ']'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2555.0000762939453,
+ "y": 850.2500158548355,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64d19144.0eb6c",
+ "type": "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=\"RRMPolicyRatio_id is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyMember_id - \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyRatio update URL is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2553.944496154785,
+ "y": 2376.611140847206,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fbccd084.f1d7d",
+ "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": 2838.666549682617,
+ "y": 2242.4443088769913,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6fcd9fe2.31558",
+ "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": 2833.222007751465,
+ "y": 2272.444549202919,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f0cbaac9.a493b8",
+ "type": "execute",
+ "name": "read rrmPolicyMemberListLength",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyMembers' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2843.944625854492,
+ "y": 2305.7778927087784,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8f88d421.8dd488",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.CUCPName`'/>\n<parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBCUCPList.nFType' value='RRC Connected Users'/>\n ",
+ "comments": "",
+ "x": 1620.361328125,
+ "y": 2195.2227479219437,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "51a0c05e.7561a",
+ "type": "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=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"gNBCUName\"/>\n<parameter name=\"field8\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBCUCPList.gNBId`\"/>\n<parameter name=\"field11\" value=\"nFType\"/>\n<parameter name=\"field12\" value=\"`$tmp.gNBCUCPList.nFType`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1596.8611869812012,
+ "y": 2247.44432079792,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34dc53d6.b374fc",
+ "type": "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=\"Config DB update\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1591.6876678466797,
+ "y": 2154.2499161958694,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "63a80c0e.45b254",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>\n<parameter name='tmp.resourceID' value='`$tmp.cellCULocalId`'/>",
+ "comments": "",
+ "x": 2090.3128204345703,
+ "y": 2673.063262939453,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3703eec1.b83182",
+ "type": "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=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2067.5628509521484,
+ "y": 2713.035125732422,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3b328437.5c249c",
+ "type": "execute",
+ "name": "prepare resourceId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1745.2777938842773,
+ "y": 2412.2221677303314,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d419ccae.d0886",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2330.8333587646484,
+ "y": 2544.0556354522705,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2e920223.93347e"
+ ]
+ ]
+ },
+ {
+ "id": "ebeb3209.942f3",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2314.944320678711,
+ "y": 2576.2778034210205,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "9eafa3ac.e2fde"
+ ]
+ ]
+ },
+ {
+ "id": "2e920223.93347e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2473.833543777466,
+ "y": 2579.0553938150406,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "115ec44a.2d2f9c",
+ "1b539bbd.3a3ea4"
+ ]
+ ]
+ },
+ {
+ "id": "1b539bbd.3a3ea4",
+ "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": 2639.833299636841,
+ "y": 2545.0553938150406,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "115ec44a.2d2f9c",
+ "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": 2668.166763305664,
+ "y": 2577.8334118127823,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "cfbfb18b.96174",
+ "type": "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": 2643.7222442626953,
+ "y": 2609.0557647943497,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8750e0b3.dca38",
+ "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": 2741.9444122314453,
+ "y": 2635.388860344887,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9eafa3ac.e2fde",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2480.4999084472656,
+ "y": 2629.9441925287247,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "cfbfb18b.96174",
+ "8750e0b3.dca38"
+ ]
+ ]
+ },
+ {
+ "id": "4553a6ba.147f48",
+ "type": "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=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1720.7222137451172,
+ "y": 2448.3886737823486,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "44079d40.b3e3e4",
+ "type": "set",
+ "name": "Calculate maxNumberOfDRBsPerNSSAI",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />",
+ "comments": "",
+ "x": 1703.222183227539,
+ "y": 3049.666862130165,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "a7c61b4d.7c7ac8",
+ "type": "set",
+ "name": "Calculate maxNumberOfDRBsPerCUUP",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />",
+ "comments": "",
+ "x": 1712.1110382080078,
+ "y": 3084.110854744911,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "2b2dcf92.ad428",
+ "type": "set",
+ "name": "Calculate RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
+ "comments": "",
+ "x": 1663.2221755981445,
+ "y": 3155.2222534418106,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "76809bf5.5f9204",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1649.611083984375,
+ "y": 2900.4997497797012,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c91f3329.9b73d",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1658.5000762939453,
+ "y": 2936.7222286462784,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "74fa9997.55e2c8",
+ "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/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch CUUP NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1661.3890838623047,
+ "y": 2972.7222229242325,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "993dd44a.170258",
+ "type": "execute",
+ "name": "read existing rrmPolicyDedicatedRatio ",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_CUUP' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2185.4442749023438,
+ "y": 3554.944211602211,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "268bc997.735946",
+ "type": "execute",
+ "name": "read rrmPolicyMemberListLength",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyMembers-CUUP' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2186.0000762939453,
+ "y": 3754.9441620111465,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a427632f.d869c",
+ "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": 2189.055419921875,
+ "y": 3684.9443298578262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "17f442ac.e65c0d",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioList_CUUP_length' value='`$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
+ "comments": "",
+ "x": 1646.4999542236328,
+ "y": 3465.9444938898087,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "eb350ab1.e1b0a8",
+ "type": "execute",
+ "name": "read 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-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2168.2222061157227,
+ "y": 3721.6107441186905,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "28f5dfd.9a4812",
+ "type": "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=\"Config DB update\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1463.9516258239746,
+ "y": 3677.305416226387,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "50bcf572.bcf0cc",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.gNBCUUPList.gNBCUUPId' value='`$tmp.idGNBCUUPFunction`'/>\n<parameter name='tmp.gNBCUUPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n ",
+ "comments": "",
+ "x": 1488.1807479858398,
+ "y": 3711.611381649971,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "47702ad.848f4d4",
+ "type": "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=\"sNSSAI\"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field4\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field5\" value=\"gNBCUUPId\"/>\n<parameter name=\"field6\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n<parameter name=\"field7\" value=\"pLMNId\"/>\n<parameter name=\"field8\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBCUUPList.gNBId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1486.9027976989746,
+ "y": 3746.05569088459,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c914f18c.7a4f1",
+ "type": "execute",
+ "name": "prepare resourceId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1789.3612213134766,
+ "y": 3954.5631036758423,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "104eb87.a376648",
+ "type": "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=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1771.694564819336,
+ "y": 4015.062798500061,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ecfa9234.bd62b",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>\n<parameter name='tmp.resourceID' value='`$tmp.idGNBCUUPFunction`'/>",
+ "comments": "",
+ "x": 1973.3963203430176,
+ "y": 4252.291495919228,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "be212b4b.230ff8",
+ "type": "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=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1924.4236907958984,
+ "y": 4287.041496872902,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "63dc4c62.abdc64",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2220.361072540283,
+ "y": 4045.8124351501465,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "4953f72a.14a9c8"
+ ]
+ ]
+ },
+ {
+ "id": "4953f72a.14a9c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2381.61141204834,
+ "y": 4073.8124824762344,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "38e20140.f6bd9e",
+ "d1a675f6.821158"
+ ]
+ ]
+ },
+ {
+ "id": "d1a675f6.821158",
+ "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": 2568.8612308502197,
+ "y": 4053.5625425577164,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "38e20140.f6bd9e",
+ "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": 2587.1946334838867,
+ "y": 4096.340558648109,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "a466929a.a0be7",
+ "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": 2650.9722213745117,
+ "y": 4160.14579641819,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6c1fef4.a3848",
+ "type": "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": 2592.750087738037,
+ "y": 4126.312787652016,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "567bc22a.62a28c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2397.027671813965,
+ "y": 4154.70146048069,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e6c1fef4.a3848",
+ "a466929a.a0be7"
+ ]
+ ]
+ },
+ {
+ "id": "5f69d5e0.47f8bc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2220.9167671203613,
+ "y": 4089.2849082946777,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "567bc22a.62a28c"
+ ]
+ ]
+ },
+ {
+ "id": "ca950d87.43a8c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2033.4999256134033,
+ "y": 4690.944519042969,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "5df9b990.ac5c48"
+ ]
+ ]
+ },
+ {
+ "id": "5df9b990.ac5c48",
+ "type": "for",
+ "name": "foreach TACell",
+ "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2190.4722747802734,
+ "y": 4678.8892822265625,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e01310ef.1fcba"
+ ]
+ ]
+ },
+ {
+ "id": "e01310ef.1fcba",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2390.277557373047,
+ "y": 4511.69435274601,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a7867a5a.e2cb28",
+ "35c87d11.0f4cc2",
+ "bf0b6ad5.e1d028"
+ ]
+ ]
+ },
+ {
+ "id": "35c87d11.0f4cc2",
+ "type": "execute",
+ "name": "read Cell from getNFNSSIRIC-configdb-response",
+ "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-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2671.833282470703,
+ "y": 4338.027561426163,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bf0b6ad5.e1d028",
+ "type": "execute",
+ "name": "read cellCU from getListofCells-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id-ta + ']'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2675.1666107177734,
+ "y": 4379.694230675697,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a7867a5a.e2cb28",
+ "type": "switchNode",
+ "name": "is cellCU applicable for NSSAI",
+ "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2635.0553665161133,
+ "y": 4422.805630162358,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "48dc6ea1.5a081"
+ ]
+ ]
+ },
+ {
+ "id": "48dc6ea1.5a081",
+ "type": "outcome",
+ "name": "Applicable",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2872.722137451172,
+ "y": 4426.916242241859,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "43075f86.beee5"
+ ]
+ ]
+ },
+ {
+ "id": "4af7254c.0f94ec",
+ "type": "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=\"Calculated RRMPolicyRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3168.142822265625,
+ "y": 5207.643060326576,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9bbde133.9199d",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
+ "comments": "",
+ "x": 3182.428810119629,
+ "y": 5551.571227669716,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "2e984400.7745bc",
+ "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": 3689.9288177490234,
+ "y": 5576.214139580727,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "77b3e185.b47fc",
+ "type": "execute",
+ "name": "Read RRMPolicyRatioid",
+ "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-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3653.143264770508,
+ "y": 5699.785705208778,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "62f38bf.033d574",
+ "type": "execute",
+ "name": "Read RRMPolicyMembers Length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyMembersDU_Length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3658.857208251953,
+ "y": 5792.285478234291,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "55f4d449.7a769c",
+ "type": "execute",
+ "name": "set gNBDUId",
+ "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": 3825.642822265625,
+ "y": 5731.928704857826,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a0f19fe6.b3c43",
+ "type": "execute",
+ "name": "set NRCellDU",
+ "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": 3818.5,
+ "y": 5763.356927514076,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a7792ca5.50c21",
+ "type": "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=\"idNRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3149.25,
+ "y": 5439.999993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "db6539b9.fface8",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>\n<parameter name='tmp.pLMNId' value='`$tmp.payload.pLMNId`'/>\n ",
+ "comments": "",
+ "x": 2844.430934906006,
+ "y": 5775.785066723824,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "6b14b248.70683c",
+ "type": "execute",
+ "name": "prepare resourceId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2950.9305725097656,
+ "y": 6091.103967666626,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b0323c91.c5946",
+ "type": "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=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2900.3751525878906,
+ "y": 6127.714807510376,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e87c44a7.c11038",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3386.9306640625,
+ "y": 6175.159601330757,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7e25eb3c.0855f4"
+ ]
+ ]
+ },
+ {
+ "id": "7e25eb3c.0855f4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3794.4863300323486,
+ "y": 6160.937265992165,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "b4d29111.bb08b",
+ "424089a8.f09978"
+ ]
+ ]
+ },
+ {
+ "id": "424089a8.f09978",
+ "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": 3960.4860858917236,
+ "y": 6126.937265992165,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "b4d29111.bb08b",
+ "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": 3988.819549560547,
+ "y": 6159.715283989906,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "f1e8460f.026358",
+ "type": "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": 3964.375030517578,
+ "y": 6190.937636971474,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "105f5aab.bafec5",
+ "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": 4062.597198486328,
+ "y": 6217.270732522011,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "66f5530f.1d898c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3801.1526947021484,
+ "y": 6211.826064705849,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "f1e8460f.026358",
+ "105f5aab.bafec5"
+ ]
+ ]
+ },
+ {
+ "id": "1ff2b2d3.910dbd",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3418.819320678711,
+ "y": 6217.048490643501,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "66f5530f.1d898c"
+ ]
+ ]
+ },
+ {
+ "id": "5b70e245.930d4c",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>",
+ "comments": "",
+ "x": 3457.9662857055664,
+ "y": 6330.944786667824,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "a41ce1c1.99092",
+ "type": "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=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3420.2155532836914,
+ "y": 6366.916954159737,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd600a84.5b8d28",
+ "type": "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=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"GNBDUId\"/>\n<parameter name=\"field8\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"dLThptPerSlice\"/>\n<parameter name=\"field12\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field13\" value=\"uLThptPerSlice\"/>\n<parameter name=\"field14\" value=\"`$tmp.uLThptPerSlice`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2836.4858722686768,
+ "y": 5825.7844849824905,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "15c4f61a.5a5e9a",
+ "type": "execute",
+ "name": "Update RAN Inventory ConfigDB",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRANSliceInventory`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRANSliceInventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-inventory-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": 825,
+ "y": 4268.249993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a5169bf9.c22f38",
+ "cbeb3d9c.a1de7"
+ ]
+ ]
+ },
+ {
+ "id": "4c61e3ca.3e341c",
+ "type": "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=\"Update inventory in ConfigDB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 779.8055419921875,
+ "y": 3886.416729092598,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a5169bf9.c22f38",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1061.0006580352783,
+ "y": 4222.250352501869,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "b7dddebd.9dc65"
+ ]
+ ]
+ },
+ {
+ "id": "b7dddebd.9dc65",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1201.0009765625,
+ "y": 4230.250230431557,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "127c4b5b.882045",
+ "8ec8435.46a3ec"
+ ]
+ ]
+ },
+ {
+ "id": "8ec8435.46a3ec",
+ "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": 1336.0006713867188,
+ "y": 4196.361741662025,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "127c4b5b.882045",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1390.0003967285156,
+ "y": 4233.250291466713,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "c3c785b2.eac798",
+ "type": "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=\"Successfully Updated inventory\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1409.0006484985352,
+ "y": 4285.250479340553,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c61a5e2f.7dd5f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1223.000400543213,
+ "y": 4301.250235199928,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c3c785b2.eac798",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "cbeb3d9c.a1de7",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1065.0006103515625,
+ "y": 4302.249990105629,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c61a5e2f.7dd5f"
+ ]
+ ]
+ },
+ {
+ "id": "3e120068.88b83",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberOfConns`'/>",
+ "comments": "",
+ "x": 788.3333702087402,
+ "y": 3950.8333369493484,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "8666c4e7.b8a108",
+ "type": "execute",
+ "name": "prepare gNBDUList for SO callback",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.DUList.response' />\n\t<parameter name='keyName' value='gNBDUId' />\n\t<parameter name='keyValue' value=\"`$tmp.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3141.75,
+ "y": 5098.499993920326,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a69e803e.2d92c",
+ "type": "execute",
+ "name": "prepare gNBCUUPList for SO callback",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUUPList.response' />\n\t<parameter name='keyName' value='gNBCUUPId' />\n\t<parameter name='keyValue' value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1696,
+ "y": 3324.2499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2ce9fc18.f66724",
+ "type": "execute",
+ "name": "prepare gNBCUCPList for SO callback",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUCPList.response' />\n\t<parameter name='keyName' value='gNBCUName' />\n\t<parameter name='keyValue' value=\"`$tmp.CUCPName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2221,
+ "y": 1648.4999939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f6e46dad.569ee",
+ "type": "for",
+ "name": "For coverageAreaTAList",
+ "xml": "<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 440.69447326660156,
+ "y": 619.6667137145996,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "57aa9b6c.389994"
+ ]
+ ]
+ },
+ {
+ "id": "57aa9b6c.389994",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 451.8816680908203,
+ "y": 686.9892539978027,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "79f4cbb1.fae6b4",
+ "4146177c.a9f1e8",
+ "f8a02bae.043858",
+ "4c6cbf53.9e01",
+ "66242df2.a00cf4",
+ "2903995b.5e4666"
+ ]
+ ]
+ },
+ {
+ "id": "79f4cbb1.fae6b4",
+ "type": "execute",
+ "name": "read trackingArea",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.payload.trackingArea' />\n\t<parameter name='source' value=\"`'payloadJson.input.sliceProfile.coverageAreaTAList['+ $ta+']'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 678.8056716918945,
+ "y": 755.9444618225098,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f8a02bae.043858",
+ "type": "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=\"trackingArea \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.trackingArea`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 648.6944808959961,
+ "y": 814.2778062820435,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a051c642.6a7bc8",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcuup-rrm1' start='0' end='`$tmp.rrmPolicyRatio_configdb_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1559.000228881836,
+ "y": 4220.750726699829,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "78ef433c.56685c"
+ ]
+ ]
+ },
+ {
+ "id": "45595c3c.0be1a4",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatio_configdb_length' value='`$get-rrmpolicy-gNBCUCP-cps-response._length`'/>\n\n ",
+ "comments": "",
+ "x": 1804.000114440918,
+ "y": 4233.7501745224,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "78ef433c.56685c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1712.0001754760742,
+ "y": 4289.750115394592,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "71812e98.fcdd8",
+ "ecfa9234.bd62b",
+ "be212b4b.230ff8",
+ "6b9cc38e.d152bc",
+ "12eccffa.4bf35",
+ "70a4dc14.3934d4",
+ "f6199128.ad4e6"
+ ]
+ ]
+ },
+ {
+ "id": "71812e98.fcdd8",
+ "type": "set",
+ "name": "set rrmpolicyratioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'get-rrmpolicy-gNBCUCP-cps-response.['+$idcuup-rrm1+'].rrmPolicyID'`\" />\n\n ",
+ "comments": "",
+ "x": 2061.000015258789,
+ "y": 4219.750175118446,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3f144a6d.b53276",
+ "type": "set",
+ "name": "set rrmpolicyratioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'getrrmpolicyratioinfo-cps-response.['+$idcu-rrm1+'].rrmPolicyID'`\" />\n",
+ "comments": "",
+ "x": 2103.2504119873047,
+ "y": 2627.750762939453,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "139a6abb.0ab7a5",
+ "type": "set",
+ "name": "set rrmpolicyratioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'get-gNBDU-cps-response.['+$iddu-rrm1+'].rrmPolicyID'`\" />\n",
+ "comments": "",
+ "x": 3471.25040435791,
+ "y": 6293.750327706337,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "58ac14e8.eb98dc",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioConfigDB_length' value='`$getrrmpolicyratioinfo-cps-response._length`'/>\n\n ",
+ "comments": "",
+ "x": 1753.500473022461,
+ "y": 2668.2500324249268,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "bada65e4.1da208",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.rrmPolicyRatioConfigDB_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1674.500259399414,
+ "y": 2705.4722003936768,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "56e09769.d64e48"
+ ]
+ ]
+ },
+ {
+ "id": "56e09769.d64e48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1869.833480834961,
+ "y": 2702.5837745666504,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3f144a6d.b53276",
+ "63a80c0e.45b254",
+ "3703eec1.b83182",
+ "3cb5d2ed.cb76ae",
+ "d0c14773.4cae68",
+ "96d28ef5.b6083",
+ "5f353650.dbdb48"
+ ]
+ ]
+ },
+ {
+ "id": "3f889fa8.24ada",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-gNBDU-cps-response._length`'/>\n\n ",
+ "comments": "",
+ "x": 2928.111297607422,
+ "y": 6409.138879776001,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "36523ebf.3db352",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='iddu-rrm1' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2908.1114807128906,
+ "y": 6443.4734745025635,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d34bc5b5.4f74c8"
+ ]
+ ]
+ },
+ {
+ "id": "d34bc5b5.4f74c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3134.3611755371094,
+ "y": 6431.028284072876,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "139a6abb.0ab7a5",
+ "5b70e245.930d4c",
+ "a41ce1c1.99092",
+ "1486a5d2.c25d8a",
+ "8a15962e.8cfdb8",
+ "66402a68.4e3114",
+ "ab24e08f.3731"
+ ]
+ ]
+ },
+ {
+ "id": "4c6cbf53.9e01",
+ "type": "execute",
+ "name": "set params",
+ "xml": "<set>\n<parameter name='tmp.RICEntries' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 334.75,
+ "y": 1350.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "66242df2.a00cf4",
+ "type": "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=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConn for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"nearRTRICId\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"RANNFNSSI\"/>\n<parameter name=\"field12\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n<parameter name=\"field13\" value=\"NSSAI\"/>\n<parameter name=\"field14\" value=\"`$tmp.payload.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 314.75,
+ "y": 1400.7499939203262,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a55a4b1e.803eb8",
+ "type": "execute",
+ "name": "set trackingArea size",
+ "xml": "<set>\n\t<parameter name='tmp.trackingAreaListEntries' value=\"`$payloadJson.input.sliceProfile.coverageAreaTAList_length`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 497.75,
+ "y": 477.75002002716064,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a51c492.d53608",
+ "type": "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=\"Tracking Area size\"/>\n<parameter name=\"field2\" value=\"`$tmp.trackingAreaListEntries`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 439.75000762939453,
+ "y": 542.7499895095825,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a265251b.3b1538",
+ "type": "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=\"Response code\"/>\n<parameter name=\"field2\" value=\"`$error-code`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 757.5,
+ "y": 4365.249996781349,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "846f8159.327a4",
+ "type": "switchNode",
+ "name": "check status",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 782.4999961853027,
+ "y": 4418.999970436096,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "ac785715.394888",
+ "b2820735.7908a8"
+ ]
+ ]
+ },
+ {
+ "id": "ac785715.394888",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 965.5000114440918,
+ "y": 4376.000092506409,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "4802e6ae.a970c8"
+ ]
+ ]
+ },
+ {
+ "id": "b2820735.7908a8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 981.4999961853027,
+ "y": 4427.999970436096,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e58ace3e.2f1b1"
+ ]
+ ]
+ },
+ {
+ "id": "4802e6ae.a970c8",
+ "type": "set",
+ "name": "status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+ "comments": "",
+ "x": 1141.5000114440918,
+ "y": 4379.000245094299,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "e58ace3e.2f1b1",
+ "type": "set",
+ "name": "failure status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+ "comments": "",
+ "x": 1142.4999961853027,
+ "y": 4422.999970436096,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3aa7172f.242b68",
+ "type": "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=\"Response code\"/>\n<parameter name=\"field2\" value=\"`$error-code`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4727.000240325928,
+ "y": 2630.749999165535,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34f9cdd8.73fce2",
+ "type": "switchNode",
+ "name": "check status",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4743.000240325928,
+ "y": 2686.499999165535,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "459b0098.461f9",
+ "187e33d5.1a66bc"
+ ]
+ ]
+ },
+ {
+ "id": "459b0098.461f9",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4914.000011444092,
+ "y": 2558.5000925064087,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "8634cbef.264748"
+ ]
+ ]
+ },
+ {
+ "id": "8634cbef.264748",
+ "type": "set",
+ "name": "status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+ "comments": "",
+ "x": 5090.000011444092,
+ "y": 2561.5002450942993,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "7453f370.845fcc",
+ "type": "set",
+ "name": "failure status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+ "comments": "",
+ "x": 5090.999996185303,
+ "y": 2605.499970436096,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "187e33d5.1a66bc",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4929.999996185303,
+ "y": 2610.499970436096,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7453f370.845fcc"
+ ]
+ ]
+ },
+ {
+ "id": "db0a0ae7.99aea8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 431.99993896484375,
+ "y": 356.850736618042,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d19fd8fc.d53d88",
+ "24900504.6e385a",
+ "660f3126.9b1d7",
+ "a98eddd6.7a026"
+ ]
+ ]
+ },
+ {
+ "id": "d19fd8fc.d53d88",
+ "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=\"`$prop.rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 776.5000534057617,
+ "y": 272.7499942779541,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "24900504.6e385a",
+ "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": 694.5000762939453,
+ "y": 312.7500009536743,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "660f3126.9b1d7",
+ "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.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": 715.5000457763672,
+ "y": 351.75000190734863,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a98eddd6.7a026",
+ "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=\"GET\"/>\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": 726.5000381469727,
+ "y": 394.74999141693115,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "b60cc8f3.647b08",
+ "6493baf6.beacb4"
+ ]
+ ]
+ },
+ {
+ "id": "b60cc8f3.647b08",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 973.5000381469727,
+ "y": 379.74999141693115,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "4d205b40.316074"
+ ]
+ ]
+ },
+ {
+ "id": "6493baf6.beacb4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 963.0001792907715,
+ "y": 431.24994945526123,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "4fe45ecd.5f733"
+ ]
+ ]
+ },
+ {
+ "id": "4d205b40.316074",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1132.2501182556152,
+ "y": 353.7500629425049,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3b9c8473.75655c",
+ "479d909e.4559c"
+ ]
+ ]
+ },
+ {
+ "id": "4fe45ecd.5f733",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1135.9999809265137,
+ "y": 420.2500219345093,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7bdcb81f.ccd468",
+ "b98f07f3.e4a838"
+ ]
+ ]
+ },
+ {
+ "id": "3b9c8473.75655c",
+ "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": 1304.999755859375,
+ "y": 366.3610887527466,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "7bdcb81f.ccd468",
+ "type": "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 Obtained NearRT RIC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1336.7497100830078,
+ "y": 420.0000467300415,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b98f07f3.e4a838",
+ "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": 1372.5279235839844,
+ "y": 463.25005531311035,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7158a43e.6416cc",
+ "type": "execute",
+ "name": "generate getListOfCells 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.getListOfCells.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$cavsta.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1176.8055267333984,
+ "y": 760.0277919769287,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6f0c824.c84d28",
+ "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.getListOfCells.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getListOfCells.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-cells-list`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1163.437484741211,
+ "y": 799.750020980835,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d5456a86.055578",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get List of cells of TAC\"/>\n<parameter name='field2' value=\"`$tmp.cps.getListOfCells.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1194.687484741211,
+ "y": 841.000020980835,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "25e7562d.7ff36a",
+ "type": "execute",
+ "name": "Get ListOfCells for TrackingArea",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getListOfCells.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-cells-list.json'`\" />\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getListofCells-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1195.9375,
+ "y": 883.5000343322754,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "df033120.0b194",
+ "c7fdb989.03f1d8"
+ ]
+ ]
+ },
+ {
+ "id": "c7ce326f.111f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 892.1875,
+ "y": 870.687520980835,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "7158a43e.6416cc",
+ "e6f0c824.c84d28",
+ "d5456a86.055578",
+ "25e7562d.7ff36a"
+ ]
+ ]
+ },
+ {
+ "id": "8b33f4d.cc63408",
+ "type": "switchNode",
+ "name": "cps deployed",
+ "xml": "<switch test='`$prop.cps-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 698.2500152587891,
+ "y": 1361.1875249147415,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "11d92210.21aece",
+ "14b594eb.0ddf2b"
+ ]
+ ]
+ },
+ {
+ "id": "14b594eb.0ddf2b",
+ "type": "outcome",
+ "name": "CPS Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 879.5,
+ "y": 1383.6875268220901,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2f57e3e.e4c1b1c"
+ ]
+ ]
+ },
+ {
+ "id": "2f57e3e.e4c1b1c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1078.7708892822266,
+ "y": 1378.5973473787308,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d5b51ace.ffe998",
+ "e62c2882.df2d08",
+ "e4ca3d86.7fbb7",
+ "72fbcd46.9a9074"
+ ]
+ ]
+ },
+ {
+ "id": "11d92210.21aece",
+ "type": "outcome",
+ "name": "ConfigDB Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 890.7500152587891,
+ "y": 1318.6875249147415,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c02441a6.5003c"
+ ]
+ ]
+ },
+ {
+ "id": "c02441a6.5003c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1090.7500305175781,
+ "y": 1306.1875258684158,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d41ea7d7.e32d38"
+ ]
+ ]
+ },
+ {
+ "id": "72fbcd46.9a9074",
+ "type": "execute",
+ "name": "Update nearRT RIC Details in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updatenearRTRIC.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps.put-nearrtric.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"modify-allocate-nearRTRIC-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": 1324.5000381469727,
+ "y": 1456.1876202821732,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "32e44f99.1e657",
+ "9c8b7e53.bb44"
+ ]
+ ]
+ },
+ {
+ "id": "d5b51ace.ffe998",
+ "type": "execute",
+ "name": "generate update NearRTRIC 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.updatenearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1307.0000076293945,
+ "y": 1327.437589764595,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e62c2882.df2d08",
+ "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.updatenearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updatenearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nearrtric`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1293.631965637207,
+ "y": 1367.1598187685013,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e4ca3d86.7fbb7",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update NearRTRIC in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updatenearRTRIC.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1324.881965637207,
+ "y": 1408.4098187685013,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6d0e06f9.40bb58",
+ "type": "execute",
+ "name": "generate update 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.updateCUCP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2037.777816772461,
+ "y": 2212.7221660614014,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d9965b25.bd6718",
+ "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.updateCUCP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateCUCP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-gnbcucpfunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2024.4097747802734,
+ "y": 2252.4443950653076,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3981bf1a.f9efb",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUCP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateCUCP.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2055.6597747802734,
+ "y": 2293.6943950653076,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4fa16b60.1e5d54",
+ "type": "execute",
+ "name": "Update cellCU for gNBCUCP in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcucpfunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-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": 2063.888931274414,
+ "y": 2333.8333797454834,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "92ca3817.cb4e68",
+ "deee5e5b.eab8c"
+ ]
+ ]
+ },
+ {
+ "id": "d5b4aac3.9ea238",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1532.7988739013672,
+ "y": 3814.35484790802,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "24ce5ade.6eeee6",
+ "c2d46ef3.8fef9",
+ "bba732bb.bf442",
+ "47266fa.fd99d9"
+ ]
+ ]
+ },
+ {
+ "id": "24ce5ade.6eeee6",
+ "type": "execute",
+ "name": "generate update 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.updateCUUP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1816.166748046875,
+ "y": 3750.9443370103836,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c2d46ef3.8fef9",
+ "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.updateCUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateCUUP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-gnbcuupfunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1810.5761032104492,
+ "y": 3786.222549557686,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bba732bb.bf442",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUUP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateCUUP.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1832.9373779296875,
+ "y": 3824.1388446092606,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "47266fa.fd99d9",
+ "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.updateCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcuupfunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-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": 1847.8333435058594,
+ "y": 3862.0555535554886,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "1538fb5f.4f3bb5",
+ "ddfd7b68.8530b8"
+ ]
+ ]
+ },
+ {
+ "id": "2afc55d4.0fdf1a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3043.4101943969727,
+ "y": 5886.131675720215,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "223d9167.c3a9be",
+ "b6c065e1.ffe978",
+ "8918e03c.41a4f",
+ "b5d14914.5dd4b8"
+ ]
+ ]
+ },
+ {
+ "id": "223d9167.c3a9be",
+ "type": "execute",
+ "name": "generate update 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.updateDU.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3358.6668090820312,
+ "y": 5795.388969540596,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b6c065e1.ffe978",
+ "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.updateDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateDU.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-gnbdufunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3375.29825592041,
+ "y": 5831.777155041695,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8918e03c.41a4f",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUCP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateDU.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3369.881790161133,
+ "y": 5876.360839962959,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b5d14914.5dd4b8",
+ "type": "execute",
+ "name": "Update cellCU for gNBCUCP in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbdufunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-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": 3373.6667098999023,
+ "y": 5928.721833348274,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "67aafde3.1e6b44",
+ "cb54d9cb.7a7378"
+ ]
+ ]
+ },
+ {
+ "id": "27a58a37.b0d516",
+ "type": "switchNode",
+ "name": "cps deployed",
+ "xml": "<switch test='`$prop.cps-deployed`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 546.4444351196289,
+ "y": 4086.9166766405106,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "12a4ac70.2f1874",
+ "3d39115f.5dfd7e"
+ ]
+ ]
+ },
+ {
+ "id": "3d39115f.5dfd7e",
+ "type": "outcome",
+ "name": "CPS Deployed",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 700.4723587036133,
+ "y": 4050.11095058918,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "3cbc984d.036028"
+ ]
+ ]
+ },
+ {
+ "id": "3cbc984d.036028",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 838.9100494384766,
+ "y": 4120.5766488313675,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "2c55de4f.66c952",
+ "bb0d930c.3eef2",
+ "d03ef48e.fda598",
+ "2db70a8d.dafa36"
+ ]
+ ]
+ },
+ {
+ "id": "19b8f831.612ad8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 877.277717590332,
+ "y": 4189.2784959077835,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "15c4f61a.5a5e9a"
+ ]
+ ]
+ },
+ {
+ "id": "12a4ac70.2f1874",
+ "type": "outcome",
+ "name": "ConfigDB Deployed",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 687.2779846191406,
+ "y": 4185.111073613167,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "19b8f831.612ad8"
+ ]
+ ]
+ },
+ {
+ "id": "2c55de4f.66c952",
+ "type": "execute",
+ "name": "generate update 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.updateInventory.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$inventory.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1094.8125076293945,
+ "y": 4037.4376088380814,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bb0d930c.3eef2",
+ "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.updateInventory.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateInventory.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.update-ran-inventory`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1085.194465637207,
+ "y": 4074.6602054834366,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d03ef48e.fda598",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update inventory in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateInventory.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1110.1945266723633,
+ "y": 4120.910205960274,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2db70a8d.dafa36",
+ "type": "execute",
+ "name": "Update inventory in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateInventory.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-update-ran-inventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-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": 1107.3125228881836,
+ "y": 4166.187612652779,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "a5169bf9.c22f38",
+ "cbeb3d9c.a1de7"
+ ]
+ ]
+ },
+ {
+ "id": "4eb1dd56.c808d4",
+ "type": "execute",
+ "name": "generate getRRMPolicyRatio 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.getCUCP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1847.0001068115234,
+ "y": 2515.750823736191,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "87a7e402.af5cf8",
+ "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.getCUCP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getCUCP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nrcellcu-rrm-policy`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1797.6322174072266,
+ "y": 2552.4722900390625,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3c6081eb.b1579e",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get rrm policy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.getCUCP.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1830.8821258544922,
+ "y": 2591.7223834991455,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1fcbf748.f9d299",
+ "type": "execute",
+ "name": "Get rrmPolicy by resourceid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.getCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nrcellcu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfo-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1826.25,
+ "y": 2625.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "d419ccae.d0886",
+ "ebeb3209.942f3"
+ ]
+ ]
+ },
+ {
+ "id": "55fa16ed.4ce918",
+ "type": "comment",
+ "name": "CPS",
+ "info": "",
+ "comments": "",
+ "x": 1640.2500457763672,
+ "y": 2515.750062942505,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "3cb5d2ed.cb76ae",
+ "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=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2133.25,
+ "y": 2748.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0c14773.4cae68",
+ "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": 2085.882080078125,
+ "y": 2782.471649169922,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "96d28ef5.b6083",
+ "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.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": 2117.1320190429688,
+ "y": 2813.7217712402344,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f353650.dbdb48",
+ "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/put-nrcellcu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\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": 2168.25,
+ "y": 2846.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "c3541b36.ca9228",
+ "2b0ff9fe.3fd566"
+ ]
+ ]
+ },
+ {
+ "id": "cf30b6e4.307858",
+ "type": "comment",
+ "name": "CPS",
+ "info": "",
+ "comments": "",
+ "x": 1944.25,
+ "y": 2756.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "87a1a22f.c133b",
+ "type": "execute",
+ "name": "generate getRRMPolicyRatio 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.getCUUP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1863.75,
+ "y": 4083.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "908953b0.a03cd",
+ "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.getCUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getCUUP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-cuup-rrm-policy`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1858.1593551635742,
+ "y": 4119.028212547302,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "37b9229.a3546de",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get CUUP-rrmolicy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.getCUUP.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1880.5206298828125,
+ "y": 4156.944507598877,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "295de976.356436",
+ "type": "execute",
+ "name": "get RRMPolicy for gNBCUUP in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.getCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/get-cuup-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicy-gNBCUCP-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": 1895.4165954589844,
+ "y": 4194.861216545105,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "63dc4c62.abdc64",
+ "5f69d5e0.47f8bc"
+ ]
+ ]
+ },
+ {
+ "id": "85df0b60.6ceb28",
+ "type": "comment",
+ "name": "CPS",
+ "info": "",
+ "comments": "",
+ "x": 1668.25,
+ "y": 4076.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "6b9cc38e.d152bc",
+ "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=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2066.25,
+ "y": 4364.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "12eccffa.4bf35",
+ "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": 2060.659355163574,
+ "y": 4400.028212547302,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "70a4dc14.3934d4",
+ "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.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": 2083.0206298828125,
+ "y": 4437.944507598877,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f6199128.ad4e6",
+ "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/put-cuup-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-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": 2097.9165954589844,
+ "y": 4475.861216545105,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "cafa563f.803a28",
+ "1368906b.b985c"
+ ]
+ ]
+ },
+ {
+ "id": "284e755e.bea78a",
+ "type": "comment",
+ "name": "CPS",
+ "info": "",
+ "comments": "",
+ "x": 1813,
+ "y": 4341.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": []
+ },
+ {
+ "id": "cc745824.7b3288",
+ "type": "execute",
+ "name": "generate getRRMPolicyRatio 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.getDU.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2941.25,
+ "y": 6229.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "556e9c3.d416364",
+ "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.getDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getDU.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nrcelldu-rrm-policy`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2935.659355163574,
+ "y": 6265.028212547302,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c8a9b003.4e213",
+ "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.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get DU-rrmolicy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.getDU.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2958.0206298828125,
+ "y": 6302.944507598877,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34c419f3.4189d6",
+ "type": "execute",
+ "name": "get 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.getDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/get-nrcelldu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"get-gNBDU-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": 2972.9165954589844,
+ "y": 6340.861216545105,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "e87c44a7.c11038",
+ "1ff2b2d3.910dbd"
+ ]
+ ]
+ },
+ {
+ "id": "1486a5d2.c25d8a",
+ "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=\"`$rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3429.25,
+ "y": 6470.75,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a15962e.8cfdb8",
+ "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": 3423.659355163574,
+ "y": 6506.028212547302,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "66402a68.4e3114",
+ "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.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": 3446.0206298828125,
+ "y": 6543.944507598877,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ab24e08f.3731",
+ "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/put-nrcelldu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-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": 3460.9165954589844,
+ "y": 6581.861216545105,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "9f649d76.9ec46",
+ "40529f96.2b4fa"
+ ]
+ ]
+ },
+ {
+ "id": "ee277e46.997ce",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1686.000015258789,
+ "y": 2310.7499980926514,
+ "z": "4d6578c4.6dc8b8",
+ "wires": [
+ [
+ "6d0e06f9.40bb58",
+ "d9965b25.bd6718",
+ "3981bf1a.f9efb",
+ "4fa16b60.1e5d54"
+ ]
+ ]
+ }
+] \ No newline at end of file