diff options
Diffstat (limited to 'platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json')
-rw-r--r-- | platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json | 5724 |
1 files changed, 3823 insertions, 1901 deletions
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json index 2d7a7cc8..046c963f 100644 --- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json @@ -1,20 +1,20 @@ [ { - "id": "307f33c6.dd742c", + "id": "cdce3934.f2aa38", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 417.8125, - "y": 157.8125, - "z": "7108e868.a979d8", + "x": 215.27777099609375, + "y": 114.74999332427979, + "z": "ecab9296.c8bb5", "wires": [ [ - "fa0eeda0.c794f" + "ffd03bbd.6b30f8" ] ] }, { - "id": "fa0eeda0.c794f", + "id": "ffd03bbd.6b30f8", "type": "service-logic", "name": "ran-slice-api ${project.version}", "module": "ran-slice-api", @@ -22,5324 +22,7246 @@ "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": 502.8125228881836, - "y": 224.81246948242188, - "z": "7108e868.a979d8", + "x": 300.27779388427734, + "y": 181.74996280670166, + "z": "ecab9296.c8bb5", "wires": [ [ - "93c2d6b3.d318c8" + "2dcf0e40.745bf2" ] ] }, { - "id": "93c2d6b3.d318c8", + "id": "2dcf0e40.745bf2", "type": "method", "name": "method", "xml": "<method rpc='instantiateRANSliceModifyAllocate' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 436.8125, - "y": 284.8124351501465, - "z": "7108e868.a979d8", + "x": 234.27777099609375, + "y": 241.74992847442627, + "z": "ecab9296.c8bb5", "wires": [ [ - "d3c9dd74.37db6" + "3c5a09dd.4e50a6" ] ] }, { - "id": "d3c9dd74.37db6", + "id": "3c5a09dd.4e50a6", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 432.81249237060547, - "y": 345.8124713897705, - "z": "7108e868.a979d8", + "x": 230.27776336669922, + "y": 302.7499647140503, + "z": "ecab9296.c8bb5", "wires": [ [ - "164712ad.822b9d", - "80dd96ef.ed69b8", - "134f1599.6c4a8a", - "f0e433f3.dc406" + "a604076f.7c0c88", + "df01ad79.7438a", + "1801c640.1eb6aa", + "ed3c9a78.956f38", + "51b41b66.216574", + "ade269f7.3d78c8", + "d0d24863.8121f8" ] ] }, { - "id": "164712ad.822b9d", + "id": "a604076f.7c0c88", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 690.8124847412109, - "y": 347.81249237060547, - "z": "7108e868.a979d8", + "x": 488.2777557373047, + "y": 304.74998569488525, + "z": "ecab9296.c8bb5", "wires": [ [ - "d71a2225.52045", - "836a2684.eb82f8", - "85517da2.bd54b" + "1ea6b30a.d33abd", + "eb434aa7.d801d8", + "3d6aa191.e0db3e", + "2fed7838.3e4478", + "ea194ca9.b5136", + "38665c6f.b68994" ] ] }, { - "id": "d71a2225.52045", + "id": "1ea6b30a.d33abd", "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.configdb.getNearRTRICByNSSI`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.RANNFNSSIId`\"/>", "comments": "", "outputs": 1, - "x": 1022.8124847412109, - "y": 345.81249237060547, - "z": "7108e868.a979d8", + "x": 832.7777709960938, + "y": 257.7500066757202, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "836a2684.eb82f8", + "id": "eb434aa7.d801d8", "type": "record", "name": "record configdb 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 configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$tmp.payload.RANNFNSSIId`\" />", "comments": "", "outputs": 1, - "x": 976.8124847412109, - "y": 416.81249237060547, - "z": "7108e868.a979d8", + "x": 791.7777786254883, + "y": 297.49999141693115, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "85517da2.bd54b", + "id": "3d6aa191.e0db3e", "type": "execute", "name": "Get nearRTRIC for RANNFNSSIId", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-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": 977.8125457763672, - "y": 477.81251525878906, - "z": "7108e868.a979d8", + "x": 802.7778472900391, + "y": 340.99999713897705, + "z": "ecab9296.c8bb5", "wires": [ [ - "4d4a9497.964e7c", - "7a7fe81.59f6a18" + "41141f2f.3a29e", + "f867a9f7.6835f8" ] ] }, { - "id": "4d4a9497.964e7c", + "id": "41141f2f.3a29e", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1255.6305885314941, - "y": 572.6305503845215, - "z": "7108e868.a979d8", + "x": 1053.0960083007812, + "y": 369.5680932998657, + "z": "ecab9296.c8bb5", "wires": [ [ - "99314aa2.bc5dc8" + "30af1a9a.7284f6" ] ] }, { - "id": "99314aa2.bc5dc8", + "id": "30af1a9a.7284f6", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1433.6304454803467, - "y": 571.6306915283203, - "z": "7108e868.a979d8", + "x": 1226.0958099365234, + "y": 358.56816577911377, + "z": "ecab9296.c8bb5", "wires": [ [ - "fef1db8.1964128", - "48780fbe.03af7" + "23c782a5.d5b7fe", + "20106467.d1db5c" ] ] }, { - "id": "fef1db8.1964128", + "id": "23c782a5.d5b7fe", "type": "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 ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>", "comments": "", "outputs": 1, - "x": 1595.6302490234375, - "y": 567.6306762695312, - "z": "7108e868.a979d8", + "x": 1426.8455390930176, + "y": 358.318190574646, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "48780fbe.03af7", + "id": "20106467.d1db5c", "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": 1586.4084930419922, - "y": 634.6306686401367, - "z": "7108e868.a979d8", + "x": 1462.6237525939941, + "y": 401.56819915771484, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "7a7fe81.59f6a18", + "id": "f867a9f7.6835f8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1278.630573272705, - "y": 473.63065814971924, - "z": "7108e868.a979d8", + "x": 1063.5958671569824, + "y": 318.06813526153564, + "z": "ecab9296.c8bb5", "wires": [ [ - "e008015f.cfa71" + "9ee1ca8d.8df468" ] ] }, { - "id": "e008015f.cfa71", + "id": "9ee1ca8d.8df468", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 1483.630615234375, - "y": 422.63069915771484, - "z": "7108e868.a979d8", + "x": 1222.345947265625, + "y": 292.0682067871094, + "z": "ecab9296.c8bb5", "wires": [ [ - "849418c6.f295c8", - "ef5706f3.674e08" + "fd49cb37.a1ec88", + "dd5a532a.31de7" ] ] }, { - "id": "849418c6.f295c8", + "id": "fd49cb37.a1ec88", "type": "set", "name": "set", "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>", "comments": "", - "x": 1597.630313873291, - "y": 347.7417392730713, - "z": "7108e868.a979d8", + "x": 1395.0955848693848, + "y": 304.6792325973511, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "80dd96ef.ed69b8", + "id": "df01ad79.7438a", "type": "for", "name": "foreach NearRTRIC", "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n", "comments": "", "outputs": 1, - "x": 589.8125, - "y": 981.6306762695312, - "z": "7108e868.a979d8", + "x": 357.2778091430664, + "y": 1403.5682625174522, + "z": "ecab9296.c8bb5", "wires": [ [ - "1ef3c9dc.82ed86", - "6c5cf2d1.84abec", - "d086944b.c66398", - "4e830c1f.7bebc4" + "fd4b53be.08fe7", + "792d179c.cbe1f8", + "eda7021e.42543", + "ea01a433.33d248", + "7d0cab41.5d62e4", + "759313f.9d96dec", + "b2bbe86b.51d5b8" ] ] }, { - "id": "1ef3c9dc.82ed86", + "id": "fd4b53be.08fe7", "type": "block", "name": "Process NearRTRIC", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 883.7215576171875, - "y": 975.539794921875, - "z": "7108e868.a979d8", + "x": 683.1868362426758, + "y": 1197.4773273468018, + "z": "ecab9296.c8bb5", "wires": [ [ - "1c2d7304.ea98cd", - "d2bc2ba0.f263f8", - "1d207fa8.45607", - "38089fef.f14fa", - "dbf7b9fd.e29e98", - "bc8d47bf.d46a68" + "bcd60b3d.7cf3b8", + "946fa1ac.5143f", + "321a0c36.154ba4", + "a3aa3e0c.1bd7", + "ef603cfd.b12c2", + "b84025f8.34bc78" ] ] }, { - "id": "1c2d7304.ea98cd", + "id": "bcd60b3d.7cf3b8", "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": 1344.3579559326172, - "y": 942.5398120880127, - "z": "7108e868.a979d8", + "x": 1136.8232879638672, + "y": 1028.4772987365723, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "d2bc2ba0.f263f8", + "id": "946fa1ac.5143f", "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": 1321.3579444885254, - "y": 1003.5398387908936, - "z": "7108e868.a979d8", + "x": 1107.8232727050781, + "y": 1071.4773597717285, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "1d207fa8.45607", + "id": "321a0c36.154ba4", "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": 1502.7216186523438, - "y": 1127.3579711914062, - "z": "7108e868.a979d8", + "x": 1238.1869049072266, + "y": 1146.295461654663, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "38089fef.f14fa", + "id": "a3aa3e0c.1bd7", "type": "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": 1326.630615234375, - "y": 1190.3580322265625, - "z": "7108e868.a979d8", + "x": 1084.0959014892578, + "y": 1187.2955379486084, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "dbf7b9fd.e29e98", + "id": "ef603cfd.b12c2", "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": 1422.6306762695312, - "y": 1237.26708984375, - "z": "7108e868.a979d8", + "x": 1190.0959930419922, + "y": 1233.204626083374, + "z": "ecab9296.c8bb5", "wires": [ [ - "6ed5711a.e5781", - "8ca4207e.7575c" + "85a5cf93.5a30a", + "39b8aa37.8591b6" ] ] }, { - "id": "6ed5711a.e5781", + "id": "85a5cf93.5a30a", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1748.630615234375, - "y": 1201.0851440429688, - "z": "7108e868.a979d8", + "x": 1546.0958862304688, + "y": 1158.0226373672485, + "z": "ecab9296.c8bb5", "wires": [ [ - "c7d74ae6.23d9c8" + "9ff7d9ea.c447a8" ] ] }, { - "id": "c7d74ae6.23d9c8", + "id": "9ff7d9ea.c447a8", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 1880.6307373046875, - "y": 1163.0851440429688, - "z": "7108e868.a979d8", + "x": 1678.0960083007812, + "y": 1120.0226373672485, + "z": "ecab9296.c8bb5", "wires": [ [ - "d8421ee9.0c90f", - "6be76b86.5e2224" + "aa0fd77a.778858", + "88e8c925.ecbbd8" ] ] }, { - "id": "6be76b86.5e2224", + "id": "88e8c925.ecbbd8", "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": 2069.6304931640625, - "y": 1110.1961669921875, - "z": "7108e868.a979d8", + "x": 1867.0957641601562, + "y": 1067.1336603164673, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "d8421ee9.0c90f", + "id": "aa0fd77a.778858", "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": 2077.6304931640625, - "y": 1210.085205078125, - "z": "7108e868.a979d8", + "x": 1875.0957641601562, + "y": 1167.0226984024048, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "8ca4207e.7575c", + "id": "39b8aa37.8591b6", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1746.44873046875, - "y": 1300.9942626953125, - "z": "7108e868.a979d8", + "x": 1543.9140014648438, + "y": 1257.9317560195923, + "z": "ecab9296.c8bb5", "wires": [ [ - "56064406.6a9b3c" + "c50b6ead.b3a8f" ] ] }, { - "id": "56064406.6a9b3c", + "id": "c50b6ead.b3a8f", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1910.4486083984375, - "y": 1301.994384765625, - "z": "7108e868.a979d8", + "x": 1707.9138793945312, + "y": 1258.9318780899048, + "z": "ecab9296.c8bb5", "wires": [ [ - "f7fc925a.c53a3" + "86bd14f4.969ee8" ] ] }, { - "id": "f7fc925a.c53a3", + "id": "86bd14f4.969ee8", "type": "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": 2060.4486083984375, - "y": 1296.9945068359375, - "z": "7108e868.a979d8", + "x": 1857.9138793945312, + "y": 1253.9320001602173, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "bc8d47bf.d46a68", + "id": "b84025f8.34bc78", "type": "execute", - "name": "ranNFNSSIListEntry", - "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value=\"`$payloadJson.input.RANNFNSSIId`\"/>", + "name": "set params", + "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name='tmp.payload.pLMNId' value=\"`$tmp.pLMNId`\"/>", "comments": "", "outputs": 1, - "x": 1370.8125, - "y": 1060.8125, - "z": "7108e868.a979d8", + "x": 1140.2777862548828, + "y": 1109.750020980835, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "b8a93326.20b78", + "id": "f4fee64.5630718", "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": 1263.8125, - "y": 1344.8125, - "z": "7108e868.a979d8", + "x": 1061.2777709960938, + "y": 1301.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "6c5cf2d1.84abec", + "id": "792d179c.cbe1f8", "type": "block", "name": "Process CUCP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 863.8125, - "y": 1328.8125, - "z": "7108e868.a979d8", + "x": 661.2777709960938, + "y": 1285.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "b8a93326.20b78", - "bafd24dc.562168", - "ed358e77.3b307" + "f4fee64.5630718", + "b895d39e.358cc", + "9a95f4b6.c00a88" ] ] }, { - "id": "bafd24dc.562168", + "id": "b895d39e.358cc", "type": "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": 1235.8125, - "y": 1409.8125, - "z": "7108e868.a979d8", + "x": 1033.2777709960938, + "y": 1366.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "ed358e77.3b307", + "id": "9a95f4b6.c00a88", "type": "for", "name": "foreach CUCP", "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n", "comments": "", "outputs": 1, - "x": 1263.8125, - "y": 1484.8125, - "z": "7108e868.a979d8", + "x": 1061.2777709960938, + "y": 1441.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "aa9d51fb.0103c" + "4a8ecad1.d36ae4" ] ] }, { - "id": "aa9d51fb.0103c", + "id": "4a8ecad1.d36ae4", "type": "block", "name": "block : process CUCP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1484.8125, - "y": 1491.8125, - "z": "7108e868.a979d8", + "x": 1282.2777709960938, + "y": 1448.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "cf612911.c44998", - "c906a35a.2ccc5", - "ed66efa7.cab5c", - "f042d642.d93388" + "41f7da9.0438224", + "111964c0.00cfab", + "e128ba2b.0271c8", + "8889a908.a7eeb8" ] ] }, { - "id": "cf612911.c44998", + "id": "41f7da9.0438224", "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": 1835.8125, - "y": 1344.8125, - "z": "7108e868.a979d8", + "x": 1633.2777709960938, + "y": 1301.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "c906a35a.2ccc5", + "id": "111964c0.00cfab", "type": "for", "name": "for cellCUList", "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n", "comments": "", "outputs": 1, - "x": 1839.8125, - "y": 1488.8125, - "z": "7108e868.a979d8", + "x": 1637.2777709960938, + "y": 1445.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "2367fdf7.13e052" + "a7b5e345.afac6" ] ] }, { - "id": "a59b3348.53d8e", - "type": "execute", - "name": "read cellCU", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />", - "comments": "", - "outputs": 1, - "x": 2543.8125, - "y": 1258.8125, - "z": "7108e868.a979d8", - "wires": [ - [] - ] - }, - { - "id": "eb810d0e.4dd5d", + "id": "33dfc44e.7fcfec", "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": 2488.8125, - "y": 1512.8125, - "z": "7108e868.a979d8", + "x": 2286.2777709960938, + "y": 1469.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "58b9362d.eda568", + "id": "a0230d06.2b562", "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": 2522.8126068115234, - "y": 1641.8124732971191, - "z": "7108e868.a979d8", + "x": 2315.277786254883, + "y": 1544.7500414848328, + "z": "ecab9296.c8bb5", "wires": [ [ - "91d2ca4f.cc02a8", - "2a6ef5af.0afada" + "1611afed.23ffc", + "c6160ccd.43539" ] ] }, { - "id": "bb2b6a10.6ae608", + "id": "6822adf8.543824", "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": 2482.8125, - "y": 1578.8125, - "z": "7108e868.a979d8", + "x": 2280.2778549194336, + "y": 1506.750102519989, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "d5711de.7d20ee", + "id": "882e7a80.d74e58", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2353.8125, - "y": 1095.8125, - "z": "7108e868.a979d8", + "x": 2151.2777709960938, + "y": 1052.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "a59b3348.53d8e", - "eb810d0e.4dd5d", - "bb2b6a10.6ae608", - "58b9362d.eda568", - "1f2cbe8.ab92042", - "2fa14d3.a7367b2", - "3c40ea7f.5428a6", - "6cc8a38.caae65c", - "1df8c261.39d8be", - "8dd84100.059ce", - "d05460e1.aaaa4" + "33dfc44e.7fcfec", + "6822adf8.543824", + "a0230d06.2b562", + "4724cb0f.9daf64", + "19e0241b.9cd70c", + "edb92967.0e18f8", + "a7b6d79c.8829b8", + "8901584a.ca65c8", + "52873cd.a7928c4", + "e6011289.53a58", + "2cf8049f.4b337c" ] ] }, { - "id": "91d2ca4f.cc02a8", + "id": "1611afed.23ffc", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2773.812614440918, - "y": 1637.8127174377441, - "z": "7108e868.a979d8", + "x": 2571.2778854370117, + "y": 1594.750210762024, + "z": "ecab9296.c8bb5", "wires": [ [ - "13392720.662ca9" + "8555826b.8073e" ] ] }, { - "id": "13392720.662ca9", + "id": "8555826b.8073e", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2946.812400817871, - "y": 1636.8127784729004, - "z": "7108e868.a979d8", + "x": 2744.277671813965, + "y": 1593.7502717971802, + "z": "ecab9296.c8bb5", "wires": [ [ - "ee4d18d9.5f1cd8" + "25c76a36.46adf6" ] ] }, { - "id": "ee4d18d9.5f1cd8", + "id": "25c76a36.46adf6", "type": "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": 3144.8124618530273, - "y": 1633.812900543213, - "z": "7108e868.a979d8", + "x": 2942.277732849121, + "y": 1590.7503938674927, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "2a6ef5af.0afada", + "id": "c6160ccd.43539", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2738.81258392334, - "y": 1520.8124732971191, - "z": "7108e868.a979d8", + "x": 2536.2778549194336, + "y": 1477.749966621399, + "z": "ecab9296.c8bb5", "wires": [ [ - "a4b20ac1.7e5948" + "a2dd1082.75323" ] ] }, { - "id": "a4b20ac1.7e5948", + "id": "a2dd1082.75323", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2888.812858581543, - "y": 1479.812656402588, - "z": "7108e868.a979d8", + "x": 2686.2781295776367, + "y": 1436.7501497268677, + "z": "ecab9296.c8bb5", "wires": [ [ - "9879822d.b1fa8", - "6a5df2ad.c26a0c", - "ef5706f3.674e08" + "93c97fee.70da5", + "539fbec5.c3f24", + "dd5a532a.31de7" ] ] }, { - "id": "9879822d.b1fa8", + "id": "93c97fee.70da5", "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": 3059.8124923706055, - "y": 1540.8127174377441, - "z": "7108e868.a979d8", + "x": 2857.277763366699, + "y": 1497.750210762024, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "6a5df2ad.c26a0c", + "id": "539fbec5.c3f24", "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": 3054.812614440918, - "y": 1445.812656402588, - "z": "7108e868.a979d8", + "x": 2852.2778854370117, + "y": 1402.7501497268677, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "1f2cbe8.ab92042", + "id": "4724cb0f.9daf64", "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": 2570.8125, - "y": 1322.8125, - "z": "7108e868.a979d8", + "x": 2368.2777709960938, + "y": 1279.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "2fa14d3.a7367b2", + "id": "19e0241b.9cd70c", "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": 2531.8125, - "y": 1390.8125, - "z": "7108e868.a979d8", + "x": 2329.2777709960938, + "y": 1347.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "3c40ea7f.5428a6", + "id": "edb92967.0e18f8", "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": 2498.8125, - "y": 1448.8125, - "z": "7108e868.a979d8", + "x": 2296.2777709960938, + "y": 1405.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "ed66efa7.cab5c", + "id": "e128ba2b.0271c8", "type": "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": 1808.8125, - "y": 1395.8125, - "z": "7108e868.a979d8", + "x": 1606.2777709960938, + "y": 1352.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "f042d642.d93388", + "id": "8889a908.a7eeb8", "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": 1849.8125, - "y": 1444.8125, - "z": "7108e868.a979d8", + "x": 1647.2777709960938, + "y": 1401.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "6cc8a38.caae65c", + "id": "a7b6d79c.8829b8", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2576.8125, - "y": 1158.8125, - "z": "7108e868.a979d8", + "x": 2374.2777709960938, + "y": 1115.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "9cab3cd4.ad8c8", - "2575bb63.cb1f64" + "b37bf738.d5c038", + "4af07c3f.5bcf94" ] ] }, { - "id": "9cab3cd4.ad8c8", + "id": "b37bf738.d5c038", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2784.8125, - "y": 1123.812255859375, - "z": "7108e868.a979d8", + "x": 2582.2777709960938, + "y": 1080.7497491836548, + "z": "ecab9296.c8bb5", "wires": [ [ - "8a68726.7a5319" + "e6d8c1e4.44fd5" ] ] }, { - "id": "8a68726.7a5319", + "id": "e6d8c1e4.44fd5", "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": 3104.8125, - "y": 1138.8125, - "z": "7108e868.a979d8", + "x": 2902.2777709960938, + "y": 1095.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "2575bb63.cb1f64", + "id": "4af07c3f.5bcf94", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2772.8125, - "y": 1225.8125, - "z": "7108e868.a979d8", + "x": 2570.2777709960938, + "y": 1182.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "1be9da11.5515e6" + "b5b52336.410c8" ] ] }, { - "id": "1df8c261.39d8be", + "id": "8901584a.ca65c8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2131.8125, - "y": 1909.8125, - "z": "7108e868.a979d8", + "x": 1929.2777709960938, + "y": 1866.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "fa450f85.96907", - "ac83dc96.d0414", - "eee75d70.5462f", - "68e0063b.7afdb8", - "11885992.57a3d6", - "b7fc9607.06c2c8", - "48a3f198.0b5bb", - "3e1fe485.57c5dc", - "cb510840.ed88c8" + "9caed6bf.227748", + "bfa7bf54.50cee", + "e9b83795.78e768", + "859856d2.8ff3d8", + "ee648713.59eb88", + "199042fe.6ade4d", + "24fc98b8.40ad88", + "44cbbc9e.66bad4", + "c7cf6a0a.7602d8", + "1a62fde5.66d4f2", + "286ddbec.57d7c4" ] ] }, { - "id": "fa450f85.96907", + "id": "9caed6bf.227748", "type": "set", - "name": "Calculate RRMPolicyRatio", - "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />", + "name": "Calculate maxNumberOfConnsPercellCU", + "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n", "comments": "", - "x": 2313.8125, - "y": 1692.8125, - "z": "7108e868.a979d8", + "x": 2185.277910232544, + "y": 1637.7501010894775, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "ac83dc96.d0414", + "id": "bfa7bf54.50cee", "type": "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.CellCU`\"/>", + "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": 2312.8125, - "y": 1748.8125, - "z": "7108e868.a979d8", + "x": 2128.2778453826904, + "y": 1765.7500705718994, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "eee75d70.5462f", + "id": "e9b83795.78e768", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2353.8125, - "y": 1815.8125, - "z": "7108e868.a979d8", + "x": 2149.2778453826904, + "y": 1801.7500400543213, + "z": "ecab9296.c8bb5", "wires": [ [ - "c44d770c.8f6248", - "2db4eb44.da6004" + "eca2cb2.9c54538", + "7f6e77c.a8aac88" ] ] }, { - "id": "c44d770c.8f6248", + "id": "eca2cb2.9c54538", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2531.8125, - "y": 1782.812255859375, - "z": "7108e868.a979d8", + "x": 2329.2777709960938, + "y": 1739.7497491836548, + "z": "ecab9296.c8bb5", "wires": [ [ - "b1dca537.3b57a8" + "e258ca0a.72ec58" ] ] }, { - "id": "b1dca537.3b57a8", + "id": "e258ca0a.72ec58", "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": 2809.8125, - "y": 1774.8125, - "z": "7108e868.a979d8", + "x": 2607.2777709960938, + "y": 1731.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "68e0063b.7afdb8", + "id": "859856d2.8ff3d8", "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": 2388.8125, - "y": 1887.8125, - "z": "7108e868.a979d8", + "x": 2186.2777709960938, + "y": 1844.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "11885992.57a3d6", + "id": "ee648713.59eb88", "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": 2353.8125, - "y": 1939.8125, - "z": "7108e868.a979d8", + "x": 2185.277811050415, + "y": 1884.7500133514404, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "684c1622.e09e58", + "id": "874a9bd9.e5b518", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2639.8125, - "y": 2066.8125, - "z": "7108e868.a979d8", + "x": 2442.277750015259, + "y": 1987.7501049041748, + "z": "ecab9296.c8bb5", "wires": [ [ - "4f5d406d.e309" + "9d7eb3e9.03b87" ] ] }, { - "id": "4f5d406d.e309", + "id": "9d7eb3e9.03b87", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2803.8123779296875, - "y": 2067.8126220703125, - "z": "7108e868.a979d8", + "x": 2601.2776489257812, + "y": 2024.7501153945923, + "z": "ecab9296.c8bb5", "wires": [ [ - "45f75ec6.863ec", - "34f6d9ce.d2e016" + "162e9419.1f338c", + "66de30e8.1abc9" ] ] }, { - "id": "45f75ec6.863ec", + "id": "162e9419.1f338c", "type": "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": 2953.8123779296875, - "y": 2062.812744140625, - "z": "7108e868.a979d8", + "x": 2752.2777576446533, + "y": 1992.7503190040588, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "9a82e320.b76eb", + "id": "1e4cd16.6779c2f", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2635.8125, - "y": 1987.8125, - "z": "7108e868.a979d8", + "x": 2439.277723312378, + "y": 1894.7500133514404, + "z": "ecab9296.c8bb5", "wires": [ [ - "59cf3b6.cca69c4" + "9d6caf15.b08f4" ] ] }, { - "id": "59cf3b6.cca69c4", + "id": "9d6caf15.b08f4", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2793.812744140625, - "y": 1935.8125, - "z": "7108e868.a979d8", + "x": 2591.2780151367188, + "y": 1892.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "d0aa5e9f.9758a", - "6409cd63.1a0bf4", - "ef5706f3.674e08" + "6bdcf3ef.3de21c", + "c8eb5f5.7095da", + "dd5a532a.31de7" ] ] }, { - "id": "d0aa5e9f.9758a", + "id": "6bdcf3ef.3de21c", "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": 2964.8123779296875, - "y": 1996.8125610351562, - "z": "7108e868.a979d8", + "x": 2762.2776489257812, + "y": 1953.750054359436, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "6409cd63.1a0bf4", + "id": "c8eb5f5.7095da", "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": 2959.8125, - "y": 1901.8125, - "z": "7108e868.a979d8", + "x": 2757.2777709960938, + "y": 1858.7499933242798, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "b7fc9607.06c2c8", + "id": "199042fe.6ade4d", "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": 2388.8125, - "y": 2014.8125, - "z": "7108e868.a979d8", + "x": 2218.277841567993, + "y": 1939.7500133514404, + "z": "ecab9296.c8bb5", "wires": [ [ - "9a82e320.b76eb", - "684c1622.e09e58" + "1e4cd16.6779c2f", + "874a9bd9.e5b518" ] ] }, { - "id": "34f6d9ce.d2e016", + "id": "66de30e8.1abc9", "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": 2968.8125, - "y": 2125.8125, - "z": "7108e868.a979d8", + "x": 2778.277696609497, + "y": 2025.7500438690186, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "48a3f198.0b5bb", + "id": "24fc98b8.40ad88", "type": "for", "name": "for each rrmpolicyratio", "xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n", "comments": "", "outputs": 1, - "x": 2323.8125, - "y": 2172.812728881836, - "z": "7108e868.a979d8", + "x": 2121.2777709960938, + "y": 2129.7502222061157, + "z": "ecab9296.c8bb5", "wires": [ [ - "cc5f4f75.fa631" + "44a4d00d.c80db" ] ] }, { - "id": "3e1fe485.57c5dc", - "type": "execute", - "name": "read rrmpolicyratio list size", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length '`\" />\n ", - "comments": "", - "outputs": 1, - "x": 2367.8125, - "y": 2068.8125, - "z": "7108e868.a979d8", - "wires": [ - [] - ] - }, - { - "id": "cc5f4f75.fa631", + "id": "44a4d00d.c80db", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2544.8125, - "y": 2192.812728881836, - "z": "7108e868.a979d8", + "x": 2342.2777709960938, + "y": 2149.7502222061157, + "z": "ecab9296.c8bb5", "wires": [ [ - "d8c3d055.2d419", - "6a9f9afc.9b7fa4", - "ef468aba.45ebb8", - "fcd1306a.0ccea", - "4a4813ea.c1f99c", - "79d52a8e.70e584" + "e78a4f0f.bce4c", + "e6c4828b.edd3c", + "27dba04e.02ff", + "36b8da14.33d876", + "8be06558.e14bf8", + "ba00bd4a.546d6", + "cb603df3.12a5a", + "c282a260.9d8de", + "b3c3cf99.6f492", + "8f54fffc.9c001", + "148d5e51.205352" ] ] }, { - "id": "d8c3d055.2d419", + "id": "e78a4f0f.bce4c", "type": "set", "name": "Calculate updated RRMPolicyRatio", - "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellCU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`\" />", + "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_new' value='`$tmp.rrmPolicyDedicatedRatiocellCU_old + $tmp.rRMPolicyDedicatedRatio_SliceProfile`' />", "comments": "", - "x": 2869.8125, - "y": 2169.812728881836, - "z": "7108e868.a979d8", + "x": 2660.2777881622314, + "y": 2109.7502908706665, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "6a9f9afc.9b7fa4", + "id": "e6c4828b.edd3c", "type": "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 CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_updated`\"/>", + "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": 2799.8125, - "y": 2349.8125, - "z": "7108e868.a979d8", + "x": 2585.2778186798096, + "y": 2143.7499866485596, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "ef468aba.45ebb8", + "id": "27dba04e.02ff", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2837.8125, - "y": 2220.8125, - "z": "7108e868.a979d8", + "x": 2635.2777709960938, + "y": 2177.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "e34f118.cd120f", - "4555531e.6f353c" + "48924713.d17858", + "e3bb4f1.511c9b" ] ] }, { - "id": "e34f118.cd120f", + "id": "48924713.d17858", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3037.8125, - "y": 2227.812255859375, - "z": "7108e868.a979d8", + "x": 2916.388816833496, + "y": 2105.8610315322876, + "z": "ecab9296.c8bb5", "wires": [ [ - "c7e16a4d.5ee148" + "779fca32.3495e4" ] ] }, { - "id": "c7e16a4d.5ee148", + "id": "779fca32.3495e4", "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": 3303.8125, - "y": 2231.8125, - "z": "7108e868.a979d8", + "x": 3161.278175354004, + "y": 2107.638882637024, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "fcd1306a.0ccea", + "id": "36b8da14.33d876", "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": 2866.8125, - "y": 2391.8125, - "z": "7108e868.a979d8", + "x": 2673.166549682617, + "y": 2355.416706085205, + "z": "ecab9296.c8bb5", "wires": [ [ - "a24f6f33.5c01f", - "df336133.6e823" + "19a156b1.f32ab9", + "257d1061.7fc23" ] ] }, { - "id": "a24f6f33.5c01f", + "id": "19a156b1.f32ab9", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3138.8125, - "y": 2383.8125, - "z": "7108e868.a979d8", + "x": 2936.2777709960938, + "y": 2340.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "f5047557.3f0658" + "9b9c1569.6f8068" ] ] }, { - "id": "f5047557.3f0658", + "id": "9b9c1569.6f8068", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3329.8125, - "y": 2383.8125, - "z": "7108e868.a979d8", + "x": 3127.2777709960938, + "y": 2340.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "b391edca.02267", - "ef5706f3.674e08" + "8eb39019.8e726" ] ] }, { - "id": "b391edca.02267", + "id": "8eb39019.8e726", "type": "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": 3514.812255859375, - "y": 2384.812744140625, - "z": "7108e868.a979d8", + "x": 3312.2775268554688, + "y": 2341.750237464905, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "df336133.6e823", + "id": "257d1061.7fc23", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3137.8125, - "y": 2471.8125, - "z": "7108e868.a979d8", + "x": 2935.2777709960938, + "y": 2428.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "c338375f.71e348" + "39629f26.1f32c" ] ] }, { - "id": "c338375f.71e348", + "id": "39629f26.1f32c", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3356.812744140625, - "y": 2476.8125, - "z": "7108e868.a979d8", + "x": 3154.2780151367188, + "y": 2433.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "e396dc8f.6db54", - "89bcda2.7d97e28" + "4bcb96b0.5c6438", + "41d5ec67.b7e364", + "dd5a532a.31de7" ] ] }, { - "id": "e396dc8f.6db54", + "id": "4bcb96b0.5c6438", "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": 3601.8123779296875, - "y": 2522.8125610351562, - "z": "7108e868.a979d8", + "x": 3399.2776489257812, + "y": 2479.750054359436, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "89bcda2.7d97e28", + "id": "41d5ec67.b7e364", "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": 3596.8125, - "y": 2427.8125, - "z": "7108e868.a979d8", + "x": 3394.2777709960938, + "y": 2384.74999332428, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "cb510840.ed88c8", + "id": "44cbbc9e.66bad4", "type": "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": 2307.8125, - "y": 2122.8125, - "z": "7108e868.a979d8", + "x": 2105.2777709960938, + "y": 2079.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "2367fdf7.13e052", + "id": "a7b5e345.afac6", "type": "block", "name": "block", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2059.8125, - "y": 1397.8125, - "z": "7108e868.a979d8", + "x": 1857.2777709960938, + "y": 1354.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "f75f3c8b.be38f", - "ab9b5a5f.7edca8" + "3fcfd799.26f778" ] ] }, { - "id": "8dd84100.059ce", + "id": "52873cd.a7928c4", "type": "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=\"CellCU is applicable for the NSSAI \"/>\n\n\n", + "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": 2548.8125, - "y": 1090.8125, - "z": "7108e868.a979d8", + "x": 2346.2777709960938, + "y": 1047.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "d05460e1.aaaa4", + "id": "e6011289.53a58", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1948.8124542236328, - "y": 2374.812511444092, - "z": "7108e868.a979d8", + "x": 1746.2777252197266, + "y": 2331.7500047683716, + "z": "ecab9296.c8bb5", "wires": [ [ - "fe92705b.ea1c8", - "d084ab4e.bc34d8" + "cab0c653.68fca8", + "1031436d.d4c14d", + "8f418c29.a17f4", + "ca3912f.d1798f", + "29ac3d55.731702", + "295dcd8f.d34882", + "e67c1235.a668b", + "4639f97.7feb608", + "79add8fe.1d3c58", + "30531c3.32959e4", + "5b1ca906.eba328" ] ] }, { - "id": "fe92705b.ea1c8", + "id": "cab0c653.68fca8", "type": "execute", "name": "Update cellCU for gNBCUCP 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.updategNBCUCP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-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": 2231.812454223633, - "y": 2374.812511444092, - "z": "7108e868.a979d8", + "x": 2029.2777252197266, + "y": 2331.7500047683716, + "z": "ecab9296.c8bb5", "wires": [ [ - "79c4d718.a8c6e8", - "b47984b.f7f7b78" + "31364e32.2027c2", + "e32e339f.5cb42" ] ] }, { - "id": "b47984b.f7f7b78", + "id": "e32e339f.5cb42", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2467.812454223633, - "y": 2446.812511444092, - "z": "7108e868.a979d8", + "x": 2303.2778549194336, + "y": 2388.750114440918, + "z": "ecab9296.c8bb5", "wires": [ [ - "ce3eb8e1.c1ccb8" + "db869b45.96ea18" ] ] }, { - "id": "79c4d718.a8c6e8", + "id": "31364e32.2027c2", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2518.812454223633, - "y": 2345.812755584717, - "z": "7108e868.a979d8", + "x": 2300.7222900390625, + "y": 2350.5280332565308, + "z": "ecab9296.c8bb5", "wires": [ [ - "bef7b599.2a8f68" + "b1f9e8c8.11fee8" ] ] }, { - "id": "bef7b599.2a8f68", + "id": "b1f9e8c8.11fee8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2710.812454223633, - "y": 2461.812511444092, - "z": "7108e868.a979d8", + "x": 2508.2777252197266, + "y": 2418.7500047683716, + "z": "ecab9296.c8bb5", "wires": [ [ - "70a96b2.3356894", - "e1603c4c.c51ab", - "ef5706f3.674e08" + "4fa6deb.8eba52", + "404a2781.cb3848", + "dd5a532a.31de7" ] ] }, { - "id": "e1603c4c.c51ab", + "id": "404a2781.cb3848", "type": "set", "name": "set", "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>", "comments": "", - "x": 2876.812255859375, - "y": 2429.8125, - "z": "7108e868.a979d8", + "x": 2675.388687133789, + "y": 2393.416693687439, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "70a96b2.3356894", + "id": "4fa6deb.8eba52", "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": 2881.8120880126953, - "y": 2522.812572479248, - "z": "7108e868.a979d8", + "x": 2732.6106872558594, + "y": 2454.1943731307983, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "b9fc74bf.735e68", + "id": "7dc5f273.6d6e8c", "type": "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 - NRCellCU pLMNinfo \"/>", "comments": "", "outputs": 1, - "x": 2717.812454223633, - "y": 2533.812511444092, - "z": "7108e868.a979d8", + "x": 2576.3889389038086, + "y": 2462.972159385681, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "ce3eb8e1.c1ccb8", + "id": "db869b45.96ea18", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2553.8124389648438, - "y": 2527.812572479248, - "z": "7108e868.a979d8", + "x": 2435.722270965576, + "y": 2460.3055124282837, + "z": "ecab9296.c8bb5", "wires": [ [ - "b9fc74bf.735e68" + "7dc5f273.6d6e8c" ] ] }, { - "id": "d084ab4e.bc34d8", + "id": "1031436d.d4c14d", "type": "execute", "name": "Update RRMPolicy for gNBCUCP 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.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.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": 2252.8125, - "y": 2660.8125, - "z": "7108e868.a979d8", + "x": 2050.2777709960938, + "y": 2617.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "b305e15b.ccf55", - "14cd58ef.8378c7" + "460b691c.339e68", + "c97bdf3e.ba40a" ] ] }, { - "id": "b305e15b.ccf55", + "id": "460b691c.339e68", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2550.8125, - "y": 2610.8125, - "z": "7108e868.a979d8", + "x": 2350.500072479248, + "y": 2628.861020088196, + "z": "ecab9296.c8bb5", "wires": [ [ - "d2644aeb.86dd28" + "4a0eb18.9b9485" ] ] }, { - "id": "14cd58ef.8378c7", + "id": "c97bdf3e.ba40a", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2550.8125, - "y": 2720.812255859375, - "z": "7108e868.a979d8", + "x": 2348.2777709960938, + "y": 2677.749749183655, + "z": "ecab9296.c8bb5", "wires": [ [ - "b6930962.6ec088" + "f0f38d2d.ffe45" ] ] }, { - "id": "d2644aeb.86dd28", + "id": "4a0eb18.9b9485", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2753.8125, - "y": 2607.8125, - "z": "7108e868.a979d8", + "x": 2691.277717590332, + "y": 2624.7499866485596, + "z": "ecab9296.c8bb5", "wires": [ [ - "b50e41ac.16a5a", - "b28fe2e8.9a973", - "ef5706f3.674e08" + "18dbad94.def5b2", + "d4da7a32.2d7768", + "dd5a532a.31de7" ] ] }, { - "id": "b28fe2e8.9a973", + "id": "d4da7a32.2d7768", "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": 2919.812255859375, - "y": 2573.8125, - "z": "7108e868.a979d8", + "x": 2872.8330154418945, + "y": 2618.527932167053, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "b50e41ac.16a5a", + "id": "18dbad94.def5b2", "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": 2924.8121337890625, - "y": 2668.8125610351562, - "z": "7108e868.a979d8", + "x": 2867.832862854004, + "y": 2656.8612146377563, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "b6930962.6ec088", + "id": "f0f38d2d.ffe45", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2731.8125, - "y": 2714.8125, - "z": "7108e868.a979d8", + "x": 2529.2777709960938, + "y": 2671.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "43de9281.43d8bc" + "124303f5.c46bbc" ] ] }, { - "id": "43de9281.43d8bc", + "id": "124303f5.c46bbc", "type": "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 - NRCellCU RRMPolicyRatio \"/>", "comments": "", "outputs": 1, - "x": 2897.8125, - "y": 2715.8125, - "z": "7108e868.a979d8", + "x": 2695.2777709960938, + "y": 2672.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "d086944b.c66398", + "id": "eda7021e.42543", "type": "block", "name": "Process CUUP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 844.8125, - "y": 1554.8125, - "z": "7108e868.a979d8", + "x": 642.2777709960938, + "y": 1511.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "462da7ab.a5a448", - "e48738e4.73f948", - "3f53493c.b3bae6" + "c6b13c72.e3d36", + "25c8461e.97134a", + "fea4da3b.bcfee8" ] ] }, { - "id": "462da7ab.a5a448", + "id": "c6b13c72.e3d36", "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": 1175.8125, - "y": 1564.8125, - "z": "7108e868.a979d8", + "x": 973.2777709960938, + "y": 1521.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "e48738e4.73f948", + "id": "25c8461e.97134a", "type": "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.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n", + "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": 1147.8125, - "y": 1629.8125, - "z": "7108e868.a979d8", + "x": 945.2777709960938, + "y": 1586.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "3f53493c.b3bae6", + "id": "fea4da3b.bcfee8", "type": "for", "name": "foreach CUUP", "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n", "comments": "", "outputs": 1, - "x": 1175.8125, - "y": 1704.8125, - "z": "7108e868.a979d8", + "x": 973.2777709960938, + "y": 1661.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "b771bcd9.93d" + "40823d38.9d16f4" ] ] }, { - "id": "b771bcd9.93d", + "id": "40823d38.9d16f4", "type": "block", "name": "block : process CUUP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1396.8125, - "y": 1711.8125, - "z": "7108e868.a979d8", + "x": 1194.2777709960938, + "y": 1668.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "902fd630.8a9ff8", - "3f3bdc31.8c0ec4", - "56f3c5f4.783d1c", - "68482403.97ca3c" + "3528e116.e7894e", + "e7bc5124.45b36", + "342badce.4abd62" ] ] }, { - "id": "902fd630.8a9ff8", + "id": "3528e116.e7894e", "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": 1630.8125, - "y": 1545.8125, - "z": "7108e868.a979d8", + "x": 1448.2777786254883, + "y": 1490.5277490615845, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "3f3bdc31.8c0ec4", + "id": "e7bc5124.45b36", "type": "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": 1626.8125, - "y": 1599.8125, - "z": "7108e868.a979d8", + "x": 1427.6111221313477, + "y": 1542.3055491447449, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "56f3c5f4.783d1c", - "type": "execute", - "name": "read plmninfolist size", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />", - "comments": "", - "outputs": 1, - "x": 1677.8125, - "y": 1664.8125, - "z": "7108e868.a979d8", - "wires": [ - [] - ] - }, - { - "id": "68482403.97ca3c", - "type": "for", - "name": "foreach pLMNInfo", - "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n", - "comments": "", - "outputs": 1, - "x": 1663.8125, - "y": 1719.8125, - "z": "7108e868.a979d8", - "wires": [ - [ - "62fc86b9.2bf388" - ] - ] - }, - { - "id": "62fc86b9.2bf388", + "id": "342badce.4abd62", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1629.8125, - "y": 2795.8125, - "z": "7108e868.a979d8", + "x": 1427.2777709960938, + "y": 2752.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "bd37c8ec.2cb548", - "75687bbe.c8ac34", - "2ecbf849.cff368", - "e1fe95a4.e56b88", - "f11648d2.8a6158", - "b26edd45.59a21", - "4a615dd1.f7d994", - "82f93bbe.2a8f58", - "5806bd74.97f274", - "bbd5f05e.aa95f", - "7b0b3132.35108", - "ba3263a2.7a90f" + "21f29aee.0eff86", + "94e7e0a7.b58c3", + "c27a2824.18ffe8", + "821dc568.77ed88", + "48166ee0.cdff5", + "c9836807.47c9b8", + "1ba6a41f.c38c2c", + "43557902.4f4158", + "b151ef4e.63d69", + "157cf93d.767517", + "11b56769.6027f9", + "69ec533e.600d9c", + "14b3dc4d.71ca44", + "d4cbbf53.53515", + "a36cc0c6.861ae", + "2ff98ab1.8da426", + "46dc7d95.4c06c4", + "304737db.ae6f58", + "bbd1f9a3.442938" ] ] }, { - "id": "2ecbf849.cff368", + "id": "c27a2824.18ffe8", "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": 1957.8125, - "y": 2993.8125, - "z": "7108e868.a979d8", + "x": 1741.9445495605469, + "y": 2955.194511413574, + "z": "ecab9296.c8bb5", "wires": [ [ - "6a4ff84d.86f158", - "a21ae80.f8a7c18" + "17c00fc4.0c225", + "828b843e.8f20a8" ] ] }, { - "id": "6a4ff84d.86f158", + "id": "17c00fc4.0c225", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2259.8126525878906, - "y": 2995.8127393722534, - "z": "7108e868.a979d8", + "x": 2038.3890190124512, + "y": 2986.0835132598877, + "z": "ecab9296.c8bb5", "wires": [ [ - "f129f56b.6a8468" + "ac880ef2.b7ff8" ] ] }, { - "id": "f129f56b.6a8468", + "id": "ac880ef2.b7ff8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2436.812774658203, - "y": 2984.812617301941, - "z": "7108e868.a979d8", + "x": 2227.6112899780273, + "y": 2972.861393928528, + "z": "ecab9296.c8bb5", "wires": [ [ - "818116b.749a3e8", - "4c0fe3af.87361c", - "ef5706f3.674e08" + "b619434f.2071", + "bdfa000d.a6bf6", + "dd5a532a.31de7" ] ] }, { - "id": "4c0fe3af.87361c", + "id": "bdfa000d.a6bf6", "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": 2707.8127098083496, - "y": 2888.812978744507, - "z": "7108e868.a979d8", + "x": 2458.611301422119, + "y": 2934.639319419861, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "818116b.749a3e8", + "id": "b619434f.2071", "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": 2692.812713623047, - "y": 2942.8129177093506, - "z": "7108e868.a979d8", + "x": 2485.8337936401367, + "y": 2975.3060750961304, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "88c21b9a.22d488", + "id": "48625087.b9c9e", "type": "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": 2586.812225341797, - "y": 3067.8127393722534, - "z": "7108e868.a979d8", + "x": 2400.944194793701, + "y": 3016.9724130630493, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "c2e2f484.ae9978", + "id": "d5e14c57.5e601", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2433.812530517578, - "y": 3067.8124952316284, - "z": "7108e868.a979d8", + "x": 2214.611011505127, + "y": 3022.5279817581177, + "z": "ecab9296.c8bb5", "wires": [ [ - "88c21b9a.22d488" + "48625087.b9c9e" ] ] }, { - "id": "a21ae80.f8a7c18", + "id": "828b843e.8f20a8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2253.812530517578, - "y": 3062.812678337097, - "z": "7108e868.a979d8", + "x": 2029.055519104004, + "y": 3026.4169912338257, + "z": "ecab9296.c8bb5", "wires": [ [ - "c2e2f484.ae9978" + "d5e14c57.5e601" ] ] }, { - "id": "bd37c8ec.2cb548", + "id": "21f29aee.0eff86", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 1896.8125, - "y": 2797.8125, - "z": "7108e868.a979d8", + "x": 1694.2777709960938, + "y": 2754.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "31b6e50e.0ffa9a", - "605133da.405fac" + "c4866ad0.39c4e8", + "7473b922.9a0358" ] ] }, { - "id": "31b6e50e.0ffa9a", + "id": "c4866ad0.39c4e8", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2104.8125, - "y": 2762.812255859375, - "z": "7108e868.a979d8", + "x": 1902.2777709960938, + "y": 2719.749749183655, + "z": "ecab9296.c8bb5", "wires": [ [ - "ca261737.b9abf8" + "b3310007.d5e61" ] ] }, { - "id": "605133da.405fac", + "id": "7473b922.9a0358", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2092.8125, - "y": 2864.8125, - "z": "7108e868.a979d8", + "x": 1885.8334350585938, + "y": 2770.6389875411987, + "z": "ecab9296.c8bb5", "wires": [ [ - "cec48822.0fc488" + "3e7fc5f2.be339a" ] ] }, { - "id": "ca261737.b9abf8", + "id": "b3310007.d5e61", "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": 2424.8125, - "y": 2777.8125, - "z": "7108e868.a979d8", + "x": 2222.2777709960938, + "y": 2734.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "75687bbe.c8ac34", + "id": "94e7e0a7.b58c3", "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": 1941.8125, - "y": 2936.8125, - "z": "7108e868.a979d8", + "x": 1705.9443969726562, + "y": 2799.3057079315186, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "4a4813ea.c1f99c", + "id": "8be06558.e14bf8", "type": "set", "name": "RRMPolicyRatio id", - "xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].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": 2851.8125, - "y": 2258.8125, - "z": "7108e868.a979d8", + "x": 2637.055938720703, + "y": 2253.5274801254272, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "79d52a8e.70e584", + "id": "ba00bd4a.546d6", "type": "set", "name": "RRMPolicyMember Id", - "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`\" />", + "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.rrmPolicyMembers+1`'/>\n", "comments": "", - "x": 2842.8125, - "y": 2305.8125, - "z": "7108e868.a979d8", + "x": 2648.055679321289, + "y": 2289.4170446395874, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "e1fe95a4.e56b88", + "id": "821dc568.77ed88", "type": "set", - "name": "Calculate RRMPolicyRatio", - "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />", + "name": "Calculate rRMPolicyDedicatedRatio Temp", + "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n", "comments": "", - "x": 1930.8127136230469, - "y": 3065.812994003296, - "z": "7108e868.a979d8", + "x": 1763.8335723876953, + "y": 3064.973126411438, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "f11648d2.8a6158", + "id": "48166ee0.cdff5", "type": "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": 1876.8127059936523, - "y": 3137.812997817993, - "z": "7108e868.a979d8", + "x": 1667.6113014221191, + "y": 3129.1949515342712, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "b26edd45.59a21", + "id": "c9836807.47c9b8", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 1887.8125, - "y": 3212.8125, - "z": "7108e868.a979d8", + "x": 1685.2777709960938, + "y": 3169.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "b48e9df0.37c53", - "84a6a111.772e4" + "ccf3c09b.00194", + "daec73d6.40c28" ] ] }, { - "id": "b48e9df0.37c53", + "id": "ccf3c09b.00194", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2065.8125, - "y": 3179.812255859375, - "z": "7108e868.a979d8", + "x": 1863.2777709960938, + "y": 3136.749749183655, + "z": "ecab9296.c8bb5", "wires": [ [ - "164e8c22.475114" + "d83af7ba.bc8058" ] ] }, { - "id": "164e8c22.475114", + "id": "d83af7ba.bc8058", "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": 2360.812530517578, - "y": 3125.8125562667847, - "z": "7108e868.a979d8", + "x": 2158.277801513672, + "y": 3082.7500495910645, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "4a615dd1.f7d994", + "id": "1ba6a41f.c38c2c", "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": 1924.8125839233398, - "y": 3267.8125133514404, - "z": "7108e868.a979d8", + "x": 1722.2778549194336, + "y": 3224.75000667572, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "82f93bbe.2a8f58", + "id": "43557902.4f4158", "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": 1920.8127517700195, - "y": 3324.8125143051147, - "z": "7108e868.a979d8", + "x": 1711.278091430664, + "y": 3330.7500352859497, + "z": "ecab9296.c8bb5", "wires": [ [ - "e03ffc51.6fbca", - "cce032c0.0d88f" + "bf4d51cf.bdf42", + "3a68aacb.1f5256" ] ] }, { - "id": "e03ffc51.6fbca", + "id": "bf4d51cf.bdf42", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2170.8125953674316, - "y": 3314.812678337097, - "z": "7108e868.a979d8", + "x": 1968.2778663635254, + "y": 3271.750171661377, + "z": "ecab9296.c8bb5", "wires": [ [ - "2261ec2.bfaac14" + "de80ac45.5374a" ] ] }, { - "id": "2261ec2.bfaac14", + "id": "de80ac45.5374a", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2331.812744140625, - "y": 3333.8125, - "z": "7108e868.a979d8", + "x": 2129.2780151367188, + "y": 3290.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "fde07db7.6edee", - "4a0a2150.dd5b7", - "ef5706f3.674e08" + "5d79f9c5.14c278", + "61c01400.b9f29c", + "dd5a532a.31de7" ] ] }, { - "id": "4a0a2150.dd5b7", + "id": "61c01400.b9f29c", "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": 2497.8125, - "y": 3299.8125, - "z": "7108e868.a979d8", + "x": 2295.2777709960938, + "y": 3256.74999332428, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "fde07db7.6edee", + "id": "5d79f9c5.14c278", "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": 2502.8123779296875, - "y": 3394.8125610351562, - "z": "7108e868.a979d8", + "x": 2351.3885803222656, + "y": 3300.639016151428, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "5f5f8a4d.ecf264", + "id": "2ffa2827.57bd28", "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": 2506.8125, - "y": 3523.8125, - "z": "7108e868.a979d8", + "x": 2336.4998779296875, + "y": 3396.3055725097656, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "be1c4c39.89b8c", + "id": "73778204.755dcc", "type": "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": 2491.8123779296875, - "y": 3460.812744140625, - "z": "7108e868.a979d8", + "x": 2331.499687194824, + "y": 3339.972331047058, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "2d110399.7859bc", + "id": "2c33dae2.508956", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2325.8123168945312, - "y": 3406.81268119812, - "z": "7108e868.a979d8", + "x": 2138.833236694336, + "y": 3338.194640159607, + "z": "ecab9296.c8bb5", "wires": [ [ - "be1c4c39.89b8c", - "5f5f8a4d.ecf264" + "73778204.755dcc", + "2ffa2827.57bd28" ] ] }, { - "id": "cce032c0.0d88f", + "id": "3a68aacb.1f5256", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2161.8125953674316, - "y": 3384.81268119812, - "z": "7108e868.a979d8", + "x": 1959.2778663635254, + "y": 3341.7501745224, + "z": "ecab9296.c8bb5", "wires": [ [ - "2d110399.7859bc" + "2c33dae2.508956" ] ] }, { - "id": "5806bd74.97f274", - "type": "execute", - "name": "read rrmpolicyratio list size", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_CUUP_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length '`\" />\n ", - "comments": "", - "outputs": 1, - "x": 1898.8125915527344, - "y": 3389.812599182129, - "z": "7108e868.a979d8", - "wires": [ - [] - ] - }, - { - "id": "bbd5f05e.aa95f", + "id": "b151ef4e.63d69", "type": "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.tmp.rrmPolicyRatioList_CUUP_length`\"/>\n", + "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": 1838.8125839233398, - "y": 3440.8126010894775, - "z": "7108e868.a979d8", + "x": 1646.2779998779297, + "y": 3466.750096321106, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "7b0b3132.35108", + "id": "157cf93d.767517", "type": "for", "name": "for each rrmpolicyratio", "xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n", "comments": "", "outputs": 1, - "x": 1886.4791717529297, - "y": 3581.1459369659424, - "z": "7108e868.a979d8", + "x": 1683.9444427490234, + "y": 3538.083430290222, + "z": "ecab9296.c8bb5", "wires": [ [ - "8250f885.9a6238" + "8c2cee50.77277" ] ] }, { - "id": "8250f885.9a6238", + "id": "8c2cee50.77277", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2104.4791259765625, - "y": 3608.145751953125, - "z": "7108e868.a979d8", + "x": 1901.9443969726562, + "y": 3565.083245277405, + "z": "ecab9296.c8bb5", "wires": [ [ - "f1bf3011.d74b2", - "d818aaf7.0aee18", - "6cb09c3f.522a24", - "3a30a758.d1cd78", - "568f3597.ab1f0c", - "4e2db998.18c708" + "e6f36cff.5f7ac", + "994124a.6a81ed8", + "e93d3907.dbe0b8", + "5971d0a9.8775a", + "495b7e0.94ea084", + "323b9ab7.0a7686", + "4c95d3de.dafcac", + "91bdd1cb.225b5", + "74f76f8.3409a9" ] ] }, { - "id": "f1bf3011.d74b2", + "id": "e6f36cff.5f7ac", "type": "set", "name": "Calculate updated RRMPolicyRatio", - "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`\" />", + "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`\" />", "comments": "", - "x": 2429.4791259765625, - "y": 3585.145751953125, - "z": "7108e868.a979d8", + "x": 2226.9443969726562, + "y": 3542.083245277405, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "6cb09c3f.522a24", + "id": "e93d3907.dbe0b8", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2397.4791259765625, - "y": 3636.145751953125, - "z": "7108e868.a979d8", + "x": 2194.9443740844727, + "y": 3584.1944813728333, + "z": "ecab9296.c8bb5", "wires": [ [ - "68da40a6.630dc", - "96bf52a5.a5094" + "c2e2c59a.964ca8", + "70e9bf72.db75d" ] ] }, { - "id": "568f3597.ab1f0c", - "type": "set", - "name": "RRMPolicyRatio id", - "xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />", - "comments": "", - "x": 2411.4791259765625, - "y": 3674.145751953125, - "z": "7108e868.a979d8", - "wires": [] - }, - { - "id": "68da40a6.630dc", + "id": "c2e2c59a.964ca8", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2614.4792251586914, - "y": 3623.145571708679, - "z": "7108e868.a979d8", + "x": 2411.944496154785, + "y": 3580.083065032959, + "z": "ecab9296.c8bb5", "wires": [ [ - "ed44c1a6.36128" + "29bbb805.9ee6c8" ] ] }, { - "id": "ed44c1a6.36128", + "id": "29bbb805.9ee6c8", "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": 2887.4790954589844, - "y": 3593.1461219787598, - "z": "7108e868.a979d8", + "x": 2684.944366455078, + "y": 3550.0836153030396, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "4e2db998.18c708", + "id": "495b7e0.94ea084", "type": "set", "name": "RRMPolicyMember Id", - "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`\" />", + "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.rrmPolicyMembers-CUUP+1`\" />", "comments": "", - "x": 2402.4791259765625, - "y": 3721.145751953125, - "z": "7108e868.a979d8", + "x": 2198.833297729492, + "y": 3735.8612957000732, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "d818aaf7.0aee18", + "id": "994124a.6a81ed8", "type": "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`\"/>", + "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": 2359.4791259765625, - "y": 3765.145751953125, - "z": "7108e868.a979d8", + "x": 2160.2780380249023, + "y": 3768.7502479553223, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "3a30a758.d1cd78", + "id": "5971d0a9.8775a", "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": 2426.4791259765625, - "y": 3807.145751953125, - "z": "7108e868.a979d8", + "x": 2222.8333053588867, + "y": 3805.1942443847656, + "z": "ecab9296.c8bb5", "wires": [ [ - "7c1a793c.e7f098", - "ecae4a1e.4ed968" + "e3174968.023078", + "2c3ec3b8.faaecc" ] ] }, { - "id": "7c1a793c.e7f098", + "id": "e3174968.023078", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2698.4791259765625, - "y": 3799.145751953125, - "z": "7108e868.a979d8", + "x": 2495.9443969726562, + "y": 3756.083245277405, + "z": "ecab9296.c8bb5", "wires": [ [ - "ee919351.884ae" + "f53b4c9e.c5d56" ] ] }, { - "id": "ee919351.884ae", + "id": "f53b4c9e.c5d56", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2889.4791259765625, - "y": 3799.145751953125, - "z": "7108e868.a979d8", + "x": 2686.9443969726562, + "y": 3756.083245277405, + "z": "ecab9296.c8bb5", "wires": [ [ - "9967fe18.3f52", - "ef5706f3.674e08" + "2851387d.d21c18" ] ] }, { - "id": "9967fe18.3f52", + "id": "2851387d.d21c18", "type": "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": 3074.4788818359375, - "y": 3800.14599609375, - "z": "7108e868.a979d8", + "x": 2871.9441528320312, + "y": 3757.08348941803, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "3d107c96.8f4394", + "id": "a57054f0.8f2cf8", "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": 3156.4791259765625, - "y": 3843.145751953125, - "z": "7108e868.a979d8", + "x": 2953.9443969726562, + "y": 3800.083245277405, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "64358581.2074dc", + "id": "799ed5ea.0660dc", "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": 3161.47900390625, - "y": 3938.1458129882812, - "z": "7108e868.a979d8", + "x": 2958.9442749023438, + "y": 3895.083306312561, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "87867dbd.bfc9c", + "id": "89b318ab.323c98", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2916.4793701171875, - "y": 3892.145751953125, - "z": "7108e868.a979d8", + "x": 2713.9446411132812, + "y": 3849.083245277405, + "z": "ecab9296.c8bb5", "wires": [ [ - "64358581.2074dc", - "3d107c96.8f4394" + "799ed5ea.0660dc", + "a57054f0.8f2cf8", + "dd5a532a.31de7" ] ] }, { - "id": "ecae4a1e.4ed968", + "id": "2c3ec3b8.faaecc", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2697.4791259765625, - "y": 3887.145751953125, - "z": "7108e868.a979d8", + "x": 2494.9443969726562, + "y": 3844.083245277405, + "z": "ecab9296.c8bb5", "wires": [ [ - "87867dbd.bfc9c" + "89b318ab.323c98" ] ] }, { - "id": "ba3263a2.7a90f", + "id": "11b56769.6027f9", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1843.1459197998047, - "y": 3920.4793615341187, - "z": "7108e868.a979d8", + "x": 1640.6111907958984, + "y": 3877.4168548583984, + "z": "ecab9296.c8bb5", "wires": [ [ - "a8779bfe.2ebaa8", - "6bdc54a8.a8bcfc" + "432a8afd.ff3744", + "369fee46.9ff212", + "e0eae9af.e47b18", + "aaab029a.73315", + "197ebca7.656673", + "d0d818c6.4b2608", + "27aaafdc.f134", + "28f0e3bf.db6d3c", + "7153e6fc.a20688", + "3d2034c9.c91a4c", + "4a3e020d.51ae0c" ] ] }, { - "id": "a8779bfe.2ebaa8", + "id": "432a8afd.ff3744", "type": "execute", "name": "Update gNBCUUP 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.updategNBCUUP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updategNBCUUP.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-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\"/>", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-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": 2176.1458740234375, - "y": 3921.479248046875, - "z": "7108e868.a979d8", + "x": 1944.8611907958984, + "y": 3889.666790008545, + "z": "ecab9296.c8bb5", "wires": [ [ - "a157ef66.82e47", - "156a4239.7ef9ee" + "f6e87948.f89288", + "ab3317f.d87cee8" ] ] }, { - "id": "a157ef66.82e47", + "id": "f6e87948.f89288", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2463.1458740234375, - "y": 3892.4794921875, - "z": "7108e868.a979d8", + "x": 2260.6111450195312, + "y": 3849.41698551178, + "z": "ecab9296.c8bb5", "wires": [ [ - "b14a144c.9974f8" + "ba24cd75.0dfab" ] ] }, { - "id": "156a4239.7ef9ee", + "id": "ab3317f.d87cee8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2412.1458740234375, - "y": 3993.479248046875, - "z": "7108e868.a979d8", + "x": 2247.111225128174, + "y": 3899.166910171509, + "z": "ecab9296.c8bb5", "wires": [ [ - "8205426c.ef651" + "af3f3ee.4697ec" ] ] }, { - "id": "8205426c.ef651", + "id": "af3f3ee.4697ec", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2498.1458587646484, - "y": 4074.4793090820312, - "z": "7108e868.a979d8", + "x": 2405.6110458374023, + "y": 3927.666972398758, + "z": "ecab9296.c8bb5", "wires": [ [ - "88c98d77.84bc2" + "45a699a5.339a98" ] ] }, { - "id": "b14a144c.9974f8", + "id": "ba24cd75.0dfab", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2655.1458740234375, - "y": 4008.479248046875, - "z": "7108e868.a979d8", + "x": 2448.86141204834, + "y": 3886.666910171509, + "z": "ecab9296.c8bb5", "wires": [ [ - "bdfa1f09.353b8", - "8fd72176.397c5", - "ef5706f3.674e08" + "2988f3b4.0cd97c", + "c023d158.5af6d", + "dd5a532a.31de7" ] ] }, { - "id": "88c98d77.84bc2", + "id": "45a699a5.339a98", "type": "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 - NRCellCU pLMNinfo \"/>", "comments": "", "outputs": 1, - "x": 2662.1458740234375, - "y": 4080.479248046875, - "z": "7108e868.a979d8", + "x": 2542.1112899780273, + "y": 3941.16703414917, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "bdfa1f09.353b8", + "id": "2988f3b4.0cd97c", "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'/>", + "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": 2826.1455078125, - "y": 4069.4793090820312, - "z": "7108e868.a979d8", + "x": 2707.3608932495117, + "y": 3930.1669726371765, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "8fd72176.397c5", + "id": "c023d158.5af6d", "type": "set", "name": "set", - "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - CUUP. Aborting RPC executiopn'/>", "comments": "", - "x": 2821.1456756591797, - "y": 3976.479236602783, - "z": "7108e868.a979d8", + "x": 2616.1110763549805, + "y": 3895.9167881011963, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "3cba221d.f1507e", + "id": "1ea853ee.e7636c", "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": 2864.1456756591797, - "y": 4120.479236602783, - "z": "7108e868.a979d8", + "x": 2670.361110687256, + "y": 4131.167035102844, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "a2654622.6dd498", + "id": "cb3cd22b.a342e", "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": 2869.145553588867, - "y": 4215.479297637939, - "z": "7108e868.a979d8", + "x": 2666.610824584961, + "y": 4172.416790962219, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "95bfc417.2c1f08", + "id": "cc430433.e39b08", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2698.1459197998047, - "y": 4154.479236602783, - "z": "7108e868.a979d8", + "x": 2486.8612899780273, + "y": 4165.166974067688, + "z": "ecab9296.c8bb5", "wires": [ [ - "a2654622.6dd498", - "3cba221d.f1507e", - "ef5706f3.674e08" + "cb3cd22b.a342e", + "1ea853ee.e7636c", + "dd5a532a.31de7" ] ] }, { - "id": "d8512ddf.3f171", + "id": "6184c0ce.94a5f", "type": "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": 2842.1459197998047, - "y": 4262.479236602783, - "z": "7108e868.a979d8", + "x": 2639.6111907958984, + "y": 4219.416729927063, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "a66973d7.69104", + "id": "3600b138.5845ae", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2676.1459197998047, - "y": 4261.479236602783, - "z": "7108e868.a979d8", + "x": 2473.6111907958984, + "y": 4218.416729927063, + "z": "ecab9296.c8bb5", "wires": [ [ - "d8512ddf.3f171" + "6184c0ce.94a5f" ] ] }, { - "id": "15ec48d8.926787", + "id": "d164770d.eef5f8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2495.1459197998047, - "y": 4267.478992462158, - "z": "7108e868.a979d8", + "x": 2292.6111907958984, + "y": 4224.416485786438, + "z": "ecab9296.c8bb5", "wires": [ [ - "a66973d7.69104" + "3600b138.5845ae" ] ] }, { - "id": "2a3a4f34.54219", + "id": "c510da45.23cf18", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2495.1459197998047, - "y": 4157.479236602783, - "z": "7108e868.a979d8", + "x": 2286.3613204956055, + "y": 4176.9168519973755, + "z": "ecab9296.c8bb5", "wires": [ [ - "95bfc417.2c1f08" + "cc430433.e39b08" ] ] }, { - "id": "6bdc54a8.a8bcfc", + "id": "369fee46.9ff212", "type": "execute", "name": "Update RRMPolicy for gNBCUUP 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.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updateRRMPolicy.CUUP.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-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\"/>", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-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": 2197.1459197998047, - "y": 4207.479236602783, - "z": "7108e868.a979d8", + "x": 1968.3612823486328, + "y": 4218.16685295105, + "z": "ecab9296.c8bb5", "wires": [ [ - "2a3a4f34.54219", - "15ec48d8.926787" + "c510da45.23cf18", + "d164770d.eef5f8" ] ] }, { - "id": "4e830c1f.7bebc4", + "id": "ea01a433.33d248", "type": "block", "name": "Process gNBDU", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1207.5626754760742, - "y": 4192.563228607178, - "z": "7108e868.a979d8", + "x": 1106.0279922485352, + "y": 3840.500594139099, + "z": "ecab9296.c8bb5", "wires": [ [ - "5a3d52ff.69f48c", - "96c6fb05.5a9858", - "4d47cf04.2ab97" + "8ac3f0ad.30e56", + "2b669098.1e82", + "dd3d3af9.52d6f8" ] ] }, { - "id": "5a3d52ff.69f48c", + "id": "8ac3f0ad.30e56", "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": 1536.5626754760742, - "y": 4223.563228607178, - "z": "7108e868.a979d8", + "x": 1359.027931213379, + "y": 3930.5006551742554, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "96c6fb05.5a9858", + "id": "2b669098.1e82", "type": "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": 1494.5626602172852, - "y": 4284.563228607178, - "z": "7108e868.a979d8", + "x": 1327.0278816223145, + "y": 3980.5007190704346, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "4d47cf04.2ab97", + "id": "dd3d3af9.52d6f8", "type": "for", "name": "foreach DU", "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n", "comments": "", "outputs": 1, - "x": 1506.5627059936523, - "y": 4354.563228607178, - "z": "7108e868.a979d8", + "x": 1328.0280685424805, + "y": 4023.500720024109, + "z": "ecab9296.c8bb5", "wires": [ [ - "c924ba25.82a328" + "5091954e.43f6dc" ] ] }, { - "id": "c924ba25.82a328", + "id": "5091954e.43f6dc", "type": "block", "name": "block : process gNBDU", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1787.5626754760742, - "y": 4355.5631980896, - "z": "7108e868.a979d8", + "x": 1590.0279273986816, + "y": 4129.500475883484, + "z": "ecab9296.c8bb5", "wires": [ [ - "a0fa0a49.9180c8", - "b69431be.ded5f", - "e4e685e5.2c8388", - "d1761b06.379698" + "ad634841.f1df18", + "d1a41858.dbd2e8", + "5b5b644f.dcb89c", + "693e7bc8.1946f4" ] ] }, { - "id": "a0fa0a49.9180c8", + "id": "ad634841.f1df18", "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": 2066.5625, - "y": 4351.5625, - "z": "7108e868.a979d8", + "x": 1864.0277709960938, + "y": 4308.49999332428, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "b69431be.ded5f", + "id": "d1a41858.dbd2e8", "type": "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": 2039.5625, - "y": 4402.5625, - "z": "7108e868.a979d8", + "x": 1837.0277709960938, + "y": 4359.49999332428, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "e4e685e5.2c8388", + "id": "5b5b644f.dcb89c", "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": 2080.5625, - "y": 4451.5625, - "z": "7108e868.a979d8", + "x": 1878.0277709960938, + "y": 4408.49999332428, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "d1761b06.379698", + "id": "693e7bc8.1946f4", "type": "for", "name": "for cellDUList", "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n", "comments": "", "outputs": 1, - "x": 2070.5625, - "y": 4495.5625, - "z": "7108e868.a979d8", + "x": 1868.0277709960938, + "y": 4452.49999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "2d9b1779.25da68" + "2e61752a.3c32aa" ] ] }, { - "id": "2e0cb657.fa72aa", + "id": "8ca9297e.0bb688", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3097.3125, - "y": 4549.5625, - "z": "7108e868.a979d8", + "x": 2894.7777709960938, + "y": 4506.49999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "db01efc8.367e1", - "cbb5449b.077ff8", - "c37094ee.0620b8", - "9664007c.b3591", - "f8fddf6b.372eb", - "7e214221.f3333c", - "7e449816.b97cc8", - "5b53f44f.273f7c", - "f6f39dfc.75a01", - "a63081a.5cdd48", - "2ea51be.93ad1e4" + "854a9c7d.7606", + "6818c49e.7be4ac", + "dccf3b3f.871b98", + "90de618b.cad", + "d8f0231.2a5b4e", + "2b662b6d.42a6c4", + "12ff3e46.f96772", + "bd503cb1.d0e98", + "de0d36d5.d71918", + "63c4b3a7.33644c", + "42884319.8bf8dc", + "d815d930.ba6bb8" ] ] }, { - "id": "5b53f44f.273f7c", + "id": "bd503cb1.d0e98", "type": "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": 3292.3125, - "y": 4544.5625, - "z": "7108e868.a979d8", + "x": 3089.7777709960938, + "y": 4501.49999332428, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "7e449816.b97cc8", + "id": "12ff3e46.f96772", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3320.3125, - "y": 4612.5625, - "z": "7108e868.a979d8", + "x": 3117.7777709960938, + "y": 4569.49999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "d4c9f7e3.e84858", - "9ff04c6b.5afd8" + "96175473.d9eb48", + "6b0e69e0.617508" ] ] }, { - "id": "d4c9f7e3.e84858", + "id": "96175473.d9eb48", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3528.3125, - "y": 4577.562255859375, - "z": "7108e868.a979d8", + "x": 3325.7777709960938, + "y": 4534.499749183655, + "z": "ecab9296.c8bb5", "wires": [ [ - "3bce64e2.b4273c" + "d039005a.704dc" ] ] }, { - "id": "9ff04c6b.5afd8", + "id": "6b0e69e0.617508", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3523.3125495910645, - "y": 4646.562824249268, - "z": "7108e868.a979d8", + "x": 3320.777820587158, + "y": 4603.500317573547, + "z": "ecab9296.c8bb5", "wires": [ [ - "e66f84d4.6add28" + "21313198.fd408e" ] ] }, { - "id": "3bce64e2.b4273c", + "id": "d039005a.704dc", "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": 3848.3125, - "y": 4592.5625, - "z": "7108e868.a979d8", + "x": 3645.7777709960938, + "y": 4549.49999332428, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "db01efc8.367e1", + "id": "854a9c7d.7606", "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 +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />", "comments": "", "outputs": 1, - "x": 3317.3126525878906, - "y": 4700.562744140625, - "z": "7108e868.a979d8", + "x": 3114.7779235839844, + "y": 4657.500237464905, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "9664007c.b3591", + "id": "90de618b.cad", "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": 3372.312713623047, - "y": 4765.562682151794, - "z": "7108e868.a979d8", + "x": 3169.7779846191406, + "y": 4722.500175476074, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "f8fddf6b.372eb", + "id": "d8f0231.2a5b4e", "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.cellCULocalId`\"/>\n", + "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": 3345.3128967285156, - "y": 4820.562684059143, - "z": "7108e868.a979d8", + "x": 3142.7781677246094, + "y": 4777.500177383423, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "7e214221.f3333c", + "id": "2b662b6d.42a6c4", "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": 3325.3125915527344, - "y": 4883.562990188599, - "z": "7108e868.a979d8", + "x": 3122.777862548828, + "y": 4840.500483512878, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "cbb5449b.077ff8", + "id": "6818c49e.7be4ac", "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": 3327.3128356933594, - "y": 4941.562623023987, - "z": "7108e868.a979d8", + "x": 3124.778106689453, + "y": 4898.500116348267, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "c37094ee.0620b8", + "id": "dccf3b3f.871b98", "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": 3332.312469482422, - "y": 5009.56311416626, - "z": "7108e868.a979d8", + "x": 3128.7779846191406, + "y": 4944.500733375549, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "f6f39dfc.75a01", + "id": "de0d36d5.d71918", "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": 3389.3125, - "y": 5084.8125, - "z": "7108e868.a979d8", + "x": 3183.7779846191406, + "y": 4990.7500014305115, + "z": "ecab9296.c8bb5", "wires": [ [ - "d8729278.1cd58", - "157bda42.dc1776" + "218c5ac9.adcf96", + "9be6e332.adf83" ] ] }, { - "id": "157bda42.dc1776", + "id": "9be6e332.adf83", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3656.3125, - "y": 4984.8125, - "z": "7108e868.a979d8", + "x": 3432.3493366241455, + "y": 4831.750117301941, + "z": "ecab9296.c8bb5", "wires": [ [ - "ea70704f.084d2" + "bec61c09.9b2b7" ] ] }, { - "id": "d8729278.1cd58", + "id": "218c5ac9.adcf96", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3655.3125, - "y": 5083.8125, - "z": "7108e868.a979d8", + "x": 3438.492027282715, + "y": 4887.892823219299, + "z": "ecab9296.c8bb5", "wires": [ [ - "8bfbcf74.666d1" + "7408d31.0dc862c" ] ] }, { - "id": "ea70704f.084d2", + "id": "bec61c09.9b2b7", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3814.312744140625, - "y": 4932.8125, - "z": "7108e868.a979d8", + "x": 3608.920944213867, + "y": 4831.178339958191, + "z": "ecab9296.c8bb5", "wires": [ [ - "24efbd9d.3eeb72", - "223f16d0.c8885a", - "ef5706f3.674e08" + "13752f4e.dc57d1", + "a3fa5004.f668b", + "dd5a532a.31de7" ] ] }, { - "id": "8bfbcf74.666d1", + "id": "7408d31.0dc862c", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3823.3125, - "y": 5080.812502622604, - "z": "7108e868.a979d8", + "x": 3592.206329345703, + "y": 4887.749948501587, + "z": "ecab9296.c8bb5", "wires": [ [ - "6125ea01.fba5c4" + "b2c21e16.d6e5b" ] ] }, { - "id": "6125ea01.fba5c4", + "id": "b2c21e16.d6e5b", "type": "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": 3969.3123779296875, - "y": 5079.812744140625, - "z": "7108e868.a979d8", + "x": 3629.635021209717, + "y": 4953.892745018005, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "24efbd9d.3eeb72", + "id": "13752f4e.dc57d1", "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": 3985.3123779296875, - "y": 4993.812561035156, - "z": "7108e868.a979d8", + "x": 3795.6347579956055, + "y": 4907.892684936523, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "223f16d0.c8885a", + "id": "a3fa5004.f668b", "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": 3980.3125, - "y": 4898.8125, - "z": "7108e868.a979d8", + "x": 3777.7777709960938, + "y": 4855.74999332428, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "a63081a.5cdd48", + "id": "63c4b3a7.33644c", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3190.5625, - "y": 5357.8125, - "z": "7108e868.a979d8", + "x": 2988.0277709960938, + "y": 5314.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "5cb5d6ea.770248", - "98f00bff.356c18", - "5d40a1b9.c2994", - "f43c3c63.25ad9", - "65c6ca75.936b14", - "6bcc8bb1.e1d3e4", - "f0dfe9fd.ba7e58", - "fa410ab8.5baa78" + "1f3099be.fd0396", + "428380a3.2e5c6", + "77470c30.7ccea4", + "1ad44e5f.06dc02", + "54740594.78e32c", + "e7a02896.74e638", + "36f9af95.9beb7", + "517677f0.6d4018", + "9f04c1f2.bf256", + "8e869cc0.cfb58" ] ] }, { - "id": "5cb5d6ea.770248", + "id": "1f3099be.fd0396", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3412.5625, - "y": 5263.8125, - "z": "7108e868.a979d8", + "x": 3210.0277709960938, + "y": 5220.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "7ea81051.7f23a", - "5a933026.4d27b" + "8c2e0cd.722b2f", + "3185509b.b104a" ] ] }, { - "id": "7ea81051.7f23a", + "id": "3185509b.b104a", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3595.5627365112305, - "y": 5201.8128299713135, - "z": "7108e868.a979d8", + "x": 3458.742477416992, + "y": 5233.036768913269, + "z": "ecab9296.c8bb5", "wires": [ [ - "193f0677.2c64aa" + "223eb619.f4921a" ] ] }, { - "id": "193f0677.2c64aa", + "id": "223eb619.f4921a", "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": 3895.5626068115234, - "y": 5202.812952041626, - "z": "7108e868.a979d8", + "x": 3653.0276794433594, + "y": 5171.179366111755, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "98f00bff.356c18", + "id": "428380a3.2e5c6", "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": 3447.5625, - "y": 5335.8125, - "z": "7108e868.a979d8", + "x": 3245.0277709960938, + "y": 5292.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "5d40a1b9.c2994", + "id": "77470c30.7ccea4", "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": 3412.5625, - "y": 5387.8125, - "z": "7108e868.a979d8", + "x": 3210.0277709960938, + "y": 5344.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "f43c3c63.25ad9", + "id": "1ad44e5f.06dc02", "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": 3447.5625, - "y": 5462.8125, - "z": "7108e868.a979d8", + "x": 3245.0277709960938, + "y": 5419.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "e3b08095.b4e31", - "f911831.2bcd58" + "77060035.b3e31", + "8c4eb3c3.ad48" ] ] }, { - "id": "e3b08095.b4e31", + "id": "77060035.b3e31", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3694.5625, - "y": 5435.8125, - "z": "7108e868.a979d8", + "x": 3492.0277709960938, + "y": 5392.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "981c46e8.e33468" + "38aa7b88.8cc164" ] ] }, { - "id": "f911831.2bcd58", + "id": "8c4eb3c3.ad48", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3698.5625, - "y": 5514.8125, - "z": "7108e868.a979d8", + "x": 3496.0277709960938, + "y": 5471.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "748cf1b0.9d517" + "af08c4f9.c8c558" ] ] }, { - "id": "981c46e8.e33468", + "id": "38aa7b88.8cc164", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3852.562744140625, - "y": 5383.8125, - "z": "7108e868.a979d8", + "x": 3660.0282440185547, + "y": 5403.607346534729, + "z": "ecab9296.c8bb5", "wires": [ [ - "633b5c69.cd1044", - "cfbf14b0.9443f8", - "ef5706f3.674e08" + "85bd27d6.ac5078", + "560e6dc6.7ff184", + "dd5a532a.31de7" ] ] }, { - "id": "cfbf14b0.9443f8", + "id": "560e6dc6.7ff184", "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": 4018.5625, - "y": 5349.8125, - "z": "7108e868.a979d8", + "x": 3816.0277709960938, + "y": 5306.74999332428, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "633b5c69.cd1044", + "id": "85bd27d6.ac5078", "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": 4023.5623779296875, - "y": 5444.812561035156, - "z": "7108e868.a979d8", + "x": 3821.0276489257812, + "y": 5401.750054359436, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "748cf1b0.9d517", + "id": "af08c4f9.c8c558", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3862.5623779296875, - "y": 5515.8126220703125, - "z": "7108e868.a979d8", + "x": 3660.0276489257812, + "y": 5472.750115394592, + "z": "ecab9296.c8bb5", "wires": [ [ - "8916b53d.b90f88", - "d6acc856.973798" + "6568d8a0.54f4a8", + "f8fa3865.3b8818" ] ] }, { - "id": "8916b53d.b90f88", + "id": "6568d8a0.54f4a8", "type": "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": 4012.5623779296875, - "y": 5510.812744140625, - "z": "7108e868.a979d8", + "x": 3817.1708221435547, + "y": 5444.892781257629, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "d6acc856.973798", + "id": "f8fa3865.3b8818", "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": 4027.5625, - "y": 5573.8125, - "z": "7108e868.a979d8", - "wires": [ - [] - ] - }, - { - "id": "65c6ca75.936b14", - "type": "execute", - "name": "read rrmpolicyratio list size", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length '`\" />\n ", - "comments": "", - "outputs": 1, - "x": 3426.5625, - "y": 5516.8125, - "z": "7108e868.a979d8", + "x": 3825.027862548828, + "y": 5482.17870426178, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "6bcc8bb1.e1d3e4", + "id": "54740594.78e32c", "type": "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", + "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": 3366.5625, - "y": 5570.8125, - "z": "7108e868.a979d8", + "x": 3182.5991821289062, + "y": 5552.035391807556, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "f0dfe9fd.ba7e58", + "id": "e7a02896.74e638", "type": "block", "name": "rrmPolicyDedicatedRatio", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3971.5625381469727, - "y": 5147.812589645386, - "z": "7108e868.a979d8", + "x": 3244.741867542267, + "y": 5099.035620689392, + "z": "ecab9296.c8bb5", "wires": [ [ - "25bccfbe.74997", - "83d763f9.c0daa", - "5c90938f.aae84c", - "5eb33de6.997004", - "1269be21.81b8d2", - "99edb9aa.d44a48", - "5717a3b9.d0abfc", - "d6422a31.9a6c68", - "31c3f05.90cfe1", - "7d3ffa6.132c704", - "78a6faf9.59c974" + "c8f8181b.bc8a58", + "3468bb65.a0fb14", + "cfb5acf8.f3faa", + "b50cab3a.7d6a28", + "54ff605d.37b67", + "ab9b5495.2642d8", + "f5338014.ba63", + "aff055e3.016bb8", + "7ed07848.a83168", + "77504964.a2aa18", + "f15200d5.f48dd" ] ] }, { - "id": "5c90938f.aae84c", + "id": "cfb5acf8.f3faa", "type": "set", "name": "Calculate RRM Parms1", "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n", "comments": "", - "x": 4415.552307128906, - "y": 4928.135252952576, - "z": "7108e868.a979d8", + "x": 4213.017578125, + "y": 4885.0727462768555, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "5eb33de6.997004", + "id": "b50cab3a.7d6a28", "type": "set", "name": "Calculate RRM Parms2", "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n", "comments": "", - "x": 4424.093566894531, - "y": 4973.155272424221, - "z": "7108e868.a979d8", + "x": 4221.558837890625, + "y": 4930.092765748501, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "1269be21.81b8d2", + "id": "54ff605d.37b67", "type": "set", "name": "Calculate RRM Parms3", "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />", "comments": "", - "x": 4414.093688964844, - "y": 5028.1551503539085, - "z": "7108e868.a979d8", + "x": 4211.5589599609375, + "y": 4985.092643678188, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "99edb9aa.d44a48", + "id": "ab9b5495.2642d8", "type": "set", "name": "Calculate RRM Parms4", "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n", "comments": "", - "x": 4414.093566894531, - "y": 5079.155150413513, - "z": "7108e868.a979d8", + "x": 4211.558837890625, + "y": 5036.092643737793, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "5717a3b9.d0abfc", + "id": "f5338014.ba63", "type": "set", "name": "Calculate RRM Parms5", "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />", "comments": "", - "x": 4402.093688964844, - "y": 5139.155272424221, - "z": "7108e868.a979d8", + "x": 4199.5589599609375, + "y": 5096.092765748501, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "d6422a31.9a6c68", + "id": "aff055e3.016bb8", "type": "set", "name": "Calculate RRM Parms6", "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />", "comments": "", - "x": 4440.093566894531, - "y": 5189.155272424221, - "z": "7108e868.a979d8", + "x": 4237.558837890625, + "y": 5146.092765748501, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "31c3f05.90cfe1", + "id": "7ed07848.a83168", "type": "set", "name": "Calculate RRM Parms7", "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n", "comments": "", - "x": 4427.093505859375, - "y": 5259.155638694763, - "z": "7108e868.a979d8", + "x": 4224.558776855469, + "y": 5216.093132019043, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "7d3ffa6.132c704", + "id": "77504964.a2aa18", "type": "set", "name": "calculation8", "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n", "comments": "", - "x": 4398.093505859375, - "y": 5323.154662132263, - "z": "7108e868.a979d8", + "x": 4195.558776855469, + "y": 5280.092155456543, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "78a6faf9.59c974", + "id": "f15200d5.f48dd", "type": "set", "name": "calculation9", "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n", "comments": "", - "x": 4386.094055175781, - "y": 5374.154540061951, - "z": "7108e868.a979d8", + "x": 4183.559326171875, + "y": 5331.0920333862305, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "83d763f9.c0daa", + "id": "3468bb65.a0fb14", "type": "set", "name": "calculation10", "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n", "comments": "", - "x": 4361.5523681640625, - "y": 5440.135008811951, - "z": "7108e868.a979d8", + "x": 4159.017639160156, + "y": 5397.0725021362305, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "25bccfbe.74997", + "id": "c8f8181b.bc8a58", "type": "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": 4187.562294006348, - "y": 5452.256315231323, - "z": "7108e868.a979d8", + "x": 3985.0275650024414, + "y": 5409.193808555603, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "fa410ab8.5baa78", + "id": "36f9af95.9beb7", "type": "for", "name": "for each rrmpolicyratio", "xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n", "comments": "", "outputs": 1, - "x": 3407.8125, - "y": 5641.8125, - "z": "7108e868.a979d8", + "x": 3205.2777709960938, + "y": 5598.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "d5e66414.61b738" + "d26b6e59.02e24" ] ] }, { - "id": "d5e66414.61b738", + "id": "d26b6e59.02e24", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3628.8125, - "y": 5661.8125, - "z": "7108e868.a979d8", + "x": 3426.2777709960938, + "y": 5618.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "178d9c71.3e3cd4", - "7eb64cc3.660424", - "d35c9422.9abe48", - "84121f2e.40449", - "73826fd4.8f1b6", - "6c4671d6.29012" + "c4eda641.393e38", + "895911c8.825af", + "1c77de16.c5c312", + "51620ac7.2631e4", + "bb00cbfa.ae7d18", + "16cb87b2.5be1d8", + "52ba99b7.987b88", + "4ff78ad7.0a8bd4", + "8d0864dd.8c8528", + "63a19143.589a9" ] ] }, { - "id": "178d9c71.3e3cd4", + "id": "c4eda641.393e38", "type": "set", "name": "Calculate updated RRMPolicyRatio", - "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellDU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellDU + $tmp.rRMPolicyDedicatedRatio.CellDU`\" />", + "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`\" />", "comments": "", - "x": 3953.8125, - "y": 5638.8125, - "z": "7108e868.a979d8", + "x": 3752.706283569336, + "y": 5558.607483386993, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "d35c9422.9abe48", + "id": "1c77de16.c5c312", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3921.8125, - "y": 5689.812271118164, - "z": "7108e868.a979d8", + "x": 3697.8495330810547, + "y": 5602.464260101318, + "z": "ecab9296.c8bb5", "wires": [ [ - "6c8d9351.4d651c", - "f56b6248.5a011" + "90686092.5480b", + "f3ac1470.9f0a28" ] ] }, { - "id": "6c8d9351.4d651c", + "id": "90686092.5480b", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 4121.8125, - "y": 5696.812026977539, - "z": "7108e868.a979d8", + "x": 3893.5635299682617, + "y": 5593.749746322632, + "z": "ecab9296.c8bb5", "wires": [ [ - "f50efe95.ca3d2" + "d65c36b4.b13ff8" ] ] }, { - "id": "f50efe95.ca3d2", + "id": "d65c36b4.b13ff8", "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": 4403.8124923706055, - "y": 5651.812838077545, - "z": "7108e868.a979d8", + "x": 4211.277988433838, + "y": 5563.036683082581, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "73826fd4.8f1b6", - "type": "set", - "name": "RRMPolicyRatio id", - "xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />", - "comments": "", - "x": 3935.8125, - "y": 5727.812271118164, - "z": "7108e868.a979d8", - "wires": [] - }, - { - "id": "6c4671d6.29012", + "id": "bb00cbfa.ae7d18", "type": "set", "name": "RRMPolicyMember Id", - "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`\" />", + "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.RRMPolicyMembersDU_Length+1`\" />", "comments": "", - "x": 3926.8125, - "y": 5774.812271118164, - "z": "7108e868.a979d8", + "x": 3682.8493041992188, + "y": 5770.321383476257, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "7eb64cc3.660424", + "id": "895911c8.825af", "type": "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 CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_updated`\"/>", + "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": 3883.8125, - "y": 5818.812271118164, - "z": "7108e868.a979d8", + "x": 3658.4208221435547, + "y": 5810.036261558533, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "84121f2e.40449", + "id": "51620ac7.2631e4", "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": 3950.8125, - "y": 5860.812271118164, - "z": "7108e868.a979d8", + "x": 3742.5635681152344, + "y": 5846.3214864730835, + "z": "ecab9296.c8bb5", "wires": [ [ - "f3b17c12.36f39", - "b73daad5.796e88" + "fa066444.802018", + "867f45b5.2aa548" ] ] }, { - "id": "f3b17c12.36f39", + "id": "fa066444.802018", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 4222.8125, - "y": 5852.812271118164, - "z": "7108e868.a979d8", + "x": 4020.2777709960938, + "y": 5809.749764442444, + "z": "ecab9296.c8bb5", "wires": [ [ - "6383fa28.ddc1f4" + "e6fdee9b.4cad3" ] ] }, { - "id": "6383fa28.ddc1f4", + "id": "e6fdee9b.4cad3", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4413.8125, - "y": 5852.812271118164, - "z": "7108e868.a979d8", + "x": 4211.277770996094, + "y": 5809.749764442444, + "z": "ecab9296.c8bb5", "wires": [ [ - "68bb8ff1.a9c8" + "b5661953.85d578" ] ] }, { - "id": "68bb8ff1.a9c8", + "id": "b5661953.85d578", "type": "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": 4598.812255859375, - "y": 5853.812515258789, - "z": "7108e868.a979d8", + "x": 4396.277526855469, + "y": 5810.750008583069, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "ab223540.8967f8", + "id": "ebe1df71.0820d", "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": 4680.8125, - "y": 5896.812271118164, - "z": "7108e868.a979d8", + "x": 4478.277770996094, + "y": 5853.749764442444, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "b6b94cea.8a762", + "id": "14b7d895.4babb7", "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": 4685.8123779296875, - "y": 5991.81233215332, - "z": "7108e868.a979d8", + "x": 4483.277648925781, + "y": 5948.7498254776, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "6b1cdeed.a4366", + "id": "48902170.44222", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4440.812744140625, - "y": 5945.812271118164, - "z": "7108e868.a979d8", + "x": 4215.778049468994, + "y": 5851.500406742096, + "z": "ecab9296.c8bb5", "wires": [ [ - "b6b94cea.8a762", - "ab223540.8967f8", - "ef5706f3.674e08" + "14b7d895.4babb7", + "ebe1df71.0820d", + "dd5a532a.31de7" ] ] }, { - "id": "b73daad5.796e88", + "id": "867f45b5.2aa548", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 4221.8125, - "y": 5940.812271118164, - "z": "7108e868.a979d8", + "x": 4029.277862548828, + "y": 5857.750407218933, + "z": "ecab9296.c8bb5", "wires": [ [ - "6b1cdeed.a4366" + "48902170.44222" ] ] }, { - "id": "2ea51be.93ad1e4", + "id": "42884319.8bf8dc", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3143.3125915527344, - "y": 5945.81259727478, - "z": "7108e868.a979d8", + "x": 2940.777862548828, + "y": 5902.75009059906, + "z": "ecab9296.c8bb5", "wires": [ [ - "c73356e6.02bb68", - "39bf934c.b3043c" + "16890fa5.e64db", + "aec15b06.02fe68", + "e4ce6413.ed6fd8", + "8e49b3c8.74b25", + "ee5b9b09.ca97c8", + "176390ef.cbac9f", + "48796b63.39bec4", + "3087ba3a.ed4566", + "68990179.2bf66", + "89e3c3a4.70c62" ] ] }, { - "id": "c73356e6.02bb68", + "id": "16890fa5.e64db", "type": "execute", "name": "Update cellDU for gNBDU 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.updategNBDU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updategNBDU.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-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\"/>", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBDU.json\n'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-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": 3606.3125, - "y": 5953.8125, - "z": "7108e868.a979d8", + "x": 3403.7777709960938, + "y": 5910.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "a24fd2cf.8b1ec", - "8419e3c3.46911" + "2d8902f3.e33f8e", + "7e64488b.4a4c58" ] ] }, { - "id": "a24fd2cf.8b1ec", + "id": "2d8902f3.e33f8e", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3893.3125, - "y": 5924.812744140625, - "z": "7108e868.a979d8", + "x": 3690.7777709960938, + "y": 5881.750237464905, + "z": "ecab9296.c8bb5", "wires": [ [ - "89e2bad2.ccb4f8" + "a2b007bf.eb5648" ] ] }, { - "id": "8419e3c3.46911", + "id": "7e64488b.4a4c58", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3842.3125, - "y": 6025.8125, - "z": "7108e868.a979d8", + "x": 3691.0279846191406, + "y": 5920.250407218933, + "z": "ecab9296.c8bb5", "wires": [ [ - "64bf915a.e00cf" + "31372a2.f90eed6" ] ] }, { - "id": "64bf915a.e00cf", + "id": "31372a2.f90eed6", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3928.312484741211, - "y": 6106.812561035156, - "z": "7108e868.a979d8", + "x": 3864.5277976989746, + "y": 5941.250164985657, + "z": "ecab9296.c8bb5", "wires": [ [ - "a85db168.b368f" + "9c01d7e3.c1cee8" ] ] }, { - "id": "89e2bad2.ccb4f8", + "id": "a2b007bf.eb5648", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4085.3125, - "y": 6040.8125, - "z": "7108e868.a979d8", + "x": 3884.027862548828, + "y": 5904.000409126282, + "z": "ecab9296.c8bb5", "wires": [ [ - "5e5df2c7.c7192c", - "9592e6f2.09e4f8", - "ef5706f3.674e08" + "2516ca3.9ce6f36", + "cf1f0edd.a9376", + "dd5a532a.31de7" ] ] }, { - "id": "9592e6f2.09e4f8", + "id": "cf1f0edd.a9376", "type": "set", "name": "set", "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellDU. Aborting RPC executiopn'/>", "comments": "", - "x": 4251.312301635742, - "y": 6008.812488555908, - "z": "7108e868.a979d8", + "x": 4087.5276832580566, + "y": 5907.000285461545, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "a85db168.b368f", + "id": "9c01d7e3.c1cee8", "type": "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 - NRCellCU pLMNinfo \"/>", "comments": "", "outputs": 1, - "x": 4092.3125, - "y": 6112.8125, - "z": "7108e868.a979d8", + "x": 4077.278045654297, + "y": 5978.500531196594, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "5e5df2c7.c7192c", + "id": "2516ca3.9ce6f36", "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": 4256.3121337890625, - "y": 6101.812561035156, - "z": "7108e868.a979d8", + "x": 4102.527496337891, + "y": 5946.250164985657, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "fa7c7018.fe14d", + "id": "6de737e8.019fd8", "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": 4294.312301635742, - "y": 6152.812488555908, - "z": "7108e868.a979d8", + "x": 4101.777557373047, + "y": 6207.250532150269, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "7184d1ab.d87de", + "id": "39b9f4ac.e5765c", "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": 4299.31217956543, - "y": 6247.812549591064, - "z": "7108e868.a979d8", + "x": 4121.777683258057, + "y": 6248.500533103943, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "31dba375.14b29c", + "id": "351456c3.606afa", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4128.312545776367, - "y": 6186.812488555908, - "z": "7108e868.a979d8", + "x": 3912.028045654297, + "y": 6240.000166893005, + "z": "ecab9296.c8bb5", "wires": [ [ - "7184d1ab.d87de", - "fa7c7018.fe14d", - "ef5706f3.674e08" + "39b9f4ac.e5765c", + "6de737e8.019fd8", + "dd5a532a.31de7" ] ] }, { - "id": "ad921fdb.ed082", + "id": "190dc42c.27b26c", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3925.312545776367, - "y": 6189.812488555908, - "z": "7108e868.a979d8", + "x": 3719.0279235839844, + "y": 6214.250044822693, + "z": "ecab9296.c8bb5", "wires": [ [ - "31dba375.14b29c" + "351456c3.606afa" ] ] }, { - "id": "39bf934c.b3043c", + "id": "aec15b06.02fe68", "type": "execute", "name": "Update RRMPolicy for gNBDU 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.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-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\"/>", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-DU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-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": 3627.312545776367, - "y": 6239.812488555908, - "z": "7108e868.a979d8", + "x": 3424.777816772461, + "y": 6196.749981880188, + "z": "ecab9296.c8bb5", "wires": [ [ - "ad921fdb.ed082", - "9dc33a14.4035f8" + "190dc42c.27b26c", + "ee3128b4.0da778" ] ] }, { - "id": "9dc33a14.4035f8", + "id": "ee3128b4.0da778", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3925.312545776367, - "y": 6299.812244415283, - "z": "7108e868.a979d8", + "x": 3722.777816772461, + "y": 6256.749737739563, + "z": "ecab9296.c8bb5", "wires": [ [ - "3a10913d.9ec45e" + "57dc382f.00fb78" ] ] }, { - "id": "3a10913d.9ec45e", + "id": "57dc382f.00fb78", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4106.312545776367, - "y": 6293.812488555908, - "z": "7108e868.a979d8", + "x": 3905.0279846191406, + "y": 6300.750289916992, + "z": "ecab9296.c8bb5", "wires": [ [ - "acec8e16.d2012" + "1f81d34d.b9bc8d" ] ] }, { - "id": "acec8e16.d2012", + "id": "1f81d34d.b9bc8d", "type": "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": 4272.312545776367, - "y": 6294.812488555908, - "z": "7108e868.a979d8", + "x": 4069.778045654297, + "y": 6305.500045776367, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "ef5706f3.674e08", + "id": "dd5a532a.31de7", "type": "block", "name": "block : SO Response", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4765.296875, - "y": 2845.8125026226044, - "z": "7108e868.a979d8", + "x": 4562.762145996094, + "y": 2802.749995946884, + "z": "ecab9296.c8bb5", "wires": [ [ - "e14a6d46.023e1", - "f540d7f6.c63608", - "dcc8b791.a74578" + "4993a717.46f8a8", + "a189426a.e06f", + "407cd551.8c0b3c" ] ] }, { - "id": "e14a6d46.023e1", + "id": "4993a717.46f8a8", "type": "set", "name": "set tmp variables for SO response", "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\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": 5427.2978515625, - "y": 2637.7121608257294, - "z": "7108e868.a979d8", + "x": 5224.763122558594, + "y": 2594.649654150009, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "f540d7f6.c63608", + "id": "a189426a.e06f", "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": 5402.296737670898, - "y": 2734.8128383159637, - "z": "7108e868.a979d8", + "x": 5199.762008666992, + "y": 2691.7503316402435, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "dcc8b791.a74578", + "id": "407cd551.8c0b3c", "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='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>", + "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\"/>", "comments": "", "outputs": 1, - "x": 5317.29674911499, - "y": 2831.8127162456512, - "z": "7108e868.a979d8", + "x": 5114.762020111084, + "y": 2788.750209569931, + "z": "ecab9296.c8bb5", "wires": [ [ - "aa777b08.53a7a8", - "104728ce.e17727" + "5c35317c.25782", + "406c58b9.0af8e8" ] ] }, { - "id": "aa777b08.53a7a8", + "id": "5c35317c.25782", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 5543.296757698059, - "y": 2808.812685251236, - "z": "7108e868.a979d8", + "x": 5340.762028694153, + "y": 2765.7501785755157, + "z": "ecab9296.c8bb5", "wires": [ [ - "f4582848.a8f468" + "e738ce4d.3ec9a" ] ] }, { - "id": "104728ce.e17727", + "id": "406c58b9.0af8e8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 5533.296611785889, - "y": 2916.812624692917, - "z": "7108e868.a979d8", + "x": 5330.761882781982, + "y": 2873.7501180171967, + "z": "ecab9296.c8bb5", "wires": [ [ - "c051cef5.032e7" + "81c7f73b.bb5988" ] ] }, { - "id": "c051cef5.032e7", + "id": "81c7f73b.bb5988", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 5683.296398162842, - "y": 2935.812685728073, - "z": "7108e868.a979d8", + "x": 5480.761669158936, + "y": 2892.750179052353, + "z": "ecab9296.c8bb5", "wires": [ [ - "afe80856.a1d1c8" + "685257c1.dbd598" ] ] }, { - "id": "f4582848.a8f468", + "id": "e738ce4d.3ec9a", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 5694.296627044678, - "y": 2803.8128073215485, - "z": "7108e868.a979d8", + "x": 5491.7618980407715, + "y": 2760.7503006458282, + "z": "ecab9296.c8bb5", "wires": [ [ - "7098be89.b1eb5" + "6fc8ce12.ffbf7" ] ] }, { - "id": "7098be89.b1eb5", + "id": "6fc8ce12.ffbf7", "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": 5860.296306610107, - "y": 2806.812624692917, - "z": "7108e868.a979d8", + "x": 5657.761577606201, + "y": 2763.7501180171967, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "afe80856.a1d1c8", + "id": "685257c1.dbd598", "type": "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": 5847.296413421631, - "y": 2941.812624692917, - "z": "7108e868.a979d8", + "x": 5644.761684417725, + "y": 2898.7501180171967, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "134f1599.6c4a8a", + "id": "1801c640.1eb6aa", "type": "block", "name": "SO Response", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 847.296875, - "y": 4527.812502622604, - "z": "7108e868.a979d8", + "x": 644.7621459960938, + "y": 4484.749995946884, + "z": "ecab9296.c8bb5", "wires": [ [ - "82904319.0efd1", - "5831ff8f.1496e", - "1d979743.441219", - "fa9893c6.512cc" + "2c6206d.6de70fa", + "1ddffe68.aee752", + "2cffaaba.2b0726", + "d4ac5731.8f4448" ] ] }, { - "id": "1d979743.441219", + "id": "2cffaaba.2b0726", "type": "set", "name": "set tmp variables for SO response", "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\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": 1127.2980194091797, - "y": 4377.711987257004, - "z": "7108e868.a979d8", + "x": 924.7632904052734, + "y": 4334.649480581284, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "82904319.0efd1", + "id": "2c6206d.6de70fa", "type": "record", "name": "record SO reply parms", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />", "comments": "", "outputs": 1, - "x": 1124.2968521118164, - "y": 4531.812685728073, - "z": "7108e868.a979d8", + "x": 921.7621231079102, + "y": 4488.750179052353, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "5831ff8f.1496e", + "id": "1ddffe68.aee752", "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='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>", + "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": 993.2969512939453, - "y": 4648.812390089035, - "z": "7108e868.a979d8", + "x": 790.7622222900391, + "y": 4605.749883413315, + "z": "ecab9296.c8bb5", "wires": [ [ - "a65f78fa.56f2d8", - "c50ac077.03657" + "a55efb74.e8f6e8", + "48bc51e1.3154e" ] ] }, { - "id": "a65f78fa.56f2d8", + "id": "a55efb74.e8f6e8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1158.2969512939453, - "y": 4628.812389135361, - "z": "7108e868.a979d8", + "x": 955.7622222900391, + "y": 4585.7498824596405, + "z": "ecab9296.c8bb5", "wires": [ [ - "a2576d09.489f3" + "d66ff12f.16632" ] ] }, { - "id": "c50ac077.03657", + "id": "48bc51e1.3154e", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1150.2968444824219, - "y": 4701.812339544296, - "z": "7108e868.a979d8", + "x": 947.7621154785156, + "y": 4658.749832868576, + "z": "ecab9296.c8bb5", "wires": [ [ - "e328c501.176f58" + "9a5e9c9.84c586" ] ] }, { - "id": "e328c501.176f58", + "id": "9a5e9c9.84c586", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1296.296688079834, - "y": 4706.812448263168, - "z": "7108e868.a979d8", + "x": 1093.7619590759277, + "y": 4663.749941587448, + "z": "ecab9296.c8bb5", "wires": [ [ - "6c9548b2.9d00a8" + "229f34c3.38d9cc" ] ] }, { - "id": "a2576d09.489f3", + "id": "d66ff12f.16632", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1307.2968521118164, - "y": 4624.812524557114, - "z": "7108e868.a979d8", + "x": 1104.7621231079102, + "y": 4581.750017881393, + "z": "ecab9296.c8bb5", "wires": [ [ - "97c6f5ad.db3368", - "7528351d.82c32c" + "95dd5894.9881e8", + "6e82bdb4.1291d4" ] ] }, { - "id": "97c6f5ad.db3368", + "id": "95dd5894.9881e8", "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": 1454.2964706420898, - "y": 4635.812266111374, - "z": "7108e868.a979d8", + "x": 1251.7617416381836, + "y": 4592.749759435654, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "6c9548b2.9d00a8", + "id": "229f34c3.38d9cc", "type": "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": 1457.2966079711914, - "y": 4712.812340497971, - "z": "7108e868.a979d8", + "x": 1254.7618789672852, + "y": 4669.74983382225, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "7528351d.82c32c", + "id": "6e82bdb4.1291d4", "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": 1441.8070793151855, - "y": 4539.801757574081, - "z": "7108e868.a979d8", + "x": 1239.2723503112793, + "y": 4496.739250898361, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "fa9893c6.512cc", + "id": "d4ac5731.8f4448", "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": 1146.636474609375, - "y": 4467.79783987999, - "z": "7108e868.a979d8", + "x": 944.1017456054688, + "y": 4424.735333204269, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "2db4eb44.da6004", + "id": "7f6e77c.a8aac88", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2548.8125, - "y": 1842.8125, - "z": "7108e868.a979d8", + "x": 2346.2777709960938, + "y": 1799.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "6181616d.f9638" + "d8f59417.85a648" ] ] }, { - "id": "6181616d.f9638", + "id": "d8f59417.85a648", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2741.802158355713, - "y": 1842.8126220703125, - "z": "7108e868.a979d8", + "x": 2539.2674293518066, + "y": 1799.7501153945923, + "z": "ecab9296.c8bb5", "wires": [ [ - "368a72f6.49333e", - "255bdee5.7c7202" + "d6105a5.b6d1ea8", + "222f51f0.5525ce" ] ] }, { - "id": "368a72f6.49333e", + "id": "d6105a5.b6d1ea8", "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": 3048.802345275879, - "y": 1809.81272315979, - "z": "7108e868.a979d8", + "x": 2846.2676162719727, + "y": 1766.7502164840698, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "255bdee5.7c7202", + "id": "222f51f0.5525ce", "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": 2992.802745819092, - "y": 1862.8129167556763, - "z": "7108e868.a979d8", + "x": 2790.2680168151855, + "y": 1819.750410079956, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "1be9da11.5515e6", + "id": "b5b52336.410c8", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2976.3125, - "y": 1226.8125, - "z": "7108e868.a979d8", + "x": 2773.7777709960938, + "y": 1183.7499933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "914f0a5c.a3eae8", - "a4bc1334.77552" + "c34315fa.1db498", + "6d09e853.849f08" ] ] }, { - "id": "a4bc1334.77552", + "id": "6d09e853.849f08", "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": 3227.312931060791, - "y": 1249.81263256073, - "z": "7108e868.a979d8", + "x": 3024.7782020568848, + "y": 1206.7501258850098, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "914f0a5c.a3eae8", + "id": "c34315fa.1db498", "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": 3283.312530517578, - "y": 1196.8124389648438, - "z": "7108e868.a979d8", + "x": 3080.777801513672, + "y": 1153.7499322891235, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "c7e85be4.6ec848", + "id": "af2d8803.1f17e8", "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": 3479.312641143799, - "y": 2323.8125944137573, - "z": "7108e868.a979d8", + "x": 3262.3337936401367, + "y": 2189.638879776001, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "9860039d.f6928", + "id": "5834fa69.5c6e14", "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": 3535.312240600586, - "y": 2270.812400817871, - "z": "7108e868.a979d8", + "x": 3320.5557708740234, + "y": 2146.6389694213867, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "53ef7019.7a1f9", + "id": "2e20d9b3.457fa6", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3228.31205368042, - "y": 2303.8122997283936, - "z": "7108e868.a979d8", + "x": 3036.8885040283203, + "y": 2148.527316093445, + "z": "ecab9296.c8bb5", "wires": [ [ - "9860039d.f6928", - "c7e85be4.6ec848" + "5834fa69.5c6e14", + "af2d8803.1f17e8" ] ] }, { - "id": "4555531e.6f353c", + "id": "e3bb4f1.511c9b", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3035.322395324707, - "y": 2303.812177658081, - "z": "7108e868.a979d8", + "x": 2872.7879180908203, + "y": 2148.5279393196106, + "z": "ecab9296.c8bb5", "wires": [ [ - "53ef7019.7a1f9" + "2e20d9b3.457fa6" ] ] }, { - "id": "40ea92ad.608b2c", + "id": "7e48e4bd.28eafc", "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": 2515.8125, - "y": 2879.8125, - "z": "7108e868.a979d8", + "x": 2313.2777709960938, + "y": 2836.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "9ec13137.5f236", + "id": "b8c91b91.bc1ed8", "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": 2571.812099456787, - "y": 2826.8123064041138, - "z": "7108e868.a979d8", + "x": 2369.277370452881, + "y": 2783.7497997283936, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "cec48822.0fc488", + "id": "3e7fc5f2.be339a", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2269.8121643066406, - "y": 2866.8122453689575, - "z": "7108e868.a979d8", + "x": 2050.6107215881348, + "y": 2779.305579185486, + "z": "ecab9296.c8bb5", "wires": [ [ - "9ec13137.5f236", - "40ea92ad.608b2c" + "b8c91b91.bc1ed8", + "7e48e4bd.28eafc" ] ] }, { - "id": "ea9d3f75.46bf6", + "id": "ec1ec2d5.64a1", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2295.8125, - "y": 3223.8125, - "z": "7108e868.a979d8", + "x": 2093.2777709960938, + "y": 3180.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "4c5f38d0.c0dbe8", - "408475cd.4bbdbc" + "22c23be2.23e954", + "132387bc.eb1048" ] ] }, { - "id": "4c5f38d0.c0dbe8", + "id": "22c23be2.23e954", "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": 2597.8124351501465, - "y": 3183.8125610351562, - "z": "7108e868.a979d8", + "x": 2395.2777061462402, + "y": 3140.750054359436, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "408475cd.4bbdbc", + "id": "132387bc.eb1048", "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": 2541.8128356933594, - "y": 3236.8127546310425, - "z": "7108e868.a979d8", + "x": 2339.278106689453, + "y": 3193.7502479553223, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "84a6a111.772e4", + "id": "daec73d6.40c28", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2068.3125, - "y": 3232.8125, - "z": "7108e868.a979d8", + "x": 1865.7777709960938, + "y": 3189.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "ea9d3f75.46bf6" + "ec1ec2d5.64a1" ] ] }, { - "id": "96bf52a5.a5094", + "id": "70e9bf72.db75d", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2605.3125, - "y": 3678.8125, - "z": "7108e868.a979d8", + "x": 2410.555721282959, + "y": 3613.5277214050293, + "z": "ecab9296.c8bb5", "wires": [ [ - "f833b9d4.5c52d8" + "8f68384b.4bdba8" ] ] }, { - "id": "f833b9d4.5c52d8", + "id": "8f68384b.4bdba8", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2832.8125, - "y": 3669.8125, - "z": "7108e868.a979d8", + "x": 2625.8333778381348, + "y": 3591.1944494247437, + "z": "ecab9296.c8bb5", "wires": [ [ - "56078e71.c09d6", - "da40eae9.0ed398" + "7f8b4700.95f468", + "92b538c5.19ca88" ] ] }, { - "id": "56078e71.c09d6", + "id": "7f8b4700.95f468", "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": 3134.8124351501465, - "y": 3629.8125610351562, - "z": "7108e868.a979d8", + "x": 2932.2777061462402, + "y": 3586.750054359436, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "da40eae9.0ed398", + "id": "92b538c5.19ca88", "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": 3078.8128356933594, - "y": 3682.8127546310425, - "z": "7108e868.a979d8", + "x": 2876.278106689453, + "y": 3639.7502479553223, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "e66f84d4.6add28", + "id": "21313198.fd408e", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3718.3125, - "y": 4661.8125, - "z": "7108e868.a979d8", + "x": 3515.7777709960938, + "y": 4618.74999332428, + "z": "ecab9296.c8bb5", "wires": [ [ - "260b2835.22a518", - "6e4be15c.f00f2" + "b8295417.a1dfa8", + "d6d6f49f.c6e468" ] ] }, { - "id": "260b2835.22a518", + "id": "b8295417.a1dfa8", "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": 4025.312530517578, - "y": 4631.812438964844, - "z": "7108e868.a979d8", + "x": 3822.777801513672, + "y": 4588.7499322891235, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "6e4be15c.f00f2", + "id": "d6d6f49f.c6e468", "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": 3969.312931060791, - "y": 4684.81263256073, - "z": "7108e868.a979d8", + "x": 3766.7782020568848, + "y": 4641.75012588501, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "5a933026.4d27b", + "id": "8c2e0cd.722b2f", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3615.0625, - "y": 5284.8125, - "z": "7108e868.a979d8", + "x": 3453.9564895629883, + "y": 5287.464415550232, + "z": "ecab9296.c8bb5", "wires": [ [ - "a8f05d38.a83c1" + "5c6cdb05.94d3d4" ] ] }, { - "id": "a8f05d38.a83c1", + "id": "5c6cdb05.94d3d4", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3782.062732696533, - "y": 5283.0620975494385, - "z": "7108e868.a979d8", + "x": 3585.2425689697266, + "y": 5314.285113334656, + "z": "ecab9296.c8bb5", "wires": [ [ - "4c48557d.0a3a9c", - "73416530.7efcdc" + "9b4abfa0.2e116", + "50af952f.c2746c" ] ] }, { - "id": "4c48557d.0a3a9c", + "id": "9b4abfa0.2e116", "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": 4029.0625495910645, - "y": 5250.0620975494385, - "z": "7108e868.a979d8", + "x": 3826.527820587158, + "y": 5206.999590873718, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "73416530.7efcdc", + "id": "50af952f.c2746c", "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": 3972.0630378723145, - "y": 5311.062463760376, - "z": "7108e868.a979d8", + "x": 3769.528308868408, + "y": 5267.999957084656, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "f56b6248.5a011", + "id": "f3ac1470.9f0a28", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 4115.0625, - "y": 5759.8125, - "z": "7108e868.a979d8", + "x": 3888.2421875, + "y": 5633.893160820007, + "z": "ecab9296.c8bb5", "wires": [ [ - "bbf06627.f3ed78" + "568823eb.c15dec" ] ] }, { - "id": "bbf06627.f3ed78", + "id": "568823eb.c15dec", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4282.062732696533, - "y": 5758.0620975494385, - "z": "7108e868.a979d8", + "x": 4046.671443939209, + "y": 5645.0000076293945, + "z": "ecab9296.c8bb5", "wires": [ [ - "5f9cb422.af919c", - "da32c67c.e299e8" + "808dce4b.d2c8d", + "81b47bd.3567288" ] ] }, { - "id": "5f9cb422.af919c", + "id": "808dce4b.d2c8d", "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": 4529.062549591064, - "y": 5725.0620975494385, - "z": "7108e868.a979d8", + "x": 4296.527542114258, + "y": 5607.714659690857, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "da32c67c.e299e8", + "id": "81b47bd.3567288", "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": 4472.063037872314, - "y": 5786.062463760376, - "z": "7108e868.a979d8", + "x": 4235.24259185791, + "y": 5657.285738945007, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "e20376cf.788968", + "id": "d966e0a4.06f35", "type": "comment", "name": "instantiateRANSlice-ModifyAllocate", "info": "", "comments": "", - "x": 1096.5625, - "y": 154.0625, - "z": "7108e868.a979d8", + "x": 783.0277557373047, + "y": 69.99999618530273, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "ed3c9a78.956f38", + "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": 293.298583984375, + "y": 1486.1041193008423, + "z": "ecab9296.c8bb5", "wires": [] }, { - "id": "f75f3c8b.be38f", + "id": "2fed7838.3e4478", + "type": "execute", + "name": "set sNSSAI", + "xml": "<set>\n<parameter name='tmp.sNSSAI' value='`$tmp.payload.sNSSAI`'/>\n", + "comments": "", + "outputs": 1, + "x": 727.0277404785156, + "y": 214.0000057220459, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "c7cf6a0a.7602d8", + "type": "set", + "name": "Calculate maxNumberOfConnsPercellCU * 100", + "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n", + "comments": "", + "x": 2209.7778491973877, + "y": 1675.2500095367432, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "1a62fde5.66d4f2", + "type": "set", + "name": "Calculate RRMPolicyRatio", + "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />", + "comments": "", + "x": 2161.7778491973877, + "y": 1713.2500095367432, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "286ddbec.57d7c4", + "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": 2196.0277576446533, + "y": 2002.250135421753, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "cb603df3.12a5a", + "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": 2662.0277576446533, + "y": 2075.000078201294, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "51b41b66.216574", + "type": "block", + "name": "Get Cells List in TA", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 482.27777099609375, + "y": 872.0000157356262, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "faf6dcc0.4a777", + "d2bb3cf4.20a25", + "3b9e8228.6b4d7e" + ] + ] + }, + { + "id": "faf6dcc0.4a777", + "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.configdb.getListOfCells`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getListOfCells.url\"/>\n <parameter name=\"target\" value=\"{trackingArea}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.trackingArea`\"/>", + "comments": "", + "outputs": 1, + "x": 758.7778930664062, + "y": 1000.4999394416809, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "d2bb3cf4.20a25", + "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/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB Get getListOfCells for tracking area\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getListOfCells.url`\" />\n<parameter name='field3' value=\"`$tmp.payload.trackingArea`\" />", + "comments": "", + "outputs": 1, + "x": 758.7779159545898, + "y": 1042.2502136230469, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "3b9e8228.6b4d7e", + "type": "execute", + "name": "Get ListOfCells for TrackingArea", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getListOfCells.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getListofCells-configdb-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": 744.2778930664062, + "y": 1094.0000925064087, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "822850d6.990ce", + "b3f26a14.d5d5c8" + ] + ] + }, + { + "id": "822850d6.990ce", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1074.2776184082031, + "y": 927.0001354217529, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "a262f43a.5283d8" + ] + ] + }, + { + "id": "b3f26a14.d5d5c8", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1068.2775421142578, + "y": 973.0001220703125, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "be9b511e.c44ae" + ] + ] + }, + { + "id": "be9b511e.c44ae", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1218.2772674560547, + "y": 974.0001683235168, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "73fca4fd.b7362c", + "e98da22b.3aff5", + "8fe33e85.79785" + ] + ] + }, + { + "id": "73fca4fd.b7362c", + "type": "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-configdb-response._length`\"/>\n<parameter name=\"field3\" value=\"List of Cells in the Tracking Area Relevant for RAN Slice Instantiation \"/>", + "comments": "", + "outputs": 1, + "x": 1407.277328491211, + "y": 887.0001220703125, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "8fe33e85.79785", + "type": "for", + "name": "For list of cells", + "xml": "<for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >", + "comments": "", + "outputs": 1, + "x": 1416.2984313964844, + "y": 924.6663513183594, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "2d309897.8f3dc8", + "93a840ae.96884" + ] + ] + }, + { + "id": "e98da22b.3aff5", "type": "execute", - "name": "read PLMNList size", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`\" />", + "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": 2322.4656295776367, - "y": 885.909752368927, - "z": "7108e868.a979d8", + "x": 1387.055648803711, + "y": 972.0001373291016, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "ab9b5a5f.7edca8", + "id": "2d309897.8f3dc8", + "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-configdb-response.[' + $idx + ']'`\" />", + "comments": "", + "outputs": 1, + "x": 1621.2982788085938, + "y": 874.3328857421875, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "93a840ae.96884", + "type": "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": 1574.2982788085938, + "y": 917.6662607192993, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "a262f43a.5283d8", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1235.2774963378906, + "y": 897.0000600814819, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "796502a3.c2f65c", + "8a99cf77.1c2c8" + ] + ] + }, + { + "id": "8a99cf77.1c2c8", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>", + "comments": "", + "x": 1494.2777099609375, + "y": 793.1111373901367, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "796502a3.c2f65c", + "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": 1479.2773742675781, + "y": 837.0001373291016, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "3fcfd799.26f778", "type": "for", - "name": "foreach PLMNInfo", - "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n", + "name": "foreach TACell", + "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n", "comments": "", "outputs": 1, - "x": 2337.0490646362305, - "y": 949.6597952842712, - "z": "7108e868.a979d8", + "x": 2084.361152648926, + "y": 951.3612060546875, + "z": "ecab9296.c8bb5", "wires": [ [ - "327234de.3a864c" + "fe79e9a1.bd9268" ] ] }, { - "id": "327234de.3a864c", + "id": "3adedaf9.ad7a56", + "type": "switchNode", + "name": "is cellCU applicable for NSSAI", + "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n", + "comments": "", + "outputs": 1, + "x": 2333.2777709960938, + "y": 886.4999933242798, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "14792223.bbe25e" + ] + ] + }, + { + "id": "14792223.bbe25e", + "type": "outcome", + "name": "Applicable", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2274.2777709960938, + "y": 959.4999933242798, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "882e7a80.d74e58" + ] + ] + }, + { + "id": "fe79e9a1.bd9268", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2514.9380416870117, - "y": 872.437584400177, - "z": "7108e868.a979d8", + "x": 2126.2777709960938, + "y": 786.4999933242798, + "z": "ecab9296.c8bb5", "wires": [ [ - "1a9da553.0446fb", - "ed323aec.b19e28", - "81e0ba30.914fd8" + "3adedaf9.ad7a56", + "4f62074b.7611d8", + "bdd0d419.d8f3f8" ] ] }, { - "id": "1a9da553.0446fb", + "id": "4f62074b.7611d8", + "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 +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />", + "comments": "", + "outputs": 1, + "x": 2452.2777709960938, + "y": 729.4999933242798, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "bdd0d419.d8f3f8", + "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": 2462.2777709960938, + "y": 794.4999933242798, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "c282a260.9d8de", "type": "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 - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n", + "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": 2720.827003479004, - "y": 895.6597666740417, - "z": "7108e868.a979d8", + "x": 2607.472267150879, + "y": 2319.6111402511597, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "ed323aec.b19e28", - "type": "switchNode", - "name": "is NSSAI exists", - "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n", + "id": "b3c3cf99.6f492", + "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": 2892.194320678711, + "y": 2185.444308280945, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "8f54fffc.9c001", + "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": 2886.7497787475586, + "y": 2215.4445486068726, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "148d5e51.205352", + "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": 2897.472396850586, + "y": 2248.777892112732, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "8f418c29.a17f4", + "type": "set", + "name": "set API params", + "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\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": 1985.0001029968262, + "y": 2250.4444789886475, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "ca3912f.d1798f", + "type": "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": 1971.4999504089355, + "y": 2292.6666173934937, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "29ac3d55.731702", + "type": "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": 1955.2152709960938, + "y": 2207.24999332428, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "ecf0eb94.11b9d8", + "type": "execute", + "name": "get PLMNId URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.sliceProfileId`\"/>", "comments": "", "outputs": 1, - "x": 2759.7158432006836, - "y": 960.2153334617615, - "z": "7108e868.a979d8", + "x": 761.4652709960938, + "y": 393.1874933242798, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "83908c36.67ca7", + "type": "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 PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n", + "comments": "", + "outputs": 1, + "x": 734.9653396606445, + "y": 436.1875276565552, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "af70e055.a55d3", + "type": "execute", + "name": "Get PLMN from Sliceprofile id", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-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": 802.7152709960938, + "y": 479.1874809265137, + "z": "ecab9296.c8bb5", "wires": [ [ - "7dcede1.de3672" + "16b504ec.cfbb6b", + "787f632a.4559bc" ] ] }, { - "id": "7dcede1.de3672", - "type": "outcome", - "name": "True", - "xml": "<outcome value='true'>\n", + "id": "1b3d2270.9f737e", + "type": "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.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>", + "comments": "", + "outputs": 1, + "x": 748.2088241577148, + "y": 638.6809701919556, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "6c2905b1.5d124c", + "type": "execute", + "name": "find MCC", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />", + "comments": "", + "outputs": 1, + "x": 743.7152709960938, + "y": 559.4376137256622, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "3abeea9c.1b2eb6", + "type": "execute", + "name": "find MNC", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />", + "comments": "", + "outputs": 1, + "x": 747.4653472900391, + "y": 596.6874465942383, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "ade269f7.3d78c8", + "type": "block", + "name": "get PLMNId", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 496.4652786254883, + "y": 503.1874990463257, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "ecf0eb94.11b9d8", + "83908c36.67ca7", + "af70e055.a55d3", + "6c2905b1.5d124c", + "3abeea9c.1b2eb6", + "1b3d2270.9f737e", + "cea464b4.22b448" + ] + ] + }, + { + "id": "cea464b4.22b448", + "type": "set", + "name": "set PLMNId", + "xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-configdb-response.plmnId`'/>", + "comments": "", + "x": 759.9028282165527, + "y": 517.875, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "16b504ec.cfbb6b", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1040.2152709960938, + "y": 484.4374933242798, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "29352de3.1f0e32" + ] + ] + }, + { + "id": "29352de3.1f0e32", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", "comments": "", "outputs": 1, - "x": 2949.1880416870117, - "y": 960.437662601471, - "z": "7108e868.a979d8", + "x": 1213.215072631836, + "y": 473.43756580352783, + "z": "ecab9296.c8bb5", "wires": [ [ - "d5711de.7d20ee" + "3bc43a09.4c5556", + "d5e7d38e.57b25" ] ] }, { - "id": "81e0ba30.914fd8", + "id": "3bc43a09.4c5556", + "type": "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 PLMNId info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getPLMN-configdb-response`\"/>", + "comments": "", + "outputs": 1, + "x": 1413.96480178833, + "y": 473.18759059906006, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "d5e7d38e.57b25", "type": "execute", - "name": "read sNSSAI from getNFNSSIRIC-configdb-response", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />", + "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": 1449.7430152893066, + "y": 516.4375991821289, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "295dcd8f.d34882", + "type": "set", + "name": "set API params", + "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfo-configdb-response.rrmPolicyID`'/>\n<parameter name='tmp.resourceID' value='`$tmp.cellCULocalId`'/>", + "comments": "", + "x": 2020.8404083251953, + "y": 2510.0625562667847, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "e67c1235.a668b", + "type": "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.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": 2849.8268966674805, - "y": 827.6598153114319, - "z": "7108e868.a979d8", + "x": 1986.0902366638184, + "y": 2561.0345702171326, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "9075c0f5.a64f5", + "id": "4639f97.7feb608", "type": "execute", - "name": "read PLMNList size", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`\" />", + "name": "generate getRRMPolicyRatio URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getRRMPolicyRatio`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceType}\"/>\n <parameter name=\"replacement\" value=\"RRC Connected Users\"/>", "comments": "", "outputs": 1, - "x": 2445.3125, - "y": 4357.8125, - "z": "7108e868.a979d8", + "x": 2069.249984741211, + "y": 2369.0556211471558, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "db078c99.82cd6", - "type": "for", - "name": "foreach PLMNInfo", - "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n", + "id": "30531c3.32959e4", + "type": "execute", + "name": "Get rrmPolicy by resourceid", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfo-configdb-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": 2071.638687133789, + "y": 2473.2220945358276, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "41528a78.b36974", + "d30b0dd8.157b5" + ] + ] + }, + { + "id": "79add8fe.1d3c58", + "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": 2024.8054656982422, + "y": 2398.222234725952, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "41528a78.b36974", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 2375.3610229492188, + "y": 2524.055413246155, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "8c18dc3c.f60c2" + ] + ] + }, + { + "id": "d30b0dd8.157b5", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 2379.47208404541, + "y": 2569.2777161598206, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "ac147d54.4bfb7" + ] + ] + }, + { + "id": "8c18dc3c.f60c2", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2527.3613147735596, + "y": 2522.055393218994, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "c1d90c31.c6d7f", + "5505e414.d72ebc" + ] + ] + }, + { + "id": "5505e414.d72ebc", + "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": 2693.3610706329346, + "y": 2488.055393218994, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "c1d90c31.c6d7f", + "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": 2721.694534301758, + "y": 2520.833411216736, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "71c39fca.ccb7c", + "type": "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": 2697.250015258789, + "y": 2552.055764198303, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "742be788.ee2cd8", + "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": 2795.472183227539, + "y": 2578.3888597488403, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "ac147d54.4bfb7", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2534.0276794433594, + "y": 2572.944191932678, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "71c39fca.ccb7c", + "742be788.ee2cd8" + ] + ] + }, + { + "id": "5b1ca906.eba328", + "type": "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": 2009.2499389648438, + "y": 2442.38866519928, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "69ec533e.600d9c", + "type": "set", + "name": "Calculate maxNumberOfDRBsPerNSSAI", + "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />", + "comments": "", + "x": 1756.7499542236328, + "y": 2992.6668615341187, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "14b3dc4d.71ca44", + "type": "set", + "name": "Calculate maxNumberOfDRBsPerCUUP", + "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />", + "comments": "", + "x": 1765.6388092041016, + "y": 3027.1108541488647, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "d4cbbf53.53515", + "type": "set", + "name": "Calculate RRMPolicyRatio", + "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />", + "comments": "", + "x": 1716.7499465942383, + "y": 3098.222252845764, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "a36cc0c6.861ae", + "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": 1703.1388549804688, + "y": 2843.499749183655, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "2ff98ab1.8da426", + "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": 1712.027847290039, + "y": 2879.722228050232, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "46dc7d95.4c06c4", + "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": 1714.9168548583984, + "y": 2915.722222328186, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "323b9ab7.0a7686", + "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": 2238.9720458984375, + "y": 3497.9442110061646, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "91bdd1cb.225b5", + "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": 2239.527847290039, + "y": 3697.9441614151, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "4c95d3de.dafcac", + "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": 2242.5831909179688, + "y": 3627.94432926178, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "304737db.ae6f58", + "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": 1700.0277252197266, + "y": 3408.944493293762, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "74f76f8.3409a9", + "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": 2221.7499771118164, + "y": 3664.610743522644, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "e0eae9af.e47b18", + "type": "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": 1888.5902709960938, + "y": 3744.74999332428, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "aaab029a.73315", + "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.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='payloadJson.input.sliceProfile.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n ", + "comments": "", + "x": 1918.3751029968262, + "y": 3787.9444789886475, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "197ebca7.656673", + "type": "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": 1904.8749504089355, + "y": 3830.1666173934937, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "d0d818c6.4b2608", + "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.configdb.getRRMPolicyRatio`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceType}\"/>\n <parameter name=\"replacement\" value=\"DRB\"/>", + "comments": "", + "outputs": 1, + "x": 1984.6666107177734, + "y": 3938.9514265060425, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "27aaafdc.f134", + "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": 2423.6458740234375, - "y": 4427.8125, - "z": "7108e868.a979d8", + "x": 1936.8887100219727, + "y": 3982.562382698059, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "28f0e3bf.db6d3c", + "type": "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": 1900.2222518920898, + "y": 4020.0623922348022, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "7153e6fc.a20688", + "type": "execute", + "name": "Get rrmPolicy by resourceid", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfo-cuup-configdb-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": 1963.7220840454102, + "y": 4059.784499168396, + "z": "ecab9296.c8bb5", "wires": [ [ - "790d6865.84f598" + "5d347054.f7c5a", + "f89ac2d4.50c37" ] ] }, { - "id": "790d6865.84f598", + "id": "3d2034c9.c91a4c", + "type": "set", + "name": "set API params", + "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfo-cuup-configdb-response.rrmPolicyID`'/>\n<parameter name='tmp.resourceID' value='`$tmp.idGNBCUUPFunction`'/>", + "comments": "", + "x": 1922.9238739013672, + "y": 4103.291432380676, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "4a3e020d.51ae0c", + "type": "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": 1895.9513473510742, + "y": 4162.041583061218, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "5d347054.f7c5a", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 2286.8889656066895, + "y": 4008.8122987747192, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "2173ce6d.d1fb72" + ] + ] + }, + { + "id": "2173ce6d.d1fb72", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2609.0346603393555, - "y": 4421.8402099609375, - "z": "7108e868.a979d8", + "x": 2435.1391830444336, + "y": 4016.812481880188, + "z": "ecab9296.c8bb5", "wires": [ [ - "31b6396b.687da6", - "d7e5ca37.7359c8", - "fdf60abf.fb88a8" + "47c101.94aa2f", + "a17e37ba.d1f118" ] ] }, { - "id": "fdf60abf.fb88a8", + "id": "a17e37ba.d1f118", + "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": 2622.3890018463135, + "y": 3996.56254196167, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "47c101.94aa2f", + "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": 2640.7224044799805, + "y": 4039.340558052063, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "ce6218de.e91bd8", "type": "execute", - "name": "read sNSSAI from getNFNSSIRIC-configdb-response", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />", + "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": 2975.173667907715, - "y": 4307.062685012817, - "z": "7108e868.a979d8", + "x": 2704.4999923706055, + "y": 4103.145795822144, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "31b6396b.687da6", + "id": "d0f0843d.d984f8", "type": "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 - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n", + "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": 2844.923667907715, - "y": 4375.062562942505, - "z": "7108e868.a979d8", + "x": 2646.277858734131, + "y": 4069.3127870559692, + "z": "ecab9296.c8bb5", "wires": [ [] ] }, { - "id": "d7e5ca37.7359c8", + "id": "424ea0ba.7617a", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2450.5554428100586, + "y": 4097.701459884644, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "d0f0843d.d984f8", + "ce6218de.e91bd8" + ] + ] + }, + { + "id": "f89ac2d4.50c37", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 2280.444580078125, + "y": 4080.284736633301, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "424ea0ba.7617a" + ] + ] + }, + { + "id": "2e61752a.3c32aa", + "type": "block", + "name": "block", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2057.027587890625, + "y": 4452.9441385269165, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "2cd3b5f5.23ff3a" + ] + ] + }, + { + "id": "2cd3b5f5.23ff3a", + "type": "for", + "name": "foreach TACell", + "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n", + "comments": "", + "outputs": 1, + "x": 2243.0000228881836, + "y": 4452.889126777649, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "c05eb786.188d58" + ] + ] + }, + { + "id": "c05eb786.188d58", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2443.8053283691406, + "y": 4454.694352149963, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "91f4eff5.01fd4", + "c929fc4b.7fe69", + "a294df58.248b4" + ] + ] + }, + { + "id": "c929fc4b.7fe69", + "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": 2725.361053466797, + "y": 4281.027560830116, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "a294df58.248b4", + "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": 2728.694381713867, + "y": 4322.694230079651, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "91f4eff5.01fd4", "type": "switchNode", - "name": "is NSSAI exists", - "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n", + "name": "is cellCU applicable for NSSAI", + "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n", "comments": "", "outputs": 1, - "x": 2840.06258392334, - "y": 4448.3682289123535, - "z": "7108e868.a979d8", + "x": 2688.583137512207, + "y": 4365.805629566312, + "z": "ecab9296.c8bb5", "wires": [ [ - "46572f40.c306d" + "375d9009.4414e" ] ] }, { - "id": "46572f40.c306d", + "id": "375d9009.4414e", "type": "outcome", - "name": "True", + "name": "Applicable", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3009.5347213745117, - "y": 4474.840398788452, - "z": "7108e868.a979d8", + "x": 2926.2499084472656, + "y": 4369.916241645813, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "8ca9297e.0bb688" + ] + ] + }, + { + "id": "517677f0.6d4018", + "type": "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": 3221.6705932617188, + "y": 5150.64305973053, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "9f04c1f2.bf256", + "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": 3235.9565811157227, + "y": 5494.571227073669, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "16cb87b2.5be1d8", + "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": 3743.456588745117, + "y": 5519.21413898468, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "52ba99b7.987b88", + "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": 3706.6710357666016, + "y": 5642.785704612732, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "4ff78ad7.0a8bd4", + "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": 3712.384979248047, + "y": 5735.285477638245, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "8d0864dd.8c8528", + "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": 3879.1705932617188, + "y": 5674.92870426178, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "63a19143.589a9", + "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": 3872.0277709960938, + "y": 5706.35692691803, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "8e869cc0.cfb58", + "type": "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": 3202.7777709960938, + "y": 5382.99999332428, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "e4ce6413.ed6fd8", + "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.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>\n ", + "comments": "", + "x": 3322.4027709960938, + "y": 5816.56249332428, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "8e49b3c8.74b25", + "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.configdb.getRRMPolicyRatio`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceType}\"/>\n <parameter name=\"replacement\" value=\"PRB\"/>", + "comments": "", + "outputs": 1, + "x": 3389.9027709960938, + "y": 5950.93749332428, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "ee5b9b09.ca97c8", + "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": 3348.458282470703, + "y": 5990.10395526886, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "176390ef.cbac9f", + "type": "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": 3329.9027252197266, + "y": 6024.270537376404, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "48796b63.39bec4", + "type": "execute", + "name": "Get rrmPolicy by resourceid", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfoDU-configdb-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": 3392.291473388672, + "y": 6055.103966712952, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "82eba9bc.600fa8", + "e4549693.a57628" + ] + ] + }, + { + "id": "82eba9bc.600fa8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3696.0138092041016, + "y": 6105.937285423279, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "4230df12.02c06" + ] + ] + }, + { + "id": "4230df12.02c06", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3848.0141010284424, + "y": 6103.937265396118, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "4d5d2a4c.3e1c64", + "2aa87dd5.bc2d82" + ] + ] + }, + { + "id": "2aa87dd5.bc2d82", + "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": 4014.0138568878174, + "y": 6069.937265396118, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "4d5d2a4c.3e1c64", + "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": 4042.3473205566406, + "y": 6102.71528339386, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "ccd58b56.7508b8", + "type": "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": 4017.902801513672, + "y": 6133.937636375427, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "644df9cc.25e248", + "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": 4116.124969482422, + "y": 6160.270731925964, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "c9dddcc2.c2163", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3854.680465698242, + "y": 6154.826064109802, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "ccd58b56.7508b8", + "644df9cc.25e248" + ] + ] + }, + { + "id": "e4549693.a57628", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3700.124870300293, + "y": 6151.159588336945, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "c9dddcc2.c2163" + ] + ] + }, + { + "id": "3087ba3a.ed4566", + "type": "set", + "name": "set API params", + "xml": "<set>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfoDU-configdb-response.rrmPolicyID`'/>\n<parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>", + "comments": "", + "x": 3341.493194580078, + "y": 6091.944428443909, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "68990179.2bf66", + "type": "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": 3306.743022918701, + "y": 6142.916442394257, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "89e3c3a4.70c62", + "type": "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": 3308.902618408203, + "y": 5858.784631729126, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "d0d24863.8121f8", + "type": "block", + "name": "get coverageAreaTAList", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 496.27777099609375, + "y": 700.7499809265137, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "892d9ba0.af4bf8", + "f123c975.195038", + "19b64655.2401aa", + "70150931.91cfa8", + "c28b4d37.26d9", + "b4a6eeb6.15b65", + "e507ae6f.0ca78" + ] + ] + }, + { + "id": "892d9ba0.af4bf8", + "type": "execute", + "name": "prepare URL", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.aai.fetchSliceProfile`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{global-customer-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.globalCustomerId`\"/>", + "comments": "", + "outputs": 1, + "x": 764.2777786254883, + "y": 686.9999961853027, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "c28b4d37.26d9", + "type": "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 coverageAreaTAList URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n\n", + "comments": "", + "outputs": 1, + "x": 788.77783203125, + "y": 842.000165939331, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "f123c975.195038", + "type": "execute", + "name": "prepare serviceType", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{service-type}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.serviceType`\"/>\n", + "comments": "", + "outputs": 1, + "x": 784.7777709960938, + "y": 724.4999942779541, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "19b64655.2401aa", + "type": "execute", + "name": "prepare service-instance-id", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.RANNFNSSIId`\"/>\n", + "comments": "", + "outputs": 1, + "x": 782.7777709960938, + "y": 763.4999942779541, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "70150931.91cfa8", + "type": "execute", + "name": "prepare profile-id", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{profile-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.sliceProfileId`\"/>\n", + "comments": "", + "outputs": 1, + "x": 787.7777709960938, + "y": 801.4999942779541, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "efd6d90c.fb6e68", + "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": 1444.7779235839844, + "y": 585.0000038146973, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "7a9d2dcb.42c724", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>", + "comments": "", + "x": 1444.7782287597656, + "y": 549.1110191345215, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "963cd407.589818", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1199.7778778076172, + "y": 511.9999189376831, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "efd6d90c.fb6e68", + "7a9d2dcb.42c724" + ] + ] + }, + { + "id": "787f632a.4559bc", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1038.7780151367188, + "y": 533.9999923706055, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "963cd407.589818" + ] + ] + }, + { + "id": "b4a6eeb6.15b65", + "type": "execute", + "name": "invoke API", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.org.onap.ccsdk.sli.adaptors.aai.uri + $tmp.aai.fetchSliceProfile.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-coverageAreaTAList-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": 821.0277862548828, + "y": 879.9999837875366, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "66ca8354.c0068c", + "e508608e.0352f" + ] + ] + }, + { + "id": "66ca8354.c0068c", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1058.5278015136719, + "y": 673.2500448226929, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "5dfce11f.c3cec" + ] + ] + }, + { + "id": "5dfce11f.c3cec", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1226.5275421142578, + "y": 665.2502279281616, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "8de7df6e.15597", + "3f2fbfdf.2aa34" + ] + ] + }, + { + "id": "8de7df6e.15597", + "type": "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 coverageAreaTAList\"/>\n<parameter name=\"field2\" value=\"`$get-coverageAreaTAList-response`\"/>", + "comments": "", + "outputs": 1, + "x": 1398.2772979736328, + "y": 666.0001964569092, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "3f2fbfdf.2aa34", + "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": 1426.0554809570312, + "y": 707.2501668930054, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "34fcf10d.3494ae", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from AAI. Aborting RPC executiopn'/>", + "comments": "", + "x": 1394.0907592773438, + "y": 747.9235363006592, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "f822f9e7.eb42a8", + "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": 1340.0904235839844, + "y": 792.8125143051147, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "5bdee52e.a5383c", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1217.0903778076172, + "y": 719.8124837875366, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "f822f9e7.eb42a8", + "34fcf10d.3494ae" + ] + ] + }, + { + "id": "e508608e.0352f", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1068.0905456542969, + "y": 718.8125286102295, + "z": "ecab9296.c8bb5", "wires": [ [ - "2e0cb657.fa72aa" + "5bdee52e.a5383c" ] ] }, { - "id": "2d9b1779.25da68", + "id": "ea194ca9.b5136", + "type": "execute", + "name": "set globalCustomerId", + "xml": "<set>\n<parameter name='tmp.payload.globalCustomerId' value='`$payloadJson.input.globalCustomerId`'/>\n", + "comments": "", + "outputs": 1, + "x": 721.2777786254883, + "y": 127.7499930858612, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "38665c6f.b68994", + "type": "execute", + "name": "set serviceType", + "xml": "<set>\n<parameter name='tmp.serviceType' value='`$payloadJson.input.serviceType`'/>\n", + "comments": "", + "outputs": 1, + "x": 726.2777709960938, + "y": 165.7499942779541, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "e507ae6f.0ca78", + "type": "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.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>", + "comments": "", + "outputs": 1, + "x": 782.2777709960938, + "y": 929.4999942779541, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "7d0cab41.5d62e4", + "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": 878.5277709960938, + "y": 4211.24999332428, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "8dfc5bef.c5fd18", + "f2e75191.d32ee" + ] + ] + }, + { + "id": "759313f.9d96dec", + "type": "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": 847.777759552002, + "y": 3992.749984741211, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "8dfc5bef.c5fd18", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1114.528429031372, + "y": 4165.250351905823, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "bf86086a.86c988" + ] + ] + }, + { + "id": "bf86086a.86c988", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1254.5287475585938, + "y": 4173.25022983551, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "7e19d8f9.fe3008", + "bd21f51e.fa5d18" + ] + ] + }, + { + "id": "bd21f51e.fa5d18", + "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": 1389.5284423828125, + "y": 4139.361741065979, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "7e19d8f9.fe3008", + "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": 1443.5281677246094, + "y": 4176.2502908706665, + "z": "ecab9296.c8bb5", + "wires": [] + }, + { + "id": "4fdaf51a.7597fc", + "type": "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 in ConfigDB\"/>", + "comments": "", + "outputs": 1, + "x": 1462.528419494629, + "y": 4228.250478744507, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "75deb288.c5307c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2230.3125610351562, - "y": 4495.312624931335, - "z": "7108e868.a979d8", + "x": 1276.5281715393066, + "y": 4244.250234603882, + "z": "ecab9296.c8bb5", "wires": [ [ - "9075c0f5.a64f5", - "db078c99.82cd6" + "4fdaf51a.7597fc", + "dd5a532a.31de7" ] ] }, { - "id": "f0e433f3.dc406", - "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\" />", + "id": "f2e75191.d32ee", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1118.5283813476562, + "y": 4245.2499895095825, + "z": "ecab9296.c8bb5", + "wires": [ + [ + "75deb288.c5307c" + ] + ] + }, + { + "id": "b2bbe86b.51d5b8", + "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": 495.83331298828125, - "y": 1529.1666259765625, - "z": "7108e868.a979d8", + "x": 838.5277709960938, + "y": 4080.49999332428, + "z": "ecab9296.c8bb5", "wires": [] + }, + { + "id": "d815d930.ba6bb8", + "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": 3195.2777709960938, + "y": 5041.49999332428, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "bbd1f9a3.442938", + "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": 1749.5277709960938, + "y": 3267.24999332428, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] + }, + { + "id": "2cf8049f.4b337c", + "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": 2274.5277709960938, + "y": 1591.4999933242798, + "z": "ecab9296.c8bb5", + "wires": [ + [] + ] } ]
\ No newline at end of file |