summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--odlsli/src/main/properties/ran-slice-api-dg.properties26
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json854
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.json5820
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml2
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate-CPS.xml4414
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cells-list.json2
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cuup-rrm-policy.json2
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nearrtric-by-rannfnssi.json4
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcellcu-rrm-policy.json2
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcelldu-rrm-policy.json4
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy-member.json18
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy-ratio.json14
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy.json35
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcucpfunction.json32
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcuupfunction.json22
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbdufunction.json34
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy-member.json18
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy-ratio.json15
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy.json43
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy-member.json19
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy-ratio.json15
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy.json42
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory.json6
-rw-r--r--platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json34
24 files changed, 5667 insertions, 5810 deletions
diff --git a/odlsli/src/main/properties/ran-slice-api-dg.properties b/odlsli/src/main/properties/ran-slice-api-dg.properties
index 7dba4d85..76287068 100644
--- a/odlsli/src/main/properties/ran-slice-api-dg.properties
+++ b/odlsli/src/main/properties/ran-slice-api-dg.properties
@@ -3,7 +3,7 @@ controller.url=http://sdnc-oam.onap:8282
controller.user=admin
controller.pwd=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
ransim-mounted=false
-configdb-deployed=true
+configdb-deployed=false
cps-deployed=true
restapi.trustStoreFileName=/opt/onap/sdnc/data/stores/truststore.openecomp.client.jks
@@ -155,7 +155,7 @@ restapi.removeRRMPolicyMember.ToNRCellDU.ransim-mounted=/restconf/config/network
restapi.nearrtric.removeSliceProfile.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/attributes/sliceProfilesList/{sliceProfileId}
#URLs for ConfigDB TO BE FINALIZED
-configdb.url=http://10.31.4.14:8086/api/sdnc-config-db/v4
+configdb.url=${CONFIG_DB_URL:-http://10.31.4.14:8086/api/sdnc-config-db/v4}
restapi.configdb.getNearRTRICsFromTrackingArea=/nearrtric-list/{trackingArea}
restapi.configdb.getListOfCells=/cell-list/{trackingArea}
restapi.configdb.getCUCellsOfRIC=/cu-cell-list/{nearRTRICId}
@@ -194,8 +194,12 @@ restapi.configDB.updategNBDU.templatefile=ranSlice-configDB-updategNBDU.json
#RRMPolicyID to be incremented by 1, anytime neew RRMPolicy is added
configDB.rrmPolicyID=1
+#CPS endpoint to fetch the anchors
+restapi.cps.anchors.endpoint=${CPS_URL:-http://10.31.4.14:8883}/cps/api/v1/dataspaces/E2EDemo/anchors
+
#CPS-TBDMT Details
-#restapi.cps.tbdmt.execute.endpoint=http://10.31.4.14:8081/execute/{schemaSet}/{templateId}
+restapi.cps.tbdmt.execute.endpoint=${CPS_TBDMT_URL:-http://10.31.4.14:8081}/execute/{schemaSet}/{templateId}
+
#Schemasets
rannetwork.schemaset=ran-network
@@ -208,25 +212,18 @@ inventory.schemaset=ran-inventory
tbdmt.template.get-nearrtric-by-rannfnssi=get-nearrtric-by-rannfnssi
tbdmt.template.get-cells-list=get-cells-list
tbdmt.template.put-nearrtric=put-nearrtric
-tbdmt.template.put-gnbcucpfunction=put-gnbcucpfunction
+tbdmt.template.put-nrcellcu=put-nrcellcu
tbdmt.template.put-gnbcuupfunction=put-gnbcuupfunction
-itbdmt.template.put-gnbdufunction=put-gnbdufunction
+tbdmt.template.put-nrcelldu=put-nrcelldu
tbdmt.template.put-nrcellcu-rrm-policy=put-nrcellcu-rrm-policy
+tbdmt.template.get-nrcellcu-rrm-policy=get-nrcellcu-rrm-policy
tbdmt.template.put-cuup-rrm-policy=put-cuup-rrm-policy
tbdmt.template.put-nrcelldu-rrm-policy=put-nrcelldu-rrm-policy
tbdmt.template.update-ran-inventory=update-ran-inventory
-tbdmt.template.get-nrcellcu-rrm-policy=get-nrcellcu-rrm-policy
tbdmt.template.get-cuup-rrm-policy=get-cuup-rrm-policy
-tbdmt.template.gett-nrcelldu-rrm-policy=get-nrcelldu-rrm-policy
+tbdmt.template.get-nrcelldu-rrm-policy=get-nrcelldu-rrm-policy
-#CPS-TDMT payload templates
-
-#modify-allocate
-restapi.tbdmt.payload.get-nearrtric-by-rannfnssi=cps-get-nearrtric-by-rannfnssi.json
-restapi.tbdmt.payload.get-cells-list=cps-get-cells-list.json
-restapi.tbdmt.payload.put-nearrtric=cps-put-nearrtric.json
-
#RAN Simulator Related Properties
#The below RRMPolicy and PolicyMemberList ID's to be incremented by 1
#anytime new RRMPolicy or PolicyMember is added to the list
@@ -249,4 +246,3 @@ restapi.so.password=password1$
a1.requestid=9d2d790e-a5f0-11e8-98d0-529269fb1459
a1.version=1.0
a1.action=putA1Policy
-
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json
index 947b946f..35abd2e5 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json
@@ -1,36 +1,36 @@
[
{
- "id": "7f46c45e.5a835c",
+ "id": "2b7982a6.f6764e",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSlice' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 214.75,
- "y": 249.9895887374878,
- "z": "bf8d77f5.5e0988",
+ "x": 177.65431213378906,
+ "y": 216.98958587646484,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "6570a9b8.4d3798"
+ "d0a3fca3.ffbb5"
]
]
},
{
- "id": "7a271176.5f5e3",
+ "id": "aec798f5.9cb658",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 217.75,
- "y": 99.98958492279053,
- "z": "bf8d77f5.5e0988",
+ "x": 180.65431213378906,
+ "y": 66.98958206176758,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "c48eb384.1a395"
+ "2f8c0b55.351bd4"
]
]
},
{
- "id": "c48eb384.1a395",
+ "id": "2f8c0b55.351bd4",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,1266 +38,1266 @@
"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": 275.74998474121094,
- "y": 160.98968029022217,
- "z": "bf8d77f5.5e0988",
+ "x": 238.654296875,
+ "y": 127.98967742919922,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "7f46c45e.5a835c"
+ "2b7982a6.f6764e"
]
]
},
{
- "id": "6570a9b8.4d3798",
+ "id": "d0a3fca3.ffbb5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 224.23959732055664,
- "y": 414.9896297454834,
- "z": "bf8d77f5.5e0988",
+ "x": 187.1439094543457,
+ "y": 381.98962688446045,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "3a47a900.d69e36",
- "66be0312.7e570c",
- "4847bb93.d457c4",
- "e54ff524.7f2aa8",
- "5d33a8fc.1e4c08",
- "43670bf6.f2acf4",
- "4f1b2458.4b515c",
- "1c19b41.7de184c",
- "2bac4fb4.fedab"
+ "34ce1294.f9161e",
+ "de3345fe.4fb088",
+ "66d3cf2f.33747",
+ "1fc8e5ec.89eaca",
+ "69bd3f92.ce292",
+ "773c7a03.1bfa34",
+ "58ff367f.fa43d8",
+ "bb885e89.94255",
+ "42f62119.58b0d"
]
]
},
{
- "id": "1c19b41.7de184c",
+ "id": "bb885e89.94255",
"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": 484.23958587646484,
- "y": 960.9899959564209,
- "z": "bf8d77f5.5e0988",
+ "x": 447.1438980102539,
+ "y": 927.989993095398,
+ "z": "70358dcd.8dc714",
"wires": []
},
{
- "id": "bb8e1dbe.c2ac",
+ "id": "c550815d.30dd1",
"type": "comment",
"name": "instantiateRANSlice",
"info": "",
"comments": "",
- "x": 499.75,
- "y": 92.99999904632568,
- "z": "bf8d77f5.5e0988",
+ "x": 462.65431213378906,
+ "y": 59.999996185302734,
+ "z": "70358dcd.8dc714",
"wires": []
},
{
- "id": "3a47a900.d69e36",
+ "id": "34ce1294.f9161e",
"type": "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=\"RPC to handle instantiateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$instantiate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$instantiate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$instantiate-r-a-n-slice-input.payload`\"/>",
"comments": "",
"outputs": 1,
- "x": 557.7503356933594,
- "y": 144.01045894622803,
- "z": "bf8d77f5.5e0988",
+ "x": 520.6546478271484,
+ "y": 111.01045608520508,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "4847bb93.d457c4",
+ "id": "66d3cf2f.33747",
"type": "execute",
"name": "execute jsonStringToCtx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='instantiate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
"comments": "",
"outputs": 1,
- "x": 606.7500915527344,
- "y": 233.01042652130127,
- "z": "bf8d77f5.5e0988",
+ "x": 569.6544036865234,
+ "y": 200.01042366027832,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "b2bc0181.c598"
+ "5572300f.8a171"
]
]
},
{
- "id": "b2bc0181.c598",
+ "id": "5572300f.8a171",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 834.7501029968262,
- "y": 213.01044178009033,
- "z": "bf8d77f5.5e0988",
+ "x": 797.6544151306152,
+ "y": 180.01043891906738,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "372ce630.f60a6a"
+ "e799b160.0eae6"
]
]
},
{
- "id": "c5c1f27e.aea88",
+ "id": "bf6e7919.dfd178",
"type": "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=\"Payload for instantiateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.sliceProfile.NSSAI`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.latency`\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$payloadJson.input.sliceProfile.dLThptPerSlice`\"/>\n<parameter name=\"field8\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>\n<parameter name=\"field9\" value=\"`$payloadJson.input.sliceProfile.coverageAreaList[0]`\"/>\n<parameter name=\"field10\" value=\"`$payloadJson.input.sliceProfile.uEMobilityLevel`\"/>\n<parameter name=\"field11\" value=\"`$payloadJson.input.sliceProfile.resourceSharingLevel`\"/>\n<parameter name=\"field12\" value=\"`$payloadJson.input.RANNSSIId`\"/>\n<parameter name=\"field13\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field14\" value=\"`$payloadJson.input.callbackURL`\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1177.7502765655518,
- "y": 220.01047039031982,
- "z": "bf8d77f5.5e0988",
+ "x": 1140.6545886993408,
+ "y": 187.01046752929688,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "e54ff524.7f2aa8",
+ "id": "1fc8e5ec.89eaca",
"type": "execute",
"name": "execute Properties",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 588.7500534057617,
- "y": 318.01038360595703,
- "z": "bf8d77f5.5e0988",
+ "x": 551.6543655395508,
+ "y": 285.0103807449341,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "5d33a8fc.1e4c08",
+ "id": "69bd3f92.ce292",
"type": "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=\"Properties read .. controller details \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field5\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field6\" value=\"`$prop.ransim-mounted`\"/>\n<parameter name=\"field7\" value=\"config DB deployed (true/false): \"/>\n<parameter name=\"field8\" value=\"`$prop.configdb-deployed`\"/>",
"comments": "",
"outputs": 1,
- "x": 567.7500953674316,
- "y": 367.01042652130127,
- "z": "bf8d77f5.5e0988",
+ "x": 530.6544075012207,
+ "y": 334.0104236602783,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "43670bf6.f2acf4",
+ "id": "773c7a03.1bfa34",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 460.75011444091797,
- "y": 734.8993282318115,
- "z": "bf8d77f5.5e0988",
+ "x": 423.65442657470703,
+ "y": 701.8993253707886,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "ad2bf567.5186a8",
- "f86173fb.997e5"
+ "5619de91.db0ed",
+ "a804d291.c046f"
]
]
},
{
- "id": "ad2bf567.5186a8",
+ "id": "5619de91.db0ed",
"type": "outcome",
"name": "ConfigDB Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 680.7501449584961,
- "y": 720.8992977142334,
- "z": "bf8d77f5.5e0988",
+ "x": 643.6544570922852,
+ "y": 687.8992948532104,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "797e36a8.7c27e8"
+ "5d9efd02.415864"
]
]
},
{
- "id": "66be0312.7e570c",
+ "id": "de3345fe.4fb088",
"type": "set",
"name": "set default status value",
"xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of instantiateRANSice RPC' />",
"comments": "",
- "x": 606.7500915527344,
- "y": 192.01047611236572,
- "z": "bf8d77f5.5e0988",
+ "x": 569.6544036865234,
+ "y": 159.01047325134277,
+ "z": "70358dcd.8dc714",
"wires": []
},
{
- "id": "49846904.da70d8",
+ "id": "787d1fbe.8a449",
"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-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1195.7502746582031,
- "y": 154.01044273376465,
- "z": "bf8d77f5.5e0988",
+ "x": 1158.6545867919922,
+ "y": 121.0104398727417,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "372ce630.f60a6a",
+ "id": "e799b160.0eae6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1003.7501907348633,
- "y": 188.01044011116028,
- "z": "bf8d77f5.5e0988",
+ "x": 966.6545028686523,
+ "y": 155.01043725013733,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "49846904.da70d8",
- "c5c1f27e.aea88"
+ "787d1fbe.8a449",
+ "bf6e7919.dfd178"
]
]
},
{
- "id": "1da816c6.e3a539",
+ "id": "3ac8594b.1ea866",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>\n<parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaTAList_length`'/>\n<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>\n<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>\n<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>\n<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>\n<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>\n<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.snssaiList[0]`'/>\n<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>\n<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.plmnIdList[0]`'/>",
"comments": "",
- "x": 1447.7503280639648,
- "y": 394.01045656204224,
- "z": "bf8d77f5.5e0988",
+ "x": 1410.654640197754,
+ "y": 361.0104537010193,
+ "z": "70358dcd.8dc714",
"wires": []
},
{
- "id": "797e36a8.7c27e8",
+ "id": "5d9efd02.415864",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 766.7501678466797,
- "y": 827.0000057220459,
- "z": "bf8d77f5.5e0988",
+ "x": 729.6544799804688,
+ "y": 794.000002861023,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "7c743813.a4c478"
+ "1bbffc03.a63e24"
]
]
},
{
- "id": "4f1b2458.4b515c",
+ "id": "58ff367f.fa43d8",
"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-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 580.7500152587891,
- "y": 277.00002574920654,
- "z": "bf8d77f5.5e0988",
+ "x": 543.6543273925781,
+ "y": 244.0000228881836,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "15cbbc48.479f64",
+ "id": "91310329.1064e",
"type": "execute",
"name": "SliStringUtils - substring MCC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.payload.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
"comments": "",
"outputs": 1,
- "x": 1999.0335540771484,
- "y": 534.010495185852,
- "z": "bf8d77f5.5e0988",
+ "x": 1961.9378662109375,
+ "y": 501.0104923248291,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "771c5e5c.22b9e",
+ "id": "1fc33fac.fb193",
"type": "execute",
"name": "SliStringUtils - substring MNC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.payload.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
"comments": "",
"outputs": 1,
- "x": 1993.0335311889648,
- "y": 570.1013174057007,
- "z": "bf8d77f5.5e0988",
+ "x": 1955.937843322754,
+ "y": 537.1013145446777,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "375b9cab.e143e4",
+ "id": "a3da465a.aca0f8",
"type": "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=\"PLMNID from Payload: MCC-MNC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1400.754295349121,
- "y": 585.0038843154907,
- "z": "bf8d77f5.5e0988",
+ "x": 1363.6586074829102,
+ "y": 552.0038814544678,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "42bf0206.af02ac",
+ "id": "b905480a.7fda68",
"type": "comment",
"name": "TO DO",
"info": "- Use \"List of Cells for Tracking Area\" everywhere list\nof cells are sequenced for Restconf transactions...\nNo need to go through all cells as captured in the configDB\nresponse....localID will be the actual value returned \nin \n<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $ids + ']'`\" />\n\t\n\ttmp.trackingarea.cell would be cellLocalID",
"comments": "",
- "x": 854.75,
- "y": 131.99999904632568,
- "z": "bf8d77f5.5e0988",
+ "x": 817.6543121337891,
+ "y": 98.99999618530273,
+ "z": "70358dcd.8dc714",
"wires": []
},
{
- "id": "7c743813.a4c478",
+ "id": "1bbffc03.a63e24",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 957.7604866027832,
- "y": 832.0104649066925,
- "z": "bf8d77f5.5e0988",
+ "x": 920.6647987365723,
+ "y": 799.0104620456696,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "c00fc5fd.c9b158",
- "1a30df4d.7cc871",
- "e0e45a75.d57758",
- "bdb4388f.03cd88"
+ "c2155ec1.9d61c",
+ "a9b1a8e0.8d1bd8",
+ "8faa9dc8.8d118",
+ "5850ccfd.3f8524"
]
]
},
{
- "id": "c00fc5fd.c9b158",
+ "id": "c2155ec1.9d61c",
"type": "outcome",
"name": "allocate",
"xml": "<outcome value='allocate'>",
"comments": "",
"outputs": 1,
- "x": 1185.760498046875,
- "y": 705.8993482589722,
- "z": "bf8d77f5.5e0988",
+ "x": 1148.664810180664,
+ "y": 672.8993453979492,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "f022395a.f4c808"
+ "f26aa04b.2eca8"
]
]
},
{
- "id": "1a30df4d.7cc871",
+ "id": "a9b1a8e0.8d1bd8",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 1195.4747695922852,
- "y": 781.3993909358978,
- "z": "bf8d77f5.5e0988",
+ "x": 1158.3790817260742,
+ "y": 748.3993880748749,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "cfd7dd04.b41c6"
+ "94b3b87d.7e5018"
]
]
},
{
- "id": "e0e45a75.d57758",
+ "id": "8faa9dc8.8d118",
"type": "outcome",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 1202.8318710327148,
- "y": 871.5422143936157,
- "z": "bf8d77f5.5e0988",
+ "x": 1165.736183166504,
+ "y": 838.5422115325928,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "1e162d32.1c9ce3"
+ "e9270cdc.02b53"
]
]
},
{
- "id": "bdb4388f.03cd88",
+ "id": "5850ccfd.3f8524",
"type": "outcome",
"name": "reconfigure",
"xml": "<outcome value='reconfigure'>",
"comments": "",
"outputs": 1,
- "x": 1174.8318710327148,
- "y": 954.5780239105225,
- "z": "bf8d77f5.5e0988",
+ "x": 1137.736183166504,
+ "y": 921.5780210494995,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "495ceaee.08c604"
+ "106118ee.600607"
]
]
},
{
- "id": "f022395a.f4c808",
+ "id": "f26aa04b.2eca8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1398.749864578247,
- "y": 690.0000381469727,
- "z": "bf8d77f5.5e0988",
+ "x": 1361.6541767120361,
+ "y": 657.0000352859497,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "12edfe8c.3b37e1",
- "fa60c034.00281"
+ "45c37f79.c46c2",
+ "3dee9f9a.159f9"
]
]
},
{
- "id": "cfd7dd04.b41c6",
+ "id": "94b3b87d.7e5018",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1418.9643173217773,
- "y": 785.5001211166382,
- "z": "bf8d77f5.5e0988",
+ "x": 1381.8686294555664,
+ "y": 752.5001182556152,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "a2bcf3d7.2d872",
- "6942388f.9360f8"
+ "e6fb5482.75cee8",
+ "fc05778d.488f48"
]
]
},
{
- "id": "495ceaee.08c604",
+ "id": "106118ee.600607",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1406.571418762207,
- "y": 981.428689956665,
- "z": "bf8d77f5.5e0988",
+ "x": 1369.475730895996,
+ "y": 948.4286870956421,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "2a7c879f.bab448",
- "2d8735fb.af0fba"
+ "8c7ca2ba.97548",
+ "1ad98eaf.bf2cd1"
]
]
},
{
- "id": "1e162d32.1c9ce3",
+ "id": "e9270cdc.02b53",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1419.4999084472656,
- "y": 883.6430110931396,
- "z": "bf8d77f5.5e0988",
+ "x": 1382.4042205810547,
+ "y": 850.6430082321167,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "b7f29e67.5f2d4",
- "b9ab2e55.59939"
+ "5cddd4d8.26d89c",
+ "b1b1dce1.02f69"
]
]
},
{
- "id": "12edfe8c.3b37e1",
+ "id": "45c37f79.c46c2",
"type": "call",
"name": "call instantiateRANSliceAllocate",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceAllocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1686.9998474121094,
- "y": 678.7500143051147,
- "z": "bf8d77f5.5e0988",
+ "x": 1649.9041595458984,
+ "y": 645.7500114440918,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "dc1511a2.0173b"
+ "73ca03be.e882ec"
]
]
},
{
- "id": "dc1511a2.0173b",
+ "id": "73ca03be.e882ec",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1952.8569793701172,
- "y": 687.3214569091797,
- "z": "bf8d77f5.5e0988",
+ "x": 1915.7612915039062,
+ "y": 654.3214540481567,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "95c1e4b6.dd17b8"
+ "d41f61c4.57ecd"
]
]
},
{
- "id": "95c1e4b6.dd17b8",
+ "id": "d41f61c4.57ecd",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2124.8569869995117,
- "y": 687.4286098480225,
- "z": "bf8d77f5.5e0988",
+ "x": 2087.761299133301,
+ "y": 654.4286069869995,
+ "z": "70358dcd.8dc714",
"wires": []
},
{
- "id": "a2bcf3d7.2d872",
+ "id": "e6fb5482.75cee8",
"type": "call",
"name": "call instantiateRANSliceModifyAllocate",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1711.4287719726562,
- "y": 788.750057220459,
- "z": "bf8d77f5.5e0988",
+ "x": 1674.3330841064453,
+ "y": 755.750054359436,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "cccd61f7.940ca"
+ "596b26d7.c4aa88"
]
]
},
{
- "id": "cccd61f7.940ca",
+ "id": "596b26d7.c4aa88",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1972.7144050598145,
- "y": 785.7500829696655,
- "z": "bf8d77f5.5e0988",
+ "x": 1935.6187171936035,
+ "y": 752.7500801086426,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "29c30c90.3b9034"
+ "8806046f.a44db8"
]
]
},
{
- "id": "29c30c90.3b9034",
+ "id": "8806046f.a44db8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2141.285846710205,
- "y": 785.4286279678345,
- "z": "bf8d77f5.5e0988",
+ "x": 2104.190158843994,
+ "y": 752.4286251068115,
+ "z": "70358dcd.8dc714",
"wires": []
},
{
- "id": "2a7c879f.bab448",
+ "id": "8c7ca2ba.97548",
"type": "call",
"name": "call instantiateRANSliceReconfigure",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceReconfigure' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1699.5713424682617,
- "y": 981.0357484817505,
- "z": "bf8d77f5.5e0988",
+ "x": 1662.4756546020508,
+ "y": 948.0357456207275,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "642d1acf.c0f2f4"
+ "9b6bc33e.87642"
]
]
},
{
- "id": "642d1acf.c0f2f4",
+ "id": "9b6bc33e.87642",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1955.8570671081543,
- "y": 981.035774230957,
- "z": "bf8d77f5.5e0988",
+ "x": 1918.7613792419434,
+ "y": 948.0357713699341,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "e054495c.2b9228"
+ "ac77d777.1502d8"
]
]
},
{
- "id": "e054495c.2b9228",
+ "id": "ac77d777.1502d8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2124.428508758545,
- "y": 980.714319229126,
- "z": "bf8d77f5.5e0988",
+ "x": 2087.332820892334,
+ "y": 947.714316368103,
+ "z": "70358dcd.8dc714",
"wires": []
},
{
- "id": "b7f29e67.5f2d4",
+ "id": "5cddd4d8.26d89c",
"type": "call",
"name": "call instantiateRANSliceModifyDeallocate",
"xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1692.7141571044922,
- "y": 882.0357837677002,
- "z": "bf8d77f5.5e0988",
+ "x": 1655.6184692382812,
+ "y": 849.0357809066772,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "683e2a3.43b8dd4"
+ "17959fcf.6832b"
]
]
},
{
- "id": "683e2a3.43b8dd4",
+ "id": "17959fcf.6832b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1971.2855796813965,
- "y": 880.6072378158569,
- "z": "bf8d77f5.5e0988",
+ "x": 1934.1898918151855,
+ "y": 847.607234954834,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "e326d6a4.ccbed8"
+ "65d6cc5d.d76ef4"
]
]
},
{
- "id": "e326d6a4.ccbed8",
+ "id": "65d6cc5d.d76ef4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2139.857021331787,
- "y": 880.2857828140259,
- "z": "bf8d77f5.5e0988",
+ "x": 2102.761333465576,
+ "y": 847.2857799530029,
+ "z": "70358dcd.8dc714",
"wires": []
},
{
- "id": "37c14ba5.905944",
+ "id": "f60e9f08.a5dca",
"type": "set",
"name": "set RRMPolicyRatio IDs",
"xml": "<set>\n<parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value=\"`'NearRTRIC-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value=\"`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellDU' value=\"`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value=\"`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value=\"`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellCU' value=\"`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`\" />\n<parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />",
"comments": "",
- "x": 1470.7503280639648,
- "y": 440,
- "z": "bf8d77f5.5e0988",
+ "x": 1433.654640197754,
+ "y": 406.99999713897705,
+ "z": "70358dcd.8dc714",
"wires": []
},
{
- "id": "d45cbe01.a2363",
+ "id": "749bf2a.1c0190c",
"type": "execute",
"name": "execute concat customer-id and @test.com",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat' >\n <parameter name=\"source\" value='`$prop.customer-id`'/>\n <parameter name=\"outputPath\" value=\"tmp.userAccountEmail\"/>\n <parameter name=\"target\" value=\"@test.com\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 433.7500228881836,
- "y": 1076.0000095367432,
- "z": "bf8d77f5.5e0988",
+ "x": 396.65433502197266,
+ "y": 1043.0000066757202,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "fa60c034.00281",
+ "id": "3dee9f9a.159f9",
"type": "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=\"Calling instantiateRANSliceAllocate \"/>",
"comments": "",
"outputs": 1,
- "x": 1634.750015258789,
- "y": 619.0000400543213,
- "z": "bf8d77f5.5e0988",
+ "x": 1597.6543273925781,
+ "y": 586.0000371932983,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "6942388f.9360f8",
+ "id": "fc05778d.488f48",
"type": "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=\"Calling instantiateRANSliceModifyAllocate \"/>",
"comments": "",
"outputs": 1,
- "x": 1616.7499694824219,
- "y": 730.0000419616699,
- "z": "bf8d77f5.5e0988",
+ "x": 1579.654281616211,
+ "y": 697.000039100647,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "b9ab2e55.59939",
+ "id": "b1b1dce1.02f69",
"type": "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=\"Calling instantiateRANSliceModifyDeallocate \"/>",
"comments": "",
"outputs": 1,
- "x": 1610.7499694824219,
- "y": 830.0000419616699,
- "z": "bf8d77f5.5e0988",
+ "x": 1573.654281616211,
+ "y": 797.000039100647,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "2d8735fb.af0fba",
+ "id": "1ad98eaf.bf2cd1",
"type": "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=\"Calling instantiateRANSliceReconfigure \"/>",
"comments": "",
"outputs": 1,
- "x": 1610.7499694824219,
- "y": 931.0000419616699,
- "z": "bf8d77f5.5e0988",
+ "x": 1573.654281616211,
+ "y": 898.000039100647,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "4e688fb5.3b537",
+ "id": "a13d5e15.09767",
"type": "execute",
"name": "payload has dLThptPerSlice",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n <parameter name='target' value='dLThptPerSlice' />\n",
"comments": "",
"outputs": 1,
- "x": 1049.7503509521484,
- "y": 289.6667957305908,
- "z": "bf8d77f5.5e0988",
+ "x": 1012.6546630859375,
+ "y": 256.66679286956787,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "b20d25a4.134ee8",
- "819e82fc.750f6"
+ "8b006462.3ed198",
+ "9ac0c162.611b9"
]
]
},
{
- "id": "b20d25a4.134ee8",
+ "id": "8b006462.3ed198",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1268.7503623962402,
- "y": 268.66673278808594,
- "z": "bf8d77f5.5e0988",
+ "x": 1231.6546745300293,
+ "y": 235.666729927063,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "41c3b991.74c7e8"
+ "e3d63fa7.2bf52"
]
]
},
{
- "id": "819e82fc.750f6",
+ "id": "9ac0c162.611b9",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1227.7502746582031,
- "y": 362.6667146682739,
- "z": "bf8d77f5.5e0988",
+ "x": 1190.6545867919922,
+ "y": 329.666711807251,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "8063a78.2303458"
+ "aa910376.f8cc6"
]
]
},
{
- "id": "8063a78.2303458",
+ "id": "aa910376.f8cc6",
"type": "execute",
"name": "payload contains maxNumberofConns",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n <parameter name='target' value='maxNumberofConns' />\n",
"comments": "",
"outputs": 1,
- "x": 1448.7500457763672,
- "y": 327.6667146682739,
- "z": "bf8d77f5.5e0988",
+ "x": 1411.6543579101562,
+ "y": 294.666711807251,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "36655c01.ad7094"
+ "45ecb9d8.a3c208"
]
]
},
{
- "id": "41c3b991.74c7e8",
+ "id": "e3d63fa7.2bf52",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1703.7500457763672,
- "y": 163.666729927063,
- "z": "bf8d77f5.5e0988",
+ "x": 1666.6543579101562,
+ "y": 130.66672706604004,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "77d7147c.ad8fbc",
- "67d5474a.d1b088"
+ "4dce0609.c46e78",
+ "c01debfb.711588"
]
]
},
{
- "id": "77d7147c.ad8fbc",
+ "id": "4dce0609.c46e78",
"type": "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=\"PAYLOAD contains dLThptPerSlice...Closed loop \"/>\n<parameter name=\"field2\" value=\"Creating temporary variables ONLy for relevant payload fields \"/>\n",
"comments": "",
"outputs": 1,
- "x": 1926.7500534057617,
- "y": 122.66672897338867,
- "z": "bf8d77f5.5e0988",
+ "x": 1889.6543655395508,
+ "y": 89.66672611236572,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "36655c01.ad7094",
+ "id": "45ecb9d8.a3c208",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1610.7500457763672,
- "y": 249.66671228408813,
- "z": "bf8d77f5.5e0988",
+ "x": 1573.6543579101562,
+ "y": 216.66670942306519,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "119d30a1.4d12df"
+ "33231276.d0303e"
]
]
},
{
- "id": "119d30a1.4d12df",
+ "id": "33231276.d0303e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1717.750373840332,
- "y": 364.66671657562256,
- "z": "bf8d77f5.5e0988",
+ "x": 1680.654685974121,
+ "y": 331.6667137145996,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "966c33be.c45f5",
- "67d5474a.d1b088"
+ "ea67ef1.c535f1",
+ "c01debfb.711588"
]
]
},
{
- "id": "966c33be.c45f5",
+ "id": "ea67ef1.c535f1",
"type": "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=\"PAYLOAD contains maxNumberofConns...Inntelligent Slicing \"/>\n<parameter name=\"field2\" value=\"Creating temporary variables ONLy for relevant payload fields \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1774.750373840332,
- "y": 253.66671180725098,
- "z": "bf8d77f5.5e0988",
+ "x": 1737.654685974121,
+ "y": 220.66670894622803,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "67d5474a.d1b088",
+ "id": "c01debfb.711588",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>",
"comments": "",
- "x": 2030.7503814697266,
- "y": 276.00004482269287,
- "z": "bf8d77f5.5e0988",
+ "x": 1993.6546936035156,
+ "y": 243.00004196166992,
+ "z": "70358dcd.8dc714",
"wires": []
},
{
- "id": "2bac4fb4.fedab",
+ "id": "42f62119.58b0d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 450.75008392333984,
- "y": 431.00006008148193,
- "z": "bf8d77f5.5e0988",
+ "x": 413.6543960571289,
+ "y": 398.000057220459,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "68675448.d48dac"
+ "eb6ba4d3.14f2f8"
]
]
},
{
- "id": "68675448.d48dac",
+ "id": "eb6ba4d3.14f2f8",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 608.7606964111328,
- "y": 484.01043796539307,
- "z": "bf8d77f5.5e0988",
+ "x": 571.6650085449219,
+ "y": 451.0104351043701,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "f661e96b.5f44e8",
- "5ee89201.bd294c",
- "5b4bbc24.5c5ac4",
- "d2f8f9ae.e4b198"
+ "9be21665.63ac98",
+ "eff97aee.fb0208",
+ "30c8b8b.c435248",
+ "92524cfd.bd457"
]
]
},
{
- "id": "f661e96b.5f44e8",
+ "id": "9be21665.63ac98",
"type": "outcome",
"name": "reconfigure",
"xml": "<outcome value='reconfigure'>",
"comments": "",
"outputs": 1,
- "x": 825.8319129943848,
- "y": 343.5779724121094,
- "z": "bf8d77f5.5e0988",
+ "x": 788.7362251281738,
+ "y": 310.5779695510864,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "433921bb.3c6e2"
+ "c322d567.939c88"
]
]
},
{
- "id": "433921bb.3c6e2",
+ "id": "c322d567.939c88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 932.571662902832,
- "y": 449.4286575317383,
- "z": "bf8d77f5.5e0988",
+ "x": 895.4759750366211,
+ "y": 416.42865467071533,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "4e688fb5.3b537"
+ "a13d5e15.09767"
]
]
},
{
- "id": "4a1e6dff.43e0b4",
+ "id": "b11a79d4.041288",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1121.4166793823242,
- "y": 543.0000200271606,
- "z": "bf8d77f5.5e0988",
+ "x": 1084.3209915161133,
+ "y": 510.0000171661377,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "1da816c6.e3a539",
- "37c14ba5.905944",
- "375b9cab.e143e4",
- "a2f78056.e60ae"
+ "3ac8594b.1ea866",
+ "f60e9f08.a5dca",
+ "a3da465a.aca0f8",
+ "b5ec1249.af4f5"
]
]
},
{
- "id": "1478d83b.aaa918",
+ "id": "299632b8.33b82e",
"type": "set",
"name": "Original set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.trackingArea' value='`$payloadJson.input.sliceProfile.coverageAreaList[0]`'/>\n<parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>\n<parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>\n<parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>\n<parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaList_length`'/>\n<parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>\n<parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>\n<parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>\n<parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>\n<parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>\n<parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>\n<parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>\n<parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>",
"comments": "",
- "x": 2420.75,
- "y": 283.9999990463257,
- "z": "bf8d77f5.5e0988",
+ "x": 2383.654312133789,
+ "y": 250.99999618530273,
+ "z": "70358dcd.8dc714",
"wires": []
},
{
- "id": "5ee89201.bd294c",
+ "id": "eff97aee.fb0208",
"type": "outcome",
"name": "allocate",
"xml": "<outcome value='allocate'>",
"comments": "",
"outputs": 1,
- "x": 887.4167098999023,
- "y": 510.3333559036255,
- "z": "bf8d77f5.5e0988",
+ "x": 850.3210220336914,
+ "y": 477.33335304260254,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "4a1e6dff.43e0b4"
+ "b11a79d4.041288"
]
]
},
{
- "id": "5b4bbc24.5c5ac4",
+ "id": "30c8b8b.c435248",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 877.1310653686523,
- "y": 555.8333978652954,
- "z": "bf8d77f5.5e0988",
+ "x": 840.0353775024414,
+ "y": 522.8333950042725,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "4a1e6dff.43e0b4"
+ "b11a79d4.041288"
]
]
},
{
- "id": "d2f8f9ae.e4b198",
+ "id": "92524cfd.bd457",
"type": "outcome",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 861.4881629943848,
- "y": 620.9761915206909,
- "z": "bf8d77f5.5e0988",
+ "x": 824.3924751281738,
+ "y": 587.976188659668,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "4a1e6dff.43e0b4"
+ "b11a79d4.041288"
]
]
},
{
- "id": "a2f78056.e60ae",
+ "id": "b5ec1249.af4f5",
"type": "switchNode",
"name": "check PLMNId",
"xml": "<switch test='`$tmp.payload.pLMNId`'>",
"comments": "",
"outputs": 1,
- "x": 1364.5,
- "y": 523.7499990463257,
- "z": "bf8d77f5.5e0988",
+ "x": 1327.404312133789,
+ "y": 490.74999618530273,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "dd99d276.5a486",
- "72fd63d6.af5cac"
+ "b531828a.4d0e9",
+ "b69b228d.35861"
]
]
},
{
- "id": "4475d069.b0ada",
+ "id": "45dcc8c5.7f2e38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1738.250114440918,
- "y": 504.7500057220459,
- "z": "bf8d77f5.5e0988",
+ "x": 1701.154426574707,
+ "y": 471.75000286102295,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "10dace49.f36a12",
- "15735087.02ccef"
+ "c561165e.863598",
+ "25d19179.b8b14e"
]
]
},
{
- "id": "dd99d276.5a486",
+ "id": "b531828a.4d0e9",
"type": "outcome",
"name": "not null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 1559.25,
- "y": 513.7499990463257,
- "z": "bf8d77f5.5e0988",
+ "x": 1522.154312133789,
+ "y": 480.74999618530273,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "46a595d4.3c421c"
+ "5cdf8abf.8d76f4"
]
]
},
{
- "id": "72fd63d6.af5cac",
+ "id": "b69b228d.35861",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1553,
- "y": 563.7499990463257,
- "z": "bf8d77f5.5e0988",
+ "x": 1515.904312133789,
+ "y": 530.7499961853027,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "4475d069.b0ada"
+ "45dcc8c5.7f2e38"
]
]
},
{
- "id": "46a595d4.3c421c",
+ "id": "5cdf8abf.8d76f4",
"type": "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=\"It is allocate-modify flow. PLMNId is null\"/>",
"comments": "",
"outputs": 1,
- "x": 1692,
- "y": 448.7499990463257,
- "z": "bf8d77f5.5e0988",
+ "x": 1654.904312133789,
+ "y": 415.74999618530273,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "10dace49.f36a12",
+ "id": "c561165e.863598",
"type": "execute",
"name": "split pLMNId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.payload.pLMNId`\" />\n <parameter name=\"regex\" value=\"-\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
"comments": "",
"outputs": 1,
- "x": 1999.5226135253906,
- "y": 387.26230907440186,
- "z": "bf8d77f5.5e0988",
+ "x": 1962.4269256591797,
+ "y": 354.2623062133789,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "15735087.02ccef",
+ "id": "25d19179.b8b14e",
"type": "set",
"name": "set mcc & mnc Variables",
"xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>",
"comments": "",
- "x": 2029.9772033691406,
- "y": 434.30774974823,
- "z": "bf8d77f5.5e0988",
+ "x": 1992.8815155029297,
+ "y": 401.30774688720703,
+ "z": "70358dcd.8dc714",
"wires": []
},
{
- "id": "f86173fb.997e5",
+ "id": "a804d291.c046f",
"type": "outcome",
"name": "CPS Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 674.2500152587891,
- "y": 982.7500972747803,
- "z": "bf8d77f5.5e0988",
+ "x": 637.1543273925781,
+ "y": 949.7500944137573,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "819586d9.8e1098"
+ "5eaaf1a7.a13e2"
]
]
},
{
- "id": "819586d9.8e1098",
+ "id": "5eaaf1a7.a13e2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 849.2500076293945,
- "y": 1151.7500381469727,
- "z": "bf8d77f5.5e0988",
+ "x": 812.1543197631836,
+ "y": 1118.7500352859497,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "8082bbf3.6c6158"
+ "c017af17.7381"
]
]
},
{
- "id": "8082bbf3.6c6158",
+ "id": "c017af17.7381",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 1063.250099182129,
- "y": 1151.7500381469727,
- "z": "bf8d77f5.5e0988",
+ "x": 1026.154411315918,
+ "y": 1118.7500352859497,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "8a616b6c.893e48"
+ "30c628d7.426788"
]
]
},
{
- "id": "2d2618aa.be42d8",
+ "id": "1d9dfef2.e68fb1",
"type": "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=\"Calling instantiateRANSliceModifyAllocate-CPS \"/>",
"comments": "",
"outputs": 1,
- "x": 1669.25004196167,
- "y": 1094.7499866485596,
- "z": "bf8d77f5.5e0988",
+ "x": 1632.154354095459,
+ "y": 1061.7499837875366,
+ "z": "70358dcd.8dc714",
"wires": [
[]
]
},
{
- "id": "dc0a6211.1e6c9",
+ "id": "9cdd3a9.860b3c8",
"type": "call",
"name": "call instantiateRANSliceModifyAllocate-cps",
- "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate-CPS' mode='sync' >\n",
+ "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate-cps' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1754.928939819336,
- "y": 1149.499994277954,
- "z": "bf8d77f5.5e0988",
+ "x": 1717.833251953125,
+ "y": 1116.4999914169312,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "5cc3475c.81c738"
+ "a0477b68.8e70b8"
]
]
},
{
- "id": "5cc3475c.81c738",
+ "id": "a0477b68.8e70b8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2025.2144775390625,
- "y": 1150.5000276565552,
- "z": "bf8d77f5.5e0988",
+ "x": 1988.1187896728516,
+ "y": 1117.5000247955322,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "60abfdc1.6485f4"
+ "fbb8e8a4.687028"
]
]
},
{
- "id": "60abfdc1.6485f4",
+ "id": "fbb8e8a4.687028",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2193.785919189453,
- "y": 1150.1785726547241,
- "z": "bf8d77f5.5e0988",
+ "x": 2156.690231323242,
+ "y": 1117.1785697937012,
+ "z": "70358dcd.8dc714",
"wires": []
},
{
- "id": "8a616b6c.893e48",
+ "id": "30c628d7.426788",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 1265.5000534057617,
- "y": 1151.7500557899475,
- "z": "bf8d77f5.5e0988",
+ "x": 1228.4043655395508,
+ "y": 1118.7500529289246,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "5ffde36b.0e031c"
+ "a17f52d4.626ed"
]
]
},
{
- "id": "5ffde36b.0e031c",
+ "id": "a17f52d4.626ed",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1477.5,
- "y": 1151.75,
- "z": "bf8d77f5.5e0988",
+ "x": 1440.404312133789,
+ "y": 1118.749997138977,
+ "z": "70358dcd.8dc714",
"wires": [
[
- "dc0a6211.1e6c9",
- "2d2618aa.be42d8"
+ "9cdd3a9.860b3c8",
+ "1d9dfef2.e68fb1"
]
]
}
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 d444e7ed..d39f5e74 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": "19ec700d.6cdc2",
+ "id": "55fe8da0.58c5f4",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 161.75,
- "y": 171.74999392032623,
- "z": "4d6578c4.6dc8b8",
+ "x": 141.88888549804688,
+ "y": 108.74999523162842,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "d6fca9.bee54358"
+ "62883375.1de0bc"
]
]
},
{
- "id": "d6fca9.bee54358",
+ "id": "62883375.1de0bc",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -22,7978 +22,8070 @@
"comments": "",
"xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
"outputs": 1,
- "x": 246.7500228881836,
- "y": 238.7499634027481,
- "z": "4d6578c4.6dc8b8",
+ "x": 226.88890838623047,
+ "y": 175.7499647140503,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "d00cab92.9c4aa8"
+ "a154a72c.a2b018"
]
]
},
{
- "id": "d00cab92.9c4aa8",
+ "id": "a154a72c.a2b018",
"type": "method",
"name": "method",
- "xml": "<method rpc='instantiateRANSliceModifyAllocate-CPS' mode='sync'>\n",
+ "xml": "<method rpc='instantiateRANSliceModifyAllocate-cps' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 180.75,
- "y": 298.7499290704727,
- "z": "4d6578c4.6dc8b8",
+ "x": 160.88888549804688,
+ "y": 235.7499303817749,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "66d1076c.af9f08"
+ "aff870d8.99121"
]
]
},
{
- "id": "66d1076c.af9f08",
+ "id": "aff870d8.99121",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 176.74999237060547,
- "y": 359.74996531009674,
- "z": "4d6578c4.6dc8b8",
+ "x": 156.88887786865234,
+ "y": 296.7499666213989,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "e22e0c4c.d5556",
- "bf968fde.5a03c",
- "f6e46dad.569ee",
- "3e120068.88b83",
- "4c61e3ca.3e341c",
- "a55a4b1e.803eb8",
- "8a51c492.d53608",
- "27a58a37.b0d516",
- "db0a0ae7.99aea8"
+ "3cf4187c.17d188",
+ "61b0f34b.8c870c",
+ "dbed846c.ad06b8",
+ "628c20e5.974e1",
+ "bdfd583e.cc8ea8",
+ "c637253e.163738",
+ "19f07fce.82298",
+ "405e8734.858cf8",
+ "a27d2fd0.89867",
+ "d1a52ca6.5e84e"
]
]
},
{
- "id": "2903995b.5e4666",
+ "id": "e5937bd6.99c338",
"type": "for",
"name": "foreach NearRTRIC",
"xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
"comments": "",
"outputs": 1,
- "x": 303.75003814697266,
- "y": 1460.5682631134987,
- "z": "4d6578c4.6dc8b8",
+ "x": 283.88892364501953,
+ "y": 1397.5682644248009,
+ "z": "e1a177d9.2ec918",
"wires": [
- [
- "32e1faab.5aa326",
- "9bf2fef4.4ea0f",
- "8d18d60.089e928",
- "d095f7c9.e586e8"
- ]
+ []
]
},
{
- "id": "32e1faab.5aa326",
+ "id": "a27d2fd0.89867",
"type": "block",
"name": "Process NearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 538.4090805053711,
- "y": 1278.2273217439651,
- "z": "4d6578c4.6dc8b8",
+ "x": 447.2979736328125,
+ "y": 613.9773292541504,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "cf5175a9.96e5c8",
- "c39abc7c.91006",
- "15172e34.a4ac32",
- "2ad233f9.94c3ac",
- "17c9b275.b24efe",
- "8b33f4d.cc63408"
+ "b13fe67a.a94308",
+ "f27068da.4daf78",
+ "7f0c6279.088e1c",
+ "9b14d41.b7f8f28",
+ "2f1f62ac.d9f56e",
+ "6746107d.6b799",
+ "2e6fced3.d50242"
]
]
},
{
- "id": "cf5175a9.96e5c8",
+ "id": "2e6fced3.d50242",
"type": "execute",
"name": "read nearRTRICId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].nearRTRICId'`\" />\n",
+ "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",
"comments": "",
"outputs": 1,
- "x": 1083.2955169677734,
- "y": 1085.4772993326187,
- "z": "4d6578c4.6dc8b8",
+ "x": 1040.9345397949219,
+ "y": 604.9775066375732,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c39abc7c.91006",
+ "id": "b13fe67a.a94308",
"type": "execute",
"name": "read gNBId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`\" />",
+ "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": 1054.2955017089844,
- "y": 1128.477360367775,
- "z": "4d6578c4.6dc8b8",
+ "x": 1035.6844635009766,
+ "y": 659.2274684906006,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "15172e34.a4ac32",
+ "id": "f27068da.4daf78",
"type": "set",
"name": "Calculate uLThptPerSlice dLThptPerSlice maxNumberOfConns",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNFNSSIRIC-configdb-response._length`' />",
+ "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": 1184.6591339111328,
- "y": 1203.2954622507095,
- "z": "4d6578c4.6dc8b8",
+ "x": 1166.048095703125,
+ "y": 734.0455703735352,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "2ad233f9.94c3ac",
+ "id": "7f0c6279.088e1c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConn for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"nearRTRICId\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"RANNFNSSI\"/>\n<parameter name=\"field12\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n<parameter name=\"field13\" value=\"NSSAI\"/>\n<parameter name=\"field14\" value=\"`$tmp.payload.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1030.568130493164,
- "y": 1244.2955385446548,
- "z": "4d6578c4.6dc8b8",
+ "x": 1011.9570922851562,
+ "y": 775.0456466674805,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d41ea7d7.e32d38",
- "type": "execute",
- "name": "Update nearRT RIC Details in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updatenearRTRIC.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"modify-allocate-nearRTRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1342.8182373046875,
- "y": 1268.9546300172806,
- "z": "4d6578c4.6dc8b8",
- "wires": [
- [
- "32e44f99.1e657",
- "9c8b7e53.bb44"
- ]
- ]
- },
- {
- "id": "32e44f99.1e657",
+ "id": "956f4230.90ad2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1620.0681076049805,
- "y": 1197.5225917100906,
- "z": "4d6578c4.6dc8b8",
+ "x": 1407.707118988037,
+ "y": 832.0226554870605,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "ca709c59.499e2"
+ "553f697f.6338d8"
]
]
},
{
- "id": "ca709c59.499e2",
+ "id": "553f697f.6338d8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1759.5682334899902,
- "y": 1167.0226365327835,
- "z": "4d6578c4.6dc8b8",
+ "x": 1547.2072448730469,
+ "y": 801.5227003097534,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "a4a372fe.fbc1a",
- "1183b1d3.1cb91e"
+ "8fc0c286.01cb1",
+ "983708b1.365078"
]
]
},
{
- "id": "1183b1d3.1cb91e",
+ "id": "983708b1.365078",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1937.3180236816406,
- "y": 1137.883689045906,
- "z": "4d6578c4.6dc8b8",
+ "x": 1724.9570350646973,
+ "y": 772.383752822876,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "a4a372fe.fbc1a",
+ "id": "8fc0c286.01cb1",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1941.5680236816406,
- "y": 1197.7727605104446,
- "z": "4d6578c4.6dc8b8",
+ "x": 1707.9568786621094,
+ "y": 826.0227470397949,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "9c8b7e53.bb44",
+ "id": "7599a4c5.6730ac",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1596.636344909668,
- "y": 1264.9318791627884,
- "z": "4d6578c4.6dc8b8",
+ "x": 1384.2753562927246,
+ "y": 899.4319429397583,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "eea70dad.2f935"
+ "7aa89302.68684c"
]
]
},
{
- "id": "eea70dad.2f935",
+ "id": "7aa89302.68684c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1748.1361961364746,
- "y": 1269.6819401979446,
- "z": "4d6578c4.6dc8b8",
+ "x": 1535.7752075195312,
+ "y": 904.1820039749146,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "c30ba562.8cd3b8"
+ "d3795fb8.bd669"
]
]
},
{
- "id": "c30ba562.8cd3b8",
+ "id": "d3795fb8.bd669",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NearRT RIC info in ConfigDB\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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\"/>",
"comments": "",
"outputs": 1,
- "x": 1890.6361980438232,
- "y": 1255.93201649189,
- "z": "4d6578c4.6dc8b8",
+ "x": 1678.2752094268799,
+ "y": 890.4320802688599,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "17c9b275.b24efe",
+ "id": "9b14d41.b7f8f28",
"type": "execute",
"name": "set params",
"xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1086.750015258789,
- "y": 1166.7500215768814,
- "z": "4d6578c4.6dc8b8",
+ "x": 1068.1389770507812,
+ "y": 697.500129699707,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f5ce7442.2243e8",
+ "id": "6e868b69.2f6354",
"type": "execute",
"name": "read CUCP list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n ",
+ "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 ",
"comments": "",
"outputs": 1,
- "x": 909.0000457763672,
- "y": 1467.5000916719437,
- "z": "4d6578c4.6dc8b8",
+ "x": 889.1389312744141,
+ "y": 1404.5000929832458,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "9bf2fef4.4ea0f",
+ "id": "ecc4af17.f9f0c",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 589.0000228881836,
- "y": 1454.0000277757645,
- "z": "4d6578c4.6dc8b8",
+ "x": 569.1389083862305,
+ "y": 1391.0000290870667,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "f5ce7442.2243e8",
- "a55c0c9.c8a4bf",
- "f7e580cc.8e06c"
+ "6e868b69.2f6354",
+ "4a278791.819e58",
+ "8be64a5a.7e7d28"
]
]
},
{
- "id": "a55c0c9.c8a4bf",
+ "id": "4a278791.819e58",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 888.5000305175781,
- "y": 1516.2500916719437,
- "z": "4d6578c4.6dc8b8",
+ "x": 868.638916015625,
+ "y": 1453.2500929832458,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f7e580cc.8e06c",
+ "id": "8be64a5a.7e7d28",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 909,
- "y": 1567.500246167183,
- "z": "4d6578c4.6dc8b8",
+ "x": 889.1388854980469,
+ "y": 1504.500247478485,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "408fdf4.6d7d22"
+ "58107534.4b9ffc"
]
]
},
{
- "id": "408fdf4.6d7d22",
+ "id": "58107534.4b9ffc",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1138.7500457763672,
- "y": 1543.2500630617142,
- "z": "4d6578c4.6dc8b8",
+ "x": 1118.888931274414,
+ "y": 1480.2500643730164,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "dc4f9c5f.68e18",
- "172acb9f.c46174",
- "d86a58bf.54ffb8",
- "5b59f11d.eef5d"
+ "90f19086.7e9a7",
+ "6de159d.784ada8",
+ "e714b9e2.04b528",
+ "51cff577.d6a69c",
+ "a88275ed.b6d218"
]
]
},
{
- "id": "dc4f9c5f.68e18",
+ "id": "90f19086.7e9a7",
"type": "execute",
"name": "read CUCP name",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
+ "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'`\" />",
"comments": "",
"outputs": 1,
- "x": 1558.5,
- "y": 1483.7500010728836,
- "z": "4d6578c4.6dc8b8",
+ "x": 1498.638916015625,
+ "y": 1349.5000038146973,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "172acb9f.c46174",
+ "id": "6de159d.784ada8",
"type": "for",
"name": "for cellCUList",
"xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1562.5,
- "y": 1627.7500010728836,
- "z": "4d6578c4.6dc8b8",
+ "x": 1542.6388854980469,
+ "y": 1564.7500023841858,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "6a9c0d77.8182b4"
+ "4b7275c8.e6af5c"
]
]
},
{
- "id": "c8ed2807.4747b8",
+ "id": "722f9dc8.8e77e4",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 2232.75,
- "y": 1526.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2212.888885498047,
+ "y": 1463.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "56a4a713.6fb208",
+ "id": "694e8a3c.152184",
"type": "execute",
"name": "patch PLMNInfoListEntry ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellCU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2261.750015258789,
- "y": 1601.7500420808792,
- "z": "4d6578c4.6dc8b8",
+ "x": 2241.888900756836,
+ "y": 1538.7500433921814,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "486beee8.2d926",
- "c6df77b5.f694f8"
+ "cf2dc106.23787",
+ "ce08699d.324a78"
]
]
},
{
- "id": "fb57ecca.4101e",
+ "id": "47b436ba.62a588",
"type": "record",
"name": "record API params",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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",
"comments": "",
"outputs": 1,
- "x": 2226.75008392334,
- "y": 1563.7501031160355,
- "z": "4d6578c4.6dc8b8",
+ "x": 2206.8889694213867,
+ "y": 1500.7501044273376,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c086e0db.2b74a",
+ "id": "a60824a.29f2bd8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2097.75,
- "y": 1109.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2077.888885498047,
+ "y": 1046.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "c8ed2807.4747b8",
- "fb57ecca.4101e",
- "56a4a713.6fb208",
- "c2a66c8b.edf75",
- "8a6a4ac2.a05aa8",
- "d96e48b.a8361b8",
- "59ed0fb6.63e22",
- "25329798.250fb8",
- "bc14f401.6d9738",
- "b481d2c4.5dffe",
- "2ce9fc18.f66724"
+ "722f9dc8.8e77e4",
+ "47b436ba.62a588",
+ "694e8a3c.152184",
+ "710c65b2.d3254c",
+ "1aae542a.c6615c",
+ "d4f02ce.ccbdfd",
+ "14769a1.fbc9f66",
+ "f8612d2d.b9312",
+ "2676207.c5f25e",
+ "50183232.c9eaac",
+ "2b357518.7bb91a",
+ "ac8fda49.93e208"
]
]
},
{
- "id": "486beee8.2d926",
+ "id": "cf2dc106.23787",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2517.750114440918,
- "y": 1651.7502113580704,
- "z": "4d6578c4.6dc8b8",
+ "x": 2497.888999938965,
+ "y": 1588.7502126693726,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "1b106328.df428d"
+ "57031525.4566dc"
]
]
},
{
- "id": "1b106328.df428d",
+ "id": "57031525.4566dc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2690.749900817871,
- "y": 1650.7502723932266,
- "z": "4d6578c4.6dc8b8",
+ "x": 2670.888786315918,
+ "y": 1587.7502737045288,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "711a0a9.ccf7ff4"
+ "578b559f.f4101c"
]
]
},
{
- "id": "711a0a9.ccf7ff4",
+ "id": "578b559f.f4101c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 2888.7499618530273,
- "y": 1647.7503944635391,
- "z": "4d6578c4.6dc8b8",
+ "x": 2868.888847351074,
+ "y": 1584.7503957748413,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c6df77b5.f694f8",
+ "id": "ce08699d.324a78",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2482.75008392334,
- "y": 1534.7499672174454,
- "z": "4d6578c4.6dc8b8",
+ "x": 2462.8889694213867,
+ "y": 1471.7499685287476,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "5b815535.44449c"
+ "1380a514.f42b1b"
]
]
},
{
- "id": "5b815535.44449c",
+ "id": "1380a514.f42b1b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2632.750358581543,
- "y": 1493.7501503229141,
- "z": "4d6578c4.6dc8b8",
+ "x": 2612.88924407959,
+ "y": 1430.7501516342163,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "aea75068.43d16",
- "29d931ba.d4c36e",
- "479d909e.4559c"
+ "d77c9816.10f818",
+ "7f52b177.de89c",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "aea75068.43d16",
+ "id": "d77c9816.10f818",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2803.7499923706055,
- "y": 1554.7502113580704,
- "z": "4d6578c4.6dc8b8",
+ "x": 2783.8888778686523,
+ "y": 1491.7502126693726,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "29d931ba.d4c36e",
+ "id": "7f52b177.de89c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2798.750114440918,
- "y": 1459.7501503229141,
- "z": "4d6578c4.6dc8b8",
+ "x": 2778.888999938965,
+ "y": 1396.7501516342163,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "c2a66c8b.edf75",
+ "id": "710c65b2.d3254c",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2314.75,
- "y": 1336.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2353.638870239258,
+ "y": 1216.2500013113022,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8a6a4ac2.a05aa8",
+ "id": "1aae542a.c6615c",
"type": "execute",
"name": "prepare idNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "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": 2275.75,
- "y": 1404.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2255.888885498047,
+ "y": 1341.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d96e48b.a8361b8",
+ "id": "d4f02ce.ccbdfd",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 2242.75,
- "y": 1462.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2222.888885498047,
+ "y": 1399.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d86a58bf.54ffb8",
+ "id": "e714b9e2.04b528",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1531.5,
- "y": 1534.7500010728836,
- "z": "4d6578c4.6dc8b8",
+ "x": 1486.6390075683594,
+ "y": 1405.5000648498535,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "5b59f11d.eef5d",
+ "id": "51cff577.d6a69c",
"type": "execute",
"name": "read cellCU list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ",
+ "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 ",
"comments": "",
"outputs": 1,
- "x": 1572.5,
- "y": 1583.7500010728836,
- "z": "4d6578c4.6dc8b8",
+ "x": 1516.388916015625,
+ "y": 1450.7500047683716,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "59ed0fb6.63e22",
+ "id": "14769a1.fbc9f66",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2320.75,
- "y": 1172.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2300.888885498047,
+ "y": 1109.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "a9dd6757.2953f8",
- "b417b68e.e1a6a8"
+ "ff575ff1.93705",
+ "ba404324.22f28"
]
]
},
{
- "id": "a9dd6757.2953f8",
+ "id": "ff575ff1.93705",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2528.75,
- "y": 1137.7497497797012,
- "z": "4d6578c4.6dc8b8",
+ "x": 2508.888885498047,
+ "y": 1074.7497510910034,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "5a807756.064e88"
+ "d4f99055.feb8d"
]
]
},
{
- "id": "5a807756.064e88",
+ "id": "d4f99055.feb8d",
"type": "execute",
"name": "generate patch PLMNInfoListEntry ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2848.75,
- "y": 1152.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2828.888885498047,
+ "y": 1089.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "b417b68e.e1a6a8",
+ "id": "ba404324.22f28",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2516.75,
- "y": 1239.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2496.888885498047,
+ "y": 1176.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "7879486d.e43fa8"
+ "ae4f32b2.92a47"
]
]
},
{
- "id": "25329798.250fb8",
+ "id": "f8612d2d.b9312",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1875.75,
- "y": 1923.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 1855.8888854980469,
+ "y": 1860.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "6218a5e7.19801c",
- "d7ed5721.b6a058",
- "847e0a63.92c6c8",
- "74620174.3854b",
- "cde60f46.242d2",
- "bb944ddc.6b08d",
- "4dd5c0ad.ffb3b",
- "d61c7133.88a1b",
- "80aeccba.14133",
- "fd415f84.f4c55",
- "ed8d5920.d85c48"
+ "3cf5b2fe.6d05fe",
+ "f0c99a68.ca0658",
+ "c1b80a1b.46d148",
+ "760329d8.0e23e8",
+ "527ea73e.b01338",
+ "4649a8e5.374498",
+ "763fabb9.6749d4",
+ "4a713bbb.0e24a4",
+ "5dfe6967.a72dd8",
+ "f040467.85fceb8",
+ "e9cf0d76.80c3"
]
]
},
{
- "id": "6218a5e7.19801c",
+ "id": "3cf5b2fe.6d05fe",
"type": "set",
"name": "Calculate maxNumberOfConnsPercellCU",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n",
"comments": "",
- "x": 2131.75013923645,
- "y": 1694.750101685524,
- "z": "4d6578c4.6dc8b8",
+ "x": 2111.889024734497,
+ "y": 1631.7501029968262,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "d7ed5721.b6a058",
+ "id": "f0c99a68.ca0658",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio temp1 - \"/>\n<parameter name=\"field2\" value=\"`$tmp.maxNumberOfConnsPercellCU`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio temp2 - \"/>\n<parameter name=\"field4\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU1`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.rRMPolicyDedicatedRatio_SliceProfile`\"/>",
"comments": "",
"outputs": 1,
- "x": 2074.7500743865967,
- "y": 1822.7500711679459,
- "z": "4d6578c4.6dc8b8",
+ "x": 2054.8889598846436,
+ "y": 1759.750072479248,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "847e0a63.92c6c8",
+ "id": "c1b80a1b.46d148",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2095.7500743865967,
- "y": 1858.7500406503677,
- "z": "4d6578c4.6dc8b8",
+ "x": 2075.8889598846436,
+ "y": 1795.75004196167,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "bc41bbdf.e95d28",
- "470c5ace.e7b614"
+ "26bdd430.71fbcc",
+ "a9a299ee.0b9798"
]
]
},
{
- "id": "bc41bbdf.e95d28",
+ "id": "26bdd430.71fbcc",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2275.75,
- "y": 1796.7497497797012,
- "z": "4d6578c4.6dc8b8",
+ "x": 2255.888885498047,
+ "y": 1733.7497510910034,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "1b7d3039.94cbe"
+ "bb7ca0b9.369d6"
]
]
},
{
- "id": "1b7d3039.94cbe",
+ "id": "bb7ca0b9.369d6",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellCU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2553.75,
- "y": 1788.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2533.888885498047,
+ "y": 1725.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "74620174.3854b",
+ "id": "760329d8.0e23e8",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2132.75,
- "y": 1901.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2112.888885498047,
+ "y": 1838.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "cde60f46.242d2",
+ "id": "527ea73e.b01338",
"type": "execute",
"name": "prepare idNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "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": 2131.7500400543213,
- "y": 1941.7500139474869,
- "z": "4d6578c4.6dc8b8",
+ "x": 2111.888925552368,
+ "y": 1878.750015258789,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ace9b02b.2edc2",
+ "id": "f24e63ac.75b07",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2388.749979019165,
- "y": 2044.7501055002213,
- "z": "4d6578c4.6dc8b8",
+ "x": 2368.888864517212,
+ "y": 1981.7501068115234,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "40132242.f947dc"
+ "d86482f0.cfc8"
]
]
},
{
- "id": "40132242.f947dc",
+ "id": "d86482f0.cfc8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2547.7498779296875,
- "y": 2081.7501159906387,
- "z": "4d6578c4.6dc8b8",
+ "x": 2527.8887634277344,
+ "y": 2018.750117301941,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "ce858e45.304ef",
- "a0e7445d.246698"
+ "5bbd92e3.d30f9c",
+ "ec189288.77842"
]
]
},
{
- "id": "ce858e45.304ef",
+ "id": "5bbd92e3.d30f9c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2698.7499866485596,
- "y": 2049.7503196001053,
- "z": "4d6578c4.6dc8b8",
+ "x": 2678.8888721466064,
+ "y": 1986.7503209114075,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f7f902f2.e7da1",
+ "id": "c6e6920.620377",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2385.749952316284,
- "y": 1951.7500139474869,
- "z": "4d6578c4.6dc8b8",
+ "x": 2365.888837814331,
+ "y": 1888.750015258789,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "58a27ec4.653b6"
+ "2e0f86f4.8a9e3a"
]
]
},
{
- "id": "58a27ec4.653b6",
+ "id": "2e0f86f4.8a9e3a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2537.750244140625,
- "y": 1949.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2517.889129638672,
+ "y": 1886.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "6096c1a0.3b3d6",
- "3511e81b.158498",
- "479d909e.4559c"
+ "da17d5f1.123e68",
+ "ee60a035.02b17",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "6096c1a0.3b3d6",
+ "id": "da17d5f1.123e68",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2708.7498779296875,
- "y": 2010.7500549554825,
- "z": "4d6578c4.6dc8b8",
+ "x": 2688.8887634277344,
+ "y": 1947.7500562667847,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "3511e81b.158498",
+ "id": "ee60a035.02b17",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2703.75,
- "y": 1915.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2683.888885498047,
+ "y": 1852.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "bb944ddc.6b08d",
+ "id": "4649a8e5.374498",
"type": "execute",
"name": "fetch RRMPolicyRatio - NRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 2170.3056640625,
- "y": 1978.97232067585,
- "z": "4d6578c4.6dc8b8",
+ "x": 2150.444549560547,
+ "y": 1915.972321987152,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "f7f902f2.e7da1",
- "ace9b02b.2edc2"
+ "c6e6920.620377",
+ "f24e63ac.75b07"
]
]
},
{
- "id": "a0e7445d.246698",
+ "id": "ec189288.77842",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2724.7499256134033,
- "y": 2082.750044465065,
- "z": "4d6578c4.6dc8b8",
+ "x": 2704.88881111145,
+ "y": 2019.7500457763672,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "4dd5c0ad.ffb3b",
+ "id": "763fabb9.6749d4",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2102.19441986084,
- "y": 2112.3059092760086,
- "z": "4d6578c4.6dc8b8",
+ "x": 2082.3333053588867,
+ "y": 2049.305910587311,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "8fe136c6.17a838"
+ "a2c3c472.269cc8"
]
]
},
{
- "id": "8fe136c6.17a838",
+ "id": "a2c3c472.269cc8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2298.749969482422,
- "y": 2096.750191807747,
- "z": "4d6578c4.6dc8b8",
+ "x": 2278.8888549804688,
+ "y": 2033.750193119049,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "2ce5e5de.75ff2a",
- "80a7ac47.c5b5f",
- "f0e4d0b9.5cb97",
- "4ec432c0.d80f7c",
- "817d9a40.4d7588",
- "913f52a7.91d36",
- "113eac04.d40744",
- "64d19144.0eb6c",
- "fbccd084.f1d7d",
- "6fcd9fe2.31558",
- "f0cbaac9.a493b8"
+ "ecf16e70.2de66",
+ "9db773a7.6e459",
+ "3ac50a97.cb9a76",
+ "d6e995a3.588498",
+ "bf1adc79.2d9f2",
+ "4dd85231.e8549c",
+ "49368160.b2bfa",
+ "1efc1e9a.80a8b1",
+ "7542c5ac.6e2e1c",
+ "4d8fa04d.150dd",
+ "d84ddfc1.28fec"
]
]
},
{
- "id": "2ce5e5de.75ff2a",
+ "id": "ecf16e70.2de66",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_new' value='`$tmp.rrmPolicyDedicatedRatiocellCU_old + $tmp.rRMPolicyDedicatedRatio_SliceProfile`' />",
"comments": "",
- "x": 2606.7500171661377,
- "y": 2166.750291466713,
- "z": "4d6578c4.6dc8b8",
+ "x": 2586.8889026641846,
+ "y": 2103.750292778015,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "80a7ac47.c5b5f",
+ "id": "9db773a7.6e459",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Existing RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatiocellCU_old`\"/>\n<parameter name=\"field3\" value=\"Updated RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field4\" value=\"`$tmp.rrmPolicyDedicatedRatio_CellCU_new`\"/>",
"comments": "",
"outputs": 1,
- "x": 2531.750047683716,
- "y": 2200.749987244606,
- "z": "4d6578c4.6dc8b8",
+ "x": 2511.8889331817627,
+ "y": 2137.749988555908,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f0e4d0b9.5cb97",
+ "id": "3ac50a97.cb9a76",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2581.75,
- "y": 2234.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2561.888885498047,
+ "y": 2171.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "825507e4.aa30f8",
- "f00e0383.441b5"
+ "1887bb80.d29c35",
+ "696730cb.8b88f"
]
]
},
{
- "id": "825507e4.aa30f8",
+ "id": "1887bb80.d29c35",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2862.8610458374023,
- "y": 2162.861032128334,
- "z": "4d6578c4.6dc8b8",
+ "x": 2842.999931335449,
+ "y": 2099.8610334396362,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "ac824bbc.bac8e8"
+ "1ff99a7c.567bc6"
]
]
},
{
- "id": "ac824bbc.bac8e8",
+ "id": "1ff99a7c.567bc6",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellCU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3107.75040435791,
- "y": 2164.6388832330704,
- "z": "4d6578c4.6dc8b8",
+ "x": 3087.889289855957,
+ "y": 2101.6388845443726,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "4ec432c0.d80f7c",
+ "id": "d6e995a3.588498",
"type": "execute",
"name": "patch NRCellCU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellCU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2619.6387786865234,
- "y": 2412.4167066812515,
- "z": "4d6578c4.6dc8b8",
+ "x": 2599.7776641845703,
+ "y": 2349.4167079925537,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "566a5169.0247f",
- "f8f81676.3a6628"
+ "4ecb8d10.690144",
+ "893deca8.164c5"
]
]
},
{
- "id": "566a5169.0247f",
+ "id": "4ecb8d10.690144",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2882.75,
- "y": 2397.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2862.888885498047,
+ "y": 2334.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "df046f8f.74fc5"
+ "6545dffb.69d0c"
]
]
},
{
- "id": "df046f8f.74fc5",
+ "id": "6545dffb.69d0c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3073.75,
- "y": 2397.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 3053.888885498047,
+ "y": 2334.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "1ce5b72b.fab4d9"
+ "bfb79b28.b40068"
]
]
},
{
- "id": "1ce5b72b.fab4d9",
+ "id": "bfb79b28.b40068",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 3258.749755859375,
- "y": 2398.7502380609512,
- "z": "4d6578c4.6dc8b8",
+ "x": 3238.888641357422,
+ "y": 2335.7502393722534,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f8f81676.3a6628",
+ "id": "893deca8.164c5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2881.75,
- "y": 2485.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2861.888885498047,
+ "y": 2422.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "bf50a8b6.dba708"
+ "a4f727a.7fedad8"
]
]
},
{
- "id": "bf50a8b6.dba708",
+ "id": "a4f727a.7fedad8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3100.750244140625,
- "y": 2490.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 3080.889129638672,
+ "y": 2427.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "48451220.92d92c",
- "7f61be2.bfbf84",
- "479d909e.4559c"
+ "724733e2.f991cc",
+ "e51a093a.3fcf68",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "48451220.92d92c",
+ "id": "724733e2.f991cc",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3345.7498779296875,
- "y": 2536.7500549554825,
- "z": "4d6578c4.6dc8b8",
+ "x": 3325.8887634277344,
+ "y": 2473.7500562667847,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "7f61be2.bfbf84",
+ "id": "e51a093a.3fcf68",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3340.75,
- "y": 2441.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 3320.888885498047,
+ "y": 2378.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "d61c7133.88a1b",
+ "id": "4a713bbb.0e24a4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2108.416831970215,
- "y": 2067.8612834215164,
- "z": "4d6578c4.6dc8b8",
+ "x": 2088.5557174682617,
+ "y": 2004.8612847328186,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "6a9c0d77.8182b4",
+ "id": "4b7275c8.e6af5c",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1778.7500648498535,
- "y": 1624.250123143196,
- "z": "4d6578c4.6dc8b8",
+ "x": 1758.8889503479004,
+ "y": 1561.2501244544983,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "71fa8a11.f27964"
+ "6b928a0f.68b5c4"
]
]
},
{
- "id": "bc14f401.6d9738",
+ "id": "2676207.c5f25e",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field2\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2292.75,
- "y": 1104.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2272.888885498047,
+ "y": 1041.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "b481d2c4.5dffe",
+ "id": "50183232.c9eaac",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1402.750129699707,
- "y": 2329.8612920045853,
- "z": "4d6578c4.6dc8b8",
+ "x": 1382.889015197754,
+ "y": 2266.8612933158875,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "8f88d421.8dd488",
- "51a0c05e.7561a",
- "34dc53d6.b374fc",
- "3b328437.5c249c",
- "4553a6ba.147f48",
- "58ac14e8.eb98dc",
- "bada65e4.1da208",
- "4eb1dd56.c808d4",
- "87a7e402.af5cf8",
- "3c6081eb.b1579e",
- "1fcbf748.f9d299",
- "ee277e46.997ce"
+ "fe1570d7.b075a",
+ "6846b09c.d3d28",
+ "a1254a6f.4c5cd8",
+ "8f616027.e5eb4",
+ "7c088ef3.8617d",
+ "ae9072e3.e83bd",
+ "5af530eb.cec9c",
+ "d2e46c4d.2fc45",
+ "cc61f889.155e28",
+ "71329213.46968c",
+ "83cfc0b6.b37ff",
+ "7394667b.400298"
]
]
},
{
- "id": "deee5e5b.eab8c",
+ "id": "db6d1512.496af8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2335.305585861206,
- "y": 2501.305521130562,
- "z": "4d6578c4.6dc8b8",
+ "x": 2315.444471359253,
+ "y": 2438.305522441864,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "4efc3e8f.b9f52"
+ "faf2ce97.c1316"
]
]
},
{
- "id": "92ca3817.cb4e68",
+ "id": "bb324660.d31748",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2444.972381591797,
- "y": 2455.3058758974075,
- "z": "4d6578c4.6dc8b8",
+ "x": 2425.1112670898438,
+ "y": 2392.3058772087097,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "5196063c.12f678"
+ "a5803f8c.1939b"
]
]
},
{
- "id": "5196063c.12f678",
+ "id": "a5803f8c.1939b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2600.305732727051,
- "y": 2465.750041127205,
- "z": "4d6578c4.6dc8b8",
+ "x": 2580.4446182250977,
+ "y": 2402.750042438507,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "1a1539cb.644be6",
- "aebc70dc.11a22",
- "479d909e.4559c"
+ "f85b8ee.1d22f7",
+ "dc93ef84.669e4",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "aebc70dc.11a22",
+ "id": "dc93ef84.669e4",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating NRCellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2740.749801635742,
- "y": 2474.8612662553787,
- "z": "4d6578c4.6dc8b8",
+ "x": 2720.888687133789,
+ "y": 2411.861267566681,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "1a1539cb.644be6",
+ "id": "f85b8ee.1d22f7",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2759.0828552246094,
- "y": 2522.3055497407913,
- "z": "4d6578c4.6dc8b8",
+ "x": 2739.2217407226562,
+ "y": 2459.3055510520935,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "136d7b50.756295",
+ "id": "bea93cdb.bf5b3",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 2598.4165420532227,
- "y": 2509.972101330757,
- "z": "4d6578c4.6dc8b8",
+ "x": 2578.5554275512695,
+ "y": 2446.9721026420593,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "4efc3e8f.b9f52",
+ "id": "faf2ce97.c1316",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2469.9723358154297,
- "y": 2506.194364666939,
- "z": "4d6578c4.6dc8b8",
+ "x": 2450.1112213134766,
+ "y": 2443.194365978241,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "136d7b50.756295"
+ "bea93cdb.bf5b3"
]
]
},
{
- "id": "c3541b36.ca9228",
+ "id": "615e4e4a.a9ddd",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2433.9724349975586,
- "y": 2680.8614164590836,
- "z": "4d6578c4.6dc8b8",
+ "x": 2414.1113204956055,
+ "y": 2617.8614177703857,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "5595137c.47760c"
+ "c4a1da4a.922fc8"
]
]
},
{
- "id": "2b0ff9fe.3fd566",
+ "id": "80d48c37.6fadb",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2449.7500228881836,
- "y": 2752.7497901916504,
- "z": "4d6578c4.6dc8b8",
+ "x": 2429.8889083862305,
+ "y": 2689.7497915029526,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "2ce6a12a.e113ce"
+ "be8ba5a1.6855f8"
]
]
},
{
- "id": "5595137c.47760c",
+ "id": "c4a1da4a.922fc8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2637.7499465942383,
- "y": 2681.749987244606,
- "z": "4d6578c4.6dc8b8",
+ "x": 2617.888832092285,
+ "y": 2618.749988555908,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "534ab7d9.974d98",
- "eaaab728.761b28",
- "479d909e.4559c"
+ "a88ad955.c9e788",
+ "c6923b06.080ca8",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "eaaab728.761b28",
+ "id": "c6923b06.080ca8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2819.305244445801,
- "y": 2675.5279327630997,
- "z": "4d6578c4.6dc8b8",
+ "x": 2799.4441299438477,
+ "y": 2612.527934074402,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "534ab7d9.974d98",
+ "id": "a88ad955.c9e788",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2814.30509185791,
- "y": 2713.861215233803,
- "z": "4d6578c4.6dc8b8",
+ "x": 2794.443977355957,
+ "y": 2650.861216545105,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "2ce6a12a.e113ce",
+ "id": "be8ba5a1.6855f8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2588.7501106262207,
- "y": 2756.749973297119,
- "z": "4d6578c4.6dc8b8",
+ "x": 2568.8889961242676,
+ "y": 2693.7499746084213,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "8bbfc7e8.9c1db8"
+ "3ab17c5a.256584"
]
]
},
{
- "id": "8bbfc7e8.9c1db8",
+ "id": "3ab17c5a.256584",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated CPS - NRCellCU RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 2724.750202178955,
- "y": 2749.7500953674316,
- "z": "4d6578c4.6dc8b8",
+ "x": 2704.889087677002,
+ "y": 2686.750096678734,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8d18d60.089e928",
+ "id": "6a6b75dd.3970ec",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 588.75,
- "y": 1568.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 568.8888854980469,
+ "y": 1505.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "fd24acfc.982b4",
- "b3f6888c.53b148",
- "fb05ab6b.b44b08"
+ "679d966f.27d198",
+ "18c5a19.f3f235e",
+ "ce7fa351.0e38b"
]
]
},
{
- "id": "fd24acfc.982b4",
+ "id": "679d966f.27d198",
"type": "execute",
"name": "read CUUP list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n ",
+ "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 ",
"comments": "",
"outputs": 1,
- "x": 907.2500152587891,
- "y": 1640.000095486641,
- "z": "4d6578c4.6dc8b8",
+ "x": 887.3889007568359,
+ "y": 1577.0000967979431,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "b3f6888c.53b148",
+ "id": "18c5a19.f3f235e",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUUP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 883,
- "y": 1686.250095486641,
- "z": "4d6578c4.6dc8b8",
+ "x": 863.1388854980469,
+ "y": 1623.2500967979431,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "fb05ab6b.b44b08",
+ "id": "ce7fa351.0e38b",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 898.5000457763672,
- "y": 1733.7500973939896,
- "z": "4d6578c4.6dc8b8",
+ "x": 878.6389312744141,
+ "y": 1670.7500987052917,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "e9262143.c127a"
+ "47d42911.079af8"
]
]
},
{
- "id": "e9262143.c127a",
+ "id": "47d42911.079af8",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1140.75,
- "y": 1725.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 1120.8888854980469,
+ "y": 1662.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "a8bdc975.93d718",
- "df26693d.9c1d68",
- "b854d19f.e63f8"
+ "14da013b.cec56f",
+ "9193d385.aa108",
+ "85dbf801.9ef478"
]
]
},
{
- "id": "a8bdc975.93d718",
+ "id": "14da013b.cec56f",
"type": "execute",
"name": "read CUUP id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
+ "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'`\" />",
"comments": "",
"outputs": 1,
- "x": 1396.0000305175781,
- "y": 1695.0277124643326,
- "z": "4d6578c4.6dc8b8",
+ "x": 1376.138916015625,
+ "y": 1632.0277137756348,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "df26693d.9c1d68",
+ "id": "9193d385.aa108",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1380.3334636688232,
- "y": 1736.8056679964066,
- "z": "4d6578c4.6dc8b8",
+ "x": 1360.4723491668701,
+ "y": 1673.8056693077087,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "b854d19f.e63f8",
+ "id": "85dbf801.9ef478",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1373.75,
- "y": 2809.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 1353.8888854980469,
+ "y": 2746.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "7e729ad2.08cec4",
- "43d320b7.13252",
- "b20337ab.3175f8",
- "aa323d75.37c99",
- "7506de9c.a252e",
- "7a48dd4b.7e5964",
- "73762e8c.ada86",
- "64c40584.9db1cc",
- "2c6e3557.445b6a",
- "ce1d73c1.a526f",
- "c6febfd4.7ba2f",
- "44079d40.b3e3e4",
- "a7c61b4d.7c7ac8",
- "2b2dcf92.ad428",
- "76809bf5.5f9204",
- "c91f3329.9b73d",
- "74fa9997.55e2c8",
- "17f442ac.e65c0d",
- "a69e803e.2d92c"
+ "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"
]
]
},
{
- "id": "b20337ab.3175f8",
+ "id": "723704cd.8c138c",
"type": "execute",
"name": "patch PLMNInfoListEntry gNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-gNBCUUP-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 1688.4167785644531,
- "y": 3012.1945120096207,
- "z": "4d6578c4.6dc8b8",
+ "x": 1668.5556640625,
+ "y": 2949.194513320923,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "f12d3ff7.048c4",
- "8d7a8d7c.4ceb3"
+ "73dba308.fa6cac",
+ "34c1cb36.bb8804"
]
]
},
{
- "id": "f12d3ff7.048c4",
+ "id": "73dba308.fa6cac",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1984.8612480163574,
- "y": 3043.083513855934,
- "z": "4d6578c4.6dc8b8",
+ "x": 1965.0001335144043,
+ "y": 2980.0835151672363,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "831cd380.e2d81"
+ "a1d96aff.b551b8"
]
]
},
{
- "id": "831cd380.e2d81",
+ "id": "a1d96aff.b551b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2174.0835189819336,
- "y": 3029.8613945245743,
- "z": "4d6578c4.6dc8b8",
+ "x": 2154.2224044799805,
+ "y": 2966.8613958358765,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "122e9c3.0b3de64",
- "63387a22.b02654",
- "479d909e.4559c"
+ "3e1ad787.356fa8",
+ "5cfa06ba.5c4618",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "63387a22.b02654",
+ "id": "5cfa06ba.5c4618",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2405.0835304260254,
- "y": 2991.6393200159073,
- "z": "4d6578c4.6dc8b8",
+ "x": 2385.2224159240723,
+ "y": 2928.6393213272095,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "122e9c3.0b3de64",
+ "id": "3e1ad787.356fa8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2432.306022644043,
- "y": 3032.306075692177,
- "z": "4d6578c4.6dc8b8",
+ "x": 2412.44490814209,
+ "y": 2969.306077003479,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "ab5c1b92.e216d8",
+ "id": "978d8feb.4351c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 2347.4164237976074,
- "y": 3073.9724136590958,
- "z": "4d6578c4.6dc8b8",
+ "x": 2327.5553092956543,
+ "y": 3010.972414970398,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "9bcbbc63.ce6a8",
+ "id": "39b43721.0cc308",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2161.083240509033,
- "y": 3079.527982354164,
- "z": "4d6578c4.6dc8b8",
+ "x": 2141.22212600708,
+ "y": 3016.5279836654663,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "ab5c1b92.e216d8"
+ "978d8feb.4351c"
]
]
},
{
- "id": "8d7a8d7c.4ceb3",
+ "id": "34c1cb36.bb8804",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1975.5277481079102,
- "y": 3083.416991829872,
- "z": "4d6578c4.6dc8b8",
+ "x": 1955.666633605957,
+ "y": 3020.4169931411743,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "9bcbbc63.ce6a8"
+ "39b43721.0cc308"
]
]
},
{
- "id": "7e729ad2.08cec4",
+ "id": "7caf416.76526c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1640.75,
- "y": 2811.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 1620.8888854980469,
+ "y": 2748.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "389ee51f.2b170a",
- "c5b1dc9e.1d94d"
+ "90a5fb47.cd15c8",
+ "dc825897.fdb648"
]
]
},
{
- "id": "389ee51f.2b170a",
+ "id": "90a5fb47.cd15c8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1881.7501068115234,
- "y": 2912.749912261963,
- "z": "4d6578c4.6dc8b8",
+ "x": 1861.8889923095703,
+ "y": 2849.749913573265,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "dd498c40.f04d3"
+ "6935724a.bcb9fc"
]
]
},
{
- "id": "c5b1dc9e.1d94d",
+ "id": "dc825897.fdb648",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1871.3057403564453,
- "y": 2952.638889312744,
- "z": "4d6578c4.6dc8b8",
+ "x": 1851.4446258544922,
+ "y": 2889.6388906240463,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "3ea81489.2ed41c"
+ "c20d4c6b.8f301"
]
]
},
{
- "id": "dd498c40.f04d3",
+ "id": "6935724a.bcb9fc",
"type": "execute",
"name": "generate patch PLMNInfoListEntry CUUP URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2187.749984741211,
- "y": 2880.750217437744,
- "z": "4d6578c4.6dc8b8",
+ "x": 2167.888870239258,
+ "y": 2817.7502187490463,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "43d320b7.13252",
+ "id": "ea59b2bf.f32b9",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1652.4166259765625,
- "y": 2856.305708527565,
- "z": "4d6578c4.6dc8b8",
+ "x": 1632.5555114746094,
+ "y": 2793.305709838867,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "817d9a40.4d7588",
+ "id": "bf1adc79.2d9f2",
"type": "set",
"name": "RRMPolicyRatio id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />\n",
"comments": "",
- "x": 2583.5281677246094,
- "y": 2310.5274807214737,
- "z": "4d6578c4.6dc8b8",
+ "x": 2563.6670532226562,
+ "y": 2247.527482032776,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "913f52a7.91d36",
+ "id": "4dd85231.e8549c",
"type": "set",
"name": "RRMPolicyMember Id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.rrmPolicyMembers+1`'/>\n",
"comments": "",
- "x": 2594.5279083251953,
- "y": 2346.417045235634,
- "z": "4d6578c4.6dc8b8",
+ "x": 2574.666793823242,
+ "y": 2283.417046546936,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "aa323d75.37c99",
+ "id": "8a0938f2.0d9658",
"type": "set",
"name": "Calculate rRMPolicyDedicatedRatio Temp",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n",
"comments": "",
- "x": 1710.3058013916016,
- "y": 3121.9731270074844,
- "z": "4d6578c4.6dc8b8",
+ "x": 1690.4446868896484,
+ "y": 3058.9731283187866,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "7506de9c.a252e",
+ "id": "40657510.28928c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio-CUUP`\"/>",
"comments": "",
"outputs": 1,
- "x": 1614.0835304260254,
- "y": 3186.1949521303177,
- "z": "4d6578c4.6dc8b8",
+ "x": 1594.2224159240723,
+ "y": 3123.19495344162,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7a48dd4b.7e5964",
+ "id": "f6ec38a.f667dc8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1631.75,
- "y": 3226.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 1611.8888854980469,
+ "y": 3163.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "e0d5f9df.572568",
- "f0c6590e.ff84c8"
+ "324b1efb.4ed4d2",
+ "8810698a.b608c8"
]
]
},
{
- "id": "e0d5f9df.572568",
+ "id": "324b1efb.4ed4d2",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1809.75,
- "y": 3193.7497497797012,
- "z": "4d6578c4.6dc8b8",
+ "x": 1789.8888854980469,
+ "y": 3130.7497510910034,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "d5b3429e.86a3b"
+ "ae8d7f27.a2ec1"
]
]
},
{
- "id": "d5b3429e.86a3b",
+ "id": "ae8d7f27.a2ec1",
"type": "execute",
"name": "fetch RRMPolicyRatio CUUP - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2104.750030517578,
- "y": 3139.750050187111,
- "z": "4d6578c4.6dc8b8",
+ "x": 2084.888916015625,
+ "y": 3076.750051498413,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "73762e8c.ada86",
+ "id": "90b3d619.5b3f38",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1668.7500839233398,
- "y": 3281.7500072717667,
- "z": "4d6578c4.6dc8b8",
+ "x": 1648.8889694213867,
+ "y": 3218.750008583069,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "64c40584.9db1cc",
+ "id": "666dc8b1.408f98",
"type": "execute",
"name": "fetch RRMPolicyRatio - CUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-cuup-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1657.7503204345703,
- "y": 3387.750035881996,
- "z": "4d6578c4.6dc8b8",
+ "x": 1637.8892059326172,
+ "y": 3324.7500371932983,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "fa1727db.4ff6f8",
- "2caf3fc.d12ffc"
+ "d2c66c48.5d4cb",
+ "c93b558.3fff4a8"
]
]
},
{
- "id": "fa1727db.4ff6f8",
+ "id": "d2c66c48.5d4cb",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1914.7500953674316,
- "y": 3328.7501722574234,
- "z": "4d6578c4.6dc8b8",
+ "x": 1894.8889808654785,
+ "y": 3265.7501735687256,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "95863617.152ff8"
+ "969c6244.d89d5"
]
]
},
{
- "id": "95863617.152ff8",
+ "id": "969c6244.d89d5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2075.750244140625,
- "y": 3347.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2055.889129638672,
+ "y": 3284.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "1d3ed326.676d6d",
- "1a7af4ec.bd2a9b",
- "479d909e.4559c"
+ "251e39d4.16f5b6",
+ "5a1c343d.32143c",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "1a7af4ec.bd2a9b",
+ "id": "5a1c343d.32143c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2241.75,
- "y": 3313.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2221.888885498047,
+ "y": 3250.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "1d3ed326.676d6d",
+ "id": "251e39d4.16f5b6",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in fetching RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2297.860809326172,
- "y": 3357.6390167474747,
- "z": "4d6578c4.6dc8b8",
+ "x": 2277.9996948242188,
+ "y": 3294.639018058777,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "14ba2028.e74e7",
+ "id": "ce847d63.3e198",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2282.9721069335938,
- "y": 3453.305573105812,
- "z": "4d6578c4.6dc8b8",
+ "x": 2263.1109924316406,
+ "y": 3390.3055744171143,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7abf90e6.fc0eb",
+ "id": "3719ebb9.d09bf4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2277.9719161987305,
- "y": 3396.9723316431046,
- "z": "4d6578c4.6dc8b8",
+ "x": 2258.1108016967773,
+ "y": 3333.9723329544067,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "859ce1d7.ad2f3",
+ "id": "902c44d3.d33148",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2085.305465698242,
- "y": 3395.1946407556534,
- "z": "4d6578c4.6dc8b8",
+ "x": 2065.444351196289,
+ "y": 3332.1946420669556,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "7abf90e6.fc0eb",
- "14ba2028.e74e7"
+ "3719ebb9.d09bf4",
+ "ce847d63.3e198"
]
]
},
{
- "id": "2caf3fc.d12ffc",
+ "id": "c93b558.3fff4a8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1905.7500953674316,
- "y": 3398.7501751184464,
- "z": "4d6578c4.6dc8b8",
+ "x": 1885.8889808654785,
+ "y": 3335.7501764297485,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "859ce1d7.ad2f3"
+ "902c44d3.d33148"
]
]
},
{
- "id": "2c6e3557.445b6a",
+ "id": "9bfbd80e.ecd3c8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1592.750228881836,
- "y": 3523.7500969171524,
- "z": "4d6578c4.6dc8b8",
+ "x": 1572.8891143798828,
+ "y": 3460.7500982284546,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ce1d73c1.a526f",
+ "id": "3ded0155.cc622e",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1632.4167175292969,
- "y": 3606.0835955142975,
- "z": "4d6578c4.6dc8b8",
+ "x": 1612.5556030273438,
+ "y": 3543.0835968255997,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "c15c3846.9cc378"
+ "4f3a7dd3.0ab494"
]
]
},
{
- "id": "c15c3846.9cc378",
+ "id": "4f3a7dd3.0ab494",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1848.4166259765625,
- "y": 3622.0832458734512,
- "z": "4d6578c4.6dc8b8",
+ "x": 1828.5555114746094,
+ "y": 3559.0832471847534,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "8c306307.562dc",
- "16688c58.f027d4",
- "432ce41d.3e06ac",
- "72b5092b.75c418",
- "f1a9ca03.a0eb48",
- "993dd44a.170258",
- "a427632f.d869c",
- "268bc997.735946",
- "eb350ab1.e1b0a8"
+ "be766599.83ca58",
+ "595e932d.4f583c",
+ "6a85cb38.28d214",
+ "219dc1c1.1804de",
+ "98dfe36b.b2184",
+ "beb46169.f7a6a",
+ "7a7d0d77.cd9c24",
+ "7f6d0076.5688b",
+ "5cf10824.d1c1a8"
]
]
},
{
- "id": "8c306307.562dc",
+ "id": "be766599.83ca58",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`\" />",
"comments": "",
- "x": 2173.4166259765625,
- "y": 3599.0832458734512,
- "z": "4d6578c4.6dc8b8",
+ "x": 2153.5555114746094,
+ "y": 3536.0832471847534,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "432ce41d.3e06ac",
+ "id": "6a85cb38.28d214",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2141.416603088379,
- "y": 3641.1944819688797,
- "z": "4d6578c4.6dc8b8",
+ "x": 2121.555488586426,
+ "y": 3578.194483280182,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "3ba2ebea.4073e4",
- "7b24440a.b6717c"
+ "7aafc55d.3d535c",
+ "c7634a8b.72f608"
]
]
},
{
- "id": "3ba2ebea.4073e4",
+ "id": "7aafc55d.3d535c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2358.4167251586914,
- "y": 3637.0830656290054,
- "z": "4d6578c4.6dc8b8",
+ "x": 2338.5556106567383,
+ "y": 3574.0830669403076,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "cbc21366.cc7fa"
+ "57d54c90.a6c084"
]
]
},
{
- "id": "cbc21366.cc7fa",
+ "id": "57d54c90.a6c084",
"type": "execute",
"name": "patch RRMPolicyRatio CUUP- URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2631.4165954589844,
- "y": 3607.083615899086,
- "z": "4d6578c4.6dc8b8",
+ "x": 2611.5554809570312,
+ "y": 3544.083617210388,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f1a9ca03.a0eb48",
+ "id": "98dfe36b.b2184",
"type": "set",
"name": "RRMPolicyMember Id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.rrmPolicyMembers-CUUP+1`\" />",
"comments": "",
- "x": 2145.3055267333984,
- "y": 3792.8612962961197,
- "z": "4d6578c4.6dc8b8",
+ "x": 2125.4444122314453,
+ "y": 3729.861297607422,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "16688c58.f027d4",
+ "id": "595e932d.4f583c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Updated RRMPolicyRatio for CUUP is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio_id is - \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyMember_id CUUP is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field7\" value=\"Existing RRMPolicyMembers Length\"/>\n<parameter name=\"field8\" value=\"`$tmp.rrmPolicyMembers-CUUP`\"/>\n<parameter name=\"field9\" value=\"Update RRMPolicyRatio URL - \"/>\n<parameter name=\"field10\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 2106.7502670288086,
- "y": 3825.7502485513687,
- "z": "4d6578c4.6dc8b8",
+ "x": 2086.8891525268555,
+ "y": 3762.750249862671,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "72b5092b.75c418",
+ "id": "219dc1c1.1804de",
"type": "execute",
"name": "patch CUUP- RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-CUUP-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2169.305534362793,
- "y": 3862.194244980812,
- "z": "4d6578c4.6dc8b8",
+ "x": 2149.44441986084,
+ "y": 3799.1942462921143,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "354622a4.01e51e",
- "5fbbff2d.baa83"
+ "93613dd7.b1456",
+ "1c64044e.4dda4c"
]
]
},
{
- "id": "354622a4.01e51e",
+ "id": "93613dd7.b1456",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2442.4166259765625,
- "y": 3813.0832458734512,
- "z": "4d6578c4.6dc8b8",
+ "x": 2422.5555114746094,
+ "y": 3750.0832471847534,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "69f07a5c.9cf3c4"
+ "760e538a.6fdf2c"
]
]
},
{
- "id": "69f07a5c.9cf3c4",
+ "id": "760e538a.6fdf2c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2633.4166259765625,
- "y": 3813.0832458734512,
- "z": "4d6578c4.6dc8b8",
+ "x": 2613.5555114746094,
+ "y": 3750.0832471847534,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "a9cd31eb.4cc17"
+ "f9384e38.b56d4"
]
]
},
{
- "id": "a9cd31eb.4cc17",
+ "id": "f9384e38.b56d4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2818.4163818359375,
- "y": 3814.0834900140762,
- "z": "4d6578c4.6dc8b8",
+ "x": 2798.5552673339844,
+ "y": 3751.0834913253784,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e783d84f.9663b8",
+ "id": "e7aab2d1.5226d",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2900.4166259765625,
- "y": 3857.0832458734512,
- "z": "4d6578c4.6dc8b8",
+ "x": 2880.5555114746094,
+ "y": 3794.0832471847534,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "ba52afe8.7e6ff",
+ "id": "db08398b.5a8be8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2905.41650390625,
- "y": 3952.0833069086075,
- "z": "4d6578c4.6dc8b8",
+ "x": 2885.555389404297,
+ "y": 3889.0833082199097,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "7364065d.f75a68",
+ "id": "e1d93fbb.157bc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2660.4168701171875,
- "y": 3906.0832458734512,
- "z": "4d6578c4.6dc8b8",
+ "x": 2640.5557556152344,
+ "y": 3843.0832471847534,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "ba52afe8.7e6ff",
- "e783d84f.9663b8",
- "479d909e.4559c"
+ "db08398b.5a8be8",
+ "e7aab2d1.5226d",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "5fbbff2d.baa83",
+ "id": "1c64044e.4dda4c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2441.4166259765625,
- "y": 3901.0832458734512,
- "z": "4d6578c4.6dc8b8",
+ "x": 2421.5555114746094,
+ "y": 3838.0832471847534,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "7364065d.f75a68"
+ "e1d93fbb.157bc"
]
]
},
{
- "id": "c6febfd4.7ba2f",
+ "id": "3f377b85.d545d4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1314.861328125,
- "y": 3853.3057500123978,
- "z": "4d6578c4.6dc8b8",
+ "x": 1295.0002136230469,
+ "y": 3790.3057513237,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "28f5dfd.9a4812",
- "50bcf572.bcf0cc",
- "47702ad.848f4d4",
- "c914f18c.7a4f1",
- "104eb87.a376648",
- "45595c3c.0be1a4",
- "a051c642.6a7bc8",
- "87a1a22f.c133b",
- "908953b0.a03cd",
- "37b9229.a3546de",
- "295de976.356436",
- "d5b4aac3.9ea238"
+ "ab647e74.04689",
+ "d8639060.14d84",
+ "3d5b389d.7c82c8",
+ "c3a0cb5f.a42518",
+ "b634cc5a.23489",
+ "3a7f9512.b8f11a",
+ "7ec5f3e5.9f130c",
+ "8332038f.8d5c7",
+ "ca59836e.185ca",
+ "9d8ac423.b38b68",
+ "1f365e5d.477ac2"
]
]
},
{
- "id": "1538fb5f.4f3bb5",
+ "id": "af25fb19.3e04e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2207.0833740234375,
- "y": 3906.4169861078262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2187.2222595214844,
+ "y": 3843.4169874191284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "e156ed41.b239e"
+ "57fab15d.be92c"
]
]
},
{
- "id": "ddfd7b68.8530b8",
+ "id": "7a5573d5.15215c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2193.58345413208,
- "y": 3956.1669107675552,
- "z": "4d6578c4.6dc8b8",
+ "x": 2173.722339630127,
+ "y": 3893.1669120788574,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "9c627ea9.b2d31"
+ "8324f8ad.251088"
]
]
},
{
- "id": "9c627ea9.b2d31",
+ "id": "8324f8ad.251088",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2352.0832748413086,
- "y": 3984.6669729948044,
- "z": "4d6578c4.6dc8b8",
+ "x": 2332.2221603393555,
+ "y": 3921.6669743061066,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "6cd70f8.ecedff"
+ "530b0b10.5745f4"
]
]
},
{
- "id": "e156ed41.b239e",
+ "id": "57fab15d.be92c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2395.333641052246,
- "y": 3943.6669107675552,
- "z": "4d6578c4.6dc8b8",
+ "x": 2375.472526550293,
+ "y": 3880.6669120788574,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "7bf34b39.555734",
- "cda14761.70e308",
- "479d909e.4559c"
+ "63e678ce.cb9b68",
+ "a8e36730.7335c8",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "6cd70f8.ecedff",
+ "id": "530b0b10.5745f4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 2488.5835189819336,
- "y": 3998.1670347452164,
- "z": "4d6578c4.6dc8b8",
+ "x": 2468.7224044799805,
+ "y": 3935.1670360565186,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7bf34b39.555734",
+ "id": "63e678ce.cb9b68",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2653.833122253418,
- "y": 3987.166973233223,
- "z": "4d6578c4.6dc8b8",
+ "x": 2633.972007751465,
+ "y": 3924.166974544525,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "cda14761.70e308",
+ "id": "a8e36730.7335c8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating CUUP. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2562.5833053588867,
- "y": 3952.9167886972427,
- "z": "4d6578c4.6dc8b8",
+ "x": 2542.7221908569336,
+ "y": 3889.916790008545,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "a29bc829.f0a308",
+ "id": "723ecf73.052b7",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2616.833339691162,
- "y": 4188.167035698891,
- "z": "4d6578c4.6dc8b8",
+ "x": 2596.972225189209,
+ "y": 4125.167037010193,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "9b0063e8.dab5c",
+ "id": "68b8e965.619fb8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2613.083053588867,
- "y": 4229.416791558266,
- "z": "4d6578c4.6dc8b8",
+ "x": 2593.221939086914,
+ "y": 4166.416792869568,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "f24c3597.bcb938",
+ "id": "63dabcf3.5554b4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2433.3335189819336,
- "y": 4222.166974663734,
- "z": "4d6578c4.6dc8b8",
+ "x": 2413.4724044799805,
+ "y": 4159.166975975037,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "9b0063e8.dab5c",
- "a29bc829.f0a308",
- "479d909e.4559c"
+ "68b8e965.619fb8",
+ "723ecf73.052b7",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "39ab04a2.95217c",
+ "id": "dade33a3.9de9",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - CUUP RRMPolicyRatio \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 \"/>",
"comments": "",
"outputs": 1,
- "x": 2586.0834197998047,
- "y": 4276.416730523109,
- "z": "4d6578c4.6dc8b8",
+ "x": 2566.2223052978516,
+ "y": 4213.416731834412,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ecf4a24e.3af86",
+ "id": "c2bb18f7.bcdb08",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2420.0834197998047,
- "y": 4275.416730523109,
- "z": "4d6578c4.6dc8b8",
+ "x": 2400.2223052978516,
+ "y": 4212.416731834412,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "39ab04a2.95217c"
+ "dade33a3.9de9"
]
]
},
{
- "id": "cafa563f.803a28",
+ "id": "bc12f949.33a938",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2239.0834197998047,
- "y": 4281.416486382484,
- "z": "4d6578c4.6dc8b8",
+ "x": 2219.2223052978516,
+ "y": 4218.416487693787,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "ecf4a24e.3af86"
+ "c2bb18f7.bcdb08"
]
]
},
{
- "id": "1368906b.b985c",
+ "id": "813ee5ff.ad3788",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2232.8335494995117,
- "y": 4233.916852593422,
- "z": "4d6578c4.6dc8b8",
+ "x": 2212.9724349975586,
+ "y": 4170.916853904724,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "f24c3597.bcb938"
+ "63dabcf3.5554b4"
]
]
},
{
- "id": "d095f7c9.e586e8",
+ "id": "c1373bf8.753cb8",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1052.5002212524414,
- "y": 3897.5005947351456,
- "z": "4d6578c4.6dc8b8",
+ "x": 1032.6391067504883,
+ "y": 3834.5005960464478,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "cdee6074.ed50f",
- "1a25480f.a37d28",
- "f62b0243.ca58b"
+ "f273d765.01dec8",
+ "d7e0dfc9.7074b",
+ "6d95647.8dbec9c"
]
]
},
{
- "id": "cdee6074.ed50f",
+ "id": "f273d765.01dec8",
"type": "execute",
"name": "read DUlist size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ",
+ "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 ",
"comments": "",
"outputs": 1,
- "x": 1358.8335876464844,
- "y": 3988.61228954792,
- "z": "4d6578c4.6dc8b8",
+ "x": 1338.9724731445312,
+ "y": 3925.6122908592224,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "1a25480f.a37d28",
+ "id": "d7e0dfc9.7074b",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1350.166847229004,
- "y": 4040.8340245485306,
- "z": "4d6578c4.6dc8b8",
+ "x": 1330.3057327270508,
+ "y": 3977.8340258598328,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f62b0243.ca58b",
+ "id": "6d95647.8dbec9c",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1382.2781066894531,
- "y": 4101.612041592598,
- "z": "4d6578c4.6dc8b8",
+ "x": 1362.4169921875,
+ "y": 4038.6120429039,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "7d091122.91519"
+ "bda428.2cd86bd8"
]
]
},
{
- "id": "7d091122.91519",
+ "id": "bda428.2cd86bd8",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1550.6114044189453,
- "y": 4620.612058639526,
- "z": "4d6578c4.6dc8b8",
+ "x": 1530.7502899169922,
+ "y": 4557.612059950829,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "5da8a3ad.b841dc",
- "6195dc83.0766b4",
- "d1ec1bdb.d109c8",
- "d6c90ccd.8a5e2"
+ "17d66d3e.a45ec3",
+ "b31b439.a9bb6c",
+ "6541d0f3.e6cd3",
+ "4e812242.94622c"
]
]
},
{
- "id": "5da8a3ad.b841dc",
+ "id": "17d66d3e.a45ec3",
"type": "execute",
"name": "read DU id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
+ "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'`\" />",
"comments": "",
"outputs": 1,
- "x": 1832.5000762939453,
- "y": 4555.5,
- "z": "4d6578c4.6dc8b8",
+ "x": 1812.6389617919922,
+ "y": 4492.500001311302,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "6195dc83.0766b4",
+ "id": "b31b439.a9bb6c",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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",
"comments": "",
"outputs": 1,
- "x": 1805.5000762939453,
- "y": 4606.5,
- "z": "4d6578c4.6dc8b8",
+ "x": 1779.3892097473145,
+ "y": 4583.500634908676,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d1ec1bdb.d109c8",
+ "id": "6541d0f3.e6cd3",
"type": "execute",
"name": "read cellDU list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ",
+ "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 ",
"comments": "",
"outputs": 1,
- "x": 1846.5000762939453,
- "y": 4655.5,
- "z": "4d6578c4.6dc8b8",
+ "x": 1807.8890991210938,
+ "y": 4543.750200271606,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d6c90ccd.8a5e2",
+ "id": "4e812242.94622c",
"type": "for",
"name": "for cellDUList",
"xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1836.5000762939453,
- "y": 4699.5,
- "z": "4d6578c4.6dc8b8",
+ "x": 1816.6389617919922,
+ "y": 4636.500001311302,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "ca950d87.43a8c"
+ "16c849d5.e5b0a6"
]
]
},
{
- "id": "43075f86.beee5",
+ "id": "96c0a57a.69c3c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2841.25,
- "y": 4563.499993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 2821.388885498047,
+ "y": 4500.499995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "62039c3b.2e06f4",
- "605d907e.3b9d9",
- "4dd74a3.63a31b4",
- "61d3b400.5ce54c",
- "6b24ccd2.7ea0f4",
- "35b48e7f.5233d2",
- "8bd207bb.4a89a8",
- "15be5ec0.1c4b61",
- "5937227c.16b29c",
- "54889c38.a9cd24",
- "dfb56ac0.269c28",
- "8666c4e7.b8a108"
+ "54a8bec3.6ddb3",
+ "a6e16c31.cf7bb",
+ "bdc04936.2600a8",
+ "d8435e23.0f1aa",
+ "3f8acb67.8350b4",
+ "81d0d6cc.b08fe8",
+ "62b3c5f1.05a8fc",
+ "c4703a9.018a1c8",
+ "cc71c1ae.d5606",
+ "df86b764.4d5928",
+ "7683f209.bd404c",
+ "667aaf9f.e421a"
]
]
},
{
- "id": "15be5ec0.1c4b61",
+ "id": "c4703a9.018a1c8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3036.25,
- "y": 4558.499993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3016.388885498047,
+ "y": 4495.499995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8bd207bb.4a89a8",
+ "id": "62b3c5f1.05a8fc",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3064.25,
- "y": 4626.499993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3044.388885498047,
+ "y": 4563.499995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "5154bb9f.200654",
- "83449ab4.0152e8"
+ "808301dd.6f5ec",
+ "a851ce95.1aa53"
]
]
},
{
- "id": "5154bb9f.200654",
+ "id": "808301dd.6f5ec",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3272.25,
- "y": 4591.499749779701,
- "z": "4d6578c4.6dc8b8",
+ "x": 3252.388885498047,
+ "y": 4528.499751091003,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "fc0f3c5c.42d97"
+ "9d982b6a.f84898"
]
]
},
{
- "id": "83449ab4.0152e8",
+ "id": "a851ce95.1aa53",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3267.2500495910645,
- "y": 4660.500318169594,
- "z": "4d6578c4.6dc8b8",
+ "x": 3247.3889350891113,
+ "y": 4597.500319480896,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "ef44957a.a99338"
+ "55cd264.2f7fbd8"
]
]
},
{
- "id": "fc0f3c5c.42d97",
+ "id": "9d982b6a.f84898",
"type": "execute",
"name": "generate patch PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3592.25,
- "y": 4606.499993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3572.388885498047,
+ "y": 4543.499995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "62039c3b.2e06f4",
+ "id": "54a8bec3.6ddb3",
"type": "execute",
"name": "read cellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "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'`\" />",
"comments": "",
"outputs": 1,
- "x": 3061.2501525878906,
- "y": 4714.500238060951,
- "z": "4d6578c4.6dc8b8",
+ "x": 3041.3890380859375,
+ "y": 4651.500239372253,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "61d3b400.5ce54c",
+ "id": "d8435e23.0f1aa",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3116.250213623047,
- "y": 4779.500176072121,
- "z": "4d6578c4.6dc8b8",
+ "x": 3096.3890991210938,
+ "y": 4716.500177383423,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "6b24ccd2.7ea0f4",
+ "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": 3089.2503967285156,
- "y": 4834.500177979469,
- "z": "4d6578c4.6dc8b8",
+ "x": 3069.3892822265625,
+ "y": 4771.5001792907715,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "35b48e7f.5233d2",
+ "id": "81d0d6cc.b08fe8",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 3069.2500915527344,
- "y": 4897.500484108925,
- "z": "4d6578c4.6dc8b8",
+ "x": 3049.3889770507812,
+ "y": 4834.500485420227,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "605d907e.3b9d9",
+ "id": "a6e16c31.cf7bb",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3071.2503356933594,
- "y": 4955.500116944313,
- "z": "4d6578c4.6dc8b8",
+ "x": 3051.3892211914062,
+ "y": 4892.500118255615,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "4dd74a3.63a31b4",
+ "id": "bdc04936.2600a8",
"type": "record",
"name": "record API params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3075.250213623047,
- "y": 5001.500733971596,
- "z": "4d6578c4.6dc8b8",
+ "x": 3055.3890991210938,
+ "y": 4938.500735282898,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "5937227c.16b29c",
+ "id": "cc71c1ae.d5606",
"type": "execute",
"name": "patch PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3130.250213623047,
- "y": 5047.750002026558,
- "z": "4d6578c4.6dc8b8",
+ "x": 3110.3890991210938,
+ "y": 4984.75000333786,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "17e4fa67.e67316",
- "7dace641.0f9008"
+ "60b55cb2.d50494",
+ "f5de5d08.e9fc9"
]
]
},
{
- "id": "7dace641.0f9008",
+ "id": "f5de5d08.e9fc9",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3378.8215656280518,
- "y": 4888.750117897987,
- "z": "4d6578c4.6dc8b8",
+ "x": 3358.9604511260986,
+ "y": 4825.75011920929,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "868005da.09d9a8"
+ "fafc54df.334338"
]
]
},
{
- "id": "17e4fa67.e67316",
+ "id": "60b55cb2.d50494",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3384.964256286621,
- "y": 4944.892823815346,
- "z": "4d6578c4.6dc8b8",
+ "x": 3365.103141784668,
+ "y": 4881.892825126648,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "a0ccbc63.af49d"
+ "17a5d11c.c182ff"
]
]
},
{
- "id": "868005da.09d9a8",
+ "id": "fafc54df.334338",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3555.3931732177734,
- "y": 4888.178340554237,
- "z": "4d6578c4.6dc8b8",
+ "x": 3535.5320587158203,
+ "y": 4825.17834186554,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "5ad31e38.d519e",
- "15a48f53.e9cc91",
- "479d909e.4559c"
+ "53c7f4c2.3a038c",
+ "3e571a93.29c1a6",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "a0ccbc63.af49d",
+ "id": "17a5d11c.c182ff",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3538.6785583496094,
- "y": 4944.749949097633,
- "z": "4d6578c4.6dc8b8",
+ "x": 3518.8174438476562,
+ "y": 4881.749950408936,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "e6087780.a3b1e8"
+ "24a4d994.d5b116"
]
]
},
{
- "id": "e6087780.a3b1e8",
+ "id": "24a4d994.d5b116",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 3576.107250213623,
- "y": 5010.892745614052,
- "z": "4d6578c4.6dc8b8",
+ "x": 3556.24613571167,
+ "y": 4947.892746925354,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "5ad31e38.d519e",
+ "id": "53c7f4c2.3a038c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3742.1069869995117,
- "y": 4964.89268553257,
- "z": "4d6578c4.6dc8b8",
+ "x": 3722.2458724975586,
+ "y": 4901.892686843872,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "15a48f53.e9cc91",
+ "id": "3e571a93.29c1a6",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3724.25,
- "y": 4912.749993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3704.388885498047,
+ "y": 4849.749995231628,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "54889c38.a9cd24",
+ "id": "df86b764.4d5928",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2934.5,
- "y": 5371.749993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 2914.638885498047,
+ "y": 5308.749995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "8f65cb9d.048b28",
- "f9f106.3ad64ef8",
- "3a4622d9.5f175e",
- "b986af06.b93c6",
- "7fae1a9.e7695e4",
- "b0e07a56.eb0968",
- "b7d983c1.d239f",
- "4af7254c.0f94ec",
- "9bbde133.9199d",
- "a7792ca5.50c21"
+ "e0e3e202.839a7",
+ "80583e31.db9bb",
+ "ffe02ef2.9c2a5",
+ "5b8fde49.1452f",
+ "ad2dc0bd.5d364",
+ "76ac08d.ea813f8",
+ "99ea677a.7fa168",
+ "71357194.29fcf",
+ "7e425eba.88fdf",
+ "3315c6c7.a9202a"
]
]
},
{
- "id": "8f65cb9d.048b28",
+ "id": "e0e3e202.839a7",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3156.5,
- "y": 5277.749993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3136.638885498047,
+ "y": 5214.749995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "73b1b3f4.19640c",
- "d4970e1f.1fd1b"
+ "fb80e7c3.2a6c28",
+ "9e03dd43.2f2b7"
]
]
},
{
- "id": "d4970e1f.1fd1b",
+ "id": "9e03dd43.2f2b7",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3405.2147064208984,
- "y": 5290.0367695093155,
- "z": "4d6578c4.6dc8b8",
+ "x": 3385.3535919189453,
+ "y": 5227.036770820618,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "56f3561a.ac8948"
+ "6f656f1.25b769"
]
]
},
{
- "id": "56f3561a.ac8948",
+ "id": "6f656f1.25b769",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellDU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3599.4999084472656,
- "y": 5228.179366707802,
- "z": "4d6578c4.6dc8b8",
+ "x": 3579.6387939453125,
+ "y": 5165.179368019104,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f9f106.3ad64ef8",
+ "id": "80583e31.db9bb",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3191.5,
- "y": 5349.749993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3171.638885498047,
+ "y": 5286.749995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "3a4622d9.5f175e",
+ "id": "ffe02ef2.9c2a5",
"type": "execute",
"name": "prepare idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3156.5,
- "y": 5401.749993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3136.638885498047,
+ "y": 5338.749995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "b986af06.b93c6",
+ "id": "5b8fde49.1452f",
"type": "execute",
"name": "fetch RRMPolicyRatio - NRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-du-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 3191.5,
- "y": 5476.749993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3171.638885498047,
+ "y": 5413.749995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "c269d283.8fd35",
- "bd0e158e.059d78"
+ "63740b8e.d3de14",
+ "35cb878.4b86e78"
]
]
},
{
- "id": "c269d283.8fd35",
+ "id": "63740b8e.d3de14",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3438.5,
- "y": 5449.749993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3418.638885498047,
+ "y": 5386.749995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "857415f4.a266a8"
+ "ccaa3759.38bf28"
]
]
},
{
- "id": "bd0e158e.059d78",
+ "id": "35cb878.4b86e78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3442.5,
- "y": 5528.749993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3422.638885498047,
+ "y": 5465.749995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "be81b143.1fc7b"
+ "b8d3468e.631ca8"
]
]
},
{
- "id": "857415f4.a266a8",
+ "id": "ccaa3759.38bf28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3606.500473022461,
- "y": 5460.607347130775,
- "z": "4d6578c4.6dc8b8",
+ "x": 3586.639358520508,
+ "y": 5397.607348442078,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "a82d6535.8cffe8",
- "b7c3ff1f.bc02f",
- "479d909e.4559c"
+ "447e9c67.a50654",
+ "bba052e8.f1d3c",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "b7c3ff1f.bc02f",
+ "id": "bba052e8.f1d3c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3762.5,
- "y": 5363.749993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3742.638885498047,
+ "y": 5300.749995231628,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "a82d6535.8cffe8",
+ "id": "447e9c67.a50654",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3767.4998779296875,
- "y": 5458.7500549554825,
- "z": "4d6578c4.6dc8b8",
+ "x": 3747.6387634277344,
+ "y": 5395.750056266785,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "be81b143.1fc7b",
+ "id": "b8d3468e.631ca8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3606.4998779296875,
- "y": 5529.750115990639,
- "z": "4d6578c4.6dc8b8",
+ "x": 3586.6387634277344,
+ "y": 5466.750117301941,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "4fda18b3.9db558",
- "9c5722da.7d9"
+ "1f975dc7.565b42",
+ "ec3fd697.0afd18"
]
]
},
{
- "id": "4fda18b3.9db558",
+ "id": "1f975dc7.565b42",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 3763.643051147461,
- "y": 5501.892781853676,
- "z": "4d6578c4.6dc8b8",
+ "x": 3743.781936645508,
+ "y": 5438.892783164978,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "9c5722da.7d9",
+ "id": "ec3fd697.0afd18",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3771.5000915527344,
- "y": 5539.178704857826,
- "z": "4d6578c4.6dc8b8",
+ "x": 3751.6389770507812,
+ "y": 5476.178706169128,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7fae1a9.e7695e4",
+ "id": "ad2dc0bd.5d364",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioDUList_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3129.0714111328125,
- "y": 5609.035392403603,
- "z": "4d6578c4.6dc8b8",
+ "x": 3109.2102966308594,
+ "y": 5546.035393714905,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "b0e07a56.eb0968",
+ "id": "76ac08d.ea813f8",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3191.214096546173,
- "y": 5156.0356212854385,
- "z": "4d6578c4.6dc8b8",
+ "x": 3171.35298204422,
+ "y": 5093.035622596741,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "f883b03a.ef216",
- "af9f11f4.78c62",
- "b10b5e0c.72314",
- "9db8c539.0a0aa8",
- "6bc2b88f.76a8c8",
- "3f062193.b947de",
- "a6a8b9e5.316c68",
- "949f4c1a.ce91d",
- "9d1ae75e.bcfc48",
- "1fe4082d.a36b08",
- "4a6f0191.d8f03"
+ "623af651.0f0288",
+ "46dc46b0.5e6578",
+ "59eacde8.014714",
+ "5efd1a01.9b7354",
+ "8090c90f.8daa18",
+ "c7344632.ecc008",
+ "20e934cf.7a46ec",
+ "69bd031d.5646fc",
+ "8549b198.b5fc4",
+ "1dd0e5e3.2a718a",
+ "cde0b29.814825"
]
]
},
{
- "id": "b10b5e0c.72314",
+ "id": "59eacde8.014714",
"type": "set",
"name": "Calculate RRM Parms1",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
"comments": "",
- "x": 4159.489807128906,
- "y": 4942.072746872902,
- "z": "4d6578c4.6dc8b8",
+ "x": 4139.628692626953,
+ "y": 4879.072748184204,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "9db8c539.0a0aa8",
+ "id": "5efd1a01.9b7354",
"type": "set",
"name": "Calculate RRM Parms2",
"xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4168.031066894531,
- "y": 4987.092766344547,
- "z": "4d6578c4.6dc8b8",
+ "x": 4148.169952392578,
+ "y": 4924.0927676558495,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "6bc2b88f.76a8c8",
+ "id": "8090c90f.8daa18",
"type": "set",
"name": "Calculate RRM Parms3",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
"comments": "",
- "x": 4158.031188964844,
- "y": 5042.092644274235,
- "z": "4d6578c4.6dc8b8",
+ "x": 4138.170074462891,
+ "y": 4979.092645585537,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "3f062193.b947de",
+ "id": "c7344632.ecc008",
"type": "set",
"name": "Calculate RRM Parms4",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4158.031066894531,
- "y": 5093.092644333839,
- "z": "4d6578c4.6dc8b8",
+ "x": 4138.169952392578,
+ "y": 5030.092645645142,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "a6a8b9e5.316c68",
+ "id": "20e934cf.7a46ec",
"type": "set",
"name": "Calculate RRM Parms5",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
"comments": "",
- "x": 4146.031188964844,
- "y": 5153.092766344547,
- "z": "4d6578c4.6dc8b8",
+ "x": 4126.170074462891,
+ "y": 5090.0927676558495,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "949f4c1a.ce91d",
+ "id": "69bd031d.5646fc",
"type": "set",
"name": "Calculate RRM Parms6",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />",
"comments": "",
- "x": 4184.031066894531,
- "y": 5203.092766344547,
- "z": "4d6578c4.6dc8b8",
+ "x": 4164.169952392578,
+ "y": 5140.0927676558495,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "9d1ae75e.bcfc48",
+ "id": "8549b198.b5fc4",
"type": "set",
"name": "Calculate RRM Parms7",
"xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
"comments": "",
- "x": 4171.031005859375,
- "y": 5273.093132615089,
- "z": "4d6578c4.6dc8b8",
+ "x": 4151.169891357422,
+ "y": 5210.093133926392,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "1fe4082d.a36b08",
+ "id": "1dd0e5e3.2a718a",
"type": "set",
"name": "calculation8",
"xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
"comments": "",
- "x": 4142.031005859375,
- "y": 5337.092156052589,
- "z": "4d6578c4.6dc8b8",
+ "x": 4122.169891357422,
+ "y": 5274.092157363892,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "4a6f0191.d8f03",
+ "id": "cde0b29.814825",
"type": "set",
"name": "calculation9",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
"comments": "",
- "x": 4130.031555175781,
- "y": 5388.092033982277,
- "z": "4d6578c4.6dc8b8",
+ "x": 4110.170440673828,
+ "y": 5325.092035293579,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "af9f11f4.78c62",
+ "id": "46dc46b0.5e6578",
"type": "set",
"name": "calculation10",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
"comments": "",
- "x": 4105.4898681640625,
- "y": 5454.072502732277,
- "z": "4d6578c4.6dc8b8",
+ "x": 4085.6287536621094,
+ "y": 5391.072504043579,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "f883b03a.ef216",
+ "id": "623af651.0f0288",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"tmp.nearRTRIC.trafficCapacity1 \"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.trafficCapacity1`\"/>\n<parameter name=\"field5\" value=\"tmp.nearRTRIC.trafficCapacity \"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.trafficCapacity`\"/>\n<parameter name=\"field7\" value=\"tmp.nearRTRIC.trafficCapacityBPS\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.trafficCapacityBPS`\"/>\n<parameter name=\"field9\" value=\"tmp.nrcelldu.totalPRBForSNSSAI \"/>\n<parameter name=\"field10\" value=\"`$tmp.nrcelldu.totalPRBForSNSSAI`\"/>\n<parameter name=\"field11\" value=\"tmp.nrcelldu.PRBPerImpactedCell \"/>\n<parameter name=\"field12\" value=\"`$tmp.nrcelldu.PRBPerImpactedCell`\"/>\n<parameter name=\"field13\" value=\"tmp.rRMPolicyDedicatedRatio.CellDU1 \"/>\n<parameter name=\"field14\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU1`\"/>",
"comments": "",
"outputs": 1,
- "x": 3931.4997940063477,
- "y": 5466.1938091516495,
- "z": "4d6578c4.6dc8b8",
+ "x": 3911.6386795043945,
+ "y": 5403.193810462952,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "b7d983c1.d239f",
+ "id": "99ea677a.7fa168",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3151.75,
- "y": 5655.749993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3131.888885498047,
+ "y": 5592.749995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "a53a21d5.1b313"
+ "e62d423c.15307"
]
]
},
{
- "id": "a53a21d5.1b313",
+ "id": "e62d423c.15307",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3372.75,
- "y": 5675.749993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3352.888885498047,
+ "y": 5612.749995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "1b550014.5201b",
- "b46625d1.c5da98",
- "642c3db5.225a44",
- "df6bb9e7.91aa48",
- "98b50177.a679d",
- "2e984400.7745bc",
- "77b3e185.b47fc",
- "62f38bf.033d574",
- "55f4d449.7a769c",
- "a0f19fe6.b3c43"
+ "f5d53f14.2e75d",
+ "9ce14b2b.f5be78",
+ "efd823f8.50d6",
+ "e91de95e.3b9618",
+ "daeedb57.ee6878",
+ "9cd4b927.aa4e98",
+ "ede60c1e.f34fc",
+ "acbb61bb.671ce",
+ "a22f5fc7.41f66",
+ "f254abf9.8ed118"
]
]
},
{
- "id": "1b550014.5201b",
+ "id": "f5d53f14.2e75d",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`\" />",
"comments": "",
- "x": 3699.178512573242,
- "y": 5615.60748398304,
- "z": "4d6578c4.6dc8b8",
+ "x": 3679.317398071289,
+ "y": 5552.607485294342,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "642c3db5.225a44",
+ "id": "efd823f8.50d6",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3644.321762084961,
- "y": 5659.464260697365,
- "z": "4d6578c4.6dc8b8",
+ "x": 3624.460647583008,
+ "y": 5596.464262008667,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "e744ad30.9419b",
- "686d6df8.9e5f14"
+ "a2cc9371.e038b",
+ "9fb5e615.073a78"
]
]
},
{
- "id": "e744ad30.9419b",
+ "id": "a2cc9371.e038b",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3840.035758972168,
- "y": 5650.749746918678,
- "z": "4d6578c4.6dc8b8",
+ "x": 3820.174644470215,
+ "y": 5587.7497482299805,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "c46e2a8e.4988d8"
+ "d3c6db3d.d0d348"
]
]
},
{
- "id": "c46e2a8e.4988d8",
+ "id": "d3c6db3d.d0d348",
"type": "execute",
"name": "patchRRMPolicyRatio NRCellDU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4157.750217437744,
- "y": 5620.036683678627,
- "z": "4d6578c4.6dc8b8",
+ "x": 4137.889102935791,
+ "y": 5557.036684989929,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "98b50177.a679d",
+ "id": "daeedb57.ee6878",
"type": "set",
"name": "RRMPolicyMember Id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.RRMPolicyMembersDU_Length+1`\" />",
"comments": "",
- "x": 3629.321533203125,
- "y": 5827.321384072304,
- "z": "4d6578c4.6dc8b8",
+ "x": 3609.460418701172,
+ "y": 5764.321385383606,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "b46625d1.c5da98",
+ "id": "9ce14b2b.f5be78",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioid - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyMemberid- \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field5\" value=\"Updated RRMPolicyRatio for CellDU is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`\"/>",
"comments": "",
"outputs": 1,
- "x": 3604.893051147461,
- "y": 5867.036262154579,
- "z": "4d6578c4.6dc8b8",
+ "x": 3585.031936645508,
+ "y": 5804.036263465881,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "df6bb9e7.91aa48",
+ "id": "e91de95e.3b9618",
"type": "execute",
"name": "patch NRCellDU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellDU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3689.0357971191406,
- "y": 5903.32148706913,
- "z": "4d6578c4.6dc8b8",
+ "x": 3669.1746826171875,
+ "y": 5840.321488380432,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "657e941d.80fc9c",
- "b3dedf75.05c98"
+ "7f8d5c15.63fbe4",
+ "c5c5e428.9603c8"
]
]
},
{
- "id": "657e941d.80fc9c",
+ "id": "7f8d5c15.63fbe4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3966.75,
- "y": 5866.74976503849,
- "z": "4d6578c4.6dc8b8",
+ "x": 3946.888885498047,
+ "y": 5803.7497663497925,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "cedf2ee9.c5dcd"
+ "a1ffcc6f.3c651"
]
]
},
{
- "id": "cedf2ee9.c5dcd",
+ "id": "a1ffcc6f.3c651",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4157.75,
- "y": 5866.74976503849,
- "z": "4d6578c4.6dc8b8",
+ "x": 4137.888885498047,
+ "y": 5803.7497663497925,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "c572acdd.e114e"
+ "a2998ec0.bba5e"
]
]
},
{
- "id": "c572acdd.e114e",
+ "id": "a2998ec0.bba5e",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 4342.749755859375,
- "y": 5867.750009179115,
- "z": "4d6578c4.6dc8b8",
+ "x": 4322.888641357422,
+ "y": 5804.7500104904175,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "bf367b69.78c2f8",
+ "id": "4e47cca8.dd1c54",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4424.75,
- "y": 5910.74976503849,
- "z": "4d6578c4.6dc8b8",
+ "x": 4404.888885498047,
+ "y": 5847.7497663497925,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "df3b4f0.60c8eb",
+ "id": "6637a516.6cea5c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4429.7498779296875,
- "y": 6005.749826073647,
- "z": "4d6578c4.6dc8b8",
+ "x": 4409.888763427734,
+ "y": 5942.749827384949,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "471bb6e.63e9548",
+ "id": "b7dfcd3f.a7817",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4162.2502784729,
- "y": 5908.500407338142,
- "z": "4d6578c4.6dc8b8",
+ "x": 4142.389163970947,
+ "y": 5845.500408649445,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "df3b4f0.60c8eb",
- "bf367b69.78c2f8",
- "479d909e.4559c"
+ "6637a516.6cea5c",
+ "4e47cca8.dd1c54",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "b3dedf75.05c98",
+ "id": "c5c5e428.9603c8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3975.7500915527344,
- "y": 5914.75040781498,
- "z": "4d6578c4.6dc8b8",
+ "x": 3955.8889770507812,
+ "y": 5851.750409126282,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "471bb6e.63e9548"
+ "b7dfcd3f.a7817"
]
]
},
{
- "id": "dfb56ac0.269c28",
+ "id": "7683f209.bd404c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2520.583610534668,
- "y": 5927.527860760689,
- "z": "4d6578c4.6dc8b8",
+ "x": 2500.722496032715,
+ "y": 5864.527862071991,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "db6539b9.fface8",
- "6b14b248.70683c",
- "b0323c91.c5946",
- "bd600a84.5b8d28",
- "3f889fa8.24ada",
- "36523ebf.3db352",
- "cc745824.7b3288",
- "556e9c3.d416364",
- "c8a9b003.4e213",
- "34c419f3.4189d6",
- "2afc55d4.0fdf1a"
+ "8675993.4440a68",
+ "507ddcd6.ce3e94",
+ "848c4fb9.a9417",
+ "1809ae3b.35f172",
+ "e7c4ebf.d78aa18",
+ "9973e50c.01e848",
+ "d094bf69.13ed4",
+ "fcf26f6a.2d312",
+ "6bd09890.00ec68",
+ "bd9debbf.8cc788",
+ "e0340ac5.316fb8"
]
]
},
{
- "id": "67aafde3.1e6b44",
+ "id": "dd7210dc.8b4c7",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3536.1392211914062,
- "y": 6017.639016747475,
- "z": "4d6578c4.6dc8b8",
+ "x": 3516.278106689453,
+ "y": 5954.639018058777,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "81ce4a95.e18528"
+ "12de469b.342ed9"
]
]
},
{
- "id": "cb54d9cb.7a7378",
+ "id": "c0338ed7.c44",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3539.7228775024414,
- "y": 6077.250904202461,
- "z": "4d6578c4.6dc8b8",
+ "x": 3519.8617630004883,
+ "y": 6014.250905513763,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "2b5f5a.aa2f10a6"
+ "9fce6105.8014d"
]
]
},
{
- "id": "2b5f5a.aa2f10a6",
+ "id": "9fce6105.8014d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3688.777786254883,
- "y": 6086.027271389961,
- "z": "4d6578c4.6dc8b8",
+ "x": 3668.9166717529297,
+ "y": 6023.027272701263,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "3fe6db33.905464"
+ "fa681af3.e42748"
]
]
},
{
- "id": "81ce4a95.e18528",
+ "id": "12de469b.342ed9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3714.9446563720703,
- "y": 6019.8900891542435,
- "z": "4d6578c4.6dc8b8",
+ "x": 3695.083541870117,
+ "y": 5956.890090465546,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "2d614c6c.612744",
- "2740df4e.23d3c",
- "479d909e.4559c"
+ "91ecd1f6.295c6",
+ "91595a39.011cf8",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "2740df4e.23d3c",
+ "id": "91595a39.011cf8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3921.7779960632324,
- "y": 6005.111600995064,
- "z": "4d6578c4.6dc8b8",
+ "x": 3901.9168815612793,
+ "y": 5942.111602306366,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "3fe6db33.905464",
+ "id": "fa681af3.e42748",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 3838.194797515869,
- "y": 6094.389980435371,
- "z": "4d6578c4.6dc8b8",
+ "x": 3818.333683013916,
+ "y": 6031.389981746674,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "2d614c6c.612744",
+ "id": "91ecd1f6.295c6",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3924.5556983947754,
- "y": 6045.471927762032,
- "z": "4d6578c4.6dc8b8",
+ "x": 3904.6945838928223,
+ "y": 5982.471929073334,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "13b72a03.4db0f6",
+ "id": "9fcdffe8.f2341",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4048.249786376953,
- "y": 6264.250532746315,
- "z": "4d6578c4.6dc8b8",
+ "x": 4028.388671875,
+ "y": 6201.250534057617,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "f79a6d92.a08eb",
+ "id": "e44939d4.ebd8b8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4068.249912261963,
- "y": 6305.500533699989,
- "z": "4d6578c4.6dc8b8",
+ "x": 4048.3887977600098,
+ "y": 6242.5005350112915,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "d3e1f66f.c5a5a8",
+ "id": "1bd87cc1.9d3583",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3858.500274658203,
- "y": 6297.000167489052,
- "z": "4d6578c4.6dc8b8",
+ "x": 3838.63916015625,
+ "y": 6234.000168800354,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "f79a6d92.a08eb",
- "13b72a03.4db0f6",
- "479d909e.4559c"
+ "e44939d4.ebd8b8",
+ "9fcdffe8.f2341",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "9f649d76.9ec46",
+ "id": "e255143b.a608a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3672.500217437744,
- "y": 6391.250084519386,
- "z": "4d6578c4.6dc8b8",
+ "x": 3652.639102935791,
+ "y": 6328.2500858306885,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "d3e1f66f.c5a5a8"
+ "1bd87cc1.9d3583"
]
]
},
{
- "id": "40529f96.2b4fa",
+ "id": "ee6f5e2f.d624f",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3682.250156402588,
- "y": 6433.7494732141495,
- "z": "4d6578c4.6dc8b8",
+ "x": 3662.3890419006348,
+ "y": 6370.749474525452,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "cbb88d3d.07a53"
+ "cc2e0f80.5c595"
]
]
},
{
- "id": "cbb88d3d.07a53",
+ "id": "cc2e0f80.5c595",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3851.500213623047,
- "y": 6357.750290513039,
- "z": "4d6578c4.6dc8b8",
+ "x": 3831.6390991210938,
+ "y": 6294.750291824341,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "c2e36292.4f889"
+ "c08067c5.c1ce88"
]
]
},
{
- "id": "c2e36292.4f889",
+ "id": "c08067c5.c1ce88",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellDU RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 4016.250274658203,
- "y": 6362.500046372414,
- "z": "4d6578c4.6dc8b8",
+ "x": 3996.38916015625,
+ "y": 6299.500047683716,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "479d909e.4559c",
+ "id": "539e8ebf.0e22a",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4509.234375,
- "y": 2859.7499965429306,
- "z": "4d6578c4.6dc8b8",
+ "x": 4489.373260498047,
+ "y": 2796.749997854233,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "d13464a8.c473a8",
- "1442c906.c2a9d7",
- "96caf0a7.e1b47",
- "34f9cdd8.73fce2",
- "3aa7172f.242b68"
+ "f0d5cec7.a6067",
+ "ebcb9e91.15534",
+ "c195b7b5.563ee8",
+ "9215ffce.c2d04",
+ "b7500e7d.d09c1"
]
]
},
{
- "id": "d13464a8.c473a8",
+ "id": "f0d5cec7.a6067",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
"comments": "",
- "x": 5162.2354736328125,
- "y": 2683.649747490883,
- "z": "4d6578c4.6dc8b8",
+ "x": 5142.374359130859,
+ "y": 2620.649748802185,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "1442c906.c2a9d7",
+ "id": "ebcb9e91.15534",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
"comments": "",
"outputs": 1,
- "x": 5146.234237670898,
- "y": 2748.75033223629,
- "z": "4d6578c4.6dc8b8",
+ "x": 5126.373123168945,
+ "y": 2685.750333547592,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "96caf0a7.e1b47",
+ "id": "c195b7b5.563ee8",
"type": "execute",
"name": "Send to SO",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"convertResponse\" value=\"true\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 5061.23424911499,
- "y": 2845.7502101659775,
- "z": "4d6578c4.6dc8b8",
+ "x": 5041.373134613037,
+ "y": 2782.7502114772797,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "7f6e9ffc.4e5fd",
- "b48234ba.97dc18"
+ "b2852132.03b4f",
+ "5485744f.d7315c"
]
]
},
{
- "id": "7f6e9ffc.4e5fd",
+ "id": "b2852132.03b4f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5287.234257698059,
- "y": 2822.750179171562,
- "z": "4d6578c4.6dc8b8",
+ "x": 5267.373143196106,
+ "y": 2759.7501804828644,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "867b195e.6bc338"
+ "4ff65597.a2792c"
]
]
},
{
- "id": "b48234ba.97dc18",
+ "id": "5485744f.d7315c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5277.234111785889,
- "y": 2930.750118613243,
- "z": "4d6578c4.6dc8b8",
+ "x": 5257.372997283936,
+ "y": 2867.7501199245453,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "9c0026b0.3dd038"
+ "d00a546c.44d9a8"
]
]
},
{
- "id": "9c0026b0.3dd038",
+ "id": "d00a546c.44d9a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5427.233898162842,
- "y": 2949.7501796483994,
- "z": "4d6578c4.6dc8b8",
+ "x": 5407.372783660889,
+ "y": 2886.7501809597015,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "74f1f284.a869bc"
+ "cb337e9d.85a73"
]
]
},
{
- "id": "867b195e.6bc338",
+ "id": "4ff65597.a2792c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5438.234127044678,
- "y": 2817.7503012418747,
- "z": "4d6578c4.6dc8b8",
+ "x": 5418.373012542725,
+ "y": 2754.750302553177,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "b0845d56.4e5b1"
+ "ca6d04ab.582868"
]
]
},
{
- "id": "b0845d56.4e5b1",
+ "id": "ca6d04ab.582868",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
"comments": "",
- "x": 5604.233806610107,
- "y": 2820.750118613243,
- "z": "4d6578c4.6dc8b8",
+ "x": 5584.372692108154,
+ "y": 2757.7501199245453,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "74f1f284.a869bc",
+ "id": "cb337e9d.85a73",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 5591.233913421631,
- "y": 2955.750118613243,
- "z": "4d6578c4.6dc8b8",
+ "x": 5571.372798919678,
+ "y": 2892.7501199245453,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e22e0c4c.d5556",
+ "id": "3cf4187c.17d188",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 591.234375,
- "y": 4541.749996542931,
- "z": "4d6578c4.6dc8b8",
+ "x": 571.3732604980469,
+ "y": 4478.749997854233,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "8cb8bc7d.7e74a",
- "476fc738.416598",
- "50137f8e.4980a",
- "849286c2.be2068",
- "846f8159.327a4",
- "a265251b.3b1538"
+ "fd0a514b.10624",
+ "80ca4633.f04768",
+ "6478d328.1b237c",
+ "296b68d1.fd4c08",
+ "461632b6.acf73c",
+ "51fc5b6.acc17a4"
]
]
},
{
- "id": "50137f8e.4980a",
+ "id": "6478d328.1b237c",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
"comments": "",
- "x": 868.2355804443359,
- "y": 4489.649533867836,
- "z": "4d6578c4.6dc8b8",
+ "x": 848.3744659423828,
+ "y": 4426.649535179138,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "8cb8bc7d.7e74a",
+ "id": "fd0a514b.10624",
"type": "record",
"name": "record SO reply parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$prop.restapi.so.user`\" />\n<parameter name='field8' value=\"`$prop.restapi.so.password`\" />",
"comments": "",
"outputs": 1,
- "x": 866.2344131469727,
- "y": 4581.750181794167,
- "z": "4d6578c4.6dc8b8",
+ "x": 846.3732986450195,
+ "y": 4518.750183105469,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "476fc738.416598",
+ "id": "80ca4633.f04768",
"type": "execute",
"name": "Send to SO",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 737.2344512939453,
- "y": 4662.749884009361,
- "z": "4d6578c4.6dc8b8",
+ "x": 717.3733367919922,
+ "y": 4599.749885320663,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "f9853664.aacc68",
- "e53dccb7.c9878"
+ "812af1fa.54859",
+ "89c1ff10.b8ce1"
]
]
},
{
- "id": "f9853664.aacc68",
+ "id": "812af1fa.54859",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 902.2344512939453,
- "y": 4642.749883055687,
- "z": "4d6578c4.6dc8b8",
+ "x": 882.3733367919922,
+ "y": 4579.749884366989,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "3420f22.697f30e"
+ "b31f68ec.465cb8"
]
]
},
{
- "id": "e53dccb7.c9878",
+ "id": "89c1ff10.b8ce1",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 894.2343444824219,
- "y": 4715.7498334646225,
- "z": "4d6578c4.6dc8b8",
+ "x": 874.3732299804688,
+ "y": 4652.749834775925,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "76c9ead5.6b72d4"
+ "4f224a90.435e14"
]
]
},
{
- "id": "76c9ead5.6b72d4",
+ "id": "4f224a90.435e14",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1040.234188079834,
- "y": 4720.749942183495,
- "z": "4d6578c4.6dc8b8",
+ "x": 1020.3730735778809,
+ "y": 4657.749943494797,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "413a0051.38f5a"
+ "37eb501e.5f12"
]
]
},
{
- "id": "3420f22.697f30e",
+ "id": "b31f68ec.465cb8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1051.2343521118164,
- "y": 4638.75001847744,
- "z": "4d6578c4.6dc8b8",
+ "x": 1031.3732376098633,
+ "y": 4575.750019788742,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "6a452c40.33a0e4",
- "a489ad20.48a"
+ "8a3f5aec.79ce18",
+ "76134398.181bbc"
]
]
},
{
- "id": "6a452c40.33a0e4",
+ "id": "8a3f5aec.79ce18",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
"comments": "",
- "x": 1198.2339706420898,
- "y": 4649.7497600317,
- "z": "4d6578c4.6dc8b8",
+ "x": 1178.3728561401367,
+ "y": 4586.749761343002,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "413a0051.38f5a",
+ "id": "37eb501e.5f12",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 1201.2341079711914,
- "y": 4726.749834418297,
- "z": "4d6578c4.6dc8b8",
+ "x": 1181.3729934692383,
+ "y": 4663.749835729599,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a489ad20.48a",
+ "id": "76134398.181bbc",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1185.7445793151855,
- "y": 4553.739251494408,
- "z": "4d6578c4.6dc8b8",
+ "x": 1165.8834648132324,
+ "y": 4490.73925280571,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "849286c2.be2068",
+ "id": "296b68d1.fd4c08",
"type": "execute",
"name": "generate URL for SO Callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.so.callbackURL`\"/>\n <parameter name=\"outputPath\" value=\"tmp.so.callbackURL\"/>\n <parameter name=\"target\" value=\"{requestId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.requestID`\"/>",
"comments": "",
"outputs": 1,
- "x": 888.5740203857422,
- "y": 4535.735594391823,
- "z": "4d6578c4.6dc8b8",
+ "x": 868.7129058837891,
+ "y": 4472.735595703125,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "470c5ace.e7b614",
+ "id": "a9a299ee.0b9798",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2292.75,
- "y": 1856.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2272.888885498047,
+ "y": 1793.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "f9257a75.7e69c8"
+ "b0827860.e70fa8"
]
]
},
{
- "id": "f9257a75.7e69c8",
+ "id": "b0827860.e70fa8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2485.739658355713,
- "y": 1856.7501159906387,
- "z": "4d6578c4.6dc8b8",
+ "x": 2465.8785438537598,
+ "y": 1793.750117301941,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "a80d922c.a1cde",
- "e6daa16f.fde87"
+ "2efeba70.8daff6",
+ "d9918a90.007dd8"
]
]
},
{
- "id": "a80d922c.a1cde",
+ "id": "2efeba70.8daff6",
"type": "execute",
"name": "generate fetchRRMPolicyRatio.ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2792.739845275879,
- "y": 1823.7502170801163,
- "z": "4d6578c4.6dc8b8",
+ "x": 2772.878730773926,
+ "y": 1760.7502183914185,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e6daa16f.fde87",
+ "id": "d9918a90.007dd8",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 2736.740245819092,
- "y": 1876.7504106760025,
- "z": "4d6578c4.6dc8b8",
+ "x": 2716.8791313171387,
+ "y": 1813.7504119873047,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7879486d.e43fa8",
+ "id": "ae4f32b2.92a47",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2720.25,
- "y": 1240.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2700.388885498047,
+ "y": 1177.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "82157520.f495d8",
- "6a5761ea.7f37e"
+ "12d5980e.4134c8",
+ "ba30a59c.221c18"
]
]
},
{
- "id": "6a5761ea.7f37e",
+ "id": "ba30a59c.221c18",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 2971.250431060791,
- "y": 1263.7501264810562,
- "z": "4d6578c4.6dc8b8",
+ "x": 2951.389316558838,
+ "y": 1200.7501277923584,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "82157520.f495d8",
+ "id": "12d5980e.4134c8",
"type": "execute",
"name": "generate patchPLMNInfoList.ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3027.250030517578,
- "y": 1210.74993288517,
- "z": "4d6578c4.6dc8b8",
+ "x": 3007.388916015625,
+ "y": 1147.7499341964722,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ddfeee6b.9b1e5",
+ "id": "62c18194.e70f6",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3208.806022644043,
- "y": 2246.6388803720474,
- "z": "4d6578c4.6dc8b8",
+ "x": 3188.94490814209,
+ "y": 2183.6388816833496,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "4dca9024.f47ec",
+ "id": "7b84de17.a67a5",
"type": "execute",
"name": "generate patchRRMPolicyRatio.ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3267.0279998779297,
- "y": 2203.638970017433,
- "z": "4d6578c4.6dc8b8",
+ "x": 3247.1668853759766,
+ "y": 2140.6389713287354,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7c5e9fd9.58f49",
+ "id": "779990de.41ee3",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2983.3607330322266,
- "y": 2205.5273166894913,
- "z": "4d6578c4.6dc8b8",
+ "x": 2963.4996185302734,
+ "y": 2142.5273180007935,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "4dca9024.f47ec",
- "ddfeee6b.9b1e5"
+ "7b84de17.a67a5",
+ "62c18194.e70f6"
]
]
},
{
- "id": "f00e0383.441b5",
+ "id": "696730cb.8b88f",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2819.2601470947266,
- "y": 2205.527939915657,
- "z": "4d6578c4.6dc8b8",
+ "x": 2799.3990325927734,
+ "y": 2142.5279412269592,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "7c5e9fd9.58f49"
+ "779990de.41ee3"
]
]
},
{
- "id": "f843b4e8.2e9988",
+ "id": "1bcbee0b.4eb702",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 2270.750045776367,
- "y": 2957.7500343322754,
- "z": "4d6578c4.6dc8b8",
+ "x": 2250.888931274414,
+ "y": 2894.7500356435776,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "82dd2315.9e43a",
+ "id": "ec6e473d.98d308",
"type": "execute",
"name": "generate patchPLMNInfoList.TogNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2364.749526977539,
- "y": 2920.7498512268066,
- "z": "4d6578c4.6dc8b8",
+ "x": 2344.888412475586,
+ "y": 2857.749852538109,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "3ea81489.2ed41c",
+ "id": "c20d4c6b.8f301",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2026.083236694336,
- "y": 2959.3059425354004,
- "z": "4d6578c4.6dc8b8",
+ "x": 2006.2221221923828,
+ "y": 2896.3059438467026,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "82dd2315.9e43a",
- "f843b4e8.2e9988"
+ "ec6e473d.98d308",
+ "1bcbee0b.4eb702"
]
]
},
{
- "id": "14b26f52.795b81",
+ "id": "34711e34.ef93a2",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2039.75,
- "y": 3237.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2019.8888854980469,
+ "y": 3174.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "f944afa6.c43e3",
- "8efae8c6.89c2f8"
+ "47e10d63.f26704",
+ "aee4ef3.f1daa1"
]
]
},
{
- "id": "f944afa6.c43e3",
+ "id": "47e10d63.f26704",
"type": "execute",
"name": "fetch RRMPolicyRatio.TogNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2341.7499351501465,
- "y": 3197.7500549554825,
- "z": "4d6578c4.6dc8b8",
+ "x": 2321.8888206481934,
+ "y": 3134.7500562667847,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8efae8c6.89c2f8",
+ "id": "aee4ef3.f1daa1",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 2285.7503356933594,
- "y": 3250.7502485513687,
- "z": "4d6578c4.6dc8b8",
+ "x": 2265.8892211914062,
+ "y": 3187.750249862671,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f0c6590e.ff84c8",
+ "id": "8810698a.b608c8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1812.25,
- "y": 3246.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 1792.3888854980469,
+ "y": 3183.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "14b26f52.795b81"
+ "34711e34.ef93a2"
]
]
},
{
- "id": "7b24440a.b6717c",
+ "id": "c7634a8b.72f608",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2357.0279502868652,
- "y": 3670.5277220010757,
- "z": "4d6578c4.6dc8b8",
+ "x": 2337.166835784912,
+ "y": 3607.527723312378,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "637945d1.d2c12c"
+ "90aa2fc0.21ac3"
]
]
},
{
- "id": "637945d1.d2c12c",
+ "id": "90aa2fc0.21ac3",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2572.305606842041,
- "y": 3648.19445002079,
- "z": "4d6578c4.6dc8b8",
+ "x": 2552.444492340088,
+ "y": 3585.1944513320923,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "f55e49da.112a18",
- "a7569e63.3c5be"
+ "9a9ef19b.14dfe",
+ "89b59707.78e298"
]
]
},
{
- "id": "f55e49da.112a18",
+ "id": "9a9ef19b.14dfe",
"type": "execute",
"name": "patch RRMPolicyRatio.TogNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2878.7499351501465,
- "y": 3643.7500549554825,
- "z": "4d6578c4.6dc8b8",
+ "x": 2858.8888206481934,
+ "y": 3580.7500562667847,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a7569e63.3c5be",
+ "id": "89b59707.78e298",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 2822.7503356933594,
- "y": 3696.7502485513687,
- "z": "4d6578c4.6dc8b8",
+ "x": 2802.8892211914062,
+ "y": 3633.750249862671,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ef44957a.a99338",
+ "id": "55cd264.2f7fbd8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3462.25,
- "y": 4675.749993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3442.388885498047,
+ "y": 4612.749995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "8927c582.e2ad88",
- "92020df.7d663f"
+ "1322f87d.b557a8",
+ "930e43f.94594c"
]
]
},
{
- "id": "8927c582.e2ad88",
+ "id": "1322f87d.b557a8",
"type": "execute",
"name": "generate patchPLMNInfoList.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3769.250030517578,
- "y": 4645.74993288517,
- "z": "4d6578c4.6dc8b8",
+ "x": 3749.388916015625,
+ "y": 4582.749934196472,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "92020df.7d663f",
+ "id": "930e43f.94594c",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3713.250431060791,
- "y": 4698.750126481056,
- "z": "4d6578c4.6dc8b8",
+ "x": 3693.389316558838,
+ "y": 4635.750127792358,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "73b1b3f4.19640c",
+ "id": "fb80e7c3.2a6c28",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3400.4287185668945,
- "y": 5344.464416146278,
- "z": "4d6578c4.6dc8b8",
+ "x": 3380.5676040649414,
+ "y": 5281.464417457581,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "1b55a289.002ffd"
+ "67d4332b.60bf2c"
]
]
},
{
- "id": "1b55a289.002ffd",
+ "id": "67d4332b.60bf2c",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3531.714797973633,
- "y": 5371.285113930702,
- "z": "4d6578c4.6dc8b8",
+ "x": 3511.8536834716797,
+ "y": 5308.285115242004,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "37385ac0.81c706",
- "a3561b1e.d49408"
+ "14bdd512.bde1bb",
+ "815b01e4.e461d"
]
]
},
{
- "id": "37385ac0.81c706",
+ "id": "14bdd512.bde1bb",
"type": "execute",
"name": "generate patchRRMPolicyRatio.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3773.0000495910645,
- "y": 5263.999591469765,
- "z": "4d6578c4.6dc8b8",
+ "x": 3753.1389350891113,
+ "y": 5200.999592781067,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a3561b1e.d49408",
+ "id": "815b01e4.e461d",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3716.0005378723145,
- "y": 5324.999957680702,
- "z": "4d6578c4.6dc8b8",
+ "x": 3696.1394233703613,
+ "y": 5261.999958992004,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "686d6df8.9e5f14",
+ "id": "9fb5e615.073a78",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3834.7144165039062,
- "y": 5690.893161416054,
- "z": "4d6578c4.6dc8b8",
+ "x": 3814.853302001953,
+ "y": 5627.893162727356,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "324935f3.b203ea"
+ "a9e9a29.d64676"
]
]
},
{
- "id": "324935f3.b203ea",
+ "id": "a9e9a29.d64676",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3993.1436729431152,
- "y": 5702.000008225441,
- "z": "4d6578c4.6dc8b8",
+ "x": 3973.282558441162,
+ "y": 5639.000009536743,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "6ce8d66e.2c5e18",
- "336826dc.606bea"
+ "501dc58b.1dc87c",
+ "4b0bf623.c5fda8"
]
]
},
{
- "id": "6ce8d66e.2c5e18",
+ "id": "501dc58b.1dc87c",
"type": "execute",
"name": "generate patchRRMPolicyRatio.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4242.999771118164,
- "y": 5664.714660286903,
- "z": "4d6578c4.6dc8b8",
+ "x": 4223.138656616211,
+ "y": 5601.714661598206,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "336826dc.606bea",
+ "id": "4b0bf623.c5fda8",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4181.714820861816,
- "y": 5714.285739541054,
- "z": "4d6578c4.6dc8b8",
+ "x": 4161.853706359863,
+ "y": 5651.285740852356,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "63f24c79.8133b4",
+ "id": "8fcc7b2a.24bdb8",
"type": "comment",
"name": "instantiateRANSlice-ModifyAllocate",
"info": "",
"comments": "",
- "x": 729.5,
- "y": 82.99999868869781,
- "z": "4d6578c4.6dc8b8",
+ "x": 709.6388854980469,
+ "y": 20,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "bf968fde.5a03c",
+ "id": "61b0f34b.8c870c",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
"comments": "",
- "x": 239.77081298828125,
- "y": 1543.1041198968887,
- "z": "4d6578c4.6dc8b8",
+ "x": 219.90969848632812,
+ "y": 1480.104121208191,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "80aeccba.14133",
+ "id": "5dfe6967.a72dd8",
"type": "set",
"name": "Calculate maxNumberOfConnsPercellCU * 100",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n",
"comments": "",
- "x": 2156.250078201294,
- "y": 1732.2500101327896,
- "z": "4d6578c4.6dc8b8",
+ "x": 2136.388963699341,
+ "y": 1669.2500114440918,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "fd415f84.f4c55",
+ "id": "f040467.85fceb8",
"type": "set",
"name": "Calculate RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
"comments": "",
- "x": 2108.250078201294,
- "y": 1770.2500101327896,
- "z": "4d6578c4.6dc8b8",
+ "x": 2088.388963699341,
+ "y": 1707.2500114440918,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "ed8d5920.d85c48",
+ "id": "e9cf0d76.80c3",
"type": "set",
"name": "set rrmpolicyratio list size",
"xml": "<set>\n<parameter name='tmp.rrmPolicyRatioList_length' value='`$get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
"comments": "",
- "x": 2148.0557250976562,
- "y": 2025.9168092012405,
- "z": "4d6578c4.6dc8b8",
+ "x": 2128.194610595703,
+ "y": 1962.9168105125427,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "113eac04.d40744",
+ "id": "49368160.b2bfa",
"type": "execute",
"name": "read rrmPolicyDedicatedRatio_cellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatiocellCU_old' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2608.4999866485596,
- "y": 2132.0000787973404,
- "z": "4d6578c4.6dc8b8",
+ "x": 2588.6388721466064,
+ "y": 2069.0000801086426,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "4146177c.a9f1e8",
+ "id": "7c2a6fba.2b3d8",
"type": "block",
"name": "Get Cells List in TA",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 592.9999618530273,
- "y": 877.5002336502075,
- "z": "4d6578c4.6dc8b8",
+ "x": 729.3888168334961,
+ "y": 1159.500373840332,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "c7ce326f.111f"
+ "b843ac7a.ed2b1"
]
]
},
{
- "id": "c7fdb989.03f1d8",
+ "id": "67b92ca5.e3f874",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1510.9999809265137,
- "y": 883.7502498626709,
- "z": "4d6578c4.6dc8b8",
+ "x": 1473.6389694213867,
+ "y": 947.0002956390381,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "a221419c.a4f89"
+ "570741ae.38d4"
]
]
},
{
- "id": "df033120.0b194",
+ "id": "b553735d.cb27b",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1508.2498588562012,
- "y": 962.7503108978271,
- "z": "4d6578c4.6dc8b8",
+ "x": 1470.8888473510742,
+ "y": 1026.0003566741943,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "69e52ce2.cd6b44"
+ "659d5aa.616c3a4"
]
]
},
{
- "id": "69e52ce2.cd6b44",
+ "id": "659d5aa.616c3a4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1644.2496147155762,
- "y": 1006.2503719329834,
- "z": "4d6578c4.6dc8b8",
+ "x": 1606.8886032104492,
+ "y": 1069.5004177093506,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "a121602f.ed2c1",
- "e257733.3ac959",
- "36202bfe.91e6c4"
+ "1c36875f.5cb9c9",
+ "bdfd7694.35dea8",
+ "e83265e4.d241d8"
]
]
},
{
- "id": "a121602f.ed2c1",
+ "id": "1c36875f.5cb9c9",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained List of Cells from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getListofCells-cps-response._length`\"/>\n<parameter name=\"field3\" value=\"List of Cells in the Tracking Area Relevant for RAN Slice Instantiation \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 \"/>",
"comments": "",
"outputs": 1,
- "x": 1832.4995422363281,
- "y": 937.7501150369644,
- "z": "4d6578c4.6dc8b8",
+ "x": 1792.6384391784668,
+ "y": 954.7501535415649,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "36202bfe.91e6c4",
+ "id": "e83265e4.d241d8",
"type": "for",
"name": "For list of cells",
- "xml": "<for index='idx' start='0' end='`$getListofCells-cps-response._length `' >",
+ "xml": "<for index='idx' start='0' end='`$getListofCells-cps-response.taCellsList_length`' >",
"comments": "",
"outputs": 1,
- "x": 1841.5206451416016,
- "y": 975.4163442850113,
- "z": "4d6578c4.6dc8b8",
+ "x": 1800.409523010254,
+ "y": 991.1663227081299,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "f2daa995.ccf808",
- "9ed852c4.b10bf"
+ "f5b2cb6.18cee38",
+ "8e9bc078.ecea5"
]
]
},
{
- "id": "e257733.3ac959",
+ "id": "bdfd7694.35dea8",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1812.2778625488281,
- "y": 1022.7501302957535,
- "z": "4d6578c4.6dc8b8",
+ "x": 1804.9168167114258,
+ "y": 919.7501554489136,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f2daa995.ccf808",
+ "id": "f5b2cb6.18cee38",
"type": "execute",
"name": "Cells in TrackingArea",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.[' + $idx + ']'`\" />",
+ "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'`\" />",
"comments": "",
"outputs": 1,
- "x": 2046.520492553711,
- "y": 925.0828787088394,
- "z": "4d6578c4.6dc8b8",
+ "x": 2026.6593780517578,
+ "y": 862.0828800201416,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "9ed852c4.b10bf",
+ "id": "8e9bc078.ecea5",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.trackingarea.cell`\"/>",
"comments": "",
"outputs": 1,
- "x": 1999.520492553711,
- "y": 968.4162536859512,
- "z": "4d6578c4.6dc8b8",
+ "x": 1979.6593780517578,
+ "y": 905.4162549972534,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a221419c.a4f89",
+ "id": "570741ae.38d4",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1660.4997100830078,
- "y": 947.7500530481339,
- "z": "4d6578c4.6dc8b8",
+ "x": 1623.1386985778809,
+ "y": 1011.000098824501,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "3f6f57b7.940a38",
- "4627d8f6.778418"
+ "b651b078.48ecc",
+ "daa92806.90e0e8"
]
]
},
{
- "id": "4627d8f6.778418",
+ "id": "daa92806.90e0e8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting List of cells for the Tracking Area. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1876.9999084472656,
- "y": 832.6111451387405,
- "z": "4d6578c4.6dc8b8",
+ "x": 1857.1387939453125,
+ "y": 769.6111464500427,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "3f6f57b7.940a38",
+ "id": "b651b078.48ecc",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1904.4995880126953,
- "y": 887.7501302957535,
- "z": "4d6578c4.6dc8b8",
+ "x": 1884.6384735107422,
+ "y": 824.7501316070557,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "71fa8a11.f27964",
+ "id": "6b928a0f.68b5c4",
"type": "for",
"name": "foreach TACell",
- "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
+ "xml": "<for index='id-ta' start='0' end='`$getListofCells-cps-response.taCellsList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2030.833381652832,
- "y": 1008.361206650734,
- "z": "4d6578c4.6dc8b8",
+ "x": 2010.972267150879,
+ "y": 945.3612079620361,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "6dfddcd9.3dfe74"
+ "dca1e2f6.b8f7a"
]
]
},
{
- "id": "2bad52cb.45a31e",
+ "id": "f93cde4a.05d8b",
"type": "switchNode",
"name": "is cellCU applicable for NSSAI",
"xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
"comments": "",
"outputs": 1,
- "x": 2511.0001068115234,
- "y": 901.0000630617142,
- "z": "4d6578c4.6dc8b8",
+ "x": 2553.6389770507812,
+ "y": 909.2501258850098,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "2a0570e1.7b04c"
+ "5ed7a399.94a5bc"
]
]
},
{
- "id": "2a0570e1.7b04c",
+ "id": "5ed7a399.94a5bc",
"type": "outcome",
"name": "Applicable",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2220.75,
- "y": 1016.4999939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2200.8889961242676,
+ "y": 953.5000081062317,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "c086e0db.2b74a"
+ "a60824a.29f2bd8"
]
]
},
{
- "id": "6dfddcd9.3dfe74",
+ "id": "dca1e2f6.b8f7a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2256.5002517700195,
- "y": 861.0000611543655,
- "z": "4d6578c4.6dc8b8",
+ "x": 2249.139274597168,
+ "y": 843.0001277923584,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "2bad52cb.45a31e",
- "1803f8c0.deeac7",
- "dd6bcf51.4e37c"
+ "f93cde4a.05d8b",
+ "ec7cd6dc.293098",
+ "be4f331d.65ef9",
+ "20add34f.4061fc"
]
]
},
{
- "id": "1803f8c0.deeac7",
+ "id": "ec7cd6dc.293098",
"type": "execute",
"name": "read Cell from getNFNSSIRIC-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+ "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'`\" />",
"comments": "",
"outputs": 1,
- "x": 2567.000228881836,
- "y": 806.000020980835,
- "z": "4d6578c4.6dc8b8",
+ "x": 2568.3892822265625,
+ "y": 733.0000495910645,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "dd6bcf51.4e37c",
+ "id": "be4f331d.65ef9",
"type": "execute",
"name": "read cellCU from getListofCells-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-cps-response.[' + $id-ta + ']'`\" />",
+ "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'`\" />",
"comments": "",
"outputs": 1,
- "x": 2555.0000762939453,
- "y": 850.2500158548355,
- "z": "4d6578c4.6dc8b8",
+ "x": 2575.138946533203,
+ "y": 788.5000057220459,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "64d19144.0eb6c",
+ "id": "1efc1e9a.80a8b1",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio_id is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyMember_id - \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyRatio update URL is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2553.944496154785,
- "y": 2376.611140847206,
- "z": "4d6578c4.6dc8b8",
+ "x": 2534.083381652832,
+ "y": 2313.6111421585083,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "fbccd084.f1d7d",
+ "id": "7542c5ac.6e2e1c",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2838.666549682617,
- "y": 2242.4443088769913,
- "z": "4d6578c4.6dc8b8",
+ "x": 2818.805435180664,
+ "y": 2179.4443101882935,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "6fcd9fe2.31558",
+ "id": "4d8fa04d.150dd",
"type": "execute",
"name": "prepare idNRCellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "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": 2833.222007751465,
- "y": 2272.444549202919,
- "z": "4d6578c4.6dc8b8",
+ "x": 2813.3608932495117,
+ "y": 2209.444550514221,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f0cbaac9.a493b8",
+ "id": "d84ddfc1.28fec",
"type": "execute",
"name": "read rrmPolicyMemberListLength",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyMembers' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2843.944625854492,
- "y": 2305.7778927087784,
- "z": "4d6578c4.6dc8b8",
+ "x": 2824.083511352539,
+ "y": 2242.7778940200806,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8f88d421.8dd488",
+ "id": "fe1570d7.b075a",
"type": "set",
"name": "set API params",
- "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.CUCPName`'/>\n<parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBCUCPList.nFType' value='RRC Connected Users'/>\n ",
+ "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": 1620.361328125,
- "y": 2195.2227479219437,
- "z": "4d6578c4.6dc8b8",
+ "x": 1600.5002136230469,
+ "y": 2132.222749233246,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "51a0c05e.7561a",
+ "id": "6846b09c.d3d28",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"gNBCUName\"/>\n<parameter name=\"field8\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBCUCPList.gNBId`\"/>\n<parameter name=\"field11\" value=\"nFType\"/>\n<parameter name=\"field12\" value=\"`$tmp.gNBCUCPList.nFType`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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`\"/>",
"comments": "",
"outputs": 1,
- "x": 1596.8611869812012,
- "y": 2247.44432079792,
- "z": "4d6578c4.6dc8b8",
+ "x": 1577.000072479248,
+ "y": 2184.4443221092224,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "34dc53d6.b374fc",
+ "id": "a1254a6f.4c5cd8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config DB update\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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",
"comments": "",
"outputs": 1,
- "x": 1591.6876678466797,
- "y": 2154.2499161958694,
- "z": "4d6578c4.6dc8b8",
+ "x": 1571.8265533447266,
+ "y": 2091.2499175071716,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "63a80c0e.45b254",
+ "id": "f728e07c.9fd34",
"type": "set",
"name": "set API params",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>\n<parameter name='tmp.resourceID' value='`$tmp.cellCULocalId`'/>",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>\n<parameter name='tmp.resourceID' value='`$tmp.cellId[0]`'/>",
"comments": "",
- "x": 2090.3128204345703,
- "y": 2673.063262939453,
- "z": "4d6578c4.6dc8b8",
+ "x": 2070.451705932617,
+ "y": 2610.0632642507553,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "3703eec1.b83182",
+ "id": "6bf3687c.91df38",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
"comments": "",
"outputs": 1,
- "x": 2067.5628509521484,
- "y": 2713.035125732422,
- "z": "4d6578c4.6dc8b8",
+ "x": 2047.7017364501953,
+ "y": 2650.035127043724,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "3b328437.5c249c",
+ "id": "8f616027.e5eb4",
"type": "execute",
"name": "prepare resourceId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "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": 1745.2777938842773,
- "y": 2412.2221677303314,
- "z": "4d6578c4.6dc8b8",
+ "x": 1725.4166793823242,
+ "y": 2349.2221690416336,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d419ccae.d0886",
+ "id": "b2ae94ac.c72e98",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2330.8333587646484,
- "y": 2544.0556354522705,
- "z": "4d6578c4.6dc8b8",
+ "x": 2310.9722442626953,
+ "y": 2481.0556367635727,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "2e920223.93347e"
+ "42dd3397.f2a9fc"
]
]
},
{
- "id": "ebeb3209.942f3",
+ "id": "3be9200d.11ab7",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2314.944320678711,
- "y": 2576.2778034210205,
- "z": "4d6578c4.6dc8b8",
+ "x": 2295.083206176758,
+ "y": 2513.2778047323227,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "9eafa3ac.e2fde"
+ "62f2319f.768d3"
]
]
},
{
- "id": "2e920223.93347e",
+ "id": "42dd3397.f2a9fc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2473.833543777466,
- "y": 2579.0553938150406,
- "z": "4d6578c4.6dc8b8",
+ "x": 2453.9724292755127,
+ "y": 2516.055395126343,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "115ec44a.2d2f9c",
- "1b539bbd.3a3ea4"
+ "6f97926c.7af87c",
+ "18bfc4c3.ff17db"
]
]
},
{
- "id": "1b539bbd.3a3ea4",
+ "id": "18bfc4c3.ff17db",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2639.833299636841,
- "y": 2545.0553938150406,
- "z": "4d6578c4.6dc8b8",
+ "x": 2619.9721851348877,
+ "y": 2482.055395126343,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "115ec44a.2d2f9c",
+ "id": "6f97926c.7af87c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2668.166763305664,
- "y": 2577.8334118127823,
- "z": "4d6578c4.6dc8b8",
+ "x": 2648.305648803711,
+ "y": 2514.8334131240845,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "cfbfb18b.96174",
+ "id": "cae5757b.cf4b38",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2643.7222442626953,
- "y": 2609.0557647943497,
- "z": "4d6578c4.6dc8b8",
+ "x": 2623.861129760742,
+ "y": 2546.055766105652,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8750e0b3.dca38",
+ "id": "677bad84.aab484",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2741.9444122314453,
- "y": 2635.388860344887,
- "z": "4d6578c4.6dc8b8",
+ "x": 2722.083297729492,
+ "y": 2572.388861656189,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "9eafa3ac.e2fde",
+ "id": "62f2319f.768d3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2480.4999084472656,
- "y": 2629.9441925287247,
- "z": "4d6578c4.6dc8b8",
+ "x": 2460.6387939453125,
+ "y": 2566.944193840027,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "cfbfb18b.96174",
- "8750e0b3.dca38"
+ "cae5757b.cf4b38",
+ "677bad84.aab484"
]
]
},
{
- "id": "4553a6ba.147f48",
+ "id": "7c088ef3.8617d",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1720.7222137451172,
- "y": 2448.3886737823486,
- "z": "4d6578c4.6dc8b8",
+ "x": 1700.861099243164,
+ "y": 2385.388675093651,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "44079d40.b3e3e4",
+ "id": "c71c4db4.06df2",
"type": "set",
"name": "Calculate maxNumberOfDRBsPerNSSAI",
"xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />",
"comments": "",
- "x": 1703.222183227539,
- "y": 3049.666862130165,
- "z": "4d6578c4.6dc8b8",
+ "x": 1683.361068725586,
+ "y": 2986.6668634414673,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "a7c61b4d.7c7ac8",
+ "id": "b1860415.73afc8",
"type": "set",
"name": "Calculate maxNumberOfDRBsPerCUUP",
"xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />",
"comments": "",
- "x": 1712.1110382080078,
- "y": 3084.110854744911,
- "z": "4d6578c4.6dc8b8",
+ "x": 1692.2499237060547,
+ "y": 3021.1108560562134,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "2b2dcf92.ad428",
+ "id": "b02a4fc.26a9cb",
"type": "set",
"name": "Calculate RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
"comments": "",
- "x": 1663.2221755981445,
- "y": 3155.2222534418106,
- "z": "4d6578c4.6dc8b8",
+ "x": 1643.3610610961914,
+ "y": 3092.222254753113,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "76809bf5.5f9204",
+ "id": "9e4fce49.f817f",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 1649.611083984375,
- "y": 2900.4997497797012,
- "z": "4d6578c4.6dc8b8",
+ "x": 1629.7499694824219,
+ "y": 2837.4997510910034,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c91f3329.9b73d",
+ "id": "f15cf0c8.3245",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1658.5000762939453,
- "y": 2936.7222286462784,
- "z": "4d6578c4.6dc8b8",
+ "x": 1638.6389617919922,
+ "y": 2873.7222299575806,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "74fa9997.55e2c8",
+ "id": "fb33b928.462c78",
"type": "record",
"name": "record API params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch CUUP NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1661.3890838623047,
- "y": 2972.7222229242325,
- "z": "4d6578c4.6dc8b8",
+ "x": 1641.5279693603516,
+ "y": 2909.7222242355347,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "993dd44a.170258",
+ "id": "beb46169.f7a6a",
"type": "execute",
"name": "read existing rrmPolicyDedicatedRatio ",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_CUUP' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2185.4442749023438,
- "y": 3554.944211602211,
- "z": "4d6578c4.6dc8b8",
+ "x": 2165.5831604003906,
+ "y": 3491.944212913513,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "268bc997.735946",
+ "id": "7f6d0076.5688b",
"type": "execute",
"name": "read rrmPolicyMemberListLength",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyMembers-CUUP' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2186.0000762939453,
- "y": 3754.9441620111465,
- "z": "4d6578c4.6dc8b8",
+ "x": 2166.138961791992,
+ "y": 3691.9441633224487,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a427632f.d869c",
+ "id": "7a7d0d77.cd9c24",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2189.055419921875,
- "y": 3684.9443298578262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2169.194305419922,
+ "y": 3621.9443311691284,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "17f442ac.e65c0d",
+ "id": "b8cbfd7b.ff19d",
"type": "set",
"name": "set rrmpolicyratio list size",
"xml": "<set>\n<parameter name='tmp.rrmPolicyRatioList_CUUP_length' value='`$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
"comments": "",
- "x": 1646.4999542236328,
- "y": 3465.9444938898087,
- "z": "4d6578c4.6dc8b8",
+ "x": 1626.6388397216797,
+ "y": 3402.944495201111,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "eb350ab1.e1b0a8",
+ "id": "5cf10824.d1c1a8",
"type": "execute",
"name": "read RRMPolicyRatio_id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2168.2222061157227,
- "y": 3721.6107441186905,
- "z": "4d6578c4.6dc8b8",
+ "x": 2148.3610916137695,
+ "y": 3658.6107454299927,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "28f5dfd.9a4812",
+ "id": "ab647e74.04689",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config DB update\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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",
"comments": "",
"outputs": 1,
- "x": 1463.9516258239746,
- "y": 3677.305416226387,
- "z": "4d6578c4.6dc8b8",
+ "x": 1444.0905113220215,
+ "y": 3614.305417537689,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "50bcf572.bcf0cc",
+ "id": "d8639060.14d84",
"type": "set",
"name": "set API params",
"xml": "<set>\n<parameter name='tmp.gNBCUUPList.gNBCUUPId' value='`$tmp.idGNBCUUPFunction`'/>\n<parameter name='tmp.gNBCUUPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n ",
"comments": "",
- "x": 1488.1807479858398,
- "y": 3711.611381649971,
- "z": "4d6578c4.6dc8b8",
+ "x": 1468.3196334838867,
+ "y": 3648.611382961273,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "47702ad.848f4d4",
+ "id": "3d5b389d.7c82c8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI\"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field4\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field5\" value=\"gNBCUUPId\"/>\n<parameter name=\"field6\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n<parameter name=\"field7\" value=\"pLMNId\"/>\n<parameter name=\"field8\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBCUUPList.gNBId`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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`\"/>",
"comments": "",
"outputs": 1,
- "x": 1486.9027976989746,
- "y": 3746.05569088459,
- "z": "4d6578c4.6dc8b8",
+ "x": 1467.0416831970215,
+ "y": 3683.0556921958923,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c914f18c.7a4f1",
+ "id": "3fb95bb5.c34a64",
"type": "execute",
"name": "prepare resourceId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1789.3612213134766,
- "y": 3954.5631036758423,
- "z": "4d6578c4.6dc8b8",
+ "x": 1769.5001068115234,
+ "y": 3891.5631049871445,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "104eb87.a376648",
+ "id": "e86b219.bb19de",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1771.694564819336,
- "y": 4015.062798500061,
- "z": "4d6578c4.6dc8b8",
+ "x": 1751.8334503173828,
+ "y": 3952.062799811363,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ecfa9234.bd62b",
+ "id": "6f687abd.3fae94",
"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`'/>",
+ "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`'/>",
"comments": "",
- "x": 1973.3963203430176,
- "y": 4252.291495919228,
- "z": "4d6578c4.6dc8b8",
+ "x": 1961.0351791381836,
+ "y": 4214.2915605306625,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "be212b4b.230ff8",
+ "id": "171dbeee.cf6f81",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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`\"/>",
"comments": "",
"outputs": 1,
- "x": 1924.4236907958984,
- "y": 4287.041496872902,
- "z": "4d6578c4.6dc8b8",
+ "x": 1922.0625457763672,
+ "y": 4259.041454672813,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "63dc4c62.abdc64",
+ "id": "fbc7d907.687af8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2220.361072540283,
- "y": 4045.8124351501465,
- "z": "4d6578c4.6dc8b8",
+ "x": 2200.49995803833,
+ "y": 3982.8124364614487,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "4953f72a.14a9c8"
+ "6975630b.f56ffc"
]
]
},
{
- "id": "4953f72a.14a9c8",
+ "id": "6975630b.f56ffc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2381.61141204834,
- "y": 4073.8124824762344,
- "z": "4d6578c4.6dc8b8",
+ "x": 2361.7502975463867,
+ "y": 4010.8124837875366,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "38e20140.f6bd9e",
- "d1a675f6.821158"
+ "d7ffd36a.c8bc3",
+ "bdadf33.c47e11"
]
]
},
{
- "id": "d1a675f6.821158",
+ "id": "bdadf33.c47e11",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2568.8612308502197,
- "y": 4053.5625425577164,
- "z": "4d6578c4.6dc8b8",
+ "x": 2549.0001163482666,
+ "y": 3990.5625438690186,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "38e20140.f6bd9e",
+ "id": "d7ffd36a.c8bc3",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2587.1946334838867,
- "y": 4096.340558648109,
- "z": "4d6578c4.6dc8b8",
+ "x": 2567.3335189819336,
+ "y": 4033.3405599594116,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "a466929a.a0be7",
+ "id": "f3db5a7.2271fa8",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2650.9722213745117,
- "y": 4160.14579641819,
- "z": "4d6578c4.6dc8b8",
+ "x": 2631.1111068725586,
+ "y": 4097.145797729492,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e6c1fef4.a3848",
+ "id": "f1615e53.55489",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2592.750087738037,
- "y": 4126.312787652016,
- "z": "4d6578c4.6dc8b8",
+ "x": 2572.888973236084,
+ "y": 4063.312788963318,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "567bc22a.62a28c",
+ "id": "167705d1.40ab5a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2397.027671813965,
- "y": 4154.70146048069,
- "z": "4d6578c4.6dc8b8",
+ "x": 2377.1665573120117,
+ "y": 4091.701461791992,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "e6c1fef4.a3848",
- "a466929a.a0be7"
+ "f1615e53.55489",
+ "f3db5a7.2271fa8"
]
]
},
{
- "id": "5f69d5e0.47f8bc",
+ "id": "eac10e1b.c38b1",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2220.9167671203613,
- "y": 4089.2849082946777,
- "z": "4d6578c4.6dc8b8",
+ "x": 2201.055652618408,
+ "y": 4026.28490960598,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "567bc22a.62a28c"
+ "167705d1.40ab5a"
]
]
},
{
- "id": "ca950d87.43a8c",
+ "id": "16c849d5.e5b0a6",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2033.4999256134033,
- "y": 4690.944519042969,
- "z": "4d6578c4.6dc8b8",
+ "x": 2013.6388111114502,
+ "y": 4627.944520354271,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "5df9b990.ac5c48"
+ "7dbc5903.ed0538"
]
]
},
{
- "id": "5df9b990.ac5c48",
+ "id": "7dbc5903.ed0538",
"type": "for",
"name": "foreach TACell",
- "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
+ "xml": "<for index='id-ta' start='0' end='`$getListofCells-cps-response.taCellsList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2190.4722747802734,
- "y": 4678.8892822265625,
- "z": "4d6578c4.6dc8b8",
+ "x": 2170.6111602783203,
+ "y": 4615.889283537865,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "e01310ef.1fcba"
+ "46992e5c.937d2"
]
]
},
{
- "id": "e01310ef.1fcba",
+ "id": "46992e5c.937d2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2390.277557373047,
- "y": 4511.69435274601,
- "z": "4d6578c4.6dc8b8",
+ "x": 2370.4164428710938,
+ "y": 4448.694354057312,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "a7867a5a.e2cb28",
- "35c87d11.0f4cc2",
- "bf0b6ad5.e1d028"
+ "ea8c2a76.011658",
+ "3524921c.ceccee",
+ "e55d012d.dbac7",
+ "769ceb13.c6e374"
]
]
},
{
- "id": "35c87d11.0f4cc2",
+ "id": "3524921c.ceccee",
"type": "execute",
"name": "read Cell from getNFNSSIRIC-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "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'`\" />",
"comments": "",
"outputs": 1,
- "x": 2671.833282470703,
- "y": 4338.027561426163,
- "z": "4d6578c4.6dc8b8",
+ "x": 2651.97216796875,
+ "y": 4275.027562737465,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "bf0b6ad5.e1d028",
+ "id": "e55d012d.dbac7",
"type": "execute",
"name": "read cellCU from getListofCells-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id-ta + ']'`\" />",
+ "xml": "<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'`\" />",
"comments": "",
"outputs": 1,
- "x": 2675.1666107177734,
- "y": 4379.694230675697,
- "z": "4d6578c4.6dc8b8",
+ "x": 2655.3054962158203,
+ "y": 4316.6942319869995,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a7867a5a.e2cb28",
+ "id": "ea8c2a76.011658",
"type": "switchNode",
- "name": "is cellCU applicable for NSSAI",
- "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
+ "name": "is cellDU applicable for NSSAI",
+ "xml": "<switch test='`$tmp.cellDULocalId == $tmp.cellCU2`'>\n",
"comments": "",
"outputs": 1,
- "x": 2635.0553665161133,
- "y": 4422.805630162358,
- "z": "4d6578c4.6dc8b8",
+ "x": 2651.444465637207,
+ "y": 4414.80583190918,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "48dc6ea1.5a081"
+ "52749ebb.f8efc"
]
]
},
{
- "id": "48dc6ea1.5a081",
+ "id": "52749ebb.f8efc",
"type": "outcome",
"name": "Applicable",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2872.722137451172,
- "y": 4426.916242241859,
- "z": "4d6578c4.6dc8b8",
+ "x": 2852.8610229492188,
+ "y": 4363.916243553162,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "43075f86.beee5"
+ "96c0a57a.69c3c8"
]
]
},
{
- "id": "4af7254c.0f94ec",
+ "id": "71357194.29fcf",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated RRMPolicyRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>",
"comments": "",
"outputs": 1,
- "x": 3168.142822265625,
- "y": 5207.643060326576,
- "z": "4d6578c4.6dc8b8",
+ "x": 3148.281707763672,
+ "y": 5144.643061637878,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "9bbde133.9199d",
+ "id": "7e425eba.88fdf",
"type": "set",
"name": "set rrmpolicyratio list size",
"xml": "<set>\n<parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
"comments": "",
- "x": 3182.428810119629,
- "y": 5551.571227669716,
- "z": "4d6578c4.6dc8b8",
+ "x": 3162.567695617676,
+ "y": 5488.571228981018,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "2e984400.7745bc",
+ "id": "9cd4b927.aa4e98",
"type": "execute",
"name": "Set existing RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellDU-old' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n\t\n\t",
"comments": "",
"outputs": 1,
- "x": 3689.9288177490234,
- "y": 5576.214139580727,
- "z": "4d6578c4.6dc8b8",
+ "x": 3670.0677032470703,
+ "y": 5513.214140892029,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "77b3e185.b47fc",
+ "id": "ede60c1e.f34fc",
"type": "execute",
"name": "Read RRMPolicyRatioid",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3653.143264770508,
- "y": 5699.785705208778,
- "z": "4d6578c4.6dc8b8",
+ "x": 3633.2821502685547,
+ "y": 5636.785706520081,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "62f38bf.033d574",
+ "id": "acbb61bb.671ce",
"type": "execute",
"name": "Read RRMPolicyMembers Length",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyMembersDU_Length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3658.857208251953,
- "y": 5792.285478234291,
- "z": "4d6578c4.6dc8b8",
+ "x": 3638.99609375,
+ "y": 5729.285479545593,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "55f4d449.7a769c",
+ "id": "a22f5fc7.41f66",
"type": "execute",
"name": "set gNBDUId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3825.642822265625,
- "y": 5731.928704857826,
- "z": "4d6578c4.6dc8b8",
+ "x": 3805.781707763672,
+ "y": 5668.928706169128,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a0f19fe6.b3c43",
+ "id": "f254abf9.8ed118",
"type": "execute",
"name": "set NRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3818.5,
- "y": 5763.356927514076,
- "z": "4d6578c4.6dc8b8",
+ "x": 3798.638885498047,
+ "y": 5700.356928825378,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a7792ca5.50c21",
+ "id": "3315c6c7.a9202a",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idNRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3149.25,
- "y": 5439.999993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3129.388885498047,
+ "y": 5376.999995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "db6539b9.fface8",
+ "id": "8675993.4440a68",
"type": "set",
"name": "set API params",
"xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>\n<parameter name='tmp.pLMNId' value='`$tmp.payload.pLMNId`'/>\n ",
"comments": "",
- "x": 2844.430934906006,
- "y": 5775.785066723824,
- "z": "4d6578c4.6dc8b8",
+ "x": 2824.5698204040527,
+ "y": 5712.785068035126,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "6b14b248.70683c",
+ "id": "507ddcd6.ce3e94",
"type": "execute",
"name": "prepare resourceId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2950.9305725097656,
- "y": 6091.103967666626,
- "z": "4d6578c4.6dc8b8",
+ "x": 2931.0694580078125,
+ "y": 6028.103968977928,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "b0323c91.c5946",
+ "id": "848c4fb9.a9417",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2900.3751525878906,
- "y": 6127.714807510376,
- "z": "4d6578c4.6dc8b8",
+ "x": 2880.5140380859375,
+ "y": 6064.714808821678,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e87c44a7.c11038",
+ "id": "77b05a8.0e7e1a4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3386.9306640625,
- "y": 6175.159601330757,
- "z": "4d6578c4.6dc8b8",
+ "x": 3367.069549560547,
+ "y": 6112.159602642059,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "7e25eb3c.0855f4"
+ "9d31883d.efd628"
]
]
},
{
- "id": "7e25eb3c.0855f4",
+ "id": "9d31883d.efd628",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3794.4863300323486,
- "y": 6160.937265992165,
- "z": "4d6578c4.6dc8b8",
+ "x": 3774.6252155303955,
+ "y": 6097.937267303467,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "b4d29111.bb08b",
- "424089a8.f09978"
+ "8724b9fb.12a3a8",
+ "e759e8fa.3ef6d8"
]
]
},
{
- "id": "424089a8.f09978",
+ "id": "e759e8fa.3ef6d8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3960.4860858917236,
- "y": 6126.937265992165,
- "z": "4d6578c4.6dc8b8",
+ "x": 3940.6249713897705,
+ "y": 6063.937267303467,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "b4d29111.bb08b",
+ "id": "8724b9fb.12a3a8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3988.819549560547,
- "y": 6159.715283989906,
- "z": "4d6578c4.6dc8b8",
+ "x": 3968.9584350585938,
+ "y": 6096.7152853012085,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "f1e8460f.026358",
+ "id": "a1dcbd83.a1dc7",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 3964.375030517578,
- "y": 6190.937636971474,
- "z": "4d6578c4.6dc8b8",
+ "x": 3944.513916015625,
+ "y": 6127.937638282776,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "105f5aab.bafec5",
+ "id": "8ae1b358.a8673",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 4062.597198486328,
- "y": 6217.270732522011,
- "z": "4d6578c4.6dc8b8",
+ "x": 4042.736083984375,
+ "y": 6154.270733833313,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "66f5530f.1d898c",
+ "id": "31314c34.e77d54",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3801.1526947021484,
- "y": 6211.826064705849,
- "z": "4d6578c4.6dc8b8",
+ "x": 3781.2915802001953,
+ "y": 6148.826066017151,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "f1e8460f.026358",
- "105f5aab.bafec5"
+ "a1dcbd83.a1dc7",
+ "8ae1b358.a8673"
]
]
},
{
- "id": "1ff2b2d3.910dbd",
+ "id": "a9305a26.18c0f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3418.819320678711,
- "y": 6217.048490643501,
- "z": "4d6578c4.6dc8b8",
+ "x": 3398.958206176758,
+ "y": 6154.0484919548035,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "66f5530f.1d898c"
+ "31314c34.e77d54"
]
]
},
{
- "id": "5b70e245.930d4c",
+ "id": "bf9eb04f.80363",
"type": "set",
"name": "set API params",
"xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>",
"comments": "",
- "x": 3457.9662857055664,
- "y": 6330.944786667824,
- "z": "4d6578c4.6dc8b8",
+ "x": 3438.1051712036133,
+ "y": 6267.944787979126,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "a41ce1c1.99092",
+ "id": "bab1e158.834eb",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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`\"/>",
"comments": "",
"outputs": 1,
- "x": 3420.2155532836914,
- "y": 6366.916954159737,
- "z": "4d6578c4.6dc8b8",
+ "x": 3400.3544387817383,
+ "y": 6303.916955471039,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "bd600a84.5b8d28",
+ "id": "1809ae3b.35f172",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"GNBDUId\"/>\n<parameter name=\"field8\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"dLThptPerSlice\"/>\n<parameter name=\"field12\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field13\" value=\"uLThptPerSlice\"/>\n<parameter name=\"field14\" value=\"`$tmp.uLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 2836.4858722686768,
- "y": 5825.7844849824905,
- "z": "4d6578c4.6dc8b8",
+ "x": 2816.6247577667236,
+ "y": 5762.784486293793,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "15c4f61a.5a5e9a",
- "type": "execute",
- "name": "Update RAN Inventory ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRANSliceInventory`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRANSliceInventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-inventory-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 825,
- "y": 4268.249993920326,
- "z": "4d6578c4.6dc8b8",
- "wires": [
- [
- "a5169bf9.c22f38",
- "cbeb3d9c.a1de7"
- ]
- ]
- },
- {
- "id": "4c61e3ca.3e341c",
+ "id": "bdfd583e.cc8ea8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Update inventory in ConfigDB\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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\"/>",
"comments": "",
"outputs": 1,
- "x": 779.8055419921875,
- "y": 3886.416729092598,
- "z": "4d6578c4.6dc8b8",
+ "x": 759.9444274902344,
+ "y": 3823.4167304039,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a5169bf9.c22f38",
+ "id": "bafec03e.59cb1",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1061.0006580352783,
- "y": 4222.250352501869,
- "z": "4d6578c4.6dc8b8",
+ "x": 1041.1395435333252,
+ "y": 4159.250353813171,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "b7dddebd.9dc65"
+ "5a15caba.d28c54"
]
]
},
{
- "id": "b7dddebd.9dc65",
+ "id": "5a15caba.d28c54",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1201.0009765625,
- "y": 4230.250230431557,
- "z": "4d6578c4.6dc8b8",
+ "x": 1181.1398620605469,
+ "y": 4167.250231742859,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "127c4b5b.882045",
- "8ec8435.46a3ec"
+ "10e150df.4df2af",
+ "25dbcf8b.3b8f"
]
]
},
{
- "id": "8ec8435.46a3ec",
+ "id": "25dbcf8b.3b8f",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RAN Inventory. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1336.0006713867188,
- "y": 4196.361741662025,
- "z": "4d6578c4.6dc8b8",
+ "x": 1316.1395568847656,
+ "y": 4133.361742973328,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "127c4b5b.882045",
+ "id": "10e150df.4df2af",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1390.0003967285156,
- "y": 4233.250291466713,
- "z": "4d6578c4.6dc8b8",
+ "x": 1370.1392822265625,
+ "y": 4170.250292778015,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "c3c785b2.eac798",
+ "id": "c05083eb.13bbc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated inventory\"/>",
"comments": "",
"outputs": 1,
- "x": 1409.0006484985352,
- "y": 4285.250479340553,
- "z": "4d6578c4.6dc8b8",
+ "x": 1389.139533996582,
+ "y": 4222.2504806518555,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c61a5e2f.7dd5f",
+ "id": "dba35016.4a334",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1223.000400543213,
- "y": 4301.250235199928,
- "z": "4d6578c4.6dc8b8",
+ "x": 1203.1392860412598,
+ "y": 4238.2502365112305,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "c3c785b2.eac798",
- "479d909e.4559c"
+ "c05083eb.13bbc",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "cbeb3d9c.a1de7",
+ "id": "cb5395a1.754388",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1065.0006103515625,
- "y": 4302.249990105629,
- "z": "4d6578c4.6dc8b8",
+ "x": 1045.1394958496094,
+ "y": 4239.249991416931,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "c61a5e2f.7dd5f"
+ "dba35016.4a334"
]
]
},
{
- "id": "3e120068.88b83",
+ "id": "628c20e5.974e1",
"type": "set",
"name": "set API params",
- "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberOfConns`'/>",
+ "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": 788.3333702087402,
- "y": 3950.8333369493484,
- "z": "4d6578c4.6dc8b8",
+ "x": 768.4722557067871,
+ "y": 3887.8333382606506,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "8666c4e7.b8a108",
+ "id": "667aaf9f.e421a",
"type": "execute",
"name": "prepare gNBDUList for SO callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.DUList.response' />\n\t<parameter name='keyName' value='gNBDUId' />\n\t<parameter name='keyValue' value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3141.75,
- "y": 5098.499993920326,
- "z": "4d6578c4.6dc8b8",
+ "x": 3121.888885498047,
+ "y": 5035.499995231628,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a69e803e.2d92c",
+ "id": "c69cfd85.0e443",
"type": "execute",
"name": "prepare gNBCUUPList for SO callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUUPList.response' />\n\t<parameter name='keyName' value='gNBCUUPId' />\n\t<parameter name='keyValue' value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1696,
- "y": 3324.2499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 1676.1388854980469,
+ "y": 3261.2499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "2ce9fc18.f66724",
+ "id": "2b357518.7bb91a",
"type": "execute",
"name": "prepare gNBCUCPList for SO callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUCPList.response' />\n\t<parameter name='keyName' value='gNBCUName' />\n\t<parameter name='keyValue' value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2221,
- "y": 1648.4999939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 2201.138885498047,
+ "y": 1585.4999952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f6e46dad.569ee",
+ "id": "dbed846c.ad06b8",
"type": "for",
"name": "For coverageAreaTAList",
"xml": "<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>",
"comments": "",
"outputs": 1,
- "x": 440.69447326660156,
- "y": 619.6667137145996,
- "z": "4d6578c4.6dc8b8",
+ "x": 458.33335876464844,
+ "y": 936.666690826416,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "57aa9b6c.389994"
+ "a34ebca7.891c4"
]
]
},
{
- "id": "57aa9b6c.389994",
+ "id": "a34ebca7.891c4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 451.8816680908203,
- "y": 686.9892539978027,
- "z": "4d6578c4.6dc8b8",
+ "x": 479.52054595947266,
+ "y": 1137.7392826080322,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "79f4cbb1.fae6b4",
- "4146177c.a9f1e8",
- "f8a02bae.043858",
- "4c6cbf53.9e01",
- "66242df2.a00cf4",
- "2903995b.5e4666"
+ "66bcf03c.d92c2",
+ "7c2a6fba.2b3d8",
+ "aafef9f.b0d3d08",
+ "ecc4af17.f9f0c",
+ "6a6b75dd.3970ec",
+ "c1373bf8.753cb8"
]
]
},
{
- "id": "79f4cbb1.fae6b4",
+ "id": "66bcf03c.d92c2",
"type": "execute",
"name": "read trackingArea",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.payload.trackingArea' />\n\t<parameter name='source' value=\"`'payloadJson.input.sliceProfile.coverageAreaTAList['+ $ta+']'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 678.8056716918945,
- "y": 755.9444618225098,
- "z": "4d6578c4.6dc8b8",
+ "x": 788.9446029663086,
+ "y": 1032.944585800171,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f8a02bae.043858",
+ "id": "aafef9f.b0d3d08",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"trackingArea \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.trackingArea`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 648.6944808959961,
- "y": 814.2778062820435,
- "z": "4d6578c4.6dc8b8",
+ "x": 758.8334121704102,
+ "y": 1091.2779302597046,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a051c642.6a7bc8",
+ "id": "c3a0cb5f.a42518",
"type": "for",
"name": "for each rrmpolicyratio",
- "xml": "<for index='idcuup-rrm1' start='0' end='`$tmp.rrmPolicyRatio_configdb_length`' >\n",
+ "xml": "<for index='idcuup-rrm1' start='0' end='`$tmp.rrmPolicyRatio_cps_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1559.000228881836,
- "y": 4220.750726699829,
- "z": "4d6578c4.6dc8b8",
+ "x": 1566.639175415039,
+ "y": 4321.500760436058,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "78ef433c.56685c"
+ "1cdca7ac.8af308"
]
]
},
{
- "id": "45595c3c.0be1a4",
- "type": "set",
- "name": "set rrmpolicyratio list size",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyRatio_configdb_length' value='`$get-rrmpolicy-gNBCUCP-cps-response._length`'/>\n\n ",
- "comments": "",
- "x": 1804.000114440918,
- "y": 4233.7501745224,
- "z": "4d6578c4.6dc8b8",
- "wires": []
- },
- {
- "id": "78ef433c.56685c",
+ "id": "1cdca7ac.8af308",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1712.0001754760742,
- "y": 4289.750115394592,
- "z": "4d6578c4.6dc8b8",
+ "x": 1695.8890991210938,
+ "y": 4246.750330328941,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "71812e98.fcdd8",
- "ecfa9234.bd62b",
- "be212b4b.230ff8",
- "6b9cc38e.d152bc",
- "12eccffa.4bf35",
- "70a4dc14.3934d4",
- "f6199128.ad4e6"
+ "281a01ef.a3eb3e",
+ "6f687abd.3fae94",
+ "171dbeee.cf6f81",
+ "a8001d7.7bf72e",
+ "4639745d.49d79c",
+ "848c7f90.e5cc2",
+ "e12b6c47.5ae27"
]
]
},
{
- "id": "71812e98.fcdd8",
+ "id": "281a01ef.a3eb3e",
"type": "set",
"name": "set rrmpolicyratioid",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'get-rrmpolicy-gNBCUCP-cps-response.['+$idcuup-rrm1+'].rrmPolicyID'`\" />\n\n ",
+ "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 ",
"comments": "",
- "x": 2061.000015258789,
- "y": 4219.750175118446,
- "z": "4d6578c4.6dc8b8",
+ "x": 2011.1388854980469,
+ "y": 4173.000054717064,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "3f144a6d.b53276",
+ "id": "15d6413c.e3669f",
"type": "set",
"name": "set rrmpolicyratioid",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'getrrmpolicyratioinfo-cps-response.['+$idcu-rrm1+'].rrmPolicyID'`\" />\n",
+ "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": 2103.2504119873047,
- "y": 2627.750762939453,
- "z": "4d6578c4.6dc8b8",
+ "x": 2083.3892974853516,
+ "y": 2564.7507642507553,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "139a6abb.0ab7a5",
+ "id": "cd024a0e.015428",
"type": "set",
"name": "set rrmpolicyratioid",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='prop.configDB.rrmPolicyID' />\n\t<parameter name='source' value=\"`'get-gNBDU-cps-response.['+$iddu-rrm1+'].rrmPolicyID'`\" />\n",
+ "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",
"comments": "",
- "x": 3471.25040435791,
- "y": 6293.750327706337,
- "z": "4d6578c4.6dc8b8",
+ "x": 3451.389289855957,
+ "y": 6230.750329017639,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "58ac14e8.eb98dc",
+ "id": "83cfc0b6.b37ff",
"type": "set",
"name": "set rrmpolicyratio list size",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioConfigDB_length' value='`$getrrmpolicyratioinfo-cps-response._length`'/>\n\n ",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioCPS_length' value='`$getrrmpolicyratioinfo-cps-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
"comments": "",
- "x": 1753.500473022461,
- "y": 2668.2500324249268,
- "z": "4d6578c4.6dc8b8",
+ "x": 1712.3893966674805,
+ "y": 2602.392750144005,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "bada65e4.1da208",
+ "id": "7394667b.400298",
"type": "for",
"name": "for each rrmpolicyratio",
- "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.rrmPolicyRatioConfigDB_length`' >\n",
+ "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.rrmPolicyRatioCPS_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1674.500259399414,
- "y": 2705.4722003936768,
- "z": "4d6578c4.6dc8b8",
+ "x": 1658.389175415039,
+ "y": 2645.1507276296616,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "56e09769.d64e48"
+ "77ee010f.f3d1e"
]
]
},
{
- "id": "56e09769.d64e48",
+ "id": "77ee010f.f3d1e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1869.833480834961,
- "y": 2702.5837745666504,
- "z": "4d6578c4.6dc8b8",
+ "x": 1849.9723663330078,
+ "y": 2639.5837758779526,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "3f144a6d.b53276",
- "63a80c0e.45b254",
- "3703eec1.b83182",
- "3cb5d2ed.cb76ae",
- "d0c14773.4cae68",
- "96d28ef5.b6083",
- "5f353650.dbdb48"
+ "15d6413c.e3669f",
+ "f728e07c.9fd34",
+ "6bf3687c.91df38",
+ "c4933bf7.4faee8",
+ "c5d647e4.b55dc8",
+ "a7c5af4d.59e1e",
+ "9e6a87f9.545258"
]
]
},
{
- "id": "3f889fa8.24ada",
+ "id": "26e16446.0f20bc",
"type": "set",
"name": "set rrmpolicyratio list size",
"xml": "<set>\n<parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-gNBDU-cps-response._length`'/>\n\n ",
"comments": "",
- "x": 2928.111297607422,
- "y": 6409.138879776001,
- "z": "4d6578c4.6dc8b8",
+ "x": 2905.750144958496,
+ "y": 6318.638934135437,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "36523ebf.3db352",
+ "id": "e7c4ebf.d78aa18",
"type": "for",
"name": "for each rrmpolicyratio",
- "xml": "<for index='iddu-rrm1' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
+ "xml": "<for index='iddu-rrm1' start='0' end='`$tmp.rrmPolicyRatio_cps_du_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2908.1114807128906,
- "y": 6443.4734745025635,
- "z": "4d6578c4.6dc8b8",
+ "x": 2888.2505264282227,
+ "y": 6395.473789215088,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "d34bc5b5.4f74c8"
+ "7753d8c0.267838"
]
]
},
{
- "id": "d34bc5b5.4f74c8",
+ "id": "7753d8c0.267838",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3134.3611755371094,
- "y": 6431.028284072876,
- "z": "4d6578c4.6dc8b8",
+ "x": 3115.750099182129,
+ "y": 6448.028584420681,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "139a6abb.0ab7a5",
- "5b70e245.930d4c",
- "a41ce1c1.99092",
- "1486a5d2.c25d8a",
- "8a15962e.8cfdb8",
- "66402a68.4e3114",
- "ab24e08f.3731"
+ "cd024a0e.015428",
+ "bf9eb04f.80363",
+ "bab1e158.834eb",
+ "52aafb8b.bde4c4",
+ "581452c3.84467c",
+ "70400cf6.8d01d4",
+ "8294641.f1ef398"
]
]
},
{
- "id": "4c6cbf53.9e01",
+ "id": "61d01632.9da958",
"type": "execute",
"name": "set params",
- "xml": "<set>\n<parameter name='tmp.RICEntries' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "xml": "<set>\n<parameter name='tmp.RICEntries' value=\"`$getNFNSSIRIC-cps-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 334.75,
- "y": 1350.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 314.8888854980469,
+ "y": 1287.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "66242df2.a00cf4",
+ "id": "3909285f.dcd1e8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConn for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"nearRTRICId\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"RANNFNSSI\"/>\n<parameter name=\"field12\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n<parameter name=\"field13\" value=\"NSSAI\"/>\n<parameter name=\"field14\" value=\"`$tmp.payload.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 314.75,
- "y": 1400.7499939203262,
- "z": "4d6578c4.6dc8b8",
+ "x": 294.8888854980469,
+ "y": 1337.7499952316284,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a55a4b1e.803eb8",
+ "id": "c637253e.163738",
"type": "execute",
"name": "set trackingArea size",
"xml": "<set>\n\t<parameter name='tmp.trackingAreaListEntries' value=\"`$payloadJson.input.sliceProfile.coverageAreaTAList_length`\"/>\n\t",
"comments": "",
"outputs": 1,
- "x": 497.75,
- "y": 477.75002002716064,
- "z": "4d6578c4.6dc8b8",
+ "x": 429.1388931274414,
+ "y": 477.2500228881836,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8a51c492.d53608",
+ "id": "19f07fce.82298",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Tracking Area size\"/>\n<parameter name=\"field2\" value=\"`$tmp.trackingAreaListEntries`\"/>",
"comments": "",
"outputs": 1,
- "x": 439.75000762939453,
- "y": 542.7499895095825,
- "z": "4d6578c4.6dc8b8",
+ "x": 396.13887786865234,
+ "y": 518.5000238418579,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a265251b.3b1538",
+ "id": "51fc5b6.acc17a4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Response code\"/>\n<parameter name=\"field2\" value=\"`$error-code`\" />",
"comments": "",
"outputs": 1,
- "x": 757.5,
- "y": 4365.249996781349,
- "z": "4d6578c4.6dc8b8",
+ "x": 737.6388854980469,
+ "y": 4302.249998092651,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "846f8159.327a4",
+ "id": "461632b6.acf73c",
"type": "switchNode",
"name": "check status",
"xml": "<switch test='`$error-code`'>\n",
"comments": "",
"outputs": 1,
- "x": 782.4999961853027,
- "y": 4418.999970436096,
- "z": "4d6578c4.6dc8b8",
+ "x": 762.6388816833496,
+ "y": 4355.999971747398,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "ac785715.394888",
- "b2820735.7908a8"
+ "8aef8394.41ba8",
+ "9adc6aac.b09f38"
]
]
},
{
- "id": "ac785715.394888",
+ "id": "8aef8394.41ba8",
"type": "success",
"name": "success",
"xml": "<outcome value='200'>\n",
"comments": "",
"outputs": 1,
- "x": 965.5000114440918,
- "y": 4376.000092506409,
- "z": "4d6578c4.6dc8b8",
+ "x": 945.6388969421387,
+ "y": 4313.000093817711,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "4802e6ae.a970c8"
+ "4bfc04b8.53cf5c"
]
]
},
{
- "id": "b2820735.7908a8",
+ "id": "9adc6aac.b09f38",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 981.4999961853027,
- "y": 4427.999970436096,
- "z": "4d6578c4.6dc8b8",
+ "x": 961.6388816833496,
+ "y": 4364.999971747398,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "e58ace3e.2f1b1"
+ "c26fb826.dd0db8"
]
]
},
{
- "id": "4802e6ae.a970c8",
+ "id": "4bfc04b8.53cf5c",
"type": "set",
"name": "status",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
"comments": "",
- "x": 1141.5000114440918,
- "y": 4379.000245094299,
- "z": "4d6578c4.6dc8b8",
+ "x": 1121.6388969421387,
+ "y": 4316.0002464056015,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "e58ace3e.2f1b1",
+ "id": "c26fb826.dd0db8",
"type": "set",
"name": "failure status",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
"comments": "",
- "x": 1142.4999961853027,
- "y": 4422.999970436096,
- "z": "4d6578c4.6dc8b8",
+ "x": 1122.6388816833496,
+ "y": 4359.999971747398,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "3aa7172f.242b68",
+ "id": "b7500e7d.d09c1",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Response code\"/>\n<parameter name=\"field2\" value=\"`$error-code`\" />",
"comments": "",
"outputs": 1,
- "x": 4727.000240325928,
- "y": 2630.749999165535,
- "z": "4d6578c4.6dc8b8",
+ "x": 4707.139125823975,
+ "y": 2567.750000476837,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "34f9cdd8.73fce2",
+ "id": "9215ffce.c2d04",
"type": "switchNode",
"name": "check status",
"xml": "<switch test='`$error-code`'>\n",
"comments": "",
"outputs": 1,
- "x": 4743.000240325928,
- "y": 2686.499999165535,
- "z": "4d6578c4.6dc8b8",
+ "x": 4723.139125823975,
+ "y": 2623.500000476837,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "459b0098.461f9",
- "187e33d5.1a66bc"
+ "6ed1d497.b99d6c",
+ "759ae146.48128"
]
]
},
{
- "id": "459b0098.461f9",
+ "id": "6ed1d497.b99d6c",
"type": "success",
"name": "success",
"xml": "<outcome value='200'>\n",
"comments": "",
"outputs": 1,
- "x": 4914.000011444092,
- "y": 2558.5000925064087,
- "z": "4d6578c4.6dc8b8",
+ "x": 4894.138896942139,
+ "y": 2495.500093817711,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "8634cbef.264748"
+ "7b62a30f.d289ac"
]
]
},
{
- "id": "8634cbef.264748",
+ "id": "7b62a30f.d289ac",
"type": "set",
"name": "status",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
"comments": "",
- "x": 5090.000011444092,
- "y": 2561.5002450942993,
- "z": "4d6578c4.6dc8b8",
+ "x": 5070.138896942139,
+ "y": 2498.5002464056015,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "7453f370.845fcc",
+ "id": "ac26ff73.7edd5",
"type": "set",
"name": "failure status",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
"comments": "",
- "x": 5090.999996185303,
- "y": 2605.499970436096,
- "z": "4d6578c4.6dc8b8",
+ "x": 5071.13888168335,
+ "y": 2542.4999717473984,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "187e33d5.1a66bc",
+ "id": "759ae146.48128",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 4929.999996185303,
- "y": 2610.499970436096,
- "z": "4d6578c4.6dc8b8",
+ "x": 4910.13888168335,
+ "y": 2547.4999717473984,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "7453f370.845fcc"
+ "ac26ff73.7edd5"
]
]
},
{
- "id": "db0a0ae7.99aea8",
+ "id": "405e8734.858cf8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 431.99993896484375,
- "y": 356.850736618042,
- "z": "4d6578c4.6dc8b8",
+ "x": 424.6388397216797,
+ "y": 415.10074520111084,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "d19fd8fc.d53d88",
- "24900504.6e385a",
- "660f3126.9b1d7",
- "a98eddd6.7a026"
+ "3586ae01.501e52",
+ "98a995db.4a6278",
+ "7c3cd1a2.ab3cc",
+ "229e9d8c.f4b8a2"
]
]
},
{
- "id": "d19fd8fc.d53d88",
+ "id": "3586ae01.501e52",
"type": "execute",
"name": "generate getNearRTRICsFromRANNFNSSI URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$prop.rannetwork.schemaset`\"/>",
"comments": "",
"outputs": 1,
- "x": 776.5000534057617,
- "y": 272.7499942779541,
- "z": "4d6578c4.6dc8b8",
+ "x": 800.3889389038086,
+ "y": 358.4999942779541,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "24900504.6e385a",
+ "id": "98a995db.4a6278",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getNearRTRICByNSSI.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nearrtric-by-rannfnssi`\"/>",
"comments": "",
"outputs": 1,
- "x": 694.5000762939453,
- "y": 312.7500009536743,
- "z": "4d6578c4.6dc8b8",
+ "x": 718.3889617919922,
+ "y": 398.5000009536743,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "660f3126.9b1d7",
+ "id": "7c3cd1a2.ab3cc",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByNSSI.url`\" />",
"comments": "",
"outputs": 1,
- "x": 715.5000457763672,
- "y": 351.75000190734863,
- "z": "4d6578c4.6dc8b8",
+ "x": 739.3889312744141,
+ "y": 437.50000190734863,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "a98eddd6.7a026",
+ "id": "229e9d8c.f4b8a2",
"type": "execute",
"name": "Get nearRTRIC for RANNFNSSIId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-rannfnssi.json'`\" />\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "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": 726.5000381469727,
- "y": 394.74999141693115,
- "z": "4d6578c4.6dc8b8",
+ "x": 750.3889236450195,
+ "y": 480.49999141693115,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "b60cc8f3.647b08",
- "6493baf6.beacb4"
+ "7d3b7a47.b4f6e4",
+ "618f947c.f3295c"
]
]
},
{
- "id": "b60cc8f3.647b08",
+ "id": "7d3b7a47.b4f6e4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 973.5000381469727,
- "y": 379.74999141693115,
- "z": "4d6578c4.6dc8b8",
+ "x": 997.3889236450195,
+ "y": 465.49999141693115,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "4d205b40.316074"
+ "ec46c9e1.f80c68"
]
]
},
{
- "id": "6493baf6.beacb4",
+ "id": "618f947c.f3295c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 963.0001792907715,
- "y": 431.24994945526123,
- "z": "4d6578c4.6dc8b8",
+ "x": 986.8890647888184,
+ "y": 516.9999494552612,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "4fe45ecd.5f733"
+ "67b2718.5dfd79"
]
]
},
{
- "id": "4d205b40.316074",
+ "id": "ec46c9e1.f80c68",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1132.2501182556152,
- "y": 353.7500629425049,
- "z": "4d6578c4.6dc8b8",
+ "x": 1156.139003753662,
+ "y": 439.5000629425049,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "3b9c8473.75655c",
- "479d909e.4559c"
+ "b32c50b2.706a6",
+ "539e8ebf.0e22a"
]
]
},
{
- "id": "4fe45ecd.5f733",
+ "id": "67b2718.5dfd79",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1135.9999809265137,
- "y": 420.2500219345093,
- "z": "4d6578c4.6dc8b8",
+ "x": 1159.8888664245605,
+ "y": 506.0000219345093,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "7bdcb81f.ccd468",
- "b98f07f3.e4a838"
+ "eb6958bc.9181d8",
+ "78a67442.4dfa2c"
]
]
},
{
- "id": "3b9c8473.75655c",
+ "id": "b32c50b2.706a6",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1304.999755859375,
- "y": 366.3610887527466,
- "z": "4d6578c4.6dc8b8",
+ "x": 1328.8886413574219,
+ "y": 452.1110887527466,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "7bdcb81f.ccd468",
+ "id": "eb6958bc.9181d8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 1336.7497100830078,
- "y": 420.0000467300415,
- "z": "4d6578c4.6dc8b8",
+ "x": 1360.6385955810547,
+ "y": 505.7500467300415,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "b98f07f3.e4a838",
+ "id": "78a67442.4dfa2c",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1372.5279235839844,
- "y": 463.25005531311035,
- "z": "4d6578c4.6dc8b8",
+ "x": 1396.4168090820312,
+ "y": 549.0000553131104,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "7158a43e.6416cc",
+ "id": "35328f4e.c6a2",
"type": "execute",
"name": "generate getListOfCells URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getListOfCells.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$cavsta.schemaset`\"/>",
+ "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": 1176.8055267333984,
- "y": 760.0277919769287,
- "z": "4d6578c4.6dc8b8",
+ "x": 1223.1944580078125,
+ "y": 1082.0279006958008,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e6f0c824.c84d28",
+ "id": "302704fc.378b5c",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getListOfCells.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getListOfCells.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-cells-list`\"/>",
"comments": "",
"outputs": 1,
- "x": 1163.437484741211,
- "y": 799.750020980835,
- "z": "4d6578c4.6dc8b8",
+ "x": 1209.826416015625,
+ "y": 1121.750129699707,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d5456a86.055578",
+ "id": "647d96c3.6bc248",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get List of cells of TAC\"/>\n<parameter name='field2' value=\"`$tmp.cps.getListOfCells.url`\" />",
"comments": "",
"outputs": 1,
- "x": 1194.687484741211,
- "y": 841.000020980835,
- "z": "4d6578c4.6dc8b8",
+ "x": 1241.076416015625,
+ "y": 1163.000129699707,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "25e7562d.7ff36a",
+ "id": "e16ccf6a.8b81f",
"type": "execute",
"name": "Get ListOfCells for TrackingArea",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getListOfCells.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-cells-list.json'`\" />\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getListofCells-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
- "comments": "",
- "outputs": 1,
- "x": 1195.9375,
- "y": 883.5000343322754,
- "z": "4d6578c4.6dc8b8",
- "wires": [
- [
- "df033120.0b194",
- "c7fdb989.03f1d8"
- ]
- ]
- },
- {
- "id": "c7ce326f.111f",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 892.1875,
- "y": 870.687520980835,
- "z": "4d6578c4.6dc8b8",
- "wires": [
- [
- "7158a43e.6416cc",
- "e6f0c824.c84d28",
- "d5456a86.055578",
- "25e7562d.7ff36a"
- ]
- ]
- },
- {
- "id": "8b33f4d.cc63408",
- "type": "switchNode",
- "name": "cps deployed",
- "xml": "<switch test='`$prop.cps-deployed`'>\n",
+ "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": 698.2500152587891,
- "y": 1361.1875249147415,
- "z": "4d6578c4.6dc8b8",
+ "x": 1242.326431274414,
+ "y": 1205.5001430511475,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "11d92210.21aece",
- "14b594eb.0ddf2b"
+ "b553735d.cb27b",
+ "67b92ca5.e3f874"
]
]
},
{
- "id": "14b594eb.0ddf2b",
- "type": "outcome",
- "name": "CPS Deployed",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 879.5,
- "y": 1383.6875268220901,
- "z": "4d6578c4.6dc8b8",
- "wires": [
- [
- "2f57e3e.e4c1b1c"
- ]
- ]
- },
- {
- "id": "2f57e3e.e4c1b1c",
+ "id": "b843ac7a.ed2b1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1078.7708892822266,
- "y": 1378.5973473787308,
- "z": "4d6578c4.6dc8b8",
- "wires": [
- [
- "d5b51ace.ffe998",
- "e62c2882.df2d08",
- "e4ca3d86.7fbb7",
- "72fbcd46.9a9074"
- ]
- ]
- },
- {
- "id": "11d92210.21aece",
- "type": "outcome",
- "name": "ConfigDB Deployed",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 890.7500152587891,
- "y": 1318.6875249147415,
- "z": "4d6578c4.6dc8b8",
+ "x": 949.826416015625,
+ "y": 1155.1876318454742,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "c02441a6.5003c"
+ "35328f4e.c6a2",
+ "302704fc.378b5c",
+ "647d96c3.6bc248",
+ "e16ccf6a.8b81f"
]
]
},
{
- "id": "c02441a6.5003c",
+ "id": "6746107d.6b799",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1090.7500305175781,
- "y": 1306.1875258684158,
- "z": "4d6578c4.6dc8b8",
+ "x": 727.1598205566406,
+ "y": 847.8473768234253,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "d41ea7d7.e32d38"
+ "71b247e6.41de78",
+ "8351ce2e.18e9",
+ "fbcafa12.564a18",
+ "e42dde76.6bedf"
]
]
},
{
- "id": "72fbcd46.9a9074",
+ "id": "e42dde76.6bedf",
"type": "execute",
"name": "Update nearRT RIC Details in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updatenearRTRIC.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps.put-nearrtric.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"modify-allocate-nearRTRIC-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "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": 1324.5000381469727,
- "y": 1456.1876202821732,
- "z": "4d6578c4.6dc8b8",
+ "x": 1104.6390228271484,
+ "y": 970.687744140625,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "32e44f99.1e657",
- "9c8b7e53.bb44"
+ "956f4230.90ad2",
+ "7599a4c5.6730ac"
]
]
},
{
- "id": "d5b51ace.ffe998",
+ "id": "71b247e6.41de78",
"type": "execute",
"name": "generate update NearRTRIC URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updatenearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "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": 1307.0000076293945,
- "y": 1327.437589764595,
- "z": "4d6578c4.6dc8b8",
+ "x": 1153.388931274414,
+ "y": 836.9376640319824,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e62c2882.df2d08",
+ "id": "8351ce2e.18e9",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.updatenearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updatenearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nearrtric`\"/>",
"comments": "",
"outputs": 1,
- "x": 1293.631965637207,
- "y": 1367.1598187685013,
- "z": "4d6578c4.6dc8b8",
+ "x": 1109.0209045410156,
+ "y": 877.4100017547607,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "e4ca3d86.7fbb7",
+ "id": "fbcafa12.564a18",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update NearRTRIC in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updatenearRTRIC.url`\" />",
"comments": "",
"outputs": 1,
- "x": 1324.881965637207,
- "y": 1408.4098187685013,
- "z": "4d6578c4.6dc8b8",
+ "x": 1128.7708740234375,
+ "y": 926.6600332260132,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "6d0e06f9.40bb58",
+ "id": "9ba113c6.d896",
"type": "execute",
"name": "generate update CUCP URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateCUCP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "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": 2037.777816772461,
- "y": 2212.7221660614014,
- "z": "4d6578c4.6dc8b8",
+ "x": 2017.9167022705078,
+ "y": 2149.7221673727036,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d9965b25.bd6718",
+ "id": "db03db76.f50188",
"type": "execute",
"name": "prepare tbdmt template",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.updateCUCP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateCUCP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-gnbcucpfunction`\"/>",
+ "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": 2024.4097747802734,
- "y": 2252.4443950653076,
- "z": "4d6578c4.6dc8b8",
+ "x": 2004.5486602783203,
+ "y": 2189.44439637661,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "3981bf1a.f9efb",
+ "id": "e3cd7f46.fb61a",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUCP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateCUCP.url`\" />",
"comments": "",
"outputs": 1,
- "x": 2055.6597747802734,
- "y": 2293.6943950653076,
- "z": "4d6578c4.6dc8b8",
+ "x": 2035.7986602783203,
+ "y": 2230.69439637661,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "4fa16b60.1e5d54",
+ "id": "9f65994f.b6dca8",
"type": "execute",
"name": "Update cellCU for gNBCUCP in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcucpfunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "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": 2063.888931274414,
- "y": 2333.8333797454834,
- "z": "4d6578c4.6dc8b8",
+ "x": 2044.027816772461,
+ "y": 2270.8333810567856,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "92ca3817.cb4e68",
- "deee5e5b.eab8c"
+ "bb324660.d31748",
+ "db6d1512.496af8"
]
]
},
{
- "id": "d5b4aac3.9ea238",
+ "id": "ca59836e.185ca",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1532.7988739013672,
- "y": 3814.35484790802,
- "z": "4d6578c4.6dc8b8",
+ "x": 1512.937759399414,
+ "y": 3751.354849219322,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "24ce5ade.6eeee6",
- "c2d46ef3.8fef9",
- "bba732bb.bf442",
- "47266fa.fd99d9"
+ "f831595a.22a248",
+ "ea4955b0.58e3b8",
+ "8ac86b31.d61548",
+ "e8f08310.fa2b6"
]
]
},
{
- "id": "24ce5ade.6eeee6",
+ "id": "f831595a.22a248",
"type": "execute",
"name": "generate update CUUP URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateCUUP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "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": 1816.166748046875,
- "y": 3750.9443370103836,
- "z": "4d6578c4.6dc8b8",
+ "x": 1796.3056335449219,
+ "y": 3687.944338321686,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c2d46ef3.8fef9",
+ "id": "ea4955b0.58e3b8",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.updateCUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateCUUP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-gnbcuupfunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 1810.5761032104492,
- "y": 3786.222549557686,
- "z": "4d6578c4.6dc8b8",
+ "x": 1790.714988708496,
+ "y": 3723.222550868988,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "bba732bb.bf442",
+ "id": "8ac86b31.d61548",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUUP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateCUUP.url`\" />",
"comments": "",
"outputs": 1,
- "x": 1832.9373779296875,
- "y": 3824.1388446092606,
- "z": "4d6578c4.6dc8b8",
+ "x": 1813.0762634277344,
+ "y": 3761.1388459205627,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "47266fa.fd99d9",
+ "id": "e8f08310.fa2b6",
"type": "execute",
"name": "Update cellCU for gNBCUUP in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcuupfunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "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": 1847.8333435058594,
- "y": 3862.0555535554886,
- "z": "4d6578c4.6dc8b8",
+ "x": 1827.9722290039062,
+ "y": 3799.0555548667908,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "1538fb5f.4f3bb5",
- "ddfd7b68.8530b8"
+ "af25fb19.3e04e8",
+ "7a5573d5.15215c"
]
]
},
{
- "id": "2afc55d4.0fdf1a",
+ "id": "bd9debbf.8cc788",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3043.4101943969727,
- "y": 5886.131675720215,
- "z": "4d6578c4.6dc8b8",
+ "x": 3023.5490798950195,
+ "y": 5823.131677031517,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "223d9167.c3a9be",
- "b6c065e1.ffe978",
- "8918e03c.41a4f",
- "b5d14914.5dd4b8"
+ "9dfbcd91.8f237",
+ "2bcabc18.2d4994",
+ "7a3c5d98.a0b1b4",
+ "f8812552.f75748"
]
]
},
{
- "id": "223d9167.c3a9be",
+ "id": "9dfbcd91.8f237",
"type": "execute",
"name": "generate update DU URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateDU.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "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": 3358.6668090820312,
- "y": 5795.388969540596,
- "z": "4d6578c4.6dc8b8",
+ "x": 3338.805694580078,
+ "y": 5732.388970851898,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "b6c065e1.ffe978",
+ "id": "2bcabc18.2d4994",
"type": "execute",
"name": "prepare tbdmt template",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.updateDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateDU.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-gnbdufunction`\"/>",
+ "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": 3375.29825592041,
- "y": 5831.777155041695,
- "z": "4d6578c4.6dc8b8",
+ "x": 3355.437141418457,
+ "y": 5768.777156352997,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8918e03c.41a4f",
+ "id": "7a3c5d98.a0b1b4",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUCP in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateDU.url`\" />",
"comments": "",
"outputs": 1,
- "x": 3369.881790161133,
- "y": 5876.360839962959,
- "z": "4d6578c4.6dc8b8",
+ "x": 3350.0206756591797,
+ "y": 5813.3608412742615,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "b5d14914.5dd4b8",
+ "id": "f8812552.f75748",
"type": "execute",
- "name": "Update cellCU for gNBCUCP in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbdufunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3373.6667098999023,
- "y": 5928.721833348274,
- "z": "4d6578c4.6dc8b8",
- "wires": [
- [
- "67aafde3.1e6b44",
- "cb54d9cb.7a7378"
- ]
- ]
- },
- {
- "id": "27a58a37.b0d516",
- "type": "switchNode",
- "name": "cps deployed",
- "xml": "<switch test='`$prop.cps-deployed`'>\n",
+ "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": 546.4444351196289,
- "y": 4086.9166766405106,
- "z": "4d6578c4.6dc8b8",
+ "x": 3353.805595397949,
+ "y": 5865.721834659576,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "12a4ac70.2f1874",
- "3d39115f.5dfd7e"
+ "dd7210dc.8b4c7",
+ "c0338ed7.c44"
]
]
},
{
- "id": "3d39115f.5dfd7e",
- "type": "outcome",
- "name": "CPS Deployed",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 700.4723587036133,
- "y": 4050.11095058918,
- "z": "4d6578c4.6dc8b8",
- "wires": [
- [
- "3cbc984d.036028"
- ]
- ]
- },
- {
- "id": "3cbc984d.036028",
+ "id": "d1a52ca6.5e84e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 838.9100494384766,
- "y": 4120.5766488313675,
- "z": "4d6578c4.6dc8b8",
+ "x": 686.5490570068359,
+ "y": 4048.826684951782,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "2c55de4f.66c952",
- "bb0d930c.3eef2",
- "d03ef48e.fda598",
- "2db70a8d.dafa36"
+ "8706155c.bd09f8",
+ "80a4afac.8ed59",
+ "ce42d993.f27e48",
+ "81f18aef.3db3a8"
]
]
},
{
- "id": "19b8f831.612ad8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 877.277717590332,
- "y": 4189.2784959077835,
- "z": "4d6578c4.6dc8b8",
- "wires": [
- [
- "15c4f61a.5a5e9a"
- ]
- ]
- },
- {
- "id": "12a4ac70.2f1874",
- "type": "outcome",
- "name": "ConfigDB Deployed",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 687.2779846191406,
- "y": 4185.111073613167,
- "z": "4d6578c4.6dc8b8",
- "wires": [
- [
- "19b8f831.612ad8"
- ]
- ]
- },
- {
- "id": "2c55de4f.66c952",
+ "id": "8706155c.bd09f8",
"type": "execute",
"name": "generate update RAN inventory URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateInventory.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$inventory.schemaset`\"/>",
+ "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": 1094.8125076293945,
- "y": 4037.4376088380814,
- "z": "4d6578c4.6dc8b8",
+ "x": 1074.9513931274414,
+ "y": 3974.4376101493835,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "bb0d930c.3eef2",
+ "id": "80a4afac.8ed59",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.updateInventory.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.updateInventory.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.update-ran-inventory`\"/>",
"comments": "",
"outputs": 1,
- "x": 1085.194465637207,
- "y": 4074.6602054834366,
- "z": "4d6578c4.6dc8b8",
+ "x": 1065.333351135254,
+ "y": 4011.6602067947388,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d03ef48e.fda598",
+ "id": "ce42d993.f27e48",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update inventory in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.updateInventory.url`\" />",
"comments": "",
"outputs": 1,
- "x": 1110.1945266723633,
- "y": 4120.910205960274,
- "z": "4d6578c4.6dc8b8",
+ "x": 1090.3334121704102,
+ "y": 4057.910207271576,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "2db70a8d.dafa36",
+ "id": "81f18aef.3db3a8",
"type": "execute",
"name": "Update inventory in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.updateInventory.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-update-ran-inventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-inventory-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "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\"/>",
"comments": "",
"outputs": 1,
- "x": 1107.3125228881836,
- "y": 4166.187612652779,
- "z": "4d6578c4.6dc8b8",
+ "x": 1002.4514770507812,
+ "y": 4100.687497138977,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "a5169bf9.c22f38",
- "cbeb3d9c.a1de7"
+ "bafec03e.59cb1",
+ "cb5395a1.754388"
]
]
},
{
- "id": "4eb1dd56.c808d4",
+ "id": "ae9072e3.e83bd",
"type": "execute",
"name": "generate getRRMPolicyRatio URL - CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getCUCP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "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": 1847.0001068115234,
- "y": 2515.750823736191,
- "z": "4d6578c4.6dc8b8",
+ "x": 1827.1389923095703,
+ "y": 2452.750825047493,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "87a7e402.af5cf8",
+ "id": "5af530eb.cec9c",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.getCUCP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getCUCP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nrcellcu-rrm-policy`\"/>",
"comments": "",
"outputs": 1,
- "x": 1797.6322174072266,
- "y": 2552.4722900390625,
- "z": "4d6578c4.6dc8b8",
+ "x": 1777.7711029052734,
+ "y": 2489.4722913503647,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "3c6081eb.b1579e",
+ "id": "d2e46c4d.2fc45",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get rrm policy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.getCUCP.url`\" />",
"comments": "",
"outputs": 1,
- "x": 1830.8821258544922,
- "y": 2591.7223834991455,
- "z": "4d6578c4.6dc8b8",
+ "x": 1811.021011352539,
+ "y": 2528.7223848104477,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "1fcbf748.f9d299",
+ "id": "cc61f889.155e28",
"type": "execute",
"name": "Get rrmPolicy by resourceid",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.getCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nrcellcu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfo-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "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": 1826.25,
- "y": 2625.75,
- "z": "4d6578c4.6dc8b8",
+ "x": 1806.3888854980469,
+ "y": 2562.750001311302,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "d419ccae.d0886",
- "ebeb3209.942f3"
+ "b2ae94ac.c72e98",
+ "3be9200d.11ab7"
]
]
},
{
- "id": "55fa16ed.4ce918",
+ "id": "f378fddc.0753d",
"type": "comment",
"name": "CPS",
"info": "",
"comments": "",
- "x": 1640.2500457763672,
- "y": 2515.750062942505,
- "z": "4d6578c4.6dc8b8",
+ "x": 1620.388931274414,
+ "y": 2452.750064253807,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "3cb5d2ed.cb76ae",
+ "id": "c4933bf7.4faee8",
"type": "execute",
"name": "generate putRRMPolicyRatio URL - CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUCP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "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": 2133.25,
- "y": 2748.75,
- "z": "4d6578c4.6dc8b8",
+ "x": 2113.388885498047,
+ "y": 2685.750001311302,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "d0c14773.4cae68",
+ "id": "c5d647e4.b55dc8",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.putCUCP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUCP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrcellcu-rrm-policy`\"/>",
"comments": "",
"outputs": 1,
- "x": 2085.882080078125,
- "y": 2782.471649169922,
- "z": "4d6578c4.6dc8b8",
+ "x": 2066.020965576172,
+ "y": 2719.471650481224,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "96d28ef5.b6083",
+ "id": "a7c5af4d.59e1e",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update rrm policy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putCUCP.url`\" />",
"comments": "",
"outputs": 1,
- "x": 2117.1320190429688,
- "y": 2813.7217712402344,
- "z": "4d6578c4.6dc8b8",
+ "x": 2097.2709045410156,
+ "y": 2750.7217725515366,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "5f353650.dbdb48",
+ "id": "9e6a87f9.545258",
"type": "execute",
"name": "Update RRMPolicy for gNBCUCP in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putCUCP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/put-nrcellcu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "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": 2168.25,
- "y": 2846.75,
- "z": "4d6578c4.6dc8b8",
+ "x": 2148.388885498047,
+ "y": 2783.750001311302,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "c3541b36.ca9228",
- "2b0ff9fe.3fd566"
+ "615e4e4a.a9ddd",
+ "80d48c37.6fadb"
]
]
},
{
- "id": "cf30b6e4.307858",
+ "id": "4b2b87b.3665b78",
"type": "comment",
"name": "CPS",
"info": "",
"comments": "",
- "x": 1944.25,
- "y": 2756.75,
- "z": "4d6578c4.6dc8b8",
+ "x": 1924.3888854980469,
+ "y": 2693.750001311302,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "87a1a22f.c133b",
+ "id": "b634cc5a.23489",
"type": "execute",
"name": "generate getRRMPolicyRatio URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getCUUP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "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": 1863.75,
- "y": 4083.75,
- "z": "4d6578c4.6dc8b8",
+ "x": 1843.8888854980469,
+ "y": 4020.750001311302,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "908953b0.a03cd",
+ "id": "3a7f9512.b8f11a",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.getCUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getCUUP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-cuup-rrm-policy`\"/>",
"comments": "",
"outputs": 1,
- "x": 1858.1593551635742,
- "y": 4119.028212547302,
- "z": "4d6578c4.6dc8b8",
+ "x": 1838.298240661621,
+ "y": 4056.0282138586044,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "37b9229.a3546de",
+ "id": "7ec5f3e5.9f130c",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get CUUP-rrmolicy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.getCUUP.url`\" />",
"comments": "",
"outputs": 1,
- "x": 1880.5206298828125,
- "y": 4156.944507598877,
- "z": "4d6578c4.6dc8b8",
+ "x": 1860.6595153808594,
+ "y": 4093.944508910179,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "295de976.356436",
+ "id": "8332038f.8d5c7",
"type": "execute",
"name": "get RRMPolicy for gNBCUUP in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.getCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/get-cuup-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicy-gNBCUCP-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "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\"/>",
"comments": "",
"outputs": 1,
- "x": 1895.4165954589844,
- "y": 4194.861216545105,
- "z": "4d6578c4.6dc8b8",
+ "x": 1875.5554809570312,
+ "y": 4131.861217856407,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "63dc4c62.abdc64",
- "5f69d5e0.47f8bc"
+ "fbc7d907.687af8",
+ "eac10e1b.c38b1"
]
]
},
{
- "id": "85df0b60.6ceb28",
+ "id": "62f1493e.aa9dc8",
"type": "comment",
"name": "CPS",
"info": "",
"comments": "",
- "x": 1668.25,
- "y": 4076.75,
- "z": "4d6578c4.6dc8b8",
+ "x": 1648.3888854980469,
+ "y": 4013.750001311302,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "6b9cc38e.d152bc",
+ "id": "a8001d7.7bf72e",
"type": "execute",
"name": "generate update CUUP rrmpolicy URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUUP.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "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": 2066.25,
- "y": 4364.75,
- "z": "4d6578c4.6dc8b8",
+ "x": 2046.3888854980469,
+ "y": 4301.750001311302,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "12eccffa.4bf35",
+ "id": "4639745d.49d79c",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putCUUP.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-cuup-rrm-policy`\"/>",
"comments": "",
"outputs": 1,
- "x": 2060.659355163574,
- "y": 4400.028212547302,
- "z": "4d6578c4.6dc8b8",
+ "x": 2040.798240661621,
+ "y": 4337.028213858604,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "70a4dc14.3934d4",
+ "id": "848c7f90.e5cc2",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update CUUP-rrmpolicy in CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\" />",
"comments": "",
"outputs": 1,
- "x": 2083.0206298828125,
- "y": 4437.944507598877,
- "z": "4d6578c4.6dc8b8",
+ "x": 2063.1595153808594,
+ "y": 4374.944508910179,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "f6199128.ad4e6",
+ "id": "e12b6c47.5ae27",
"type": "execute",
"name": "Update cellCU for gNBCUUP in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putCUUP.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/put-cuup-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "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\"/>",
"comments": "",
"outputs": 1,
- "x": 2097.9165954589844,
- "y": 4475.861216545105,
- "z": "4d6578c4.6dc8b8",
+ "x": 2079.4840393066406,
+ "y": 4417.1472734212875,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "cafa563f.803a28",
- "1368906b.b985c"
+ "bc12f949.33a938",
+ "813ee5ff.ad3788"
]
]
},
{
- "id": "284e755e.bea78a",
+ "id": "fd952930.667ae8",
"type": "comment",
"name": "CPS",
"info": "",
"comments": "",
- "x": 1813,
- "y": 4341.75,
- "z": "4d6578c4.6dc8b8",
+ "x": 1793.1388854980469,
+ "y": 4278.750001311302,
+ "z": "e1a177d9.2ec918",
"wires": []
},
{
- "id": "cc745824.7b3288",
+ "id": "9973e50c.01e848",
"type": "execute",
"name": "generate getRRMPolicyRatio URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getDU.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "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": 2941.25,
- "y": 6229.75,
- "z": "4d6578c4.6dc8b8",
+ "x": 2921.388885498047,
+ "y": 6166.750001311302,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "556e9c3.d416364",
+ "id": "d094bf69.13ed4",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.getDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.getDU.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nrcelldu-rrm-policy`\"/>",
"comments": "",
"outputs": 1,
- "x": 2935.659355163574,
- "y": 6265.028212547302,
- "z": "4d6578c4.6dc8b8",
+ "x": 2915.798240661621,
+ "y": 6202.028213858604,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "c8a9b003.4e213",
+ "id": "fcf26f6a.2d312",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to get DU-rrmolicy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.getDU.url`\" />",
"comments": "",
"outputs": 1,
- "x": 2958.0206298828125,
- "y": 6302.944507598877,
- "z": "4d6578c4.6dc8b8",
+ "x": 2938.1595153808594,
+ "y": 6239.944508910179,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "34c419f3.4189d6",
+ "id": "6bd09890.00ec68",
"type": "execute",
"name": "get RRMPolicy for DU in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.getDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/get-nrcelldu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"get-gNBDU-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "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\"/>",
"comments": "",
"outputs": 1,
- "x": 2972.9165954589844,
- "y": 6340.861216545105,
- "z": "4d6578c4.6dc8b8",
+ "x": 2953.0554809570312,
+ "y": 6277.861217856407,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "e87c44a7.c11038",
- "1ff2b2d3.910dbd"
+ "77b05a8.0e7e1a4",
+ "a9305a26.18c0f8"
]
]
},
{
- "id": "1486a5d2.c25d8a",
+ "id": "52aafb8b.bde4c4",
"type": "execute",
"name": "generate putRRMPolicyRatio URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putDU.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$rannetwork.schemaset`\"/>",
+ "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": 3429.25,
- "y": 6470.75,
- "z": "4d6578c4.6dc8b8",
+ "x": 3409.388885498047,
+ "y": 6407.750001311302,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "8a15962e.8cfdb8",
+ "id": "581452c3.84467c",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.rrmpolicy.putDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.rrmpolicy.putDU.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrcelldu-rrm-policy`\"/>",
"comments": "",
"outputs": 1,
- "x": 3423.659355163574,
- "y": 6506.028212547302,
- "z": "4d6578c4.6dc8b8",
+ "x": 3403.798240661621,
+ "y": 6443.028213858604,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "66402a68.4e3114",
+ "id": "70400cf6.8d01d4",
"type": "record",
"name": "record TBDMT RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to update DU-rrmolicy from CPS\"/>\n<parameter name='field2' value=\"`$tmp.cps.rrmpolicy.putDU.url`\" />",
"comments": "",
"outputs": 1,
- "x": 3446.0206298828125,
- "y": 6543.944507598877,
- "z": "4d6578c4.6dc8b8",
+ "x": 3426.1595153808594,
+ "y": 6480.944508910179,
+ "z": "e1a177d9.2ec918",
"wires": [
[]
]
},
{
- "id": "ab24e08f.3731",
+ "id": "8294641.f1ef398",
"type": "execute",
"name": "update RRMPolicy for DU in CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.rrmpolicy.putDU.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/put-nrcelldu-rrm-policy.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "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\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3441.0554809570312,
+ "y": 6518.861217856407,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "e255143b.a608a8",
+ "ee6f5e2f.d624f"
+ ]
+ ]
+ },
+ {
+ "id": "71329213.46968c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1666.138900756836,
+ "y": 2247.7499994039536,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "9ba113c6.d896",
+ "db03db76.f50188",
+ "e3cd7f46.fb61a",
+ "9f65994f.b6dca8"
+ ]
+ ]
+ },
+ {
+ "id": "2f1f62ac.d9f56e",
+ "type": "set",
+ "name": "set nearRTRICId",
+ "xml": "<set>\n<parameter name='tmp.nearRTRICId' value='`$getNFNSSIRIC-cps-response.idNearRTRIC`'/>",
+ "comments": "",
+ "x": 1024.0764465332031,
+ "y": 565.6251277923584,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "a88275ed.b6d218",
+ "type": "record",
+ "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",
"comments": "",
"outputs": 1,
- "x": 3460.9165954589844,
- "y": 6581.861216545105,
- "z": "4d6578c4.6dc8b8",
+ "x": 1498.888916015625,
+ "y": 1495.6250352859497,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "20add34f.4061fc",
+ "type": "record",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 2518.263946533203,
+ "y": 845.3125190734863,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ac8fda49.93e208",
+ "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": 2273.5762634277344,
+ "y": 1265.9375041723251,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9d8ac423.b38b68",
+ "type": "set",
+ "name": "RRMPolicyRatio length",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatio_cps_length' value=\"`$get-rrmpolicy-gNBCUCP-cps-response.attributes.RRMPolicyRatio_length`\" />\n",
+ "comments": "",
+ "x": 1792.9208526611328,
+ "y": 4163.928765177727,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "1f365e5d.477ac2",
+ "type": "record",
+ "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",
+ "comments": "",
+ "outputs": 1,
+ "x": 1732.3056182861328,
+ "y": 4199.305663466454,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e0340ac5.316fb8",
+ "type": "set",
+ "name": "RRMPolicyRatio length",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatio_cps_du_length' value=\"`$get-gNBDU-cps-response.attributes.RRMPolicyRatio_length`\" />\n",
+ "comments": "",
+ "x": 2900.6388626098633,
+ "y": 6352.916577339172,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "769ceb13.c6e374",
+ "type": "record",
+ "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 \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2584.8057403564453,
+ "y": 4362.083655357361,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7bd481db.7c82",
+ "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": 628.6943893432617,
+ "y": 153.6111171245575,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "9f649d76.9ec46",
- "40529f96.2b4fa"
+ "f2874bff.abc7c8",
+ "a670707.5eac59"
]
]
},
{
- "id": "ee277e46.997ce",
+ "id": "f2874bff.abc7c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 908.6944122314453,
+ "y": 136.11109924316406,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "be9e5c8d.3e39a"
+ ]
+ ]
+ },
+ {
+ "id": "a670707.5eac59",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 898.1945533752441,
+ "y": 187.61105728149414,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "7e485995.e46838"
+ ]
+ ]
+ },
+ {
+ "id": "be9e5c8d.3e39a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1067.444492340088,
+ "y": 110.1111707687378,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ [
+ "6d6b015c.0d5d6",
+ "877287d5.81dca8"
+ ]
+ ]
+ },
+ {
+ "id": "7e485995.e46838",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1686.000015258789,
- "y": 2310.7499980926514,
- "z": "4d6578c4.6dc8b8",
+ "x": 1071.1943550109863,
+ "y": 176.6111297607422,
+ "z": "e1a177d9.2ec918",
"wires": [
[
- "6d0e06f9.40bb58",
- "d9965b25.bd6718",
- "3981bf1a.f9efb",
- "4fa16b60.1e5d54"
+ "4e89c30.92b233c",
+ "5f923e6c.c39d7"
]
]
+ },
+ {
+ "id": "6d6b015c.0d5d6",
+ "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": 1240.1941299438477,
+ "y": 122.72219657897949,
+ "z": "e1a177d9.2ec918",
+ "wires": []
+ },
+ {
+ "id": "4e89c30.92b233c",
+ "type": "record",
+ "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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1271.9440841674805,
+ "y": 176.3611545562744,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f923e6c.c39d7",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1307.722297668457,
+ "y": 219.61116313934326,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "326428d3.0aea48",
+ "type": "record",
+ "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`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 589.3888702392578,
+ "y": 104.86110782623291,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "877287d5.81dca8",
+ "type": "record",
+ "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\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1236.8888702392578,
+ "y": 79.8611068725586,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ff1bce94.1b5aa",
+ "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": 615.6388778686523,
+ "y": 68.61110973358154,
+ "z": "e1a177d9.2ec918",
+ "wires": [
+ []
+ ]
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml
index 7c3aa9fc..5566172f 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml
@@ -370,7 +370,7 @@
<parameter name="level" value="info" />
<parameter name="field1" value="Calling instantiateRANSliceModifyAllocate-CPS "/>
</record>
- <call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate-CPS' mode='sync' >
+ <call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate-cps' mode='sync' >
<outcome value='failure'>
<return status='failure'>
<parameter name='ack-final' value='Y' />
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 78064d0a..21013ea3 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
@@ -1,7 +1,7 @@
<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}'>
- <method rpc='instantiateRANSliceModifyAllocate-CPS' mode='sync'>
+ <method rpc='instantiateRANSliceModifyAllocate-cps' mode='sync'>
<block atomic='true'>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
@@ -25,7 +25,7 @@
<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="GET"/>
+ <parameter name="httpMethod" value="POST"/>
<parameter name="responsePrefix" value="getNFNSSIRIC-cps-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
@@ -129,6 +129,97 @@
<parameter name="field1" value="Tracking Area size"/>
<parameter name="field2" value="`$tmp.trackingAreaListEntries`"/>
</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>
+ <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>
+ <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>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. 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>
+ <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 NearRT RIC info in CPS"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
@@ -147,7 +238,7 @@
<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="`$cavsta.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`"/>
@@ -164,7 +255,7 @@
<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="GET"/>
+ <parameter name="httpMethod" value="POST"/>
<parameter name="responsePrefix" value="getListofCells-cps-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
@@ -184,17 +275,20 @@
</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 ConfigDB"/>
- <parameter name="field2" value="`$getListofCells-cps-response._length`"/>
+ <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._length `' >
+ <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.[' + $idx + ']'`" />
+ <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" />
@@ -202,222 +296,270 @@
<parameter name="field1" value="`$tmp.trackingarea.cell`"/>
</record>
</for>
- <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>
</block>
- <set>
- <parameter name='tmp.RICEntries' value="`$getNFNSSIRIC-configdb-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="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>
- <for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.nearRTRICId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].nearRTRICId'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.gNBId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`" />
- </execute>
- <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.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />
- <parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />
- <parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />
- <parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />
- <parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNFNSSIRIC-configdb-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="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>
- <switch test='`$prop.cps-deployed`'>
- <outcome value='false'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updatenearRTRIC.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="modify-allocate-nearRTRIC-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>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. 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>
- <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 NearRT RIC info in ConfigDB"/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </outcome>
- <outcome value='true'>
+ <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'>
- <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="`$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>
- <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="PUT"/>
- <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 ConfigDB. 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>
- <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 NearRT RIC info in ConfigDB"/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </outcome>
- </switch>
- </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-configdb-response.[' + $idy +'].gNBCUCPList_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-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].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-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`" />
- </execute>
- <for index='idcu' start='0' end='`$tmp.cellCUList_length`' >
- <block atomic='true'>
- <for index='id-ta' start='0' end='`$getListofCells-configdb-response._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 +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].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.[' + $id-ta + ']'`" />
- </execute>
- <switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>
- <outcome value='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="`$tmp.cellCULocalId`"/>
- <parameter name="field2" value="CellCU is applicable for the NSSAI "/>
+ <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.patchPLMNInfoListEntry.ToNRCellCU`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <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>
@@ -425,14 +567,14 @@
<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="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.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <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>
@@ -440,60 +582,37 @@
</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="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.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
<parameter name="target" value="{idNRCellCU}"/>
- <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
- </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`"/>
+ <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="{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.cellCULocalId`"/>
- <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="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-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
+ <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 patching cellCU PLMNInfoList. Aborting RPC executiopn'/>
+ <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 updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>
+ <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">
@@ -568,80 +687,254 @@
<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"/>
+ <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>
- <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'>
+ <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.ransim-mounted`"/>
+ <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>
- <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>
+ </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="`$tmp.getRRMPolicyRatio.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{idGNBCUCPFunction}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ <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.getRRMPolicyRatio.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
- <parameter name="target" value="{idNRCellCU}"/>
- <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
+ <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="`$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="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' />
@@ -650,12 +943,12 @@
<block atomic='true'>
<set>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ <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 in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
+ <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">
@@ -726,258 +1019,130 @@
</block>
</outcome>
<outcome value='success'>
- <block atomic='true'>
+ <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 Retrieved - RRMPolicyRatio"/>
+ <parameter name="field1" value="Successfully updated NRCellCU pLMNinfo "/>
</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>
+ <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'>
- <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`' />
+ <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="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`"/>
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
</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.cellCULocalId`"/>
- </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 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>
- </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="Config DB update"/>
- </record>
- <set>
- <parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>
- <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.cellLocalId`"/>
- <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>
+ </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.updateCUCP.url"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.putCUCP.url"/>
<parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$rannetwork.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="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-gnbcucpfunction`"/>
+ <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 CUCP in CPS"/>
- <parameter name='field2' value="`$tmp.cps.updateCUCP.url`" />
+ <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.updateCUCP.url`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcucpfunction.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-gNBCUCP-cps-response"/>
+ <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' />
@@ -986,12 +1151,12 @@
<block atomic='true'>
<set>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating NRCellCU. Aborting RPC executiopn'/>
+ <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-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
+ <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">
@@ -1066,544 +1231,708 @@
<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 "/>
+ <parameter name="field1" value="Successfully updated CPS - NRCellCU RRMPolicyRatio "/>
</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.cellCULocalId`"/>
- </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="`$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="GET"/>
- <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.rrmPolicyRatioConfigDB_length' value='`$getrrmpolicyratioinfo-cps-response._length`'/>
- </set>
- <for index='idcu-rrm1' start='0' end='`$tmp.rrmPolicyRatioConfigDB_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='prop.configDB.rrmPolicyID' />
- <parameter name='source' value="`'getrrmpolicyratioinfo-cps-response.['+$idcu-rrm1+'].rrmPolicyID'`" />
- </execute>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>
- <parameter name='tmp.resourceID' value='`$tmp.cellCULocalId`'/>
- </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="`$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/put-nrcellcu-rrm-policy.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <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>
+ </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`'>
+ <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'`" />
+ </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`"/>
+ </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/instantiateRANSliceModifyAllocate.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`"/>
+ </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='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.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
</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-configdb-response.[' + $idy +'].gNBCUUPList_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`'>
- <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-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`" />
+ <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="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
+ </record>
+ </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`' />
+ </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/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="idGNBCUUPFunction "/>
- <parameter name="field2" value="`$tmp.idGNBCUUPFunction`"/>
+ <parameter name="field1" value="RRMPolicyRatio for this profile is - "/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio-CUUP`"/>
</record>
- <block atomic='true'>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
+ <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.patchPLMNInfoListEntry.ToGNBCUUP`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <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>
- </outcome>
- <outcome value='true'>
+ <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="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'>
<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 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="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_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'>
<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="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>
- <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/instantiateRANSliceModifyAllocate.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`"/>
- </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='format' value='json' />
- <outcome value='failure'>
- <block atomic='true'>
+ </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/instantiateRANSlice.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
+ <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="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 patching cellCU RRMPolicyRatio. 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>
- <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>
+ <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>
- <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="level" value="info" />
- <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
- </record>
- </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`' />
- </set>
+ </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.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />
+ <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="RRMPolicyRatio for this profile is - "/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio-CUUP`"/>
+ <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>
- <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>
+ <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'>
+ <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 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="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-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.rrmpolicy.getCUUP.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.rannetwork.schemaset`"/>
</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 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="`$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="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'>
- <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 in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
@@ -1611,7 +1940,7 @@
<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'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
@@ -1629,230 +1958,62 @@
</outcome>
</execute>
<set>
- <parameter name='tmp.rrmPolicyRatioList_CUUP_length' value='`$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length`'/>
+ <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="CUUP - RRMPolicyRatioList size"/>
- <parameter name="field2" value="`$tmp.rrmPolicyRatioList_CUUP_length`"/>
+ <parameter name="field1" value="rrmPolicyRatio_cps_length"/>
+ <parameter name="field2" value="`$tmp.rrmPolicyRatio_cps_length`"/>
</record>
- <for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >
+ <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.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'>
- <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='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'`" />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.GNBCUUPFunction['+$id-cuup+'].attributes.RRMPolicyRatio['+$idcuup-rrm1+'].id'`" />
</execute>
<set>
- <parameter name='tmp.RRMPolicyMember_id' value="`$tmp.rrmPolicyMembers-CUUP+1`" />
+ <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="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`"/>
+ <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.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="Config DB 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="`$payloadJson.input.sliceProfile.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="outputPath" value="tmp.cps.rrmpolicy.putCUUP.url"/>
<parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$rannetwork.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="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-gnbcuupfunction`"/>
+ <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 in CPS"/>
- <parameter name='field2' value="`$tmp.cps.updateCUUP.url`" />
+ <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.updateCUUP.url`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbcuupfunction.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-gNBCUCP-cps-response"/>
+ <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' />
@@ -1927,12 +2088,12 @@
</block>
<set>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating CUUP. Aborting RPC executiopn'/>
+ <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-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
@@ -1941,281 +2102,305 @@
<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 "/>
+ <parameter name="field1" value="Successfully updated CPS - CUUP RRMPolicyRatio "/>
</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.idGNBCUUPFunction`"/>
- </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.getCUUP.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$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/get-cuup-rrm-policy.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <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>
- </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>
- <for index='idcuup-rrm1' start='0' end='`$tmp.rrmPolicyRatio_configdb_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='prop.configDB.rrmPolicyID' />
- <parameter name='source' value="`'get-rrmpolicy-gNBCUCP-cps-response.['+$idcuup-rrm1+'].rrmPolicyID'`" />
- </execute>
- <set>
- <parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>
- <parameter name='tmp.resourceID' value='`$tmp.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.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.putCUUP.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$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/put-cuup-rrm-policy.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <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'>
+ </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'>
+ <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`"/>
+ </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.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.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.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'>
- <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`"/>
+ <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>
- <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="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>
- <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 ConfigDB - CUUP RRMPolicyRatio "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </for>
- <set>
- <parameter name='tmp.rrmPolicyRatio_configdb_length' value='`$get-rrmpolicy-gNBCUCP-cps-response._length`'/>
- </set>
- </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-configdb-response.[' + $idy +'].gNBDUList_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-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`" />
- </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`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellDUList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`" />
- </execute>
- <for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >
- <block atomic='true'>
- <for index='id-ta' start='0' end='`$getListofCells-configdb-response._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-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCU2' />
- <parameter name='source' value="`'getListofCells-configdb-response.[' + $id-ta + ']'`" />
- </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.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="CellDU is applicable for the NSSAI "/>
+ <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.patchPLMNInfoListEntry.ToNRCellDU`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <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>
@@ -2223,69 +2408,48 @@
<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="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.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <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.cellDULocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" />
- </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="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.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <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.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.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="idNRCellDU"/>
+ <parameter name="field2" value="`$tmp.cellDULocalId`"/>
</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="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-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
+ <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'>
@@ -2356,12 +2520,12 @@
</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 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 updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
@@ -2370,123 +2534,245 @@
<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 PLMNInfo List"/>
+ <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>
- <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'>
+ <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.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`' />
+ <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.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />
+ <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/instantiateRANSlice.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.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`"/>
+ <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'>
+ <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 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>
- <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 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>
+ </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="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{idGNBDUFunction}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ <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.getRRMPolicyRatio-gNBDU.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
- <parameter name="target" value="{idNRCellDU}"/>
- <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
+ <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="idNRCellDU"/>
- <parameter name="field2" value="`$tmp.cellDULocalId`"/>
+ <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="`$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="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' />
@@ -2561,259 +2847,141 @@
</block>
<set>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ <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 in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
<outcome value='success'>
- <block atomic='true'>
+ <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 Retrieved - RRMPolicyRatio"/>
+ <parameter name="field1" value="Successfully updated NRCellCU pLMNinfo "/>
</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>
+ <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`"/>
+ </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.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-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'>
- <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`" />
+ <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="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`"/>
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
</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'>
- <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 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 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>
- </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>
+ </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`' >
<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.updateDU.url"/>
+ <parameter name="outputPath" value="tmp.cps.rrmpolicy.putDU.url"/>
<parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$rannetwork.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="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-gnbdufunction`"/>
+ <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 CUCP in CPS"/>
- <parameter name='field2' value="`$tmp.cps.updateDU.url`" />
+ <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.updateDU.url`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-gnbdufunction.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-gNBCUCP-cps-response"/>
+ <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' />
@@ -2888,248 +3056,38 @@
</block>
<set>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating NRCellDU. Aborting RPC executiopn'/>
+ <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-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. 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="level" value="info" />
- <parameter name="field1" value="Successfully updated NRCellCU pLMNinfo "/>
+ <parameter name="field1" value="Successfully updated ConfigDB - NRCellDU RRMPolicyRatio "/>
</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.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="`$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.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/get-nrcelldu-rrm-policy.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <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.rrmPolicyRatioDUList_length' value='`$get-gNBDU-cps-response._length`'/>
- </set>
- <for index='iddu-rrm1' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='prop.configDB.rrmPolicyID' />
- <parameter name='source' value="`'get-gNBDU-cps-response.['+$iddu-rrm1+'].rrmPolicyID'`" />
- </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="`$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.putDU.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$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/put-nrcelldu-rrm-policy.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <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'>
- <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 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>
- </block>
- </for>
- </block>
+ </for>
</block>
- </outcome>
- </switch>
- </block>
- </for>
- </block>
- </for>
- </block>
- </for>
- </block>
- </for>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
</block>
</for>
<return status='success'>
@@ -3140,239 +3098,133 @@
<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="Update inventory in ConfigDB"/>
+ <parameter name="field1" value="Update inventory in cps"/>
</record>
<set>
<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>
<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>
- <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>
+ <parameter name='tmp.payload.sNSSAI' value='`$tmp.payload.sNSSAI`'/>
<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>
<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberOfConns`'/>
</set>
- <switch test='`$prop.cps-deployed`'>
- <outcome value='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.updateInventory.url"/>
- <parameter name="target" value="{schemaSet}"/>
- <parameter name="replacement" value="`$inventory.schemaset`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.cps.updateInventory.url`"/>
- <parameter name="outputPath" value="tmp.cps.updateInventory.url"/>
- <parameter name="target" value="{templateId}"/>
- <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="level" value="info" />
- <parameter name="field1" value="URL for CPS TDBMT to update inventory in CPS"/>
- <parameter name='field2' value="`$tmp.cps.updateInventory.url`" />
- </record>
- <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-update-ran-inventory.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-inventory-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 RAN Inventory. 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 inventory in ConfigDB. 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/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
- </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.updateInventory.url"/>
+ <parameter name="target" value="{schemaSet}"/>
+ <parameter name="replacement" value="`$prop.inventory.schemaset`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.cps.updateInventory.url`"/>
+ <parameter name="outputPath" value="tmp.cps.updateInventory.url"/>
+ <parameter name="target" value="{templateId}"/>
+ <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="level" value="info" />
+ <parameter name="field1" value="URL for CPS TDBMT to update inventory in CPS"/>
+ <parameter name='field2' value="`$tmp.cps.updateInventory.url`" />
+ </record>
+ <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="responsePrefix" value="update-inventory-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 RAN Inventory. 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 inventory in ConfigDB. 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/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.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.status" value="success"/>
</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>
- <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="Successfully Updated inventory"/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </outcome>
- <outcome value='false'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRANSliceInventory`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRANSliceInventory.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-inventory-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>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating RAN Inventory. 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 inventory in ConfigDB. 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/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Response code"/>
- <parameter name="field2" value="`$error-code`" />
- </record>
+ </outcome>
+ <outcome value='Other'>
<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.status" value="`$error-code`"/>
</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>
- <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="Successfully Updated inventory"/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </outcome>
- </switch>
+ </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>
+ <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="Successfully Updated inventory"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
<block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cells-list.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cells-list.json
index b33fd781..a2ebef62 100644
--- a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cells-list.json
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cells-list.json
@@ -5,4 +5,4 @@
"coverageArea": ${tmp.payload.coverageArea},
"nRTAC": ${tmp.payload.trackingArea}
}
-} \ No newline at end of file
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cuup-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cuup-rrm-policy.json
index 98fbe426..cb6323b2 100644
--- a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cuup-rrm-policy.json
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-cuup-rrm-policy.json
@@ -3,4 +3,4 @@
"idNearRTRIC": ${tmp.nearRTRICId},
"idGNBCUUPFunction": ${tmp.idGNBCUUPFunction}
}
-} \ No newline at end of file
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nearrtric-by-rannfnssi.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nearrtric-by-rannfnssi.json
index 83b6f4af..003fb57c 100644
--- a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nearrtric-by-rannfnssi.json
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nearrtric-by-rannfnssi.json
@@ -1,5 +1,5 @@
{
"inputParameters": {
-"ranNFNSSIId": ${tmp.payload.RANNFNSSIId}
+"rANNFNSSIId": ${tmp.payload.RANNFNSSIId}
+}
}
-} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcellcu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcellcu-rrm-policy.json
index 15ac5409..2ecbef23 100644
--- a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcellcu-rrm-policy.json
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcellcu-rrm-policy.json
@@ -4,4 +4,4 @@
"idGNBCUCPFunction": ${tmp.CUCPName},
"idNRCellCU": ${tmp.cellCULocalId}
}
-} \ No newline at end of file
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcelldu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcelldu-rrm-policy.json
index 1a01eb3a..1ff6cc7d 100644
--- a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcelldu-rrm-policy.json
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-get-nrcelldu-rrm-policy.json
@@ -2,6 +2,6 @@
"inputParameters":{
"idNearRTRIC": ${tmp.nearRTRICId},
"idGNBDUFunction": ${tmp.GNBDUId},
-"idNRCellCU": ${tmp.cellDULocalId}
+"idNRCellDU": ${tmp.cellDULocalId}
+}
}
-} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy-member.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy-member.json
new file mode 100644
index 00000000..bac5e43f
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy-member.json
@@ -0,0 +1,18 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUUPFunction": ${tmp.idGNBCUUPFunction},
+"id":${tmp.RRMPolicyRatio_id}
+},
+"payload":{
+"rRMPolicyMemberList":[
+{
+"idx":${tmp.RRMPolicyMember_id},
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAI":${tmp.payload.sNSSAI}
+}
+]
+}
+}
+
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy-ratio.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy-ratio.json
new file mode 100644
index 00000000..c3a63161
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy-ratio.json
@@ -0,0 +1,14 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUUPFunction": ${tmp.idGNBCUUPFunction},
+"id":${tmp.RRMPolicyRatio_id}
+},
+"payload":{
+"attributes":{
+"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CUUP},
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CUUP},
+"rRMPolicyDedicatedRatio":${tmp.rRMPolicyDedicatedRatio.CUUP}
+ }
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy.json
deleted file mode 100644
index 9f8842ca..00000000
--- a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-cuup-rrm-policy.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
-"inputParameters":{
-"idNearRTRIC": ${tmp.nearRTRICId},
-"idGNBCUUPFunction": ${tmp.idGNBCUUPFunction}
-},
-"payload":{
-"GNBCUUPFunction": [
-{
-"idGNBCUUPFunction": ${tmp.idGNBCUUPFunction},
-"attributes": {
-"gNBCUUPId": ${tmp.idGNBCUUPFunction},
-"RRMPolicyRatio":[
-"id":${tmp.RRMPolicyRatio_id},
-"attributes": {
-"resourceType":"PRB",
-"quotaType":"STRICT",
-"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CUUP},
-"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CUUP},
-"rRMPolicyDedicatedRatio":{tmp.rRMPolicyDedicatedRatio.CUUP},
-"rRMPolicyMemberList":[
-{
-"idx":${tmp.RRMPolicyMember_id},
-"mcc":${tmp.mcc},
-"mnc":${tmp.mnc},
-"sNSSAI":${tmp.payload.sNSSAI}
-
-}
-]
-}
-]
-}
-}
-]
-}
-} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcucpfunction.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcucpfunction.json
index f137e5f9..a969ae5f 100644
--- a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcucpfunction.json
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcucpfunction.json
@@ -1,43 +1,23 @@
{
"inputParameters":{
-"idNearRTRIC": ${tmp.nearRTRICId}
-},
-"payload":{
-"GNBCUCPFunction": [
-{
-"idGNBCUCPFunction": ${tmp.gNBCUCPList.gNBCUName},
-"attributes": {
-"gNBCUName": ${tmp.gNBCUCPList.gNBCUName},
-"gNBIdLength": ${tmp.gNBCUCPList.gNBIdLength},
-"gNBId": ${tmp.gNBCUCPList.gNBId}
-},
-"NRCellCU": [
-{
-"idNRCellCU": ${tmp.cellLocalId},
-"attributes": {
-"cellLocalId": ${tmp.cellLocalId}
-"pLMNInfoList":[
-{
+"idNearRTRIC": ${tmp.nearRTRICId},
"mcc":${tmp.mcc},
"mnc":${tmp.mnc},
+"idGNBCUCPFunction":${tmp.gNBCUCPList.gNBCUName},
+"idNRCellCU":${tmp.cellCULocalId}
+},
+"payload":{
"sNSSAIList":[
{
"sNssai":${tmp.payload.sNSSAI},
"status":"ACTIVE",
"configData": [
{
-"configParameter":maxNumberOfConns,
+"configParameter":"maxNumberOfConns",
"configValue":${tmp.maxNumberOfConns}
}
]
}
]
}
-]
-}
-}
-]
-}
-]
}
-} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcuupfunction.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcuupfunction.json
index 7a9139f3..5a968d0b 100644
--- a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcuupfunction.json
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbcuupfunction.json
@@ -1,34 +1,22 @@
{
"inputParameters":{
-"idNearRTRIC": "11"
-},
-"payload":{
-"GNBCUUPFunction": [
-{
-"idGNBCUUPFunction": ${tmp.gNBCUUPList.gNBCUUPId},
-"attributes": {
-"gNBId": ${tmp.gNBCUUPList.gNBId},
-"gNBCUUPId": ${tmp.gNBCUUPList.gNBCUUPId},
-"pLMNInfoList":[
-{
+"idNearRTRIC": ${tmp.nearRTRICId},
"mcc":${tmp.mcc},
"mnc":${tmp.mnc},
+"idGNBCUUPFunction":${tmp.idGNBCUUPFunction}
+},
+"payload":{
"sNSSAIList":[
{
"sNssai":${tmp.payload.sNSSAI},
"status":"ACTIVE",
"configData": [
{
-"configParameter":maxNumberOfConns,
+"configParameter":"maxNumberOfConns",
"configValue":${tmp.maxNumberOfConns}
}
]
}
]
}
-]
-}
-}
-]
}
-} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbdufunction.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbdufunction.json
index 059d2234..3195111d 100644
--- a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbdufunction.json
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-gnbdufunction.json
@@ -1,47 +1,27 @@
{
"inputParameters":{
-"idNearRTRIC": ${tmp.nearRTRICId}
-},
-"payload":{
-"GNBDUFunction": [
-{
-"idGNBDUFunction": ${tmp.gNBDUList.gNBDUId},
-"attributes": {
-"gNBDUId": ${tmp.gNBDUList.gNBDUId},
-"gNBIdLength": ${tmp.gNBIdLength},
-"gNBId": ${tmp.gNBId}
-},
-"NRCellCU": [
-{
-"idNRCellCU": ${tmp.cellLocalId},
-"attributes": {
-"cellLocalId": ${tmp.cellLocalId}
-"pLMNInfoList":[
-{
+"idNearRTRIC": ${tmp.nearRTRICId},
"mcc":${tmp.mcc},
"mnc":${tmp.mnc},
+"idGNBDUFunction":${tmp.gNBDUList.gNBDUId},
+"idNRCellDU":${tmp.cellLocalId}
+},
+"payload":{
"sNSSAIList":[
{
"sNssai":${tmp.payload.sNSSAI},
"status":"ACTIVE",
"configData": [
{
-"configParameter":dLThptPerSlice,
+"configParameter":"dLThptPerSlice",
"configValue":${tmp.dLThptPerSlice}
},
{
-"configParameter":uLThptPerSlice,
+"configParameter":"uLThptPerSlice",
"configValue":${tmp.uLThptPerSlice}
}
]
}
]
}
-]
-}
-}
-]
-}
-]
}
-} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy-member.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy-member.json
new file mode 100644
index 00000000..33a8a7f3
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy-member.json
@@ -0,0 +1,18 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUCPFunction": ${tmp.CUCPName},
+"idNRCellCU": ${tmp.cellCULocalId},
+"id":${tmp.RRMPolicyRatio_id}
+},
+"payload":{
+"rRMPolicyMemberList":[
+{
+"idx":${tmp.RRMPolicyMember_id},
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAI":${tmp.payload.sNSSAI}
+}
+]
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy-ratio.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy-ratio.json
new file mode 100644
index 00000000..9460e226
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy-ratio.json
@@ -0,0 +1,15 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBCUCPFunction": ${tmp.CUCPName},
+"idNRCellCU": ${tmp.cellCULocalId},
+"id":${tmp.RRMPolicyRatio_id}
+},
+"payload":{
+"attributes":{
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
+"rRMPolicyDedicatedRatio":${tmp.rRMPolicyDedicatedRatio.CellCU}
+ }
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy.json
deleted file mode 100644
index efe55e26..00000000
--- a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcellcu-rrm-policy.json
+++ /dev/null
@@ -1,43 +0,0 @@
-{
-"inputParameters":{
-"idNearRTRIC": ${tmp.nearRTRICId},
-"idGNBCUCPFunction": ${tmp.CUCPName},
-"idNRCellCU": ${tmp.cellCULocalId}
-},
-"payload":{
-"GNBCUCPFunction": [
-{
-"idGNBCUCPFunction": ${tmp.CUCPName},
-"attributes": {
-"gNBCUName": ${tmp.CUCPName
-},
-"NRCellCU": [
-{
-"idNRCellCU": ${tmp.cellCULocalId},
-"attributes": {
-"cellLocalId": ${tmp.cellCULocalId},
-"RRMPolicyRatio":[
-"id":${tmp.RRMPolicyRatio_id},
-"attributes": {
-"resourceType":"RRC Connected Users",
-"quotaType":"STRICT",
-"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
-"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CellCU},
-"rRMPolicyDedicatedRatio":{tmp.rRMPolicyDedicatedRatio.CellCU},
-"rRMPolicyMemberList":[
-{
-"idx":${tmp.RRMPolicyMember_id},
-"mcc":${tmp.mcc},
-"mnc":${tmp.mnc},
-"sNSSAI":${tmp.payload.sNSSAI}
-}
-]
-}
-]
-}
-}
-]
-}
-]
-}
-} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy-member.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy-member.json
new file mode 100644
index 00000000..d18ba3a6
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy-member.json
@@ -0,0 +1,19 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBDUFunction": ${tmp.GNBDUId},
+"idNRCellCU": ${tmp.cellDULocalId},
+"id":${tmp.RRMPolicyRatio_id}
+},
+"payload":{
+"rRMPolicyMemberList":[
+{
+"idx":${tmp.RRMPolicyMember_id},
+"mcc":${tmp.mcc},
+"mnc":${tmp.mnc},
+"sNSSAI":${tmp.payload.sNSSAI}
+}
+]
+
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy-ratio.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy-ratio.json
new file mode 100644
index 00000000..fabd0b98
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy-ratio.json
@@ -0,0 +1,15 @@
+{
+"inputParameters":{
+"idNearRTRIC": ${tmp.nearRTRICId},
+"idGNBDUFunction": ${tmp.GNBDUId},
+"idNRCellCU": ${tmp.cellDULocalId},
+"id":${tmp.RRMPolicyRatio_id}
+},
+"payload":{
+"attributes":{
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellDU},
+"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellDU},
+"rRMPolicyDedicatedRatio":${tmp.rRMPolicyDedicatedRatio.CellDU}
+ }
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy.json
deleted file mode 100644
index 79f0be52..00000000
--- a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-put-nrcelldu-rrm-policy.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
-"inputParameters":{
-"idNearRTRIC": ${tmp.nearRTRICId},
-"idGNBDUFunction": ${tmp.GNBDUId},
-"idNRCellCU": ${tmp.cellDULocalId}
-},
-"payload":{
-"GNBDUFunction": [
-{
-"idGNBDUFunction": ${tmp.GNBDUId},
-"attributes": {
-"gNBDUId": ${tmp.GNBDUId},
-},
-"NRCellDU": [
-{
-"idNRCellDU": ${tmp.cellDULocalId},
-"attributes": {
-"cellLocalId": ${tmp.cellDULocalId}
-"RRMPolicyRatio":[
-"id":${tmp.RRMPolicyRatio_id},
-"attributes": {
-"resourceType":"DRB",
-"quotaType":"STRICT",
-"rRMPolicyMaxRatio":${tmp.rRMPolicyDedicatedRatio.CellDU},
-"rRMPolicyMinRatio":${tmp.rRMPolicyDedicatedRatio.CellDU},
-"rRMPolicyDedicatedRatio":{tmp.rRMPolicyDedicatedRatio.CellDU},
-"rRMPolicyMemberList":[
-{
-"idx":${tmp.RRMPolicyMember_id},
-"mcc":${tmp.mcc},
-"mnc":${tmp.mnc},
-"sNSSAI":${tmp.payload.sNSSAI}}
-]
-}
-]
-}
-}
-]
-}
-]
-}
-} \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory.json
index 45632ff2..52db8df3 100644
--- a/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory.json
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps-update-ran-inventory.json
@@ -1,5 +1,6 @@
{
"payload":{
+"ran-inventory":{
"ran-slices":[
{
"rannfnssiid":${tmp.payload.RANNFNSSIId},
@@ -20,8 +21,9 @@
}
],
"subnetStatus":"ACTIVE",
-"sliceType":"eMBB"
+"slicetype":"eMBB"
}
]
}
-} \ No newline at end of file
+}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json b/platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json
index 9296b7fb..9eb0723d 100644
--- a/platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json
+++ b/platform-logic/restapi-templates/src/main/json/cps-templates/cps.put-nearrtric.json
@@ -1,42 +1,30 @@
{
+ "inputParameters":{
+ "idNearRTRIC":${tmp.nearRTRICId},
+ "mcc":${tmp.mcc},
+ "mnc":${tmp.mnc}
+ },
"payload": {
-"NearRTRIC": [
-{
-"idNearRTRIC": ${tmp.nearRTRICId},
-"attributes":{
-"ranNFNSSIIdList":[
-${tmp.ranNFNSSIListEntry}
-],
-"pLMNInfoList":[
-{
-"mcc":${tmp.mcc},
-"mnc":${tmp.mnc},
"sNSSAIList":[
{
"sNssai":${tmp.payload.sNSSAI},
"status":"ACTIVE",
"configData": [
{
-"configParameter":dLThptPerSlice,
-"configValue":${tmp.dLThptPerSlice}
+"configParameter":"dLThptPerSlice",
+"configValue":${tmp.nearRTRIC.dLThptPerSlice}
},
{
-"configParameter":uLThptPerSlice,
-"configValue":${tmp.uLThptPerSlice}
+"configParameter":"uLThptPerSlice",
+"configValue":${tmp.nearRTRIC.uLThptPerSlice}
},
{
-"configParameter":maxNumberOfConns,
-"configValue":${tmp.maxNumberOfConns}
-}
-]
+"configParameter":"maxNumberOfConns",
+"configValue":${tmp.nearRTRIC.maxNumberOfConns}
}
]
}
]
}
}
-]
-}
-
-} \ No newline at end of file