[
{
- "id": "3b8c8e4f.bf0c22",
+ "id": "c2214eca.623e8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 180.515625,
- "y": 106.99999737739563,
- "z": "902b25ae.7c3098",
+ "x": 153.75,
+ "y": 94.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "300a4138.2b73ce"
+ "600add00.afd854"
]
]
},
{
- "id": "300a4138.2b73ce",
+ "id": "600add00.afd854",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
"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": 265.5156478881836,
- "y": 173.9999668598175,
- "z": "902b25ae.7c3098",
+ "x": 238.7500228881836,
+ "y": 161.74996948242188,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "319ddc75.048fa4"
+ "d37ef6e2.d6e948"
]
]
},
{
- "id": "319ddc75.048fa4",
+ "id": "d37ef6e2.d6e948",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceModifyAllocate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 199.515625,
- "y": 233.99993252754211,
- "z": "902b25ae.7c3098",
+ "x": 172.75,
+ "y": 221.74993515014648,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "780aaef3.c25c3"
+ "bf5a7218.9ca67"
]
]
},
{
- "id": "780aaef3.c25c3",
+ "id": "bf5a7218.9ca67",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 195.51561737060547,
- "y": 294.99996876716614,
- "z": "902b25ae.7c3098",
+ "x": 168.74999237060547,
+ "y": 282.7499713897705,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "1c87291.bc810d7",
- "12550505.ebf38b",
- "8678e40c.1e7878",
- "b7595db7.c2521"
+ "e991f90b.810598",
+ "af8420d.b3d6ae",
+ "4524ca88.520da4",
+ "61db22e5.255cbc",
+ "78a0519c.a4047",
+ "a145c709.8db1e8",
+ "d21a5ac4.809de8",
+ "cd6c9239.1fbb9",
+ "69b6790d.7ed958"
]
]
},
{
- "id": "1c87291.bc810d7",
+ "id": "e991f90b.810598",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 453.51560974121094,
- "y": 296.9999897480011,
- "z": "902b25ae.7c3098",
+ "x": 435.75,
+ "y": 273.75000977516174,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "9bb6d9c5.4cbba8",
- "5bfbb383.aeafdc",
- "74c6cd69.a2c764"
+ "ac6387f5.a3ebe8",
+ "97c44ba4.d46ac8",
+ "ae1e812b.c4829"
]
]
},
{
- "id": "9bb6d9c5.4cbba8",
+ "id": "ac6387f5.a3ebe8",
"type": "execute",
- "name": "generate getNearRTRICsFromTrackingArea URL",
+ "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": 785.5156097412109,
- "y": 294.9999897480011,
- "z": "902b25ae.7c3098",
+ "x": 771.25,
+ "y": 237.75001335144043,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "5bfbb383.aeafdc",
+ "id": "97c44ba4.d46ac8",
"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": 739.5156097412109,
- "y": 365.9999897480011,
- "z": "902b25ae.7c3098",
+ "x": 730.2500076293945,
+ "y": 277.49999809265137,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "74c6cd69.a2c764",
+ "id": "ae1e812b.c4829",
"type": "execute",
- "name": "Get nearRTRIC for TrackingArea",
+ "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": 740.5156707763672,
- "y": 427.0000126361847,
- "z": "902b25ae.7c3098",
+ "x": 741.2500762939453,
+ "y": 321.00000381469727,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "16423873.e85ff8",
- "a4bb2894.bd3428"
+ "b3ce1314.75bca",
+ "16e0c918.bded57"
]
]
},
{
- "id": "16423873.e85ff8",
+ "id": "b3ce1314.75bca",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1018.3337135314941,
- "y": 521.8180477619171,
- "z": "902b25ae.7c3098",
+ "x": 991.5682373046875,
+ "y": 349.56809997558594,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "4a234252.04e8cc"
+ "c57d75b1.965518"
]
]
},
{
- "id": "4a234252.04e8cc",
+ "id": "c57d75b1.965518",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1196.3335704803467,
- "y": 520.8181889057159,
- "z": "902b25ae.7c3098",
+ "x": 1164.5680389404297,
+ "y": 338.568172454834,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "c0caeb39.96b388",
- "2e41434a.231d7c"
+ "70a82c0c.c63b54",
+ "eda2ccb1.01fd2"
]
]
},
{
- "id": "c0caeb39.96b388",
+ "id": "70a82c0c.c63b54",
"type": "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": 1358.3333740234375,
- "y": 516.8181736469269,
- "z": "902b25ae.7c3098",
+ "x": 1365.3177680969238,
+ "y": 338.3181972503662,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "2e41434a.231d7c",
+ "id": "eda2ccb1.01fd2",
"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": 1349.1116180419922,
- "y": 583.8181660175323,
- "z": "902b25ae.7c3098",
+ "x": 1401.0959815979004,
+ "y": 381.56820583343506,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "a4bb2894.bd3428",
+ "id": "16e0c918.bded57",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1041.333698272705,
- "y": 422.81815552711487,
- "z": "902b25ae.7c3098",
+ "x": 1002.0680961608887,
+ "y": 298.06814193725586,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "1d5b117.5d697ef"
+ "6b014921.1b60f8"
]
]
},
{
- "id": "1d5b117.5d697ef",
+ "id": "6b014921.1b60f8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1246.333740234375,
- "y": 371.8181965351105,
- "z": "902b25ae.7c3098",
+ "x": 1160.8181762695312,
+ "y": 272.0682134628296,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "91ffd869.9026d8",
- "4a65a227.e809dc"
+ "33f8b69c.fe17ca",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "91ffd869.9026d8",
+ "id": "33f8b69c.fe17ca",
"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": 1360.333438873291,
- "y": 296.9292366504669,
- "z": "902b25ae.7c3098",
+ "x": 1333.567813873291,
+ "y": 284.6792392730713,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "12550505.ebf38b",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 454.51558685302734,
- "y": 494.81813740730286,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "84400027.7f1a4",
- "34041c26.75a804",
- "4d0977fb.4d5e28"
- ]
- ]
- },
- {
- "id": "8678e40c.1e7878",
+ "id": "f23f4f55.9af9e",
"type": "for",
"name": "foreach NearRTRIC",
"xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
"comments": "",
"outputs": 1,
- "x": 352.515625,
- "y": 930.8181736469269,
- "z": "902b25ae.7c3098",
+ "x": 295.75003814697266,
+ "y": 1383.5682691931725,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "341b2541.3901ca",
- "8d74913d.1ed4a",
- "a89b6c52.c4e5f",
- "a4ae7afd.757af8"
+ "c47e19b.f4a92e8",
+ "31028ad.cbf1876",
+ "8c761aa1.edcbf8",
+ "6de42e11.dd96f"
]
]
},
{
- "id": "341b2541.3901ca",
+ "id": "c47e19b.f4a92e8",
"type": "block",
"name": "Process NearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 646.4246826171875,
- "y": 924.7272922992706,
- "z": "902b25ae.7c3098",
+ "x": 621.659065246582,
+ "y": 1177.477334022522,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "5a68d7d0.bc3668",
- "c32af15a.ef3ed",
- "4b7e49a5.2cc928",
- "11145333.704b8d",
- "6b8ed864.5e50a8",
- "b3969406.3a24e8"
+ "2bc2b5ac.4905fa",
+ "ee72f394.00f5e",
+ "eb0e5c5d.91e2a",
+ "53adb8ae.4e7e08",
+ "65560fbc.8618",
+ "f0ab8d12.bcb86",
+ "36b7a424.f750bc"
]
]
},
{
- "id": "5a68d7d0.bc3668",
+ "id": "2bc2b5ac.4905fa",
"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": 1107.0610809326172,
- "y": 891.7273094654083,
- "z": "902b25ae.7c3098",
+ "x": 796.2956314086914,
+ "y": 610.4773855209351,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "c32af15a.ef3ed",
+ "id": "ee72f394.00f5e",
"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": 1084.0610694885254,
- "y": 952.7273361682892,
- "z": "902b25ae.7c3098",
+ "x": 806.2956161499023,
+ "y": 648.4775915145874,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "4b7e49a5.2cc928",
+ "id": "eb0e5c5d.91e2a",
"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": 1265.4247436523438,
- "y": 1076.5454685688019,
- "z": "902b25ae.7c3098",
+ "x": 983.6591644287109,
+ "y": 728.2955236434937,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "11145333.704b8d",
+ "id": "53adb8ae.4e7e08",
"type": "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": 1089.333740234375,
- "y": 1139.5455296039581,
- "z": "902b25ae.7c3098",
+ "x": 827.568151473999,
+ "y": 764.2955856323242,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "6b8ed864.5e50a8",
+ "id": "65560fbc.8618",
"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": 1185.3338012695312,
- "y": 1186.4545872211456,
- "z": "902b25ae.7c3098",
+ "x": 1124.5682373046875,
+ "y": 1170.2045831680298,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "399aec86.c71a14",
- "391cd726.235188"
+ "d9ac93de.d4d2c",
+ "e347c8e.fbed538"
]
]
},
{
- "id": "399aec86.c71a14",
+ "id": "d9ac93de.d4d2c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1511.333740234375,
- "y": 1150.2726414203644,
- "z": "902b25ae.7c3098",
+ "x": 1484.568115234375,
+ "y": 1138.0226440429688,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "fccfcd5d.bad1a"
+ "ee0d365.2541bc8"
]
]
},
{
- "id": "fccfcd5d.bad1a",
+ "id": "ee0d365.2541bc8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1643.3338623046875,
- "y": 1112.2726414203644,
- "z": "902b25ae.7c3098",
+ "x": 1616.5682373046875,
+ "y": 1100.0226440429688,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "c6f516af.336bd8",
- "6d47a350.b8788c"
+ "b256d08f.f16bc",
+ "fb679858.5bfee8"
]
]
},
{
- "id": "6d47a350.b8788c",
+ "id": "fb679858.5bfee8",
"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": 1832.3336181640625,
- "y": 1059.3836643695831,
- "z": "902b25ae.7c3098",
+ "x": 1805.5679931640625,
+ "y": 1047.1336669921875,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "c6f516af.336bd8",
+ "id": "b256d08f.f16bc",
"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": 1840.3336181640625,
- "y": 1159.2727024555206,
- "z": "902b25ae.7c3098",
+ "x": 1813.5679931640625,
+ "y": 1147.022705078125,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "391cd726.235188",
+ "id": "e347c8e.fbed538",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1509.15185546875,
- "y": 1250.1817600727081,
- "z": "902b25ae.7c3098",
+ "x": 1482.38623046875,
+ "y": 1237.9317626953125,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "35513f96.3bb28"
+ "d73e40d6.e2278"
]
]
},
{
- "id": "35513f96.3bb28",
+ "id": "d73e40d6.e2278",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1673.1517333984375,
- "y": 1251.1818821430206,
- "z": "902b25ae.7c3098",
+ "x": 1646.3861083984375,
+ "y": 1238.931884765625,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "a290d95e.17dea8"
+ "aec340ef.e35cc"
]
]
},
{
- "id": "a290d95e.17dea8",
+ "id": "aec340ef.e35cc",
"type": "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": 1823.1517333984375,
- "y": 1246.1820042133331,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "84400027.7f1a4",
- "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": 734.515625,
- "y": 506.99999737739563,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "34041c26.75a804",
- "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/instantiateRANSliceModifyAllocate.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": 742.5156860351562,
- "y": 593.0001804828644,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "4d0977fb.4d5e28",
- "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' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 751.5158081054688,
- "y": 680.0001194477081,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "47658025.69418",
- "18348ec3.5b7e81"
- ]
- ]
- },
- {
- "id": "18348ec3.5b7e81",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 943.5152587890625,
- "y": 804.0000584125519,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "82117156.d2883"
- ]
- ]
- },
- {
- "id": "47658025.69418",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1013.515380859375,
- "y": 632.0001804828644,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "58e0cb6.b8cdc34"
- ]
- ]
- },
- {
- "id": "58e0cb6.b8cdc34",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1178.515380859375,
- "y": 629.0001194477081,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "d2638259.98521",
- "fb58ab73.6ab478",
- "4a65a227.e809dc"
- ]
- ]
- },
- {
- "id": "fb58ab73.6ab478",
- "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": 1344.515380859375,
- "y": 625.111172914505,
- "z": "902b25ae.7c3098",
- "wires": []
- },
- {
- "id": "d2638259.98521",
- "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": 1338.51513671875,
- "y": 673.0001194477081,
- "z": "902b25ae.7c3098",
- "wires": []
- },
- {
- "id": "82117156.d2883",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1076.51513671875,
- "y": 782.0001804828644,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "1b286697.9a5299",
- "3937150b.7c04da",
- "a745b07d.52909"
- ]
- ]
- },
- {
- "id": "1b286697.9a5299",
- "type": "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": 1251.51513671875,
- "y": 752.0001194477081,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "a745b07d.52909",
- "type": "for",
- "name": "For list of cells",
- "xml": "<for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >",
- "comments": "",
- "outputs": 1,
- "x": 1295.5361328125,
- "y": 801.6663181781769,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "1d4b3f11.915271",
- "ac2b2e65.075d1"
- ]
- ]
- },
- {
- "id": "3937150b.7c04da",
- "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": 1288.29345703125,
- "y": 856.0001194477081,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "ac2b2e65.075d1",
- "type": "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": 1472.5361328125,
- "y": 889.6663181781769,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "1d4b3f11.915271",
- "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": 1510.5361328125,
- "y": 778.3329441547394,
- "z": "902b25ae.7c3098",
+ "x": 1796.3861083984375,
+ "y": 1233.9320068359375,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "b3969406.3a24e8",
+ "id": "f0ab8d12.bcb86",
"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",
"comments": "",
"outputs": 1,
- "x": 1133.515625,
- "y": 1009.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 829.7499923706055,
+ "y": 693.7500371932983,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "a0b4281d.32f468",
+ "id": "a5dc0ff7.c3fdf",
"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": 1026.515625,
- "y": 1293.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 999.75,
+ "y": 1281.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "8d74913d.1ed4a",
+ "id": "31028ad.cbf1876",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 626.515625,
- "y": 1277.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 599.75,
+ "y": 1265.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "a0b4281d.32f468",
- "caa135ce.f89318",
- "960695a4.101e78"
+ "a5dc0ff7.c3fdf",
+ "7567d3a7.e1e75c",
+ "5e745650.a8b898"
]
]
},
{
- "id": "caa135ce.f89318",
+ "id": "7567d3a7.e1e75c",
"type": "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": 998.515625,
- "y": 1358.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 971.75,
+ "y": 1346.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "960695a4.101e78",
+ "id": "5e745650.a8b898",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1026.515625,
- "y": 1433.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 999.75,
+ "y": 1421.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "3d7152c4.70485e"
+ "a9adb105.d2952"
]
]
},
{
- "id": "3d7152c4.70485e",
+ "id": "a9adb105.d2952",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1247.515625,
- "y": 1440.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1220.75,
+ "y": 1428.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "564003fb.18e24c",
- "69c00406.79015c",
- "624a20eb.4d417",
- "df5b16ab.9c1e08"
+ "5d07f956.5fc388",
+ "6ebfcd34.bd3e74",
+ "a0c26746.e4d628",
+ "4bd24663.0a3318"
]
]
},
{
- "id": "564003fb.18e24c",
+ "id": "5d07f956.5fc388",
"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": 1598.515625,
- "y": 1293.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1571.75,
+ "y": 1281.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "69c00406.79015c",
+ "id": "6ebfcd34.bd3e74",
"type": "for",
"name": "for cellCUList",
"xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1602.515625,
- "y": 1437.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1575.75,
+ "y": 1425.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "d937701f.b65df"
+ "7da60215.40271c"
]
]
},
{
- "id": "1ce12047.a58fa",
- "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": 2306.515625,
- "y": 1207.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "e0ec572b.b9a798",
+ "id": "8647a76c.78cde8",
"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": 2251.515625,
- "y": 1461.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2224.75,
+ "y": 1449.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "95b3a6d3.e7ab58",
+ "id": "2393df97.b3ef4",
"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": 2285.5157318115234,
- "y": 1590.9999706745148,
- "z": "902b25ae.7c3098",
+ "x": 2253.750015258789,
+ "y": 1524.750048160553,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "57ed663e.258718",
- "97ddc658.8d4448"
+ "dbd5892d.d6aeb8",
+ "b6b58596.9f3498"
]
]
},
{
- "id": "d347454c.5dd528",
+ "id": "4de5d43.101052c",
"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": 2245.515625,
- "y": 1527.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2218.75008392334,
+ "y": 1486.7501091957092,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "9a14bdba.26e61",
+ "id": "49d2b0dd.f470a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2116.515625,
- "y": 1044.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2089.75,
+ "y": 1032.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "1ce12047.a58fa",
- "e0ec572b.b9a798",
- "d347454c.5dd528",
- "95b3a6d3.e7ab58",
- "c906c7e6.c12e38",
- "ffb1212e.0d1e",
- "e8accfbc.4db75",
- "d3000cdc.4fc83",
- "fab232b6.bded",
- "eea13e61.74881",
- "98957b0e.49c668"
+ "8647a76c.78cde8",
+ "4de5d43.101052c",
+ "2393df97.b3ef4",
+ "c8e774f3.eb2298",
+ "a67c36d5.d2d878",
+ "da3b1ec3.da31d",
+ "6e1f3d0a.b0b424",
+ "d375f5fd.d667c8",
+ "a5f150c.a0a16b",
+ "1d1f90d6.b058cf",
+ "176c3707.cee7c9"
]
]
},
{
- "id": "57ed663e.258718",
+ "id": "dbd5892d.d6aeb8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2536.515739440918,
- "y": 1587.0002148151398,
- "z": "902b25ae.7c3098",
+ "x": 2509.750114440918,
+ "y": 1574.7502174377441,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "3c030de4.b95e02"
+ "1e41d319.6f05dd"
]
]
},
{
- "id": "3c030de4.b95e02",
+ "id": "1e41d319.6f05dd",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2709.515525817871,
- "y": 1586.000275850296,
- "z": "902b25ae.7c3098",
+ "x": 2682.749900817871,
+ "y": 1573.7502784729004,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "16bf3cfb.8c0673"
+ "63de9d4d.316cc4"
]
]
},
{
- "id": "16bf3cfb.8c0673",
+ "id": "63de9d4d.316cc4",
"type": "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": 2907.5155868530273,
- "y": 1583.0003979206085,
- "z": "902b25ae.7c3098",
+ "x": 2880.7499618530273,
+ "y": 1570.750400543213,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "97ddc658.8d4448",
+ "id": "b6b58596.9f3498",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2501.51570892334,
- "y": 1469.9999706745148,
- "z": "902b25ae.7c3098",
+ "x": 2474.75008392334,
+ "y": 1457.7499732971191,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "a32496a4.c087a8"
+ "a76a02e4.5b774"
]
]
},
{
- "id": "a32496a4.c087a8",
+ "id": "a76a02e4.5b774",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2651.515983581543,
- "y": 1429.0001537799835,
- "z": "902b25ae.7c3098",
+ "x": 2624.750358581543,
+ "y": 1416.750156402588,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "9bf2755e.7a8d68",
- "a1b1b533.2ce348",
- "4a65a227.e809dc"
+ "b51aa749.d53748",
+ "4278e2d.aa1d91c",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "9bf2755e.7a8d68",
+ "id": "b51aa749.d53748",
"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": 2822.5156173706055,
- "y": 1490.0002148151398,
- "z": "902b25ae.7c3098",
+ "x": 2795.7499923706055,
+ "y": 1477.7502174377441,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "a1b1b533.2ce348",
+ "id": "4278e2d.aa1d91c",
"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": 2817.515739440918,
- "y": 1395.0001537799835,
- "z": "902b25ae.7c3098",
+ "x": 2790.750114440918,
+ "y": 1382.750156402588,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "c906c7e6.c12e38",
+ "id": "c8e774f3.eb2298",
"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": 2333.515625,
- "y": 1271.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2306.75,
+ "y": 1259.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "ffb1212e.0d1e",
+ "id": "a67c36d5.d2d878",
"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": 2294.515625,
- "y": 1339.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2267.75,
+ "y": 1327.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "e8accfbc.4db75",
+ "id": "da3b1ec3.da31d",
"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": 2261.515625,
- "y": 1397.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2234.75,
+ "y": 1385.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "624a20eb.4d417",
+ "id": "a0c26746.e4d628",
"type": "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": 1571.515625,
- "y": 1344.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1544.75,
+ "y": 1332.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "df5b16ab.9c1e08",
+ "id": "4bd24663.0a3318",
"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": 1612.515625,
- "y": 1393.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1585.75,
+ "y": 1381.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "d3000cdc.4fc83",
+ "id": "6e1f3d0a.b0b424",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2339.515625,
- "y": 1107.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2312.75,
+ "y": 1095.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "6e3a9ec5.54cab",
- "3a98f3a0.6efa2c"
+ "1358406e.16fbb",
+ "985a767e.59e378"
]
]
},
{
- "id": "6e3a9ec5.54cab",
+ "id": "1358406e.16fbb",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2547.515625,
- "y": 1072.9997532367706,
- "z": "902b25ae.7c3098",
+ "x": 2520.75,
+ "y": 1060.749755859375,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "9b76de4c.fcaec"
+ "b5fb7b91.c27528"
]
]
},
{
- "id": "9b76de4c.fcaec",
+ "id": "b5fb7b91.c27528",
"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": 2867.515625,
- "y": 1087.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2840.75,
+ "y": 1075.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "3a98f3a0.6efa2c",
+ "id": "985a767e.59e378",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2535.515625,
- "y": 1174.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2508.75,
+ "y": 1162.75,
+ "z": "851f20d0.cecb9",
"wires": [
- []
+ [
+ "62c4ee44.ca781"
+ ]
]
},
{
- "id": "fab232b6.bded",
+ "id": "d375f5fd.d667c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1894.515625,
- "y": 1858.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1867.75,
+ "y": 1846.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "320661e5.277b5e",
- "66fe355d.2d067c",
- "99168d9c.44cff",
- "cac64427.33c2c8",
- "b6782c56.8fd8a",
- "9a893302.6beac",
- "2e133b82.b178b4",
- "e023f374.aa9bb",
- "be4e2f62.3dcd7"
+ "62876053.ef058",
+ "bf63da1d.62cac8",
+ "dcf95a02.5e23c8",
+ "5048f22f.10f42c",
+ "23d03298.aa32ce",
+ "9015ed7e.9220e",
+ "9feb61f8.03034",
+ "f22cd086.ef3c4",
+ "a2c6e87b.4d4928",
+ "c8227d61.35758",
+ "df4c3d6b.71ee2"
]
]
},
{
- "id": "320661e5.277b5e",
+ "id": "62876053.ef058",
"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": 2076.515625,
- "y": 1641.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2123.75013923645,
+ "y": 1617.7501077651978,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "66fe355d.2d067c",
+ "id": "bf63da1d.62cac8",
"type": "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": 2075.515625,
- "y": 1697.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2066.7500743865967,
+ "y": 1745.7500772476196,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "99168d9c.44cff",
+ "id": "dcf95a02.5e23c8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2116.515625,
- "y": 1764.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2087.7500743865967,
+ "y": 1781.7500467300415,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "8e2462e4.0b278"
+ "7f07ba39.bb0ff4",
+ "d6529a53.46a858"
]
]
},
{
- "id": "8e2462e4.0b278",
+ "id": "7f07ba39.bb0ff4",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2294.515625,
- "y": 1731.9997532367706,
- "z": "902b25ae.7c3098",
+ "x": 2267.75,
+ "y": 1719.749755859375,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "579d0e82.08377"
+ "387ff537.ca09da"
]
]
},
{
- "id": "579d0e82.08377",
+ "id": "387ff537.ca09da",
"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": 2572.515625,
- "y": 1723.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2545.75,
+ "y": 1711.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "cac64427.33c2c8",
+ "id": "5048f22f.10f42c",
"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": 2151.515625,
- "y": 1836.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2124.75,
+ "y": 1824.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "b6782c56.8fd8a",
+ "id": "23d03298.aa32ce",
"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": 2116.515625,
- "y": 1888.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2123.7500400543213,
+ "y": 1864.7500200271606,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "88a37fe8.b1b05",
+ "id": "c92d7f75.a1de9",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2402.515625,
- "y": 2015.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2380.749979019165,
+ "y": 1967.750111579895,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "44849ef5.7b1f6"
+ "40673b55.f3a0b4"
]
]
},
{
- "id": "44849ef5.7b1f6",
+ "id": "40673b55.f3a0b4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2566.5155029296875,
- "y": 2017.0001194477081,
- "z": "902b25ae.7c3098",
+ "x": 2539.7498779296875,
+ "y": 2004.7501220703125,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "970968b6.c6d5e8",
- "7475ba1b.553594"
+ "27ee875e.212108",
+ "f42fc9fc.ed4b98"
]
]
},
{
- "id": "970968b6.c6d5e8",
+ "id": "27ee875e.212108",
"type": "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": 2716.5155029296875,
- "y": 2012.0002415180206,
- "z": "902b25ae.7c3098",
+ "x": 2690.7499866485596,
+ "y": 1972.750325679779,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "635a6762.4c9718",
+ "id": "41702a4e.b1dae4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2398.515625,
- "y": 1936.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2377.749952316284,
+ "y": 1874.7500200271606,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "16f357c6.2950e8"
+ "30e6eaad.c002d6"
]
]
},
{
- "id": "16f357c6.2950e8",
+ "id": "30e6eaad.c002d6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2556.515869140625,
- "y": 1884.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2529.750244140625,
+ "y": 1872.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "f812671b.7ec868",
- "e398601b.0eb6b",
- "4a65a227.e809dc"
+ "b54e7d89.fbbcd",
+ "9a4a9c40.2a492",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "f812671b.7ec868",
+ "id": "b54e7d89.fbbcd",
"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": 2727.5155029296875,
- "y": 1946.0000584125519,
- "z": "902b25ae.7c3098",
+ "x": 2700.7498779296875,
+ "y": 1933.7500610351562,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "e398601b.0eb6b",
+ "id": "9a4a9c40.2a492",
"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": 2722.515625,
- "y": 1850.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2695.75,
+ "y": 1838.75,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "9a893302.6beac",
+ "id": "9015ed7e.9220e",
"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": 2151.515625,
- "y": 1963.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2156.7500705718994,
+ "y": 1919.7500200271606,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "635a6762.4c9718",
- "88a37fe8.b1b05"
+ "41702a4e.b1dae4",
+ "c92d7f75.a1de9"
]
]
},
{
- "id": "7475ba1b.553594",
+ "id": "f42fc9fc.ed4b98",
"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": 2731.515625,
- "y": 2074.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2716.7499256134033,
+ "y": 2005.7500505447388,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "2e133b82.b178b4",
+ "id": "9feb61f8.03034",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2086.515625,
- "y": 2122.0002262592316,
- "z": "902b25ae.7c3098",
+ "x": 2059.75,
+ "y": 2109.750228881836,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "a4277ed4.8b7a8"
+ "3cdcc8ae.f3cdf8"
]
]
},
{
- "id": "e023f374.aa9bb",
- "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": 2130.515625,
- "y": 2017.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "a4277ed4.8b7a8",
+ "id": "3cdcc8ae.f3cdf8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2307.515625,
- "y": 2142.0002262592316,
- "z": "902b25ae.7c3098",
+ "x": 2280.75,
+ "y": 2129.750228881836,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "78eeec7a.5b98f4",
- "ee904664.c4e518",
- "ea5096f8.729f28",
- "a0922763.f22ba8",
- "a7232d66.d41b",
- "820cae9e.61c58"
+ "fe8970bb.7e877",
+ "c2feea01.936718",
+ "55a38ed4.52713",
+ "9350352b.0381c8",
+ "2ab85c17.432804",
+ "8a75c18b.7a57e",
+ "f5ecffc5.0f7b9",
+ "ef21539c.19b94",
+ "a721c040.e0814",
+ "727f8e75.8bf37",
+ "8db65cb2.433a"
]
]
},
{
- "id": "78eeec7a.5b98f4",
+ "id": "fe8970bb.7e877",
"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": 2632.515625,
- "y": 2119.0002262592316,
- "z": "902b25ae.7c3098",
+ "x": 2598.7500171661377,
+ "y": 2089.7502975463867,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "ee904664.c4e518",
+ "id": "c2feea01.936718",
"type": "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": 2562.515625,
- "y": 2298.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2523.750047683716,
+ "y": 2123.74999332428,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "ea5096f8.729f28",
+ "id": "55a38ed4.52713",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2600.515625,
- "y": 2169.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2573.75,
+ "y": 2157.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "6326fcd0.693514"
+ "5f167d91.378f74",
+ "c33d8fc7.a963a"
]
]
},
{
- "id": "6326fcd0.693514",
+ "id": "5f167d91.378f74",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2800.515625,
- "y": 2176.9997532367706,
- "z": "902b25ae.7c3098",
+ "x": 2854.8610458374023,
+ "y": 2085.861038208008,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "727d8df6.a4c934"
+ "590d22a8.189c2c"
]
]
},
{
- "id": "727d8df6.a4c934",
+ "id": "590d22a8.189c2c",
"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": 3066.515625,
- "y": 2180.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 3099.75040435791,
+ "y": 2087.638889312744,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "a0922763.f22ba8",
+ "id": "9350352b.0381c8",
"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": 2629.515625,
- "y": 2340.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2611.6387786865234,
+ "y": 2335.4167127609253,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "cd7dc83f.569a18",
- "6790c6e2.bb16a8"
+ "fd81286f.bb34a8",
+ "c78401d2.e4ce8"
]
]
},
{
- "id": "cd7dc83f.569a18",
+ "id": "fd81286f.bb34a8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2901.515625,
- "y": 2332.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2874.75,
+ "y": 2320.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "adbad380.fc596"
+ "4d74b847.fdafe8"
]
]
},
{
- "id": "adbad380.fc596",
+ "id": "4d74b847.fdafe8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3092.515625,
- "y": 2332.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 3065.75,
+ "y": 2320.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "bb3b4db8.3d913",
- "4a65a227.e809dc"
+ "63a687a7.42f938"
]
]
},
{
- "id": "bb3b4db8.3d913",
+ "id": "63a687a7.42f938",
"type": "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": 3277.515380859375,
- "y": 2334.0002415180206,
- "z": "902b25ae.7c3098",
+ "x": 3250.749755859375,
+ "y": 2321.750244140625,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "6790c6e2.bb16a8",
+ "id": "c78401d2.e4ce8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2900.515625,
- "y": 2420.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2873.75,
+ "y": 2408.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "fa098e4d.4acd1"
+ "51dc27ec.ac0b48"
]
]
},
{
- "id": "fa098e4d.4acd1",
+ "id": "51dc27ec.ac0b48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3119.515869140625,
- "y": 2425.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 3092.750244140625,
+ "y": 2413.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "8ce75823.6fd598",
- "82577de9.f0ca2"
+ "34883346.6c344c",
+ "85d40fc1.7a7f8",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "8ce75823.6fd598",
+ "id": "34883346.6c344c",
"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": 3364.5155029296875,
- "y": 2472.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 3337.7498779296875,
+ "y": 2459.7500610351562,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "82577de9.f0ca2",
+ "id": "85d40fc1.7a7f8",
"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": 3359.515625,
- "y": 2376.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 3332.75,
+ "y": 2364.75,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "be4e2f62.3dcd7",
+ "id": "f22cd086.ef3c4",
"type": "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": 2070.515625,
- "y": 2071.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2043.75,
+ "y": 2059.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "68befea9.e6a5",
- "type": "for",
- "name": "foreach TACell",
- "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2132.515625,
- "y": 810.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "a8f80ca7.0f079"
- ]
- ]
- },
- {
- "id": "d937701f.b65df",
+ "id": "7da60215.40271c",
"type": "block",
- "name": "Cell for NSSAI",
+ "name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1822.515625,
- "y": 1346.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "68befea9.e6a5"
- ]
- ]
- },
- {
- "id": "455e11ea.6a314",
- "type": "switchNode",
- "name": "is cellCU applicable for NSSAI",
- "xml": "<switch test='`$tmp.cellCU1 == $tmp.cellCU2`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2548.515625,
- "y": 875.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "9b4ed40e.b4a8d8"
- ]
- ]
- },
- {
- "id": "9b4ed40e.b4a8d8",
- "type": "outcome",
- "name": "Applicable",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2489.515625,
- "y": 948.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1795.75,
+ "y": 1334.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "9a14bdba.26e61"
+ "6096b89c.76c6f8"
]
]
},
{
- "id": "eea13e61.74881",
- "type": "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",
- "comments": "",
- "outputs": 1,
- "x": 2311.515625,
- "y": 1039.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "1502b0c2.c5be0f",
+ "id": "a5f150c.a0a16b",
"type": "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=\"Cell - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellCU1`\"/>\n<parameter name=\"field3\" value=\"Cell - getListofCells-configdb-response\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCU2`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2548.515625,
- "y": 826.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "a8f80ca7.0f079",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2341.515625,
- "y": 775.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "1502b0c2.c5be0f",
- "455e11ea.6a314",
- "f3cc909c.7917c",
- "eda8c96d.4b4918"
- ]
- ]
- },
- {
- "id": "f3cc909c.7917c",
- "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.cellCU1' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2667.515625,
- "y": 718.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "eda8c96d.4b4918",
- "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 + ']'`\" />",
+ "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": 2677.515625,
- "y": 783.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2284.75,
+ "y": 1027.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "98957b0e.49c668",
+ "id": "1d1f90d6.b058cf",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1711.5155792236328,
- "y": 2324.0000088214874,
- "z": "902b25ae.7c3098",
+ "x": 1684.7499542236328,
+ "y": 2311.750011444092,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "2cd2c4b4.b1c60c",
- "253cd252.f9d18e"
+ "31fc5e4e.47a402",
+ "3ccfe786.cfc518",
+ "d1830cc2.245b7",
+ "91ed6cf9.b1f4e",
+ "d036625e.6fa45",
+ "aca59270.868db",
+ "448a23c3.9d7ecc",
+ "5ec3aa02.391784",
+ "a7e4a69a.4eee18",
+ "d04803e9.e9861"
]
]
},
{
- "id": "2cd2c4b4.b1c60c",
+ "id": "31fc5e4e.47a402",
"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": 1994.5155792236328,
- "y": 2324.0000088214874,
- "z": "902b25ae.7c3098",
+ "x": 1967.7499542236328,
+ "y": 2311.750011444092,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "feafb1ec.4960b",
- "24597921.18dfe6"
+ "f1cae3bc.168e",
+ "1e328666.848a7a"
]
]
},
{
- "id": "24597921.18dfe6",
+ "id": "1e328666.848a7a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2230.515579223633,
- "y": 2396.0000088214874,
- "z": "902b25ae.7c3098",
+ "x": 2241.75008392334,
+ "y": 2368.750121116638,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "7f5c335a.e662ec"
+ "2775f701.c17098"
]
]
},
{
- "id": "feafb1ec.4960b",
+ "id": "f1cae3bc.168e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2281.515579223633,
- "y": 2295.0002529621124,
- "z": "902b25ae.7c3098",
+ "x": 2239.1945190429688,
+ "y": 2330.528039932251,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "53276514.5059cc"
+ "98a4baef.20ad28"
]
]
},
{
- "id": "53276514.5059cc",
+ "id": "98a4baef.20ad28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2473.515579223633,
- "y": 2411.0000088214874,
- "z": "902b25ae.7c3098",
+ "x": 2446.749954223633,
+ "y": 2398.750011444092,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "cf56219e.ae7c8",
- "534fadfe.3b0ff4",
- "4a65a227.e809dc"
+ "d51da4bf.610e18",
+ "12224ef7.862411",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "534fadfe.3b0ff4",
+ "id": "12224ef7.862411",
"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": 2639.515380859375,
- "y": 2378.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2613.8609161376953,
+ "y": 2373.416700363159,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "cf56219e.ae7c8",
+ "id": "d51da4bf.610e18",
"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": 2644.5152130126953,
- "y": 2472.0000698566437,
- "z": "902b25ae.7c3098",
+ "x": 2671.0829162597656,
+ "y": 2434.1943798065186,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "727d97dd.562d68",
+ "id": "721c736a.d5d89c",
"type": "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": 2480.515579223633,
- "y": 2483.0000088214874,
- "z": "902b25ae.7c3098",
+ "x": 2514.861167907715,
+ "y": 2442.9721660614014,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "7f5c335a.e662ec",
+ "id": "2775f701.c17098",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2316.5155639648438,
- "y": 2477.0000698566437,
- "z": "902b25ae.7c3098",
+ "x": 2374.1944999694824,
+ "y": 2440.305519104004,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "727d97dd.562d68"
+ "721c736a.d5d89c"
]
]
},
{
- "id": "253cd252.f9d18e",
+ "id": "5a4e2c1e.f4b764",
"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": 2015.515625,
- "y": 2609.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2108.7500610351562,
+ "y": 2681.750156402588,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "1eed8289.fbafed",
- "cc9579ee.bbd438"
+ "ef334e8.82afab",
+ "a002ebe.7038018"
]
]
},
{
- "id": "1eed8289.fbafed",
+ "id": "ef334e8.82afab",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2313.515625,
- "y": 2559.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2425.9724349975586,
+ "y": 2603.8614225387573,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "56501d08.facea4"
+ "76cc58e5.07b528"
]
]
},
{
- "id": "cc9579ee.bbd438",
+ "id": "a002ebe.7038018",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2313.515625,
- "y": 2669.9997532367706,
- "z": "902b25ae.7c3098",
+ "x": 2366.7500534057617,
+ "y": 2662.7497901916504,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "f0253083.ee0b9"
+ "e2f23aa3.622178"
]
]
},
{
- "id": "56501d08.facea4",
+ "id": "76cc58e5.07b528",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2516.515625,
- "y": 2556.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2629.7499465942383,
+ "y": 2604.74999332428,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "d54e45cf.5f9a48",
- "648435fd.1db49c",
- "4a65a227.e809dc"
+ "6ce97d8b.cce3c4",
+ "dfb99747.0c0528",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "648435fd.1db49c",
+ "id": "dfb99747.0c0528",
"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": 2682.515380859375,
- "y": 2522.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2811.305244445801,
+ "y": 2598.5279388427734,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "d54e45cf.5f9a48",
+ "id": "6ce97d8b.cce3c4",
"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": 2687.5152587890625,
- "y": 2618.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 2806.30509185791,
+ "y": 2636.8612213134766,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "f0253083.ee0b9",
+ "id": "e2f23aa3.622178",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2494.515625,
- "y": 2663.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2494.7499923706055,
+ "y": 2660.7500343322754,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "7188dcaa.55edf4"
+ "3e396f61.06a58"
]
]
},
{
- "id": "7188dcaa.55edf4",
+ "id": "3e396f61.06a58",
"type": "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": 2660.515625,
- "y": 2664.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2633.75,
+ "y": 2652.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "a89b6c52.c4e5f",
+ "id": "8c761aa1.edcbf8",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 607.515625,
- "y": 1503.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 580.75,
+ "y": 1491.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "d36fdc15.2490b",
- "8454f7.e12e9b08",
- "775df749.f4ceb8"
+ "f69b5089.b25d4",
+ "185118c6.608e27",
+ "fb5bc42b.289a38"
]
]
},
{
- "id": "d36fdc15.2490b",
+ "id": "f69b5089.b25d4",
"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": 938.515625,
- "y": 1513.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 911.75,
+ "y": 1501.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "8454f7.e12e9b08",
+ "id": "185118c6.608e27",
"type": "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": 910.515625,
- "y": 1578.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 883.75,
+ "y": 1566.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "775df749.f4ceb8",
+ "id": "fb5bc42b.289a38",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 938.515625,
- "y": 1653.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 911.75,
+ "y": 1641.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "66fa3a22.e04a94"
+ "e11cd404.4bd5c8"
]
]
},
{
- "id": "66fa3a22.e04a94",
+ "id": "e11cd404.4bd5c8",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1159.515625,
- "y": 1660.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1132.75,
+ "y": 1648.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "54e41e8b.32d23",
- "fcb0eb9d.60fb68",
- "462331dd.a8fe8",
- "6c61a1ae.77ebc"
+ "30526248.9b641e",
+ "faeaa61b.bc9248",
+ "7a2f5f61.b5cd5"
]
]
},
{
- "id": "54e41e8b.32d23",
+ "id": "30526248.9b641e",
"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": 1393.515625,
- "y": 1494.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1386.7500076293945,
+ "y": 1470.5277557373047,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "fcb0eb9d.60fb68",
+ "id": "faeaa61b.bc9248",
"type": "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": 1389.515625,
- "y": 1548.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1366.083351135254,
+ "y": 1522.305555820465,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "462331dd.a8fe8",
- "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'`\" />",
+ "id": "7a2f5f61.b5cd5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1440.515625,
- "y": 1613.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1365.75,
+ "y": 2732.75,
+ "z": "851f20d0.cecb9",
"wires": [
- []
+ [
+ "131a12ab.7ddc2d",
+ "654fdcbe.ef4684",
+ "3f661380.07eedc",
+ "651554e.32dfcac",
+ "293ab34b.13887c",
+ "540a70f7.6ef82",
+ "b47a7da2.e0076",
+ "d3280960.b00268",
+ "3f4a7572.886afa",
+ "f57a51b6.27a94",
+ "693a1ea6.3a76d",
+ "7db7d25e.eb132c",
+ "a029e507.1af008",
+ "1379639e.bafadc",
+ "86e8886b.e9c628",
+ "d905da99.4ff128",
+ "56fea612.d0b798",
+ "babeecc.4e3ad1",
+ "4f487da.79f0984"
+ ]
]
},
{
- "id": "6c61a1ae.77ebc",
- "type": "for",
- "name": "foreach pLMNInfo",
- "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1426.515625,
- "y": 1668.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "ca2a15c1.06f6f8"
- ]
- ]
- },
- {
- "id": "ca2a15c1.06f6f8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1392.515625,
- "y": 2744.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "2bcc45fd.9aa82a",
- "6bde0cb7.ac8644",
- "1124cd6f.cd2f53",
- "f36ea1ac.8ef32",
- "dc1f155b.1e26a8",
- "f0c7cdbf.7c15b",
- "93ca7a2a.14a7f8",
- "892a7731.6bfc78",
- "2d02a27c.95d9de",
- "37850215.15feee",
- "40e7eab5.7fa734",
- "7cc407cf.a61688"
- ]
- ]
- },
- {
- "id": "1124cd6f.cd2f53",
+ "id": "3f661380.07eedc",
"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": 1720.515625,
- "y": 2942.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1680.4167785644531,
+ "y": 2935.1945180892944,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "777e5d59.6a5284",
- "dd76c614.48fa98"
+ "9be815bd.a70df8",
+ "22f1cb29.5cb774"
]
]
},
{
- "id": "777e5d59.6a5284",
+ "id": "9be815bd.a70df8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2017.515625,
- "y": 2868.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1976.8612480163574,
+ "y": 2966.083519935608,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "d609eb60.d086d8"
+ "6ce86f91.5f8df"
]
]
},
{
- "id": "d609eb60.d086d8",
+ "id": "6ce86f91.5f8df",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2175.515869140625,
- "y": 2816.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2166.0835189819336,
+ "y": 2952.861400604248,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "4de6f632.135c38",
- "835f9644.cd8248",
- "4a65a227.e809dc"
+ "75a0620e.fb099c",
+ "1e7061d3.c2505e",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "835f9644.cd8248",
+ "id": "1e7061d3.c2505e",
"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": 2341.515625,
- "y": 2782.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2397.0835304260254,
+ "y": 2914.639326095581,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "4de6f632.135c38",
+ "id": "75a0620e.fb099c",
"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": 2346.5155029296875,
- "y": 2878.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 2424.306022644043,
+ "y": 2955.3060817718506,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "dfbc4622.2ac5e8",
+ "id": "d26dc573.a978e8",
"type": "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": 2330.5155029296875,
- "y": 2964.0002415180206,
- "z": "902b25ae.7c3098",
+ "x": 2339.4164237976074,
+ "y": 2996.9724197387695,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "8d9d335.fd7a9d",
+ "id": "64a38187.7846d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2176.515625,
- "y": 2985,
- "z": "902b25ae.7c3098",
+ "x": 2153.083240509033,
+ "y": 3002.527988433838,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "dfbc4622.2ac5e8"
+ "d26dc573.a978e8"
]
]
},
{
- "id": "dd76c614.48fa98",
+ "id": "22f1cb29.5cb774",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2016.515625,
- "y": 2967.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1967.5277481079102,
+ "y": 3006.416997909546,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "8d9d335.fd7a9d"
+ "64a38187.7846d"
]
]
},
{
- "id": "2bcc45fd.9aa82a",
+ "id": "131a12ab.7ddc2d",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1659.515625,
- "y": 2746.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1632.75,
+ "y": 2734.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "5c5b9d56.667034",
- "4f929270.bb4f6c"
+ "18a87053.6eb9d",
+ "7ea4eaea.ae76a4"
]
]
},
{
- "id": "5c5b9d56.667034",
+ "id": "18a87053.6eb9d",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1867.515625,
- "y": 2711.9997532367706,
- "z": "902b25ae.7c3098",
+ "x": 1840.75,
+ "y": 2699.749755859375,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "7fc0b4d8.93a35c"
+ "44c16046.56d26"
]
]
},
{
- "id": "4f929270.bb4f6c",
+ "id": "7ea4eaea.ae76a4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1855.515625,
- "y": 2813.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1824.3056640625,
+ "y": 2750.638994216919,
+ "z": "851f20d0.cecb9",
"wires": [
- []
+ [
+ "ee6e501d.a4065"
+ ]
]
},
{
- "id": "7fc0b4d8.93a35c",
+ "id": "44c16046.56d26",
"type": "execute",
"name": "generate patch PLMNInfoListEntry CUUP URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2187.515625,
- "y": 2726.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2160.75,
+ "y": 2714.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "6bde0cb7.ac8644",
+ "id": "654fdcbe.ef4684",
"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": 1704.515625,
- "y": 2885.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1644.4166259765625,
+ "y": 2779.3057146072388,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "a7232d66.d41b",
+ "id": "2ab85c17.432804",
"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": 2614.515625,
- "y": 2207.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2575.5281677246094,
+ "y": 2233.5274868011475,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "820cae9e.61c58",
+ "id": "8a75c18b.7a57e",
"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": 2605.515625,
- "y": 2254.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2586.5279083251953,
+ "y": 2269.4170513153076,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "f36ea1ac.8ef32",
+ "id": "651554e.32dfcac",
"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": 1693.5158386230469,
- "y": 3015.0004913806915,
- "z": "902b25ae.7c3098",
+ "x": 1702.3058013916016,
+ "y": 3044.973133087158,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "dc1f155b.1e26a8",
+ "id": "293ab34b.13887c",
"type": "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": 1639.5158309936523,
- "y": 3087.000495195389,
- "z": "902b25ae.7c3098",
+ "x": 1606.0835304260254,
+ "y": 3109.1949582099915,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "f0c7cdbf.7c15b",
+ "id": "540a70f7.6ef82",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1650.515625,
- "y": 3161.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1623.75,
+ "y": 3149.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "5849653.b32d29c"
+ "b223df9e.74217",
+ "e0a753ea.22da"
]
]
},
{
- "id": "5849653.b32d29c",
+ "id": "b223df9e.74217",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1828.515625,
- "y": 3128.9997532367706,
- "z": "902b25ae.7c3098",
+ "x": 1801.75,
+ "y": 3116.749755859375,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "829a96f0.30d4a8"
+ "d713d062.9d049"
]
]
},
{
- "id": "829a96f0.30d4a8",
+ "id": "d713d062.9d049",
"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": 2106.515625,
- "y": 3120.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2096.750030517578,
+ "y": 3062.7500562667847,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "93ca7a2a.14a7f8",
+ "id": "b47a7da2.e0076",
"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": 1687.5157089233398,
- "y": 3217.000010728836,
- "z": "902b25ae.7c3098",
+ "x": 1660.7500839233398,
+ "y": 3204.7500133514404,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "892a7731.6bfc78",
+ "id": "d3280960.b00268",
"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": 1683.5158767700195,
- "y": 3274.0000116825104,
- "z": "902b25ae.7c3098",
+ "x": 1649.7503204345703,
+ "y": 3310.75004196167,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "e3c362a.aa308a",
- "10a17f4d.0f5fc1"
+ "44324447.7bd3ec",
+ "113ea23f.66f80e"
]
]
},
{
- "id": "e3c362a.aa308a",
+ "id": "44324447.7bd3ec",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1933.5157203674316,
- "y": 3264.000175714493,
- "z": "902b25ae.7c3098",
+ "x": 1906.7500953674316,
+ "y": 3251.750178337097,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "196d453d.dd220b"
+ "d78af681.4a5578"
]
]
},
{
- "id": "196d453d.dd220b",
+ "id": "d78af681.4a5578",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2094.515869140625,
- "y": 3282.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2067.750244140625,
+ "y": 3270.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "59202198.95259",
- "8bba0f3a.4b34f",
- "4a65a227.e809dc"
+ "b79db2a5.2db98",
+ "32659d44.886732",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "8bba0f3a.4b34f",
+ "id": "32659d44.886732",
"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": 2260.515625,
- "y": 3248.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2233.75,
+ "y": 3236.75,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "59202198.95259",
+ "id": "b79db2a5.2db98",
"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": 2265.5155029296875,
- "y": 3344.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 2289.860809326172,
+ "y": 3280.6390228271484,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "37c92bcb.6f0f44",
+ "id": "1d6b5b32.0900a5",
"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": 2269.515625,
- "y": 3472.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2274.9721069335938,
+ "y": 3376.305579185486,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "b6f39fb0.7e518",
+ "id": "9895f065.2e032",
"type": "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": 2254.5155029296875,
- "y": 3410.0002415180206,
- "z": "902b25ae.7c3098",
+ "x": 2269.9719161987305,
+ "y": 3319.9723377227783,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "42bb03.f05cd4fc",
+ "id": "96974e27.3cb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2088.5154418945312,
- "y": 3356.0001785755157,
- "z": "902b25ae.7c3098",
+ "x": 2077.305465698242,
+ "y": 3318.194646835327,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "b6f39fb0.7e518",
- "37c92bcb.6f0f44"
+ "9895f065.2e032",
+ "1d6b5b32.0900a5"
]
]
},
{
- "id": "10a17f4d.0f5fc1",
+ "id": "113ea23f.66f80e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1924.5157203674316,
- "y": 3334.0001785755157,
- "z": "902b25ae.7c3098",
+ "x": 1897.7500953674316,
+ "y": 3321.75018119812,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "42bb03.f05cd4fc"
+ "96974e27.3cb8"
]
]
},
{
- "id": "2d02a27c.95d9de",
- "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": 1661.5157165527344,
- "y": 3339.0000965595245,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "37850215.15feee",
+ "id": "3f4a7572.886afa",
"type": "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": 1601.5157089233398,
- "y": 3390.000098466873,
- "z": "902b25ae.7c3098",
+ "x": 1584.750228881836,
+ "y": 3446.750102996826,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "40e7eab5.7fa734",
+ "id": "f57a51b6.27a94",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1649.1822967529297,
- "y": 3530.333434343338,
- "z": "902b25ae.7c3098",
+ "x": 1624.4167175292969,
+ "y": 3529.0836015939713,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "5155a84d.1da0e8"
+ "ce6ff808.f103d8"
]
]
},
{
- "id": "5155a84d.1da0e8",
+ "id": "ce6ff808.f103d8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1867.1822509765625,
- "y": 3557.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 1840.4166259765625,
+ "y": 3545.083251953125,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "583f4e93.c1c9f",
- "506608d6.70b338",
- "aaa7eb47.ef6a88",
- "3360d2c4.1960fe",
- "999f80d6.75194",
- "2a09390.35abdc8"
+ "571fe2d8.bd8dcc",
+ "a552a8dc.d17d88",
+ "b847da42.b6d098",
+ "32f7b928.d92cd6",
+ "3a350ec.cbca2f2",
+ "69da97cc.d97eb8",
+ "1beb410.b9bddbf",
+ "6fb99ea1.cba84",
+ "34b9c13.ba3c13e"
]
]
},
{
- "id": "583f4e93.c1c9f",
+ "id": "571fe2d8.bd8dcc",
"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": 2192.1822509765625,
- "y": 3534.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2165.4166259765625,
+ "y": 3522.083251953125,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "aaa7eb47.ef6a88",
+ "id": "b847da42.b6d098",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2160.1822509765625,
- "y": 3585.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2133.416603088379,
+ "y": 3564.1944880485535,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "fd1add9c.48448"
+ "be8e28a3.ee4148",
+ "161693aa.881efc"
]
]
},
{
- "id": "999f80d6.75194",
- "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": 2174.1822509765625,
- "y": 3623.3332493305206,
- "z": "902b25ae.7c3098",
- "wires": []
- },
- {
- "id": "fd1add9c.48448",
+ "id": "be8e28a3.ee4148",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2360.1822509765625,
- "y": 3592.3330051898956,
- "z": "902b25ae.7c3098",
+ "x": 2350.4167251586914,
+ "y": 3560.083071708679,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "38260aba.0ea506"
+ "c8caf59c.3d3d68"
]
]
},
{
- "id": "38260aba.0ea506",
+ "id": "c8caf59c.3d3d68",
"type": "execute",
- "name": "fetch RRMPolicyRatio CUUP- URL",
+ "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": 2626.1822509765625,
- "y": 3596.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2623.4165954589844,
+ "y": 3530.0836219787598,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "2a09390.35abdc8",
+ "id": "3a350ec.cbca2f2",
"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": 2165.1822509765625,
- "y": 3670.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2137.3055267333984,
+ "y": 3715.8613023757935,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "506608d6.70b338",
+ "id": "a552a8dc.d17d88",
"type": "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": 2122.1822509765625,
- "y": 3714.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2098.7502670288086,
+ "y": 3748.7502546310425,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "3360d2c4.1960fe",
+ "id": "32f7b928.d92cd6",
"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": 2189.1822509765625,
- "y": 3756.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2161.305534362793,
+ "y": 3785.194251060486,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "80f67bc8.602a38",
- "a1757e5b.2af42"
+ "75909dc4.f5ff34",
+ "5d53812c.162b4"
]
]
},
{
- "id": "80f67bc8.602a38",
+ "id": "75909dc4.f5ff34",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2461.1822509765625,
- "y": 3748.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2434.4166259765625,
+ "y": 3736.083251953125,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "dd07f4dd.450068"
+ "ba7e91fa.78aee"
]
]
},
{
- "id": "dd07f4dd.450068",
+ "id": "ba7e91fa.78aee",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2652.1822509765625,
- "y": 3748.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2625.4166259765625,
+ "y": 3736.083251953125,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "66c8fe77.0bf64",
- "4a65a227.e809dc"
+ "76b3d173.44c15"
]
]
},
{
- "id": "66c8fe77.0bf64",
+ "id": "76b3d173.44c15",
"type": "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": 2837.1820068359375,
- "y": 3749.3334934711456,
- "z": "902b25ae.7c3098",
+ "x": 2810.4163818359375,
+ "y": 3737.08349609375,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "22ec11e9.dae67e",
+ "id": "c23a8c1e.2d1b4",
"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": 2919.1822509765625,
- "y": 3792.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2892.4166259765625,
+ "y": 3780.083251953125,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "b63355d1.f0e0a8",
+ "id": "ae520036.07bc5",
"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": 2924.18212890625,
- "y": 3887.333310365677,
- "z": "902b25ae.7c3098",
+ "x": 2897.41650390625,
+ "y": 3875.0833129882812,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "3a20595e.c48de6",
+ "id": "66b85a16.3b07e4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2679.1824951171875,
- "y": 3841.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2652.4168701171875,
+ "y": 3829.083251953125,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "b63355d1.f0e0a8",
- "22ec11e9.dae67e"
+ "ae520036.07bc5",
+ "c23a8c1e.2d1b4",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "a1757e5b.2af42",
+ "id": "5d53812c.162b4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2460.1822509765625,
- "y": 3836.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2433.4166259765625,
+ "y": 3824.083251953125,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "3a20595e.c48de6"
+ "66b85a16.3b07e4"
]
]
},
{
- "id": "7cc407cf.a61688",
+ "id": "693a1ea6.3a76d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1605.8490447998047,
- "y": 3869.6668589115143,
- "z": "902b25ae.7c3098",
+ "x": 1579.0834197998047,
+ "y": 3857.4168615341187,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "8f4a1aa6.66d1c8",
- "80f62a5a.b5dac8"
+ "8a87497e.531268",
+ "e0e65fd0.2b6c9",
+ "d1229865.4d31f8",
+ "f88ad792.a38708",
+ "339be435.33e26c",
+ "23fd15d2.b48aca",
+ "8ad1032.8f26c",
+ "4e9b0acc.4799f4",
+ "15d0a6a8.2844c9",
+ "e698a0cf.99018"
]
]
},
{
- "id": "8f4a1aa6.66d1c8",
+ "id": "8a87497e.531268",
"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": 1938.8489990234375,
- "y": 3870.6667454242706,
- "z": "902b25ae.7c3098",
+ "x": 1883.3334197998047,
+ "y": 3869.666796684265,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "86e624eb.499a98",
- "c2aa9d96.4aa3b"
+ "bdf852bc.ccf0e",
+ "23e9262a.0863ca"
]
]
},
{
- "id": "86e624eb.499a98",
+ "id": "bdf852bc.ccf0e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2225.8489990234375,
- "y": 3841.6669895648956,
- "z": "902b25ae.7c3098",
+ "x": 2199.0833740234375,
+ "y": 3829.4169921875,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "dd3efbab.b8efd8"
+ "f2dc545e.b38c38"
]
]
},
{
- "id": "c2aa9d96.4aa3b",
+ "id": "23e9262a.0863ca",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2174.8489990234375,
- "y": 3942.6667454242706,
- "z": "902b25ae.7c3098",
+ "x": 2185.58345413208,
+ "y": 3879.166916847229,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "ca5f751c.5d7d68"
+ "fe6628c0.efc078"
]
]
},
{
- "id": "ca5f751c.5d7d68",
+ "id": "fe6628c0.efc078",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2260.8489837646484,
- "y": 4023.666806459427,
- "z": "902b25ae.7c3098",
+ "x": 2344.0832748413086,
+ "y": 3907.666979074478,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "bdbc2f55.fd989"
+ "43c4e89f.b95fd8"
]
]
},
{
- "id": "dd3efbab.b8efd8",
+ "id": "f2dc545e.b38c38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2417.8489990234375,
- "y": 3957.6667454242706,
- "z": "902b25ae.7c3098",
+ "x": 2387.333641052246,
+ "y": 3866.666916847229,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "5deb387b.75ce98",
- "ddadf27c.177ce",
- "4a65a227.e809dc"
+ "9aa94857.c8aec8",
+ "7ff08d4d.ba9194",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "bdbc2f55.fd989",
+ "id": "43c4e89f.b95fd8",
"type": "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": 2424.8489990234375,
- "y": 4029.6667454242706,
- "z": "902b25ae.7c3098",
+ "x": 2480.5835189819336,
+ "y": 3921.16704082489,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "5deb387b.75ce98",
+ "id": "9aa94857.c8aec8",
"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": 2588.8486328125,
- "y": 4018.666806459427,
- "z": "902b25ae.7c3098",
+ "x": 2645.833122253418,
+ "y": 3910.1669793128967,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "ddadf27c.177ce",
+ "id": "7ff08d4d.ba9194",
"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": 2583.8488006591797,
- "y": 3925.666733980179,
- "z": "902b25ae.7c3098",
+ "x": 2554.5833053588867,
+ "y": 3875.9167947769165,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "cd3ab89b.2b2a58",
+ "id": "45596140.bc547",
"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": 2626.8488006591797,
- "y": 4069.666733980179,
- "z": "902b25ae.7c3098",
+ "x": 2608.833339691162,
+ "y": 4111.167041778564,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "1a4e1416.985efc",
+ "id": "6692d8b9.0fc108",
"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": 2631.848678588867,
- "y": 4164.666795015335,
- "z": "902b25ae.7c3098",
+ "x": 2605.083053588867,
+ "y": 4152.416797637939,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "79786d5c.9fdc64",
+ "id": "a6680d0b.a0e2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2460.8490447998047,
- "y": 4103.666733980179,
- "z": "902b25ae.7c3098",
+ "x": 2425.3335189819336,
+ "y": 4145.166980743408,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "1a4e1416.985efc",
- "cd3ab89b.2b2a58",
- "4a65a227.e809dc"
+ "6692d8b9.0fc108",
+ "45596140.bc547",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "3b564ab1.84aea6",
+ "id": "625ac145.de8e8",
"type": "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": 2604.8490447998047,
- "y": 4211.666733980179,
- "z": "902b25ae.7c3098",
+ "x": 2578.0834197998047,
+ "y": 4199.416736602783,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "3b8bdaf4.102c26",
+ "id": "d9bbb43b.387928",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2438.8490447998047,
- "y": 4210.666733980179,
- "z": "902b25ae.7c3098",
+ "x": 2412.0834197998047,
+ "y": 4198.416736602783,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "3b564ab1.84aea6"
+ "625ac145.de8e8"
]
]
},
{
- "id": "f7383def.d4235",
+ "id": "cb6e1843.d0a9b8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2257.8490447998047,
- "y": 4216.666489839554,
- "z": "902b25ae.7c3098",
+ "x": 2231.0834197998047,
+ "y": 4204.416492462158,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "3b8bdaf4.102c26"
+ "d9bbb43b.387928"
]
]
},
{
- "id": "5ad5292d.727b78",
+ "id": "9e305c47.68b11",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2257.8490447998047,
- "y": 4106.666733980179,
- "z": "902b25ae.7c3098",
+ "x": 2224.8335494995117,
+ "y": 4156.916858673096,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "79786d5c.9fdc64"
+ "a6680d0b.a0e2"
]
]
},
{
- "id": "80f62a5a.b5dac8",
+ "id": "fb71fd5c.63b5a",
"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": 1959.8490447998047,
- "y": 4156.666733980179,
- "z": "902b25ae.7c3098",
+ "x": 2018.8336334228516,
+ "y": 4250.167234420776,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "5ad5292d.727b78",
- "f7383def.d4235"
+ "9e305c47.68b11",
+ "cb6e1843.d0a9b8"
]
]
},
{
- "id": "a4ae7afd.757af8",
+ "id": "6de42e11.dd96f",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 970.2658004760742,
- "y": 4141.750725984573,
- "z": "902b25ae.7c3098",
+ "x": 1044.5002212524414,
+ "y": 3820.5006008148193,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "fffbd9b7.473a48",
- "94864da0.13003",
- "23e15c92.1618e4"
+ "cfc674b2.d812d8",
+ "979b346b.dae498",
+ "853eadbb.42442"
]
]
},
{
- "id": "fffbd9b7.473a48",
+ "id": "cfc674b2.d812d8",
"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": 1299.2658004760742,
- "y": 4172.750725984573,
- "z": "902b25ae.7c3098",
+ "x": 1297.5001602172852,
+ "y": 3910.5006618499756,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "94864da0.13003",
+ "id": "979b346b.dae498",
"type": "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": 1257.2657852172852,
- "y": 4233.750725984573,
- "z": "902b25ae.7c3098",
+ "x": 1265.5001106262207,
+ "y": 3960.500725746155,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "23e15c92.1618e4",
+ "id": "853eadbb.42442",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1269.2658309936523,
- "y": 4303.750725984573,
- "z": "902b25ae.7c3098",
+ "x": 1266.5002975463867,
+ "y": 4003.500726699829,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "ad8ef236.25e21"
+ "9f44131c.23c36"
]
]
},
{
- "id": "ad8ef236.25e21",
+ "id": "9f44131c.23c36",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1550.2658004760742,
- "y": 4304.750695466995,
- "z": "902b25ae.7c3098",
+ "x": 1528.500156402588,
+ "y": 4109.500482559204,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "afad5c43.d5be9",
- "50879aa5.f7e434",
- "19c193ce.bc93bc",
- "8dd2f389.9be99"
+ "ef52ddea.6189c",
+ "1dbab0dc.3ad17f",
+ "b62c7a89.d2b118",
+ "33569532.4cbe6a"
]
]
},
{
- "id": "afad5c43.d5be9",
+ "id": "ef52ddea.6189c",
"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": 1829.265625,
- "y": 4300.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 1802.5,
+ "y": 4288.5,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "50879aa5.f7e434",
+ "id": "1dbab0dc.3ad17f",
"type": "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": 1802.265625,
- "y": 4351.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 1775.5,
+ "y": 4339.5,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "19c193ce.bc93bc",
+ "id": "b62c7a89.d2b118",
"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": 1843.265625,
- "y": 4400.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 1816.5,
+ "y": 4388.5,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "8dd2f389.9be99",
+ "id": "33569532.4cbe6a",
"type": "for",
"name": "for cellDUList",
"xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1833.265625,
- "y": 4444.749997377396,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "2f195b76.e5c8d4"
- ]
- ]
- },
- {
- "id": "2f195b76.e5c8d4",
- "type": "block",
- "name": "Cell for NSSAI",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2053.265625,
- "y": 4353.749997377396,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "53bc99e3.9b0448"
- ]
- ]
- },
- {
- "id": "53bc99e3.9b0448",
- "type": "for",
- "name": "foreach TACell",
- "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2275.5156173706055,
- "y": 4353.750240564346,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "6362ca40.2b0b04"
- ]
- ]
- },
- {
- "id": "6362ca40.2b0b04",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2487.515625,
- "y": 4321.749997377396,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "78fdfba9.5f1b24",
- "8a04220a.741e9",
- "5a972ed5.3833c",
- "f6068f9f.f0e8a"
- ]
- ]
- },
- {
- "id": "5a972ed5.3833c",
- "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.cellDU1' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2813.515625,
- "y": 4264.749997377396,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "f6068f9f.f0e8a",
- "type": "execute",
- "name": "read cellDU from getListofCells-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDU2' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id-ta + ']'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2823.515625,
- "y": 4329.749997377396,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "78fdfba9.5f1b24",
- "type": "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=\"Cell - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDU1`\"/>\n<parameter name=\"field3\" value=\"Cell - getListofCells-configdb-response\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDU2`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2694.515625,
- "y": 4372.749997377396,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "8a04220a.741e9",
- "type": "switchNode",
- "name": "is cellDU applicable for NSSAI",
- "xml": "<switch test='`$tmp.cellDU1 == $tmp.cellDU2`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2694.515625,
- "y": 4421.749997377396,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "a6ec46a8.84e058"
- ]
- ]
- },
- {
- "id": "a6ec46a8.84e058",
- "type": "outcome",
- "name": "Applicable",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2635.515625,
- "y": 4494.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 1806.5,
+ "y": 4432.5,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "37ac7237.50551e"
+ "7f4d91b5.715f3"
]
]
},
{
- "id": "37ac7237.50551e",
+ "id": "44e21983.ec86f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2860.015625,
- "y": 4498.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 2833.25,
+ "y": 4486.5,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "c6843741.650998",
- "92afc2c9.67fc5",
- "a7c6b84a.ebfce8",
- "ecca82ff.5f8b9",
- "e6f23599.923838",
- "1020da35.20b006",
- "c907f62.6206208",
- "8b8b1836.0b3ce8",
- "b59a0702.313428",
- "20d94ddd.79ea92",
- "bb5a724b.05c2d"
+ "f5077232.7de1e",
+ "d465322e.40e34",
+ "a92feabc.139538",
+ "e5109fc0.4479f",
+ "e3fb37e7.f5a908",
+ "2094c04d.de418",
+ "af08450b.0732c8",
+ "6eb15432.9d153c",
+ "debddb48.0fbcd8",
+ "67608066.11669",
+ "2c5cd38b.62f3fc",
+ "90ebd0d1.0e27a"
]
]
},
{
- "id": "8b8b1836.0b3ce8",
+ "id": "6eb15432.9d153c",
"type": "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": 3055.015625,
- "y": 4493.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 3028.25,
+ "y": 4481.5,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "c907f62.6206208",
+ "id": "af08450b.0732c8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3083.015625,
- "y": 4561.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 3056.25,
+ "y": 4549.5,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "ff1b32f0.01112",
- "33f91581.b04aba"
+ "ef3a745d.16d0a8",
+ "1c3d5ab9.025a35"
]
]
},
{
- "id": "ff1b32f0.01112",
+ "id": "ef3a745d.16d0a8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3291.015625,
- "y": 4526.749753236771,
- "z": "902b25ae.7c3098",
+ "x": 3264.25,
+ "y": 4514.499755859375,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "55e8d732.bf4398"
+ "f0032a06.18f798"
]
]
},
{
- "id": "33f91581.b04aba",
+ "id": "1c3d5ab9.025a35",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3279.015625,
- "y": 4628.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 3259.2500495910645,
+ "y": 4583.500324249268,
+ "z": "851f20d0.cecb9",
"wires": [
- []
+ [
+ "afcc150e.81c9b8"
+ ]
]
},
{
- "id": "55e8d732.bf4398",
+ "id": "f0032a06.18f798",
"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": 3611.015625,
- "y": 4541.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 3584.25,
+ "y": 4529.5,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "c6843741.650998",
+ "id": "f5077232.7de1e",
"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": 3080.0157775878906,
- "y": 4649.750241518021,
- "z": "902b25ae.7c3098",
+ "x": 3053.2501525878906,
+ "y": 4637.500244140625,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "ecca82ff.5f8b9",
+ "id": "e5109fc0.4479f",
"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": 3135.015838623047,
- "y": 4714.75017952919,
- "z": "902b25ae.7c3098",
+ "x": 3108.250213623047,
+ "y": 4702.500182151794,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "e6f23599.923838",
+ "id": "e3fb37e7.f5a908",
"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": 3108.0160217285156,
- "y": 4769.750181436539,
- "z": "902b25ae.7c3098",
+ "x": 3081.2503967285156,
+ "y": 4757.500184059143,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "1020da35.20b006",
+ "id": "2094c04d.de418",
"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": 3088.0157165527344,
- "y": 4832.750487565994,
- "z": "902b25ae.7c3098",
+ "x": 3061.2500915527344,
+ "y": 4820.500490188599,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "92afc2c9.67fc5",
+ "id": "d465322e.40e34",
"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": 3090.0159606933594,
- "y": 4890.750120401382,
- "z": "902b25ae.7c3098",
+ "x": 3063.2503356933594,
+ "y": 4878.500123023987,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "a7c6b84a.ebfce8",
+ "id": "a92feabc.139538",
"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": 3095.015594482422,
- "y": 4958.750611543655,
- "z": "902b25ae.7c3098",
+ "x": 3067.250213623047,
+ "y": 4924.5007400512695,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "b59a0702.313428",
+ "id": "debddb48.0fbcd8",
"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": 3152.015625,
- "y": 5033.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3122.250213623047,
+ "y": 4970.750008106232,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "14cddf18.c41e11",
- "2abbe272.a3ec8e"
+ "d2d4b2ea.6153e",
+ "79732e1e.48d5"
]
]
},
{
- "id": "2abbe272.a3ec8e",
+ "id": "79732e1e.48d5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3419.015625,
- "y": 4933.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3370.8215656280518,
+ "y": 4811.750123977661,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "7942e74.bc84218"
+ "32b96b33.0a8ad4"
]
]
},
{
- "id": "14cddf18.c41e11",
+ "id": "d2d4b2ea.6153e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3418.015625,
- "y": 5032.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3376.964256286621,
+ "y": 4867.8928298950195,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "5b697691.05b338"
+ "d9c9ca73.6efd58"
]
]
},
{
- "id": "7942e74.bc84218",
+ "id": "32b96b33.0a8ad4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3577.015869140625,
- "y": 4881.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3547.3931732177734,
+ "y": 4811.178346633911,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "385c2aa6.934746",
- "f6c861fe.93263",
- "4a65a227.e809dc"
+ "5106187.8d9dfe8",
+ "50cca895.47eac8",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "5b697691.05b338",
+ "id": "d9c9ca73.6efd58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3586.015625,
- "y": 5030,
- "z": "902b25ae.7c3098",
+ "x": 3530.6785583496094,
+ "y": 4867.749955177307,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "31d0b8db.29cbe8"
+ "1f909fea.a105a"
]
]
},
{
- "id": "31d0b8db.29cbe8",
+ "id": "1f909fea.a105a",
"type": "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": 3732.0155029296875,
- "y": 5029.000241518021,
- "z": "902b25ae.7c3098",
+ "x": 3568.107250213623,
+ "y": 4933.892751693726,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "385c2aa6.934746",
+ "id": "5106187.8d9dfe8",
"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": 3748.0155029296875,
- "y": 4943.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 3734.1069869995117,
+ "y": 4887.892691612244,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "f6c861fe.93263",
+ "id": "50cca895.47eac8",
"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": 3743.015625,
- "y": 4847.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3716.25,
+ "y": 4835.75,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "20d94ddd.79ea92",
+ "id": "67608066.11669",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2953.265625,
- "y": 5306.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 2926.5,
+ "y": 5294.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "96daf082.00945",
- "a101e5d9.818c08",
- "736f603c.739f",
- "4994eb58.545584",
- "402dcb7f.3b04e4",
- "2ddd8a64.d76196",
- "7f43ba25.e857d4",
- "e1a3890e.1c4748"
+ "7131148d.c91e4c",
+ "36de886d.33aad8",
+ "64f2f8ca.c47278",
+ "279c9aec.39e9e6",
+ "d8af5b5a.798138",
+ "8ebca72.323ae58",
+ "b1cc099a.d2de88",
+ "cc4a732a.b0297",
+ "b115c77c.8d08e8",
+ "4ffe0b04.884aa4"
]
]
},
{
- "id": "96daf082.00945",
+ "id": "7131148d.c91e4c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3175.265625,
- "y": 5212.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3148.5,
+ "y": 5200.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "820db068.9a9e7"
+ "50882b45.b5d224",
+ "37d30e43.cd5022"
]
]
},
{
- "id": "820db068.9a9e7",
+ "id": "37d30e43.cd5022",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3353.265625,
- "y": 5179.999753236771,
- "z": "902b25ae.7c3098",
+ "x": 3397.2147064208984,
+ "y": 5213.036775588989,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "cf9d35b6.c560e8"
+ "3738c2e4.7ebdde"
]
]
},
{
- "id": "cf9d35b6.c560e8",
+ "id": "3738c2e4.7ebdde",
"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": 3631.265625,
- "y": 5171.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3591.4999084472656,
+ "y": 5151.179372787476,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "a101e5d9.818c08",
+ "id": "36de886d.33aad8",
"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": 3210.265625,
- "y": 5284.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3183.5,
+ "y": 5272.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "736f603c.739f",
+ "id": "64f2f8ca.c47278",
"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": 3175.265625,
- "y": 5336.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3148.5,
+ "y": 5324.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "4994eb58.545584",
+ "id": "279c9aec.39e9e6",
"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": 3210.265625,
- "y": 5411.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3183.5,
+ "y": 5399.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "918c6899.3a8928",
- "b1b2a4d3.a2e3b8"
+ "2f7546d9.06953a",
+ "cd43a58b.87b7d8"
]
]
},
{
- "id": "918c6899.3a8928",
+ "id": "2f7546d9.06953a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3457.265625,
- "y": 5384.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3430.5,
+ "y": 5372.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "bca7d739.756ea8"
+ "a81fc094.aa861"
]
]
},
{
- "id": "b1b2a4d3.a2e3b8",
+ "id": "cd43a58b.87b7d8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3461.265625,
- "y": 5463.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3434.5,
+ "y": 5451.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "44c9ddb4.8ec0e4"
+ "4a537810.02e728"
]
]
},
{
- "id": "bca7d739.756ea8",
+ "id": "a81fc094.aa861",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3615.265869140625,
- "y": 5332.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3598.500473022461,
+ "y": 5383.607353210449,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "803a4a43.8f68b8",
- "1d1a1c21.01b8b4",
- "4a65a227.e809dc"
+ "1d3825cc.b7c66a",
+ "50cde66b.d295f8",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "1d1a1c21.01b8b4",
+ "id": "50cde66b.d295f8",
"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": 3781.265625,
- "y": 5298.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3754.5,
+ "y": 5286.75,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "803a4a43.8f68b8",
+ "id": "1d3825cc.b7c66a",
"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": 3786.2655029296875,
- "y": 5394.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 3759.4998779296875,
+ "y": 5381.750061035156,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "44c9ddb4.8ec0e4",
+ "id": "4a537810.02e728",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3625.2655029296875,
- "y": 5465.000119447708,
- "z": "902b25ae.7c3098",
+ "x": 3598.4998779296875,
+ "y": 5452.7501220703125,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "a0e2fcc8.812fa",
- "5ff2d178.53119"
+ "9d5f6394.cacc8",
+ "e8d91a7f.c1fb68"
]
]
},
{
- "id": "a0e2fcc8.812fa",
+ "id": "9d5f6394.cacc8",
"type": "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": 3775.2655029296875,
- "y": 5460.000241518021,
- "z": "902b25ae.7c3098",
+ "x": 3755.643051147461,
+ "y": 5424.89278793335,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "5ff2d178.53119",
+ "id": "e8d91a7f.c1fb68",
"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": 3790.265625,
- "y": 5522.999997377396,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "402dcb7f.3b04e4",
- "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": 3189.265625,
- "y": 5465.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3763.5000915527344,
+ "y": 5462.1787109375,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "2ddd8a64.d76196",
+ "id": "d8af5b5a.798138",
"type": "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": 3129.265625,
- "y": 5519.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3121.0714111328125,
+ "y": 5532.035398483276,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "7f43ba25.e857d4",
+ "id": "8ebca72.323ae58",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3734.2656631469727,
- "y": 5097.000087022781,
- "z": "902b25ae.7c3098",
+ "x": 3183.214096546173,
+ "y": 5079.035627365112,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "f633b2f2.998f1",
- "916efd04.9f076",
- "60c3b865.5a7f28",
- "34c9f057.5f31a",
- "5433ce01.1f24a",
- "b871a9b1.5edd68",
- "bcad00a2.21753",
- "d8c369b8.66c268",
- "971ea3e7.4ad35",
- "d6c2686.5629f98",
- "1e1ae909.b227b7"
+ "1caba807.ca2ee8",
+ "6025ca93.72ca44",
+ "1f8d09a0.745416",
+ "c11c30.4ee7c3d",
+ "7a0698cb.1aff18",
+ "7e5fda09.b26744",
+ "682b66d9.7c20e8",
+ "6f6de2f2.c33c1c",
+ "3d68ec75.1f6ed4",
+ "56b1a60a.125158",
+ "7ffd0028.c9025"
]
]
},
{
- "id": "60c3b865.5a7f28",
+ "id": "1f8d09a0.745416",
"type": "set",
"name": "Calculate RRM Parms1",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
"comments": "",
- "x": 4178.255432128906,
- "y": 4877.322750329971,
- "z": "902b25ae.7c3098",
+ "x": 4151.489807128906,
+ "y": 4865.072752952576,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "34c9f057.5f31a",
+ "id": "c11c30.4ee7c3d",
"type": "set",
"name": "Calculate RRM Parms2",
"xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4186.796691894531,
- "y": 4922.342769801617,
- "z": "902b25ae.7c3098",
+ "x": 4160.031066894531,
+ "y": 4910.092772424221,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "5433ce01.1f24a",
+ "id": "7a0698cb.1aff18",
"type": "set",
"name": "Calculate RRM Parms3",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
"comments": "",
- "x": 4176.796813964844,
- "y": 4977.342647731304,
- "z": "902b25ae.7c3098",
+ "x": 4150.031188964844,
+ "y": 4965.0926503539085,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "b871a9b1.5edd68",
+ "id": "7e5fda09.b26744",
"type": "set",
"name": "Calculate RRM Parms4",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4176.796691894531,
- "y": 5028.342647790909,
- "z": "902b25ae.7c3098",
+ "x": 4150.031066894531,
+ "y": 5016.092650413513,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "bcad00a2.21753",
+ "id": "682b66d9.7c20e8",
"type": "set",
"name": "Calculate RRM Parms5",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
"comments": "",
- "x": 4164.796813964844,
- "y": 5088.342769801617,
- "z": "902b25ae.7c3098",
+ "x": 4138.031188964844,
+ "y": 5076.092772424221,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "d8c369b8.66c268",
+ "id": "6f6de2f2.c33c1c",
"type": "set",
"name": "Calculate RRM Parms6",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />",
"comments": "",
- "x": 4202.796691894531,
- "y": 5138.342769801617,
- "z": "902b25ae.7c3098",
+ "x": 4176.031066894531,
+ "y": 5126.092772424221,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "971ea3e7.4ad35",
+ "id": "3d68ec75.1f6ed4",
"type": "set",
"name": "Calculate RRM Parms7",
"xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
"comments": "",
- "x": 4189.796630859375,
- "y": 5208.343136072159,
- "z": "902b25ae.7c3098",
+ "x": 4163.031005859375,
+ "y": 5196.093138694763,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "d6c2686.5629f98",
+ "id": "56b1a60a.125158",
"type": "set",
"name": "calculation8",
"xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
"comments": "",
- "x": 4160.796630859375,
- "y": 5272.342159509659,
- "z": "902b25ae.7c3098",
+ "x": 4134.031005859375,
+ "y": 5260.092162132263,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "1e1ae909.b227b7",
+ "id": "7ffd0028.c9025",
"type": "set",
"name": "calculation9",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
"comments": "",
- "x": 4148.797180175781,
- "y": 5323.342037439346,
- "z": "902b25ae.7c3098",
+ "x": 4122.031555175781,
+ "y": 5311.092040061951,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "916efd04.9f076",
+ "id": "6025ca93.72ca44",
"type": "set",
"name": "calculation10",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
"comments": "",
- "x": 4124.2554931640625,
- "y": 5389.322506189346,
- "z": "902b25ae.7c3098",
+ "x": 4097.4898681640625,
+ "y": 5377.072508811951,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "f633b2f2.998f1",
+ "id": "1caba807.ca2ee8",
"type": "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": 3950.2654190063477,
- "y": 5401.443812608719,
- "z": "902b25ae.7c3098",
+ "x": 3923.4997940063477,
+ "y": 5389.193815231323,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "e1a3890e.1c4748",
+ "id": "b1cc099a.d2de88",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3170.515625,
- "y": 5590.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3143.75,
+ "y": 5578.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "64a196e6.feac38"
+ "cb350ecc.dabe8"
]
]
},
{
- "id": "64a196e6.feac38",
+ "id": "cb350ecc.dabe8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3391.515625,
- "y": 5610.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3364.75,
+ "y": 5598.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "e12fa0c8.7acbd",
- "685561f6.45cae",
- "61d8afc9.4bdd8",
- "d4a04237.962ee",
- "35c21b7f.1ce444",
- "a74023c1.3525c"
+ "d4d4b15c.8641d",
+ "b270ec39.8bf7f",
+ "c76301b1.3e00c",
+ "221bd729.31ff48",
+ "4416db8.9e54424",
+ "8c22b1e3.6e53b",
+ "ca9403ef.7c439",
+ "3f4b18f4.bbc808",
+ "303a9f8c.9bc24",
+ "fe28d7e2.b48578"
]
]
},
{
- "id": "e12fa0c8.7acbd",
+ "id": "d4d4b15c.8641d",
"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": 3716.515625,
- "y": 5587.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3691.178512573242,
+ "y": 5538.607490062714,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "61d8afc9.4bdd8",
+ "id": "c76301b1.3e00c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3684.515625,
- "y": 5638.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 3636.321762084961,
+ "y": 5582.464266777039,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "f80724f1.e8cff8"
+ "753eaa04.0d5c64",
+ "af2eb1a1.5bcc7"
]
]
},
{
- "id": "f80724f1.e8cff8",
+ "id": "753eaa04.0d5c64",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3884.515625,
- "y": 5645.999524354935,
- "z": "902b25ae.7c3098",
+ "x": 3832.035758972168,
+ "y": 5573.749752998352,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "72ec29d6.f4f048"
+ "aaaee28c.49d48"
]
]
},
{
- "id": "72ec29d6.f4f048",
+ "id": "aaaee28c.49d48",
"type": "execute",
- "name": "fetch RRMPolicyRatio NRCellDU - URL",
+ "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": 4150.515625,
- "y": 5649.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 4149.750217437744,
+ "y": 5543.036689758301,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "35c21b7f.1ce444",
- "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": 3698.515625,
- "y": 5676.99976849556,
- "z": "902b25ae.7c3098",
- "wires": []
- },
- {
- "id": "a74023c1.3525c",
+ "id": "4416db8.9e54424",
"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": 3689.515625,
- "y": 5723.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 3621.321533203125,
+ "y": 5750.3213901519775,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "685561f6.45cae",
+ "id": "b270ec39.8bf7f",
"type": "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": 3646.515625,
- "y": 5767.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 3596.893051147461,
+ "y": 5790.036268234253,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "d4a04237.962ee",
+ "id": "221bd729.31ff48",
"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": 3713.515625,
- "y": 5809.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 3681.0357971191406,
+ "y": 5826.321493148804,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "2bc6612f.3a72de",
- "2bef5a31.84c156"
+ "ef07b3e.271fa5",
+ "f4fff9b3.63df98"
]
]
},
{
- "id": "2bc6612f.3a72de",
+ "id": "ef07b3e.271fa5",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3985.515625,
- "y": 5801.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 3958.75,
+ "y": 5789.749771118164,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "3f5bc381.3be27c"
+ "f30a848.a6f3978"
]
]
},
{
- "id": "3f5bc381.3be27c",
+ "id": "f30a848.a6f3978",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4176.515625,
- "y": 5801.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 4149.75,
+ "y": 5789.749771118164,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "792be8db.f35478"
+ "77783aed.fa5aa4"
]
]
},
{
- "id": "792be8db.f35478",
+ "id": "77783aed.fa5aa4",
"type": "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": 4361.515380859375,
- "y": 5803.000012636185,
- "z": "902b25ae.7c3098",
+ "x": 4334.749755859375,
+ "y": 5790.750015258789,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "d428b524.dd51f8",
+ "id": "5e9e764e.4f1338",
"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": 4443.515625,
- "y": 5845.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 4416.75,
+ "y": 5833.749771118164,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "8662f257.3d8f4",
+ "id": "30b77633.71a56a",
"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": 4448.5155029296875,
- "y": 5940.999829530716,
- "z": "902b25ae.7c3098",
+ "x": 4421.7498779296875,
+ "y": 5928.74983215332,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "b5d5e9cf.893988",
+ "id": "1de4f6e8.7d9e09",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4203.515869140625,
- "y": 5894.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 4154.2502784729,
+ "y": 5831.500413417816,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "8662f257.3d8f4",
- "d428b524.dd51f8",
- "4a65a227.e809dc"
+ "30b77633.71a56a",
+ "5e9e764e.4f1338",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "2bef5a31.84c156",
+ "id": "f4fff9b3.63df98",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3984.515625,
- "y": 5889.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 3967.7500915527344,
+ "y": 5837.750413894653,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "b5d5e9cf.893988"
+ "1de4f6e8.7d9e09"
]
]
},
{
- "id": "bb5a724b.05c2d",
+ "id": "2c5cd38b.62f3fc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2906.0157165527344,
- "y": 5895.000094652176,
- "z": "902b25ae.7c3098",
+ "x": 2879.2500915527344,
+ "y": 5882.75009727478,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "f4dbb40.e268a5",
- "8939105b.599d4"
+ "6ec5836d.5ec48c",
+ "8ed5b07e.77931",
+ "4e2b0f1e.b37e9",
+ "72141d66.6370b4",
+ "92b3075d.856338",
+ "ebe8ed9f.8997a",
+ "29d9774b.8f3d88",
+ "4950ccfb.7f5304",
+ "76a99db7.945c84"
]
]
},
{
- "id": "f4dbb40.e268a5",
+ "id": "6ec5836d.5ec48c",
"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": 3369.015625,
- "y": 5902.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3342.25,
+ "y": 5890.75,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "d5a42ec3.91d74",
- "8ff8b4aa.929f68"
+ "352c40f0.35367",
+ "3ad8cb1.8518034"
]
]
},
{
- "id": "d5a42ec3.91d74",
+ "id": "352c40f0.35367",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3656.015625,
- "y": 5874.000241518021,
- "z": "902b25ae.7c3098",
+ "x": 3629.25,
+ "y": 5861.750244140625,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "866399c7.d1ca08"
+ "f3743569.6fdd58"
]
]
},
{
- "id": "8ff8b4aa.929f68",
+ "id": "3ad8cb1.8518034",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3605.015625,
- "y": 5974.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3629.500213623047,
+ "y": 5900.250413894653,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "ea370960.ed44f8"
+ "446832e6.8f63bc"
]
]
},
{
- "id": "ea370960.ed44f8",
+ "id": "446832e6.8f63bc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3691.015609741211,
- "y": 6056.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 3803.000026702881,
+ "y": 5921.250171661377,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "7d659980.6589c8"
+ "5233981b.9501f8"
]
]
},
{
- "id": "866399c7.d1ca08",
+ "id": "f3743569.6fdd58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3848.015625,
- "y": 5989.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3822.5000915527344,
+ "y": 5884.000415802002,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "e34ed9b5.d545b8",
- "44f71652.026ad8",
- "4a65a227.e809dc"
+ "f9b6dc0f.688f8",
+ "ac341836.a453f8",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "44f71652.026ad8",
+ "id": "ac341836.a453f8",
"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": 4014.015426635742,
- "y": 5957.999985933304,
- "z": "902b25ae.7c3098",
+ "x": 4025.999912261963,
+ "y": 5887.000292137265,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "7d659980.6589c8",
+ "id": "5233981b.9501f8",
"type": "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": 3855.015625,
- "y": 6061.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 4015.750274658203,
+ "y": 5958.500537872314,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "e34ed9b5.d545b8",
+ "id": "f9b6dc0f.688f8",
"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": 4019.0152587890625,
- "y": 6051.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 4040.999725341797,
+ "y": 5926.250171661377,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "e8ed10ed.a351",
+ "id": "4efa09cb.af3638",
"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": 4057.015426635742,
- "y": 6101.999985933304,
- "z": "902b25ae.7c3098",
+ "x": 4040.249786376953,
+ "y": 6187.250538825989,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "827ed714.37b868",
+ "id": "94f46847.dcd7f8",
"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": 4062.0153045654297,
- "y": 6197.00004696846,
- "z": "902b25ae.7c3098",
+ "x": 4060.249912261963,
+ "y": 6228.500539779663,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "ef76090b.dc8128",
+ "id": "f570545f.074188",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3891.015670776367,
- "y": 6135.999985933304,
- "z": "902b25ae.7c3098",
+ "x": 3850.500274658203,
+ "y": 6220.000173568726,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "827ed714.37b868",
- "e8ed10ed.a351",
- "4a65a227.e809dc"
+ "94f46847.dcd7f8",
+ "4efa09cb.af3638",
+ "5ce931d8.83b77"
]
]
},
{
- "id": "4b3e204d.2253b",
+ "id": "eecd011e.a34ef",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3688.015670776367,
- "y": 6138.999985933304,
- "z": "902b25ae.7c3098",
+ "x": 3664.500217437744,
+ "y": 6314.25009059906,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "ef76090b.dc8128"
+ "f570545f.074188"
]
]
},
{
- "id": "8939105b.599d4",
+ "id": "725d04d4.4e5bdc",
"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": 3390.015670776367,
- "y": 6188.999985933304,
- "z": "902b25ae.7c3098",
+ "x": 3442.250701904297,
+ "y": 6335.74996805191,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "4b3e204d.2253b",
- "512f1d26.ff6904"
+ "eecd011e.a34ef",
+ "e6239cf5.818b3"
]
]
},
{
- "id": "512f1d26.ff6904",
+ "id": "e6239cf5.818b3",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3688.015670776367,
- "y": 6248.999741792679,
- "z": "902b25ae.7c3098",
+ "x": 3674.250156402588,
+ "y": 6356.749479293823,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "5ff73d10.62c194"
+ "cecca2b5.96148"
]
]
},
{
- "id": "5ff73d10.62c194",
+ "id": "cecca2b5.96148",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3869.015670776367,
- "y": 6242.999985933304,
- "z": "902b25ae.7c3098",
+ "x": 3843.500213623047,
+ "y": 6280.750296592712,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "60b8412.a13afc"
+ "79d598a2.fb8fa8"
]
]
},
{
- "id": "60b8412.a13afc",
+ "id": "79d598a2.fb8fa8",
"type": "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": 4035.015670776367,
- "y": 6243.999985933304,
- "z": "902b25ae.7c3098",
+ "x": 4008.250274658203,
+ "y": 6285.500052452087,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "4a65a227.e809dc",
+ "id": "5ce931d8.83b77",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4528,
- "y": 2795,
- "z": "902b25ae.7c3098",
+ "x": 4501.234375,
+ "y": 2782.7500026226044,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "44b06412.78179c",
- "a33b8d5c.395c9",
- "87ecaac1.467418"
+ "2247000f.d530e",
+ "3d33a487.fe205c",
+ "aa18816b.2e3c2",
+ "616adbcb.acfbc4",
+ "736e2c41.e3fa04"
]
]
},
{
- "id": "44b06412.78179c",
+ "id": "2247000f.d530e",
"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",
+ "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
"comments": "",
- "x": 5190.0009765625,
- "y": 2586.899658203125,
- "z": "902b25ae.7c3098",
+ "x": 5154.2354736328125,
+ "y": 2606.6497535705566,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "a33b8d5c.395c9",
+ "id": "3d33a487.fe205c",
"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": 5164.999862670898,
- "y": 2684.0003356933594,
- "z": "902b25ae.7c3098",
+ "x": 5138.234237670898,
+ "y": 2671.7503383159637,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "87ecaac1.467418",
+ "id": "aa18816b.2e3c2",
"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\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 5079.99987411499,
- "y": 2781.000213623047,
- "z": "902b25ae.7c3098",
+ "x": 5053.23424911499,
+ "y": 2768.7502162456512,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "769ca8a5.209e38",
- "aa9e72b8.31727"
+ "d9756a9c.e29428",
+ "77f80c09.b3c4e4"
]
]
},
{
- "id": "769ca8a5.209e38",
+ "id": "d9756a9c.e29428",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5305.999882698059,
- "y": 2758.0001826286316,
- "z": "902b25ae.7c3098",
+ "x": 5279.234257698059,
+ "y": 2745.750185251236,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "2357438d.bfe2fc"
+ "cb20b966.f37f68"
]
]
},
{
- "id": "aa9e72b8.31727",
+ "id": "77f80c09.b3c4e4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5295.999736785889,
- "y": 2866.0001220703125,
- "z": "902b25ae.7c3098",
+ "x": 5269.234111785889,
+ "y": 2853.750124692917,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "7c0ce140.a09e1"
+ "f87d943.0649368"
]
]
},
{
- "id": "7c0ce140.a09e1",
+ "id": "f87d943.0649368",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5445.999523162842,
- "y": 2885.0001831054688,
- "z": "902b25ae.7c3098",
+ "x": 5419.233898162842,
+ "y": 2872.750185728073,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "b767d152.5238d"
+ "8e6ddf8f.810f8"
]
]
},
{
- "id": "2357438d.bfe2fc",
+ "id": "cb20b966.f37f68",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5456.999752044678,
- "y": 2753.000304698944,
- "z": "902b25ae.7c3098",
+ "x": 5430.234127044678,
+ "y": 2740.7503073215485,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "3d344db3.9055a2"
+ "82cafc8d.59329"
]
]
},
{
- "id": "3d344db3.9055a2",
+ "id": "82cafc8d.59329",
"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": 5622.999431610107,
- "y": 2756.0001220703125,
- "z": "902b25ae.7c3098",
+ "x": 5596.233806610107,
+ "y": 2743.750124692917,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "b767d152.5238d",
+ "id": "8e6ddf8f.810f8",
"type": "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": 5609.999538421631,
- "y": 2891.0001220703125,
- "z": "902b25ae.7c3098",
+ "x": 5583.233913421631,
+ "y": 2878.750124692917,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "b7595db7.c2521",
+ "id": "af8420d.b3d6ae",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 610,
- "y": 4477,
- "z": "902b25ae.7c3098",
+ "x": 583.234375,
+ "y": 4464.750002622604,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "48041590.029d2c",
- "1364ce4.9346332",
- "38f85f43.4b8ff",
- "756f2724.d5ce18"
+ "32c6c7c5.88db48",
+ "df0dac6f.7138e",
+ "da633cbe.1363a",
+ "28f9e42.79b921c",
+ "5ae16c1.eea2c94",
+ "c627552.6535aa8"
]
]
},
{
- "id": "38f85f43.4b8ff",
+ "id": "da633cbe.1363a",
"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",
+ "xml": "<set>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
"comments": "",
- "x": 890.0011444091797,
- "y": 4326.899484634399,
- "z": "902b25ae.7c3098",
+ "x": 860.2355804443359,
+ "y": 4412.64953994751,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "48041590.029d2c",
+ "id": "32c6c7c5.88db48",
"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`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$prop.restapi.so.user`\" />\n<parameter name='field8' value=\"`$prop.restapi.so.password`\" />",
"comments": "",
"outputs": 1,
- "x": 886.9999771118164,
- "y": 4481.000183105469,
- "z": "902b25ae.7c3098",
+ "x": 858.2344131469727,
+ "y": 4504.75018787384,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "1364ce4.9346332",
+ "id": "df0dac6f.7138e",
"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": 756.0000762939453,
- "y": 4597.999887466431,
- "z": "902b25ae.7c3098",
+ "x": 729.2344512939453,
+ "y": 4585.749890089035,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "bb4fe7e5.3fe438",
- "4ff8abeb.b2c344"
+ "806ec4db.cb4478",
+ "41322c3d.61a404"
]
]
},
{
- "id": "bb4fe7e5.3fe438",
+ "id": "806ec4db.cb4478",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 921.0000762939453,
- "y": 4577.999886512756,
- "z": "902b25ae.7c3098",
+ "x": 894.2344512939453,
+ "y": 4565.749889135361,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "4192a4d.5fb205c"
+ "7e065ae1.ba2ad4"
]
]
},
{
- "id": "4ff8abeb.b2c344",
+ "id": "41322c3d.61a404",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 912.9999694824219,
- "y": 4650.999836921692,
- "z": "902b25ae.7c3098",
+ "x": 886.2343444824219,
+ "y": 4638.749839544296,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "6dd07533.60b66c"
+ "4fa8691e.9a1a18"
]
]
},
{
- "id": "6dd07533.60b66c",
+ "id": "4fa8691e.9a1a18",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1058.999813079834,
- "y": 4655.999945640564,
- "z": "902b25ae.7c3098",
+ "x": 1032.234188079834,
+ "y": 4643.749948263168,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "f0b91fc0.2c2d3"
+ "df62ad82.59771"
]
]
},
{
- "id": "4192a4d.5fb205c",
+ "id": "7e065ae1.ba2ad4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1069.9999771118164,
- "y": 4574.000021934509,
- "z": "902b25ae.7c3098",
+ "x": 1043.2343521118164,
+ "y": 4561.750024557114,
+ "z": "851f20d0.cecb9",
"wires": [
[
- "14ae4efb.b99c71",
- "17f3d5e8.b1f9fa"
+ "607894a4.4d068c",
+ "fd530684.956d28"
]
]
},
{
- "id": "14ae4efb.b99c71",
+ "id": "607894a4.4d068c",
"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": 1216.9995956420898,
- "y": 4584.9997634887695,
- "z": "902b25ae.7c3098",
+ "x": 1190.2339706420898,
+ "y": 4572.749766111374,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "f0b91fc0.2c2d3",
+ "id": "df62ad82.59771",
"type": "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": 1219.9997329711914,
- "y": 4661.999837875366,
- "z": "902b25ae.7c3098",
+ "x": 1193.2341079711914,
+ "y": 4649.749840497971,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
},
{
- "id": "17f3d5e8.b1f9fa",
+ "id": "fd530684.956d28",
"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": 1204.5102043151855,
- "y": 4488.989254951477,
- "z": "902b25ae.7c3098",
+ "x": 1177.7445793151855,
+ "y": 4476.739257574081,
+ "z": "851f20d0.cecb9",
"wires": []
},
{
- "id": "756f2724.d5ce18",
+ "id": "28f9e42.79b921c",
"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": 909.339599609375,
- "y": 4416.985337257385,
- "z": "902b25ae.7c3098",
+ "x": 880.5740203857422,
+ "y": 4458.735600471497,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d6529a53.46a858",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2284.75,
+ "y": 1779.75,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "f115f64b.a01a08"
+ ]
+ ]
+ },
+ {
+ "id": "f115f64b.a01a08",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2477.739658355713,
+ "y": 1779.7501220703125,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "d3d345e9.54a188",
+ "93011563.fc6e08"
+ ]
+ ]
+ },
+ {
+ "id": "d3d345e9.54a188",
+ "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": 2784.739845275879,
+ "y": 1746.75022315979,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "93011563.fc6e08",
+ "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": 2728.740245819092,
+ "y": 1799.7504167556763,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "62c4ee44.ca781",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2712.25,
+ "y": 1163.75,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "8a454647.15b438",
+ "cbce0074.4b395"
+ ]
+ ]
+ },
+ {
+ "id": "cbce0074.4b395",
+ "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": 2963.250431060791,
+ "y": 1186.75013256073,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a454647.15b438",
+ "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": 3019.250030517578,
+ "y": 1133.7499389648438,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4e08041f.b8bd8c",
+ "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": 3200.806022644043,
+ "y": 2169.638886451721,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "274a25c6.e6c12a",
+ "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": 3259.0279998779297,
+ "y": 2126.638976097107,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7c1eade.003d654",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2975.3607330322266,
+ "y": 2128.527322769165,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "274a25c6.e6c12a",
+ "4e08041f.b8bd8c"
+ ]
+ ]
+ },
+ {
+ "id": "c33d8fc7.a963a",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2811.2601470947266,
+ "y": 2128.527945995331,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "7c1eade.003d654"
+ ]
+ ]
+ },
+ {
+ "id": "9c7d0cb1.659ab",
+ "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": 2251.75,
+ "y": 2816.75,
+ "z": "851f20d0.cecb9",
"wires": [
[]
]
+ },
+ {
+ "id": "76dd6a53.c4afd4",
+ "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": 2307.749599456787,
+ "y": 2763.7498064041138,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ee6e501d.a4065",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1989.082950592041,
+ "y": 2759.305585861206,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "76dd6a53.c4afd4",
+ "9c7d0cb1.659ab"
+ ]
+ ]
+ },
+ {
+ "id": "f8bdd708.c8be58",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2031.75,
+ "y": 3160.75,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "37d82242.df83de",
+ "227ebbdb.13d394"
+ ]
+ ]
+ },
+ {
+ "id": "37d82242.df83de",
+ "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": 2333.7499351501465,
+ "y": 3120.7500610351562,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "227ebbdb.13d394",
+ "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": 2277.7503356933594,
+ "y": 3173.7502546310425,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e0a753ea.22da",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1804.25,
+ "y": 3169.75,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "f8bdd708.c8be58"
+ ]
+ ]
+ },
+ {
+ "id": "161693aa.881efc",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2349.0279502868652,
+ "y": 3593.5277280807495,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "a9a074be.79fec8"
+ ]
+ ]
+ },
+ {
+ "id": "a9a074be.79fec8",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2564.305606842041,
+ "y": 3571.194456100464,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "e0f89abe.bb4c18",
+ "c82c5103.210ad"
+ ]
+ ]
+ },
+ {
+ "id": "e0f89abe.bb4c18",
+ "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": 2870.7499351501465,
+ "y": 3566.7500610351562,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c82c5103.210ad",
+ "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": 2814.7503356933594,
+ "y": 3619.7502546310425,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "afcc150e.81c9b8",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3454.25,
+ "y": 4598.75,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "809411cf.68382",
+ "729f6ebc.1c5c7"
+ ]
+ ]
+ },
+ {
+ "id": "809411cf.68382",
+ "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": 3761.250030517578,
+ "y": 4568.749938964844,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "729f6ebc.1c5c7",
+ "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": 3705.250431060791,
+ "y": 4621.75013256073,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "50882b45.b5d224",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3392.4287185668945,
+ "y": 5267.464422225952,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "a9c3f917.ff97e8"
+ ]
+ ]
+ },
+ {
+ "id": "a9c3f917.ff97e8",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3523.714797973633,
+ "y": 5294.285120010376,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "c851e662.6c3f88",
+ "b7fa15ad.187a28"
+ ]
+ ]
+ },
+ {
+ "id": "c851e662.6c3f88",
+ "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": 3765.0000495910645,
+ "y": 5186.9995975494385,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b7fa15ad.187a28",
+ "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": 3708.0005378723145,
+ "y": 5247.999963760376,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af2eb1a1.5bcc7",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3826.7144165039062,
+ "y": 5613.8931674957275,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "769a6add.26eab4"
+ ]
+ ]
+ },
+ {
+ "id": "769a6add.26eab4",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3985.1436729431152,
+ "y": 5625.000014305115,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "67986b7c.f22114",
+ "15761409.d2c44c"
+ ]
+ ]
+ },
+ {
+ "id": "67986b7c.f22114",
+ "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": 4234.999771118164,
+ "y": 5587.714666366577,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "15761409.d2c44c",
+ "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": 4173.714820861816,
+ "y": 5637.2857456207275,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "139944c3.da6c3b",
+ "type": "comment",
+ "name": "instantiateRANSlice-ModifyAllocate",
+ "info": "",
+ "comments": "",
+ "x": 721.4999847412109,
+ "y": 50.00000286102295,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "4524ca88.520da4",
+ "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": 231.77081298828125,
+ "y": 1466.1041259765625,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "da9a6518.74e5b8",
+ "type": "execute",
+ "name": "set sNSSAI & PLMN id",
+ "xml": "<set>\n\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.snssaiList[0]`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 665.4999694824219,
+ "y": 194.0000123977661,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a2c6e87b.4d4928",
+ "type": "set",
+ "name": "Calculate maxNumberOfConnsPercellCU * 100",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n",
+ "comments": "",
+ "x": 2148.250078201294,
+ "y": 1655.2500162124634,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "c8227d61.35758",
+ "type": "set",
+ "name": "Calculate RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
+ "comments": "",
+ "x": 2100.250078201294,
+ "y": 1693.2500162124634,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "df4c3d6b.71ee2",
+ "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": 2134.4999866485596,
+ "y": 1982.2501420974731,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "f5ecffc5.0f7b9",
+ "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": 2600.4999866485596,
+ "y": 2055.000084877014,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e06ed195.bb9dd",
+ "type": "block",
+ "name": "Get Cells List in TA",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 671.7499618530273,
+ "y": 492.00020933151245,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "6640e6e8.1f43a8",
+ "4c18f395.20f6dc",
+ "7bde48a3.90b388"
+ ]
+ ]
+ },
+ {
+ "id": "6640e6e8.1f43a8",
+ "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": 937.2501754760742,
+ "y": 417.50010108947754,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4c18f395.20f6dc",
+ "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": 937.2501983642578,
+ "y": 459.2503752708435,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7bde48a3.90b388",
+ "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": 927.7502059936523,
+ "y": 535.0001788139343,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "3c61468.fda32ba",
+ "826f2ff5.6c2f3"
+ ]
+ ]
+ },
+ {
+ "id": "3c61468.fda32ba",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1166.749984741211,
+ "y": 475.00018429756165,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "dd217353.07446"
+ ]
+ ]
+ },
+ {
+ "id": "826f2ff5.6c2f3",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1156.4998016357422,
+ "y": 536.000168800354,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "1b40bf36.b847f1"
+ ]
+ ]
+ },
+ {
+ "id": "1b40bf36.b847f1",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1321.7495498657227,
+ "y": 519.0002336502075,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "f50d14d8.5083f8",
+ "631dafc6.b9cac",
+ "751e8f37.3188f"
+ ]
+ ]
+ },
+ {
+ "id": "f50d14d8.5083f8",
+ "type": "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": 1512.7495651245117,
+ "y": 479.00018644332886,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "751e8f37.3188f",
+ "type": "for",
+ "name": "For list of cells",
+ "xml": "<for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1513.770679473877,
+ "y": 534.6663851737976,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "dde88397.f9687",
+ "a9bbf82e.f35a68"
+ ]
+ ]
+ },
+ {
+ "id": "631dafc6.b9cac",
+ "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": 1492.5279541015625,
+ "y": 573.0001406669617,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dde88397.f9687",
+ "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": 1727.7705841064453,
+ "y": 494.33290433883667,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a9bbf82e.f35a68",
+ "type": "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": 1683.7706184387207,
+ "y": 531.6662631034851,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dd217353.07446",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1327.7498626708984,
+ "y": 445.00010895729065,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "cfb227e0.e92678",
+ "e2cf272c.c85d28",
+ "5ce931d8.83b77"
+ ]
+ ]
+ },
+ {
+ "id": "e2cf272c.c85d28",
+ "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": 1564.7500762939453,
+ "y": 403.11123847961426,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "cfb227e0.e92678",
+ "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": 1544.7497634887695,
+ "y": 445.00011825561523,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "6096b89c.76c6f8",
+ "type": "for",
+ "name": "foreach TACell",
+ "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2022.833381652832,
+ "y": 931.3612127304077,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "c8204962.b9b558"
+ ]
+ ]
+ },
+ {
+ "id": "3e25a122.c4adfe",
+ "type": "switchNode",
+ "name": "is cellCU applicable for NSSAI",
+ "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2271.75,
+ "y": 866.5,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "47453e34.a4cc7"
+ ]
+ ]
+ },
+ {
+ "id": "47453e34.a4cc7",
+ "type": "outcome",
+ "name": "Applicable",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2212.75,
+ "y": 939.5,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "49d2b0dd.f470a"
+ ]
+ ]
+ },
+ {
+ "id": "c8204962.b9b558",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2064.75,
+ "y": 766.5,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "3e25a122.c4adfe",
+ "49662f8c.bcd88",
+ "684301d2.a20c1"
+ ]
+ ]
+ },
+ {
+ "id": "49662f8c.bcd88",
+ "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": 2390.75,
+ "y": 709.5,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "684301d2.a20c1",
+ "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": 2400.75,
+ "y": 774.5,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ef21539c.19b94",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio_id is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyMember_id - \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyRatio update URL is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2545.944496154785,
+ "y": 2299.61114692688,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a721c040.e0814",
+ "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": 2830.666549682617,
+ "y": 2165.444314956665,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "727f8e75.8bf37",
+ "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": 2825.222007751465,
+ "y": 2195.444555282593,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8db65cb2.433a",
+ "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": 2835.944625854492,
+ "y": 2228.777898788452,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3ccfe786.cfc518",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.CUCPName`'/>\n<parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBCUCPList.nFType' value='RRC Connected Users'/>\n ",
+ "comments": "",
+ "x": 1923.4723320007324,
+ "y": 2230.4444856643677,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "d1830cc2.245b7",
+ "type": "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": 1909.9721794128418,
+ "y": 2272.666624069214,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "91ed6cf9.b1f4e",
+ "type": "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": 1893.6875,
+ "y": 2187.25,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8ae4e7a8.66a468",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>\n<parameter name='tmp.resourceID' value='`$tmp.cellCULocalId`'/>",
+ "comments": "",
+ "x": 2110.312759399414,
+ "y": 2614.063021659851,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "75cd172c.0f47a8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2039.5627059936523,
+ "y": 2645.035129547119,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d036625e.6fa45",
+ "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=\"RRC Connected Users\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2007.7222137451172,
+ "y": 2349.055627822876,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "448a23c3.9d7ecc",
+ "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": 2010.1109161376953,
+ "y": 2453.222101211548,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "25f5099c.8fa316",
+ "3c1b796b.5b30c6"
+ ]
+ ]
+ },
+ {
+ "id": "aca59270.868db",
+ "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": 1963.2776947021484,
+ "y": 2378.2222414016724,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "25f5099c.8fa316",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2313.833251953125,
+ "y": 2504.055419921875,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "b25dfb57.b4b0b8"
+ ]
+ ]
+ },
+ {
+ "id": "3c1b796b.5b30c6",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2317.9443130493164,
+ "y": 2549.2777228355408,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "c40348b.2bd41b8"
+ ]
+ ]
+ },
+ {
+ "id": "b25dfb57.b4b0b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2465.833543777466,
+ "y": 2502.0553998947144,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "41ef315c.d4e56",
+ "5db9d7a8.a06b48"
+ ]
+ ]
+ },
+ {
+ "id": "5db9d7a8.a06b48",
+ "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": 2631.833299636841,
+ "y": 2468.0553998947144,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "41ef315c.d4e56",
+ "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": 2660.166763305664,
+ "y": 2500.833417892456,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "1b14460f.6a494a",
+ "type": "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": 2635.7222442626953,
+ "y": 2532.0557708740234,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "52485c12.13c414",
+ "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": 2733.9444122314453,
+ "y": 2558.3888664245605,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c40348b.2bd41b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2472.4999084472656,
+ "y": 2552.9441986083984,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "1b14460f.6a494a",
+ "52485c12.13c414"
+ ]
+ ]
+ },
+ {
+ "id": "5ec3aa02.391784",
+ "type": "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": 1947.7221908569336,
+ "y": 2413.3887045383453,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7db7d25e.eb132c",
+ "type": "set",
+ "name": "Calculate maxNumberOfDRBsPerNSSAI",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />",
+ "comments": "",
+ "x": 1695.222183227539,
+ "y": 2972.666868209839,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "a029e507.1af008",
+ "type": "set",
+ "name": "Calculate maxNumberOfDRBsPerCUUP",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />",
+ "comments": "",
+ "x": 1704.1110382080078,
+ "y": 3007.110860824585,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "1379639e.bafadc",
+ "type": "set",
+ "name": "Calculate RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
+ "comments": "",
+ "x": 1655.2221755981445,
+ "y": 3078.2222595214844,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "86e8886b.e9c628",
+ "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": 1641.611083984375,
+ "y": 2823.499755859375,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d905da99.4ff128",
+ "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": 1650.5000762939453,
+ "y": 2859.722234725952,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "56fea612.d0b798",
+ "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": 1653.3890838623047,
+ "y": 2895.7222290039062,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "69da97cc.d97eb8",
+ "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": 2177.4442749023438,
+ "y": 3477.9442176818848,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6fb99ea1.cba84",
+ "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": 2178.0000762939453,
+ "y": 3677.9441680908203,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1beb410.b9bddbf",
+ "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": 2181.055419921875,
+ "y": 3607.9443359375,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "babeecc.4e3ad1",
+ "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": 1638.4999542236328,
+ "y": 3388.9444999694824,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "34b9c13.ba3c13e",
+ "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": 2160.2222061157227,
+ "y": 3644.6107501983643,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e0e65fd0.2b6c9",
+ "type": "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": 1827.0625,
+ "y": 3724.75,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d1229865.4d31f8",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.gNBCUUPList.gNBCUUPId' value='`$tmp.idGNBCUUPFunction`'/>\n<parameter name='tmp.gNBCUUPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n ",
+ "comments": "",
+ "x": 1856.8473320007324,
+ "y": 3767.9444856643677,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "f88ad792.a38708",
+ "type": "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": 1843.3471794128418,
+ "y": 3810.166624069214,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "339be435.33e26c",
+ "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": 1923.1388397216797,
+ "y": 3918.9514331817627,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "23fd15d2.b48aca",
+ "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": 1875.360939025879,
+ "y": 3962.5623893737793,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8ad1032.8f26c",
+ "type": "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": 1838.694480895996,
+ "y": 4000.0623989105225,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4e9b0acc.4799f4",
+ "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": 1902.1944427490234,
+ "y": 4029.7846632003784,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "df044a91.413ae8",
+ "b598582.9d371a8"
+ ]
+ ]
+ },
+ {
+ "id": "f381d76b.7c5b58",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>\n<parameter name='tmp.resourceID' value='`$tmp.idGNBCUUPFunction`'/>",
+ "comments": "",
+ "x": 1965.3963203430176,
+ "y": 4175.291501998901,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "6415c9b2.ba7f78",
+ "type": "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": 1916.4236907958984,
+ "y": 4210.041502952576,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "df044a91.413ae8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2225.3611946105957,
+ "y": 3988.8123054504395,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "420965f2.ef6d6c"
+ ]
+ ]
+ },
+ {
+ "id": "420965f2.ef6d6c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2373.61141204834,
+ "y": 3996.812488555908,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "b13d442b.0110f8",
+ "e66d54f6.d9fca8"
+ ]
+ ]
+ },
+ {
+ "id": "e66d54f6.d9fca8",
+ "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": 2560.8612308502197,
+ "y": 3976.56254863739,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "b13d442b.0110f8",
+ "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": 2579.1946334838867,
+ "y": 4019.340564727783,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "aef557f3.9be3f8",
+ "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": 2642.9722213745117,
+ "y": 4083.1458024978638,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "65e1b8f4.ed6808",
+ "type": "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": 2584.750087738037,
+ "y": 4049.3127937316895,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ae6c10cb.42c8a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2389.027671813965,
+ "y": 4077.7014665603638,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "65e1b8f4.ed6808",
+ "aef557f3.9be3f8"
+ ]
+ ]
+ },
+ {
+ "id": "b598582.9d371a8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2218.9168090820312,
+ "y": 4060.284743309021,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "ae6c10cb.42c8a"
+ ]
+ ]
+ },
+ {
+ "id": "7f4d91b5.715f3",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1995.4998168945312,
+ "y": 4432.944145202637,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "7669ca05.855e74"
+ ]
+ ]
+ },
+ {
+ "id": "7669ca05.855e74",
+ "type": "for",
+ "name": "foreach TACell",
+ "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2181.47225189209,
+ "y": 4432.889133453369,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "e0981bd3.97f1b8"
+ ]
+ ]
+ },
+ {
+ "id": "e0981bd3.97f1b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2382.277557373047,
+ "y": 4434.694358825684,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "9a34dae9.059d88",
+ "e9235cff.bc697",
+ "758181e.bf5f88"
+ ]
+ ]
+ },
+ {
+ "id": "e9235cff.bc697",
+ "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": 2663.833282470703,
+ "y": 4261.0275675058365,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "758181e.bf5f88",
+ "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": 2667.1666107177734,
+ "y": 4302.694236755371,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9a34dae9.059d88",
+ "type": "switchNode",
+ "name": "is cellCU applicable for NSSAI",
+ "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2627.0553665161133,
+ "y": 4345.805636242032,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "c340bcbc.9520f"
+ ]
+ ]
+ },
+ {
+ "id": "c340bcbc.9520f",
+ "type": "outcome",
+ "name": "Applicable",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2864.722137451172,
+ "y": 4349.916248321533,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "44e21983.ec86f8"
+ ]
+ ]
+ },
+ {
+ "id": "cc4a732a.b0297",
+ "type": "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": 3160.142822265625,
+ "y": 5130.64306640625,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b115c77c.8d08e8",
+ "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": 3174.428810119629,
+ "y": 5474.57123374939,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "8c22b1e3.6e53b",
+ "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": 3681.9288177490234,
+ "y": 5499.2141456604,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ca9403ef.7c439",
+ "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": 3645.143264770508,
+ "y": 5622.785711288452,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3f4b18f4.bbc808",
+ "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": 3650.857208251953,
+ "y": 5715.285484313965,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "303a9f8c.9bc24",
+ "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": 3817.642822265625,
+ "y": 5654.9287109375,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fe28d7e2.b48578",
+ "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": 3810.5,
+ "y": 5686.35693359375,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4ffe0b04.884aa4",
+ "type": "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": 3141.25,
+ "y": 5363,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8ed5b07e.77931",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>\n<parameter name='tmp.pLMNId' value='`$tmp.payload.pLMNId`'/>\n ",
+ "comments": "",
+ "x": 3260.875,
+ "y": 5796.5625,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "4e2b0f1e.b37e9",
+ "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": 3328.375,
+ "y": 5930.9375,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "72141d66.6370b4",
+ "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": 3286.9305114746094,
+ "y": 5970.10396194458,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "92b3075d.856338",
+ "type": "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": 3268.374954223633,
+ "y": 6004.270544052124,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ebe8ed9f.8997a",
+ "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": 3330.763702392578,
+ "y": 6035.103973388672,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "621f0caa.46eec4",
+ "8271af0.7ff665"
+ ]
+ ]
+ },
+ {
+ "id": "621f0caa.46eec4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3634.486038208008,
+ "y": 6085.937292098999,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "4b8c7785.ac1828"
+ ]
+ ]
+ },
+ {
+ "id": "4b8c7785.ac1828",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3786.4863300323486,
+ "y": 6083.937272071838,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "6e6d7027.f0f57",
+ "364e8840.858108"
+ ]
+ ]
+ },
+ {
+ "id": "364e8840.858108",
+ "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": 3952.4860858917236,
+ "y": 6049.937272071838,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "6e6d7027.f0f57",
+ "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": 3980.819549560547,
+ "y": 6082.71529006958,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "5d0b280a.f4ed08",
+ "type": "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": 3956.375030517578,
+ "y": 6113.9376430511475,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eef58bbb.389ed8",
+ "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": 4054.597198486328,
+ "y": 6140.270738601685,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9116a046.3f9dc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3793.1526947021484,
+ "y": 6134.8260707855225,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "5d0b280a.f4ed08",
+ "eef58bbb.389ed8"
+ ]
+ ]
+ },
+ {
+ "id": "8271af0.7ff665",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3638.597099304199,
+ "y": 6131.159595012665,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "9116a046.3f9dc"
+ ]
+ ]
+ },
+ {
+ "id": "40b98db3.d03d74",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>",
+ "comments": "",
+ "x": 3449.9662857055664,
+ "y": 6253.944792747498,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "cc3c3709.78cbd8",
+ "type": "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": 3412.2155532836914,
+ "y": 6289.91696023941,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "29d9774b.8f3d88",
+ "type": "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": 3247.3748474121094,
+ "y": 5838.784638404846,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34a437e1.c05138",
+ "type": "execute",
+ "name": "set globalCustomerId",
+ "xml": "<set>\n<parameter name='tmp.payload.globalCustomerId' value='`$payloadJson.input.globalSubscriberId`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 660.7500228881836,
+ "y": 106.74999713897705,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "117699dc.ff55a6",
+ "type": "execute",
+ "name": "set serviceType",
+ "xml": "<set>\n<parameter name='tmp.serviceType' value='`$payloadJson.input.subscriptionServiceType`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 664.75,
+ "y": 145.75000095367432,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a145c709.8db1e8",
+ "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": 817,
+ "y": 4191.25,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "cd2b5d7d.1cc6f",
+ "800474bb.349208"
+ ]
+ ]
+ },
+ {
+ "id": "d21a5ac4.809de8",
+ "type": "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": 786.2499885559082,
+ "y": 3972.749991416931,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd2b5d7d.1cc6f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1053.0006580352783,
+ "y": 4145.250358581543,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "2ac8026c.c74cee"
+ ]
+ ]
+ },
+ {
+ "id": "2ac8026c.c74cee",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1193.0009765625,
+ "y": 4153.2502365112305,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "c7f82ee9.7dabb",
+ "9992a4fd.497d78"
+ ]
+ ]
+ },
+ {
+ "id": "9992a4fd.497d78",
+ "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": 1328.0006713867188,
+ "y": 4119.361747741699,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "c7f82ee9.7dabb",
+ "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": 1382.0003967285156,
+ "y": 4156.250297546387,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "ebf47d6b.51bc7",
+ "type": "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": 1401.0006484985352,
+ "y": 4208.250485420227,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "36aa2c36.1628e4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1215.000400543213,
+ "y": 4224.250241279602,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "ebf47d6b.51bc7",
+ "5ce931d8.83b77"
+ ]
+ ]
+ },
+ {
+ "id": "800474bb.349208",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1057.0006103515625,
+ "y": 4225.249996185303,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "36aa2c36.1628e4"
+ ]
+ ]
+ },
+ {
+ "id": "78a0519c.a4047",
+ "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": 777,
+ "y": 4060.5,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "90ebd0d1.0e27a",
+ "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": 3133.75,
+ "y": 5021.5,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4f487da.79f0984",
+ "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": 1688,
+ "y": 3247.25,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "176c3707.cee7c9",
+ "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": 2213,
+ "y": 1571.5,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "61db22e5.255cbc",
+ "type": "for",
+ "name": "For coverageAreaTAList",
+ "xml": "<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 423.69445037841797,
+ "y": 485.6667203903198,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "c1b6536e.41454"
+ ]
+ ]
+ },
+ {
+ "id": "c1b6536e.41454",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 396.8816909790039,
+ "y": 560.989305973053,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "11096942.0fe4b7",
+ "e06ed195.bb9dd",
+ "67a21af6.c45f74",
+ "f3b4b5a6.06c428",
+ "22aedb0e.d1c1f4",
+ "f23f4f55.9af9e"
+ ]
+ ]
+ },
+ {
+ "id": "11096942.0fe4b7",
+ "type": "execute",
+ "name": "read trackingArea",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.payload.trackingArea' />\n\t<parameter name='source' value=\"`'payloadJson.input.sliceProfile.coverageAreaTAList['+ $ta+']'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 721.8056297302246,
+ "y": 392.9445219039917,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "67a21af6.c45f74",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"trackingArea \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.trackingArea`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 665.6944808959961,
+ "y": 439.27770471572876,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e698a0cf.99018",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcuup-rrm1' start='0' end='`$tmp.rrmPolicyRatio_configdb_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1828.0001678466797,
+ "y": 4090.750666618347,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "8acb1ef3.7bf75"
+ ]
+ ]
+ },
+ {
+ "id": "15d0a6a8.2844c9",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatio_configdb_length' value='`$getrrmpolicyratioinfo-cuup-configdb-response._length`'/>\n\n ",
+ "comments": "",
+ "x": 1889,
+ "y": 4058.750002861023,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "8acb1ef3.7bf75",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2036,
+ "y": 4090.750002861023,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "23354179.3a37be",
+ "f381d76b.7c5b58",
+ "6415c9b2.ba7f78",
+ "fb71fd5c.63b5a"
+ ]
+ ]
+ },
+ {
+ "id": "23354179.3a37be",
+ "type": "set",
+ "name": "set rrmpolicyratioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'getrrmpolicyratioinfo-cuup-configdb-response.['+$idcuup-rrm1+'].rrmPolicyID'`\" />\n\n ",
+ "comments": "",
+ "x": 2053.000015258789,
+ "y": 4142.75018119812,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "4eca6bcf.19f6f4",
+ "type": "set",
+ "name": "set rrmpolicyratioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'getrrmpolicyratioinfo-configdb-response.['+$idcu-rrm1+'].rrmPolicyID'`\" />\n",
+ "comments": "",
+ "x": 2128.2502059936523,
+ "y": 2577.75070476532,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "a5d5d190.afc5c",
+ "type": "set",
+ "name": "set rrmpolicyratioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'getrrmpolicyratioinfoDU-configdb-response.['+$iddu-rrm1+'].rrmPolicyID'`\" />\n",
+ "comments": "",
+ "x": 3463.25040435791,
+ "y": 6216.750333786011,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "a7e4a69a.4eee18",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioConfigDB_length' value='`$getrrmpolicyratioinfo-configdb-response._length`'/>\n\n ",
+ "comments": "",
+ "x": 2004.5,
+ "y": 2487.2500038146973,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "d04803e9.e9861",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.rrmPolicyRatioConfigDB_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1821.500114440918,
+ "y": 2527.2500953674316,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "e47c84dd.df4ad8"
+ ]
+ ]
+ },
+ {
+ "id": "e47c84dd.df4ad8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2013.5000228881836,
+ "y": 2529.250308036804,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "4eca6bcf.19f6f4",
+ "8ae4e7a8.66a468",
+ "75cd172c.0f47a8",
+ "5a4e2c1e.f4b764"
+ ]
+ ]
+ },
+ {
+ "id": "4950ccfb.7f5304",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioDUList_length' value='`$getrrmpolicyratioinfoDU-configdb-response._length`'/>\n\n ",
+ "comments": "",
+ "x": 3318.000099182129,
+ "y": 6073.25020980835,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "76a99db7.945c84",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='iddu-rrm1' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3300,
+ "y": 6117.250003814697,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "57e004d0.dab4ec"
+ ]
+ ]
+ },
+ {
+ "id": "57e004d0.dab4ec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3484.25,
+ "y": 6152.250003814697,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "a5d5d190.afc5c",
+ "40b98db3.d03d74",
+ "cc3c3709.78cbd8",
+ "725d04d4.4e5bdc"
+ ]
+ ]
+ },
+ {
+ "id": "f3b4b5a6.06c428",
+ "type": "execute",
+ "name": "set params",
+ "xml": "<set>\n<parameter name='tmp.RICEntries' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 326.75,
+ "y": 1273.75,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "22aedb0e.d1c1f4",
+ "type": "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": 306.75,
+ "y": 1323.75,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd6c9239.1fbb9",
+ "type": "execute",
+ "name": "set trackingArea size",
+ "xml": "<set>\n\t<parameter name='tmp.trackingAreaListEntries' value=\"`$payloadJson.input.sliceProfile.coverageAreaTAList_length`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 424.75001525878906,
+ "y": 390.7500104904175,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "69b6790d.7ed958",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Tracking Area size\"/>\n<parameter name=\"field2\" value=\"`$tmp.trackingAreaListEntries`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 370.75001525878906,
+ "y": 429.75001764297485,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c627552.6535aa8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Response code\"/>\n<parameter name=\"field2\" value=\"`$error-code`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 749.5,
+ "y": 4288.250002861023,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ae16c1.eea2c94",
+ "type": "switchNode",
+ "name": "check status",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 774.4999961853027,
+ "y": 4341.99997651577,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "3604dc80.5b7134",
+ "8b24277.286fdd8"
+ ]
+ ]
+ },
+ {
+ "id": "3604dc80.5b7134",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 957.5000114440918,
+ "y": 4299.0000985860825,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "a4463736.3d2688"
+ ]
+ ]
+ },
+ {
+ "id": "8b24277.286fdd8",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 973.4999961853027,
+ "y": 4350.99997651577,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "f78386b6.f7c7b8"
+ ]
+ ]
+ },
+ {
+ "id": "a4463736.3d2688",
+ "type": "set",
+ "name": "status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+ "comments": "",
+ "x": 1133.5000114440918,
+ "y": 4302.000251173973,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "f78386b6.f7c7b8",
+ "type": "set",
+ "name": "failure status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+ "comments": "",
+ "x": 1134.4999961853027,
+ "y": 4345.99997651577,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "736e2c41.e3fa04",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Response code\"/>\n<parameter name=\"field2\" value=\"`$error-code`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4719.000240325928,
+ "y": 2553.7500052452087,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "616adbcb.acfbc4",
+ "type": "switchNode",
+ "name": "check status",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4735.000240325928,
+ "y": 2609.5000052452087,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "4ce246be.808e08",
+ "1f7a9770.1dfa99"
+ ]
+ ]
+ },
+ {
+ "id": "4ce246be.808e08",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4906.000011444092,
+ "y": 2481.5000985860825,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "1cd5a063.9d81e"
+ ]
+ ]
+ },
+ {
+ "id": "1cd5a063.9d81e",
+ "type": "set",
+ "name": "status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+ "comments": "",
+ "x": 5082.000011444092,
+ "y": 2484.500251173973,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "b431d9c8.57fc38",
+ "type": "set",
+ "name": "failure status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+ "comments": "",
+ "x": 5082.999996185303,
+ "y": 2528.49997651577,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "1f7a9770.1dfa99",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4921.999996185303,
+ "y": 2533.49997651577,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "b431d9c8.57fc38"
+ ]
+ ]
+ },
+ {
+ "id": "36b7a424.f750bc",
+ "type": "block",
+ "name": "Add sliceprofile NRTRIC",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 858.000057220459,
+ "y": 895.7500228881836,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "a12c1cfd.73b37",
+ "d70d2511.ad9c88",
+ "543de6b3.4c8428",
+ "d3f68f4b.db24a"
+ ]
+ ]
+ },
+ {
+ "id": "543de6b3.4c8428",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1021.0005836486816,
+ "y": 800.4063949584961,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "a1dcdb87.0b73a8",
+ "8ab39c7.22fc86"
+ ]
+ ]
+ },
+ {
+ "id": "a1dcdb87.0b73a8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1211.0002365112305,
+ "y": 766.4060344696045,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "86a6aee7.092b6"
+ ]
+ ]
+ },
+ {
+ "id": "86a6aee7.092b6",
+ "type": "block",
+ "name": "URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1372.2016677856445,
+ "y": 775.0051879882812,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "85658d44.ba71e",
+ "f0de89e6.4a7878"
+ ]
+ ]
+ },
+ {
+ "id": "85658d44.ba71e",
+ "type": "execute",
+ "name": "generate addSliceProfile.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1672.0000610351562,
+ "y": 724.4063549041748,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f0de89e6.4a7878",
+ "type": "execute",
+ "name": "Populate addSliceProfile.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1668.5349044799805,
+ "y": 761.0053405761719,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a1ecbfa9.0d171",
+ "type": "execute",
+ "name": "generate addSliceProfile.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1738.5348434448242,
+ "y": 803.0053863525391,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1fe85c9e.949c63",
+ "type": "execute",
+ "name": "Populate addSliceProfile.ToNearRTRIC URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1750.069725036621,
+ "y": 847.6041946411133,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bcdaf805.ffad68",
+ "type": "execute",
+ "name": "Populate MOUNT NAME",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1769.5351028442383,
+ "y": 888.0052156150341,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "576467e9.55c118",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1404.9899368286133,
+ "y": 877.4060802459717,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "a1ecbfa9.0d171",
+ "1fe85c9e.949c63",
+ "bcdaf805.ffad68"
+ ]
+ ]
+ },
+ {
+ "id": "8ab39c7.22fc86",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1200.0001983642578,
+ "y": 852.4061050415039,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "576467e9.55c118"
+ ]
+ ]
+ },
+ {
+ "id": "d70d2511.ad9c88",
+ "type": "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=\"Add SliceProfile ToNearRTRIC url:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1097.0003509521484,
+ "y": 900.7500839233398,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a12c1cfd.73b37",
+ "type": "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=\"Setting variables for ADD SliceProfile ToNearRTRIC\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.latency`\"/>\n<parameter name=\"field7\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field9\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field10\" value=\"`$payloadJson.input.sliceProfile.uEMobilityLevel`\"/>\n<parameter name=\"field11\" value=\"`$tmp.trackingArea`\"/>\n<parameter name=\"field12\" value=\"`$payloadJson.input.sliceProfile.resourceSharingLevel`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1096.0008101463318,
+ "y": 945.7394647598267,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d3f68f4b.db24a",
+ "type": "execute",
+ "name": "add addSliceProfile.ToNearRTRIC using PUT",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-sliceProfile-NRRIC.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addSliceProfile-NRTRIC-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1173.0011444091797,
+ "y": 1023.7500839233398,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "73b3a50d.387b7c",
+ "3a51e291.dc3f0e"
+ ]
+ ]
+ },
+ {
+ "id": "3a51e291.dc3f0e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1488.0012168884277,
+ "y": 972.739336013794,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "47b0a15c.e7c01"
+ ]
+ ]
+ },
+ {
+ "id": "47b0a15c.e7c01",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1652.9998588562012,
+ "y": 991.7393572330475,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "61b81239.51260c"
+ ]
+ ]
+ },
+ {
+ "id": "61b81239.51260c",
+ "type": "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=\"PLMNInfo List Entry Add to NRCELLCU Executed Successfully \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1817.0006523132324,
+ "y": 984.7398464679718,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a0b6b58.7d8ad8",
+ "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 adding slice proficle to NearRTRIC\" />",
+ "comments": "",
+ "x": 1799.000789642334,
+ "y": 927.7396411895752,
+ "z": "851f20d0.cecb9",
+ "wires": []
+ },
+ {
+ "id": "7feea329.3b70bc",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1659.423885345459,
+ "y": 926.5607318878174,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "8a0b6b58.7d8ad8",
+ "5ce931d8.83b77"
+ ]
+ ]
+ },
+ {
+ "id": "73b3a50d.387b7c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1543.0003623962402,
+ "y": 920.7394123077393,
+ "z": "851f20d0.cecb9",
+ "wires": [
+ [
+ "7feea329.3b70bc"
+ ]
+ ]
}
]
\ No newline at end of file