summaryrefslogtreecommitdiffstats
path: root/platform-logic/ran-slice-api
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/ran-slice-api')
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json6199
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.xml6428
2 files changed, 7512 insertions, 5115 deletions
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json
index d39f5e74..c6fbcc5a 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json
@@ -1,20 +1,20 @@
[
{
- "id": "55fe8da0.58c5f4",
+ "id": "6c7cf846.388aa8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 141.88888549804688,
- "y": 108.74999523162842,
+ "x": 93.75,
+ "y": 138.74999332427979,
"z": "e1a177d9.2ec918",
"wires": [
[
- "62883375.1de0bc"
+ "44fd47bd.d8f6c8"
]
]
},
{
- "id": "62883375.1de0bc",
+ "id": "44fd47bd.d8f6c8",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -22,8070 +22,9627 @@
"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": 226.88890838623047,
- "y": 175.7499647140503,
+ "x": 178.7500228881836,
+ "y": 205.74996280670166,
"z": "e1a177d9.2ec918",
"wires": [
[
- "a154a72c.a2b018"
+ "4006d0d1.cef02"
]
]
},
{
- "id": "a154a72c.a2b018",
+ "id": "4006d0d1.cef02",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceModifyAllocate-cps' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 160.88888549804688,
- "y": 235.7499303817749,
+ "x": 112.75,
+ "y": 265.74992847442627,
"z": "e1a177d9.2ec918",
"wires": [
[
- "aff870d8.99121"
+ "a2b8e1e.960aa2"
]
]
},
{
- "id": "aff870d8.99121",
+ "id": "a2b8e1e.960aa2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 156.88887786865234,
- "y": 296.7499666213989,
+ "x": 108.74999237060547,
+ "y": 326.7499647140503,
"z": "e1a177d9.2ec918",
"wires": [
[
- "3cf4187c.17d188",
- "61b0f34b.8c870c",
- "dbed846c.ad06b8",
- "628c20e5.974e1",
- "bdfd583e.cc8ea8",
- "c637253e.163738",
- "19f07fce.82298",
- "405e8734.858cf8",
- "a27d2fd0.89867",
- "d1a52ca6.5e84e"
+ "1d0165fb.a51cfa",
+ "ef2111ca.d0ea",
+ "50741548.cd34bc",
+ "448288b0.d88b58",
+ "12c335db.a64cfa",
+ "b78b6f5c.ed596",
+ "bd7d800f.655fd",
+ "4013d7be.566dc8",
+ "a4696d6e.e8cb7",
+ "79d6b4d4.efa7bc",
+ "7b89e339.b72aac",
+ "6e6b1782.12b138"
]
]
},
{
- "id": "e5937bd6.99c338",
+ "id": "66901c5a.143ee4",
"type": "for",
"name": "foreach NearRTRIC",
- "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
+ "xml": "<for index='idy' start='0' end='`$tmp.RICEntries`' >\n",
"comments": "",
"outputs": 1,
- "x": 283.88892364501953,
- "y": 1397.5682644248009,
+ "x": 275.75006103515625,
+ "y": 729.7904777526855,
"z": "e1a177d9.2ec918",
"wires": [
- []
+ [
+ "e59e9b92.cf0538"
+ ]
]
},
{
- "id": "a27d2fd0.89867",
+ "id": "f2281b3d.355658",
"type": "block",
"name": "Process NearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 447.2979736328125,
- "y": 613.9773292541504,
+ "x": 479.1591567993164,
+ "y": 785.0885047912598,
"z": "e1a177d9.2ec918",
"wires": [
[
- "b13fe67a.a94308",
- "f27068da.4daf78",
- "7f0c6279.088e1c",
- "9b14d41.b7f8f28",
- "2f1f62ac.d9f56e",
- "6746107d.6b799",
- "2e6fced3.d50242"
+ "cf0efcb0.7ee8c",
+ "208f5915.e2bf86",
+ "81379f8d.36f08",
+ "262c7e7.559f982",
+ "650057e4.0b3568",
+ "4013f707.c38e48",
+ "6cd72b03.0f1e14",
+ "73601dc1.371a94",
+ "415d542d.6e84ec"
]
]
},
{
- "id": "2e6fced3.d50242",
+ "id": "650057e4.0b3568",
"type": "execute",
"name": "read nearRTRICId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`getNFNSSIRIC-cps-response.idNearRTRIC`\" />\n\n",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+$idy+'].idNearRTRIC'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 1040.9345397949219,
- "y": 604.9775066375732,
+ "x": 750.156852722168,
+ "y": 601.5053844451904,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "b13fe67a.a94308",
+ "id": "cf0efcb0.7ee8c",
"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-cps-response.gNBId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1035.6844635009766,
- "y": 659.2274684906006,
+ "x": 731.5732803344727,
+ "y": 641.3108921051025,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f27068da.4daf78",
- "type": "set",
- "name": "Calculate uLThptPerSlice dLThptPerSlice maxNumberOfConns",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />",
- "comments": "",
- "x": 1166.048095703125,
- "y": 734.0455703735352,
- "z": "e1a177d9.2ec918",
- "wires": []
- },
- {
- "id": "7f0c6279.088e1c",
+ "id": "208f5915.e2bf86",
"type": "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`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"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": 1011.9570922851562,
- "y": 775.0456466674805,
+ "x": 704.5126647949219,
+ "y": 833.6568126678467,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "956f4230.90ad2",
+ "id": "b0757ec0.38e42",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1407.707118988037,
- "y": 832.0226554870605,
+ "x": 1359.5682334899902,
+ "y": 862.0226535797119,
"z": "e1a177d9.2ec918",
"wires": [
[
- "553f697f.6338d8"
+ "2e85b57d.d12f4a"
]
]
},
{
- "id": "553f697f.6338d8",
+ "id": "2e85b57d.d12f4a",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1547.2072448730469,
- "y": 801.5227003097534,
+ "x": 1499.068359375,
+ "y": 831.5226984024048,
"z": "e1a177d9.2ec918",
"wires": [
[
- "8fc0c286.01cb1",
- "983708b1.365078"
+ "300ca978.8dd6c6",
+ "a557a877.a901d8",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "983708b1.365078",
+ "id": "a557a877.a901d8",
"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'/>",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1724.9570350646973,
- "y": 772.383752822876,
+ "x": 1676.8181495666504,
+ "y": 802.3837509155273,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "8fc0c286.01cb1",
+ "id": "300ca978.8dd6c6",
"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": 1707.9568786621094,
- "y": 826.0227470397949,
+ "x": 1659.8179931640625,
+ "y": 856.0227451324463,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "7599a4c5.6730ac",
+ "id": "45c52ba1.f6fad4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1384.2753562927246,
- "y": 899.4319429397583,
+ "x": 1336.1364707946777,
+ "y": 929.4319410324097,
"z": "e1a177d9.2ec918",
"wires": [
[
- "7aa89302.68684c"
+ "65cd4420.a42abc"
]
]
},
{
- "id": "7aa89302.68684c",
+ "id": "65cd4420.a42abc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1535.7752075195312,
- "y": 904.1820039749146,
+ "x": 1487.6363220214844,
+ "y": 934.1820020675659,
"z": "e1a177d9.2ec918",
"wires": [
[
- "d3795fb8.bd669"
+ "22a6ec06.3a8044"
]
]
},
{
- "id": "d3795fb8.bd669",
+ "id": "22a6ec06.3a8044",
"type": "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 CPS\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NearRT RIC info in CPS\"/>",
"comments": "",
"outputs": 1,
- "x": 1678.2752094268799,
- "y": 890.4320802688599,
+ "x": 1630.136323928833,
+ "y": 920.4320783615112,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "9b14d41.b7f8f28",
+ "id": "81379f8d.36f08",
"type": "execute",
"name": "set params",
"xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1068.1389770507812,
- "y": 697.500129699707,
+ "x": 719.5833435058594,
+ "y": 680.6947059631348,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "6e868b69.2f6354",
+ "id": "8a2f4e53.f2a91",
"type": "execute",
"name": "read CUCP list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.GNBCUCPFunction_length'`\" />\n ",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+$idy+'].GNBCUCPFunction_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 889.1389312744141,
- "y": 1404.5000929832458,
+ "x": 837.2500457763672,
+ "y": 1369.5001802444458,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ecc4af17.f9f0c",
+ "id": "e17c19d4.e81f28",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 569.1389083862305,
- "y": 1391.0000290870667,
+ "x": 521.0000228881836,
+ "y": 1421.000027179718,
"z": "e1a177d9.2ec918",
"wires": [
[
- "6e868b69.2f6354",
- "4a278791.819e58",
- "8be64a5a.7e7d28"
+ "8a2f4e53.f2a91",
+ "fd8f452d.babf28",
+ "a999ff6b.2bc1a",
+ "4443a2cd.707b4c"
]
]
},
{
- "id": "4a278791.819e58",
+ "id": "fd8f452d.babf28",
"type": "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",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"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": 868.638916015625,
- "y": 1453.2500929832458,
+ "x": 796.750072479248,
+ "y": 1414.500184059143,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8be64a5a.7e7d28",
+ "id": "a999ff6b.2bc1a",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 889.1388854980469,
- "y": 1504.500247478485,
+ "x": 841,
+ "y": 1534.5002455711365,
"z": "e1a177d9.2ec918",
"wires": [
[
- "58107534.4b9ffc"
+ "2eb7fcf6.142124"
]
]
},
{
- "id": "58107534.4b9ffc",
+ "id": "2eb7fcf6.142124",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1118.888931274414,
- "y": 1480.2500643730164,
+ "x": 1070.7500457763672,
+ "y": 1510.2500624656677,
"z": "e1a177d9.2ec918",
"wires": [
[
- "90f19086.7e9a7",
- "6de159d.784ada8",
- "e714b9e2.04b528",
- "51cff577.d6a69c",
- "a88275ed.b6d218"
+ "898f3e1d.b96cf",
+ "6e3db192.9c03d",
+ "e824a250.ef53a",
+ "98d5bac4.10c2d8",
+ "cd9d750c.554dd8"
]
]
},
{
- "id": "90f19086.7e9a7",
+ "id": "898f3e1d.b96cf",
"type": "execute",
"name": "read CUCP name",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.GNBCUCPFunction['+ $idz +'].attributes.gNBCUName'`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+$idy+'].GNBCUCPFunction['+ $idz +'].attributes.gNBCUName'`\" />",
"comments": "",
"outputs": 1,
- "x": 1498.638916015625,
- "y": 1349.5000038146973,
+ "x": 1450.5000305175781,
+ "y": 1379.5000019073486,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "6de159d.784ada8",
+ "id": "6e3db192.9c03d",
"type": "for",
"name": "for cellCUList",
"xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1542.6388854980469,
- "y": 1564.7500023841858,
+ "x": 1494.5,
+ "y": 1594.7500004768372,
"z": "e1a177d9.2ec918",
"wires": [
[
- "4b7275c8.e6af5c"
+ "23aad7e1.d03f68"
]
]
},
{
- "id": "722f9dc8.8e77e4",
+ "id": "24c87cc.faaa784",
"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": 2212.888885498047,
- "y": 1463.7499952316284,
+ "x": 2164.75,
+ "y": 1493.7499933242798,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "694e8a3c.152184",
+ "id": "bdbad3a3.d9ecb",
"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": 2241.888900756836,
- "y": 1538.7500433921814,
+ "x": 2193.750015258789,
+ "y": 1568.7500414848328,
"z": "e1a177d9.2ec918",
"wires": [
[
- "cf2dc106.23787",
- "ce08699d.324a78"
+ "79bc1fc7.65164",
+ "49624a8a.d2d274"
]
]
},
{
- "id": "47b436ba.62a588",
+ "id": "2a26ea32.917b56",
"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.cellId[0]`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellId[0]`\"/>\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": 2206.8889694213867,
- "y": 1500.7501044273376,
+ "x": 2158.75008392334,
+ "y": 1530.750102519989,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a60824a.29f2bd8",
+ "id": "b0f5d181.2d086",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2077.888885498047,
- "y": 1046.7499952316284,
+ "x": 2029.75,
+ "y": 1076.7499933242798,
"z": "e1a177d9.2ec918",
"wires": [
[
- "722f9dc8.8e77e4",
- "47b436ba.62a588",
- "694e8a3c.152184",
- "710c65b2.d3254c",
- "1aae542a.c6615c",
- "d4f02ce.ccbdfd",
- "14769a1.fbc9f66",
- "f8612d2d.b9312",
- "2676207.c5f25e",
- "50183232.c9eaac",
- "2b357518.7bb91a",
- "ac8fda49.93e208"
+ "24c87cc.faaa784",
+ "2a26ea32.917b56",
+ "bdbad3a3.d9ecb",
+ "f29ea84a.bd27d8",
+ "d16ad634.8dba08",
+ "1125a866.9269f8",
+ "361a148e.a04e6c",
+ "7c259427.92ffbc",
+ "e5cb200e.5eec3",
+ "103ee7ad.aea7a8",
+ "2a302bba.c735d4",
+ "dcdcb490.fd6ab8",
+ "e2fe9432.efc888"
]
]
},
{
- "id": "cf2dc106.23787",
+ "id": "79bc1fc7.65164",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2497.888999938965,
- "y": 1588.7502126693726,
+ "x": 2449.750114440918,
+ "y": 1618.750210762024,
"z": "e1a177d9.2ec918",
"wires": [
[
- "57031525.4566dc"
+ "c8408002.4a157"
]
]
},
{
- "id": "57031525.4566dc",
+ "id": "c8408002.4a157",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2670.888786315918,
- "y": 1587.7502737045288,
+ "x": 2622.749900817871,
+ "y": 1617.7502717971802,
"z": "e1a177d9.2ec918",
"wires": [
[
- "578b559f.f4101c"
+ "c42cd6eb.dbf6e8"
]
]
},
{
- "id": "578b559f.f4101c",
+ "id": "c42cd6eb.dbf6e8",
"type": "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\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 2868.888847351074,
- "y": 1584.7503957748413,
+ "x": 2820.7499618530273,
+ "y": 1614.7503938674927,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ce08699d.324a78",
+ "id": "49624a8a.d2d274",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2462.8889694213867,
- "y": 1471.7499685287476,
+ "x": 2414.75008392334,
+ "y": 1501.749966621399,
"z": "e1a177d9.2ec918",
"wires": [
[
- "1380a514.f42b1b"
+ "1d5f2d21.0690b3"
]
]
},
{
- "id": "1380a514.f42b1b",
+ "id": "1d5f2d21.0690b3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2612.88924407959,
- "y": 1430.7501516342163,
+ "x": 2564.750358581543,
+ "y": 1460.7501497268677,
"z": "e1a177d9.2ec918",
"wires": [
[
- "d77c9816.10f818",
- "7f52b177.de89c",
- "539e8ebf.0e22a"
+ "ee12a974.71b6d8",
+ "39db8995.f30d26",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "d77c9816.10f818",
+ "id": "ee12a974.71b6d8",
"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": 2783.8888778686523,
- "y": 1491.7502126693726,
+ "x": 2735.7499923706055,
+ "y": 1521.750210762024,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "7f52b177.de89c",
+ "id": "39db8995.f30d26",
"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": 2778.888999938965,
- "y": 1396.7501516342163,
+ "x": 2730.750114440918,
+ "y": 1426.7501497268677,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "710c65b2.d3254c",
+ "id": "f29ea84a.bd27d8",
"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": 2353.638870239258,
- "y": 1216.2500013113022,
+ "x": 2305.499984741211,
+ "y": 1246.2499994039536,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "1aae542a.c6615c",
+ "id": "d16ad634.8dba08",
"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.cellId[0]`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2255.888885498047,
- "y": 1341.7499952316284,
+ "x": 2207.75,
+ "y": 1371.7499933242798,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d4f02ce.ccbdfd",
+ "id": "1125a866.9269f8",
"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": 2222.888885498047,
- "y": 1399.7499952316284,
+ "x": 2174.75,
+ "y": 1429.7499933242798,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e714b9e2.04b528",
+ "id": "e824a250.ef53a",
"type": "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",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1486.6390075683594,
- "y": 1405.5000648498535,
+ "x": 1438.5001220703125,
+ "y": 1435.5000629425049,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "51cff577.d6a69c",
+ "id": "98d5bac4.10c2d8",
"type": "execute",
"name": "read cellCU list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.GNBCUCPFunction[' + $idz +'].NRCellCU_length'`\" />\n ",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+$idy+'].GNBCUCPFunction[' + $idz +'].NRCellCU_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1516.388916015625,
- "y": 1450.7500047683716,
+ "x": 1468.2500305175781,
+ "y": 1480.750002861023,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "14769a1.fbc9f66",
+ "id": "361a148e.a04e6c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2300.888885498047,
- "y": 1109.7499952316284,
+ "x": 2252.75,
+ "y": 1139.7499933242798,
"z": "e1a177d9.2ec918",
"wires": [
[
- "ff575ff1.93705",
- "ba404324.22f28"
+ "f29dcab8.b1c968",
+ "8a97613a.f548f"
]
]
},
{
- "id": "ff575ff1.93705",
+ "id": "f29dcab8.b1c968",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2508.888885498047,
- "y": 1074.7497510910034,
+ "x": 2460.75,
+ "y": 1104.7497491836548,
"z": "e1a177d9.2ec918",
"wires": [
[
- "d4f99055.feb8d"
+ "e5355043.80a2c"
]
]
},
{
- "id": "d4f99055.feb8d",
+ "id": "e5355043.80a2c",
"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": 2828.888885498047,
- "y": 1089.7499952316284,
+ "x": 2780.75,
+ "y": 1119.7499933242798,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ba404324.22f28",
+ "id": "8a97613a.f548f",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2496.888885498047,
- "y": 1176.7499952316284,
+ "x": 2448.75,
+ "y": 1206.7499933242798,
"z": "e1a177d9.2ec918",
"wires": [
[
- "ae4f32b2.92a47"
+ "4c3462fd.029a2c"
]
]
},
{
- "id": "f8612d2d.b9312",
+ "id": "7c259427.92ffbc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1855.8888854980469,
- "y": 1860.7499952316284,
+ "x": 1807.75,
+ "y": 1890.7499933242798,
"z": "e1a177d9.2ec918",
"wires": [
[
- "3cf5b2fe.6d05fe",
- "f0c99a68.ca0658",
- "c1b80a1b.46d148",
- "760329d8.0e23e8",
- "527ea73e.b01338",
- "4649a8e5.374498",
- "763fabb9.6749d4",
- "4a713bbb.0e24a4",
- "5dfe6967.a72dd8",
- "f040467.85fceb8",
- "e9cf0d76.80c3"
+ "be088891.b60508",
+ "579cdb2c.0bb064",
+ "629c4516.ae289c",
+ "46f523bb.094aec",
+ "56065cca.168d34",
+ "b575a137.ca428",
+ "664a3b8.99d56c4",
+ "3e2cfdaf.9449e2",
+ "38dd4f63.f0998",
+ "9d58b74a.849238",
+ "c143dd3f.b6f52",
+ "cac0fa14.44d2d8"
]
]
},
{
- "id": "3cf5b2fe.6d05fe",
+ "id": "be088891.b60508",
"type": "set",
"name": "Calculate maxNumberOfConnsPercellCU",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n",
"comments": "",
- "x": 2111.889024734497,
- "y": 1631.7501029968262,
+ "x": 2063.75013923645,
+ "y": 1661.7501010894775,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "f0c99a68.ca0658",
+ "id": "579cdb2c.0bb064",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio temp1 - \"/>\n<parameter name=\"field2\" value=\"`$tmp.maxNumberOfConnsPercellCU`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio temp2 - \"/>\n<parameter name=\"field4\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU1`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.rRMPolicyDedicatedRatio_SliceProfile`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"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": 2054.8889598846436,
- "y": 1759.750072479248,
+ "x": 2006.7500743865967,
+ "y": 1789.7500705718994,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c1b80a1b.46d148",
+ "id": "629c4516.ae289c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2075.8889598846436,
- "y": 1795.75004196167,
+ "x": 2027.7500743865967,
+ "y": 1825.7500400543213,
"z": "e1a177d9.2ec918",
"wires": [
[
- "26bdd430.71fbcc",
- "a9a299ee.0b9798"
+ "ef9861b5.4231c",
+ "24945bc5.0b41a4"
]
]
},
{
- "id": "26bdd430.71fbcc",
+ "id": "ef9861b5.4231c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2255.888885498047,
- "y": 1733.7497510910034,
+ "x": 2207.75,
+ "y": 1763.7497491836548,
"z": "e1a177d9.2ec918",
"wires": [
[
- "bb7ca0b9.369d6"
+ "74452ff3.0e56a"
]
]
},
{
- "id": "bb7ca0b9.369d6",
+ "id": "74452ff3.0e56a",
"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": 2533.888885498047,
- "y": 1725.7499952316284,
+ "x": 2485.75,
+ "y": 1755.7499933242798,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "760329d8.0e23e8",
+ "id": "46f523bb.094aec",
"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": 2112.888885498047,
- "y": 1838.7499952316284,
+ "x": 2064.75,
+ "y": 1868.7499933242798,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "527ea73e.b01338",
+ "id": "56065cca.168d34",
"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.cellId[0]`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2111.888925552368,
- "y": 1878.750015258789,
+ "x": 2063.7500400543213,
+ "y": 1908.7500133514404,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f24e63ac.75b07",
+ "id": "50029282.93c89c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2368.888864517212,
- "y": 1981.7501068115234,
+ "x": 2320.749979019165,
+ "y": 2011.7501049041748,
"z": "e1a177d9.2ec918",
"wires": [
[
- "d86482f0.cfc8"
+ "773264e2.f6210c"
]
]
},
{
- "id": "d86482f0.cfc8",
+ "id": "773264e2.f6210c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2527.8887634277344,
- "y": 2018.750117301941,
+ "x": 2479.7498779296875,
+ "y": 2048.7501153945923,
"z": "e1a177d9.2ec918",
"wires": [
[
- "5bbd92e3.d30f9c",
- "ec189288.77842"
+ "4d209cd4.d3d1c4",
+ "75b2f2b2.6d386c"
]
]
},
{
- "id": "5bbd92e3.d30f9c",
+ "id": "4d209cd4.d3d1c4",
"type": "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\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2678.8888721466064,
- "y": 1986.7503209114075,
+ "x": 2630.7499866485596,
+ "y": 2016.7503190040588,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c6e6920.620377",
+ "id": "a8c36d25.fa4ca",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2365.888837814331,
- "y": 1888.750015258789,
+ "x": 2317.749952316284,
+ "y": 1918.7500133514404,
"z": "e1a177d9.2ec918",
"wires": [
[
- "2e0f86f4.8a9e3a"
+ "7137552a.3874ac"
]
]
},
{
- "id": "2e0f86f4.8a9e3a",
+ "id": "7137552a.3874ac",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2517.889129638672,
- "y": 1886.7499952316284,
+ "x": 2469.750244140625,
+ "y": 1916.7499933242798,
"z": "e1a177d9.2ec918",
"wires": [
[
- "da17d5f1.123e68",
- "ee60a035.02b17",
- "539e8ebf.0e22a"
+ "b6fc5ade.592008",
+ "983630c0.6282d",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "da17d5f1.123e68",
+ "id": "b6fc5ade.592008",
"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": 2688.8887634277344,
- "y": 1947.7500562667847,
+ "x": 2640.7498779296875,
+ "y": 1977.750054359436,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "ee60a035.02b17",
+ "id": "983630c0.6282d",
"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": 2683.888885498047,
- "y": 1852.7499952316284,
+ "x": 2635.75,
+ "y": 1882.7499933242798,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "4649a8e5.374498",
+ "id": "b575a137.ca428",
"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": 2150.444549560547,
- "y": 1915.972321987152,
+ "x": 2102.3056640625,
+ "y": 1945.9723200798035,
"z": "e1a177d9.2ec918",
"wires": [
[
- "c6e6920.620377",
- "f24e63ac.75b07"
+ "a8c36d25.fa4ca",
+ "50029282.93c89c"
]
]
},
{
- "id": "ec189288.77842",
+ "id": "75b2f2b2.6d386c",
"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",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2704.88881111145,
- "y": 2019.7500457763672,
+ "x": 2656.7499256134033,
+ "y": 2049.7500438690186,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "763fabb9.6749d4",
+ "id": "cac0fa14.44d2d8",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2082.3333053588867,
- "y": 2049.305910587311,
+ "x": 1906.4166564941406,
+ "y": 2113.750591278076,
"z": "e1a177d9.2ec918",
"wires": [
[
- "a2c3c472.269cc8"
+ "6b1cbfa9.72b44"
]
]
},
{
- "id": "a2c3c472.269cc8",
+ "id": "6b1cbfa9.72b44",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2278.8888549804688,
- "y": 2033.750193119049,
+ "x": 2138.5279083251953,
+ "y": 2124.8613777160645,
"z": "e1a177d9.2ec918",
"wires": [
[
- "ecf16e70.2de66",
- "9db773a7.6e459",
- "3ac50a97.cb9a76",
- "d6e995a3.588498",
- "bf1adc79.2d9f2",
- "4dd85231.e8549c",
- "49368160.b2bfa",
- "1efc1e9a.80a8b1",
- "7542c5ac.6e2e1c",
- "4d8fa04d.150dd",
- "d84ddfc1.28fec"
+ "49c171d0.f107c",
+ "3dbdfc3f.828874",
+ "70fab809.9b24e8",
+ "61350d31.e26224",
+ "64b663a4.f0d24c",
+ "5a1b5df3.8471b4",
+ "fe2892f2.4ece2",
+ "487fb109.aee97",
+ "414471ee.e4cde",
+ "92a8ed37.93a9c",
+ "dbcdd678.6febc8"
]
]
},
{
- "id": "ecf16e70.2de66",
+ "id": "49c171d0.f107c",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_new' value='`$tmp.rrmPolicyDedicatedRatiocellCU_old + $tmp.rRMPolicyDedicatedRatio_SliceProfile`' />",
"comments": "",
- "x": 2586.8889026641846,
- "y": 2103.750292778015,
+ "x": 2538.7500171661377,
+ "y": 2133.7502908706665,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "9db773a7.6e459",
+ "id": "3dbdfc3f.828874",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Existing RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatiocellCU_old`\"/>\n<parameter name=\"field3\" value=\"Updated RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field4\" value=\"`$tmp.rrmPolicyDedicatedRatio_CellCU_new`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"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": 2511.8889331817627,
- "y": 2137.749988555908,
+ "x": 2463.750047683716,
+ "y": 2167.7499866485596,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "3ac50a97.cb9a76",
+ "id": "70fab809.9b24e8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2561.888885498047,
- "y": 2171.7499952316284,
+ "x": 2513.75,
+ "y": 2201.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "1887bb80.d29c35",
- "696730cb.8b88f"
+ "f7bd7b75.fc7678",
+ "b3c2bd91.850ac"
]
]
},
{
- "id": "1887bb80.d29c35",
+ "id": "f7bd7b75.fc7678",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2842.999931335449,
- "y": 2099.8610334396362,
+ "x": 2794.8610458374023,
+ "y": 2129.8610315322876,
"z": "e1a177d9.2ec918",
"wires": [
[
- "1ff99a7c.567bc6"
+ "e29c113.ce5a1f"
]
]
},
{
- "id": "1ff99a7c.567bc6",
+ "id": "e29c113.ce5a1f",
"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": 3087.889289855957,
- "y": 2101.6388845443726,
+ "x": 3039.75040435791,
+ "y": 2131.638882637024,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d6e995a3.588498",
+ "id": "61350d31.e26224",
"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": 2599.7776641845703,
- "y": 2349.4167079925537,
+ "x": 2551.6387786865234,
+ "y": 2379.416706085205,
"z": "e1a177d9.2ec918",
"wires": [
[
- "4ecb8d10.690144",
- "893deca8.164c5"
+ "e4ea7d18.0822c",
+ "71d729cb.1a7ad8"
]
]
},
{
- "id": "4ecb8d10.690144",
+ "id": "e4ea7d18.0822c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2862.888885498047,
- "y": 2334.7499952316284,
+ "x": 2814.75,
+ "y": 2364.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "6545dffb.69d0c"
+ "b3e88c6c.bb94a"
]
]
},
{
- "id": "6545dffb.69d0c",
+ "id": "b3e88c6c.bb94a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3053.888885498047,
- "y": 2334.7499952316284,
+ "x": 3005.75,
+ "y": 2364.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "bfb79b28.b40068"
+ "2779c6e1.cebe9a"
]
]
},
{
- "id": "bfb79b28.b40068",
+ "id": "2779c6e1.cebe9a",
"type": "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\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 3238.888641357422,
- "y": 2335.7502393722534,
+ "x": 3190.749755859375,
+ "y": 2365.750237464905,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "893deca8.164c5",
+ "id": "71d729cb.1a7ad8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2861.888885498047,
- "y": 2422.7499952316284,
+ "x": 2813.75,
+ "y": 2452.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "a4f727a.7fedad8"
+ "4fd6cc33.a039d4"
]
]
},
{
- "id": "a4f727a.7fedad8",
+ "id": "4fd6cc33.a039d4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3080.889129638672,
- "y": 2427.7499952316284,
+ "x": 3032.750244140625,
+ "y": 2457.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "724733e2.f991cc",
- "e51a093a.3fcf68",
- "539e8ebf.0e22a"
+ "4c6f78e5.909498",
+ "12909623.3fb5da",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "724733e2.f991cc",
+ "id": "4c6f78e5.909498",
"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": 3325.8887634277344,
- "y": 2473.7500562667847,
+ "x": 3277.7498779296875,
+ "y": 2503.750054359436,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "e51a093a.3fcf68",
+ "id": "12909623.3fb5da",
"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": 3320.888885498047,
- "y": 2378.7499952316284,
+ "x": 3272.75,
+ "y": 2408.74999332428,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "4a713bbb.0e24a4",
+ "id": "c143dd3f.b6f52",
"type": "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-cps.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": 2088.5557174682617,
- "y": 2004.8612847328186,
+ "x": 2075.9727096557617,
+ "y": 2068.1949920654297,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "4b7275c8.e6af5c",
+ "id": "23aad7e1.d03f68",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1758.8889503479004,
- "y": 1561.2501244544983,
+ "x": 1710.7500648498535,
+ "y": 1591.2501225471497,
"z": "e1a177d9.2ec918",
"wires": [
[
- "6b928a0f.68b5c4"
+ "2ee84969.18ece6"
]
]
},
{
- "id": "2676207.c5f25e",
+ "id": "e5cb200e.5eec3",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field2\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field2\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2272.888885498047,
- "y": 1041.7499952316284,
+ "x": 2224.750045776367,
+ "y": 1035.5000581741333,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "50183232.c9eaac",
+ "id": "103ee7ad.aea7a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1382.889015197754,
- "y": 2266.8612933158875,
+ "x": 1374.7501106262207,
+ "y": 2245.6113982200623,
"z": "e1a177d9.2ec918",
"wires": [
[
- "fe1570d7.b075a",
- "6846b09c.d3d28",
- "a1254a6f.4c5cd8",
- "8f616027.e5eb4",
- "7c088ef3.8617d",
- "ae9072e3.e83bd",
- "5af530eb.cec9c",
- "d2e46c4d.2fc45",
- "cc61f889.155e28",
- "71329213.46968c",
- "83cfc0b6.b37ff",
- "7394667b.400298"
+ "c7d40a28.aa2a38",
+ "18e7be9c.1dfe51",
+ "268cebf4.57d4c4",
+ "b84c7127.c65db",
+ "d7f6c2d8.64e41",
+ "4e8b3a43.bd7f24",
+ "18ca860.697e97a",
+ "b78b47f1.625988",
+ "64c34ba6.253af4",
+ "a18ce276.54f89",
+ "c134a100.b5958",
+ "a868397c.0d4928"
]
]
},
{
- "id": "db6d1512.496af8",
+ "id": "d7579e45.6cee9",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2315.444471359253,
- "y": 2438.305522441864,
+ "x": 2301.7500915527344,
+ "y": 2416.083583831787,
"z": "e1a177d9.2ec918",
"wires": [
[
- "faf2ce97.c1316"
+ "1cb6fc3b.aa0494"
]
]
},
{
- "id": "bb324660.d31748",
+ "id": "2a4d23db.1e263c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2425.1112670898438,
- "y": 2392.3058772087097,
+ "x": 2290.305736541748,
+ "y": 2375.6392192840576,
"z": "e1a177d9.2ec918",
"wires": [
[
- "a5803f8c.1939b"
+ "6ddbbf8.881414"
]
]
},
{
- "id": "a5803f8c.1939b",
+ "id": "6ddbbf8.881414",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2580.4446182250977,
- "y": 2402.750042438507,
+ "x": 2532.305732727051,
+ "y": 2432.7500405311584,
"z": "e1a177d9.2ec918",
"wires": [
[
- "f85b8ee.1d22f7",
- "dc93ef84.669e4",
- "539e8ebf.0e22a"
+ "98b3b62f.7ea298",
+ "89e5e14b.60f87",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "dc93ef84.669e4",
+ "id": "89e5e14b.60f87",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating NRCellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2720.888687133789,
- "y": 2411.861267566681,
+ "x": 2672.749801635742,
+ "y": 2441.8612656593323,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "f85b8ee.1d22f7",
+ "id": "98b3b62f.7ea298",
"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": 2739.2217407226562,
- "y": 2459.3055510520935,
+ "x": 2691.0828552246094,
+ "y": 2489.305549144745,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "bea93cdb.bf5b3",
+ "id": "99661710.c72bd8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated NRCellCU pLMNinfo \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 2578.5554275512695,
- "y": 2446.9721026420593,
+ "x": 2530.4165420532227,
+ "y": 2476.9721007347107,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "faf2ce97.c1316",
+ "id": "1cb6fc3b.aa0494",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2450.1112213134766,
- "y": 2443.194365978241,
+ "x": 2401.9723358154297,
+ "y": 2473.1943640708923,
"z": "e1a177d9.2ec918",
"wires": [
[
- "bea93cdb.bf5b3"
+ "99661710.c72bd8"
]
]
},
{
- "id": "615e4e4a.a9ddd",
+ "id": "87ae9205.74c8f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2414.1113204956055,
- "y": 2617.8614177703857,
+ "x": 2365.9724349975586,
+ "y": 2647.861415863037,
"z": "e1a177d9.2ec918",
"wires": [
[
- "c4a1da4a.922fc8"
+ "5874e3a3.8f972c"
]
]
},
{
- "id": "80d48c37.6fadb",
+ "id": "eae332c.5d733d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2429.8889083862305,
- "y": 2689.7497915029526,
+ "x": 2381.7500228881836,
+ "y": 2719.749789595604,
"z": "e1a177d9.2ec918",
"wires": [
[
- "be8ba5a1.6855f8"
+ "8bf00b78.ed5238"
]
]
},
{
- "id": "c4a1da4a.922fc8",
+ "id": "5874e3a3.8f972c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2617.888832092285,
- "y": 2618.749988555908,
+ "x": 2569.7499465942383,
+ "y": 2648.7499866485596,
"z": "e1a177d9.2ec918",
"wires": [
[
- "a88ad955.c9e788",
- "c6923b06.080ca8",
- "539e8ebf.0e22a"
+ "a8a3162d.c395f8",
+ "9f6fa7c0.58a1f8",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "c6923b06.080ca8",
+ "id": "9f6fa7c0.58a1f8",
"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'/>",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicy member - NRCellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2799.4441299438477,
- "y": 2612.527934074402,
+ "x": 2751.305244445801,
+ "y": 2642.527932167053,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "a88ad955.c9e788",
+ "id": "a8a3162d.c395f8",
"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": 2794.443977355957,
- "y": 2650.861216545105,
+ "x": 2746.30509185791,
+ "y": 2680.8612146377563,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "be8ba5a1.6855f8",
+ "id": "8bf00b78.ed5238",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2568.8889961242676,
- "y": 2693.7499746084213,
+ "x": 2520.7501106262207,
+ "y": 2723.7499727010727,
"z": "e1a177d9.2ec918",
"wires": [
[
- "3ab17c5a.256584"
+ "e3a50782.0871a8"
]
]
},
{
- "id": "3ab17c5a.256584",
+ "id": "e3a50782.0871a8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated CPS - NRCellCU RRMPolicyRatio \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated CPS - NRCellCU RRMPolicy \"/>",
"comments": "",
"outputs": 1,
- "x": 2704.889087677002,
- "y": 2686.750096678734,
+ "x": 2656.750202178955,
+ "y": 2716.750094771385,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "6a6b75dd.3970ec",
+ "id": "253e089b.b122d8",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 568.8888854980469,
- "y": 1505.7499952316284,
+ "x": 520.75,
+ "y": 1535.7499933242798,
"z": "e1a177d9.2ec918",
"wires": [
[
- "679d966f.27d198",
- "18c5a19.f3f235e",
- "ce7fa351.0e38b"
+ "ff60193.cae58e8",
+ "25ec1a1f.2220c6",
+ "e40299f6.ec7c28"
]
]
},
{
- "id": "679d966f.27d198",
+ "id": "ff60193.cae58e8",
"type": "execute",
"name": "read CUUP list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`getNFNSSIRIC-cps-response.GNBCUUPFunction_length`\" />\n ",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+$idy+'].GNBCUUPFunction_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 887.3889007568359,
- "y": 1577.0000967979431,
+ "x": 830.5,
+ "y": 1584.5001745224,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "18c5a19.f3f235e",
+ "id": "25ec1a1f.2220c6",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUUP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"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<parameter name=\"field5\" value=\"applicable:\"/>\n<parameter name=\"field6\" value=\"`$tmp.cu-applicable`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 863.1388854980469,
- "y": 1623.2500967979431,
+ "x": 803.7500228881836,
+ "y": 1620.7501769065857,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ce7fa351.0e38b",
+ "id": "c0c444d.20893b8",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 878.6389312744141,
- "y": 1670.7500987052917,
+ "x": 978.0000076293945,
+ "y": 1745.7502336502075,
"z": "e1a177d9.2ec918",
"wires": [
[
- "47d42911.079af8"
+ "4f6266cd.b4f668"
]
]
},
{
- "id": "47d42911.079af8",
+ "id": "4f6266cd.b4f668",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1120.8888854980469,
- "y": 1662.7499952316284,
+ "x": 1234.0000305175781,
+ "y": 1736.5002899169922,
"z": "e1a177d9.2ec918",
"wires": [
[
- "14da013b.cec56f",
- "9193d385.aa108",
- "85dbf801.9ef478"
+ "573c2029.4d09f",
+ "2cb7b66a.a741aa",
+ "f6c5e11a.a5cf4"
]
]
},
{
- "id": "14da013b.cec56f",
+ "id": "573c2029.4d09f",
"type": "execute",
"name": "read CUUP id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.GNBCUUPFunction['+ $id-cuup +'].idGNBCUUPFunction'`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+$idy+'].GNBCUUPFunction['+ $id-cuup +'].idGNBCUUPFunction'`\" />",
"comments": "",
"outputs": 1,
- "x": 1376.138916015625,
- "y": 1632.0277137756348,
+ "x": 1414.2500839233398,
+ "y": 1668.2777109146118,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "9193d385.aa108",
+ "id": "2cb7b66a.a741aa",
"type": "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",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1360.4723491668701,
- "y": 1673.8056693077087,
+ "x": 1393.5833587646484,
+ "y": 1711.3057355880737,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "85dbf801.9ef478",
+ "id": "f6c5e11a.a5cf4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1353.8888854980469,
- "y": 2746.7499952316284,
+ "x": 1305.75,
+ "y": 2776.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "7caf416.76526c",
- "ea59b2bf.f32b9",
- "723704cd.8c138c",
- "8a0938f2.0d9658",
- "40657510.28928c",
- "f6ec38a.f667dc8",
- "90b3d619.5b3f38",
- "666dc8b1.408f98",
- "9bfbd80e.ecd3c8",
- "3ded0155.cc622e",
- "3f377b85.d545d4",
- "c71c4db4.06df2",
- "b1860415.73afc8",
- "b02a4fc.26a9cb",
- "9e4fce49.f817f",
- "f15cf0c8.3245",
- "fb33b928.462c78",
- "b8cbfd7b.ff19d",
- "c69cfd85.0e443"
+ "8eef92b9.86c49",
+ "6d512afa.6666e4",
+ "1d8aed90.d42502",
+ "e6cf60b3.82463",
+ "8ef02419.83dbe8",
+ "cd2b7d4a.5af03",
+ "b78c99ee.d995a8",
+ "d130cf4b.e686f",
+ "659d55d.b5bafac",
+ "3cb8fb9b.ead684",
+ "d6a951c6.681ed",
+ "52b42d04.3d3494",
+ "afd32a55.733b48",
+ "cdd95c61.ae71f",
+ "2e330e99.446022",
+ "6127af06.39f05",
+ "88e83590.707ec8",
+ "d93b9444.ff7718",
+ "9ddd634d.dbf8d"
]
]
},
{
- "id": "723704cd.8c138c",
+ "id": "1d8aed90.d42502",
"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": 1668.5556640625,
- "y": 2949.194513320923,
+ "x": 1620.4167785644531,
+ "y": 2979.194511413574,
"z": "e1a177d9.2ec918",
"wires": [
[
- "73dba308.fa6cac",
- "34c1cb36.bb8804"
+ "a98a7485.e090e8",
+ "e94db1b7.b76c2"
]
]
},
{
- "id": "73dba308.fa6cac",
+ "id": "a98a7485.e090e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1965.0001335144043,
- "y": 2980.0835151672363,
+ "x": 1916.8612480163574,
+ "y": 3010.0835132598877,
"z": "e1a177d9.2ec918",
"wires": [
[
- "a1d96aff.b551b8"
+ "4766dfe7.84d2a"
]
]
},
{
- "id": "a1d96aff.b551b8",
+ "id": "4766dfe7.84d2a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2154.2224044799805,
- "y": 2966.8613958358765,
+ "x": 2106.0835189819336,
+ "y": 2996.861393928528,
"z": "e1a177d9.2ec918",
"wires": [
[
- "3e1ad787.356fa8",
- "5cfa06ba.5c4618",
- "539e8ebf.0e22a"
+ "3b1eb698.adeeba",
+ "378cd7b3.888a88",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "5cfa06ba.5c4618",
+ "id": "378cd7b3.888a88",
"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": 2385.2224159240723,
- "y": 2928.6393213272095,
+ "x": 2337.083755493164,
+ "y": 2969.750594139099,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "3e1ad787.356fa8",
+ "id": "3b1eb698.adeeba",
"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": 2412.44490814209,
- "y": 2969.306077003479,
+ "x": 2364.306022644043,
+ "y": 2999.3060750961304,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "978d8feb.4351c",
+ "id": "9b5640b.44516c",
"type": "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\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 2327.5553092956543,
- "y": 3010.972414970398,
+ "x": 2279.4164237976074,
+ "y": 3040.9724130630493,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "39b43721.0cc308",
+ "id": "3b289013.cb8f2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2141.22212600708,
- "y": 3016.5279836654663,
+ "x": 2093.083240509033,
+ "y": 3046.5279817581177,
"z": "e1a177d9.2ec918",
"wires": [
[
- "978d8feb.4351c"
+ "9b5640b.44516c"
]
]
},
{
- "id": "34c1cb36.bb8804",
+ "id": "e94db1b7.b76c2",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1955.666633605957,
- "y": 3020.4169931411743,
+ "x": 1907.5277481079102,
+ "y": 3050.4169912338257,
"z": "e1a177d9.2ec918",
"wires": [
[
- "39b43721.0cc308"
+ "3b289013.cb8f2"
]
]
},
{
- "id": "7caf416.76526c",
+ "id": "8eef92b9.86c49",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1620.8888854980469,
- "y": 2748.7499952316284,
+ "x": 1572.75,
+ "y": 2778.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "90a5fb47.cd15c8",
- "dc825897.fdb648"
+ "cf2adb51.426c78",
+ "9b01adb5.ee876"
]
]
},
{
- "id": "90a5fb47.cd15c8",
+ "id": "cf2adb51.426c78",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1861.8889923095703,
- "y": 2849.749913573265,
+ "x": 1813.7501754760742,
+ "y": 2894.1945943832397,
"z": "e1a177d9.2ec918",
"wires": [
[
- "6935724a.bcb9fc"
+ "8ab953bd.99658"
]
]
},
{
- "id": "dc825897.fdb648",
+ "id": "9b01adb5.ee876",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1851.4446258544922,
- "y": 2889.6388906240463,
+ "x": 1803.305809020996,
+ "y": 2934.083571434021,
"z": "e1a177d9.2ec918",
"wires": [
[
- "c20d4c6b.8f301"
+ "70722f59.694c7"
]
]
},
{
- "id": "6935724a.bcb9fc",
+ "id": "8ab953bd.99658",
"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": 2167.888870239258,
- "y": 2817.7502187490463,
+ "x": 2080.861099243164,
+ "y": 2884.4169006347656,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ea59b2bf.f32b9",
+ "id": "6d512afa.6666e4",
"type": "execute",
- "name": "prepare idGNBCUCPFunction",
+ "name": "prepare idGNBCUUPFunction",
"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": 1632.5555114746094,
- "y": 2793.305709838867,
+ "x": 1584.4166259765625,
+ "y": 2823.3057079315186,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "bf1adc79.2d9f2",
+ "id": "dbcdd678.6febc8",
"type": "set",
"name": "RRMPolicyRatio id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />\n",
"comments": "",
- "x": 2563.6670532226562,
- "y": 2247.527482032776,
+ "x": 2515.5281677246094,
+ "y": 2277.5274801254272,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "4dd85231.e8549c",
+ "id": "64b663a4.f0d24c",
"type": "set",
"name": "RRMPolicyMember Id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.rrmPolicyMembers+1`'/>\n",
"comments": "",
- "x": 2574.666793823242,
- "y": 2283.417046546936,
+ "x": 2526.5279083251953,
+ "y": 2313.4170446395874,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "8a0938f2.0d9658",
+ "id": "e6cf60b3.82463",
"type": "set",
"name": "Calculate rRMPolicyDedicatedRatio Temp",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n",
"comments": "",
- "x": 1690.4446868896484,
- "y": 3058.9731283187866,
+ "x": 1642.3058013916016,
+ "y": 3088.973126411438,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "40657510.28928c",
+ "id": "8ef02419.83dbe8",
"type": "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`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio-CUUP`\"/>",
"comments": "",
"outputs": 1,
- "x": 1594.2224159240723,
- "y": 3123.19495344162,
+ "x": 1546.0835304260254,
+ "y": 3153.1949515342712,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f6ec38a.f667dc8",
+ "id": "cd2b7d4a.5af03",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1611.8888854980469,
- "y": 3163.7499952316284,
+ "x": 1563.75,
+ "y": 3193.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "324b1efb.4ed4d2",
- "8810698a.b608c8"
+ "83a39f81.6e2a7",
+ "f1371dfa.888dd"
]
]
},
{
- "id": "324b1efb.4ed4d2",
+ "id": "83a39f81.6e2a7",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1789.8888854980469,
- "y": 3130.7497510910034,
+ "x": 1741.75,
+ "y": 3160.749749183655,
"z": "e1a177d9.2ec918",
"wires": [
[
- "ae8d7f27.a2ec1"
+ "c367b71c.1b7da8"
]
]
},
{
- "id": "ae8d7f27.a2ec1",
+ "id": "c367b71c.1b7da8",
"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": 2084.888916015625,
- "y": 3076.750051498413,
+ "x": 2036.7500305175781,
+ "y": 3106.7500495910645,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "90b3d619.5b3f38",
+ "id": "b78c99ee.d995a8",
"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": 1648.8889694213867,
- "y": 3218.750008583069,
+ "x": 1600.7500839233398,
+ "y": 3248.75000667572,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "666dc8b1.408f98",
+ "id": "d130cf4b.e686f",
"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": 1637.8892059326172,
- "y": 3324.7500371932983,
+ "x": 1589.7503204345703,
+ "y": 3354.7500352859497,
"z": "e1a177d9.2ec918",
"wires": [
[
- "d2c66c48.5d4cb",
- "c93b558.3fff4a8"
+ "fe5a4531.cde7a8",
+ "f7729196.6f4ed"
]
]
},
{
- "id": "d2c66c48.5d4cb",
+ "id": "fe5a4531.cde7a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1894.8889808654785,
- "y": 3265.7501735687256,
+ "x": 1846.7500953674316,
+ "y": 3295.750171661377,
"z": "e1a177d9.2ec918",
"wires": [
[
- "969c6244.d89d5"
+ "1c56d267.5c484e"
]
]
},
{
- "id": "969c6244.d89d5",
+ "id": "1c56d267.5c484e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2055.889129638672,
- "y": 3284.7499952316284,
+ "x": 2007.750244140625,
+ "y": 3314.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "251e39d4.16f5b6",
- "5a1c343d.32143c",
- "539e8ebf.0e22a"
+ "d5008a90.a2a088",
+ "816dc6c7.40d358",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "5a1c343d.32143c",
+ "id": "816dc6c7.40d358",
"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": 2221.888885498047,
- "y": 3250.7499952316284,
+ "x": 2173.75,
+ "y": 3280.74999332428,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "251e39d4.16f5b6",
+ "id": "d5008a90.a2a088",
"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": 2277.9996948242188,
- "y": 3294.639018058777,
+ "x": 2229.860809326172,
+ "y": 3324.639016151428,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "ce847d63.3e198",
+ "id": "7181d24c.67e65c",
"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",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2263.1109924316406,
- "y": 3390.3055744171143,
+ "x": 2214.9721069335938,
+ "y": 3420.3055725097656,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "3719ebb9.d09bf4",
+ "id": "6334f590.08c91c",
"type": "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\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2258.1108016967773,
- "y": 3333.9723329544067,
+ "x": 2209.9719161987305,
+ "y": 3363.972331047058,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "902c44d3.d33148",
+ "id": "5f751a9c.20f314",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2065.444351196289,
- "y": 3332.1946420669556,
+ "x": 2017.3054656982422,
+ "y": 3362.194640159607,
"z": "e1a177d9.2ec918",
"wires": [
[
- "3719ebb9.d09bf4",
- "ce847d63.3e198"
+ "6334f590.08c91c",
+ "7181d24c.67e65c"
]
]
},
{
- "id": "c93b558.3fff4a8",
+ "id": "f7729196.6f4ed",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1885.8889808654785,
- "y": 3335.7501764297485,
+ "x": 1837.7500953674316,
+ "y": 3365.7501745224,
"z": "e1a177d9.2ec918",
"wires": [
[
- "902c44d3.d33148"
+ "5f751a9c.20f314"
]
]
},
{
- "id": "9bfbd80e.ecd3c8",
+ "id": "659d55d.b5bafac",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1572.8891143798828,
- "y": 3460.7500982284546,
+ "x": 1524.750228881836,
+ "y": 3490.750096321106,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "3ded0155.cc622e",
+ "id": "3cb8fb9b.ead684",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1612.5556030273438,
- "y": 3543.0835968255997,
+ "x": 1564.4167175292969,
+ "y": 3573.083594918251,
"z": "e1a177d9.2ec918",
"wires": [
[
- "4f3a7dd3.0ab494"
+ "8f840f6b.3af59"
]
]
},
{
- "id": "4f3a7dd3.0ab494",
+ "id": "8f840f6b.3af59",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1828.5555114746094,
- "y": 3559.0832471847534,
+ "x": 1780.4166259765625,
+ "y": 3589.083245277405,
"z": "e1a177d9.2ec918",
"wires": [
[
- "be766599.83ca58",
- "595e932d.4f583c",
- "6a85cb38.28d214",
- "219dc1c1.1804de",
- "98dfe36b.b2184",
- "beb46169.f7a6a",
- "7a7d0d77.cd9c24",
- "7f6d0076.5688b",
- "5cf10824.d1c1a8"
+ "e37ec4a0.a15508",
+ "fe0fb9cf.510038",
+ "83e293de.acfa1",
+ "1e9d3e20.9c11a2",
+ "ef4fd83b.292ab8",
+ "a2040497.f5d1a8",
+ "c81f5cb2.dfda1",
+ "3348ec34.1647f4",
+ "c66743ae.c0a0b"
]
]
},
{
- "id": "be766599.83ca58",
+ "id": "e37ec4a0.a15508",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`\" />",
"comments": "",
- "x": 2153.5555114746094,
- "y": 3536.0832471847534,
+ "x": 2105.4166259765625,
+ "y": 3566.083245277405,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "6a85cb38.28d214",
+ "id": "83e293de.acfa1",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2121.555488586426,
- "y": 3578.194483280182,
+ "x": 2073.416603088379,
+ "y": 3608.1944813728333,
"z": "e1a177d9.2ec918",
"wires": [
[
- "7aafc55d.3d535c",
- "c7634a8b.72f608"
+ "42476ca.6bff394",
+ "e109b16f.7958b"
]
]
},
{
- "id": "7aafc55d.3d535c",
+ "id": "42476ca.6bff394",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2338.5556106567383,
- "y": 3574.0830669403076,
+ "x": 2290.4167251586914,
+ "y": 3604.083065032959,
"z": "e1a177d9.2ec918",
"wires": [
[
- "57d54c90.a6c084"
+ "f6e7eae2.4bb038"
]
]
},
{
- "id": "57d54c90.a6c084",
+ "id": "f6e7eae2.4bb038",
"type": "execute",
"name": "patch RRMPolicyRatio CUUP- URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2611.5554809570312,
- "y": 3544.083617210388,
+ "x": 2563.4165954589844,
+ "y": 3574.0836153030396,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "98dfe36b.b2184",
+ "id": "ef4fd83b.292ab8",
"type": "set",
"name": "RRMPolicyMember Id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.rrmPolicyMembers-CUUP+1`\" />",
"comments": "",
- "x": 2125.4444122314453,
- "y": 3729.861297607422,
+ "x": 2077.3055267333984,
+ "y": 3759.8612957000732,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "595e932d.4f583c",
+ "id": "fe0fb9cf.510038",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Updated RRMPolicyRatio for CUUP is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio_id is - \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyMember_id CUUP is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field7\" value=\"Existing RRMPolicyMembers Length\"/>\n<parameter name=\"field8\" value=\"`$tmp.rrmPolicyMembers-CUUP`\"/>\n<parameter name=\"field9\" value=\"Update RRMPolicyRatio URL - \"/>\n<parameter name=\"field10\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"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": 2086.8891525268555,
- "y": 3762.750249862671,
+ "x": 2038.7502670288086,
+ "y": 3792.7502479553223,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "219dc1c1.1804de",
+ "id": "1e9d3e20.9c11a2",
"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": 2149.44441986084,
- "y": 3799.1942462921143,
+ "x": 2101.305534362793,
+ "y": 3829.1942443847656,
"z": "e1a177d9.2ec918",
"wires": [
[
- "93613dd7.b1456",
- "1c64044e.4dda4c"
+ "4d98275a.c80958",
+ "44a073ee.57c46c"
]
]
},
{
- "id": "93613dd7.b1456",
+ "id": "4d98275a.c80958",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2422.5555114746094,
- "y": 3750.0832471847534,
+ "x": 2374.4166259765625,
+ "y": 3780.083245277405,
"z": "e1a177d9.2ec918",
"wires": [
[
- "760e538a.6fdf2c"
+ "1e92469c.105a49"
]
]
},
{
- "id": "760e538a.6fdf2c",
+ "id": "1e92469c.105a49",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2613.5555114746094,
- "y": 3750.0832471847534,
+ "x": 2565.4166259765625,
+ "y": 3780.083245277405,
"z": "e1a177d9.2ec918",
"wires": [
[
- "f9384e38.b56d4"
+ "29bb76f6.38c1ea"
]
]
},
{
- "id": "f9384e38.b56d4",
+ "id": "29bb76f6.38c1ea",
"type": "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\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2798.5552673339844,
- "y": 3751.0834913253784,
+ "x": 2750.4163818359375,
+ "y": 3781.08348941803,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e7aab2d1.5226d",
+ "id": "ca0171fa.86b2a",
"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": 2880.5555114746094,
- "y": 3794.0832471847534,
+ "x": 2832.4166259765625,
+ "y": 3824.083245277405,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "db08398b.5a8be8",
+ "id": "c3784441.c0ecf8",
"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": 2885.555389404297,
- "y": 3889.0833082199097,
+ "x": 2837.41650390625,
+ "y": 3919.083306312561,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "e1d93fbb.157bc",
+ "id": "71165cf1.6dc524",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2640.5557556152344,
- "y": 3843.0832471847534,
+ "x": 2592.4168701171875,
+ "y": 3873.083245277405,
"z": "e1a177d9.2ec918",
"wires": [
[
- "db08398b.5a8be8",
- "e7aab2d1.5226d",
- "539e8ebf.0e22a"
+ "c3784441.c0ecf8",
+ "ca0171fa.86b2a",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "1c64044e.4dda4c",
+ "id": "44a073ee.57c46c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2421.5555114746094,
- "y": 3838.0832471847534,
+ "x": 2373.4166259765625,
+ "y": 3868.083245277405,
"z": "e1a177d9.2ec918",
"wires": [
[
- "e1d93fbb.157bc"
+ "71165cf1.6dc524"
]
]
},
{
- "id": "3f377b85.d545d4",
+ "id": "d6a951c6.681ed",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1295.0002136230469,
- "y": 3790.3057513237,
+ "x": 1246.861328125,
+ "y": 3820.3057494163513,
"z": "e1a177d9.2ec918",
"wires": [
[
- "ab647e74.04689",
- "d8639060.14d84",
- "3d5b389d.7c82c8",
- "c3a0cb5f.a42518",
- "b634cc5a.23489",
- "3a7f9512.b8f11a",
- "7ec5f3e5.9f130c",
- "8332038f.8d5c7",
- "ca59836e.185ca",
- "9d8ac423.b38b68",
- "1f365e5d.477ac2"
+ "fa2af7ca.f23478",
+ "d9aa07cb.f5b158",
+ "47d19ec9.5b2cd",
+ "5d207e5f.17268",
+ "60431df3.1272d4",
+ "f4b7fe47.8886e",
+ "13c6f2c.905140d",
+ "2c1bd5b3.f4605a",
+ "a38b2477.988618",
+ "29206f5a.77426",
+ "588ef15b.8c11d"
]
]
},
{
- "id": "af25fb19.3e04e8",
+ "id": "67ec11ec.6309d",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2187.2222595214844,
- "y": 3843.4169874191284,
+ "x": 2139.0833740234375,
+ "y": 3873.41698551178,
"z": "e1a177d9.2ec918",
"wires": [
[
- "57fab15d.be92c"
+ "5abdfced.08ed94"
]
]
},
{
- "id": "7a5573d5.15215c",
+ "id": "44cae1eb.db281",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2173.722339630127,
- "y": 3893.1669120788574,
+ "x": 2125.58345413208,
+ "y": 3923.166910171509,
"z": "e1a177d9.2ec918",
"wires": [
[
- "8324f8ad.251088"
+ "6846de97.58374"
]
]
},
{
- "id": "8324f8ad.251088",
+ "id": "6846de97.58374",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2332.2221603393555,
- "y": 3921.6669743061066,
+ "x": 2284.0832748413086,
+ "y": 3951.666972398758,
"z": "e1a177d9.2ec918",
"wires": [
[
- "530b0b10.5745f4"
+ "1f0c18dc.fc0387"
]
]
},
{
- "id": "57fab15d.be92c",
+ "id": "5abdfced.08ed94",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2375.472526550293,
- "y": 3880.6669120788574,
+ "x": 2327.333641052246,
+ "y": 3910.666910171509,
"z": "e1a177d9.2ec918",
"wires": [
[
- "63e678ce.cb9b68",
- "a8e36730.7335c8",
- "539e8ebf.0e22a"
+ "fe502d7b.0f049",
+ "a1866082.12c5",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "530b0b10.5745f4",
+ "id": "1f0c18dc.fc0387",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated NRCellCU pLMNinfo \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 2468.7224044799805,
- "y": 3935.1670360565186,
+ "x": 2420.5835189819336,
+ "y": 3965.16703414917,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "63e678ce.cb9b68",
+ "id": "fe502d7b.0f049",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2633.972007751465,
- "y": 3924.166974544525,
+ "x": 2585.833122253418,
+ "y": 3954.1669726371765,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "a8e36730.7335c8",
+ "id": "a1866082.12c5",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating CUUP. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2542.7221908569336,
- "y": 3889.916790008545,
+ "x": 2494.5833053588867,
+ "y": 3919.9167881011963,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "723ecf73.052b7",
+ "id": "9c22ef88.4cf88",
"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": 2596.972225189209,
- "y": 4125.167037010193,
+ "x": 2562.5835189819336,
+ "y": 4232.667308807373,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "68b8e965.619fb8",
+ "id": "5b7cd8ce.551598",
"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": 2593.221939086914,
- "y": 4166.416792869568,
+ "x": 2603.833320617676,
+ "y": 4305.166588783264,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "63dabcf3.5554b4",
+ "id": "79d7782.7ea9688",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2413.4724044799805,
- "y": 4159.166975975037,
+ "x": 2424.083786010742,
+ "y": 4297.916771888733,
"z": "e1a177d9.2ec918",
"wires": [
[
- "68b8e965.619fb8",
- "723ecf73.052b7",
- "539e8ebf.0e22a"
+ "5b7cd8ce.551598",
+ "9c22ef88.4cf88",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "dade33a3.9de9",
+ "id": "3e100ac6.a507e6",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated CPS - CUUP RRMPolicyRatio \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated CPS - CUUP RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 2566.2223052978516,
- "y": 4213.416731834412,
+ "x": 2576.8336868286133,
+ "y": 4352.166527748108,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c2bb18f7.bcdb08",
+ "id": "bc256b0b.93ef98",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2400.2223052978516,
- "y": 4212.416731834412,
+ "x": 2410.8336868286133,
+ "y": 4351.166527748108,
"z": "e1a177d9.2ec918",
"wires": [
[
- "dade33a3.9de9"
+ "3e100ac6.a507e6"
]
]
},
{
- "id": "bc12f949.33a938",
+ "id": "9528722e.a57d3",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2219.2223052978516,
- "y": 4218.416487693787,
+ "x": 2229.8336868286133,
+ "y": 4357.166283607483,
"z": "e1a177d9.2ec918",
"wires": [
[
- "c2bb18f7.bcdb08"
+ "bc256b0b.93ef98"
]
]
},
{
- "id": "813ee5ff.ad3788",
+ "id": "35f8fa3a.b5f676",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2212.9724349975586,
- "y": 4170.916853904724,
+ "x": 2223.5838165283203,
+ "y": 4309.66664981842,
"z": "e1a177d9.2ec918",
"wires": [
[
- "63dabcf3.5554b4"
+ "79d7782.7ea9688"
]
]
},
{
- "id": "c1373bf8.753cb8",
+ "id": "d768feef.98e43",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1032.6391067504883,
- "y": 3834.5005960464478,
+ "x": 984.5002212524414,
+ "y": 3864.500594139099,
"z": "e1a177d9.2ec918",
"wires": [
[
- "f273d765.01dec8",
- "d7e0dfc9.7074b",
- "6d95647.8dbec9c"
+ "27cc918b.91fbae",
+ "ef08083f.6935f8",
+ "a6ea7cdc.b617e"
]
]
},
{
- "id": "f273d765.01dec8",
+ "id": "27cc918b.91fbae",
"type": "execute",
"name": "read DUlist size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.GNBDUFunction_length'`\" />\n ",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+$idy+'].GNBDUFunction_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1338.9724731445312,
- "y": 3925.6122908592224,
+ "x": 1290.8335876464844,
+ "y": 3955.612288951874,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d7e0dfc9.7074b",
+ "id": "ef08083f.6935f8",
"type": "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",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"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": 1330.3057327270508,
- "y": 3977.8340258598328,
+ "x": 1282.166847229004,
+ "y": 4007.834023952484,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "6d95647.8dbec9c",
+ "id": "a6ea7cdc.b617e",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1362.4169921875,
- "y": 4038.6120429039,
+ "x": 1314.2781066894531,
+ "y": 4068.6120409965515,
"z": "e1a177d9.2ec918",
"wires": [
[
- "bda428.2cd86bd8"
+ "f3af0f74.a70f8"
]
]
},
{
- "id": "bda428.2cd86bd8",
+ "id": "f3af0f74.a70f8",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1530.7502899169922,
- "y": 4557.612059950829,
+ "x": 1458.1669387817383,
+ "y": 4720.945310592651,
"z": "e1a177d9.2ec918",
"wires": [
[
- "17d66d3e.a45ec3",
- "b31b439.a9bb6c",
- "6541d0f3.e6cd3",
- "4e812242.94622c"
+ "d6d6ab07.510db8",
+ "d46b051.70c69f8",
+ "5b6a3302.9920fc",
+ "f580b947.62a168"
]
]
},
{
- "id": "17d66d3e.a45ec3",
+ "id": "d6d6ab07.510db8",
"type": "execute",
"name": "read DU id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.GNBDUFunction['+ $id-du +'].idGNBDUFunction'`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+$idy+'].GNBDUFunction['+ $id-du +'].idGNBDUFunction'`\" />",
"comments": "",
"outputs": 1,
- "x": 1812.6389617919922,
- "y": 4492.500001311302,
+ "x": 1752.2778091430664,
+ "y": 4651.389333724976,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "b31b439.a9bb6c",
+ "id": "d46b051.70c69f8",
"type": "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<parameter name=\"field3\" value=\"NRCellDU length \"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDUList_length`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field3\" value=\"NRCellDU length \"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDUList_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1779.3892097473145,
- "y": 4583.500634908676,
+ "x": 1719.0280570983887,
+ "y": 4742.38996732235,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "6541d0f3.e6cd3",
+ "id": "5b6a3302.9920fc",
"type": "execute",
"name": "read cellDU list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.GNBDUFunction[' + $id-du +'].NRCellDU_length'`\" />\n ",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+$idy+'].GNBDUFunction[' + $id-du +'].NRCellDU_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1807.8890991210938,
- "y": 4543.750200271606,
+ "x": 1747.527946472168,
+ "y": 4702.63953268528,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "4e812242.94622c",
+ "id": "f580b947.62a168",
"type": "for",
"name": "for cellDUList",
"xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1816.6389617919922,
- "y": 4636.500001311302,
+ "x": 1756.2778091430664,
+ "y": 4795.389333724976,
"z": "e1a177d9.2ec918",
"wires": [
[
- "16c849d5.e5b0a6"
+ "a254d6f4.7e3838"
]
]
},
{
- "id": "96c0a57a.69c3c8",
+ "id": "2c439d06.263c72",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2821.388885498047,
- "y": 4500.499995231628,
+ "x": 2773.25,
+ "y": 4530.49999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "54a8bec3.6ddb3",
- "a6e16c31.cf7bb",
- "bdc04936.2600a8",
- "d8435e23.0f1aa",
- "3f8acb67.8350b4",
- "81d0d6cc.b08fe8",
- "62b3c5f1.05a8fc",
- "c4703a9.018a1c8",
- "cc71c1ae.d5606",
- "df86b764.4d5928",
- "7683f209.bd404c",
- "667aaf9f.e421a"
+ "c25d76bf.4d8cb8",
+ "e5c2f0c.8e8af1",
+ "d415a282.f1673",
+ "49cf6fde.854d9",
+ "22acd195.41c4ce",
+ "c4dd003a.77b42",
+ "53e7d140.79f54",
+ "ea53a4c5.a6c718",
+ "4ad0443b.60e55c",
+ "6b1580b4.2aa08",
+ "6fead525.a6b8bc",
+ "603b780.484b388"
]
]
},
{
- "id": "c4703a9.018a1c8",
+ "id": "c4dd003a.77b42",
"type": "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",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3016.388885498047,
- "y": 4495.499995231628,
+ "x": 2968.25,
+ "y": 4525.49999332428,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "62b3c5f1.05a8fc",
+ "id": "22acd195.41c4ce",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3044.388885498047,
- "y": 4563.499995231628,
+ "x": 2996.25,
+ "y": 4593.49999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "808301dd.6f5ec",
- "a851ce95.1aa53"
+ "57906f64.6c0b8",
+ "a96de3b8.f961a"
]
]
},
{
- "id": "808301dd.6f5ec",
+ "id": "57906f64.6c0b8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3252.388885498047,
- "y": 4528.499751091003,
+ "x": 3204.25,
+ "y": 4558.499749183655,
"z": "e1a177d9.2ec918",
"wires": [
[
- "9d982b6a.f84898"
+ "e64a4631.892128"
]
]
},
{
- "id": "a851ce95.1aa53",
+ "id": "a96de3b8.f961a",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3247.3889350891113,
- "y": 4597.500319480896,
+ "x": 3199.2500495910645,
+ "y": 4627.500317573547,
"z": "e1a177d9.2ec918",
"wires": [
[
- "55cd264.2f7fbd8"
+ "5819a910.f1e148"
]
]
},
{
- "id": "9d982b6a.f84898",
+ "id": "e64a4631.892128",
"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": 3572.388885498047,
- "y": 4543.499995231628,
+ "x": 3524.25,
+ "y": 4573.49999332428,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "54a8bec3.6ddb3",
+ "id": "733d1078.c1e7a",
"type": "execute",
"name": "read cellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].idNRCellDU'`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3041.3890380859375,
- "y": 4651.500239372253,
+ "x": 3009.50057220459,
+ "y": 4727.750285148621,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d8435e23.0f1aa",
+ "id": "d415a282.f1673",
"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": 3096.3890991210938,
- "y": 4716.500177383423,
+ "x": 3052.0005645751953,
+ "y": 4684.000292778015,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "3f8acb67.8350b4",
- "type": "execute",
- "name": "prepare idNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3069.3892822265625,
- "y": 4771.5001792907715,
- "z": "e1a177d9.2ec918",
- "wires": [
- []
- ]
- },
- {
- "id": "81d0d6cc.b08fe8",
+ "id": "49cf6fde.854d9",
"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": 3049.3889770507812,
- "y": 4834.500485420227,
+ "x": 3001.2500915527344,
+ "y": 4864.500483512878,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a6e16c31.cf7bb",
+ "id": "c25d76bf.4d8cb8",
"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": 3051.3892211914062,
- "y": 4892.500118255615,
+ "x": 3003.2503356933594,
+ "y": 4922.500116348267,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "bdc04936.2600a8",
+ "id": "e5c2f0c.8e8af1",
"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",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"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": 3055.3890991210938,
- "y": 4938.500735282898,
+ "x": 3007.250213623047,
+ "y": 4968.500733375549,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "cc71c1ae.d5606",
+ "id": "53e7d140.79f54",
"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": 3110.3890991210938,
- "y": 4984.75000333786,
+ "x": 3062.250213623047,
+ "y": 5014.7500014305115,
"z": "e1a177d9.2ec918",
"wires": [
[
- "60b55cb2.d50494",
- "f5de5d08.e9fc9"
+ "51c0562d.cd17e8",
+ "14a8c893.118807"
]
]
},
{
- "id": "f5de5d08.e9fc9",
+ "id": "14a8c893.118807",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3358.9604511260986,
- "y": 4825.75011920929,
+ "x": 3310.8215656280518,
+ "y": 4855.750117301941,
"z": "e1a177d9.2ec918",
"wires": [
[
- "fafc54df.334338"
+ "ec7e0552.40f488"
]
]
},
{
- "id": "60b55cb2.d50494",
+ "id": "51c0562d.cd17e8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3365.103141784668,
- "y": 4881.892825126648,
+ "x": 3316.964256286621,
+ "y": 4911.892823219299,
"z": "e1a177d9.2ec918",
"wires": [
[
- "17a5d11c.c182ff"
+ "f7e9be94.b77c5"
]
]
},
{
- "id": "fafc54df.334338",
+ "id": "ec7e0552.40f488",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3535.5320587158203,
- "y": 4825.17834186554,
+ "x": 3487.3931732177734,
+ "y": 4855.178339958191,
"z": "e1a177d9.2ec918",
"wires": [
[
- "53c7f4c2.3a038c",
- "3e571a93.29c1a6",
- "539e8ebf.0e22a"
+ "8ba7df48.583ca",
+ "33cb2af.4643dd6",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "17a5d11c.c182ff",
+ "id": "f7e9be94.b77c5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3518.8174438476562,
- "y": 4881.749950408936,
+ "x": 3470.6785583496094,
+ "y": 4911.749948501587,
"z": "e1a177d9.2ec918",
"wires": [
[
- "24a4d994.d5b116"
+ "dfbf8788.70a3e8"
]
]
},
{
- "id": "24a4d994.d5b116",
+ "id": "dfbf8788.70a3e8",
"type": "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\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 3556.24613571167,
- "y": 4947.892746925354,
+ "x": 3508.107250213623,
+ "y": 4977.892745018005,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "53c7f4c2.3a038c",
+ "id": "8ba7df48.583ca",
"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": 3722.2458724975586,
- "y": 4901.892686843872,
+ "x": 3674.1069869995117,
+ "y": 4931.892684936523,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "3e571a93.29c1a6",
+ "id": "33cb2af.4643dd6",
"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": 3704.388885498047,
- "y": 4849.749995231628,
+ "x": 3656.25,
+ "y": 4879.74999332428,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "df86b764.4d5928",
+ "id": "ea53a4c5.a6c718",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2914.638885498047,
- "y": 5308.749995231628,
+ "x": 2866.5,
+ "y": 5338.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "e0e3e202.839a7",
- "80583e31.db9bb",
- "ffe02ef2.9c2a5",
- "5b8fde49.1452f",
- "ad2dc0bd.5d364",
- "76ac08d.ea813f8",
- "99ea677a.7fa168",
- "71357194.29fcf",
- "7e425eba.88fdf",
- "3315c6c7.a9202a"
+ "9ecde2ef.a6323",
+ "fd5a96a8.474088",
+ "14372989.1b5396",
+ "b0ce02b3.96c44",
+ "8f09b091.bc203",
+ "89955ae4.2528c8",
+ "8618b327.561d8",
+ "cc95f178.ba8b8",
+ "ada50bb4.52e478",
+ "3777c01e.482b1"
]
]
},
{
- "id": "e0e3e202.839a7",
+ "id": "9ecde2ef.a6323",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3136.638885498047,
- "y": 5214.749995231628,
+ "x": 3088.5,
+ "y": 5244.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "fb80e7c3.2a6c28",
- "9e03dd43.2f2b7"
+ "6882a0b1.0f9e2",
+ "84029de1.b5c0a"
]
]
},
{
- "id": "9e03dd43.2f2b7",
+ "id": "84029de1.b5c0a",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3385.3535919189453,
- "y": 5227.036770820618,
+ "x": 3337.2147064208984,
+ "y": 5257.036768913269,
"z": "e1a177d9.2ec918",
"wires": [
[
- "6f656f1.25b769"
+ "2d7a1270.3d462e"
]
]
},
{
- "id": "6f656f1.25b769",
+ "id": "2d7a1270.3d462e",
"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": 3579.6387939453125,
- "y": 5165.179368019104,
+ "x": 3531.4999084472656,
+ "y": 5195.179366111755,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "80583e31.db9bb",
+ "id": "fd5a96a8.474088",
"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": 3171.638885498047,
- "y": 5286.749995231628,
+ "x": 3123.5,
+ "y": 5316.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ffe02ef2.9c2a5",
+ "id": "14372989.1b5396",
"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",
+ "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.cellId[0]`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3136.638885498047,
- "y": 5338.749995231628,
+ "x": 3088.5,
+ "y": 5368.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "5b8fde49.1452f",
+ "id": "b0ce02b3.96c44",
"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": 3171.638885498047,
- "y": 5413.749995231628,
+ "x": 3123.5,
+ "y": 5443.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "63740b8e.d3de14",
- "35cb878.4b86e78"
+ "66a9ef85.3a83e",
+ "76d26341.f4f84c"
]
]
},
{
- "id": "63740b8e.d3de14",
+ "id": "66a9ef85.3a83e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3418.638885498047,
- "y": 5386.749995231628,
+ "x": 3370.5,
+ "y": 5416.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "ccaa3759.38bf28"
+ "38e38251.f729de"
]
]
},
{
- "id": "35cb878.4b86e78",
+ "id": "76d26341.f4f84c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3422.638885498047,
- "y": 5465.749995231628,
+ "x": 3374.5,
+ "y": 5495.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "b8d3468e.631ca8"
+ "74f32535.9673ec"
]
]
},
{
- "id": "ccaa3759.38bf28",
+ "id": "38e38251.f729de",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3586.639358520508,
- "y": 5397.607348442078,
+ "x": 3538.500473022461,
+ "y": 5427.607346534729,
"z": "e1a177d9.2ec918",
"wires": [
[
- "447e9c67.a50654",
- "bba052e8.f1d3c",
- "539e8ebf.0e22a"
+ "a224b5ad.888ea8",
+ "4c525405.7ad1ac",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "bba052e8.f1d3c",
+ "id": "4c525405.7ad1ac",
"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": 3742.638885498047,
- "y": 5300.749995231628,
+ "x": 3694.5,
+ "y": 5330.74999332428,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "447e9c67.a50654",
+ "id": "a224b5ad.888ea8",
"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": 3747.6387634277344,
- "y": 5395.750056266785,
+ "x": 3699.4998779296875,
+ "y": 5425.750054359436,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "b8d3468e.631ca8",
+ "id": "74f32535.9673ec",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3586.6387634277344,
- "y": 5466.750117301941,
+ "x": 3538.4998779296875,
+ "y": 5496.750115394592,
"z": "e1a177d9.2ec918",
"wires": [
[
- "1f975dc7.565b42",
- "ec3fd697.0afd18"
+ "b0e78ecc.b002b",
+ "774bc967.46b5a8"
]
]
},
{
- "id": "1f975dc7.565b42",
+ "id": "b0e78ecc.b002b",
"type": "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\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 3743.781936645508,
- "y": 5438.892783164978,
+ "x": 3695.643051147461,
+ "y": 5468.892781257629,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ec3fd697.0afd18",
+ "id": "774bc967.46b5a8",
"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",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3751.6389770507812,
- "y": 5476.178706169128,
+ "x": 3703.5000915527344,
+ "y": 5506.17870426178,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ad2dc0bd.5d364",
+ "id": "8f09b091.bc203",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioDUList_length`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioDUList_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3109.2102966308594,
- "y": 5546.035393714905,
+ "x": 3061.0714111328125,
+ "y": 5576.035391807556,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "76ac08d.ea813f8",
+ "id": "89955ae4.2528c8",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3171.35298204422,
- "y": 5093.035622596741,
+ "x": 3123.214096546173,
+ "y": 5123.035620689392,
"z": "e1a177d9.2ec918",
"wires": [
[
- "623af651.0f0288",
- "46dc46b0.5e6578",
- "59eacde8.014714",
- "5efd1a01.9b7354",
- "8090c90f.8daa18",
- "c7344632.ecc008",
- "20e934cf.7a46ec",
- "69bd031d.5646fc",
- "8549b198.b5fc4",
- "1dd0e5e3.2a718a",
- "cde0b29.814825"
+ "d0500efd.69721",
+ "c526ac4d.af417",
+ "a32ce1a.521b32",
+ "8dfb3e1d.2bdb2",
+ "d73728a2.25ff98",
+ "df4b550b.2f9268",
+ "29ed4e43.f88272",
+ "b4085485.a860c8",
+ "599a5b89.a484c4",
+ "61e97d19.942014",
+ "217af232.f2160e"
]
]
},
{
- "id": "59eacde8.014714",
+ "id": "a32ce1a.521b32",
"type": "set",
"name": "Calculate RRM Parms1",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
"comments": "",
- "x": 4139.628692626953,
- "y": 4879.072748184204,
+ "x": 4091.4898071289062,
+ "y": 4909.0727462768555,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "5efd1a01.9b7354",
+ "id": "8dfb3e1d.2bdb2",
"type": "set",
"name": "Calculate RRM Parms2",
"xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4148.169952392578,
- "y": 4924.0927676558495,
+ "x": 4100.031066894531,
+ "y": 4954.092765748501,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "8090c90f.8daa18",
+ "id": "d73728a2.25ff98",
"type": "set",
"name": "Calculate RRM Parms3",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
"comments": "",
- "x": 4138.170074462891,
- "y": 4979.092645585537,
+ "x": 4090.0311889648438,
+ "y": 5009.092643678188,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "c7344632.ecc008",
+ "id": "df4b550b.2f9268",
"type": "set",
"name": "Calculate RRM Parms4",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4138.169952392578,
- "y": 5030.092645645142,
+ "x": 4090.0310668945312,
+ "y": 5060.092643737793,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "20e934cf.7a46ec",
+ "id": "29ed4e43.f88272",
"type": "set",
"name": "Calculate RRM Parms5",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
"comments": "",
- "x": 4126.170074462891,
- "y": 5090.0927676558495,
+ "x": 4078.0311889648438,
+ "y": 5120.092765748501,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "69bd031d.5646fc",
+ "id": "b4085485.a860c8",
"type": "set",
"name": "Calculate RRM Parms6",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />",
"comments": "",
- "x": 4164.169952392578,
- "y": 5140.0927676558495,
+ "x": 4116.031066894531,
+ "y": 5170.092765748501,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "8549b198.b5fc4",
+ "id": "599a5b89.a484c4",
"type": "set",
"name": "Calculate RRM Parms7",
"xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
"comments": "",
- "x": 4151.169891357422,
- "y": 5210.093133926392,
+ "x": 4103.031005859375,
+ "y": 5240.093132019043,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "1dd0e5e3.2a718a",
+ "id": "61e97d19.942014",
"type": "set",
"name": "calculation8",
"xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
"comments": "",
- "x": 4122.169891357422,
- "y": 5274.092157363892,
+ "x": 4074.031005859375,
+ "y": 5304.092155456543,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "cde0b29.814825",
+ "id": "217af232.f2160e",
"type": "set",
"name": "calculation9",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
"comments": "",
- "x": 4110.170440673828,
- "y": 5325.092035293579,
+ "x": 4062.0315551757812,
+ "y": 5355.0920333862305,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "46dc46b0.5e6578",
+ "id": "c526ac4d.af417",
"type": "set",
"name": "calculation10",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
"comments": "",
- "x": 4085.6287536621094,
- "y": 5391.072504043579,
+ "x": 4037.4898681640625,
+ "y": 5421.0725021362305,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "623af651.0f0288",
+ "id": "d0500efd.69721",
"type": "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": 3911.6386795043945,
- "y": 5403.193810462952,
+ "x": 3863.4997940063477,
+ "y": 5433.193808555603,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "99ea677a.7fa168",
+ "id": "8618b327.561d8",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3131.888885498047,
- "y": 5592.749995231628,
+ "x": 3083.75,
+ "y": 5622.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "e62d423c.15307"
+ "caa4cd3a.0e12f"
]
]
},
{
- "id": "e62d423c.15307",
+ "id": "caa4cd3a.0e12f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3352.888885498047,
- "y": 5612.749995231628,
+ "x": 3304.75,
+ "y": 5642.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "f5d53f14.2e75d",
- "9ce14b2b.f5be78",
- "efd823f8.50d6",
- "e91de95e.3b9618",
- "daeedb57.ee6878",
- "9cd4b927.aa4e98",
- "ede60c1e.f34fc",
- "acbb61bb.671ce",
- "a22f5fc7.41f66",
- "f254abf9.8ed118"
+ "a9c09dcb.4fcad",
+ "6a3b66f5.aafb58",
+ "490af655.942378",
+ "676f9ad.688bf64",
+ "ba7a761f.7e0b08",
+ "7e46930b.cb788c",
+ "efd70f4d.dd1aa",
+ "2b97bf74.e13fc",
+ "dd9d3233.de231",
+ "aa3846b8.bb2948"
]
]
},
{
- "id": "f5d53f14.2e75d",
+ "id": "a9c09dcb.4fcad",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`\" />",
"comments": "",
- "x": 3679.317398071289,
- "y": 5552.607485294342,
+ "x": 3631.178512573242,
+ "y": 5582.607483386993,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "efd823f8.50d6",
+ "id": "490af655.942378",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3624.460647583008,
- "y": 5596.464262008667,
+ "x": 3576.321762084961,
+ "y": 5626.464260101318,
"z": "e1a177d9.2ec918",
"wires": [
[
- "a2cc9371.e038b",
- "9fb5e615.073a78"
+ "1f2dee00.b0be32",
+ "67238286.3e7f4c"
]
]
},
{
- "id": "a2cc9371.e038b",
+ "id": "1f2dee00.b0be32",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3820.174644470215,
- "y": 5587.7497482299805,
+ "x": 3772.035758972168,
+ "y": 5617.749746322632,
"z": "e1a177d9.2ec918",
"wires": [
[
- "d3c6db3d.d0d348"
+ "aacb83fa.2e9b"
]
]
},
{
- "id": "d3c6db3d.d0d348",
+ "id": "aacb83fa.2e9b",
"type": "execute",
"name": "patchRRMPolicyRatio NRCellDU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4137.889102935791,
- "y": 5557.036684989929,
+ "x": 4089.750217437744,
+ "y": 5587.036683082581,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "daeedb57.ee6878",
+ "id": "ba7a761f.7e0b08",
"type": "set",
"name": "RRMPolicyMember Id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.RRMPolicyMembersDU_Length+1`\" />",
"comments": "",
- "x": 3609.460418701172,
- "y": 5764.321385383606,
+ "x": 3561.321533203125,
+ "y": 5794.321383476257,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "9ce14b2b.f5be78",
+ "id": "6a3b66f5.aafb58",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioid - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyMemberid- \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field5\" value=\"Updated RRMPolicyRatio for CellDU is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"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": 3585.031936645508,
- "y": 5804.036263465881,
+ "x": 3536.893051147461,
+ "y": 5834.036261558533,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e91de95e.3b9618",
+ "id": "676f9ad.688bf64",
"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": 3669.1746826171875,
- "y": 5840.321488380432,
+ "x": 3621.0357971191406,
+ "y": 5870.3214864730835,
"z": "e1a177d9.2ec918",
"wires": [
[
- "7f8d5c15.63fbe4",
- "c5c5e428.9603c8"
+ "830633df.142f1",
+ "e0bc803c.7b6ea"
]
]
},
{
- "id": "7f8d5c15.63fbe4",
+ "id": "830633df.142f1",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3946.888885498047,
- "y": 5803.7497663497925,
+ "x": 3898.75,
+ "y": 5833.749764442444,
"z": "e1a177d9.2ec918",
"wires": [
[
- "a1ffcc6f.3c651"
+ "6c74efd2.9c598"
]
]
},
{
- "id": "a1ffcc6f.3c651",
+ "id": "6c74efd2.9c598",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4137.888885498047,
- "y": 5803.7497663497925,
+ "x": 4089.75,
+ "y": 5833.749764442444,
"z": "e1a177d9.2ec918",
"wires": [
[
- "a2998ec0.bba5e"
+ "d3b3e079.aee3c"
]
]
},
{
- "id": "a2998ec0.bba5e",
+ "id": "d3b3e079.aee3c",
"type": "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\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 4322.888641357422,
- "y": 5804.7500104904175,
+ "x": 4274.749755859375,
+ "y": 5834.750008583069,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "4e47cca8.dd1c54",
+ "id": "687b9fb0.1124",
"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": 4404.888885498047,
- "y": 5847.7497663497925,
+ "x": 4356.75,
+ "y": 5877.749764442444,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "6637a516.6cea5c",
+ "id": "49abdfe5.7e4fb",
"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": 4409.888763427734,
- "y": 5942.749827384949,
+ "x": 4361.7498779296875,
+ "y": 5972.7498254776,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "b7dfcd3f.a7817",
+ "id": "b739352e.1b91f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4142.389163970947,
- "y": 5845.500408649445,
+ "x": 4094.2502784729004,
+ "y": 5875.500406742096,
"z": "e1a177d9.2ec918",
"wires": [
[
- "6637a516.6cea5c",
- "4e47cca8.dd1c54",
- "539e8ebf.0e22a"
+ "49abdfe5.7e4fb",
+ "687b9fb0.1124",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "c5c5e428.9603c8",
+ "id": "e0bc803c.7b6ea",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3955.8889770507812,
- "y": 5851.750409126282,
+ "x": 3907.7500915527344,
+ "y": 5881.750407218933,
"z": "e1a177d9.2ec918",
"wires": [
[
- "b7dfcd3f.a7817"
+ "b739352e.1b91f8"
]
]
},
{
- "id": "7683f209.bd404c",
+ "id": "4ad0443b.60e55c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2500.722496032715,
- "y": 5864.527862071991,
+ "x": 2452.583610534668,
+ "y": 5894.527860164642,
"z": "e1a177d9.2ec918",
"wires": [
[
- "8675993.4440a68",
- "507ddcd6.ce3e94",
- "848c4fb9.a9417",
- "1809ae3b.35f172",
- "e7c4ebf.d78aa18",
- "9973e50c.01e848",
- "d094bf69.13ed4",
- "fcf26f6a.2d312",
- "6bd09890.00ec68",
- "bd9debbf.8cc788",
- "e0340ac5.316fb8"
+ "f86fa1ff.ed6e8",
+ "c56d9cca.c5f57",
+ "edde737e.52f64",
+ "4d5ecfa9.ad16e",
+ "d90238d1.619ed8",
+ "b8d44859.591628",
+ "bc4f7fbb.76306",
+ "8237c85b.dd8b78",
+ "c6562970.2ac928",
+ "fd943d28.fd42c",
+ "8c0a3f12.8c43c"
]
]
},
{
- "id": "dd7210dc.8b4c7",
+ "id": "99a41e67.f77a6",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3516.278106689453,
- "y": 5954.639018058777,
+ "x": 3468.1392211914062,
+ "y": 5984.639016151428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "12de469b.342ed9"
+ "df1d3e72.1837c"
]
]
},
{
- "id": "c0338ed7.c44",
+ "id": "36ce15cc.3d7dfa",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3519.8617630004883,
- "y": 6014.250905513763,
+ "x": 3471.7228775024414,
+ "y": 6044.250903606415,
"z": "e1a177d9.2ec918",
"wires": [
[
- "9fce6105.8014d"
+ "d128f2fc.b434e"
]
]
},
{
- "id": "9fce6105.8014d",
+ "id": "d128f2fc.b434e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3668.9166717529297,
- "y": 6023.027272701263,
+ "x": 3620.777786254883,
+ "y": 6053.027270793915,
"z": "e1a177d9.2ec918",
"wires": [
[
- "fa681af3.e42748"
+ "33e58dd6.f65a02"
]
]
},
{
- "id": "12de469b.342ed9",
+ "id": "df1d3e72.1837c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3695.083541870117,
- "y": 5956.890090465546,
+ "x": 3646.9446563720703,
+ "y": 5986.890088558197,
"z": "e1a177d9.2ec918",
"wires": [
[
- "91ecd1f6.295c6",
- "91595a39.011cf8",
- "539e8ebf.0e22a"
+ "99c4c15b.ff686",
+ "7edc014.a829a",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "91595a39.011cf8",
+ "id": "7edc014.a829a",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3901.9168815612793,
- "y": 5942.111602306366,
+ "x": 3853.7779960632324,
+ "y": 5972.111600399017,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "fa681af3.e42748",
+ "id": "33e58dd6.f65a02",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated NRCellCU pLMNinfo \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 3818.333683013916,
- "y": 6031.389981746674,
+ "x": 3770.194797515869,
+ "y": 6061.389979839325,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "91ecd1f6.295c6",
+ "id": "99c4c15b.ff686",
"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": 3904.6945838928223,
- "y": 5982.471929073334,
+ "x": 3856.5556983947754,
+ "y": 6012.471927165985,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "9fcdffe8.f2341",
+ "id": "a6676618.e697d8",
"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": 4028.388671875,
- "y": 6201.250534057617,
+ "x": 3980.249786376953,
+ "y": 6231.250532150269,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "e44939d4.ebd8b8",
+ "id": "f3005399.54d5f",
"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": 4048.3887977600098,
- "y": 6242.5005350112915,
+ "x": 4000.249912261963,
+ "y": 6272.500533103943,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "1bd87cc1.9d3583",
+ "id": "7bcc825d.db6e1c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3838.63916015625,
- "y": 6234.000168800354,
+ "x": 3790.500274658203,
+ "y": 6264.000166893005,
"z": "e1a177d9.2ec918",
"wires": [
[
- "e44939d4.ebd8b8",
- "9fcdffe8.f2341",
- "539e8ebf.0e22a"
+ "f3005399.54d5f",
+ "a6676618.e697d8",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "e255143b.a608a8",
+ "id": "de8d1cac.a485",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3652.639102935791,
- "y": 6328.2500858306885,
+ "x": 3604.500217437744,
+ "y": 6358.25008392334,
"z": "e1a177d9.2ec918",
"wires": [
[
- "1bd87cc1.9d3583"
+ "7bcc825d.db6e1c"
]
]
},
{
- "id": "ee6f5e2f.d624f",
+ "id": "af162215.00c6c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3662.3890419006348,
- "y": 6370.749474525452,
+ "x": 3614.250156402588,
+ "y": 6400.749472618103,
"z": "e1a177d9.2ec918",
"wires": [
[
- "cc2e0f80.5c595"
+ "3a3b2e5.6dc5bd2"
]
]
},
{
- "id": "cc2e0f80.5c595",
+ "id": "3a3b2e5.6dc5bd2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3831.6390991210938,
- "y": 6294.750291824341,
+ "x": 3783.500213623047,
+ "y": 6324.750289916992,
"z": "e1a177d9.2ec918",
"wires": [
[
- "c08067c5.c1ce88"
+ "e92b008b.54614"
]
]
},
{
- "id": "c08067c5.c1ce88",
+ "id": "e92b008b.54614",
"type": "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 \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated CPS - NRCellDU RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 3996.38916015625,
- "y": 6299.500047683716,
+ "x": 3948.250274658203,
+ "y": 6329.500045776367,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "539e8ebf.0e22a",
+ "id": "bc591c3.8ee80e",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4489.373260498047,
- "y": 2796.749997854233,
+ "x": 4441.234375,
+ "y": 2826.749995946884,
"z": "e1a177d9.2ec918",
"wires": [
[
- "f0d5cec7.a6067",
- "ebcb9e91.15534",
- "c195b7b5.563ee8",
- "9215ffce.c2d04",
- "b7500e7d.d09c1"
+ "1d14ce00.d746b2",
+ "b875215d.9076f",
+ "c75b0ec4.ae06e",
+ "515e759d.812ffc",
+ "42f23f46.2bfc2"
]
]
},
{
- "id": "f0d5cec7.a6067",
+ "id": "1d14ce00.d746b2",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
"comments": "",
- "x": 5142.374359130859,
- "y": 2620.649748802185,
+ "x": 5094.2354736328125,
+ "y": 2650.6497468948364,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "ebcb9e91.15534",
+ "id": "b875215d.9076f",
"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": 5126.373123168945,
- "y": 2685.750333547592,
+ "x": 5078.234237670898,
+ "y": 2715.7503316402435,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c195b7b5.563ee8",
+ "id": "c75b0ec4.ae06e",
"type": "execute",
"name": "Send to SO",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"convertResponse\" value=\"true\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 5041.373134613037,
- "y": 2782.7502114772797,
+ "x": 4993.23424911499,
+ "y": 2812.750209569931,
"z": "e1a177d9.2ec918",
"wires": [
[
- "b2852132.03b4f",
- "5485744f.d7315c"
+ "b1378e9.6fbe27",
+ "80a6589.7ce09a8"
]
]
},
{
- "id": "b2852132.03b4f",
+ "id": "b1378e9.6fbe27",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5267.373143196106,
- "y": 2759.7501804828644,
+ "x": 5219.234257698059,
+ "y": 2789.7501785755157,
"z": "e1a177d9.2ec918",
"wires": [
[
- "4ff65597.a2792c"
+ "b9badbf3.a09708"
]
]
},
{
- "id": "5485744f.d7315c",
+ "id": "80a6589.7ce09a8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5257.372997283936,
- "y": 2867.7501199245453,
+ "x": 5209.234111785889,
+ "y": 2897.7501180171967,
"z": "e1a177d9.2ec918",
"wires": [
[
- "d00a546c.44d9a8"
+ "481db696.c13738"
]
]
},
{
- "id": "d00a546c.44d9a8",
+ "id": "481db696.c13738",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5407.372783660889,
- "y": 2886.7501809597015,
+ "x": 5359.233898162842,
+ "y": 2916.750179052353,
"z": "e1a177d9.2ec918",
"wires": [
[
- "cb337e9d.85a73"
+ "326fb0b4.837a2"
]
]
},
{
- "id": "4ff65597.a2792c",
+ "id": "b9badbf3.a09708",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5418.373012542725,
- "y": 2754.750302553177,
+ "x": 5370.234127044678,
+ "y": 2784.7503006458282,
"z": "e1a177d9.2ec918",
"wires": [
[
- "ca6d04ab.582868"
+ "d20faa47.7f7008"
]
]
},
{
- "id": "ca6d04ab.582868",
+ "id": "d20faa47.7f7008",
"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": 5584.372692108154,
- "y": 2757.7501199245453,
+ "x": 5536.233806610107,
+ "y": 2787.7501180171967,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "cb337e9d.85a73",
+ "id": "326fb0b4.837a2",
"type": "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 \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 5571.372798919678,
- "y": 2892.7501199245453,
+ "x": 5523.233913421631,
+ "y": 2922.7501180171967,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "3cf4187c.17d188",
+ "id": "1d0165fb.a51cfa",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 571.3732604980469,
- "y": 4478.749997854233,
+ "x": 523.234375,
+ "y": 4508.749995946884,
"z": "e1a177d9.2ec918",
"wires": [
[
- "fd0a514b.10624",
- "80ca4633.f04768",
- "6478d328.1b237c",
- "296b68d1.fd4c08",
- "461632b6.acf73c",
- "51fc5b6.acc17a4"
+ "67788963.1c6068",
+ "a154041a.880d08",
+ "cb386bc8.e219f8",
+ "ad6439fc.800418",
+ "472d1ba6.dbfbc4",
+ "971677e7.68fa58"
]
]
},
{
- "id": "6478d328.1b237c",
+ "id": "cb386bc8.e219f8",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
"comments": "",
- "x": 848.3744659423828,
- "y": 4426.649535179138,
+ "x": 800.2355804443359,
+ "y": 4456.64953327179,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "fd0a514b.10624",
+ "id": "67788963.1c6068",
"type": "record",
"name": "record SO reply parms",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$prop.restapi.so.user`\" />\n<parameter name='field8' value=\"`$prop.restapi.so.password`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for 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": 846.3732986450195,
- "y": 4518.750183105469,
+ "x": 798.2344131469727,
+ "y": 4548.75018119812,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "80ca4633.f04768",
+ "id": "a154041a.880d08",
"type": "execute",
"name": "Send to SO",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 717.3733367919922,
- "y": 4599.749885320663,
+ "x": 669.2344512939453,
+ "y": 4629.749883413315,
"z": "e1a177d9.2ec918",
"wires": [
[
- "812af1fa.54859",
- "89c1ff10.b8ce1"
+ "e50a391.ea4afc8",
+ "5bd69bea.490124"
]
]
},
{
- "id": "812af1fa.54859",
+ "id": "e50a391.ea4afc8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 882.3733367919922,
- "y": 4579.749884366989,
+ "x": 834.2344512939453,
+ "y": 4609.7498824596405,
"z": "e1a177d9.2ec918",
"wires": [
[
- "b31f68ec.465cb8"
+ "527f6275.bb02dc"
]
]
},
{
- "id": "89c1ff10.b8ce1",
+ "id": "5bd69bea.490124",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 874.3732299804688,
- "y": 4652.749834775925,
+ "x": 826.2343444824219,
+ "y": 4682.749832868576,
"z": "e1a177d9.2ec918",
"wires": [
[
- "4f224a90.435e14"
+ "332f0cce.1f0db4"
]
]
},
{
- "id": "4f224a90.435e14",
+ "id": "332f0cce.1f0db4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1020.3730735778809,
- "y": 4657.749943494797,
+ "x": 972.234188079834,
+ "y": 4687.749941587448,
"z": "e1a177d9.2ec918",
"wires": [
[
- "37eb501e.5f12"
+ "38954e27.b815c2"
]
]
},
{
- "id": "b31f68ec.465cb8",
+ "id": "527f6275.bb02dc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1031.3732376098633,
- "y": 4575.750019788742,
+ "x": 983.2343521118164,
+ "y": 4605.750017881393,
"z": "e1a177d9.2ec918",
"wires": [
[
- "8a3f5aec.79ce18",
- "76134398.181bbc"
+ "79926c32.0ad1f4",
+ "6be7ea56.55e9a4"
]
]
},
{
- "id": "8a3f5aec.79ce18",
+ "id": "79926c32.0ad1f4",
"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": 1178.3728561401367,
- "y": 4586.749761343002,
+ "x": 1130.2339706420898,
+ "y": 4616.749759435654,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "37eb501e.5f12",
+ "id": "38954e27.b815c2",
"type": "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 \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 1181.3729934692383,
- "y": 4663.749835729599,
+ "x": 1133.2341079711914,
+ "y": 4693.74983382225,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "76134398.181bbc",
+ "id": "6be7ea56.55e9a4",
"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": 1165.8834648132324,
- "y": 4490.73925280571,
+ "x": 1117.7445793151855,
+ "y": 4520.739250898361,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "296b68d1.fd4c08",
+ "id": "ad6439fc.800418",
"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": 868.7129058837891,
- "y": 4472.735595703125,
+ "x": 820.5740203857422,
+ "y": 4502.735593795776,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a9a299ee.0b9798",
+ "id": "24945bc5.0b41a4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2272.888885498047,
- "y": 1793.7499952316284,
+ "x": 2224.75,
+ "y": 1823.7499933242798,
"z": "e1a177d9.2ec918",
"wires": [
[
- "b0827860.e70fa8"
+ "e24180d7.810ab"
]
]
},
{
- "id": "b0827860.e70fa8",
+ "id": "e24180d7.810ab",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2465.8785438537598,
- "y": 1793.750117301941,
+ "x": 2417.739658355713,
+ "y": 1823.7501153945923,
"z": "e1a177d9.2ec918",
"wires": [
[
- "2efeba70.8daff6",
- "d9918a90.007dd8"
+ "47b25503.88282c",
+ "75a149a1.2ffbe8"
]
]
},
{
- "id": "2efeba70.8daff6",
+ "id": "47b25503.88282c",
"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": 2772.878730773926,
- "y": 1760.7502183914185,
+ "x": 2724.739845275879,
+ "y": 1790.7502164840698,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d9918a90.007dd8",
+ "id": "75a149a1.2ffbe8",
"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": 2716.8791313171387,
- "y": 1813.7504119873047,
+ "x": 2668.740245819092,
+ "y": 1843.750410079956,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ae4f32b2.92a47",
+ "id": "4c3462fd.029a2c",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2700.388885498047,
- "y": 1177.7499952316284,
+ "x": 2652.25,
+ "y": 1207.7499933242798,
"z": "e1a177d9.2ec918",
"wires": [
[
- "12d5980e.4134c8",
- "ba30a59c.221c18"
+ "6568eb74.884074",
+ "90aa3352.ed5f7"
]
]
},
{
- "id": "ba30a59c.221c18",
+ "id": "90aa3352.ed5f7",
"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": 2951.389316558838,
- "y": 1200.7501277923584,
+ "x": 2903.250431060791,
+ "y": 1230.7501258850098,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "12d5980e.4134c8",
+ "id": "6568eb74.884074",
"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": 3007.388916015625,
- "y": 1147.7499341964722,
+ "x": 2959.250030517578,
+ "y": 1177.7499322891235,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "62c18194.e70f6",
+ "id": "2ddb19b1.059bb6",
"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": 3188.94490814209,
- "y": 2183.6388816833496,
+ "x": 3140.806022644043,
+ "y": 2213.638879776001,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7b84de17.a67a5",
+ "id": "5cdabe29.75f6b",
"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": 3247.1668853759766,
- "y": 2140.6389713287354,
+ "x": 3199.0279998779297,
+ "y": 2170.6389694213867,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "779990de.41ee3",
+ "id": "d0d41c8a.38cfe",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2963.4996185302734,
- "y": 2142.5273180007935,
+ "x": 2915.3607330322266,
+ "y": 2172.527316093445,
"z": "e1a177d9.2ec918",
"wires": [
[
- "7b84de17.a67a5",
- "62c18194.e70f6"
+ "5cdabe29.75f6b",
+ "2ddb19b1.059bb6"
]
]
},
{
- "id": "696730cb.8b88f",
+ "id": "b3c2bd91.850ac",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2799.3990325927734,
- "y": 2142.5279412269592,
+ "x": 2751.2601470947266,
+ "y": 2172.5279393196106,
"z": "e1a177d9.2ec918",
"wires": [
[
- "779990de.41ee3"
+ "d0d41c8a.38cfe"
]
]
},
{
- "id": "1bcbee0b.4eb702",
+ "id": "167d9ceb.bf9b03",
"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": 2250.888931274414,
- "y": 2894.7500356435776,
+ "x": 2202.750114440918,
+ "y": 2939.1947164535522,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ec6e473d.98d308",
+ "id": "ca6302df.ee7ff",
"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": 2344.888412475586,
- "y": 2857.749852538109,
+ "x": 2420.0831756591797,
+ "y": 2905.5280418395996,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c20d4c6b.8f301",
+ "id": "70722f59.694c7",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2006.2221221923828,
- "y": 2896.3059438467026,
+ "x": 1958.0833053588867,
+ "y": 2940.7506246566772,
"z": "e1a177d9.2ec918",
"wires": [
[
- "ec6e473d.98d308",
- "1bcbee0b.4eb702"
+ "ca6302df.ee7ff",
+ "167d9ceb.bf9b03"
]
]
},
{
- "id": "34711e34.ef93a2",
+ "id": "69de7fa8.343fe",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2019.8888854980469,
- "y": 3174.7499952316284,
+ "x": 1971.75,
+ "y": 3204.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "47e10d63.f26704",
- "aee4ef3.f1daa1"
+ "ab984f64.bc8e5",
+ "a793b6cc.043a48"
]
]
},
{
- "id": "47e10d63.f26704",
+ "id": "ab984f64.bc8e5",
"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": 2321.8888206481934,
- "y": 3134.7500562667847,
+ "x": 2273.7499351501465,
+ "y": 3164.750054359436,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "aee4ef3.f1daa1",
+ "id": "a793b6cc.043a48",
"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": 2265.8892211914062,
- "y": 3187.750249862671,
+ "x": 2217.7503356933594,
+ "y": 3217.7502479553223,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8810698a.b608c8",
+ "id": "f1371dfa.888dd",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1792.3888854980469,
- "y": 3183.7499952316284,
+ "x": 1744.25,
+ "y": 3213.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "34711e34.ef93a2"
+ "69de7fa8.343fe"
]
]
},
{
- "id": "c7634a8b.72f608",
+ "id": "e109b16f.7958b",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2337.166835784912,
- "y": 3607.527723312378,
+ "x": 2289.0279502868652,
+ "y": 3637.5277214050293,
"z": "e1a177d9.2ec918",
"wires": [
[
- "90aa2fc0.21ac3"
+ "bd32ed5a.5b60e"
]
]
},
{
- "id": "90aa2fc0.21ac3",
+ "id": "bd32ed5a.5b60e",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2552.444492340088,
- "y": 3585.1944513320923,
+ "x": 2504.305606842041,
+ "y": 3615.1944494247437,
"z": "e1a177d9.2ec918",
"wires": [
[
- "9a9ef19b.14dfe",
- "89b59707.78e298"
+ "10ff169a.77ca19",
+ "c0c22ada.5e4dc8"
]
]
},
{
- "id": "9a9ef19b.14dfe",
+ "id": "10ff169a.77ca19",
"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": 2858.8888206481934,
- "y": 3580.7500562667847,
+ "x": 2810.7499351501465,
+ "y": 3610.750054359436,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "89b59707.78e298",
+ "id": "c0c22ada.5e4dc8",
"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": 2802.8892211914062,
- "y": 3633.750249862671,
+ "x": 2754.7503356933594,
+ "y": 3663.7502479553223,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "55cd264.2f7fbd8",
+ "id": "5819a910.f1e148",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3442.388885498047,
- "y": 4612.749995231628,
+ "x": 3394.25,
+ "y": 4642.74999332428,
"z": "e1a177d9.2ec918",
"wires": [
[
- "1322f87d.b557a8",
- "930e43f.94594c"
+ "a4fd6c78.a84a2",
+ "9443c4d1.babbf8"
]
]
},
{
- "id": "1322f87d.b557a8",
+ "id": "a4fd6c78.a84a2",
"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": 3749.388916015625,
- "y": 4582.749934196472,
+ "x": 3701.250030517578,
+ "y": 4612.7499322891235,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "930e43f.94594c",
+ "id": "9443c4d1.babbf8",
"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": 3693.389316558838,
- "y": 4635.750127792358,
+ "x": 3645.250431060791,
+ "y": 4665.75012588501,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "fb80e7c3.2a6c28",
+ "id": "6882a0b1.0f9e2",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3380.5676040649414,
- "y": 5281.464417457581,
+ "x": 3332.4287185668945,
+ "y": 5311.464415550232,
"z": "e1a177d9.2ec918",
"wires": [
[
- "67d4332b.60bf2c"
+ "49e9a76b.079138"
]
]
},
{
- "id": "67d4332b.60bf2c",
+ "id": "49e9a76b.079138",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3511.8536834716797,
- "y": 5308.285115242004,
+ "x": 3463.714797973633,
+ "y": 5338.285113334656,
"z": "e1a177d9.2ec918",
"wires": [
[
- "14bdd512.bde1bb",
- "815b01e4.e461d"
+ "db4f51f4.6d3dc",
+ "febe10d8.32a03"
]
]
},
{
- "id": "14bdd512.bde1bb",
+ "id": "db4f51f4.6d3dc",
"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": 3753.1389350891113,
- "y": 5200.999592781067,
+ "x": 3705.0000495910645,
+ "y": 5230.999590873718,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "815b01e4.e461d",
+ "id": "febe10d8.32a03",
"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": 3696.1394233703613,
- "y": 5261.999958992004,
+ "x": 3648.0005378723145,
+ "y": 5291.999957084656,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "9fb5e615.073a78",
+ "id": "67238286.3e7f4c",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3814.853302001953,
- "y": 5627.893162727356,
+ "x": 3766.7144165039062,
+ "y": 5657.893160820007,
"z": "e1a177d9.2ec918",
"wires": [
[
- "a9e9a29.d64676"
+ "844a723c.2b0ef"
]
]
},
{
- "id": "a9e9a29.d64676",
+ "id": "844a723c.2b0ef",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3973.282558441162,
- "y": 5639.000009536743,
+ "x": 3925.1436729431152,
+ "y": 5669.0000076293945,
"z": "e1a177d9.2ec918",
"wires": [
[
- "501dc58b.1dc87c",
- "4b0bf623.c5fda8"
+ "c1c27845.963058",
+ "38d4d0fb.811c1"
]
]
},
{
- "id": "501dc58b.1dc87c",
+ "id": "c1c27845.963058",
"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": 4223.138656616211,
- "y": 5601.714661598206,
+ "x": 4174.999771118164,
+ "y": 5631.714659690857,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "4b0bf623.c5fda8",
+ "id": "38d4d0fb.811c1",
"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": 4161.853706359863,
- "y": 5651.285740852356,
+ "x": 4113.714820861816,
+ "y": 5681.285738945007,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8fcc7b2a.24bdb8",
+ "id": "3295c197.d3958e",
"type": "comment",
- "name": "instantiateRANSlice-ModifyAllocate",
+ "name": "instantiateRANSlice-ModifyAllocate-CPS",
"info": "",
"comments": "",
- "x": 709.6388854980469,
- "y": 20,
+ "x": 661.5,
+ "y": 49.99999809265137,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "61b0f34b.8c870c",
+ "id": "ef2111ca.d0ea",
"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": 219.90969848632812,
- "y": 1480.104121208191,
+ "x": 171.77081298828125,
+ "y": 1510.1041193008423,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "5dfe6967.a72dd8",
+ "id": "664a3b8.99d56c4",
"type": "set",
"name": "Calculate maxNumberOfConnsPercellCU * 100",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n",
"comments": "",
- "x": 2136.388963699341,
- "y": 1669.2500114440918,
+ "x": 2088.250078201294,
+ "y": 1699.2500095367432,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "f040467.85fceb8",
+ "id": "3e2cfdaf.9449e2",
"type": "set",
"name": "Calculate RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
"comments": "",
- "x": 2088.388963699341,
- "y": 1707.2500114440918,
+ "x": 2040.250078201294,
+ "y": 1737.2500095367432,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "e9cf0d76.80c3",
+ "id": "9d58b74a.849238",
"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": 2128.194610595703,
- "y": 1962.9168105125427,
+ "x": 2116.722457885742,
+ "y": 2037.361629486084,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "49368160.b2bfa",
+ "id": "5a1b5df3.8471b4",
"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": 2588.6388721466064,
- "y": 2069.0000801086426,
+ "x": 2499.2501220703125,
+ "y": 2091.5002994537354,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7c2a6fba.2b3d8",
+ "id": "91d192ad.9265b",
"type": "block",
"name": "Get Cells List in TA",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 729.3888168334961,
- "y": 1159.500373840332,
+ "x": 681.2499313354492,
+ "y": 1189.5003719329834,
"z": "e1a177d9.2ec918",
"wires": [
[
- "b843ac7a.ed2b1"
+ "3511b31a.729a9c"
]
]
},
{
- "id": "67b92ca5.e3f874",
+ "id": "e1f0e254.92a0b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1473.6389694213867,
- "y": 947.0002956390381,
+ "x": 1430.500144958496,
+ "y": 1149.5002899169922,
"z": "e1a177d9.2ec918",
"wires": [
[
- "570741ae.38d4"
+ "6b3db47f.3a18dc"
]
]
},
{
- "id": "b553735d.cb27b",
+ "id": "b8a7b391.554ed",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1470.8888473510742,
- "y": 1026.0003566741943,
+ "x": 1437.749942779541,
+ "y": 1224.7503871917725,
"z": "e1a177d9.2ec918",
"wires": [
[
- "659d5aa.616c3a4"
+ "18e0e884.564a97"
]
]
},
{
- "id": "659d5aa.616c3a4",
+ "id": "18e0e884.564a97",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1606.8886032104492,
- "y": 1069.5004177093506,
+ "x": 1571.2496795654297,
+ "y": 1208.250485420227,
"z": "e1a177d9.2ec918",
"wires": [
[
- "1c36875f.5cb9c9",
- "bdfd7694.35dea8",
- "e83265e4.d241d8"
+ "9f3f554.6008ca8",
+ "3e7bace8.7ed804",
+ "c6c54b63.feded8",
+ "5e9efbb8.d207c4"
]
]
},
{
- "id": "1c36875f.5cb9c9",
+ "id": "9f3f554.6008ca8",
"type": "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 `CPS\"/>\n<parameter name=\"field2\" value=\"`$getListofCells-cps-response.taCellsList_length`\"/>\n<parameter name=\"field3\" value=\"List of Cells in the Tracking Area Relevant for RAN Slice Instantiation \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained List of Cells from CPS\"/>\n<parameter name=\"field2\" value=\"`$tmp.response.size`\"/>\n<parameter name=\"field3\" value=\"List of Cells in the Tracking Area Relevant for RAN Slice Instantiation \"/>",
"comments": "",
"outputs": 1,
- "x": 1792.6384391784668,
- "y": 954.7501535415649,
+ "x": 1776.9996223449707,
+ "y": 987.2501611709595,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e83265e4.d241d8",
+ "id": "4456d6ab.473108",
"type": "for",
"name": "For list of cells",
- "xml": "<for index='idx' start='0' end='`$getListofCells-cps-response.taCellsList_length`' >",
+ "xml": "<for index='idx' start='0' end='`$tmp.tacells.length`' >",
"comments": "",
"outputs": 1,
- "x": 1800.409523010254,
- "y": 991.1663227081299,
+ "x": 1757.2706651687622,
+ "y": 1182.4162855148315,
"z": "e1a177d9.2ec918",
"wires": [
[
- "f5b2cb6.18cee38",
- "8e9bc078.ecea5"
+ "89784de7.209d1",
+ "dd1778d4.4c6d68"
]
]
},
{
- "id": "bdfd7694.35dea8",
+ "id": "3e7bace8.7ed804",
"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",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1804.9168167114258,
- "y": 919.7501554489136,
+ "x": 1790.527946472168,
+ "y": 911.0001726150513,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f5b2cb6.18cee38",
+ "id": "89784de7.209d1",
"type": "execute",
"name": "Cells in TrackingArea",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.taCellsList.[' + $idx + '].cellLocalId'`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.['+$id-res+'].taCellsList[' + $idx + '].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2026.6593780517578,
- "y": 862.0828800201416,
+ "x": 1978.520492553711,
+ "y": 892.082878112793,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8e9bc078.ecea5",
+ "id": "dd1778d4.4c6d68",
"type": "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`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.trackingarea.cell`\"/>",
"comments": "",
"outputs": 1,
- "x": 1979.6593780517578,
- "y": 905.4162549972534,
+ "x": 1931.520492553711,
+ "y": 935.4162530899048,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "570741ae.38d4",
+ "id": "6b3db47f.3a18dc",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1623.1386985778809,
- "y": 1011.000098824501,
+ "x": 1583.7498016357422,
+ "y": 1112.2501311302185,
"z": "e1a177d9.2ec918",
"wires": [
[
- "b651b078.48ecc",
- "daa92806.90e0e8"
+ "85aa0fe4.6717b",
+ "1f61e153.778bff"
]
]
},
{
- "id": "daa92806.90e0e8",
+ "id": "1f61e153.778bff",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting List of cells for the Tracking Area. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1857.1387939453125,
- "y": 769.6111464500427,
+ "x": 1808.9999084472656,
+ "y": 799.6111445426941,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "b651b078.48ecc",
+ "id": "85aa0fe4.6717b",
"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": 1884.6384735107422,
- "y": 824.7501316070557,
+ "x": 1836.4995880126953,
+ "y": 854.750129699707,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "6b928a0f.68b5c4",
+ "id": "2ee84969.18ece6",
"type": "for",
"name": "foreach TACell",
- "xml": "<for index='id-ta' start='0' end='`$getListofCells-cps-response.taCellsList_length`' >\n",
+ "xml": "<for index='id-ta' start='0' end='`$tmp.tacells.length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2010.972267150879,
- "y": 945.3612079620361,
+ "x": 1984.0835266113281,
+ "y": 1027.861216545105,
"z": "e1a177d9.2ec918",
"wires": [
[
- "dca1e2f6.b8f7a"
+ "2e825d7a.b96fa2"
]
]
},
{
- "id": "f93cde4a.05d8b",
+ "id": "b383d831.d01248",
"type": "switchNode",
"name": "is cellCU applicable for NSSAI",
"xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
"comments": "",
"outputs": 1,
- "x": 2553.6389770507812,
- "y": 909.2501258850098,
+ "x": 2505.5000915527344,
+ "y": 939.2501239776611,
"z": "e1a177d9.2ec918",
"wires": [
[
- "5ed7a399.94a5bc"
+ "21f2357a.11e33a"
]
]
},
{
- "id": "5ed7a399.94a5bc",
+ "id": "21f2357a.11e33a",
"type": "outcome",
"name": "Applicable",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2200.8889961242676,
- "y": 953.5000081062317,
+ "x": 2277.7501525878906,
+ "y": 962.2500514984131,
"z": "e1a177d9.2ec918",
"wires": [
[
- "a60824a.29f2bd8"
+ "b0f5d181.2d086"
]
]
},
{
- "id": "dca1e2f6.b8f7a",
+ "id": "2e825d7a.b96fa2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2249.139274597168,
- "y": 843.0001277923584,
+ "x": 2201.000389099121,
+ "y": 873.0001258850098,
"z": "e1a177d9.2ec918",
"wires": [
[
- "f93cde4a.05d8b",
- "ec7cd6dc.293098",
- "be4f331d.65ef9",
- "20add34f.4061fc"
+ "b383d831.d01248",
+ "b5225b74.ef4728",
+ "322cf153.e7484e"
]
]
},
{
- "id": "ec7cd6dc.293098",
+ "id": "b5225b74.ef4728",
"type": "execute",
"name": "read Cell from getNFNSSIRIC-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.cellLocalId'`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+$idy+'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2568.3892822265625,
- "y": 733.0000495910645,
+ "x": 2520.2503967285156,
+ "y": 763.0000476837158,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "be4f331d.65ef9",
+ "id": "322cf153.e7484e",
"type": "execute",
"name": "read cellCU from getListofCells-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.taCellsList[' + $id-ta + '].cellLocalId'`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.[0].taCellsList[' + $id-ta + '].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2575.138946533203,
- "y": 788.5000057220459,
+ "x": 2527.0000610351562,
+ "y": 818.5000038146973,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "1efc1e9a.80a8b1",
+ "id": "fe2892f2.4ece2",
"type": "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",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"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": 2534.083381652832,
- "y": 2313.6111421585083,
+ "x": 2485.944496154785,
+ "y": 2343.6111402511597,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7542c5ac.6e2e1c",
+ "id": "487fb109.aee97",
"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": 2818.805435180664,
- "y": 2179.4443101882935,
+ "x": 2770.666549682617,
+ "y": 2209.444308280945,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "4d8fa04d.150dd",
+ "id": "414471ee.e4cde",
"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.cellId[0]`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2813.3608932495117,
- "y": 2209.444550514221,
+ "x": 2765.222007751465,
+ "y": 2239.4445486068726,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d84ddfc1.28fec",
+ "id": "92a8ed37.93a9c",
"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": 2824.083511352539,
- "y": 2242.7778940200806,
+ "x": 2775.944625854492,
+ "y": 2272.777892112732,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "fe1570d7.b075a",
+ "id": "c7d40a28.aa2a38",
"type": "set",
"name": "set API params",
"xml": "<set>\n<parameter name='tmp.cellCULocalId' value='`$tmp.cellId[0]`'/>\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": 1600.5002136230469,
- "y": 2132.222749233246,
+ "x": 1552.361328125,
+ "y": 2162.222747325897,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "6846b09c.d3d28",
+ "id": "18e7be9c.1dfe51",
"type": "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.cellId[0]`\"/>\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`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellId[0]`\"/>\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": 1577.000072479248,
- "y": 2184.4443221092224,
+ "x": 1528.8611869812012,
+ "y": 2214.444320201874,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a1254a6f.4c5cd8",
+ "id": "268cebf4.57d4c4",
"type": "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=\"CUCP - CPS update\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCP - CPS update\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1571.8265533447266,
- "y": 2091.2499175071716,
+ "x": 1523.6876678466797,
+ "y": 2121.249915599823,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f728e07c.9fd34",
+ "id": "c8a6c1ed.d270b",
"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.cellId[0]`'/>",
"comments": "",
- "x": 2070.451705932617,
- "y": 2610.0632642507553,
+ "x": 2347.868453979492,
+ "y": 2552.2857961654663,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "6bf3687c.91df38",
+ "id": "e355f01b.1c045",
"type": "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`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyid\"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field3\" value=\"rrmpolicyembers length\"/>\n<parameter name=\"field4\" value=\"`$tmp.nrcellcu-rrmpolicymembers.size`\"/>\n<parameter name=\"field5\" value=\"rrmpolicyemberid\"/>\n<parameter name=\"field6\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2047.7017364501953,
- "y": 2650.035127043724,
+ "x": 2060.674045562744,
+ "y": 2591.1462898254395,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8f616027.e5eb4",
+ "id": "b84c7127.c65db",
"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.cellId[0]`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1725.4166793823242,
- "y": 2349.2221690416336,
+ "x": 1677.2777938842773,
+ "y": 2379.222167134285,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "b2ae94ac.c72e98",
+ "id": "f7783d58.cbab4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2310.9722442626953,
- "y": 2481.0556367635727,
+ "x": 2033.94437789917,
+ "y": 2427.7222270965576,
"z": "e1a177d9.2ec918",
"wires": [
[
- "42dd3397.f2a9fc"
+ "aded269b.9efd78"
]
]
},
{
- "id": "3be9200d.11ab7",
+ "id": "17331eb0.f7b7b1",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2295.083206176758,
- "y": 2513.2778047323227,
+ "x": 2033.6113204956055,
+ "y": 2468.8333168029785,
"z": "e1a177d9.2ec918",
"wires": [
[
- "62f2319f.768d3"
+ "4857231.c32b5dc"
]
]
},
{
- "id": "42dd3397.f2a9fc",
+ "id": "aded269b.9efd78",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2453.9724292755127,
- "y": 2516.055395126343,
+ "x": 2169.167106628418,
+ "y": 2443.833206176758,
"z": "e1a177d9.2ec918",
"wires": [
[
- "6f97926c.7af87c",
- "18bfc4c3.ff17db"
+ "8876fd7c.21bfa",
+ "984eda45.892f78"
]
]
},
{
- "id": "18bfc4c3.ff17db",
+ "id": "984eda45.892f78",
"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": 2619.9721851348877,
- "y": 2482.055395126343,
+ "x": 2571.833299636841,
+ "y": 2512.055393218994,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "6f97926c.7af87c",
+ "id": "8876fd7c.21bfa",
"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": 2648.305648803711,
- "y": 2514.8334131240845,
+ "x": 2600.166763305664,
+ "y": 2544.833411216736,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "cae5757b.cf4b38",
+ "id": "6bea14f8.388dcc",
"type": "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\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2623.861129760742,
- "y": 2546.055766105652,
+ "x": 2575.7222442626953,
+ "y": 2576.055764198303,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "677bad84.aab484",
+ "id": "bf6d8074.12803",
"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",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2722.083297729492,
- "y": 2572.388861656189,
+ "x": 2673.9444122314453,
+ "y": 2602.3888597488403,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "62f2319f.768d3",
+ "id": "4857231.c32b5dc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2460.6387939453125,
- "y": 2566.944193840027,
+ "x": 2282.499855041504,
+ "y": 2484.721833229065,
"z": "e1a177d9.2ec918",
"wires": [
[
- "cae5757b.cf4b38",
- "677bad84.aab484"
+ "6bea14f8.388dcc",
+ "bf6d8074.12803"
]
]
},
{
- "id": "7c088ef3.8617d",
+ "id": "d7f6c2d8.64e41",
"type": "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",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1700.861099243164,
- "y": 2385.388675093651,
+ "x": 1652.7222137451172,
+ "y": 2415.388673186302,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c71c4db4.06df2",
+ "id": "52b42d04.3d3494",
"type": "set",
"name": "Calculate maxNumberOfDRBsPerNSSAI",
"xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />",
"comments": "",
- "x": 1683.361068725586,
- "y": 2986.6668634414673,
+ "x": 1635.222183227539,
+ "y": 3016.6668615341187,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "b1860415.73afc8",
+ "id": "afd32a55.733b48",
"type": "set",
"name": "Calculate maxNumberOfDRBsPerCUUP",
"xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />",
"comments": "",
- "x": 1692.2499237060547,
- "y": 3021.1108560562134,
+ "x": 1644.1110382080078,
+ "y": 3051.1108541488647,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "b02a4fc.26a9cb",
+ "id": "cdd95c61.ae71f",
"type": "set",
"name": "Calculate RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
"comments": "",
- "x": 1643.3610610961914,
- "y": 3092.222254753113,
+ "x": 1595.2221755981445,
+ "y": 3122.222252845764,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "9e4fce49.f817f",
+ "id": "2e330e99.446022",
"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": 1629.7499694824219,
- "y": 2837.4997510910034,
+ "x": 1581.611083984375,
+ "y": 2867.499749183655,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f15cf0c8.3245",
+ "id": "6127af06.39f05",
"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": 1638.6389617919922,
- "y": 2873.7222299575806,
+ "x": 1590.5000762939453,
+ "y": 2903.722228050232,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "fb33b928.462c78",
+ "id": "88e83590.707ec8",
"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",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"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": 1641.5279693603516,
- "y": 2909.7222242355347,
+ "x": 1593.3890838623047,
+ "y": 2939.722222328186,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "beb46169.f7a6a",
+ "id": "a2040497.f5d1a8",
"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": 2165.5831604003906,
- "y": 3491.944212913513,
+ "x": 2117.4442749023438,
+ "y": 3521.9442110061646,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7f6d0076.5688b",
+ "id": "3348ec34.1647f4",
"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": 2166.138961791992,
- "y": 3691.9441633224487,
+ "x": 2118.0000762939453,
+ "y": 3721.9441614151,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7a7d0d77.cd9c24",
+ "id": "c81f5cb2.dfda1",
"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": 2169.194305419922,
- "y": 3621.9443311691284,
+ "x": 2121.055419921875,
+ "y": 3651.94432926178,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "b8cbfd7b.ff19d",
+ "id": "d93b9444.ff7718",
"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": 1626.6388397216797,
- "y": 3402.944495201111,
+ "x": 1578.4999542236328,
+ "y": 3432.944493293762,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "5cf10824.d1c1a8",
+ "id": "c66743ae.c0a0b",
"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": 2148.3610916137695,
- "y": 3658.6107454299927,
+ "x": 2100.2222061157227,
+ "y": 3688.610743522644,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ab647e74.04689",
+ "id": "fa2af7ca.f23478",
"type": "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 - CPS update\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - CPS update\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1444.0905113220215,
- "y": 3614.305417537689,
+ "x": 1395.9516258239746,
+ "y": 3644.3054156303406,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d8639060.14d84",
+ "id": "d9aa07cb.f5b158",
"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": 1468.3196334838867,
- "y": 3648.611382961273,
+ "x": 1420.1807479858398,
+ "y": 3678.6113810539246,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "3d5b389d.7c82c8",
+ "id": "47d19ec9.5b2cd",
"type": "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=\"`$tmp.payload.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`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI\"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.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": 1467.0416831970215,
- "y": 3683.0556921958923,
+ "x": 1418.9027976989746,
+ "y": 3713.0556902885437,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "3fb95bb5.c34a64",
+ "id": "cf223ca2.e4b2d",
"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": 1769.5001068115234,
- "y": 3891.5631049871445,
+ "x": 1721.3612213134766,
+ "y": 3921.563103079796,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e86b219.bb19de",
+ "id": "8eb67c0c.fc7dd",
"type": "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",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1751.8334503173828,
- "y": 3952.062799811363,
+ "x": 1703.694564819336,
+ "y": 3982.0627979040146,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "6f687abd.3fae94",
+ "id": "6958e8e.fd48018",
"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`'/>\n<parameter name='tmp.idGNBCUUPFunction' value='`$get-rrmpolicy-gNBCUCP-cps-response.idGNBCUUPFunction`'/>",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>\n<parameter name='tmp.idGNBCUUPFunction' value='`$get-rrmpolicy-gNBCUUP-cps-response.idGNBCUUPFunction`'/>",
"comments": "",
- "x": 1961.0351791381836,
- "y": 4214.2915605306625,
+ "x": 1920.6740188598633,
+ "y": 4236.514052391052,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "171dbeee.cf6f81",
+ "id": "5e3171c.7b5ff9",
"type": "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.payload.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"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.payload.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field9\" value=\"idGNBCUUPFunction\"/>\n<parameter name=\"field10\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 1922.0625457763672,
- "y": 4259.041454672813,
+ "x": 1891.701400756836,
+ "y": 4264.59733581543,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "fbc7d907.687af8",
+ "id": "33b4be62.5097d2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2200.49995803833,
- "y": 3982.8124364614487,
+ "x": 2152.361072540283,
+ "y": 4012.8124345541,
"z": "e1a177d9.2ec918",
"wires": [
[
- "6975630b.f56ffc"
+ "bb54751a.4c3a08"
]
]
},
{
- "id": "6975630b.f56ffc",
+ "id": "bb54751a.4c3a08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2361.7502975463867,
- "y": 4010.8124837875366,
+ "x": 2313.61141204834,
+ "y": 4040.812481880188,
"z": "e1a177d9.2ec918",
"wires": [
[
- "d7ffd36a.c8bc3",
- "bdadf33.c47e11"
+ "468e5722.2d3388",
+ "6d63a9cb.98ea28"
]
]
},
{
- "id": "bdadf33.c47e11",
+ "id": "6d63a9cb.98ea28",
"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": 2549.0001163482666,
- "y": 3990.5625438690186,
+ "x": 2500.8612308502197,
+ "y": 4020.56254196167,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "d7ffd36a.c8bc3",
+ "id": "468e5722.2d3388",
"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": 2567.3335189819336,
- "y": 4033.3405599594116,
+ "x": 2519.1946334838867,
+ "y": 4063.340558052063,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "f3db5a7.2271fa8",
+ "id": "746be4bf.97b37c",
"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",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2631.1111068725586,
- "y": 4097.145797729492,
+ "x": 2582.9722213745117,
+ "y": 4127.145795822144,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f1615e53.55489",
+ "id": "96a9c549.0235a8",
"type": "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\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2572.888973236084,
- "y": 4063.312788963318,
+ "x": 2524.750087738037,
+ "y": 4093.3127870559692,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "167705d1.40ab5a",
+ "id": "889e24d5.304a98",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2377.1665573120117,
- "y": 4091.701461791992,
+ "x": 2329.027671813965,
+ "y": 4121.701459884644,
"z": "e1a177d9.2ec918",
"wires": [
[
- "f1615e53.55489",
- "f3db5a7.2271fa8"
+ "96a9c549.0235a8",
+ "746be4bf.97b37c"
]
]
},
{
- "id": "eac10e1b.c38b1",
+ "id": "50dad89e.899198",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2201.055652618408,
- "y": 4026.28490960598,
+ "x": 2152.9167671203613,
+ "y": 4056.2849076986313,
"z": "e1a177d9.2ec918",
"wires": [
[
- "167705d1.40ab5a"
+ "889e24d5.304a98"
]
]
},
{
- "id": "16c849d5.e5b0a6",
+ "id": "a254d6f4.7e3838",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2013.6388111114502,
- "y": 4627.944520354271,
+ "x": 1953.2776584625244,
+ "y": 4786.833852767944,
"z": "e1a177d9.2ec918",
"wires": [
[
- "7dbc5903.ed0538"
+ "8de79cff.45f05"
]
]
},
{
- "id": "7dbc5903.ed0538",
+ "id": "8de79cff.45f05",
"type": "for",
"name": "foreach TACell",
- "xml": "<for index='id-ta' start='0' end='`$getListofCells-cps-response.taCellsList_length`' >\n",
+ "xml": "<for index='id-ta' start='0' end='`$tmp.tacells.length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2170.6111602783203,
- "y": 4615.889283537865,
+ "x": 2110.2500076293945,
+ "y": 4774.778615951538,
"z": "e1a177d9.2ec918",
"wires": [
[
- "46992e5c.937d2"
+ "a5197f15.af2c4"
]
]
},
{
- "id": "46992e5c.937d2",
+ "id": "a5197f15.af2c4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2370.4164428710938,
- "y": 4448.694354057312,
+ "x": 2286.7223358154297,
+ "y": 4763.138627052307,
"z": "e1a177d9.2ec918",
"wires": [
[
- "ea8c2a76.011658",
- "3524921c.ceccee",
- "e55d012d.dbac7",
- "769ceb13.c6e374"
+ "858ba54d.99f028",
+ "3ecf3e2d.24c3e2",
+ "1dcb370d.1cac69"
]
]
},
{
- "id": "3524921c.ceccee",
+ "id": "3ecf3e2d.24c3e2",
"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.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].idNRCellDU'`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+$idy+'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2651.97216796875,
- "y": 4275.027562737465,
+ "x": 2467.166717529297,
+ "y": 4581.69461452961,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e55d012d.dbac7",
+ "id": "1dcb370d.1cac69",
"type": "execute",
- "name": "read cellCU from getListofCells-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.taCellsList[' + $id-ta + '].cellLocalId'`\" />",
+ "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-cps-response.[0].taCellsList[' + $id-ta + '].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2655.3054962158203,
- "y": 4316.6942319869995,
+ "x": 2470.500045776367,
+ "y": 4623.361283779144,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ea8c2a76.011658",
+ "id": "858ba54d.99f028",
"type": "switchNode",
"name": "is cellDU applicable for NSSAI",
- "xml": "<switch test='`$tmp.cellDULocalId == $tmp.cellCU2`'>\n",
+ "xml": "<switch test='`$tmp.cellDULocalId == $tmp.cellDU2`'>\n",
"comments": "",
"outputs": 1,
- "x": 2651.444465637207,
- "y": 4414.80583190918,
+ "x": 2561.083465576172,
+ "y": 4731.472240447998,
"z": "e1a177d9.2ec918",
"wires": [
[
- "52749ebb.f8efc"
+ "f55dfcda.44e73"
]
]
},
{
- "id": "52749ebb.f8efc",
+ "id": "f55dfcda.44e73",
"type": "outcome",
"name": "Applicable",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2852.8610229492188,
- "y": 4363.916243553162,
+ "x": 2714.7223777770996,
+ "y": 4788.360712051392,
"z": "e1a177d9.2ec918",
"wires": [
[
- "96c0a57a.69c3c8"
+ "2c439d06.263c72"
]
]
},
{
- "id": "71357194.29fcf",
+ "id": "cc95f178.ba8b8",
"type": "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`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated RRMPolicyRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>",
"comments": "",
"outputs": 1,
- "x": 3148.281707763672,
- "y": 5144.643061637878,
+ "x": 3100.142822265625,
+ "y": 5174.64305973053,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7e425eba.88fdf",
+ "id": "3777c01e.482b1",
"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": 3162.567695617676,
- "y": 5488.571228981018,
+ "x": 3106.65087890625,
+ "y": 5547.460218906403,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "9cd4b927.aa4e98",
+ "id": "7e46930b.cb788c",
"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": 3670.0677032470703,
- "y": 5513.214140892029,
+ "x": 3621.9288177490234,
+ "y": 5543.21413898468,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ede60c1e.f34fc",
+ "id": "efd70f4d.dd1aa",
"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": 3633.2821502685547,
- "y": 5636.785706520081,
+ "x": 3585.143264770508,
+ "y": 5666.785704612732,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "acbb61bb.671ce",
+ "id": "2b97bf74.e13fc",
"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": 3638.99609375,
- "y": 5729.285479545593,
+ "x": 3590.857208251953,
+ "y": 5759.285477638245,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a22f5fc7.41f66",
+ "id": "dd9d3233.de231",
"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": 3805.781707763672,
- "y": 5668.928706169128,
+ "x": 3757.642822265625,
+ "y": 5698.92870426178,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f254abf9.8ed118",
+ "id": "aa3846b8.bb2948",
"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",
+ "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.cellId[0]`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3798.638885498047,
- "y": 5700.356928825378,
+ "x": 3750.5,
+ "y": 5730.35692691803,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "3315c6c7.a9202a",
+ "id": "ada50bb4.52e478",
"type": "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`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idNRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellId[0]`\"/>",
"comments": "",
"outputs": 1,
- "x": 3129.388885498047,
- "y": 5376.999995231628,
+ "x": 3081.25,
+ "y": 5406.99999332428,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8675993.4440a68",
+ "id": "f86fa1ff.ed6e8",
"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 ",
+ "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellId[0]`'/>\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": 2824.5698204040527,
- "y": 5712.785068035126,
+ "x": 2776.430934906006,
+ "y": 5742.785066127777,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "507ddcd6.ce3e94",
+ "id": "fd69bb51.490dc8",
"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": 2931.0694580078125,
- "y": 6028.103968977928,
+ "x": 2882.9305725097656,
+ "y": 6058.1039670705795,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "848c4fb9.a9417",
+ "id": "8c0a3f12.8c43c",
"type": "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",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cell Locall ID - DU\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2880.5140380859375,
- "y": 6064.714808821678,
+ "x": 2861.375217437744,
+ "y": 6157.715050697327,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "77b05a8.0e7e1a4",
+ "id": "b8521392.ab0c7",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3367.069549560547,
- "y": 6112.159602642059,
+ "x": 3318.9306640625,
+ "y": 6142.159600734711,
"z": "e1a177d9.2ec918",
"wires": [
[
- "9d31883d.efd628"
+ "2358dc2e.de7c74"
]
]
},
{
- "id": "9d31883d.efd628",
+ "id": "2358dc2e.de7c74",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3774.6252155303955,
- "y": 6097.937267303467,
+ "x": 3726.4863300323486,
+ "y": 6127.937265396118,
"z": "e1a177d9.2ec918",
"wires": [
[
- "8724b9fb.12a3a8",
- "e759e8fa.3ef6d8"
+ "17c01f7a.d44d71",
+ "886e9027.3fb59"
]
]
},
{
- "id": "e759e8fa.3ef6d8",
+ "id": "886e9027.3fb59",
"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": 3940.6249713897705,
- "y": 6063.937267303467,
+ "x": 3892.4860858917236,
+ "y": 6093.937265396118,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "8724b9fb.12a3a8",
+ "id": "17c01f7a.d44d71",
"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": 3968.9584350585938,
- "y": 6096.7152853012085,
+ "x": 3920.819549560547,
+ "y": 6126.71528339386,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "a1dcbd83.a1dc7",
+ "id": "f7e0b4d0.a507f8",
"type": "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\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 3944.513916015625,
- "y": 6127.937638282776,
+ "x": 3896.375030517578,
+ "y": 6157.937636375427,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8ae1b358.a8673",
+ "id": "b977deb2.f4928",
"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",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 4042.736083984375,
- "y": 6154.270733833313,
+ "x": 3994.597198486328,
+ "y": 6184.270731925964,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "31314c34.e77d54",
+ "id": "6ada4649.2f3c48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3781.2915802001953,
- "y": 6148.826066017151,
+ "x": 3733.1526947021484,
+ "y": 6178.826064109802,
"z": "e1a177d9.2ec918",
"wires": [
[
- "a1dcbd83.a1dc7",
- "8ae1b358.a8673"
+ "f7e0b4d0.a507f8",
+ "b977deb2.f4928"
]
]
},
{
- "id": "a9305a26.18c0f8",
+ "id": "dfd7fa19.143e58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3398.958206176758,
- "y": 6154.0484919548035,
+ "x": 3350.819320678711,
+ "y": 6184.048490047455,
"z": "e1a177d9.2ec918",
"wires": [
[
- "31314c34.e77d54"
+ "6ada4649.2f3c48"
]
]
},
{
- "id": "bf9eb04f.80363",
+ "id": "79c9e19a.0e451",
"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": 3438.1051712036133,
- "y": 6267.944787979126,
+ "x": 3389.9662857055664,
+ "y": 6297.944786071777,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "bab1e158.834eb",
+ "id": "d9e19d00.25c73",
"type": "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=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"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=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
"comments": "",
"outputs": 1,
- "x": 3400.3544387817383,
- "y": 6303.916955471039,
+ "x": 3352.2155532836914,
+ "y": 6333.91695356369,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "1809ae3b.35f172",
+ "id": "c56d9cca.c5f57",
"type": "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`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"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": 2816.6247577667236,
- "y": 5762.784486293793,
+ "x": 2768.4858722686768,
+ "y": 5792.784484386444,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "bdfd583e.cc8ea8",
+ "id": "448288b0.d88b58",
"type": "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 cps\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Update inventory in cps\"/>",
"comments": "",
"outputs": 1,
- "x": 759.9444274902344,
- "y": 3823.4167304039,
+ "x": 711.8055419921875,
+ "y": 3853.4167284965515,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "bafec03e.59cb1",
+ "id": "792355f2.1edf7c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1041.1395435333252,
- "y": 4159.250353813171,
+ "x": 993.0006580352783,
+ "y": 4189.250351905823,
"z": "e1a177d9.2ec918",
"wires": [
[
- "5a15caba.d28c54"
+ "8f754d66.19a88"
]
]
},
{
- "id": "5a15caba.d28c54",
+ "id": "8f754d66.19a88",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1181.1398620605469,
- "y": 4167.250231742859,
+ "x": 1133.0009765625,
+ "y": 4197.25022983551,
"z": "e1a177d9.2ec918",
"wires": [
[
- "10e150df.4df2af",
- "25dbcf8b.3b8f"
+ "3e5a7e0f.bcc022",
+ "b652a280.532f9"
]
]
},
{
- "id": "25dbcf8b.3b8f",
+ "id": "b652a280.532f9",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RAN Inventory. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1316.1395568847656,
- "y": 4133.361742973328,
+ "x": 1268.0006713867188,
+ "y": 4163.361741065979,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "10e150df.4df2af",
+ "id": "3e5a7e0f.bcc022",
"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": 1370.1392822265625,
- "y": 4170.250292778015,
+ "x": 1322.0003967285156,
+ "y": 4200.2502908706665,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "c05083eb.13bbc",
+ "id": "ab8afa47.593a88",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated inventory\"/>",
"comments": "",
"outputs": 1,
- "x": 1389.139533996582,
- "y": 4222.2504806518555,
+ "x": 1341.0006484985352,
+ "y": 4252.250478744507,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "dba35016.4a334",
+ "id": "96d1ec85.a1dd2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1203.1392860412598,
- "y": 4238.2502365112305,
+ "x": 1155.000400543213,
+ "y": 4268.250234603882,
"z": "e1a177d9.2ec918",
"wires": [
[
- "c05083eb.13bbc",
- "539e8ebf.0e22a"
+ "ab8afa47.593a88",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "cb5395a1.754388",
+ "id": "62ab5785.3614b8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1045.1394958496094,
- "y": 4239.249991416931,
+ "x": 997.0006103515625,
+ "y": 4269.2499895095825,
"z": "e1a177d9.2ec918",
"wires": [
[
- "dba35016.4a334"
+ "96d1ec85.a1dd2"
]
]
},
{
- "id": "628c20e5.974e1",
+ "id": "50741548.cd34bc",
"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.payload.sNSSAI`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberOfConns`'/>",
"comments": "",
- "x": 768.4722557067871,
- "y": 3887.8333382606506,
+ "x": 720.3333702087402,
+ "y": 3917.833336353302,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "667aaf9f.e421a",
+ "id": "6b1580b4.2aa08",
"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": 3121.888885498047,
- "y": 5035.499995231628,
+ "x": 3073.75,
+ "y": 5065.49999332428,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c69cfd85.0e443",
+ "id": "9ddd634d.dbf8d",
"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": 1676.1388854980469,
- "y": 3261.2499952316284,
+ "x": 1628,
+ "y": 3291.24999332428,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "2b357518.7bb91a",
+ "id": "2a302bba.c735d4",
"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": 2201.138885498047,
- "y": 1585.4999952316284,
+ "x": 2153,
+ "y": 1615.4999933242798,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "dbed846c.ad06b8",
+ "id": "95f80c44.94468",
"type": "for",
"name": "For coverageAreaTAList",
"xml": "<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>",
"comments": "",
"outputs": 1,
- "x": 458.33335876464844,
- "y": 936.666690826416,
+ "x": 410.19447326660156,
+ "y": 914.4445686340332,
"z": "e1a177d9.2ec918",
"wires": [
[
- "a34ebca7.891c4"
+ "d2ae5ada.f99768"
]
]
},
{
- "id": "a34ebca7.891c4",
+ "id": "d2ae5ada.f99768",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 479.52054595947266,
- "y": 1137.7392826080322,
+ "x": 431.3816604614258,
+ "y": 1167.7392807006836,
"z": "e1a177d9.2ec918",
"wires": [
[
- "66bcf03c.d92c2",
- "7c2a6fba.2b3d8",
- "aafef9f.b0d3d08",
- "ecc4af17.f9f0c",
- "6a6b75dd.3970ec",
- "c1373bf8.753cb8"
+ "91d583ad.7617d",
+ "91d192ad.9265b",
+ "e3cfe741.846f68",
+ "e17c19d4.e81f28",
+ "253e089b.b122d8",
+ "d768feef.98e43"
]
]
},
{
- "id": "66bcf03c.d92c2",
+ "id": "91d583ad.7617d",
"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": 788.9446029663086,
- "y": 1032.944585800171,
+ "x": 643.3055953979492,
+ "y": 1105.4445571899414,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "aafef9f.b0d3d08",
+ "id": "e3cfe741.846f68",
"type": "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",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"trackingArea \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.trackingArea`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 758.8334121704102,
- "y": 1091.2779302597046,
+ "x": 619.4445381164551,
+ "y": 1143.777892112732,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c3a0cb5f.a42518",
+ "id": "5d207e5f.17268",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcuup-rrm1' start='0' end='`$tmp.rrmPolicyRatio_cps_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1566.639175415039,
- "y": 4321.500760436058,
+ "x": 1518.5002899169922,
+ "y": 4351.500758528709,
"z": "e1a177d9.2ec918",
"wires": [
[
- "1cdca7ac.8af308"
+ "864e2a71.bd89e8"
]
]
},
{
- "id": "1cdca7ac.8af308",
+ "id": "864e2a71.bd89e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1695.8890991210938,
- "y": 4246.750330328941,
+ "x": 1647.7502136230469,
+ "y": 4276.750328421593,
"z": "e1a177d9.2ec918",
"wires": [
[
- "281a01ef.a3eb3e",
- "6f687abd.3fae94",
- "171dbeee.cf6f81",
- "a8001d7.7bf72e",
- "4639745d.49d79c",
- "848c7f90.e5cc2",
- "e12b6c47.5ae27"
+ "53265d11.3da2f4",
+ "6958e8e.fd48018",
+ "5e3171c.7b5ff9",
+ "9d94f554.e695c8",
+ "104f9d2d.1bba93",
+ "e8d6907.9e01b7",
+ "65e246f6.db9928",
+ "54662284.0936bc",
+ "5e6efa6e.efb914",
+ "b1ebe778.148928",
+ "48ad854f.0931ec",
+ "e0c8d4f6.6cde38",
+ "86b067a.cf97098"
]
]
},
{
- "id": "281a01ef.a3eb3e",
+ "id": "53265d11.3da2f4",
"type": "set",
"name": "set 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=\"`'getNFNSSIRIC-cps-response.GNBCUUPFunction['+$id-cuup+'].attributes.RRMPolicyRatio['+$idcuup-rrm1+'].id'`\" />\n\n ",
+ "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-rrmpolicy-gNBCUUP-cps-response.attributes.RRMPolicyRatio['+$idcuup-rrm1+'].id'`\" />\n\n ",
"comments": "",
- "x": 2011.1388854980469,
- "y": 4173.000054717064,
+ "x": 2135.5000762939453,
+ "y": 4132.305550575256,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "15d6413c.e3669f",
+ "id": "9589ae82.2ddcd",
"type": "set",
"name": "set 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=\"`'getrrmpolicyratioinfo-cps-response.attributes.RRMPolicyRatio['+$idcu-rrm1+'].id'`\" />\n",
"comments": "",
- "x": 2083.3892974853516,
- "y": 2564.7507642507553,
+ "x": 2083.0285034179688,
+ "y": 2500.3072504997253,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "cd024a0e.015428",
+ "id": "d4864a24.7f2f38",
"type": "set",
"name": "set 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-gNBDU-cps-response.attributes.RRMPolicyRatio['+$iddu-rrm1+'].id'`\" />\n",
+ "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-gNBDU-rrmpolicy-cps-response.attributes.RRMPolicyRatio['+$iddu-rrm1+'].id'`\" />\n",
"comments": "",
- "x": 3451.389289855957,
- "y": 6230.750329017639,
+ "x": 3403.25040435791,
+ "y": 6260.7503271102905,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "83cfc0b6.b37ff",
+ "id": "c134a100.b5958",
"type": "set",
"name": "set rrmpolicyratio list size",
"xml": "<set>\n<parameter name='tmp.rrmPolicyRatioCPS_length' value='`$getrrmpolicyratioinfo-cps-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
"comments": "",
- "x": 1712.3893966674805,
- "y": 2602.392750144005,
+ "x": 1664.2505111694336,
+ "y": 2632.392748236656,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "7394667b.400298",
+ "id": "a868397c.0d4928",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcu-rrm1' start='0' end='`$tmp.rrmPolicyRatioCPS_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1658.389175415039,
- "y": 2645.1507276296616,
+ "x": 1610.2502899169922,
+ "y": 2675.150725722313,
"z": "e1a177d9.2ec918",
"wires": [
[
- "77ee010f.f3d1e"
+ "a0056993.138568"
]
]
},
{
- "id": "77ee010f.f3d1e",
+ "id": "a0056993.138568",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1849.9723663330078,
- "y": 2639.5837758779526,
+ "x": 1801.833480834961,
+ "y": 2669.583773970604,
"z": "e1a177d9.2ec918",
"wires": [
[
- "15d6413c.e3669f",
- "f728e07c.9fd34",
- "6bf3687c.91df38",
- "c4933bf7.4faee8",
- "c5d647e4.b55dc8",
- "a7c5af4d.59e1e",
- "9e6a87f9.545258"
+ "9589ae82.2ddcd",
+ "e355f01b.1c045",
+ "9735bff4.3ebb5",
+ "79e027ca.19fa48",
+ "3413edb6.57f202",
+ "2e301cc8.59b074",
+ "3a12d188.e66dfe",
+ "3c2aaa07.02a1c6",
+ "28e71e4a.a02f62",
+ "3d2ff854.875ce8",
+ "4fa18343.b5219c",
+ "d44fc9ff.dd5948"
]
]
},
{
- "id": "26e16446.0f20bc",
+ "id": "f2fb59f5.391ea8",
"type": "set",
"name": "set rrmpolicyratio list size",
"xml": "<set>\n<parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-gNBDU-cps-response._length`'/>\n\n ",
"comments": "",
- "x": 2905.750144958496,
- "y": 6318.638934135437,
+ "x": 2857.611259460449,
+ "y": 6348.638932228088,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "e7c4ebf.d78aa18",
+ "id": "edde737e.52f64",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='iddu-rrm1' start='0' end='`$tmp.rrmPolicyRatio_cps_du_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2888.2505264282227,
- "y": 6395.473789215088,
+ "x": 2840.111640930176,
+ "y": 6425.473787307739,
"z": "e1a177d9.2ec918",
"wires": [
[
- "7753d8c0.267838"
+ "44cb84b8.98779c"
]
]
},
{
- "id": "7753d8c0.267838",
+ "id": "44cb84b8.98779c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3115.750099182129,
- "y": 6448.028584420681,
+ "x": 3067.611213684082,
+ "y": 6478.028582513332,
"z": "e1a177d9.2ec918",
"wires": [
[
- "cd024a0e.015428",
- "bf9eb04f.80363",
- "bab1e158.834eb",
- "52aafb8b.bde4c4",
- "581452c3.84467c",
- "70400cf6.8d01d4",
- "8294641.f1ef398"
+ "d4864a24.7f2f38",
+ "79c9e19a.0e451",
+ "d9e19d00.25c73",
+ "4d4db094.5fbc7",
+ "50ed5e9.13b5ca",
+ "71772a72.f75f24",
+ "ea00c73d.080438",
+ "e983970b.997eb8",
+ "12e8affa.631a9",
+ "9e9f00cc.49ec1",
+ "d8a106a9.d53df8",
+ "2b2fe387.ed5acc",
+ "d64e19ea.3f8d58"
]
]
},
{
- "id": "61d01632.9da958",
+ "id": "e3100c94.284f7",
"type": "execute",
"name": "set params",
"xml": "<set>\n<parameter name='tmp.RICEntries' value=\"`$getNFNSSIRIC-cps-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 314.8888854980469,
- "y": 1287.7499952316284,
+ "x": 418.9722442626953,
+ "y": 621.0833473205566,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "3909285f.dcd1e8",
+ "id": "6388a989.435c48",
"type": "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`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"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": 294.8888854980469,
- "y": 1337.7499952316284,
+ "x": 398.972225189209,
+ "y": 666.6388721466064,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c637253e.163738",
+ "id": "67bcffce.e078",
"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": 429.1388931274414,
- "y": 477.2500228881836,
+ "x": 629.8888397216797,
+ "y": 565.0278148651123,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "19f07fce.82298",
+ "id": "32ab20f.3aa1de",
"type": "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`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Tracking Area size\"/>\n<parameter name=\"field2\" value=\"`$tmp.trackingAreaListEntries`\"/>",
"comments": "",
"outputs": 1,
- "x": 396.13887786865234,
- "y": 518.5000238418579,
+ "x": 576.8889198303223,
+ "y": 607.3889360427856,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "51fc5b6.acc17a4",
+ "id": "971677e7.68fa58",
"type": "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": 737.6388854980469,
- "y": 4302.249998092651,
+ "x": 689.5,
+ "y": 4332.249996185303,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "461632b6.acf73c",
+ "id": "472d1ba6.dbfbc4",
"type": "switchNode",
"name": "check status",
"xml": "<switch test='`$error-code`'>\n",
"comments": "",
"outputs": 1,
- "x": 762.6388816833496,
- "y": 4355.999971747398,
+ "x": 714.4999961853027,
+ "y": 4385.99996984005,
"z": "e1a177d9.2ec918",
"wires": [
[
- "8aef8394.41ba8",
- "9adc6aac.b09f38"
+ "eda9287b.36af38",
+ "d5bd52fe.9cab6"
]
]
},
{
- "id": "8aef8394.41ba8",
+ "id": "eda9287b.36af38",
"type": "success",
"name": "success",
"xml": "<outcome value='200'>\n",
"comments": "",
"outputs": 1,
- "x": 945.6388969421387,
- "y": 4313.000093817711,
+ "x": 897.5000114440918,
+ "y": 4343.000091910362,
"z": "e1a177d9.2ec918",
"wires": [
[
- "4bfc04b8.53cf5c"
+ "3d807a0b.eab8e6"
]
]
},
{
- "id": "9adc6aac.b09f38",
+ "id": "d5bd52fe.9cab6",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 961.6388816833496,
- "y": 4364.999971747398,
+ "x": 913.4999961853027,
+ "y": 4394.99996984005,
"z": "e1a177d9.2ec918",
"wires": [
[
- "c26fb826.dd0db8"
+ "ddc5426c.1277d"
]
]
},
{
- "id": "4bfc04b8.53cf5c",
+ "id": "3d807a0b.eab8e6",
"type": "set",
"name": "status",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
"comments": "",
- "x": 1121.6388969421387,
- "y": 4316.0002464056015,
+ "x": 1073.5000114440918,
+ "y": 4346.000244498253,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "c26fb826.dd0db8",
+ "id": "ddc5426c.1277d",
"type": "set",
"name": "failure status",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
"comments": "",
- "x": 1122.6388816833496,
- "y": 4359.999971747398,
+ "x": 1074.4999961853027,
+ "y": 4389.99996984005,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "b7500e7d.d09c1",
+ "id": "42f23f46.2bfc2",
"type": "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": 4707.139125823975,
- "y": 2567.750000476837,
+ "x": 4659.000240325928,
+ "y": 2597.7499985694885,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "9215ffce.c2d04",
+ "id": "515e759d.812ffc",
"type": "switchNode",
"name": "check status",
"xml": "<switch test='`$error-code`'>\n",
"comments": "",
"outputs": 1,
- "x": 4723.139125823975,
- "y": 2623.500000476837,
+ "x": 4675.000240325928,
+ "y": 2653.4999985694885,
"z": "e1a177d9.2ec918",
"wires": [
[
- "6ed1d497.b99d6c",
- "759ae146.48128"
+ "ba4f7b54.0c2118",
+ "f33fba34.d2f288"
]
]
},
{
- "id": "6ed1d497.b99d6c",
+ "id": "ba4f7b54.0c2118",
"type": "success",
"name": "success",
"xml": "<outcome value='200'>\n",
"comments": "",
"outputs": 1,
- "x": 4894.138896942139,
- "y": 2495.500093817711,
+ "x": 4846.000011444092,
+ "y": 2525.5000919103622,
"z": "e1a177d9.2ec918",
"wires": [
[
- "7b62a30f.d289ac"
+ "7550313d.0d447"
]
]
},
{
- "id": "7b62a30f.d289ac",
+ "id": "7550313d.0d447",
"type": "set",
"name": "status",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
"comments": "",
- "x": 5070.138896942139,
- "y": 2498.5002464056015,
+ "x": 5022.000011444092,
+ "y": 2528.500244498253,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "ac26ff73.7edd5",
+ "id": "9c0ce6a6.8b89c8",
"type": "set",
"name": "failure status",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
"comments": "",
- "x": 5071.13888168335,
- "y": 2542.4999717473984,
+ "x": 5022.999996185303,
+ "y": 2572.4999698400497,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "759ae146.48128",
+ "id": "f33fba34.d2f288",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4910.13888168335,
- "y": 2547.4999717473984,
+ "x": 4861.999996185303,
+ "y": 2577.4999698400497,
"z": "e1a177d9.2ec918",
"wires": [
[
- "ac26ff73.7edd5"
+ "9c0ce6a6.8b89c8"
]
]
},
{
- "id": "405e8734.858cf8",
+ "id": "9a80c3eb.ccd0f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 424.6388397216797,
- "y": 415.10074520111084,
+ "x": 376.4999542236328,
+ "y": 445.1007432937622,
"z": "e1a177d9.2ec918",
"wires": [
[
- "3586ae01.501e52",
- "98a995db.4a6278",
- "7c3cd1a2.ab3cc",
- "229e9d8c.f4b8a2"
+ "ed446d0a.08fbe",
+ "321ade8c.8a7c82",
+ "dcc9e407.51a658",
+ "cc317645.f845a8",
+ "67bcffce.e078",
+ "32ab20f.3aa1de",
+ "e3100c94.284f7",
+ "6388a989.435c48",
+ "66901c5a.143ee4"
]
]
},
{
- "id": "3586ae01.501e52",
+ "id": "ed446d0a.08fbe",
"type": "execute",
"name": "generate getNearRTRICsFromRANNFNSSI URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.anchor.name`\"/>",
"comments": "",
"outputs": 1,
- "x": 800.3889389038086,
- "y": 358.4999942779541,
+ "x": 743.3611450195312,
+ "y": 407.38888359069824,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "98a995db.4a6278",
+ "id": "321ade8c.8a7c82",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getNearRTRICByNSSI.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nearrtric-by-rannfnssi`\"/>",
"comments": "",
"outputs": 1,
- "x": 718.3889617919922,
- "y": 398.5000009536743,
+ "x": 661.3611679077148,
+ "y": 447.38889026641846,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7c3cd1a2.ab3cc",
+ "id": "dcc9e407.51a658",
"type": "record",
"name": "record TBDMT RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByNSSI.url`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByNSSI.url`\" />",
"comments": "",
"outputs": 1,
- "x": 739.3889312744141,
- "y": 437.50000190734863,
+ "x": 682.3611373901367,
+ "y": 486.3888912200928,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "229e9d8c.f4b8a2",
+ "id": "cc317645.f845a8",
"type": "execute",
"name": "Get nearRTRIC for RANNFNSSIId",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-rannfnssi.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 750.3889236450195,
- "y": 480.49999141693115,
+ "x": 693.3611297607422,
+ "y": 529.3888807296753,
"z": "e1a177d9.2ec918",
"wires": [
[
- "7d3b7a47.b4f6e4",
- "618f947c.f3295c"
+ "1fbdf41f.6b1e2c",
+ "c7fce629.181e78"
]
]
},
{
- "id": "7d3b7a47.b4f6e4",
+ "id": "1fbdf41f.6b1e2c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 997.3889236450195,
- "y": 465.49999141693115,
+ "x": 949.2500381469727,
+ "y": 495.4999895095825,
"z": "e1a177d9.2ec918",
"wires": [
[
- "ec46c9e1.f80c68"
+ "9c8d4889.fbe008"
]
]
},
{
- "id": "618f947c.f3295c",
+ "id": "c7fce629.181e78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 986.8890647888184,
- "y": 516.9999494552612,
+ "x": 938.7501792907715,
+ "y": 546.9999475479126,
"z": "e1a177d9.2ec918",
"wires": [
[
- "67b2718.5dfd79"
+ "11b15e96.7009f1"
]
]
},
{
- "id": "ec46c9e1.f80c68",
+ "id": "9c8d4889.fbe008",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1156.139003753662,
- "y": 439.5000629425049,
+ "x": 1108.0001182556152,
+ "y": 469.50006103515625,
"z": "e1a177d9.2ec918",
"wires": [
[
- "b32c50b2.706a6",
- "539e8ebf.0e22a"
+ "6e2631c6.c69c5",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "67b2718.5dfd79",
+ "id": "11b15e96.7009f1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1159.8888664245605,
- "y": 506.0000219345093,
+ "x": 1111.7499809265137,
+ "y": 536.0000200271606,
"z": "e1a177d9.2ec918",
"wires": [
[
- "eb6958bc.9181d8",
- "78a67442.4dfa2c"
+ "2511cab5.e82296",
+ "1988a4a6.656bdb"
]
]
},
{
- "id": "b32c50b2.706a6",
+ "id": "6e2631c6.c69c5",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1328.8886413574219,
- "y": 452.1110887527466,
+ "x": 1280.749755859375,
+ "y": 482.11108684539795,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "eb6958bc.9181d8",
+ "id": "2511cab5.e82296",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 1360.6385955810547,
- "y": 505.7500467300415,
+ "x": 1312.4997100830078,
+ "y": 535.7500448226929,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "78a67442.4dfa2c",
+ "id": "1988a4a6.656bdb",
"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",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1396.4168090820312,
- "y": 549.0000553131104,
+ "x": 1348.2779235839844,
+ "y": 579.0000534057617,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "35328f4e.c6a2",
+ "id": "37981216.cb2c7e",
"type": "execute",
"name": "generate getListOfCells URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getListOfCells.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.cavsta.schemaset`\"/>",
"comments": "",
"outputs": 1,
- "x": 1223.1944580078125,
- "y": 1082.0279006958008,
+ "x": 1195.055648803711,
+ "y": 1109.5279922485352,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "302704fc.378b5c",
+ "id": "96b964f.ed04598",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getListOfCells.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getListOfCells.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-cells-list`\"/>",
"comments": "",
"outputs": 1,
- "x": 1209.826416015625,
- "y": 1121.750129699707,
+ "x": 1161.6875305175781,
+ "y": 1151.7501277923584,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "647d96c3.6bc248",
+ "id": "7d9d3487.5fc20c",
"type": "record",
"name": "record TBDMT RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get List of cells of TAC\"/>\n<parameter name='field2' value=\"`$tmp.cps.getListOfCells.url`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get List of cells of TAC\"/>\n<parameter name='field2' value=\"`$tmp.cps.getListOfCells.url`\" />",
"comments": "",
"outputs": 1,
- "x": 1241.076416015625,
- "y": 1163.000129699707,
+ "x": 1192.9375305175781,
+ "y": 1193.0001277923584,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e16ccf6a.8b81f",
+ "id": "c45f0d61.8ecc8",
"type": "execute",
"name": "Get ListOfCells for TrackingArea",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getListOfCells.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-cells-list.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getListofCells-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 1242.326431274414,
- "y": 1205.5001430511475,
+ "x": 1194.1875457763672,
+ "y": 1235.5001411437988,
"z": "e1a177d9.2ec918",
"wires": [
[
- "b553735d.cb27b",
- "67b92ca5.e3f874"
+ "b8a7b391.554ed",
+ "e1f0e254.92a0b"
]
]
},
{
- "id": "b843ac7a.ed2b1",
+ "id": "3511b31a.729a9c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 949.826416015625,
- "y": 1155.1876318454742,
+ "x": 901.6875305175781,
+ "y": 1185.1876299381256,
"z": "e1a177d9.2ec918",
"wires": [
[
- "35328f4e.c6a2",
- "302704fc.378b5c",
- "647d96c3.6bc248",
- "e16ccf6a.8b81f"
+ "37981216.cb2c7e",
+ "96b964f.ed04598",
+ "7d9d3487.5fc20c",
+ "c45f0d61.8ecc8"
]
]
},
{
- "id": "6746107d.6b799",
+ "id": "262c7e7.559f982",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 727.1598205566406,
- "y": 847.8473768234253,
+ "x": 679.0209350585938,
+ "y": 877.8473749160767,
"z": "e1a177d9.2ec918",
"wires": [
[
- "71b247e6.41de78",
- "8351ce2e.18e9",
- "fbcafa12.564a18",
- "e42dde76.6bedf"
+ "97187e51.0995d",
+ "59d9c2e8.7c576c",
+ "e6d65c50.4838c",
+ "bd2ab114.f691f"
]
]
},
{
- "id": "e42dde76.6bedf",
+ "id": "bd2ab114.f691f",
"type": "execute",
"name": "Update nearRT RIC Details in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updatenearRTRIC.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps.put-nearrtric.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"modify-allocate-nearRTRIC-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updatenearRTRIC.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nearrtric.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"modify-allocate-nearRTRIC-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1104.6390228271484,
- "y": 970.687744140625,
+ "x": 1051.5002136230469,
+ "y": 971.9377341270447,
"z": "e1a177d9.2ec918",
"wires": [
[
- "956f4230.90ad2",
- "7599a4c5.6730ac"
+ "b0757ec0.38e42",
+ "45c52ba1.f6fad4"
]
]
},
{
- "id": "71b247e6.41de78",
+ "id": "97187e51.0995d",
"type": "execute",
"name": "generate update NearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updatenearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
"comments": "",
"outputs": 1,
- "x": 1153.388931274414,
- "y": 836.9376640319824,
+ "x": 1105.2501831054688,
+ "y": 861.937726020813,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8351ce2e.18e9",
+ "id": "59d9c2e8.7c576c",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.updatenearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updatenearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nearrtric`\"/>",
"comments": "",
"outputs": 1,
- "x": 1109.0209045410156,
- "y": 877.4100017547607,
+ "x": 1057.1320495605469,
+ "y": 891.160005569458,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "fbcafa12.564a18",
+ "id": "e6d65c50.4838c",
"type": "record",
"name": "record TBDMT RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update NearRTRIC in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updatenearRTRIC.url`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update NearRTRIC in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updatenearRTRIC.url`\" />",
"comments": "",
"outputs": 1,
- "x": 1128.7708740234375,
- "y": 926.6600332260132,
+ "x": 1078.1320343017578,
+ "y": 931.6600208282471,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "9ba113c6.d896",
+ "id": "4c0897e6.c2a538",
"type": "execute",
"name": "generate update CUCP URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateCUCP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
"comments": "",
"outputs": 1,
- "x": 2017.9167022705078,
- "y": 2149.7221673727036,
+ "x": 1969.777816772461,
+ "y": 2179.722165465355,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "db03db76.f50188",
+ "id": "43242fd4.b23e",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.updateCUCP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateCUCP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrcellcu`\"/>",
"comments": "",
"outputs": 1,
- "x": 2004.5486602783203,
- "y": 2189.44439637661,
+ "x": 1956.4097747802734,
+ "y": 2219.444394469261,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e3cd7f46.fb61a",
+ "id": "bd1b7164.b2823",
"type": "record",
"name": "record TBDMT RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUCP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateCUCP.url`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUCP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateCUCP.url`\" />",
"comments": "",
"outputs": 1,
- "x": 2035.7986602783203,
- "y": 2230.69439637661,
+ "x": 1987.6597747802734,
+ "y": 2260.694394469261,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "9f65994f.b6dca8",
+ "id": "250e11b7.3d524e",
"type": "execute",
"name": "Update cellCU for gNBCUCP in CPS",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcucpfunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 2044.027816772461,
- "y": 2270.8333810567856,
+ "x": 1995.888931274414,
+ "y": 2300.833379149437,
"z": "e1a177d9.2ec918",
"wires": [
[
- "bb324660.d31748",
- "db6d1512.496af8"
+ "2a4d23db.1e263c",
+ "d7579e45.6cee9"
]
]
},
{
- "id": "ca59836e.185ca",
+ "id": "a38b2477.988618",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1512.937759399414,
- "y": 3751.354849219322,
+ "x": 1464.7988739013672,
+ "y": 3781.3548473119736,
"z": "e1a177d9.2ec918",
"wires": [
[
- "f831595a.22a248",
- "ea4955b0.58e3b8",
- "8ac86b31.d61548",
- "e8f08310.fa2b6"
+ "c0ce618c.a40fb",
+ "830cfd4f.fd21c",
+ "6f261a5a.5a2894",
+ "c0be6459.692c18"
]
]
},
{
- "id": "f831595a.22a248",
+ "id": "c0ce618c.a40fb",
"type": "execute",
"name": "generate update CUUP URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateCUUP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
"comments": "",
"outputs": 1,
- "x": 1796.3056335449219,
- "y": 3687.944338321686,
+ "x": 1748.166748046875,
+ "y": 3717.944336414337,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ea4955b0.58e3b8",
+ "id": "830cfd4f.fd21c",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.updateCUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateCUUP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-gnbcuupfunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 1790.714988708496,
- "y": 3723.222550868988,
+ "x": 1742.5761032104492,
+ "y": 3753.2225489616394,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8ac86b31.d61548",
+ "id": "6f261a5a.5a2894",
"type": "record",
"name": "record TBDMT RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUUP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateCUUP.url`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUUP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateCUUP.url`\" />",
"comments": "",
"outputs": 1,
- "x": 1813.0762634277344,
- "y": 3761.1388459205627,
+ "x": 1764.9373779296875,
+ "y": 3791.138844013214,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e8f08310.fa2b6",
+ "id": "c0be6459.692c18",
"type": "execute",
"name": "Update cellCU for gNBCUUP in CPS",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcuupfunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1827.9722290039062,
- "y": 3799.0555548667908,
+ "x": 1779.8333435058594,
+ "y": 3829.055552959442,
"z": "e1a177d9.2ec918",
"wires": [
[
- "af25fb19.3e04e8",
- "7a5573d5.15215c"
+ "67ec11ec.6309d",
+ "44cae1eb.db281"
]
]
},
{
- "id": "bd9debbf.8cc788",
+ "id": "8237c85b.dd8b78",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3023.5490798950195,
- "y": 5823.131677031517,
+ "x": 2975.4101943969727,
+ "y": 5853.131675124168,
"z": "e1a177d9.2ec918",
"wires": [
[
- "9dfbcd91.8f237",
- "2bcabc18.2d4994",
- "7a3c5d98.a0b1b4",
- "f8812552.f75748"
+ "c0bd3904.a8ab88",
+ "6b22a853.e5ce48",
+ "2077bd18.b07b62",
+ "dfe87f29.9ab71"
]
]
},
{
- "id": "9dfbcd91.8f237",
+ "id": "c0bd3904.a8ab88",
"type": "execute",
"name": "generate update DU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateDU.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
"comments": "",
"outputs": 1,
- "x": 3338.805694580078,
- "y": 5732.388970851898,
+ "x": 3290.6668090820312,
+ "y": 5762.38896894455,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "2bcabc18.2d4994",
+ "id": "6b22a853.e5ce48",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.updateDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateDU.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrcelldu`\"/>",
"comments": "",
"outputs": 1,
- "x": 3355.437141418457,
- "y": 5768.777156352997,
+ "x": 3307.29825592041,
+ "y": 5798.777154445648,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7a3c5d98.a0b1b4",
+ "id": "2077bd18.b07b62",
"type": "record",
"name": "record TBDMT RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUCP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateDU.url`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUCP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateDU.url`\" />",
"comments": "",
"outputs": 1,
- "x": 3350.0206756591797,
- "y": 5813.3608412742615,
+ "x": 3301.881790161133,
+ "y": 5843.360839366913,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f8812552.f75748",
+ "id": "dfe87f29.9ab71",
"type": "execute",
"name": "Update cellDU for gNBDU in CPS",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbdufunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 3353.805595397949,
- "y": 5865.721834659576,
+ "x": 3305.6667098999023,
+ "y": 5895.721832752228,
"z": "e1a177d9.2ec918",
"wires": [
[
- "dd7210dc.8b4c7",
- "c0338ed7.c44"
+ "99a41e67.f77a6",
+ "36ce15cc.3d7dfa"
]
]
},
{
- "id": "d1a52ca6.5e84e",
+ "id": "12c335db.a64cfa",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 686.5490570068359,
- "y": 4048.826684951782,
+ "x": 638.4101715087891,
+ "y": 4078.8266830444336,
"z": "e1a177d9.2ec918",
"wires": [
[
- "8706155c.bd09f8",
- "80a4afac.8ed59",
- "ce42d993.f27e48",
- "81f18aef.3db3a8"
+ "14f815b4.917b8a",
+ "35788c67.51e594",
+ "fbf085d.6f43778",
+ "60b200b5.8a81d"
]
]
},
{
- "id": "8706155c.bd09f8",
+ "id": "14f815b4.917b8a",
"type": "execute",
"name": "generate update RAN inventory URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateInventory.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.inventory.schemaset`\"/>",
"comments": "",
"outputs": 1,
- "x": 1074.9513931274414,
- "y": 3974.4376101493835,
+ "x": 1026.8125076293945,
+ "y": 4004.437608242035,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "80a4afac.8ed59",
+ "id": "35788c67.51e594",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.updateInventory.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateInventory.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.update-ran-inventory`\"/>",
"comments": "",
"outputs": 1,
- "x": 1065.333351135254,
- "y": 4011.6602067947388,
+ "x": 1017.194465637207,
+ "y": 4041.66020488739,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ce42d993.f27e48",
+ "id": "fbf085d.6f43778",
"type": "record",
"name": "record TBDMT RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update inventory in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateInventory.url`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update inventory in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateInventory.url`\" />",
"comments": "",
"outputs": 1,
- "x": 1090.3334121704102,
- "y": 4057.910207271576,
+ "x": 1042.1945266723633,
+ "y": 4087.9102053642273,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "81f18aef.3db3a8",
+ "id": "60b200b5.8a81d",
"type": "execute",
"name": "Update inventory in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateInventory.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-update-ran-inventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-inventory-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateInventory.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-update-ran-inventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-inventory-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1002.4514770507812,
- "y": 4100.687497138977,
+ "x": 954.3125915527344,
+ "y": 4130.687495231628,
"z": "e1a177d9.2ec918",
"wires": [
[
- "bafec03e.59cb1",
- "cb5395a1.754388"
+ "792355f2.1edf7c",
+ "62ab5785.3614b8"
]
]
},
{
- "id": "ae9072e3.e83bd",
+ "id": "4e8b3a43.bd7f24",
"type": "execute",
"name": "generate getRRMPolicyRatio URL - CPS",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getCUCP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
"comments": "",
"outputs": 1,
- "x": 1827.1389923095703,
- "y": 2452.750825047493,
+ "x": 1779.0001068115234,
+ "y": 2482.7508231401443,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "5af530eb.cec9c",
+ "id": "18ca860.697e97a",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.getCUCP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getCUCP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nrcellcu-rrm-policy`\"/>",
"comments": "",
"outputs": 1,
- "x": 1777.7711029052734,
- "y": 2489.4722913503647,
+ "x": 1729.6322174072266,
+ "y": 2519.472289443016,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d2e46c4d.2fc45",
+ "id": "b78b47f1.625988",
"type": "record",
"name": "record TBDMT RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get rrm policy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.getCUCP.url`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get rrm policy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.getCUCP.url`\" />",
"comments": "",
"outputs": 1,
- "x": 1811.021011352539,
- "y": 2528.7223848104477,
+ "x": 1762.8821258544922,
+ "y": 2558.722382903099,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "cc61f889.155e28",
+ "id": "64c34ba6.253af4",
"type": "execute",
- "name": "Get rrmPolicy by resourceid",
+ "name": "Get rrmPolicy - nrcellcu",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.getCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nrcellcu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfo-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 1806.3888854980469,
- "y": 2562.750001311302,
+ "x": 1758.25,
+ "y": 2592.7499994039536,
"z": "e1a177d9.2ec918",
"wires": [
[
- "b2ae94ac.c72e98",
- "3be9200d.11ab7"
+ "f7783d58.cbab4",
+ "17331eb0.f7b7b1"
]
]
},
{
- "id": "f378fddc.0753d",
+ "id": "a1c3bb3.9ea0748",
"type": "comment",
"name": "CPS",
"info": "",
"comments": "",
- "x": 1620.388931274414,
- "y": 2452.750064253807,
+ "x": 1572.2500457763672,
+ "y": 2482.7500623464584,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "c4933bf7.4faee8",
+ "id": "9735bff4.3ebb5",
"type": "execute",
"name": "generate putRRMPolicyRatio URL - CPS",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUCP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
"comments": "",
"outputs": 1,
- "x": 2113.388885498047,
- "y": 2685.750001311302,
+ "x": 2115.250045776367,
+ "y": 2625.7502670288086,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c5d647e4.b55dc8",
+ "id": "79e027ca.19fa48",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.putCUCP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUCP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrcellcu-rrm-policy`\"/>",
"comments": "",
"outputs": 1,
- "x": 2066.020965576172,
- "y": 2719.471650481224,
+ "x": 2070.1044311523438,
+ "y": 2653.9163932800293,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a7c5af4d.59e1e",
+ "id": "3413edb6.57f202",
"type": "record",
"name": "record TBDMT RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update rrm policy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putCUCP.url`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update rrm policy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putCUCP.url`\" />",
"comments": "",
"outputs": 1,
- "x": 2097.2709045410156,
- "y": 2750.7217725515366,
+ "x": 2103.5765686035156,
+ "y": 2686.2777786254883,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "9e6a87f9.545258",
+ "id": "2e301cc8.59b074",
"type": "execute",
"name": "Update RRMPolicy for gNBCUCP in CPS",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcellcu-rrm-policy-ratio.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 2148.388885498047,
- "y": 2783.750001311302,
+ "x": 2152.4722442626953,
+ "y": 2719.305559158325,
"z": "e1a177d9.2ec918",
"wires": [
[
- "615e4e4a.a9ddd",
- "80d48c37.6fadb"
+ "87ae9205.74c8f",
+ "eae332c.5d733d"
]
]
},
{
- "id": "4b2b87b.3665b78",
+ "id": "b74a175b.1c8c48",
"type": "comment",
"name": "CPS",
"info": "",
"comments": "",
- "x": 1924.3888854980469,
- "y": 2693.750001311302,
+ "x": 1912.9166831970215,
+ "y": 2630.4167041778564,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "b634cc5a.23489",
+ "id": "60431df3.1272d4",
"type": "execute",
"name": "generate getRRMPolicyRatio URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getCUUP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
"comments": "",
"outputs": 1,
- "x": 1843.8888854980469,
- "y": 4020.750001311302,
+ "x": 1795.75,
+ "y": 4050.7499994039536,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "3a7f9512.b8f11a",
+ "id": "f4b7fe47.8886e",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.getCUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getCUUP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-cuup-rrm-policy`\"/>",
"comments": "",
"outputs": 1,
- "x": 1838.298240661621,
- "y": 4056.0282138586044,
+ "x": 1790.1593551635742,
+ "y": 4086.028211951256,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7ec5f3e5.9f130c",
+ "id": "13c6f2c.905140d",
"type": "record",
"name": "record TBDMT RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get CUUP-rrmolicy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.getCUUP.url`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get CUUP-rrmolicy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.getCUUP.url`\" />",
"comments": "",
"outputs": 1,
- "x": 1860.6595153808594,
- "y": 4093.944508910179,
+ "x": 1812.5206298828125,
+ "y": 4123.9445070028305,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8332038f.8d5c7",
+ "id": "2c1bd5b3.f4605a",
"type": "execute",
"name": "get RRMPolicy for gNBCUUP in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.getCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-cuup-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicy-gNBCUCP-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.getCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-cuup-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicy-gNBCUUP-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1875.5554809570312,
- "y": 4131.861217856407,
+ "x": 1827.4165954589844,
+ "y": 4161.8612159490585,
"z": "e1a177d9.2ec918",
"wires": [
[
- "fbc7d907.687af8",
- "eac10e1b.c38b1"
+ "33b4be62.5097d2",
+ "50dad89e.899198"
]
]
},
{
- "id": "62f1493e.aa9dc8",
+ "id": "1bcd2e6e.b937a2",
"type": "comment",
"name": "CPS",
"info": "",
"comments": "",
- "x": 1648.3888854980469,
- "y": 4013.750001311302,
+ "x": 1600.25,
+ "y": 4043.7499994039536,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "a8001d7.7bf72e",
+ "id": "9d94f554.e695c8",
"type": "execute",
"name": "generate update CUUP rrmpolicy URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUUP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
"comments": "",
"outputs": 1,
- "x": 2046.3888854980469,
- "y": 4301.750001311302,
+ "x": 1970.472297668457,
+ "y": 4301.750334739685,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "4639745d.49d79c",
+ "id": "104f9d2d.1bba93",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUUP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-cuup-rrm-policy`\"/>",
"comments": "",
"outputs": 1,
- "x": 2040.798240661621,
- "y": 4337.028213858604,
+ "x": 1914.8816146850586,
+ "y": 4333.695161819458,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "848c7f90.e5cc2",
+ "id": "e8d6907.9e01b7",
"type": "record",
"name": "record TBDMT RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUUP-rrmpolicy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUUP-rrmpolicy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\" />",
"comments": "",
"outputs": 1,
- "x": 2063.1595153808594,
- "y": 4374.944508910179,
+ "x": 1956.1318817138672,
+ "y": 4371.611180305481,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e12b6c47.5ae27",
+ "id": "65e246f6.db9928",
"type": "execute",
"name": "Update cellCU for gNBCUUP in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-cuup-rrm-policy-ratio.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-cuup-rrm-policy-ratio.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-rrmpolicy-cuup-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 2079.4840393066406,
- "y": 4417.1472734212875,
+ "x": 1940.234031677246,
+ "y": 4407.147588729858,
"z": "e1a177d9.2ec918",
"wires": [
[
- "bc12f949.33a938",
- "813ee5ff.ad3788"
+ "9528722e.a57d3",
+ "35f8fa3a.b5f676"
]
]
},
{
- "id": "fd952930.667ae8",
+ "id": "fcc1ff2f.6108e",
"type": "comment",
"name": "CPS",
"info": "",
"comments": "",
- "x": 1793.1388854980469,
- "y": 4278.750001311302,
+ "x": 1786.111198425293,
+ "y": 4244.305888175964,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "9973e50c.01e848",
+ "id": "4d5ecfa9.ad16e",
"type": "execute",
"name": "generate getRRMPolicyRatio URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getDU.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
"comments": "",
"outputs": 1,
- "x": 2921.388885498047,
- "y": 6166.750001311302,
+ "x": 2873.25,
+ "y": 6196.749999403954,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d094bf69.13ed4",
+ "id": "d90238d1.619ed8",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.getDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getDU.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nrcelldu-rrm-policy`\"/>",
"comments": "",
"outputs": 1,
- "x": 2915.798240661621,
- "y": 6202.028213858604,
+ "x": 2867.659355163574,
+ "y": 6232.028211951256,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "fcf26f6a.2d312",
+ "id": "b8d44859.591628",
"type": "record",
"name": "record TBDMT RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get DU-rrmolicy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.getDU.url`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get DU-rrmolicy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.getDU.url`\" />",
"comments": "",
"outputs": 1,
- "x": 2938.1595153808594,
- "y": 6239.944508910179,
+ "x": 2890.0206298828125,
+ "y": 6269.9445070028305,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "6bd09890.00ec68",
+ "id": "bc4f7fbb.76306",
"type": "execute",
"name": "get RRMPolicy for DU in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.getDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nrcelldu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"get-gNBDU-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.getDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nrcelldu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"get-gNBDU-rrmpolicy-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 2953.0554809570312,
- "y": 6277.861217856407,
+ "x": 2904.9165954589844,
+ "y": 6307.8612159490585,
"z": "e1a177d9.2ec918",
"wires": [
[
- "77b05a8.0e7e1a4",
- "a9305a26.18c0f8"
+ "b8521392.ab0c7",
+ "dfd7fa19.143e58"
]
]
},
{
- "id": "52aafb8b.bde4c4",
+ "id": "4d4db094.5fbc7",
"type": "execute",
"name": "generate putRRMPolicyRatio URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putDU.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
"comments": "",
"outputs": 1,
- "x": 3409.388885498047,
- "y": 6407.750001311302,
+ "x": 3361.25,
+ "y": 6437.749999403954,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "581452c3.84467c",
+ "id": "50ed5e9.13b5ca",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.putDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putDU.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrcelldu-rrm-policy`\"/>",
"comments": "",
"outputs": 1,
- "x": 3403.798240661621,
- "y": 6443.028213858604,
+ "x": 3355.659355163574,
+ "y": 6473.028211951256,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "70400cf6.8d01d4",
+ "id": "71772a72.f75f24",
"type": "record",
"name": "record TBDMT RestAPI params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update DU-rrmolicy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putDU.url`\" />",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update DU-rrmolicy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putDU.url`\" />",
"comments": "",
"outputs": 1,
- "x": 3426.1595153808594,
- "y": 6480.944508910179,
+ "x": 3378.0206298828125,
+ "y": 6510.9445070028305,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8294641.f1ef398",
+ "id": "ea00c73d.080438",
"type": "execute",
"name": "update RRMPolicy for DU in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcelldu-rrm-policy-ratio.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcelldu-rrm-policy-ratio.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-rrmpolicy-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 3441.0554809570312,
- "y": 6518.861217856407,
+ "x": 3392.9165954589844,
+ "y": 6548.8612159490585,
"z": "e1a177d9.2ec918",
"wires": [
[
- "e255143b.a608a8",
- "ee6f5e2f.d624f"
+ "de8d1cac.a485",
+ "af162215.00c6c"
]
]
},
{
- "id": "71329213.46968c",
+ "id": "a18ce276.54f89",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1666.138900756836,
- "y": 2247.7499994039536,
+ "x": 1618.000015258789,
+ "y": 2277.749997496605,
"z": "e1a177d9.2ec918",
"wires": [
[
- "9ba113c6.d896",
- "db03db76.f50188",
- "e3cd7f46.fb61a",
- "9f65994f.b6dca8"
+ "4c0897e6.c2a538",
+ "43242fd4.b23e",
+ "bd1b7164.b2823",
+ "250e11b7.3d524e"
]
]
},
{
- "id": "2f1f62ac.d9f56e",
+ "id": "cd9d750c.554dd8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellCU Length \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellCUList_length`\"/>\n<parameter name=\"field3\" value=\"List of cells Length \"/>\n<parameter name=\"field4\" value=\"`$getListofCells-cps-response.taCellsList_length`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1450.7500305175781,
+ "y": 1525.625033378601,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "592ca86b.20e5a8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellCU2`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2470.1250610351562,
+ "y": 875.3125171661377,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dcdcb490.fd6ab8",
+ "type": "execute",
+ "name": "split cellCULocalId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.cellCULocalId`\" />\n <parameter name=\"regex\" value=\"\\.\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.cellId\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2225.4373779296875,
+ "y": 1295.9375022649765,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "29206f5a.77426",
"type": "set",
- "name": "set nearRTRICId",
- "xml": "<set>\n<parameter name='tmp.nearRTRICId' value='`$getNFNSSIRIC-cps-response.idNearRTRIC`'/>",
+ "name": "RRMPolicyRatio length",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatio_cps_length' value=\"`$get-rrmpolicy-gNBCUUP-cps-response.attributes.RRMPolicyRatio_length`\" />\n",
"comments": "",
- "x": 1024.0764465332031,
- "y": 565.6251277923584,
+ "x": 1744.781967163086,
+ "y": 4193.928763270378,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "a88275ed.b6d218",
+ "id": "588ef15b.8c11d",
"type": "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 Length \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellCUList_length`\"/>\n<parameter name=\"field3\" value=\"List of cells Length \"/>\n<parameter name=\"field4\" value=\"`$getListofCells-cps-response.taCellsList_length`\"/>\n\n\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rrmPolicyRatio_cps_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatio_cps_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1498.888916015625,
- "y": 1495.6250352859497,
+ "x": 1684.166732788086,
+ "y": 4229.305661559105,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "20add34f.4061fc",
+ "id": "c6562970.2ac928",
+ "type": "set",
+ "name": "RRMPolicyRatio length",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatio_cps_du_length' value=\"`$get-gNBDU-rrmpolicy-cps-response.attributes.RRMPolicyRatio_length`\" />\n",
+ "comments": "",
+ "x": 2852.4999771118164,
+ "y": 6382.916575431824,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "4013d7be.566dc8",
+ "type": "execute",
+ "name": "Get list of anchors from CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 607.22216796875,
+ "y": 181.38890647888184,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "a63d7041.4b5dd",
+ "492c875e.bb7aa8"
+ ]
+ ]
+ },
+ {
+ "id": "a63d7041.4b5dd",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 887.22216796875,
+ "y": 176.11111187934875,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "49e06f4e.99ff2"
+ ]
+ ]
+ },
+ {
+ "id": "492c875e.bb7aa8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 892.2779273986816,
+ "y": 210.94441413879395,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "1080c021.87cfc"
+ ]
+ ]
+ },
+ {
+ "id": "49e06f4e.99ff2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1045.9722480773926,
+ "y": 150.11118340492249,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "53d92a16.1f7a64",
+ "a4a491fb.12e15"
+ ]
+ ]
+ },
+ {
+ "id": "1080c021.87cfc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1049.722110748291,
+ "y": 216.61114239692688,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "5e6e4c3b.10a114",
+ "e482ffd2.86bb6"
+ ]
+ ]
+ },
+ {
+ "id": "53d92a16.1f7a64",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1218.7218856811523,
+ "y": 162.72220921516418,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "5e6e4c3b.10a114",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellCU2`\"/>\n\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 2518.263946533203,
- "y": 845.3125190734863,
+ "x": 1250.4718399047852,
+ "y": 216.3611671924591,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ac8fda49.93e208",
+ "id": "e482ffd2.86bb6",
"type": "execute",
- "name": "split cellCULocalId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.cellCULocalId`\" />\n <parameter name=\"regex\" value=\"\\.\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.cellId\" />",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1286.2500534057617,
+ "y": 259.61117577552795,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd7d800f.655fd",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 567.9166259765625,
+ "y": 144.8611204624176,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a4a491fb.12e15",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failed to fetch anchors from CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1215.4166259765625,
+ "y": 119.86111950874329,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b78b6f5c.ed596",
+ "type": "execute",
+ "name": "getAnchors URL",
+ "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 594.166633605957,
+ "y": 108.61112236976624,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a4696d6e.e8cb7",
+ "type": "execute",
+ "name": "set anchors size",
+ "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 525.0711212158203,
+ "y": 213.20990180969238,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "79d6b4d4.efa7bc",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 345.0709991455078,
+ "y": 348.7654266357422,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "e27b5a7f.a75ea8"
+ ]
+ ]
+ },
+ {
+ "id": "e27b5a7f.a75ea8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 533.9598693847656,
+ "y": 346.5431728363037,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "7c70e3a4.7ef0ec",
+ "27412b2b.78e664"
+ ]
+ ]
+ },
+ {
+ "id": "36368b5c.0019a4",
+ "type": "execute",
+ "name": "read anchorName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1404.5155334472656,
+ "y": 341.3210983276367,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7b89e339.b72aac",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 430.25616455078125,
+ "y": 284.32096672058105,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "7f609d24.28ce44"
+ ]
+ ]
+ },
+ {
+ "id": "7f609d24.28ce44",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 619.1450347900391,
+ "y": 282.0987129211426,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "4deb3e92.b69a8",
+ "81c63167.1950d"
+ ]
+ ]
+ },
+ {
+ "id": "4deb3e92.b69a8",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 827.2931900024414,
+ "y": 292.0987796783447,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "c102561a.9d7d58"
+ ]
+ ]
+ },
+ {
+ "id": "81c63167.1950d",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 825.0709533691406,
+ "y": 252.09875297546387,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c102561a.9d7d58",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1062.8486404418945,
+ "y": 294.32098960876465,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "4e35b21e.95b4ac"
+ ]
+ ]
+ },
+ {
+ "id": "4e35b21e.95b4ac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1261.9845275878906,
+ "y": 296.54318046569824,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "e09e7cdf.73202",
+ "adf95046.6affa"
+ ]
+ ]
+ },
+ {
+ "id": "e09e7cdf.73202",
+ "type": "execute",
+ "name": "set nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 1466.0463562011719,
+ "y": 265.5431795120239,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6e6b1782.12b138",
+ "type": "execute",
+ "name": "initialize earRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
"comments": "",
"outputs": 1,
- "x": 2273.5762634277344,
- "y": 1265.9375041723251,
+ "x": 529.2685241699219,
+ "y": 249.87652397155762,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "9d8ac423.b38b68",
+ "id": "adf95046.6affa",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1440.5647239685059,
+ "y": 296.20987701416016,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4013f707.c38e48",
"type": "set",
- "name": "RRMPolicyRatio length",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyRatio_cps_length' value=\"`$get-rrmpolicy-gNBCUCP-cps-response.attributes.RRMPolicyRatio_length`\" />\n",
+ "name": "Calculate temp uLThptPerSlice dLThptPerSlice maxNumberOfConns",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />",
"comments": "",
- "x": 1792.9208526611328,
- "y": 4163.928765177727,
+ "x": 890.8578414916992,
+ "y": 708.3025283813477,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "1f365e5d.477ac2",
+ "id": "6cd72b03.0f1e14",
+ "type": "set",
+ "name": "Calculate uLThptPerSlice dLThptPerSlice maxNumberOfConns",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1/$tmp.RIC.length`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1/$tmp.RIC.length`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1/$tmp.RIC.length`' />",
+ "comments": "",
+ "x": 896.6912231445312,
+ "y": 739.691556930542,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "e59e9b92.cf0538",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 256.1820755004883,
+ "y": 791.357988357544,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "f2281b3d.355658",
+ "95f80c44.94468"
+ ]
+ ]
+ },
+ {
+ "id": "38dd4f63.f0998",
+ "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.cellId[0]`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2074.330108642578,
+ "y": 1987.9012432098389,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8acc2eaf.945db",
+ "type": "execute",
+ "name": "set 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=\"`'getNFNSSIRIC-cps-response.['+$idy+'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.RRMPolicyRatio_length '`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3118.527618408203,
+ "y": 5499.259275436401,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "27412b2b.78e664",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 773.3425598144531,
+ "y": 362.2222270965576,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "a229d9f2.8e5018"
+ ]
+ ]
+ },
+ {
+ "id": "7c70e3a4.7ef0ec",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 771.1203231811523,
+ "y": 322.22220039367676,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a229d9f2.8e5018",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1008.8980102539062,
+ "y": 364.44443702697754,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "5c2b3705.889968"
+ ]
+ ]
+ },
+ {
+ "id": "5c2b3705.889968",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1208.0338973999023,
+ "y": 366.66662788391113,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "36368b5c.0019a4",
+ "9a80c3eb.ccd0f"
+ ]
+ ]
+ },
+ {
+ "id": "3a12d188.e66dfe",
+ "type": "execute",
+ "name": "Update RRMPolicyMember for gNBCUCP in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.member.putCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcellcu-rrm-policy-member.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-nrcellcu-rrmpolicymember-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": 2135.194366455078,
+ "y": 2845.6789531707764,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "78758a3d.2049b4",
+ "6b62b252.a02edc"
+ ]
+ ]
+ },
+ {
+ "id": "78758a3d.2049b4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2413.219024658203,
+ "y": 2849.0122051239014,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "e4f40211.8a9ed"
+ ]
+ ]
+ },
+ {
+ "id": "6b62b252.a02edc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2397.441436767578,
+ "y": 2777.1238313913345,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "87210f28.e55c9"
+ ]
+ ]
+ },
+ {
+ "id": "87210f28.e55c9",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2601.218948364258,
+ "y": 2778.012402176857,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "f1ceaad.3bce758",
+ "30293906.c04db6",
+ "bc591c3.8ee80e"
+ ]
+ ]
+ },
+ {
+ "id": "e4f40211.8a9ed",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2552.2191123962402,
+ "y": 2853.01238822937,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "bdcdb1bc.734cf"
+ ]
+ ]
+ },
+ {
+ "id": "bdcdb1bc.734cf",
"type": "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_cps_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatio_cps_length`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated CPS - NRCellCU RRMPolicyMember \"/>",
"comments": "",
"outputs": 1,
- "x": 1732.3056182861328,
- "y": 4199.305663466454,
+ "x": 2688.2192039489746,
+ "y": 2846.0125102996826,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e0340ac5.316fb8",
+ "id": "f1ceaad.3bce758",
+ "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": 2777.7740936279297,
+ "y": 2810.1236301660538,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "30293906.c04db6",
"type": "set",
- "name": "RRMPolicyRatio length",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyRatio_cps_du_length' value=\"`$get-gNBDU-cps-response.attributes.RRMPolicyRatio_length`\" />\n",
+ "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": 2900.6388626098633,
- "y": 6352.916577339172,
+ "x": 2782.7742462158203,
+ "y": 2771.7903476953506,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "769ceb13.c6e374",
+ "id": "3c2aaa07.02a1c6",
+ "type": "execute",
+ "name": "generate putRRMPolicyRatioMember URL - CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.member.putCUCP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2133.219024658203,
+ "y": 2747.7778301239014,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "28e71e4a.a02f62",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.member.putCUCP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.member.putCUCP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrcellcu-rrm-policy-member`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2085.851104736328,
+ "y": 2781.4994792938232,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3d2ff854.875ce8",
+ "type": "record",
+ "name": "record TBDMT RestAPI params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update rrm policy member in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.member.putCUCP.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2117.101043701172,
+ "y": 2812.7496013641357,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "54662284.0936bc",
+ "type": "execute",
+ "name": "generate update CUUP rrmpolicymember URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.member.putCUUP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1936.6759338378906,
+ "y": 4463.950681686401,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5e6efa6e.efb914",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.member.putCUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.member.putCUUP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-cuup-rrm-policy-member`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1881.0852508544922,
+ "y": 4495.895508766174,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b1ebe778.148928",
+ "type": "record",
+ "name": "record TBDMT RestAPI params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUUP-rrmpolicymember in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.member.putCUUP.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1922.3355178833008,
+ "y": 4533.811527252197,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "48ad854f.0931ec",
+ "type": "execute",
+ "name": "Update cellCU for gNBCUUP in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.member.putCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-cuup-rrm-policy-member.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-rrmpolicy-member-cuup-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1906.4376678466797,
+ "y": 4569.347935676575,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "6790593e.44ff08",
+ "7d04e45.257a81c"
+ ]
+ ]
+ },
+ {
+ "id": "6790593e.44ff08",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2267.786895751953,
+ "y": 4444.814939498901,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "df0a55e0.9031c8"
+ ]
+ ]
+ },
+ {
+ "id": "df0a55e0.9031c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2468.286865234375,
+ "y": 4433.065061569214,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "6fd38b3.2854a74",
+ "80e0ea71.7494b8",
+ "bc591c3.8ee80e"
+ ]
+ ]
+ },
+ {
+ "id": "80e0ea71.7494b8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatioMember - CUUP. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2651.7866859436035,
+ "y": 4399.06512260437,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "6fd38b3.2854a74",
+ "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": 2648.0363998413086,
+ "y": 4440.314878463745,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "4e549791.43b818",
"type": "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=\"Compare cell id \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated CPS - CUUP RRMPolicyRatio Member\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2621.036766052246,
+ "y": 4487.314817428589,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6b926e47.0c37d",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2455.036766052246,
+ "y": 4486.314817428589,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "4e549791.43b818"
+ ]
+ ]
+ },
+ {
+ "id": "7d04e45.257a81c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2274.036766052246,
+ "y": 4492.314573287964,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "6b926e47.0c37d"
+ ]
+ ]
+ },
+ {
+ "id": "e983970b.997eb8",
+ "type": "execute",
+ "name": "generate putRRMPolicyRatio URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.member.putDU.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
"comments": "",
"outputs": 1,
- "x": 2584.8057403564453,
- "y": 4362.083655357361,
+ "x": 3376.166778564453,
+ "y": 6599.305662155151,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7bd481db.7c82",
+ "id": "12e8affa.631a9",
"type": "execute",
- "name": "Get list of anchors from CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"tmp.getAnchors.URL\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.member.putDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.member.putDU.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrcelldu-rrm-policy-member`\"/>",
"comments": "",
"outputs": 1,
- "x": 628.6943893432617,
- "y": 153.6111171245575,
+ "x": 3370.5761337280273,
+ "y": 6634.583874702454,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9e9f00cc.49ec1",
+ "type": "record",
+ "name": "record TBDMT RestAPI params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update DU-rrmolicy policy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.member.putDU.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3392.9374084472656,
+ "y": 6672.500169754028,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d8a106a9.d53df8",
+ "type": "execute",
+ "name": "update RRMPolicy for DU in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.member.putDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcelldu-rrm-policy-member.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-rrmpolicy-member-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3407.8333740234375,
+ "y": 6710.416878700256,
"z": "e1a177d9.2ec918",
"wires": [
[
- "f2874bff.abc7c8",
- "a670707.5eac59"
+ "b9a38bd4.15bf78",
+ "3b9d8467.0fac1c"
]
]
},
{
- "id": "f2874bff.abc7c8",
+ "id": "e15fbd4e.e1d04",
+ "type": "comment",
+ "name": "CPS",
+ "info": "",
+ "comments": "",
+ "x": 3209.9168014526367,
+ "y": 6379.305685043335,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "b11baf12.18f4b",
+ "type": "comment",
+ "name": "CPS",
+ "info": "",
+ "comments": "",
+ "x": 2744.916778564453,
+ "y": 6160.277830123901,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "b9a38bd4.15bf78",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 908.6944122314453,
- "y": 136.11109924316406,
+ "x": 3687.972198486328,
+ "y": 6660.555662155151,
"z": "e1a177d9.2ec918",
"wires": [
[
- "be9e5c8d.3e39a"
+ "b4ae426d.6b6b5"
]
]
},
{
- "id": "a670707.5eac59",
+ "id": "3b9d8467.0fac1c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 898.1945533752441,
- "y": 187.61105728149414,
+ "x": 3697.722137451172,
+ "y": 6703.055050849915,
"z": "e1a177d9.2ec918",
"wires": [
[
- "7e485995.e46838"
+ "898b0e0d.e7945"
]
]
},
{
- "id": "be9e5c8d.3e39a",
+ "id": "b4ae426d.6b6b5",
"type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1067.444492340088,
- "y": 110.1111707687378,
+ "x": 3906.472152709961,
+ "y": 6641.305477142334,
"z": "e1a177d9.2ec918",
"wires": [
[
- "6d6b015c.0d5d6",
- "877287d5.81dca8"
+ "8a151e31.f2a52",
+ "1b20044c.ef8d2c",
+ "bc591c3.8ee80e"
]
]
},
{
- "id": "7e485995.e46838",
+ "id": "898b0e0d.e7945",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1071.1943550109863,
- "y": 176.6111297607422,
+ "x": 3899.4720916748047,
+ "y": 6702.055600166321,
"z": "e1a177d9.2ec918",
"wires": [
[
- "4e89c30.92b233c",
- "5f923e6c.c39d7"
+ "64368bea.a37bc4"
]
]
},
{
- "id": "6d6b015c.0d5d6",
+ "id": "1b20044c.ef8d2c",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatioMember - NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1240.1941299438477,
- "y": 122.72219657897949,
+ "x": 4096.221664428711,
+ "y": 6608.555842399597,
"z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "4e89c30.92b233c",
+ "id": "8a151e31.f2a52",
+ "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": 4116.221790313721,
+ "y": 6649.8058433532715,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "64368bea.a37bc4",
"type": "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 anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated CPS - NRCellDU RRMPolicyRatio Member\"/>",
"comments": "",
"outputs": 1,
- "x": 1271.9440841674805,
- "y": 176.3611545562744,
+ "x": 4064.222152709961,
+ "y": 6706.805356025696,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "5f923e6c.c39d7",
+ "id": "4fa18343.b5219c",
+ "type": "set",
+ "name": "set rrmpolicymembers length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nrcellcu-rrmpolicymembers.size' />\n\t<parameter name='source' value=\"`'getrrmpolicyratioinfo-cps-response.attributes.RRMPolicyRatio['+$idcu-rrm1+'].attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "x": 2097.1695098876953,
+ "y": 2530.370325088501,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "d44fc9ff.dd5948",
+ "type": "set",
+ "name": "RRMPolicyMember Id",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.nrcellcu-rrmpolicymembers.size+1`'/>\n",
+ "comments": "",
+ "x": 2091.614044189453,
+ "y": 2559.2592754364014,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "e0c8d4f6.6cde38",
+ "type": "set",
+ "name": "set rrmpolicymembers length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cuup-rrmpolicymembers.size' />\n\t<parameter name='source' value=\"`'get-rrmpolicy-gNBCUUP-cps-response.attributes.RRMPolicyRatio['+$idcuup-rrm1+'].attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "x": 2095.4169845581055,
+ "y": 4174.111266136169,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "86b067a.cf97098",
+ "type": "set",
+ "name": "RRMPolicyMember Id",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.cuup-rrmpolicymembers.size+1`'/>\n",
+ "comments": "",
+ "x": 2086.1115341186523,
+ "y": 4205.500428199768,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "2b2fe387.ed5acc",
+ "type": "set",
+ "name": "set rrmpolicymembers length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nrcelldu-rrmpolicymembers.size' />\n\t<parameter name='source' value=\"`'get-gNBDU-rrmpolicy-cps-response.attributes.RRMPolicyRatio['+$idcu-rrm1+'].attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "x": 3415.138946533203,
+ "y": 6369.527611732483,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "d64e19ea.3f8d58",
+ "type": "set",
+ "name": "RRMPolicyMember Id",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.nrcelldu-rrmpolicymembers.size+1`'/>\n",
+ "comments": "",
+ "x": 3409.583480834961,
+ "y": 6398.416562080383,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "6fead525.a6b8bc",
"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",
+ "name": "split cellDULocalId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.cellDULocalId`\" />\n <parameter name=\"regex\" value=\"\\.\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.cellId\" />",
"comments": "",
"outputs": 1,
- "x": 1307.722297668457,
- "y": 219.61116313934326,
+ "x": 3020.41707611084,
+ "y": 4763.972623825073,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "326428d3.0aea48",
+ "id": "603b780.484b388",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "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.cellId[0]`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3026.480010986328,
+ "y": 4807.285885810852,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fd943d28.fd42c",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.cellDULocalId' value='`$tmp.cellId[0]`'/>",
+ "comments": "",
+ "x": 2873.027988433838,
+ "y": 6115.361413002014,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "e2fe9432.efc888",
+ "type": "set",
+ "name": "set if applicable",
+ "xml": "<set>\n<parameter name='tmp.cu-applicable' value='true'/>\n\n ",
+ "comments": "",
+ "x": 2298.194366455078,
+ "y": 1079.8055658340454,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "e40299f6.ec7c28",
+ "type": "switchNode",
+ "name": "check applicablity",
+ "xml": "<switch test='`$tmp.cu-applicable`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 704.3056640625,
+ "y": 1683.138897895813,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "3364003b.2c647"
+ ]
+ ]
+ },
+ {
+ "id": "117dec8e.da2f53",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1131.2500305175781,
+ "y": 1685.7777338027954,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "c0c444d.20893b8"
+ ]
+ ]
+ },
+ {
+ "id": "3364003b.2c647",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 902.9166679382324,
+ "y": 1682.7222146987915,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "117dec8e.da2f53"
+ ]
+ ]
+ },
+ {
+ "id": "4443a2cd.707b4c",
+ "type": "set",
+ "name": "set if applicable",
+ "xml": "<set>\n<parameter name='tmp.cu-applicable' value='false'/>\n\n ",
+ "comments": "",
+ "x": 823.0555725097656,
+ "y": 1473.5555658340454,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "c6c54b63.feded8",
+ "type": "set",
+ "name": "set response size",
+ "xml": "<set>\n<parameter name='tmp.response.size' value=\"`$getListofCells-cps-response._length`\"/>",
+ "comments": "",
+ "x": 1778.3336334228516,
+ "y": 945.9166126251221,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "5e9efbb8.d207c4",
+ "type": "for",
+ "name": "For",
+ "xml": "<for index='id-res' start='0' end='`$tmp.response.size`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1774.5832290649414,
+ "y": 1024.666639328003,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "dfbc1a8f.f010b8"
+ ]
+ ]
+ },
+ {
+ "id": "dfbc1a8f.f010b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1754.5832824707031,
+ "y": 1067.1666498184204,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "4c89739c.0b1a9c",
+ "4456d6ab.473108"
+ ]
+ ]
+ },
+ {
+ "id": "4c89739c.0b1a9c",
+ "type": "execute",
+ "name": "read TACells length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.tacells.length' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.['+$id-res+'].taCellsList_length'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1762.3611145019531,
+ "y": 1125.222191810608,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "73601dc1.371a94",
+ "type": "block",
+ "name": "Add sliceprofile NRTRIC",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 759.6388854980469,
+ "y": 789.277811050415,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "7ef87b90.325724",
+ "d5cbc9a1.1763d8",
+ "e246f1bb.7cb92",
+ "e452329e.df583"
+ ]
+ ]
+ },
+ {
+ "id": "e246f1bb.7cb92",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1287.6393508911133,
+ "y": 687.6842422485352,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "4efcf3c0.65b1dc",
+ "6ceb495b.455278"
+ ]
+ ]
+ },
+ {
+ "id": "4efcf3c0.65b1dc",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1361.3890914916992,
+ "y": 638.6837921142578,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "4e088fc6.17ae8"
+ ]
+ ]
+ },
+ {
+ "id": "4e088fc6.17ae8",
+ "type": "block",
+ "name": "URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1637.5904693603516,
+ "y": 567.282940864563,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "e8fe65d0.2b3518",
+ "f59962a6.ea1e8"
+ ]
+ ]
+ },
+ {
+ "id": "e8fe65d0.2b3518",
+ "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": 1912.388801574707,
+ "y": 530.4341506958008,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f59962a6.ea1e8",
+ "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": 1908.9236450195312,
+ "y": 567.0331363677979,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d6e05997.37c078",
+ "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": 1978.923583984375,
+ "y": 609.033182144165,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "37090429.a9541c",
+ "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": 1990.4584655761719,
+ "y": 653.6319904327393,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a8e42292.713b8",
+ "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": 2009.923843383789,
+ "y": 694.0330114066601,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "695615ee.0da2fc",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1636.6288833618164,
+ "y": 647.1837973594666,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "d6e05997.37c078",
+ "37090429.a9541c",
+ "a8e42292.713b8"
+ ]
+ ]
+ },
+ {
+ "id": "6ceb495b.455278",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1385.388874053955,
+ "y": 689.6838226318359,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "695615ee.0da2fc"
+ ]
+ ]
+ },
+ {
+ "id": "d5cbc9a1.1763d8",
"type": "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=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
+ "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": 589.3888702392578,
- "y": 104.86110782623291,
+ "x": 1194.8891296386719,
+ "y": 728.0278759002686,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "877287d5.81dca8",
+ "id": "7ef87b90.325724",
"type": "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=\"Failed to fetch anchors from CPS\"/>",
+ "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": 1236.8888702392578,
- "y": 79.8611068725586,
+ "x": 1157.6396408081055,
+ "y": 764.2672319412231,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ff1bce94.1b5aa",
+ "id": "e452329e.df583",
"type": "execute",
- "name": "getAnchors URL",
- "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
+ "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": 1123.3899230957031,
+ "y": 819.7778301239014,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "92ac7c48.8ec79",
+ "52eeaf91.36692"
+ ]
+ ]
+ },
+ {
+ "id": "52eeaf91.36692",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1440.8900203704834,
+ "y": 790.0170841217041,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "2bf4f012.54192"
+ ]
+ ]
+ },
+ {
+ "id": "92ac7c48.8ec79",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1434.6391830444336,
+ "y": 741.767162322998,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "b1989ae4.02b9d8"
+ ]
+ ]
+ },
+ {
+ "id": "b1989ae4.02b9d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1594.8128356933594,
+ "y": 730.088457107544,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "e9302afa.1338a8",
+ "bc591c3.8ee80e"
+ ]
+ ]
+ },
+ {
+ "id": "2bf4f012.54192",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1570.8886489868164,
+ "y": 780.267126083374,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "be3aa448.eecc58"
+ ]
+ ]
+ },
+ {
+ "id": "be3aa448.eecc58",
+ "type": "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": 1742.3894424438477,
+ "y": 764.517614364624,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e9302afa.1338a8",
+ "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": 1749.3895530700684,
+ "y": 732.5173530578613,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "415d542d.6e84ec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 698.2499694824219,
+ "y": 1019.2777690887451,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "4403b9d9.992298",
+ "79b668fa.5758f8",
+ "bc6fef03.f7d1d",
+ "3252f1ef.e3d6ae"
+ ]
+ ]
+ },
+ {
+ "id": "4403b9d9.992298",
+ "type": "execute",
+ "name": "generate add Slice Profile URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.addSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 975.7499694824219,
+ "y": 1005.5277690887451,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "79b668fa.5758f8",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.addSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.addSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.add-slice-profile`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 930.1318588256836,
+ "y": 1041.00022315979,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bc6fef03.f7d1d",
+ "type": "record",
+ "name": "record TBDMT RestAPI params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update NearRTRIC in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.addSliceProfile.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 948.6317825317383,
+ "y": 1071.5001029968262,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3252f1ef.e3d6ae",
+ "type": "execute",
+ "name": "Add Slice Profile Details in CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.addSliceProfile.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-add-sliceprofile.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"modify-allocate-sliceprofile-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 930.7500228881836,
+ "y": 1103.0278148651123,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "d65ec281.620a2",
+ "a4904c55.b59b"
+ ]
+ ]
+ },
+ {
+ "id": "a4904c55.b59b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1169.5001029968262,
+ "y": 1035.805519104004,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "3e7d5b97.ea9fc4"
+ ]
+ ]
+ },
+ {
+ "id": "d65ec281.620a2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 615.6388778686523,
- "y": 68.61110973358154,
+ "x": 1156.0682678222656,
+ "y": 1080.7148275375366,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "a039afa6.4df69"
+ ]
+ ]
+ },
+ {
+ "id": "a039afa6.4df69",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1306.3182830810547,
+ "y": 1079.2148790359497,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "55d00048.18dcf"
+ ]
+ ]
+ },
+ {
+ "id": "55d00048.18dcf",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated Slice Profile in CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1450.068120956421,
+ "y": 1071.7149648666382,
"z": "e1a177d9.2ec918",
"wires": [
[]
]
+ },
+ {
+ "id": "3e7d5b97.ea9fc4",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1292.0001220703125,
+ "y": 993.3055438995361,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "e75960a9.63a0f",
+ "8d811fcc.cb626",
+ "bc591c3.8ee80e"
+ ]
+ ]
+ },
+ {
+ "id": "8d811fcc.cb626",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating Slice Profile in CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1499.7498207092285,
+ "y": 974.1665925979614,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "e75960a9.63a0f",
+ "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": 1482.7496643066406,
+ "y": 1027.8055868148804,
+ "z": "e1a177d9.2ec918",
+ "wires": []
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.xml
index 21013ea3..5ea9d46f 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.xml
@@ -3,1344 +3,128 @@
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}'>
<method rpc='instantiateRANSliceModifyAllocate-cps' mode='sync'>
<block atomic='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
- <parameter name="outputPath" value="tmp.cps.getNearRTRICByNSSI.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.cps.getNearRTRICByNSSI.url`"/>
- <parameter name="outputPath" value="tmp.cps.getNearRTRICByNSSI.url"/>
- <parameter name="target" value="{templateId}"/>
- <parameter name="replacement" value="`$prop.tbdmt.template.get-nearrtric-by-rannfnssi`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for CPS TDBMT to Get NearRTRIC for RANNFNSSI"/>
- <parameter name='field2' value="`$tmp.cps.getNearRTRICByNSSI.url`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$tmp.cps.getNearRTRICByNSSI.url`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-rannfnssi.json'`" />
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="getNFNSSIRIC-cps-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>
- </set>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
- </record>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <switch test='`$error-code`'>
- <outcome value='200'>
- <set>
- <parameter name="tmp.status" value="success"/>
- </set>
- </outcome>
- <outcome value='Other'>
- <set>
- <parameter name="tmp.status" value="`$error-code`"/>
- </set>
- </outcome>
- </switch>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Obtained NearRT RIC info from CPS"/>
- <parameter name="field2" value="`$getNFNSSIRIC-configdb-response._length`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
- </block>
- </outcome>
- </execute>
- </block>
<set>
- <parameter name='tmp.trackingAreaListEntries' value="`$payloadJson.input.sliceProfile.coverageAreaTAList_length`"/>
+ <parameter name='tmp.getAnchors.URL' value="`$prop.restapi.cps.anchors.endpoint`"/>
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Tracking Area size"/>
- <parameter name="field2" value="`$tmp.trackingAreaListEntries`"/>
+ <parameter name="field1" value="URL to fetch the anchors"/>
+ <parameter name="field2" value="`$tmp.getAnchors.URL`"/>
</record>
- <block atomic='true'>
- <set>
- <parameter name='tmp.nearRTRICId' value='`$getNFNSSIRIC-cps-response.idNearRTRIC`'/>
- </set>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.nearRTRICId' />
- <parameter name='source' value="`getNFNSSIRIC-cps-response.idNearRTRIC`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.gNBId' />
- <parameter name='source' value="`'getNFNSSIRIC-cps-response.gNBId'`" />
- </execute>
- <set>
- <parameter name='tmp.ranNFNSSIListEntry' value="`$payloadJson.input.RANNFNSSIId`"/>
- </set>
- <set>
- <parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />
- <parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />
- <parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Calculated uLThptPerSlice for nearRTRIC "/>
- <parameter name="field2" value="`$tmp.nearRTRIC.uLThptPerSlice`"/>
- <parameter name="field3" value="dLThptPerSlice for nearRTRIC"/>
- <parameter name="field4" value="`$tmp.nearRTRIC.dLThptPerSlice`"/>
- <parameter name="field5" value="maxNumberOfConn for nearRTRIC"/>
- <parameter name="field6" value="`$tmp.nearRTRIC.maxNumberOfConns`"/>
- <parameter name="field7" value="nearRTRICId"/>
- <parameter name="field8" value="`$tmp.nearRTRICId`"/>
- <parameter name="field9" value="gNBId"/>
- <parameter name="field10" value="`$tmp.gNBId`"/>
- <parameter name="field11" value="RANNFNSSI"/>
- <parameter name="field12" value="`$tmp.ranNFNSSIListEntry`"/>
- <parameter name="field13" value="NSSAI"/>
- <parameter name="field14" value="`$tmp.payload.sNSSAI`"/>
- </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.getAnchors.URL`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="restapiUser" value="cpsuser" />
+ <parameter name="restapiPassword" value="cpsr0cks!"/>
+ <parameter name="responsePrefix" value="get-anchors-cps-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Failed to fetch anchors from CPS"/>
+ </record>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>
+ </set>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained anchors from CPS"/>
+ <parameter name="field2" value="`$get-anchors-cps-response._length`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.anchors.length' value="`$get-anchors-cps-response._length`"/>
+ </set>
+ <set>
+ <parameter name='tmp.RIC.length' value="0"/>
+ </set>
+ <for index='anc' start='0' end='`$tmp.anchors.length`'>
<block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
- <parameter name="outputPath" value="tmp.cps.updatenearRTRIC.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.cps.updatenearRTRIC.url`"/>
- <parameter name="outputPath" value="tmp.cps.updatenearRTRIC.url"/>
- <parameter name="target" value="{templateId}"/>
- <parameter name="replacement" value="`$prop.tbdmt.template.put-nearrtric`"/>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.schemaset.name' />
+ <parameter name='source' value="`'get-anchors-cps-response.['+$anc+'].schemaSetName'`" />
</execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for CPS TDBMT to update NearRTRIC in CPS"/>
- <parameter name='field2' value="`$tmp.cps.updatenearRTRIC.url`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$tmp.cps.updatenearRTRIC.url`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps.put-nearrtric.json'`" />
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="modify-allocate-nearRTRIC-cps-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
+ <switch test='`$tmp.schemaset.name`'>
+ <outcome value='ran-network'>
+ <block atomic='true'>
<set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+ <parameter name='tmp.RIC.length' value="`$tmp.RIC.length+1`"/>
</set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Updated NearRT RIC info in CPS"/>
+ <parameter name="field1" value="Applicable RIC length"/>
+ <parameter name="field2" value="`$tmp.RIC.length`"/>
</record>
</block>
</outcome>
- </execute>
+ </switch>
</block>
- </block>
- <for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>
+ </for>
+ <for index='anc' start='0' end='`$tmp.anchors.length`'>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.payload.trackingArea' />
- <parameter name='source' value="`'payloadJson.input.sliceProfile.coverageAreaTAList['+ $ta+']'`" />
+ <parameter name='outputPath' value='tmp.schemaset.name' />
+ <parameter name='source' value="`'get-anchors-cps-response.['+$anc+'].schemaSetName'`" />
</execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="trackingArea "/>
- <parameter name="field2" value="`$tmp.payload.trackingArea`"/>
- </record>
- <block atomic='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
- <parameter name="outputPath" value="tmp.cps.getListOfCells.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$prop.cavsta.schemaset`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.cps.getListOfCells.url`"/>
- <parameter name="outputPath" value="tmp.cps.getListOfCells.url"/>
- <parameter name="target" value="{templateId}"/>
- <parameter name="replacement" value="`$prop.tbdmt.template.get-cells-list`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for CPS TDBMT to Get List of cells of TAC"/>
- <parameter name='field2' value="`$tmp.cps.getListOfCells.url`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$tmp.cps.getListOfCells.url`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-cells-list.json'`" />
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="getListofCells-cps-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <outcome value='failure'>
- <block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error Getting List of cells for the Tracking Area. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Obtained List of Cells from `CPS"/>
- <parameter name="field2" value="`$getListofCells-cps-response.taCellsList_length`"/>
- <parameter name="field3" value="List of Cells in the Tracking Area Relevant for RAN Slice Instantiation "/>
- </record>
- <for index='idx' start='0' end='`$getListofCells-cps-response.taCellsList_length`' >
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.trackingarea.cell' />
- <parameter name='source' value="`'getListofCells-cps-response.taCellsList.[' + $idx + '].cellLocalId'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="`$tmp.trackingarea.cell`"/>
- </record>
- </for>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.CUCPList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-cps-response.GNBCUCPFunction_length'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Number of CUCP List Entries "/>
- <parameter name="field2" value="`$tmp.CUCPList_length`"/>
- <parameter name="field3" value="for the NearRTRIC"/>
- <parameter name="field4" value="`$tmp.nearRTRICId`"/>
- </record>
- <for index='idz' start='0' end='`$tmp.CUCPList_length`'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.CUCPName' />
- <parameter name='source' value="`'getNFNSSIRIC-cps-response.GNBCUCPFunction['+ $idz +'].attributes.gNBCUName'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="CUCPName "/>
- <parameter name="field2" value="`$tmp.CUCPName`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCUList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-cps-response.GNBCUCPFunction[' + $idz +'].NRCellCU_length'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="cellCU Length "/>
- <parameter name="field2" value="`$tmp.cellCUList_length`"/>
- <parameter name="field3" value="List of cells Length "/>
- <parameter name="field4" value="`$getListofCells-cps-response.taCellsList_length`"/>
- </record>
- <for index='idcu' start='0' end='`$tmp.cellCUList_length`' >
- <block atomic='true'>
- <for index='id-ta' start='0' end='`$getListofCells-cps-response.taCellsList_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCULocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-cps-response.GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.cellLocalId'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCU2' />
- <parameter name='source' value="`'getListofCells-cps-response.taCellsList[' + $id-ta + '].cellLocalId'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="`$tmp.cellCULocalId`"/>
- <parameter name="field2" value="`$tmp.cellCU2`"/>
- </record>
- <switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>
- <outcome value='true'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="`$tmp.cellCULocalId`"/>
- <parameter name="field2" value="CellCU is applicable for the NSSAI "/>
- </record>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idGNBCUCPFunction}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
- <parameter name="original_string" value="`$tmp.cellCULocalId`" />
- <parameter name="regex" value="\."/>
- <parameter name="ctx_memory_result_key" value="tmp.cellId" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idNRCellCU}"/>
- <parameter name="replacement" value="`$tmp.cellId[0]`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{mcc}"/>
- <parameter name="replacement" value="`$tmp.mcc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="patch cellCU NSSAI parameters"/>
- <parameter name="field2" value="`$tmp.nearRTRICId`"/>
- <parameter name="field3" value="`$tmp.CUCPName`"/>
- <parameter name="field4" value="`$tmp.cellId[0]`"/>
- <parameter name="field5" value="`$tmp.mcc`"/>
- <parameter name="field6" value="`$tmp.mnc`"/>
- <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="patch-cellCU-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>
- </return>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
- </record>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <switch test='`$error-code`'>
- <outcome value='200'>
- <set>
- <parameter name="tmp.status" value="success"/>
- </set>
- </outcome>
- <outcome value='Other'>
- <set>
- <parameter name="tmp.status" value="`$error-code`"/>
- </set>
- </outcome>
- </switch>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellCU PLMNInfo List"/>
- </record>
- </block>
- </outcome>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
- <parameter name='prefixKey' value='tmp.CUCPList.response' />
- <parameter name='keyName' value='gNBCUName' />
- <parameter name='keyValue' value="`$tmp.CUCPName`"/>
- </execute>
- <block atomic='true'>
- <set>
- <parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />
- </set>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />
- </set>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="RRMPolicyRatio temp1 - "/>
- <parameter name="field2" value="`$tmp.maxNumberOfConnsPercellCU`"/>
- <parameter name="field3" value="RRMPolicyRatio temp2 - "/>
- <parameter name="field4" value="`$tmp.rRMPolicyDedicatedRatio.CellCU1`"/>
- <parameter name="field5" value="RRMPolicyRatio for this profile is - "/>
- <parameter name="field6" value="`$tmp.rRMPolicyDedicatedRatio_SliceProfile`"/>
- </record>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{idGNBCUCPFunction}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{idNRCellCU}"/>
- <parameter name="replacement" value="`$tmp.cellId[0]`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="get-rrmpolicyratio-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
- </return>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
- </record>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <switch test='`$error-code`'>
- <outcome value='200'>
- <set>
- <parameter name="tmp.status" value="success"/>
- </set>
- </outcome>
- <outcome value='Other'>
- <set>
- <parameter name="tmp.status" value="`$error-code`"/>
- </set>
- </outcome>
- </switch>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
- </block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.rrmPolicyRatioList_length' value='`$get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="RRMPolicyRatioList size"/>
- <parameter name="field2" value="`$tmp.rrmPolicyRatioList_length`"/>
- </record>
- <for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatiocellCU_old' />
- <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
- </execute>
- <set>
- <parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_new' value='`$tmp.rrmPolicyDedicatedRatiocellCU_old + $tmp.rRMPolicyDedicatedRatio_SliceProfile`' />
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Existing RRMPolicyRatio for CellCU is - "/>
- <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatiocellCU_old`"/>
- <parameter name="field3" value="Updated RRMPolicyRatio for CellCU is - "/>
- <parameter name="field4" value="`$tmp.rrmPolicyDedicatedRatio_CellCU_new`"/>
- </record>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{idGNBCUCPFunction}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{idNRCellCU}"/>
- <parameter name="replacement" value="`$tmp.cellId[0]`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyMembers' />
- <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
- <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`" />
- </execute>
- <set>
- <parameter name='tmp.RRMPolicyMember_id' value='`$tmp.rrmPolicyMembers+1`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="RRMPolicyRatio_id is - "/>
- <parameter name="field2" value="`$tmp.RRMPolicyRatio_id`"/>
- <parameter name="field3" value="RRMPolicyMember_id - "/>
- <parameter name="field4" value="`$tmp.RRMPolicyMember_id`"/>
- <parameter name="field5" value="RRMPolicyRatio update URL is - "/>
- <parameter name="field6" value="`$tmp.getRRMPolicyRatio.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="patch-cellCU-RRMPolicyRatio-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellCU RRMpolicyRatio"/>
- </record>
- </block>
- </outcome>
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>
- </return>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
- </record>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <switch test='`$error-code`'>
- <outcome value='200'>
- <set>
- <parameter name="tmp.status" value="success"/>
- </set>
- </outcome>
- <outcome value='Other'>
- <set>
- <parameter name="tmp.status" value="`$error-code`"/>
- </set>
- </outcome>
- </switch>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- </execute>
- </block>
- </for>
- </block>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="CUCP - CPS update"/>
- </record>
- <set>
- <parameter name='tmp.cellCULocalId' value='`$tmp.cellId[0]`'/>
- <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
- <parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.CUCPName`'/>
- <parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>
- <parameter name='tmp.gNBCUCPList.nFType' value='RRC Connected Users'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="cellLocalId"/>
- <parameter name="field2" value="`$tmp.cellId[0]`"/>
- <parameter name="field3" value="pLMNId"/>
- <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
- <parameter name="field5" value="maxNumberOfConns"/>
- <parameter name="field6" value="`$tmp.maxNumberOfConns`"/>
- <parameter name="field7" value="gNBCUName"/>
- <parameter name="field8" value="`$tmp.gNBCUCPList.gNBCUName`"/>
- <parameter name="field9" value="gNBId"/>
- <parameter name="field10" value="`$tmp.gNBCUCPList.gNBId`"/>
- <parameter name="field11" value="nFType"/>
- <parameter name="field12" value="`$tmp.gNBCUCPList.nFType`"/>
- </record>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
- <parameter name="outputPath" value="tmp.cps.updateCUCP.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.cps.updateCUCP.url`"/>
- <parameter name="outputPath" value="tmp.cps.updateCUCP.url"/>
- <parameter name="target" value="{templateId}"/>
- <parameter name="replacement" value="`$prop.tbdmt.template.put-nrcellcu`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for CPS TDBMT to update CUCP in CPS"/>
- <parameter name='field2' value="`$tmp.cps.updateCUCP.url`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$tmp.cps.updateCUCP.url`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcucpfunction.json'`" />
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="update-gNBCUCP-cps-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating NRCellCU. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
- </return>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
- </record>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <switch test='`$error-code`'>
- <outcome value='200'>
- <set>
- <parameter name="tmp.status" value="success"/>
- </set>
- </outcome>
- <outcome value='Other'>
- <set>
- <parameter name="tmp.status" value="`$error-code`"/>
- </set>
- </outcome>
- </switch>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully updated NRCellCU pLMNinfo "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
- <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
- <parameter name="target" value="{resourceId}"/>
- <parameter name="replacement" value="`$tmp.cellId[0]`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="get RRMPolicyby Resource URL"/>
- <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
- <parameter name="outputPath" value="tmp.cps.rrmpolicy.getCUCP.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.cps.rrmpolicy.getCUCP.url`"/>
- <parameter name="outputPath" value="tmp.cps.rrmpolicy.getCUCP.url"/>
- <parameter name="target" value="{templateId}"/>
- <parameter name="replacement" value="`$prop.tbdmt.template.get-nrcellcu-rrm-policy`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for CPS TDBMT to get rrm policy in CPS"/>
- <parameter name='field2' value="`$tmp.cps.rrmpolicy.getCUCP.url`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.getCUCP.url`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-nrcellcu-rrm-policy.json'`" />
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="getrrmpolicyratioinfo-cps-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
- </block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.rrmPolicyRatioCPS_length' value='`$getrrmpolicyratioinfo-cps-response.attributes.RRMPolicyRatio_length`'/>
- </set>
- <for index='idcu-rrm1' start='0' end='`$tmp.rrmPolicyRatioCPS_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
- <parameter name='source' value="`'getrrmpolicyratioinfo-cps-response.attributes.RRMPolicyRatio['+$idcu-rrm1+'].id'`" />
- </execute>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>
- <parameter name='tmp.resourceID' value='`$tmp.cellId[0]`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellCU`"/>
- <parameter name="field3" value="pLMNId"/>
- <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
- <parameter name="field5" value="sNSSAI"/>
- <parameter name="field6" value="`$tmp.payload.sNSSAI`"/>
- <parameter name="field7" value="rrmPolicyID"/>
- <parameter name="field8" value="`$prop.configDB.rrmPolicyID`"/>
- <parameter name="field9" value="resourceID"/>
- <parameter name="field10" value="`$tmp.resourceID`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
- <parameter name="outputPath" value="tmp.cps.rrmpolicy.putCUCP.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.cps.rrmpolicy.putCUCP.url`"/>
- <parameter name="outputPath" value="tmp.cps.rrmpolicy.putCUCP.url"/>
- <parameter name="target" value="{templateId}"/>
- <parameter name="replacement" value="`$prop.tbdmt.template.put-nrcellcu-rrm-policy`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for CPS TDBMT to update rrm policy in CPS"/>
- <parameter name='field2' value="`$tmp.cps.rrmpolicy.putCUCP.url`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.putCUCP.url`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcellcu-rrm-policy-ratio.json'`" />
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="update-gNBCUCP-rrmpolicy-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
- </return>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
- </record>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <switch test='`$error-code`'>
- <outcome value='200'>
- <set>
- <parameter name="tmp.status" value="success"/>
- </set>
- </outcome>
- <outcome value='Other'>
- <set>
- <parameter name="tmp.status" value="`$error-code`"/>
- </set>
- </outcome>
- </switch>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully updated CPS - NRCellCU RRMPolicyRatio "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </for>
- </block>
- </block>
- </outcome>
- </switch>
- </block>
- </for>
- </block>
- </for>
- </block>
- </for>
- </block>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.CUUPList_length' />
- <parameter name='source' value="`getNFNSSIRIC-cps-response.GNBCUUPFunction_length`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Number of CUUP List Entries "/>
- <parameter name="field2" value="`$tmp.CUUPList_length`"/>
- <parameter name="field3" value="for the NearRTRIC"/>
- <parameter name="field4" value="`$tmp.nearRTRICId`"/>
- </record>
- <for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>
+ <switch test='`$tmp.schemaset.name`'>
+ <outcome value='ran-network'>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.idGNBCUUPFunction' />
- <parameter name='source' value="`'getNFNSSIRIC-cps-response.GNBCUUPFunction['+ $id-cuup +'].idGNBCUUPFunction'`" />
+ <parameter name='outputPath' value='tmp.anchor.name' />
+ <parameter name='source' value="`'get-anchors-cps-response.['+$anc+'].name'`" />
</execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="idGNBCUUPFunction "/>
- <parameter name="field2" value="`$tmp.idGNBCUUPFunction`"/>
- </record>
<block atomic='true'>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- </block>
- </outcome>
- </switch>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idGNBCUUPFunction}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.getNearRTRICByNSSI.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$tmp.anchor.name`"/>
</execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mcc}"/>
- <parameter name="replacement" value="`$tmp.mcc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
+ <parameter name="source" value="`$tmp.cps.getNearRTRICByNSSI.url`"/>
+ <parameter name="outputPath" value="tmp.cps.getNearRTRICByNSSI.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.get-nearrtric-by-rannfnssi`"/>
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="patch CUUP NSSAI parameters"/>
- <parameter name="field2" value="`$tmp.nearRTRICId`"/>
- <parameter name="field3" value="`$tmp.idGNBCUUPFunction`"/>
- <parameter name="field4" value="`$tmp.mcc`"/>
- <parameter name="field5" value="`$tmp.mnc`"/>
- <parameter name="field6" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="field1" value="URL for CPS TDBMT to Get NearRTRIC for RANNFNSSI"/>
+ <parameter name='field2' value="`$tmp.cps.getNearRTRICByNSSI.url`" />
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="patch-gNBCUUP-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name="restapiUrl" value="`$tmp.cps.getNearRTRICByNSSI.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-rannfnssi.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="getNFNSSIRIC-cps-response"/>
+ <parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
<outcome value='failure'>
- <block atomic='true'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>
+ </set>
<block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
@@ -1399,7 +183,7 @@
<outcome value='success'>
<block>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
<parameter name="field1" value="SO Response Sent "/>
</record>
@@ -1407,1687 +191,3743 @@
</outcome>
</execute>
</block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>
- </return>
</block>
</outcome>
<outcome value='success'>
<block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
+ <parameter name="field1" value="Successfully Obtained NearRT RIC info from CPS"/>
+ <parameter name="field2" value="`$getNFNSSIRIC-configdb-response._length`"/>
</record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />
+ </execute>
</block>
</outcome>
</execute>
<set>
- <parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />
- </set>
- <set>
- <parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />
- </set>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />
+ <parameter name='tmp.trackingAreaListEntries' value="`$payloadJson.input.sliceProfile.coverageAreaTAList_length`"/>
</set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Tracking Area size"/>
+ <parameter name="field2" value="`$tmp.trackingAreaListEntries`"/>
+ </record>
<set>
- <parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />
+ <parameter name='tmp.RICEntries' value="`$getNFNSSIRIC-cps-response._length`"/>
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="RRMPolicyRatio for this profile is - "/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio-CUUP`"/>
+ <parameter name="field1" value="Calculated uLThptPerSlice for nearRTRIC "/>
+ <parameter name="field2" value="`$tmp.nearRTRIC.uLThptPerSlice`"/>
+ <parameter name="field3" value="dLThptPerSlice for nearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRIC.dLThptPerSlice`"/>
+ <parameter name="field5" value="maxNumberOfConn for nearRTRIC"/>
+ <parameter name="field6" value="`$tmp.nearRTRIC.maxNumberOfConns`"/>
+ <parameter name="field7" value="nearRTRICId"/>
+ <parameter name="field8" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBId`"/>
+ <parameter name="field11" value="RANNFNSSI"/>
+ <parameter name="field12" value="`$tmp.ranNFNSSIListEntry`"/>
+ <parameter name="field13" value="NSSAI"/>
+ <parameter name="field14" value="`$tmp.payload.sNSSAI`"/>
</record>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
+ <for index='idy' start='0' end='`$tmp.RICEntries`' >
+ <block atomic='true'>
<block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.nearRTRICId' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+$idy+'].idNearRTRIC'`" />
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.gNBId' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.gNBId'`" />
</execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{idGNBCUUPFunction}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
- <parameter name='prefixKey' value='tmp.CUUPList.response' />
- <parameter name='keyName' value='gNBCUUPId' />
- <parameter name='keyValue' value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="get-rrmpolicyratio-cuup-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
+ <set>
+ <parameter name='tmp.ranNFNSSIListEntry' value="`$payloadJson.input.RANNFNSSIId`"/>
+ </set>
+ <set>
+ <parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />
+ <parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />
+ <parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />
+ </set>
+ <set>
+ <parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1/$tmp.RIC.length`' />
+ <parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1/$tmp.RIC.length`' />
+ <parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1/$tmp.RIC.length`' />
+ </set>
<block atomic='true'>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.addSliceProfile.ToNearRTRIC`"/>
+ <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+ <parameter name="target" value="{sliceProfileId}"/>
+ <parameter name="replacement" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/>
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+ <parameter name="target" value="{sliceProfileId}"/>
+ <parameter name="replacement" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
+ <parameter name="field1" value="Add SliceProfile ToNearRTRIC url:"/>
+ <parameter name="field2" value="`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
</record>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <switch test='`$error-code`'>
- <outcome value='200'>
- <set>
- <parameter name="tmp.status" value="success"/>
- </set>
- </outcome>
- <outcome value='Other'>
- <set>
- <parameter name="tmp.status" value="`$error-code`"/>
- </set>
- </outcome>
- </switch>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
+ <parameter name="field1" value="Setting variables for ADD SliceProfile ToNearRTRIC"/>
+ <parameter name="field2" value="`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ <parameter name="field3" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/>
+ <parameter name="field4" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
+ <parameter name="field5" value="`$payloadJson.input.sliceProfile.maxNumberofUEs`"/>
+ <parameter name="field6" value="`$payloadJson.input.sliceProfile.latency`"/>
+ <parameter name="field7" value="`$tmp.nearRTRIC.uLThptPerSlice`"/>
+ <parameter name="field8" value="`$tmp.nearRTRIC.dLThptPerSlice`"/>
+ <parameter name="field9" value="`$tmp.nearRTRIC.maxNumberOfConns`"/>
+ <parameter name="field10" value="`$payloadJson.input.sliceProfile.uEMobilityLevel`"/>
+ <parameter name="field11" value="`$tmp.trackingArea`"/>
+ <parameter name="field12" value="`$payloadJson.input.sliceProfile.resourceSharingLevel`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-add-sliceProfile-NRRIC.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="addSliceProfile-NRTRIC-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
<block>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
+ <parameter name="error-message" value="Error adding slice proficle to NearRTRIC" />
</return>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
</block>
</outcome>
<outcome value='success'>
<block>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
+ <parameter name="field1" value="PLMNInfo List Entry Add to NRCELLCU Executed Successfully "/>
</record>
</block>
</outcome>
</execute>
</block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in fetching RRMPolicyRatio. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ <parameter name="field1" value="Calculated uLThptPerSlice for nearRTRIC "/>
+ <parameter name="field2" value="`$tmp.nearRTRIC.uLThptPerSlice`"/>
+ <parameter name="field3" value="dLThptPerSlice for nearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRIC.dLThptPerSlice`"/>
+ <parameter name="field5" value="maxNumberOfConn for nearRTRIC"/>
+ <parameter name="field6" value="`$tmp.nearRTRIC.maxNumberOfConns`"/>
+ <parameter name="field7" value="nearRTRICId"/>
+ <parameter name="field8" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBId`"/>
+ <parameter name="field11" value="RANNFNSSI"/>
+ <parameter name="field12" value="`$tmp.ranNFNSSIListEntry`"/>
+ <parameter name="field13" value="NSSAI"/>
+ <parameter name="field14" value="`$tmp.payload.sNSSAI`"/>
</record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
- </block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.rrmPolicyRatioList_CUUP_length' value='`$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="CUUP - RRMPolicyRatioList size"/>
- <parameter name="field2" value="`$tmp.rrmPolicyRatioList_CUUP_length`"/>
- </record>
- <for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_CUUP' />
- <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
- </execute>
- <set>
- <parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value="`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`" />
- </set>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
+ <block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.updatenearRTRIC.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
</execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{idGNBCUUPFunction}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
- <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyMembers-CUUP' />
- <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
- </execute>
- <set>
- <parameter name='tmp.RRMPolicyMember_id' value="`$tmp.rrmPolicyMembers-CUUP+1`" />
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Updated RRMPolicyRatio for CUUP is - "/>
- <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`"/>
- <parameter name="field3" value="RRMPolicyRatio_id is - "/>
- <parameter name="field4" value="`$tmp.RRMPolicyRatio_id`"/>
- <parameter name="field5" value="RRMPolicyMember_id CUUP is - "/>
- <parameter name="field6" value="`$tmp.RRMPolicyMember_id`"/>
- <parameter name="field7" value="Existing RRMPolicyMembers Length"/>
- <parameter name="field8" value="`$tmp.rrmPolicyMembers-CUUP`"/>
- <parameter name="field9" value="Update RRMPolicyRatio URL - "/>
- <parameter name="field10" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="patch-CUUP-RRMPolicyRatio-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellCU RRMpolicyRatio"/>
- </record>
- </block>
- </outcome>
- <outcome value='failure'>
- <block atomic='true'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
- </record>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <switch test='`$error-code`'>
- <outcome value='200'>
- <set>
- <parameter name="tmp.status" value="success"/>
- </set>
- </outcome>
- <outcome value='Other'>
- <set>
- <parameter name="tmp.status" value="`$error-code`"/>
- </set>
- </outcome>
- </switch>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- </execute>
- </block>
- </for>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="CUUP - CPS update"/>
- </record>
- <set>
- <parameter name='tmp.gNBCUUPList.gNBCUUPId' value='`$tmp.idGNBCUUPFunction`'/>
- <parameter name='tmp.gNBCUUPList.gNBId' value='`$tmp.gNBId`'/>
- <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="sNSSAI"/>
- <parameter name="field2" value="`$tmp.payload.sNSSAI`"/>
- <parameter name="field3" value="maxNumberOfConns"/>
- <parameter name="field4" value="`$tmp.maxNumberOfConns`"/>
- <parameter name="field5" value="gNBCUUPId"/>
- <parameter name="field6" value="`$tmp.gNBCUUPList.gNBCUUPId`"/>
- <parameter name="field7" value="pLMNId"/>
- <parameter name="field8" value="`$tmp.payload.pLMNId`"/>
- <parameter name="field9" value="gNBId"/>
- <parameter name="field10" value="`$tmp.gNBCUUPList.gNBId`"/>
- </record>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
- <parameter name="outputPath" value="tmp.cps.updateCUUP.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.cps.updateCUUP.url`"/>
- <parameter name="outputPath" value="tmp.cps.updateCUUP.url"/>
- <parameter name="target" value="{templateId}"/>
- <parameter name="replacement" value="`$prop.tbdmt.template.put-gnbcuupfunction`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for CPS TDBMT to update CUUP in CPS"/>
- <parameter name='field2' value="`$tmp.cps.updateCUUP.url`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$tmp.cps.updateCUUP.url`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcuupfunction.json'`" />
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="update-gNBCUUP-cps-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
- </record>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <switch test='`$error-code`'>
- <outcome value='200'>
- <set>
- <parameter name="tmp.status" value="success"/>
- </set>
- </outcome>
- <outcome value='Other'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.updatenearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.cps.updatenearRTRIC.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.put-nearrtric`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to update NearRTRIC in CPS"/>
+ <parameter name='field2' value="`$tmp.cps.updatenearRTRIC.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.updatenearRTRIC.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-nearrtric.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="modify-allocate-nearRTRIC-cps-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
<set>
- <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
</set>
- </outcome>
- </switch>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating CUUP. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating CUUP-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully updated NRCellCU pLMNinfo "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
- <parameter name="outputPath" value="tmp.cps.rrmpolicy.getCUUP.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.cps.rrmpolicy.getCUUP.url`"/>
- <parameter name="outputPath" value="tmp.cps.rrmpolicy.getCUUP.url"/>
- <parameter name="target" value="{templateId}"/>
- <parameter name="replacement" value="`$prop.tbdmt.template.get-cuup-rrm-policy`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for CPS TDBMT to get CUUP-rrmolicy from CPS"/>
- <parameter name='field2' value="`$tmp.cps.rrmpolicy.getCUUP.url`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.getCUUP.url`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-cuup-rrm-policy.json'`" />
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="get-rrmpolicy-gNBCUCP-cps-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
- </return>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Updated NearRT RIC info in CPS"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
</block>
- </outcome>
- <outcome value='success'>
<block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.addSliceProfile.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.addSliceProfile.url`"/>
+ <parameter name="outputPath" value="tmp.cps.addSliceProfile.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.add-slice-profile`"/>
+ </execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ <parameter name="field1" value="URL for CPS TDBMT to update NearRTRIC in CPS"/>
+ <parameter name='field2' value="`$tmp.cps.addSliceProfile.url`" />
</record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
- </block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.rrmPolicyRatio_cps_length' value="`$get-rrmpolicy-gNBCUCP-cps-response.attributes.RRMPolicyRatio_length`" />
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="rrmPolicyRatio_cps_length"/>
- <parameter name="field2" value="`$tmp.rrmPolicyRatio_cps_length`"/>
- </record>
- <for index='idcuup-rrm1' start='0' end='`$tmp.rrmPolicyRatio_cps_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
- <parameter name='source' value="`'getNFNSSIRIC-cps-response.GNBCUUPFunction['+$id-cuup+'].attributes.RRMPolicyRatio['+$idcuup-rrm1+'].id'`" />
- </execute>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>
- <parameter name='tmp.resourceID' value='`$tmp.idGNBCUUPFunction`'/>
- <parameter name='tmp.idGNBCUUPFunction' value='`$get-rrmpolicy-gNBCUCP-cps-response.idGNBCUUPFunction`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CUUP`"/>
- <parameter name="field3" value="pLMNId"/>
- <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
- <parameter name="field5" value="sNSSAI"/>
- <parameter name="field6" value="`$tmp.payload.sNSSAI`"/>
- <parameter name="field7" value="rrmPolicyID"/>
- <parameter name="field8" value="`$tmp.RRMPolicyRatio_id`"/>
- <parameter name="field9" value="resourceID"/>
- <parameter name="field10" value="`$tmp.resourceID`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
- <parameter name="outputPath" value="tmp.cps.rrmpolicy.putCUUP.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.cps.rrmpolicy.putCUUP.url`"/>
- <parameter name="outputPath" value="tmp.cps.rrmpolicy.putCUUP.url"/>
- <parameter name="target" value="{templateId}"/>
- <parameter name="replacement" value="`$prop.tbdmt.template.put-cuup-rrm-policy`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for CPS TDBMT to update CUUP-rrmpolicy in CPS"/>
- <parameter name='field2' value="`$tmp.cps.rrmpolicy.putCUUP.url`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.putCUUP.url`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-cuup-rrm-policy-ratio.json'`" />
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="update-gNBCUUP-cps-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
- </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.addSliceProfile.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-add-sliceprofile.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="modify-allocate-sliceprofile-cps-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
<set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating Slice Profile in CPS. Aborting RPC executiopn'/>
</set>
- <switch test='`$error-code`'>
- <outcome value='200'>
- <set>
- <parameter name="tmp.status" value="success"/>
- </set>
- </outcome>
- <outcome value='Other'>
- <set>
- <parameter name="tmp.status" value="`$error-code`"/>
- </set>
- </outcome>
- </switch>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
+ <parameter name="field1" value="Successfully Updated Slice Profile in CPS"/>
</record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
</block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully updated CPS - CUUP RRMPolicyRatio "/>
- </record>
- </block>
- </outcome>
- </execute>
+ </outcome>
+ </execute>
+ </block>
</block>
- </for>
- </block>
- </block>
- </block>
- </for>
- </block>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.DUList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-cps-response.GNBDUFunction_length'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Number of DU List Entries "/>
- <parameter name="field2" value="`$tmp.DUList_length`"/>
- <parameter name="field3" value="for the NearRTRIC"/>
- <parameter name="field4" value="`$tmp.nearRTRICId`"/>
- </record>
- <for index='id-du' start='0' end='`$tmp.DUList_length`'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.GNBDUId' />
- <parameter name='source' value="`'getNFNSSIRIC-cps-response.GNBDUFunction['+ $id-du +'].idGNBDUFunction'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellDUList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-cps-response.GNBDUFunction[' + $id-du +'].NRCellDU_length'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="GNBDUId "/>
- <parameter name="field2" value="`$tmp.GNBDUId`"/>
- <parameter name="field3" value="NRCellDU length "/>
- <parameter name="field4" value="`$tmp.cellDUList_length`"/>
- </record>
- <for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >
- <block atomic='true'>
- <for index='id-ta' start='0' end='`$getListofCells-cps-response.taCellsList_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellDULocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-cps-response.GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].idNRCellDU'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCU2' />
- <parameter name='source' value="`'getListofCells-cps-response.taCellsList[' + $id-ta + '].cellLocalId'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Compare cell id "/>
- </record>
- <switch test='`$tmp.cellDULocalId == $tmp.cellCU2`'>
- <outcome value='true'>
+ <for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.payload.trackingArea' />
+ <parameter name='source' value="`'payloadJson.input.sliceProfile.coverageAreaTAList['+ $ta+']'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="trackingArea "/>
+ <parameter name="field2" value="`$tmp.payload.trackingArea`"/>
+ </record>
+ <block atomic='true'>
<block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="CellDU is applicable for the NSSAI "/>
- </record>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellDULocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-cps-response.GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].idNRCellDU'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idGNBDUFunction}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
- </execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idNRCellDU}"/>
- <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.getListOfCells.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.cavsta.schemaset`"/>
</execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{mcc}"/>
- <parameter name="replacement" value="`$tmp.mcc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
+ <parameter name="source" value="`$tmp.cps.getListOfCells.url`"/>
+ <parameter name="outputPath" value="tmp.cps.getListOfCells.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.get-cells-list`"/>
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="patch cellCU NSSAI parameters"/>
- <parameter name="field2" value="`$tmp.nearRTRICId`"/>
- <parameter name="field3" value="`$tmp.GNBDUId`"/>
- <parameter name="field4" value="`$tmp.cellDULocalId`"/>
- <parameter name="field5" value="`$tmp.mcc`"/>
- <parameter name="field6" value="`$tmp.mnc`"/>
- <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="field1" value="URL for CPS TDBMT to Get List of cells of TAC"/>
+ <parameter name='field2' value="`$tmp.cps.getListOfCells.url`" />
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="patch-cellDU-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name="restapiUrl" value="`$tmp.cps.getListOfCells.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-cells-list.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="getListofCells-cps-response"/>
+ <parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
<outcome value='failure'>
- <block atomic='true'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
- </record>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <switch test='`$error-code`'>
- <outcome value='200'>
- <set>
- <parameter name="tmp.status" value="success"/>
- </set>
- </outcome>
- <outcome value='Other'>
- <set>
- <parameter name="tmp.status" value="`$error-code`"/>
- </set>
- </outcome>
- </switch>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
+ <block>
<set>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error Getting List of cells for the Tracking Area. Aborting RPC executiopn'/>
</set>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
<outcome value='success'>
- <block atomic='true'>
+ <block>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />
+ </execute>
+ <set>
+ <parameter name='tmp.response.size' value="`$getListofCells-cps-response._length`"/>
+ </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellDU PLMNInfo List"/>
+ <parameter name="field1" value="Successfully Obtained List of Cells from CPS"/>
+ <parameter name="field2" value="`$tmp.response.size`"/>
+ <parameter name="field3" value="List of Cells in the Tracking Area Relevant for RAN Slice Instantiation "/>
</record>
+ <for index='id-res' start='0' end='`$tmp.response.size`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.tacells.length' />
+ <parameter name='source' value="`'getListofCells-cps-response.['+$id-res+'].taCellsList_length'`" />
+ </execute>
+ <for index='idx' start='0' end='`$tmp.tacells.length`' >
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.trackingarea.cell' />
+ <parameter name='source' value="`'getListofCells-cps-response.['+$id-res+'].taCellsList[' + $idx + '].cellLocalId'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="`$tmp.trackingarea.cell`"/>
+ </record>
+ </for>
+ </block>
+ </for>
</block>
</outcome>
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
- <parameter name='prefixKey' value='tmp.DUList.response' />
- <parameter name='keyName' value='gNBDUId' />
- <parameter name='keyValue' value="`$tmp.GNBDUId`"/>
- </execute>
+ </block>
+ </block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.CUCPList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+$idy+'].GNBCUCPFunction_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Number of CUCP List Entries "/>
+ <parameter name="field2" value="`$tmp.CUCPList_length`"/>
+ <parameter name="field3" value="for the NearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRICId`"/>
+ </record>
+ <set>
+ <parameter name='tmp.cu-applicable' value='false'/>
+ </set>
+ <for index='idz' start='0' end='`$tmp.CUCPList_length`'>
<block atomic='true'>
- <block atomic='true'>
- <set>
- <parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />
- </set>
- <set>
- <parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />
- </set>
- <set>
- <parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />
- </set>
- <set>
- <parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />
- </set>
- <set>
- <parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />
- </set>
- <set>
- <parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />
- </set>
- <set>
- <parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />
- </set>
- <set>
- <parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />
- </set>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />
- </set>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="rRMPolicyDedicatedRatio for CellDU "/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
- <parameter name="field3" value="tmp.nearRTRIC.trafficCapacity1 "/>
- <parameter name="field4" value="`$tmp.nearRTRIC.trafficCapacity1`"/>
- <parameter name="field5" value="tmp.nearRTRIC.trafficCapacity "/>
- <parameter name="field6" value="`$tmp.nearRTRIC.trafficCapacity`"/>
- <parameter name="field7" value="tmp.nearRTRIC.trafficCapacityBPS"/>
- <parameter name="field8" value="`$tmp.nearRTRIC.trafficCapacityBPS`"/>
- <parameter name="field9" value="tmp.nrcelldu.totalPRBForSNSSAI "/>
- <parameter name="field10" value="`$tmp.nrcelldu.totalPRBForSNSSAI`"/>
- <parameter name="field11" value="tmp.nrcelldu.PRBPerImpactedCell "/>
- <parameter name="field12" value="`$tmp.nrcelldu.PRBPerImpactedCell`"/>
- <parameter name="field13" value="tmp.rRMPolicyDedicatedRatio.CellDU1 "/>
- <parameter name="field14" value="`$tmp.rRMPolicyDedicatedRatio.CellDU1`"/>
- </record>
- </block>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.CUCPName' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+$idy+'].GNBCUCPFunction['+ $idz +'].attributes.gNBCUName'`" />
+ </execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Calculated RRMPolicyRatio"/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
+ <parameter name="field1" value="CUCPName "/>
+ <parameter name="field2" value="`$tmp.CUCPName`"/>
</record>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{idGNBDUFunction}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{idNRCellDU}"/>
- <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCUList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+$idy+'].GNBCUCPFunction[' + $idz +'].NRCellCU_length'`" />
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="idNRCellDU"/>
- <parameter name="field2" value="`$tmp.cellDULocalId`"/>
+ <parameter name="field1" value="cellCU Length "/>
+ <parameter name="field2" value="`$tmp.cellCUList_length`"/>
+ <parameter name="field3" value="List of cells Length "/>
+ <parameter name="field4" value="`$getListofCells-cps-response.taCellsList_length`"/>
</record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="get-rrmpolicyratio-du-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
+ <for index='idcu' start='0' end='`$tmp.cellCUList_length`' >
+ <block atomic='true'>
+ <for index='id-ta' start='0' end='`$tmp.tacells.length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+$idy+'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.cellLocalId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCU2' />
+ <parameter name='source' value="`'getListofCells-cps-response.[0].taCellsList[' + $id-ta + '].cellLocalId'`" />
+ </execute>
+ <switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="`$tmp.cellCULocalId`"/>
+ <parameter name="field2" value="CellCU is applicable for the NSSAI "/>
+ </record>
+ <set>
+ <parameter name='tmp.cu-applicable' value='true'/>
+ </set>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idGNBCUCPFunction}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+ <parameter name="original_string" value="`$tmp.cellCULocalId`" />
+ <parameter name="regex" value="\."/>
+ <parameter name="ctx_memory_result_key" value="tmp.cellId" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNRCellCU}"/>
+ <parameter name="replacement" value="`$tmp.cellId[0]`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mcc}"/>
+ <parameter name="replacement" value="`$tmp.mcc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="patch cellCU NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.CUCPName`"/>
+ <parameter name="field4" value="`$tmp.cellId[0]`"/>
+ <parameter name="field5" value="`$tmp.mcc`"/>
+ <parameter name="field6" value="`$tmp.mnc`"/>
+ <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-cellCU-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellCU PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
+ <parameter name='prefixKey' value='tmp.CUCPList.response' />
+ <parameter name='keyName' value='gNBCUName' />
+ <parameter name='keyValue' value="`$tmp.CUCPName`"/>
+ </execute>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatio temp1 - "/>
+ <parameter name="field2" value="`$tmp.maxNumberOfConnsPercellCU`"/>
+ <parameter name="field3" value="RRMPolicyRatio temp2 - "/>
+ <parameter name="field4" value="`$tmp.rRMPolicyDedicatedRatio.CellCU1`"/>
+ <parameter name="field5" value="RRMPolicyRatio for this profile is - "/>
+ <parameter name="field6" value="`$tmp.rRMPolicyDedicatedRatio_SliceProfile`"/>
+ </record>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idGNBCUCPFunction}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idNRCellCU}"/>
+ <parameter name="replacement" value="`$tmp.cellId[0]`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="get-rrmpolicyratio-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNRCellCU}"/>
+ <parameter name="replacement" value="`$tmp.cellId[0]`"/>
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioList_length' value='`$get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatioList size"/>
+ <parameter name="field2" value="`$tmp.rrmPolicyRatioList_length`"/>
+ </record>
+ <for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatiocellCU_old' />
+ <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_new' value='`$tmp.rrmPolicyDedicatedRatiocellCU_old + $tmp.rRMPolicyDedicatedRatio_SliceProfile`' />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Existing RRMPolicyRatio for CellCU is - "/>
+ <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatiocellCU_old`"/>
+ <parameter name="field3" value="Updated RRMPolicyRatio for CellCU is - "/>
+ <parameter name="field4" value="`$tmp.rrmPolicyDedicatedRatio_CellCU_new`"/>
+ </record>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idGNBCUCPFunction}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idNRCellCU}"/>
+ <parameter name="replacement" value="`$tmp.cellId[0]`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyMembers' />
+ <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
+ <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.RRMPolicyMember_id' value='`$tmp.rrmPolicyMembers+1`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatio_id is - "/>
+ <parameter name="field2" value="`$tmp.RRMPolicyRatio_id`"/>
+ <parameter name="field3" value="RRMPolicyMember_id - "/>
+ <parameter name="field4" value="`$tmp.RRMPolicyMember_id`"/>
+ <parameter name="field5" value="RRMPolicyRatio update URL is - "/>
+ <parameter name="field6" value="`$tmp.getRRMPolicyRatio.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-cellCU-RRMPolicyRatio-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellCU RRMpolicyRatio"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </for>
+ </block>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUCP - CPS update"/>
+ </record>
+ <set>
+ <parameter name='tmp.cellCULocalId' value='`$tmp.cellId[0]`'/>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
+ <parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.CUCPName`'/>
+ <parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>
+ <parameter name='tmp.gNBCUCPList.nFType' value='RRC Connected Users'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="cellLocalId"/>
+ <parameter name="field2" value="`$tmp.cellId[0]`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field5" value="maxNumberOfConns"/>
+ <parameter name="field6" value="`$tmp.maxNumberOfConns`"/>
+ <parameter name="field7" value="gNBCUName"/>
+ <parameter name="field8" value="`$tmp.gNBCUCPList.gNBCUName`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBCUCPList.gNBId`"/>
+ <parameter name="field11" value="nFType"/>
+ <parameter name="field12" value="`$tmp.gNBCUCPList.nFType`"/>
+ </record>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.updateCUCP.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.updateCUCP.url`"/>
+ <parameter name="outputPath" value="tmp.cps.updateCUCP.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.put-nrcellcu`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to update CUCP in CPS"/>
+ <parameter name='field2' value="`$tmp.cps.updateCUCP.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.updateCUCP.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcucpfunction.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="update-gNBCUCP-cps-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in updating NRCellCU. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated NRCellCU pLMNinfo "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceId}"/>
+ <parameter name="replacement" value="`$tmp.cellId[0]`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="get RRMPolicyby Resource URL"/>
+ <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.getCUCP.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.rrmpolicy.getCUCP.url`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.getCUCP.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.get-nrcellcu-rrm-policy`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to get rrm policy in CPS"/>
+ <parameter name='field2' value="`$tmp.cps.rrmpolicy.getCUCP.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.getCUCP.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-nrcellcu-rrm-policy.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="getrrmpolicyratioinfo-cps-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioCPS_length' value='`$getrrmpolicyratioinfo-cps-response.attributes.RRMPolicyRatio_length`'/>
+ </set>
+ <for index='idcu-rrm1' start='0' end='`$tmp.rrmPolicyRatioCPS_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
+ <parameter name='source' value="`'getrrmpolicyratioinfo-cps-response.attributes.RRMPolicyRatio['+$idcu-rrm1+'].id'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.nrcellcu-rrmpolicymembers.size' />
+ <parameter name='source' value="`'getrrmpolicyratioinfo-cps-response.attributes.RRMPolicyRatio['+$idcu-rrm1+'].attributes.rRMPolicyMemberList_length'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.RRMPolicyMember_id' value='`$tmp.nrcellcu-rrmpolicymembers.size+1`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="rRMPolicyid"/>
+ <parameter name="field2" value="`$tmp.RRMPolicyRatio_id`"/>
+ <parameter name="field3" value="rrmpolicyembers length"/>
+ <parameter name="field4" value="`$tmp.nrcellcu-rrmpolicymembers.size`"/>
+ <parameter name="field5" value="rrmpolicyemberid"/>
+ <parameter name="field6" value="`$tmp.RRMPolicyMember_id`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.putCUCP.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.rrmpolicy.putCUCP.url`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.putCUCP.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.put-nrcellcu-rrm-policy`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to update rrm policy in CPS"/>
+ <parameter name='field2' value="`$tmp.cps.rrmpolicy.putCUCP.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.putCUCP.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcellcu-rrm-policy-ratio.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="update-gNBCUCP-rrmpolicy-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in updating RRMPolicy member - NRCellCU. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated CPS - NRCellCU RRMPolicy "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.member.putCUCP.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.rrmpolicy.member.putCUCP.url`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.member.putCUCP.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.put-nrcellcu-rrm-policy-member`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to update rrm policy member in CPS"/>
+ <parameter name='field2' value="`$tmp.cps.rrmpolicy.member.putCUCP.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.member.putCUCP.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcellcu-rrm-policy-member.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="update-nrcellcu-rrmpolicymember-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated CPS - NRCellCU RRMPolicyMember "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </for>
+ </block>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.CUUPList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+$idy+'].GNBCUUPFunction_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Number of CUUP List Entries "/>
+ <parameter name="field2" value="`$tmp.CUUPList_length`"/>
+ <parameter name="field3" value="for the NearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field5" value="applicable:"/>
+ <parameter name="field6" value="`$tmp.cu-applicable`"/>
+ </record>
+ <switch test='`$tmp.cu-applicable`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>
<block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.idGNBCUUPFunction' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+$idy+'].GNBCUUPFunction['+ $id-cuup +'].idGNBCUUPFunction'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="idGNBCUUPFunction "/>
+ <parameter name="field2" value="`$tmp.idGNBCUUPFunction`"/>
+ </record>
<block atomic='true'>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idGNBCUUPFunction}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mcc}"/>
+ <parameter name="replacement" value="`$tmp.mcc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
+ <parameter name="field1" value="patch CUUP NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.idGNBCUUPFunction`"/>
+ <parameter name="field4" value="`$tmp.mcc`"/>
+ <parameter name="field5" value="`$tmp.mnc`"/>
+ <parameter name="field6" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
</record>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <switch test='`$error-code`'>
- <outcome value='200'>
- <set>
- <parameter name="tmp.status" value="success"/>
- </set>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-gNBCUUP-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ </block>
</outcome>
- <outcome value='Other'>
- <set>
- <parameter name="tmp.status" value="`$error-code`"/>
- </set>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
+ </record>
+ </block>
</outcome>
- </switch>
+ </execute>
+ <set>
+ <parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />
+ </set>
+ <set>
+ <parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />
+ </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
+ <parameter name="field1" value="RRMPolicyRatio for this profile is - "/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio-CUUP`"/>
</record>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idGNBCUUPFunction}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
+ <parameter name='prefixKey' value='tmp.CUUPList.response' />
+ <parameter name='keyName' value='gNBCUUPId' />
+ <parameter name='keyValue' value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="get-rrmpolicyratio-cuup-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
+ <parameter name='accept' value='application/json' />
<parameter name="convertResponse" value="true"/>
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
- <block>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in fetching RRMPolicyRatio. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
<outcome value='success'>
- <block>
+ <block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
</record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />
+ </execute>
</block>
</outcome>
</execute>
- </block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
- </block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="RRMPolicyRatioList size"/>
- <parameter name="field2" value="`$tmp.rrmPolicyRatioDUList_length`"/>
- </record>
- <for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellDU-old' />
- <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
- </execute>
- <set>
- <parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value="`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`" />
- </set>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
- <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{idGNBDUFunction}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{idNRCellDU}"/>
- <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.RRMPolicyMembersDU_Length' />
- <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
- </execute>
- <set>
- <parameter name='tmp.RRMPolicyMember_id' value="`$tmp.RRMPolicyMembersDU_Length+1`" />
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="RRMPolicyRatioid - "/>
- <parameter name="field2" value="`$tmp.RRMPolicyRatio_id`"/>
- <parameter name="field3" value="RRMPolicyMemberid- "/>
- <parameter name="field4" value="`$tmp.RRMPolicyMember_id`"/>
- <parameter name="field5" value="Updated RRMPolicyRatio for CellDU is - "/>
- <parameter name="field6" value="`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="patch-cellDU-RRMPolicyRatio-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellDU RRMpolicyRatio"/>
- </record>
- </block>
- </outcome>
- <outcome value='failure'>
- <block atomic='true'>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioList_CUUP_length' value='`$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUUP - RRMPolicyRatioList size"/>
+ <parameter name="field2" value="`$tmp.rrmPolicyRatioList_CUUP_length`"/>
+ </record>
+ <for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >
<block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
- </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_CUUP' />
+ <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
+ </execute>
<set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ <parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value="`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`" />
</set>
- <switch test='`$error-code`'>
- <outcome value='200'>
- <set>
- <parameter name="tmp.status" value="success"/>
- </set>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
</outcome>
- <outcome value='Other'>
- <set>
- <parameter name="tmp.status" value="`$error-code`"/>
- </set>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
</outcome>
</switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idGNBCUUPFunction}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
+ <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyMembers-CUUP' />
+ <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.RRMPolicyMember_id' value="`$tmp.rrmPolicyMembers-CUUP+1`" />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Updated RRMPolicyRatio for CUUP is - "/>
+ <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`"/>
+ <parameter name="field3" value="RRMPolicyRatio_id is - "/>
+ <parameter name="field4" value="`$tmp.RRMPolicyRatio_id`"/>
+ <parameter name="field5" value="RRMPolicyMember_id CUUP is - "/>
+ <parameter name="field6" value="`$tmp.RRMPolicyMember_id`"/>
+ <parameter name="field7" value="Existing RRMPolicyMembers Length"/>
+ <parameter name="field8" value="`$tmp.rrmPolicyMembers-CUUP`"/>
+ <parameter name="field9" value="Update RRMPolicyRatio URL - "/>
+ <parameter name="field10" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-CUUP-RRMPolicyRatio-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellCU RRMpolicyRatio"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </for>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUUP - CPS update"/>
+ </record>
+ <set>
+ <parameter name='tmp.gNBCUUPList.gNBCUUPId' value='`$tmp.idGNBCUUPFunction`'/>
+ <parameter name='tmp.gNBCUUPList.gNBId' value='`$tmp.gNBId`'/>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI"/>
+ <parameter name="field2" value="`$tmp.payload.sNSSAI`"/>
+ <parameter name="field3" value="maxNumberOfConns"/>
+ <parameter name="field4" value="`$tmp.maxNumberOfConns`"/>
+ <parameter name="field5" value="gNBCUUPId"/>
+ <parameter name="field6" value="`$tmp.gNBCUUPList.gNBCUUPId`"/>
+ <parameter name="field7" value="pLMNId"/>
+ <parameter name="field8" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBCUUPList.gNBId`"/>
+ </record>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.updateCUUP.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.updateCUUP.url`"/>
+ <parameter name="outputPath" value="tmp.cps.updateCUUP.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.put-gnbcuupfunction`"/>
+ </execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
+ <parameter name="field1" value="URL for CPS TDBMT to update CUUP in CPS"/>
+ <parameter name='field2' value="`$tmp.cps.updateCUUP.url`" />
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="restapiUrl" value="`$tmp.cps.updateCUUP.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcuupfunction.json'`" />
<parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name="responsePrefix" value="update-gNBCUUP-cps-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
+ <parameter name='accept' value='application/json' />
<parameter name="convertResponse" value="true"/>
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
- <block>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in updating CUUP. Aborting RPC executiopn'/>
+ </set>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating CUUP-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
<outcome value='success'>
<block>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
+ <parameter name="field1" value="Successfully updated NRCellCU pLMNinfo "/>
</record>
</block>
</outcome>
</execute>
</block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellDU RRMPolicyRatio. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- </execute>
- </block>
- </for>
- </block>
- <block atomic='true'>
- <set>
- <parameter name='tmp.cellLocalId' value='`$tmp.cellDULocalId`'/>
- <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
- <parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>
- <parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>
- <parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>
- <parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>
- <parameter name='tmp.pLMNId' value='`$tmp.payload.pLMNId`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="cellLocalId"/>
- <parameter name="field2" value="`$tmp.cellLocalId`"/>
- <parameter name="field3" value="pLMNId"/>
- <parameter name="field4" value="`$tmp.pLMNId`"/>
- <parameter name="field5" value="maxNumberOfConns"/>
- <parameter name="field6" value="`$tmp.maxNumberOfConns`"/>
- <parameter name="field7" value="GNBDUId"/>
- <parameter name="field8" value="`$tmp.gNBDUList.gNBDUId`"/>
- <parameter name="field9" value="gNBId"/>
- <parameter name="field10" value="`$tmp.gNBId`"/>
- <parameter name="field11" value="dLThptPerSlice"/>
- <parameter name="field12" value="`$tmp.dLThptPerSlice`"/>
- <parameter name="field13" value="uLThptPerSlice"/>
- <parameter name="field14" value="`$tmp.uLThptPerSlice`"/>
- </record>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
- <parameter name="outputPath" value="tmp.cps.updateDU.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.cps.updateDU.url`"/>
- <parameter name="outputPath" value="tmp.cps.updateDU.url"/>
- <parameter name="target" value="{templateId}"/>
- <parameter name="replacement" value="`$prop.tbdmt.template.put-nrcelldu`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for CPS TDBMT to update CUCP in CPS"/>
- <parameter name='field2' value="`$tmp.cps.updateDU.url`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$tmp.cps.updateDU.url`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbdufunction.json'`" />
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="update-gNBCUCP-cps-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
- </record>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <switch test='`$error-code`'>
- <outcome value='200'>
- <set>
- <parameter name="tmp.status" value="success"/>
- </set>
- </outcome>
- <outcome value='Other'>
- <set>
- <parameter name="tmp.status" value="`$error-code`"/>
- </set>
- </outcome>
- </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.getCUUP.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.rrmpolicy.getCUUP.url`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.getCUUP.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.get-cuup-rrm-policy`"/>
+ </execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
+ <parameter name="field1" value="URL for CPS TDBMT to get CUUP-rrmolicy from CPS"/>
+ <parameter name='field2' value="`$tmp.cps.rrmpolicy.getCUUP.url`" />
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.getCUUP.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-cuup-rrm-policy.json'`" />
<parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name="responsePrefix" value="get-rrmpolicy-gNBCUUP-cps-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
+ <parameter name='accept' value='application/json' />
<parameter name="convertResponse" value="true"/>
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
- <block>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
<outcome value='success'>
- <block>
+ <block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
</record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />
+ </execute>
</block>
</outcome>
</execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatio_cps_length' value="`$get-rrmpolicy-gNBCUUP-cps-response.attributes.RRMPolicyRatio_length`" />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="rrmPolicyRatio_cps_length"/>
+ <parameter name="field2" value="`$tmp.rrmPolicyRatio_cps_length`"/>
+ </record>
+ <for index='idcuup-rrm1' start='0' end='`$tmp.rrmPolicyRatio_cps_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
+ <parameter name='source' value="`'get-rrmpolicy-gNBCUUP-cps-response.attributes.RRMPolicyRatio['+$idcuup-rrm1+'].id'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cuup-rrmpolicymembers.size' />
+ <parameter name='source' value="`'get-rrmpolicy-gNBCUUP-cps-response.attributes.RRMPolicyRatio['+$idcuup-rrm1+'].attributes.rRMPolicyMemberList_length'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.RRMPolicyMember_id' value='`$tmp.cuup-rrmpolicymembers.size+1`'/>
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>
+ <parameter name='tmp.idGNBCUUPFunction' value='`$get-rrmpolicy-gNBCUUP-cps-response.idGNBCUUPFunction`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CUUP`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field5" value="sNSSAI"/>
+ <parameter name="field6" value="`$tmp.payload.sNSSAI`"/>
+ <parameter name="field7" value="rrmPolicyID"/>
+ <parameter name="field8" value="`$tmp.RRMPolicyRatio_id`"/>
+ <parameter name="field9" value="idGNBCUUPFunction"/>
+ <parameter name="field10" value="`$tmp.idGNBCUUPFunction`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.putCUUP.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.rrmpolicy.putCUUP.url`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.putCUUP.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.put-cuup-rrm-policy`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to update CUUP-rrmpolicy in CPS"/>
+ <parameter name='field2' value="`$tmp.cps.rrmpolicy.putCUUP.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.putCUUP.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-cuup-rrm-policy-ratio.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="update-rrmpolicy-cuup-cps-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated CPS - CUUP RRMPolicyRatio "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.member.putCUUP.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.rrmpolicy.member.putCUUP.url`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.member.putCUUP.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.put-cuup-rrm-policy-member`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to update CUUP-rrmpolicymember in CPS"/>
+ <parameter name='field2' value="`$tmp.cps.rrmpolicy.member.putCUUP.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.member.putCUUP.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-cuup-rrm-policy-member.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="update-rrmpolicy-member-cuup-cps-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in updating RRMPolicyRatioMember - CUUP. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated CPS - CUUP RRMPolicyRatio Member"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </for>
</block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating NRCellDU. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully updated NRCellCU pLMNinfo "/>
- </record>
</block>
- </outcome>
- </execute>
+ </block>
+ </for>
</block>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
- <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
- <parameter name="target" value="{resourceId}"/>
- <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="get RRMPolicyby Resource URL"/>
- <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
- <parameter name="outputPath" value="tmp.cps.rrmpolicy.getDU.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+ </outcome>
+ </switch>
+ </block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.DUList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+$idy+'].GNBDUFunction_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Number of DU List Entries "/>
+ <parameter name="field2" value="`$tmp.DUList_length`"/>
+ <parameter name="field3" value="for the NearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRICId`"/>
+ </record>
+ <for index='id-du' start='0' end='`$tmp.DUList_length`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.GNBDUId' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+$idy+'].GNBDUFunction['+ $id-du +'].idGNBDUFunction'`" />
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.cps.rrmpolicy.getDU.url`"/>
- <parameter name="outputPath" value="tmp.cps.rrmpolicy.getDU.url"/>
- <parameter name="target" value="{templateId}"/>
- <parameter name="replacement" value="`$prop.tbdmt.template.get-nrcelldu-rrm-policy`"/>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellDUList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+$idy+'].GNBDUFunction[' + $id-du +'].NRCellDU_length'`" />
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for CPS TDBMT to get DU-rrmolicy from CPS"/>
- <parameter name='field2' value="`$tmp.cps.rrmpolicy.getDU.url`" />
+ <parameter name="field1" value="GNBDUId "/>
+ <parameter name="field2" value="`$tmp.GNBDUId`"/>
+ <parameter name="field3" value="NRCellDU length "/>
+ <parameter name="field4" value="`$tmp.cellDUList_length`"/>
</record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.getDU.url`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-nrcelldu-rrm-policy.json'`" />
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="get-gNBDU-cps-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
- </block>
- </outcome>
- </execute>
- <set>
- <parameter name='tmp.rrmPolicyRatio_cps_du_length' value="`$get-gNBDU-cps-response.attributes.RRMPolicyRatio_length`" />
- </set>
- <for index='iddu-rrm1' start='0' end='`$tmp.rrmPolicyRatio_cps_du_length`' >
+ <for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >
<block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
- <parameter name='source' value="`'get-gNBDU-cps-response.attributes.RRMPolicyRatio['+$iddu-rrm1+'].id'`" />
- </execute>
- <set>
- <parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>
- <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
- <parameter name="field3" value="pLMNId"/>
- <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
- <parameter name="field5" value="sNSSAI"/>
- <parameter name="field6" value="`$tmp.sNSSAI`"/>
- <parameter name="field7" value="rrmPolicyID"/>
- <parameter name="field8" value="`$tmp.RRMPolicyRatio_id`"/>
- <parameter name="field9" value="resourceID"/>
- <parameter name="field10" value="`$tmp.resourceID`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
- <parameter name="outputPath" value="tmp.cps.rrmpolicy.putDU.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.cps.rrmpolicy.putDU.url`"/>
- <parameter name="outputPath" value="tmp.cps.rrmpolicy.putDU.url"/>
- <parameter name="target" value="{templateId}"/>
- <parameter name="replacement" value="`$prop.tbdmt.template.put-nrcelldu-rrm-policy`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for CPS TDBMT to update DU-rrmolicy from CPS"/>
- <parameter name='field2' value="`$tmp.cps.rrmpolicy.putDU.url`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.putDU.url`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcelldu-rrm-policy-ratio.json'`" />
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="update-gNBDU-cps-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
- </record>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <switch test='`$error-code`'>
- <outcome value='200'>
+ <for index='id-ta' start='0' end='`$tmp.tacells.length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellDULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+$idy+'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.cellLocalId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellDU2' />
+ <parameter name='source' value="`'getListofCells-cps-response.[0].taCellsList[' + $id-ta + '].cellLocalId'`" />
+ </execute>
+ <switch test='`$tmp.cellDULocalId == $tmp.cellDU2`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CellDU is applicable for the NSSAI "/>
+ </record>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idGNBDUFunction}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+ <parameter name="original_string" value="`$tmp.cellDULocalId`" />
+ <parameter name="regex" value="\."/>
+ <parameter name="ctx_memory_result_key" value="tmp.cellId" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.cellId[0]`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mcc}"/>
+ <parameter name="replacement" value="`$tmp.mcc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="patch cellCU NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.GNBDUId`"/>
+ <parameter name="field4" value="`$tmp.cellDULocalId`"/>
+ <parameter name="field5" value="`$tmp.mcc`"/>
+ <parameter name="field6" value="`$tmp.mnc`"/>
+ <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-cellDU-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellDU PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
+ <parameter name='prefixKey' value='tmp.DUList.response' />
+ <parameter name='keyName' value='gNBDUId' />
+ <parameter name='keyValue' value="`$tmp.GNBDUId`"/>
+ </execute>
+ <block atomic='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />
+ </set>
+ <set>
+ <parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />
+ </set>
+ <set>
+ <parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />
+ </set>
+ <set>
+ <parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />
+ </set>
+ <set>
+ <parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />
+ </set>
+ <set>
+ <parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />
+ </set>
+ <set>
+ <parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />
+ </set>
+ <set>
+ <parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="rRMPolicyDedicatedRatio for CellDU "/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
+ <parameter name="field3" value="tmp.nearRTRIC.trafficCapacity1 "/>
+ <parameter name="field4" value="`$tmp.nearRTRIC.trafficCapacity1`"/>
+ <parameter name="field5" value="tmp.nearRTRIC.trafficCapacity "/>
+ <parameter name="field6" value="`$tmp.nearRTRIC.trafficCapacity`"/>
+ <parameter name="field7" value="tmp.nearRTRIC.trafficCapacityBPS"/>
+ <parameter name="field8" value="`$tmp.nearRTRIC.trafficCapacityBPS`"/>
+ <parameter name="field9" value="tmp.nrcelldu.totalPRBForSNSSAI "/>
+ <parameter name="field10" value="`$tmp.nrcelldu.totalPRBForSNSSAI`"/>
+ <parameter name="field11" value="tmp.nrcelldu.PRBPerImpactedCell "/>
+ <parameter name="field12" value="`$tmp.nrcelldu.PRBPerImpactedCell`"/>
+ <parameter name="field13" value="tmp.rRMPolicyDedicatedRatio.CellDU1 "/>
+ <parameter name="field14" value="`$tmp.rRMPolicyDedicatedRatio.CellDU1`"/>
+ </record>
+ </block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Calculated RRMPolicyRatio"/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
+ </record>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idGNBDUFunction}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.cellId[0]`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="idNRCellDU"/>
+ <parameter name="field2" value="`$tmp.cellId[0]`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="get-rrmpolicyratio-du-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
<set>
- <parameter name="tmp.status" value="success"/>
+ <parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length`'/>
</set>
- </outcome>
- <outcome value='Other'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatioList size"/>
+ <parameter name="field2" value="`$tmp.rrmPolicyRatioDUList_length`"/>
+ </record>
+ <for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellDU-old' />
+ <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value="`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`" />
+ </set>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
+ <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idGNBDUFunction}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.cellId[0]`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyMembersDU_Length' />
+ <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.RRMPolicyMember_id' value="`$tmp.RRMPolicyMembersDU_Length+1`" />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatioid - "/>
+ <parameter name="field2" value="`$tmp.RRMPolicyRatio_id`"/>
+ <parameter name="field3" value="RRMPolicyMemberid- "/>
+ <parameter name="field4" value="`$tmp.RRMPolicyMember_id`"/>
+ <parameter name="field5" value="Updated RRMPolicyRatio for CellDU is - "/>
+ <parameter name="field6" value="`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-cellDU-RRMPolicyRatio-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellDU RRMpolicyRatio"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellDU RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </for>
+ </block>
+ <block atomic='true'>
<set>
- <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name='tmp.cellLocalId' value='`$tmp.cellId[0]`'/>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
+ <parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>
+ <parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>
+ <parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>
+ <parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>
+ <parameter name='tmp.pLMNId' value='`$tmp.payload.pLMNId`'/>
</set>
- </outcome>
- </switch>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
- <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="cellLocalId"/>
+ <parameter name="field2" value="`$tmp.cellLocalId`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.pLMNId`"/>
+ <parameter name="field5" value="maxNumberOfConns"/>
+ <parameter name="field6" value="`$tmp.maxNumberOfConns`"/>
+ <parameter name="field7" value="GNBDUId"/>
+ <parameter name="field8" value="`$tmp.gNBDUList.gNBDUId`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBId`"/>
+ <parameter name="field11" value="dLThptPerSlice"/>
+ <parameter name="field12" value="`$tmp.dLThptPerSlice`"/>
+ <parameter name="field13" value="uLThptPerSlice"/>
+ <parameter name="field14" value="`$tmp.uLThptPerSlice`"/>
+ </record>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.updateDU.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.updateDU.url`"/>
+ <parameter name="outputPath" value="tmp.cps.updateDU.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.put-nrcelldu`"/>
+ </execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
+ <parameter name="field1" value="URL for CPS TDBMT to update CUCP in CPS"/>
+ <parameter name='field2' value="`$tmp.cps.updateDU.url`" />
</record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.updateDU.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbdufunction.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="update-gNBCUCP-cps-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in updating NRCellDU. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated NRCellCU pLMNinfo "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
</block>
- </outcome>
- </execute>
- </block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully updated ConfigDB - NRCellDU RRMPolicyRatio "/>
- </record>
- </block>
- </outcome>
- </execute>
+ <set>
+ <parameter name='tmp.cellDULocalId' value='`$tmp.cellId[0]`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="cell Locall ID - DU"/>
+ <parameter name="field2" value="`$tmp.cellDULocalId`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.getDU.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.rrmpolicy.getDU.url`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.getDU.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.get-nrcelldu-rrm-policy`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to get DU-rrmolicy from CPS"/>
+ <parameter name='field2' value="`$tmp.cps.rrmpolicy.getDU.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.getDU.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-get-nrcelldu-rrm-policy.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="get-gNBDU-rrmpolicy-cps-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatio_cps_du_length' value="`$get-gNBDU-rrmpolicy-cps-response.attributes.RRMPolicyRatio_length`" />
+ </set>
+ <for index='iddu-rrm1' start='0' end='`$tmp.rrmPolicyRatio_cps_du_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
+ <parameter name='source' value="`'get-gNBDU-rrmpolicy-cps-response.attributes.RRMPolicyRatio['+$iddu-rrm1+'].id'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field5" value="sNSSAI"/>
+ <parameter name="field6" value="`$tmp.sNSSAI`"/>
+ <parameter name="field7" value="rrmPolicyID"/>
+ <parameter name="field8" value="`$tmp.RRMPolicyRatio_id`"/>
+ <parameter name="field9" value="resourceID"/>
+ <parameter name="field10" value="`$tmp.resourceID`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.nrcelldu-rrmpolicymembers.size' />
+ <parameter name='source' value="`'get-gNBDU-rrmpolicy-cps-response.attributes.RRMPolicyRatio['+$idcu-rrm1+'].attributes.rRMPolicyMemberList_length'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.RRMPolicyMember_id' value='`$tmp.nrcelldu-rrmpolicymembers.size+1`'/>
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.putDU.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.rrmpolicy.putDU.url`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.putDU.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.put-nrcelldu-rrm-policy`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to update DU-rrmolicy from CPS"/>
+ <parameter name='field2' value="`$tmp.cps.rrmpolicy.putDU.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.putDU.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcelldu-rrm-policy-ratio.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="update-gNBDU-rrmpolicy-cps-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated CPS - NRCellDU RRMPolicyRatio "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.member.putDU.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.rrmpolicy.member.putDU.url`"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.member.putDU.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <parameter name="replacement" value="`$prop.tbdmt.template.put-nrcelldu-rrm-policy-member`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to update DU-rrmolicy policy from CPS"/>
+ <parameter name='field2' value="`$tmp.cps.rrmpolicy.member.putDU.url`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$tmp.cps.rrmpolicy.member.putDU.url`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-nrcelldu-rrm-policy-member.json'`" />
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="update-gNBDU-rrmpolicy-member-cps-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Response code"/>
+ <parameter name="field2" value="`$error-code`" />
+ </record>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <switch test='`$error-code`'>
+ <outcome value='200'>
+ <set>
+ <parameter name="tmp.status" value="success"/>
+ </set>
+ </outcome>
+ <outcome value='Other'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ </set>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in updating RRMPolicyRatioMember - NRCellDU. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated CPS - NRCellDU RRMPolicyRatio Member"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </for>
+ </block>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
</block>
</for>
</block>
- </block>
- </outcome>
- </switch>
- </block>
- </for>
- </block>
- </for>
+ </for>
+ </block>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
</block>
- </for>
- </block>
+ </outcome>
+ </switch>
</block>
</for>
<return status='success'>
@@ -3096,7 +3936,7 @@
<parameter name="error-message" value="SUCCESSFUL Execution" />
</return>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
<parameter name="field1" value="Update inventory in cps"/>
</record>
@@ -3121,7 +3961,7 @@
<parameter name="replacement" value="`$prop.tbdmt.template.update-ran-inventory`"/>
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
<parameter name="field1" value="URL for CPS TDBMT to update inventory in CPS"/>
<parameter name='field2' value="`$tmp.cps.updateInventory.url`" />
@@ -3129,7 +3969,7 @@
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
<parameter name="restapiUrl" value="`$tmp.cps.updateInventory.url`"/>
<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-update-ran-inventory.json'`" />
- <parameter name="httpMethod" value="PUT"/>
+ <parameter name="httpMethod" value="POST"/>
<parameter name="responsePrefix" value="update-inventory-cps-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
@@ -3208,7 +4048,7 @@
<outcome value='success'>
<block>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
<parameter name="field1" value="SO Response Sent "/>
</record>
@@ -3256,7 +4096,7 @@
<parameter name="replacement" value="`$tmp.requestID`"/>
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
<parameter name="field1" value="URL for SO Callback Response"/>
<parameter name='field2' value="`$payloadJson.input.callbackURL`" />
@@ -3293,7 +4133,7 @@
<outcome value='success'>
<block>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate-cps.log" />
<parameter name="level" value="info" />
<parameter name="field1" value="SO Response Sent "/>
</record>