summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhila <ahila.pandaram@wipro.com>2021-02-25 15:49:47 +0530
committerKAPIL SINGAL <ks220y@att.com>2021-03-09 17:36:02 +0000
commit2112f076596dec25a704501f8159ec75c7ca73b4 (patch)
tree8849b48b0174b9d48d202da635826cec60bc67f0
parent55daaa3524e193600e3914113eb688e7cd8c7562 (diff)
DG Implementation - RAN Slice RPCS
instantiateRANSlice-ModifyDeallocate terminateRANSlice activateRANSlice deactivateRANSlice Other Fixes Issue-ID: CCSDK-3191 Signed-off-by: Ahila <ahila.pandaram@wipro.com> Change-Id: Id970af03ce509daedf1f2eab62aef71394fe9fea
-rw-r--r--odlsli/src/main/properties/ran-slice-api-dg.properties36
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json2429
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json700
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate.json3987
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json4303
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json7209
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml827
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml4
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate.xml7
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml319
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml2596
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-CUUP.json8
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-DU.json8
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicyMember-CUCP.json8
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUCP.json14
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUUP.json8
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBDU.json13
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removenearRTRIC-PLMNInfo.json9
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-DU.json2
-rw-r--r--platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-status.json21
20 files changed, 17529 insertions, 4979 deletions
diff --git a/odlsli/src/main/properties/ran-slice-api-dg.properties b/odlsli/src/main/properties/ran-slice-api-dg.properties
index 23c69495..76f34c31 100644
--- a/odlsli/src/main/properties/ran-slice-api-dg.properties
+++ b/odlsli/src/main/properties/ran-slice-api-dg.properties
@@ -64,7 +64,7 @@ restapi.getPLMNInfoListEntry.ToNRCellCU=/restconf/config/ran-network:ran-network
# Use also for Intelligent Slicing
restapi.addnSSAIEntry.ToNRCellCU=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUCPFunction/{idGNBCUCPFunction}/NRCellCU/{idNRCellCU}/attributes/pLMNInfoList/{mcc}/{mnc}/sNSSAIList/{sNssai}
-#Patch APIs
+#Patch RAN Slice APIs
restapi.patchPLMNInfoListEntry.ToNRCellCU=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUCPFunction/{idGNBCUCPFunction}/NRCellCU/{idNRCellCU}/attributes/pLMNInfoList/{mcc}/{mnc}
restapi.RRMPolicyRatioEntry.ToNRCellCU=restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUCPFunction/{idGNBCUCPFunction}/NRCellCU/{idNRCellCU}/attributes/
restapi.patchPLMNInfoListEntry.ToGNBCUUP=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUUPFunction/{idGNBCUUPFunction}/attributes/pLMNInfoList/{mcc}/{mnc}
@@ -72,6 +72,17 @@ restapi.RRMPolicyRatioEntry.ToGNBCUUP=/restconf/config/ran-network:ran-network/N
restapi.patchPLMNInfoListEntry.ToNRCellDU=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/NRCellDU/{idNRCellDU}/attributes/pLMNInfoList/{mcc}/{mnc}
restapi.RRMPolicyRatioEntry.ToGNBDU=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/NRCellDU/{idNRCellDU}/attributes
+#Terminate RAN Slice APIs
+restapi.terminateSNSSAIEntry.ToNRCellCU=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUCPFunction/{idGNBCUCPFunction}/NRCellCU/{idNRCellCU}/attributes/pLMNInfoList/{mcc}/{mnc}/sNSSAIList/{sNssai}
+restapi.removeRRMPolicyRatio.ToNRCellCU=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUCPFunction/{idGNBCUCPFunction}/NRCellCU/{idNRCellCU}/attributes/RRMPolicyRatio/{id}
+restapi.removeRRMPolicyMember.ToNRCellCU=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUCPFunction/{idGNBCUCPFunction}/NRCellCU/{idNRCellCU}/attributes/RRMPolicyRatio/{id}/attributes/rRMPolicyMemberList/{idx}
+restapi.terminateSNSSAIEntry.ToCUUP=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUUPFunction/{idGNBCUUPFunction}/attributes/pLMNInfoList/{mcc}/{mnc}/sNSSAIList/{sNssai}
+restapi.removeRRMPolicyRatio.ToCUUP=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUUPFunction/{idGNBCUUPFunction}/attributes/RRMPolicyRatio/{id}
+restapi.removeRRMPolicyMember.ToCUUP=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUUPFunction/{idGNBCUUPFunction}/attributes/RRMPolicyRatio/{id}/attributes/rRMPolicyMemberList/{idx}
+restapi.terminateSNSSAIEntry.ToNRCellDU=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/NRCellDU/{idNRCellDU}/attributes/pLMNInfoList/{mcc}/{mnc}/sNSSAIList/{sNssai}
+restapi.removeRRMPolicyRatio.ToNRCellDU=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/attributes/RRMPolicyRatio/{id}
+restapi.removeRRMPolicyMember.ToNRCellDU=/restconf/config/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/attributes/RRMPolicyRatio/{id}/attributes/rRMPolicyMemberList/{idx}
+
# Restconf URLs with Netconf Mount of Ran Simulator TO BE FINALIZED
@@ -93,6 +104,26 @@ restapi.getPLMNInfoListEntry.ToNRCellCU.ransim-mounted=/restconf/config/network-
# Use also for Intelligent Slicing
restapi.addnSSAIEntry.ToNRCellCU.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUCPFunction/{idGNBCUCPFunction}/NRCellCU/{idNRCellCU}/attributes/pLMNInfoList/{mcc}/{mnc}/sNSSAIList/{sNssai}
+#Patch APIs - with Netconf Mount of Ran Simulator
+restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUCPFunction/{idGNBCUCPFunction}/NRCellCU/{idNRCellCU}/attributes/pLMNInfoList/{mcc}/{mnc}
+restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUCPFunction/{idGNBCUCPFunction}/NRCellCU/{idNRCellCU}/attributes
+restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUUPFunction/{idGNBCUUPFunction}/attributes/pLMNInfoList/{mcc}/{mnc}
+restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUUPFunction/{idGNBCUUPFunction}/attributes
+restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/NRCellDU/{idNRCellDU}/attributes/pLMNInfoList/{mcc}/{mnc}
+restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/NRCellDU/{idNRCellDU}/attributes
+
+#Terminate RAN Slice - with Netconf Mount of Ran Simulator
+
+restapi.terminateSNSSAIEntry.ToNRCellCU.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUCPFunction/{idGNBCUCPFunction}/NRCellCU/{idNRCellCU}/attributes/pLMNInfoList/{mcc}/{mnc}/sNSSAIList/{sNssai}
+restapi.removeRRMPolicyRatio.ToNRCellCU.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUCPFunction/{idGNBCUCPFunction}/NRCellCU/{idNRCellCU}/attributes/RRMPolicyRatio/{id}
+restapi.removeRRMPolicyMember.ToNRCellCU.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/11/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUCPFunction/{idGNBCUCPFunction}/NRCellCU/{idNRCellCU}/attributes/RRMPolicyRatio/{id}/attributes/rRMPolicyMemberList/{idx}
+restapi.terminateSNSSAIEntry.ToCUUP.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUUPFunction/{idGNBCUUPFunction}/attributes/pLMNInfoList/{mcc}/{mnc}/sNSSAIList/{sNssai}
+restapi.removeRRMPolicyRatio.ToCUUP.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUUPFunction/{idGNBCUUPFunction}/attributes/RRMPolicyRatio/{id}
+restapi.removeRRMPolicyMember.ToCUUP.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBCUUPFunction/{idGNBCUUPFunction}/attributes/RRMPolicyRatio/{id}/attributes/rRMPolicyMemberList/{idx}
+restapi.terminateSNSSAIEntry.ToNRCellDU.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/NRCellDU/{idNRCellDU}/attributes/pLMNInfoList/{mcc}/{mnc}/sNSSAIList/{sNssai}
+restapi.removeRRMPolicyRatio.ToNRCellDU.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/NRCellDU/{idNRCellDU}/attributes/RRMPolicyRatio/{id}
+restapi.removeRRMPolicyMember.ToNRCellDU.ransim-mounted=/restconf/config/network-topology:network-topology/topology/topology-netconf/node/{mountName}/yang-ext:mount/ran-network:ran-network/NearRTRIC/{idNearRTRIC}/GNBDUFunction/{idGNBDUFunction}/NRCellDU/{idNRCellDU}/attributes/RRMPolicyRatio/{id}/attributes/rRMPolicyMemberList/{idx}
+
#URLs for ConfigDB TO BE FINALIZED
configdb.url=http://10.31.4.44:8080/api/sdnc-config-db/v4
restapi.configdb.getNearRTRICsFromTrackingArea=/nearrtric-list/{trackingArea}
@@ -107,7 +138,8 @@ restapi.configdb.updategNBCUUP=/gNBCUUP
restapi.configdb.updategNBDU=/gNBDU
restapi.configdb.getplmn=/plmn/{sliceProfileId}
-restapi.configdb.getNearRTRICByNSSI=/nearrtric/{ranNFNSSIId}
+restapi.configdb.getNearRTRICByNSSI=/nearRTRICByNSSI/{ranNFNSSIId}
+restapi.configdb.getNearRTRICById=/nearRTRICById/{nearRTRICId}
#ConfigDB Templates for RestAPI calls against ConfigDB
restapi.configDB.updateRANSliceInventory.templatefile=ranSlice-configDB-updateRANSliceInventory.json
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json
index fca7d12a..c974dd01 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json
@@ -1,586 +1,2513 @@
[
{
- "id": "a5d25c75.df911",
+ "id": "761c81c0.93298",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 118.4375,
+ "y": 113.4375,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "9f552ddd.503aa"
+ ]
+ ]
+ },
+ {
+ "id": "9f552ddd.503aa",
+ "type": "service-logic",
+ "name": "ran-slice-api ${project.version}",
+ "module": "ran-slice-api",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
+ "outputs": 1,
+ "x": 203.4375228881836,
+ "y": 180.43746948242188,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "f4b6fe3c.09964"
+ ]
+ ]
+ },
+ {
+ "id": "f4b6fe3c.09964",
"type": "method",
"name": "method",
"xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 128,
- "y": 176.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 137.4375,
+ "y": 240.43743515014648,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "940794b0.9ca258"
+ "43cfd799.e43718"
]
]
},
{
- "id": "6b98a8.11e82758",
- "type": "dgstart",
- "name": "DGSTART",
+ "id": "43cfd799.e43718",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
"outputs": 1,
- "x": 131,
- "y": 26.989585876464844,
- "z": "f630c4e8.64d488",
+ "x": 159.9375114440918,
+ "y": 320.93750381469727,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "cc743ed3.cedd7"
+ "f0cba510.d429c8",
+ "61526ba5.4b2eb4",
+ "1045a904.a81917",
+ "db76a950.2c38e8",
+ "952aa6bf.fd8938",
+ "d3040b3a.dd43a8",
+ "66891c41.e89ca4",
+ "a052b62c.1fa458",
+ "67aabd43.7b3e14",
+ "198c87cb.f1d948",
+ "d302afcf.237ef",
+ "f2b8e61a.a5c8c8",
+ "738ca283.54ba9c",
+ "c80b56a5.99a988",
+ "1c09cf50.00c361",
+ "20d20dea.8129f2",
+ "a16a753b.c1e978",
+ "ef19e8dd.548808",
+ "b72487f2.f75598",
+ "8eaff649.12a058",
+ "f53bf76b.8dba48"
]
]
},
{
- "id": "cc743ed3.cedd7",
- "type": "service-logic",
- "name": "ran-slice-api ${project.version}",
- "module": "ran-slice-api",
- "version": "${project.version}",
+ "id": "f0cba510.d429c8",
+ "type": "execute",
+ "name": "generate getNearRTRICsFromRANNFNSSI URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICByNSSI`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
"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": 188.99998474121094,
- "y": 87.98968124389648,
- "z": "f630c4e8.64d488",
+ "x": 741.6875,
+ "y": 501.6875081062317,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "61526ba5.4b2eb4",
+ "type": "record",
+ "name": "record configdb RestAPI params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$ranNFNSSIId`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 681.6875152587891,
+ "y": 552.687527179718,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1045a904.a81917",
+ "type": "execute",
+ "name": "Get nearRTRIC for TrackingArea",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 671.6875915527344,
+ "y": 604.6875576972961,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "12546ac7.74cd65",
+ "dcd91128.9ebfa"
+ ]
+ ]
+ },
+ {
+ "id": "12546ac7.74cd65",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 970.5055961608887,
+ "y": 622.5055813789368,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "a5d25c75.df911"
+ "2520024f.3e60fe"
]
]
},
{
- "id": "940794b0.9ca258",
+ "id": "2520024f.3e60fe",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 150.48959732055664,
- "y": 345.98962020874023,
- "z": "f630c4e8.64d488",
+ "x": 1140.5054931640625,
+ "y": 623.505696773529,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "d32cd716.eb75f8",
- "5a119db3.ce9b34"
+ "c854edfe.78e89",
+ "80b014dc.086ba8"
]
]
},
{
- "id": "d32cd716.eb75f8",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n",
+ "id": "c854edfe.78e89",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
"comments": "",
- "x": 247.0002670288086,
- "y": 575.9897727966309,
- "z": "f630c4e8.64d488",
- "wires": []
+ "outputs": 1,
+ "x": 1363.5052909851074,
+ "y": 568.5056805610657,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "80b014dc.086ba8",
+ "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-terminateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1359.283432006836,
+ "y": 639.5056881904602,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
},
{
- "id": "44cfb129.2991e",
- "type": "comment",
- "name": "activateRANSliceInstance",
- "info": "",
+ "id": "dcd91128.9ebfa",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
"comments": "",
- "x": 413,
- "y": 20,
- "z": "f630c4e8.64d488",
+ "outputs": 1,
+ "x": 976.5055503845215,
+ "y": 562.5056653022766,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "62e0747d.afde9c"
+ ]
+ ]
+ },
+ {
+ "id": "62e0747d.afde9c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1256.5056266784668,
+ "y": 468.5057191848755,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "11953360.467cdd",
+ "cf52b92f.10a1a8"
+ ]
+ ]
+ },
+ {
+ "id": "11953360.467cdd",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1434.50541305542,
+ "y": 422.6167459487915,
+ "z": "73e537e.8932bc8",
"wires": []
},
{
- "id": "5a119db3.ce9b34",
+ "id": "db76a950.2c38e8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configureNearRTRIC.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle configureNearRTRIC \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$activate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$activate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$activate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$activate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$activate-r-a-n-slice-input.payload`\"/>",
"comments": "",
"outputs": 1,
- "x": 300.0002975463867,
- "y": 155.01043319702148,
- "z": "f630c4e8.64d488",
+ "x": 646.4375,
+ "y": 129.43748664855957,
+ "z": "73e537e.8932bc8",
"wires": [
[]
]
},
{
- "id": "f7ead8d5.6a76d8",
+ "id": "952aa6bf.fd8938",
"type": "set",
- "name": "set tmp variables for notif input parms",
- "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.lte-cell-number-of-entries\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>",
+ "name": "set default status value",
+ "xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of terminateRANSice RPC' />",
"comments": "",
- "x": 770.0010986328125,
- "y": 210.88906478881836,
- "z": "f630c4e8.64d488",
+ "x": 685.437255859375,
+ "y": 172.43749904632568,
+ "z": "73e537e.8932bc8",
"wires": []
},
{
- "id": "6e214788.4686f8",
+ "id": "d3040b3a.dd43a8",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='activate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 690.4372711181641,
+ "y": 217.18748474121094,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "34ba53e7.4fbc7c"
+ ]
+ ]
+ },
+ {
+ "id": "66891c41.e89ca4",
+ "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-terminateRANSlice-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 661.1872253417969,
+ "y": 316.1770477294922,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a052b62c.1fa458",
"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/sdnr-CMNotify-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
+ "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": 681.1872100830078,
+ "y": 357.1874132156372,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "67aabd43.7b3e14",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.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": 654.6872825622559,
+ "y": 408.18753147125244,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34ba53e7.4fbc7c",
+ "type": "other",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 956.9372825622559,
+ "y": 219.18747425079346,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "5b6cca11.9cad94"
+ ]
+ ]
+ },
+ {
+ "id": "5b6cca11.9cad94",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1156.9374389648438,
+ "y": 221.9374704360962,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "98c043ee.951b8",
+ "423b0303.ed9b0c"
+ ]
+ ]
+ },
+ {
+ "id": "98c043ee.951b8",
+ "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-terminateRANSlice-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1346.937515258789,
+ "y": 183.43750476837158,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "423b0303.ed9b0c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfileId`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1346.18745803833,
+ "y": 247.43752098083496,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "198c87cb.f1d948",
+ "type": "for",
+ "name": "foreach NearRTRIC",
+ "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 424.3750915527344,
+ "y": 1045.3125171661377,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "bb11e40f.ebaa68",
+ "623b8887.a167d8",
+ "52b3e00e.e5abf"
+ ]
+ ]
+ },
+ {
+ "id": "bb11e40f.ebaa68",
+ "type": "block",
+ "name": "Process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 689.6250305175781,
+ "y": 1038.7444477081299,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "4e224bda.30d0a4",
+ "d8c32c5c.092ed",
+ "8b1c383c.6f0db8"
+ ]
+ ]
+ },
+ {
+ "id": "4e224bda.30d0a4",
+ "type": "execute",
+ "name": "read CUCP list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1035.875015258789,
+ "y": 908.4943561553955,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d8c32c5c.092ed",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 995.3749961853027,
+ "y": 955.9944334030151,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8b1c383c.6f0db8",
+ "type": "for",
+ "name": "foreach CUCP",
+ "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1012.1251220703125,
+ "y": 1005.9944341182709,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "52cdfc02.d2b554"
+ ]
+ ]
+ },
+ {
+ "id": "52cdfc02.d2b554",
+ "type": "block",
+ "name": "block : process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 495.00018310546875,
- "y": 176.01041793823242,
- "z": "f630c4e8.64d488",
+ "x": 1223.125015258789,
+ "y": 969.244327545166,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "646b737c.114bfc",
+ "a4f6f876.fca2c8",
+ "705aec8e.889684",
+ "effc97f7.aa0768"
+ ]
+ ]
+ },
+ {
+ "id": "646b737c.114bfc",
+ "type": "execute",
+ "name": "read CUCP name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1477.8750228881836,
+ "y": 705.9943523406982,
+ "z": "73e537e.8932bc8",
"wires": [
[]
]
},
{
- "id": "df08b48d.a7c588",
+ "id": "705aec8e.889684",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read ..configDB URL\"/>\n<parameter name=\"field2\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field3\" value=\"Properties read ..DMAAP Msg Router URL\"/>\n<parameter name=\"field4\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field5\" value=\"`$prop.dmaap-message-router.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field7\" value=\"`$prop.controller.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=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 460.00030517578125,
- "y": 230.01049423217773,
- "z": "f630c4e8.64d488",
+ "x": 1449.625114440918,
+ "y": 754.4943389892578,
+ "z": "73e537e.8932bc8",
"wires": [
[]
]
},
{
- "id": "3cf4985f.1d9b68",
+ "id": "effc97f7.aa0768",
+ "type": "execute",
+ "name": "read cellCU list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1486.8750228881836,
+ "y": 802.2443542480469,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a4f6f876.fca2c8",
"type": "for",
- "name": "for",
- "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >",
+ "name": "for cellCUList",
+ "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 335,
- "y": 355.98958587646484,
- "z": "f630c4e8.64d488",
+ "x": 1461.8749923706055,
+ "y": 854.9943695068359,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "c8a0e6e.1dd9f18"
+ "e61d08b.c8d36f8"
]
]
},
{
- "id": "c8a0e6e.1dd9f18",
+ "id": "e61d08b.c8d36f8",
"type": "block",
- "name": "block : ConfigDB Update",
+ "name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 514,
- "y": 346.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 1676.8750343322754,
+ "y": 855.2443866729736,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "f7ead8d5.6a76d8",
- "30513601.2f1eda"
+ "d3fb7cf3.0407",
+ "90d4169b.0cd418"
]
]
},
{
- "id": "30513601.2f1eda",
+ "id": "d3fb7cf3.0407",
+ "type": "execute",
+ "name": "read PLMNList size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1908.2781448364258,
+ "y": 828.3415851593018,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90d4169b.0cd418",
"type": "for",
- "name": "for",
- "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 731,
- "y": 320.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 1922.8615798950195,
+ "y": 892.091628074646,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "307d8f82.8592a"
+ "1306eaa1.403c05"
]
]
},
{
- "id": "c0f7c9f8.98e818",
+ "id": "1306eaa1.403c05",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2100.750556945801,
+ "y": 814.8694171905518,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "d2c18ab3.c24978",
+ "eaa59340.e8939",
+ "980da038.262e2"
+ ]
+ ]
+ },
+ {
+ "id": "980da038.262e2",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2435.6394119262695,
+ "y": 770.0916481018066,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d2c18ab3.c24978",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2306.639518737793,
+ "y": 838.0915994644165,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eaa59340.e8939",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2345.5283584594727,
+ "y": 902.6471662521362,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "4f3107a.2937ef8"
+ ]
+ ]
+ },
+ {
+ "id": "4f3107a.2937ef8",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2535.000556945801,
+ "y": 902.8694953918457,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "1d241be7.c8bbc4"
+ ]
+ ]
+ },
+ {
+ "id": "1d241be7.c8bbc4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2755.625,
+ "y": 900.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "a302bf1.efd614",
+ "3fd39755.b5cbf8",
+ "3a12865a.0d117a",
+ "299e60f.af51ea",
+ "ba736919.8a3b38",
+ "bccb9a19.543658",
+ "29628860.8b8dc8",
+ "a04a1ff1.c04b6",
+ "45de62b8.cced2c"
+ ]
+ ]
+ },
+ {
+ "id": "45de62b8.cced2c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2950.625,
+ "y": 895.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a04a1ff1.c04b6",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2978.625,
+ "y": 963.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "27bc8985.294fc6",
+ "3ce10ed5.092432"
+ ]
+ ]
+ },
+ {
+ "id": "27bc8985.294fc6",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3186.625,
+ "y": 928.624755859375,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "5c98a9b7.805fb8"
+ ]
+ ]
+ },
+ {
+ "id": "5c98a9b7.805fb8",
+ "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": 3506.625,
+ "y": 943.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c0149f76.a0f0e",
+ "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": 3685.125030517578,
+ "y": 1001.6249389648438,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "986e780a.2b92f8",
+ "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": 3629.125431060791,
+ "y": 1054.62513256073,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ceac5f2d.de7c3",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3378.125,
+ "y": 1031.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "c0149f76.a0f0e",
+ "986e780a.2b92f8"
+ ]
+ ]
+ },
+ {
+ "id": "3ce10ed5.092432",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3174.625,
+ "y": 1030.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "ceac5f2d.de7c3"
+ ]
+ ]
+ },
+ {
+ "id": "a302bf1.efd614",
+ "type": "execute",
+ "name": "read cellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2945.625,
+ "y": 1063.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ba736919.8a3b38",
+ "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": 2972.625,
+ "y": 1127.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bccb9a19.543658",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2933.625259399414,
+ "y": 1173.1250286102295,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "29628860.8b8dc8",
+ "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": 2899.3750610351562,
+ "y": 1254.8750562667847,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3fd39755.b5cbf8",
+ "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": 2888.12548828125,
+ "y": 1315.125072479248,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3a12865a.0d117a",
+ "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/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2884.625,
+ "y": 1383.625,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "299e60f.af51ea",
+ "type": "execute",
+ "name": "activate 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-status.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=\"activate-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": 2924.6251068115234,
+ "y": 1446.6249732971191,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "2cf676c2.3fd4ea",
+ "f8fba380.e8c38"
+ ]
+ ]
+ },
+ {
+ "id": "f8fba380.e8c38",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3140.62508392334,
+ "y": 1325.6249732971191,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "930a46d3.3df258"
+ ]
+ ]
+ },
+ {
+ "id": "930a46d3.3df258",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3290.625358581543,
+ "y": 1284.625156402588,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "debf2a5f.a15d48",
+ "62751a13.a72014",
+ "cf52b92f.10a1a8"
+ ]
+ ]
+ },
+ {
+ "id": "62751a13.a72014",
"type": "set",
- "name": "set tmp variables for notif neigbor input parms",
- "xml": "<set>\n<parameter name=\"tmp.nbr.plmnid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"tmp.nbr.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"tmp.nbr.phy-cell-id\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"tmp.nbr.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"tmp.nbr.blacklisted\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>",
+ "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": 1129,
- "y": 194.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 3456.625114440918,
+ "y": 1250.625156402588,
+ "z": "73e537e.8932bc8",
"wires": []
},
{
- "id": "307d8f82.8592a",
+ "id": "debf2a5f.a15d48",
+ "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": 3461.6249923706055,
+ "y": 1345.6252174377441,
+ "z": "73e537e.8932bc8",
+ "wires": []
+ },
+ {
+ "id": "54cfb6bf.e47b78",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3546.6249618530273,
+ "y": 1438.625400543213,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "188f83ea.3d48fc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 864,
- "y": 268.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 3348.624900817871,
+ "y": 1441.6252784729004,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "c0f7c9f8.98e818",
- "fa22a415.571198",
- "6f4fe94a.b1ffa8",
- "49fbbbb9.e37cd4"
+ "54cfb6bf.e47b78"
]
]
},
{
- "id": "fa22a415.571198",
+ "id": "2cf676c2.3fd4ea",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3175.625114440918,
+ "y": 1442.6252174377441,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "188f83ea.3d48fc"
+ ]
+ ]
+ },
+ {
+ "id": "d302afcf.237ef",
+ "type": "set",
+ "name": "set status as ACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
+ "comments": "",
+ "x": 693.4375,
+ "y": 454.375,
+ "z": "73e537e.8932bc8",
+ "wires": []
+ },
+ {
+ "id": "f2b8e61a.a5c8c8",
+ "type": "execute",
+ "name": "read sNSSAI from input",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNSSAI' />\n\t<parameter name='source' value=\"`$payloadJson.input.NSSAI`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 698.1250152587891,
+ "y": 263.4375057220459,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "623b8887.a167d8",
+ "type": "block",
+ "name": "Process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 690.6250534057617,
+ "y": 1180.6250257492065,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "5edb379d.514778",
+ "4d3d871.621e378",
+ "b3a7abd3.ab2ac8"
+ ]
+ ]
+ },
+ {
+ "id": "5edb379d.514778",
"type": "execute",
- "name": "generate configdb add URL for nbr",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
+ "name": "read CUUP list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1127,
- "y": 240.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 1021.625057220459,
+ "y": 1080.6250228881836,
+ "z": "73e537e.8932bc8",
"wires": [
[]
]
},
{
- "id": "6f4fe94a.b1ffa8",
+ "id": "4d3d871.621e378",
"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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1122,
- "y": 289.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 978.6251220703125,
+ "y": 1131.8750252723694,
+ "z": "73e537e.8932bc8",
"wires": [
[]
]
},
{
- "id": "49fbbbb9.e37cd4",
+ "id": "b3a7abd3.ab2ac8",
+ "type": "for",
+ "name": "foreach CUUP",
+ "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1004.1250152587891,
+ "y": 1180.6250247955322,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "b36e4008.81623"
+ ]
+ ]
+ },
+ {
+ "id": "b36e4008.81623",
+ "type": "block",
+ "name": "block : process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1227.6250610351562,
+ "y": 1163.8750705718994,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "22f58645.55e61a",
+ "62e419e7.9c4ab8",
+ "7516a8f.7a59058",
+ "5c4c4274.95bb3c"
+ ]
+ ]
+ },
+ {
+ "id": "22f58645.55e61a",
+ "type": "execute",
+ "name": "read CUUP id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1471.625,
+ "y": 939.125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "62e419e7.9c4ab8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.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": 1467.625,
+ "y": 993.125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7516a8f.7a59058",
"type": "execute",
- "name": "Add neighbor to Cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "name": "read plmninfolist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1518.625,
+ "y": 1058.125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5c4c4274.95bb3c",
+ "type": "for",
+ "name": "foreach pLMNInfo",
+ "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1504.625,
+ "y": 1113.125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "2c5e82ef.5ab08e"
+ ]
+ ]
+ },
+ {
+ "id": "2c5e82ef.5ab08e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1093,
- "y": 367.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 1743.75,
+ "y": 1110.3125,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "e8bd439c.2947",
- "780d51b3.1fe4c"
+ "d7e78b50.130018",
+ "ae1fc405.ff2a58",
+ "ce7f221.e3090e"
]
]
},
{
- "id": "e8bd439c.2947",
+ "id": "d7e78b50.130018",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1957.000259399414,
+ "y": 1111.0626487731934,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "43dda371.85d0cc",
+ "b28fc0c6.768a6"
+ ]
+ ]
+ },
+ {
+ "id": "43dda371.85d0cc",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2170.000141143799,
+ "y": 1078.5622673034668,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "92eabe0e.0ecdb"
+ ]
+ ]
+ },
+ {
+ "id": "92eabe0e.0ecdb",
+ "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": 2495.0000228881836,
+ "y": 1033.5625715255737,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1e03d99f.4b54d6",
+ "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": 2605.7495651245117,
+ "y": 1116.3122825622559,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cfddd286.9a08f",
+ "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": 2589.7500858306885,
+ "y": 1184.3125429153442,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1e46f7a0.12e1b8",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2329.999870300293,
+ "y": 1175.062283039093,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "1e03d99f.4b54d6",
+ "cfddd286.9a08f"
+ ]
+ ]
+ },
+ {
+ "id": "b28fc0c6.768a6",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2155.500015258789,
+ "y": 1164.31254196167,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "1e46f7a0.12e1b8"
+ ]
+ ]
+ },
+ {
+ "id": "ae1fc405.ff2a58",
+ "type": "execute",
+ "name": "prepare idGNBCUUPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1983.4375,
+ "y": 1241.875,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ce7f221.e3090e",
+ "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-status.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=\"activate-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": 1999.4375,
+ "y": 1298.875,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "aee81218.72027",
+ "7d297bbe.d06bd4"
+ ]
+ ]
+ },
+ {
+ "id": "aee81218.72027",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1295,
- "y": 334.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 2301.4376525878906,
+ "y": 1300.8752393722534,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "3e77d15e.509e8e"
+ "8453c6af.a13a18"
]
]
},
{
- "id": "780d51b3.1fe4c",
+ "id": "7d297bbe.d06bd4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1287.999891281128,
- "y": 413.98949909210205,
- "z": "f630c4e8.64d488",
+ "x": 2295.437530517578,
+ "y": 1367.8751783370972,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "ec0f9390.bc092"
+ "d8b21643.b8fd78"
]
]
},
{
- "id": "3e77d15e.509e8e",
+ "id": "8453c6af.a13a18",
"type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2478.437774658203,
+ "y": 1289.875117301941,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "1de38af1.68ef85",
+ "484c6fd2.3298c",
+ "cf52b92f.10a1a8"
+ ]
+ ]
+ },
+ {
+ "id": "d8b21643.b8fd78",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1455.9998779296875,
- "y": 291.98962020874023,
- "z": "f630c4e8.64d488",
+ "x": 2475.437530517578,
+ "y": 1372.8749952316284,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "1a2c5cb9.93d263"
+ "bd12c7c4.296008"
]
]
},
{
- "id": "1a2c5cb9.93d263",
+ "id": "bd12c7c4.296008",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2628.437225341797,
+ "y": 1372.8752393722534,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1de38af1.68ef85",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding neighbor to configdb. Aborting notification update\" />",
+ "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": 1634.999568939209,
- "y": 288.9895877838135,
- "z": "f630c4e8.64d488",
+ "x": 2683.1877365112305,
+ "y": 1290.3753967285156,
+ "z": "73e537e.8932bc8",
"wires": []
},
{
- "id": "ec0f9390.bc092",
+ "id": "484c6fd2.3298c",
+ "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": 2688.1879234313965,
+ "y": 1236.3755326271057,
+ "z": "73e537e.8932bc8",
+ "wires": []
+ },
+ {
+ "id": "52b3e00e.e5abf",
+ "type": "block",
+ "name": "Process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 685.0000076293945,
+ "y": 1329.0625247955322,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "7e06ceca.74922",
+ "1051a27a.b8e44e",
+ "352a5eb7.c4dff2"
+ ]
+ ]
+ },
+ {
+ "id": "7e06ceca.74922",
+ "type": "execute",
+ "name": "read DUlist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1017.7500305175781,
+ "y": 1235.0625114440918,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1051a27a.b8e44e",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.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": 990.750057220459,
+ "y": 1278.562572479248,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "352a5eb7.c4dff2",
+ "type": "for",
+ "name": "foreach DU",
+ "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1002.7500305175781,
+ "y": 1329.8125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "e932e598.a8e4d8"
+ ]
+ ]
+ },
+ {
+ "id": "e932e598.a8e4d8",
+ "type": "block",
+ "name": "block : process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1283.75,
+ "y": 1330.8124694824219,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "67418177.4b675",
+ "76ffbff1.a238b",
+ "4501d8aa.3adbf8",
+ "48d81af7.03f064"
+ ]
+ ]
+ },
+ {
+ "id": "67418177.4b675",
+ "type": "execute",
+ "name": "read DU id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1562.7498245239258,
+ "y": 1326.8117713928223,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "76ffbff1.a238b",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1535.7498245239258,
+ "y": 1377.8117713928223,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4501d8aa.3adbf8",
+ "type": "execute",
+ "name": "read cellDU list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1576.7498245239258,
+ "y": 1426.8117713928223,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "48d81af7.03f064",
+ "type": "for",
+ "name": "for cellDUList",
+ "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1566.7498245239258,
+ "y": 1470.8117713928223,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "98b4252b.430ee8"
+ ]
+ ]
+ },
+ {
+ "id": "98b4252b.430ee8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1445.9996337890625,
- "y": 379.989559173584,
- "z": "f630c4e8.64d488",
+ "x": 1726.499885559082,
+ "y": 1470.5618963241577,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "81cf5fd.7666fa"
+ "13016587.c7632a",
+ "c22a6693.7c9d58"
]
]
},
{
- "id": "81cf5fd.7666fa",
+ "id": "13016587.c7632a",
+ "type": "execute",
+ "name": "read PLMNList size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1974.6875,
+ "y": 1470.3125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c22a6693.7c9d58",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1953.0208740234375,
+ "y": 1540.3125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "ae921aff.c45078"
+ ]
+ ]
+ },
+ {
+ "id": "ae921aff.c45078",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2138.4096603393555,
+ "y": 1534.3402099609375,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "7383ae7b.5b99f",
+ "7503b7ce.7796d8",
+ "e0761d19.bc37e"
+ ]
+ ]
+ },
+ {
+ "id": "e0761d19.bc37e",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2513.2986068725586,
+ "y": 1453.3128719329834,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7383ae7b.5b99f",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor Added to ConfigDB \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1624.9997024536133,
- "y": 378.98954582214355,
- "z": "f630c4e8.64d488",
+ "x": 2374.2986030578613,
+ "y": 1511.3127517700195,
+ "z": "73e537e.8932bc8",
"wires": [
[]
]
},
{
- "id": "b33ddeae.aa57b",
+ "id": "7503b7ce.7796d8",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2369.43758392334,
+ "y": 1560.8682289123535,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "8ded1517.4c32d8"
+ ]
+ ]
+ },
+ {
+ "id": "8ded1517.4c32d8",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2543.909828186035,
+ "y": 1553.5905861854553,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "50499d51.fe3e14"
+ ]
+ ]
+ },
+ {
+ "id": "50499d51.fe3e14",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2717.937629699707,
+ "y": 1549.56272315979,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "4efbb0f2.f7229",
+ "67913975.042ea8",
+ "b11b382e.43f478",
+ "9472e52c.249c78",
+ "7eb7f6b8.3dba48",
+ "9a055ee1.e66aa",
+ "b402baa1.acbe58",
+ "b43da734.c06b08",
+ "3b663477.76ed6c"
+ ]
+ ]
+ },
+ {
+ "id": "67913975.042ea8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.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": 2930.4379959106445,
+ "y": 1518.3127232789993,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4efbb0f2.f7229",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2934.6875076293945,
+ "y": 1576.3127555847168,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "c638f3de.dea5",
+ "78e627e0.d15b08"
+ ]
+ ]
+ },
+ {
+ "id": "c638f3de.dea5",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3143.937999725342,
+ "y": 1531.3122968673706,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "a42b1236.4707e"
+ ]
+ ]
+ },
+ {
+ "id": "78e627e0.d15b08",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3138.937999725342,
+ "y": 1592.8129997253418,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "8131e6bc.784858"
+ ]
+ ]
+ },
+ {
+ "id": "a42b1236.4707e",
"type": "execute",
- "name": "execute DmaapMsg",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.CMNotify-dmaap.nbrlist-change.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />",
+ "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": 3490.187759399414,
+ "y": 1530.0627536773682,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8131e6bc.784858",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 665.5,
- "y": 506.07290267944336,
- "z": "f630c4e8.64d488",
+ "x": 3316.4375762939453,
+ "y": 1599.3126335144043,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "5682184.0ed98e8",
- "116d5ac8.a491a5"
+ "1754b665.854bca",
+ "b0b55a4d.efcde8"
]
]
},
{
- "id": "77dfbd9a.85b724",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap.requestID' value='`$prop.CMNotify-dmaap.requestID`'/>\n<parameter name='tmp.oofpcipoc-dmaap.aai' value=\"`$prop.CMNotify-dmaap.aai`\"/>\n<parameter name='tmp.oofpcipoc-dmaap.version' value='`$prop.CMNotify-dmaap.version`'/>\n<parameter name='tmp.oofpcipoc-dmaap.action' value='`$prop.CMNotify-dmaap.action`'/>\n<parameter name='tmp.oofpcipoc-dmaap.payload' value='`$nbrlist-change-notification-input.payload`'/>",
+ "id": "1754b665.854bca",
+ "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": "",
- "x": 660.166748046875,
- "y": 412.07290267944336,
- "z": "f630c4e8.64d488",
- "wires": []
+ "outputs": 1,
+ "x": 3598.437942504883,
+ "y": 1588.0626335144043,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b0b55a4d.efcde8",
+ "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": 3548.688247680664,
+ "y": 1648.5626649856567,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
},
{
- "id": "5682184.0ed98e8",
+ "id": "b11b382e.43f478",
+ "type": "execute",
+ "name": "read cellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2926.5625,
+ "y": 1638.125,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9472e52c.249c78",
+ "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": 2981.5625610351562,
+ "y": 1703.1249380111694,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7eb7f6b8.3dba48",
+ "type": "execute",
+ "name": "prepare idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2954.562744140625,
+ "y": 1758.124939918518,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9a055ee1.e66aa",
+ "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": 2934.5624389648438,
+ "y": 1821.1252460479736,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b402baa1.acbe58",
+ "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": 2936.5626831054688,
+ "y": 1879.1248788833618,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b43da734.c06b08",
+ "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/activateRANSlice.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": 2941.5623168945312,
+ "y": 1947.1253700256348,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3b663477.76ed6c",
+ "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-status.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=\"activate-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": 2998.5623474121094,
+ "y": 2022.374755859375,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "e9376312.2afc9",
+ "3fa0b327.7d77bc"
+ ]
+ ]
+ },
+ {
+ "id": "3fa0b327.7d77bc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 861,
- "y": 445.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 3265.5623474121094,
+ "y": 1922.374755859375,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "7812bc5b.b7e9e4"
+ ]
+ ]
+ },
+ {
+ "id": "7812bc5b.b7e9e4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3423.5625915527344,
+ "y": 1870.374755859375,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "feddd5d5.b26b48"
+ "dc07a63a.07b3e8",
+ "b8e4a7fe.f431d8",
+ "cf52b92f.10a1a8"
]
]
},
{
- "id": "116d5ac8.a491a5",
+ "id": "b8e4a7fe.f431d8",
+ "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": 3589.5623474121094,
+ "y": 1836.374755859375,
+ "z": "73e537e.8932bc8",
+ "wires": []
+ },
+ {
+ "id": "dc07a63a.07b3e8",
+ "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": 3594.562225341797,
+ "y": 1931.3748168945312,
+ "z": "73e537e.8932bc8",
+ "wires": []
+ },
+ {
+ "id": "bbe2b1be.4721c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3578.562225341797,
+ "y": 2017.375,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dbdffb78.99de48",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3432.5623474121094,
+ "y": 2018.3747584819794,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "bbe2b1be.4721c"
+ ]
+ ]
+ },
+ {
+ "id": "e9376312.2afc9",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 846.9998779296875,
- "y": 579.9895286560059,
- "z": "f630c4e8.64d488",
+ "x": 3264.5623474121094,
+ "y": 2021.374755859375,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "f00581ee.7161e"
+ "dbdffb78.99de48"
]
]
},
{
- "id": "feddd5d5.b26b48",
+ "id": "738ca283.54ba9c",
+ "type": "execute",
+ "name": "get PLMNId URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfileId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 646.2500305175781,
+ "y": 661.8750114440918,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c80b56a5.99a988",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 619.7500305175781,
+ "y": 717.3750429153442,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1c09cf50.00c361",
+ "type": "execute",
+ "name": "Get PLMN from Sliceprofile id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 688.5000152587891,
+ "y": 770.874979019165,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "20d20dea.8129f2",
+ "type": "execute",
+ "name": "read PLMN Id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`getPLMN-configdb-response.pLMNId`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 641.5000076293945,
+ "y": 828.8750276565552,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a16a753b.c1e978",
+ "type": "execute",
+ "name": "find MCC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 634.7500152587891,
+ "y": 888.1250905990601,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ef19e8dd.548808",
+ "type": "execute",
+ "name": "find MNC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 634.7500686645508,
+ "y": 939.1249685287476,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b72487f2.f75598",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 631.743537902832,
+ "y": 996.118483543396,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf52b92f.10a1a8",
+ "type": "block",
+ "name": "block : SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4067.5,
+ "y": 1668.9285888671875,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "862727fd.1c2328",
+ "ba2f13e6.fb244",
+ "48d208ea.6b73a8"
+ ]
+ ]
+ },
+ {
+ "id": "862727fd.1c2328",
+ "type": "set",
+ "name": "set tmp variables for SO response",
+ "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
+ "comments": "",
+ "x": 4446.643783569336,
+ "y": 1526.5425758361816,
+ "z": "73e537e.8932bc8",
+ "wires": []
+ },
+ {
+ "id": "ba2f13e6.fb244",
+ "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": 4450.214241027832,
+ "y": 1592.2146625518799,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "48d208ea.6b73a8",
+ "type": "execute",
+ "name": "Send to SO",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4376.642807006836,
+ "y": 1670.6432371139526,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "866030e9.b444e",
+ "4f0f6de5.73b094"
+ ]
+ ]
+ },
+ {
+ "id": "866030e9.b444e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4614.071365356445,
+ "y": 1653.3572883605957,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "52d6b739.76f9c8"
+ ]
+ ]
+ },
+ {
+ "id": "52d6b739.76f9c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1051.9998779296875,
- "y": 475.98962020874023,
- "z": "f630c4e8.64d488",
+ "x": 4806.499732971191,
+ "y": 1644.071725845337,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "f9e8e42c.b650c8"
+ "cb07e63f.970f58"
]
]
},
{
- "id": "f9e8e42c.b650c8",
+ "id": "cb07e63f.970f58",
"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 publishing DMAAP message. ConfigDB Updated; TO be rolled back...will handle next release\" />",
+ "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": 1230.999568939209,
- "y": 472.9895877838135,
- "z": "f630c4e8.64d488",
+ "x": 5008.2136154174805,
+ "y": 1632.785837650299,
+ "z": "73e537e.8932bc8",
"wires": []
},
{
- "id": "f00581ee.7161e",
+ "id": "589e3583.45b27c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 5002.35689163208,
+ "y": 1707.785903930664,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e5f066ec.ee08a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1041.9996337890625,
- "y": 563.989559173584,
- "z": "f630c4e8.64d488",
+ "x": 4818.356742858887,
+ "y": 1713.2143459320068,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "2a523c48.546854"
+ "589e3583.45b27c"
]
]
},
{
- "id": "2a523c48.546854",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Successfully Published \"/>",
+ "id": "4f0f6de5.73b094",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1220.9997024536133,
- "y": 562.9895458221436,
- "z": "f630c4e8.64d488",
+ "x": 4608.356689453125,
+ "y": 1717.071584701538,
+ "z": "73e537e.8932bc8",
"wires": [
- []
+ [
+ "e5f066ec.ee08a8"
+ ]
]
},
{
- "id": "283ddbe5.abd8f4",
+ "id": "8eaff649.12a058",
"type": "block",
- "name": "block : Publish DMAAP Message",
+ "name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 416,
- "y": 449.98958587646484,
- "z": "f630c4e8.64d488",
+ "x": 615,
+ "y": 1646.0714111328125,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "77dfbd9a.85b724",
- "b33ddeae.aa57b"
+ "e7d5db02.65b2d8",
+ "dad1b3aa.d6985",
+ "e85cda54.0fe538",
+ "b91c3aef.b188c8"
]
]
},
{
- "id": "280fec55.9805a4",
- "type": "comment",
- "name": "DMAAP Publish Not Reqd. Just a placeholder",
- "info": "",
+ "id": "e85cda54.0fe538",
+ "type": "set",
+ "name": "set tmp variables for SO response",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$activate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$activate-r-a-n-slice-input.action`\"/>\n",
"comments": "",
- "x": 380,
- "y": 503.98958587646484,
- "z": "f630c4e8.64d488",
+ "x": 895.0011444091797,
+ "y": 1495.970895767212,
+ "z": "73e537e.8932bc8",
"wires": []
},
{
- "id": "3d43e8a.fae8d18",
+ "id": "e7d5db02.65b2d8",
"type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"Number of neigbors Changed/To Be Added #: \"/>\n<parameter name=\"field8\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>",
+ "name": "record SO reply parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
"comments": "",
"outputs": 1,
- "x": 815.0005493164062,
- "y": 42.9896354675293,
- "z": "f630c4e8.64d488",
+ "x": 891.9999771118164,
+ "y": 1650.0715942382812,
+ "z": "73e537e.8932bc8",
"wires": [
[]
]
},
{
- "id": "c74a3b00.dbe438",
- "type": "for",
- "name": "for",
- "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >",
+ "id": "dad1b3aa.d6985",
+ "type": "execute",
+ "name": "Send to SO",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 761.0000762939453,
+ "y": 1767.0712985992432,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "2999f62a.11666a",
+ "a0ffbca7.ce015"
+ ]
+ ]
+ },
+ {
+ "id": "2999f62a.11666a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 926.0000762939453,
+ "y": 1747.0712976455688,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ [
+ "77937eda.00d3c"
+ ]
+ ]
+ },
+ {
+ "id": "a0ffbca7.ce015",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 484.085693359375,
- "y": 115.95317459106445,
- "z": "f630c4e8.64d488",
+ "x": 917.9999694824219,
+ "y": 1820.0712480545044,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "898ea471.c49108"
+ "bbd0fc65.b213e"
]
]
},
{
- "id": "898ea471.c49108",
+ "id": "bbd0fc65.b213e",
"type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 636,
- "y": 77.98958969116211,
- "z": "f630c4e8.64d488",
+ "x": 1063.999813079834,
+ "y": 1825.0713567733765,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "3d43e8a.fae8d18",
- "15326088.5383cf"
+ "3b8c718a.3fa84e"
]
]
},
{
- "id": "15326088.5383cf",
- "type": "for",
- "name": "for",
- "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >",
+ "id": "77937eda.00d3c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 808,
- "y": 107.98958969116211,
- "z": "f630c4e8.64d488",
+ "x": 1074.9999771118164,
+ "y": 1743.0714330673218,
+ "z": "73e537e.8932bc8",
"wires": [
[
- "6ebb935.a77b76c"
+ "88a2ea8a.397928",
+ "f5257e8c.2252a"
]
]
},
{
- "id": "6ebb935.a77b76c",
+ "id": "88a2ea8a.397928",
+ "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": 1221.9995956420898,
+ "y": 1754.071174621582,
+ "z": "73e537e.8932bc8",
+ "wires": []
+ },
+ {
+ "id": "3b8c718a.3fa84e",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idy`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1224.9997329711914,
+ "y": 1831.0712490081787,
+ "z": "73e537e.8932bc8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f5257e8c.2252a",
+ "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": 1209.5102043151855,
+ "y": 1658.0606660842896,
+ "z": "73e537e.8932bc8",
+ "wires": []
+ },
+ {
+ "id": "b91c3aef.b188c8",
+ "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": 959,
- "y": 101.98958969116211,
- "z": "f630c4e8.64d488",
+ "x": 914.339599609375,
+ "y": 1586.0567483901978,
+ "z": "73e537e.8932bc8",
"wires": [
[]
]
+ },
+ {
+ "id": "f53bf76b.8dba48",
+ "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": 272.5,
+ "y": 1162.5,
+ "z": "73e537e.8932bc8",
+ "wires": []
}
] \ No newline at end of file
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 f1e5f1e4..b93f483d 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": "de9c4bb9.dd1918",
+ "id": "a42289ba.f91ed8",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSlice' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 159,
- "y": 201.9895896911621,
- "z": "e88d8790.e40a88",
+ "x": 734.375,
+ "y": 230.9375,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "93874454.9246c8"
+ "1046083a.925388"
]
]
},
{
- "id": "9fa80d53.d40c7",
+ "id": "b74501c3.c1b28",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 162,
- "y": 51.989585876464844,
- "z": "e88d8790.e40a88",
+ "x": 737.375,
+ "y": 80.93749618530273,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "263df2ce.eceb3e"
+ "bbd24351.afb32"
]
]
},
{
- "id": "263df2ce.eceb3e",
+ "id": "bbd24351.afb32",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,1023 +38,1023 @@
"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": 219.99998474121094,
- "y": 112.98968124389648,
- "z": "e88d8790.e40a88",
+ "x": 795.3749847412109,
+ "y": 141.93759155273438,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "de9c4bb9.dd1918"
+ "a42289ba.f91ed8"
]
]
},
{
- "id": "93874454.9246c8",
+ "id": "1046083a.925388",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 168.48959732055664,
- "y": 366.9896306991577,
- "z": "e88d8790.e40a88",
+ "x": 743.8645973205566,
+ "y": 395.9375410079956,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "b00f872c.0512c8",
- "b71c824f.49493",
- "78f37f23.e25c4",
- "3587eb4d.c8c884",
- "93a9509f.81d6e",
- "c12192ce.5dd2c",
- "9ac10eb.edc0ff",
- "7c842f93.0103b",
- "354a772d.176308"
+ "3954f1bc.d5ae1e",
+ "a9256fac.7a667",
+ "1c74dac0.89ed85",
+ "e8aa052e.4a08a8",
+ "3ebac649.d77a3a",
+ "764bab41.3fba94",
+ "53ac0b9a.a04824",
+ "9da0386c.caad58",
+ "1020a2c3.72f18d"
]
]
},
{
- "id": "7c842f93.0103b",
+ "id": "9da0386c.caad58",
"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": 428.48958587646484,
- "y": 912.9899969100952,
- "z": "e88d8790.e40a88",
+ "x": 1003.8645858764648,
+ "y": 941.9379072189331,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "59512b6d.4b1d34",
+ "id": "7af33bee.afa794",
"type": "comment",
"name": "instantiateRANSlice",
"info": "",
"comments": "",
- "x": 444,
- "y": 45,
- "z": "e88d8790.e40a88",
+ "x": 1019.375,
+ "y": 73.94791030883789,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "b00f872c.0512c8",
+ "id": "3954f1bc.d5ae1e",
"type": "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": 502.0003356933594,
- "y": 96.01045989990234,
- "z": "e88d8790.e40a88",
+ "x": 1077.3753356933594,
+ "y": 124.95837020874023,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "78f37f23.e25c4",
+ "id": "1c74dac0.89ed85",
"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": 551.0000915527344,
- "y": 185.0104274749756,
- "z": "e88d8790.e40a88",
+ "x": 1126.3750915527344,
+ "y": 213.95833778381348,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "7a5c9f65.c5a97"
+ "8d28b750.83f4c8"
]
]
},
{
- "id": "7a5c9f65.c5a97",
+ "id": "8d28b750.83f4c8",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 779.0001029968262,
- "y": 165.01044273376465,
- "z": "e88d8790.e40a88",
+ "x": 1354.3751029968262,
+ "y": 193.95835304260254,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "5de17583.f3b77c"
+ "4c1bf053.4c578"
]
]
},
{
- "id": "e9a415d6.2e4598",
+ "id": "f29bd4c7.9d4768",
"type": "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": 1122.0002765655518,
- "y": 172.01047134399414,
- "z": "e88d8790.e40a88",
+ "x": 1697.3752765655518,
+ "y": 200.95838165283203,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "3587eb4d.c8c884",
+ "id": "e8aa052e.4a08a8",
"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": 533.0000534057617,
- "y": 270.01038455963135,
- "z": "e88d8790.e40a88",
+ "x": 1108.3750534057617,
+ "y": 298.95829486846924,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "93a9509f.81d6e",
+ "id": "3ebac649.d77a3a",
"type": "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": 512.0000953674316,
- "y": 319.0104274749756,
- "z": "e88d8790.e40a88",
+ "x": 1087.3750953674316,
+ "y": 347.9583377838135,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "c12192ce.5dd2c",
+ "id": "764bab41.3fba94",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 502.00008392333984,
- "y": 609.8992719650269,
- "z": "e88d8790.e40a88",
+ "x": 1077.3750839233398,
+ "y": 638.8471822738647,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "51bd6a07.1944d4"
+ "97f3e84.1370918"
]
]
},
{
- "id": "51bd6a07.1944d4",
+ "id": "97f3e84.1370918",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 574.0001487731934,
- "y": 806.8992958068848,
- "z": "e88d8790.e40a88",
+ "x": 1149.3751487731934,
+ "y": 835.8472061157227,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "2812fa43.45bf06"
+ "c01f23a6.dc70c"
]
]
},
{
- "id": "b71c824f.49493",
+ "id": "a9256fac.7a667",
"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": 551.0000915527344,
- "y": 144.01047706604004,
- "z": "e88d8790.e40a88",
+ "x": 1126.3750915527344,
+ "y": 172.95838737487793,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "2b55759c.be87da",
+ "id": "cc7294d8.84b948",
"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": 1140.0002746582031,
- "y": 106.01044368743896,
- "z": "e88d8790.e40a88",
+ "x": 1715.3752746582031,
+ "y": 134.95835399627686,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "5de17583.f3b77c",
+ "id": "4c1bf053.4c578",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 948.0001907348633,
- "y": 140.0104410648346,
- "z": "e88d8790.e40a88",
+ "x": 1523.3751907348633,
+ "y": 168.95835137367249,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "2b55759c.be87da",
- "e9a415d6.2e4598"
+ "cc7294d8.84b948",
+ "f29bd4c7.9d4768"
]
]
},
{
- "id": "54c56245.8decbc",
+ "id": "5f4a9dbe.e82784",
"type": "set",
"name": "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": 1392.0003280639648,
- "y": 346.01045751571655,
- "z": "e88d8790.e40a88",
+ "x": 1967.3753280639648,
+ "y": 374.95836782455444,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "2812fa43.45bf06",
+ "id": "c01f23a6.dc70c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 717.0000381469727,
- "y": 712.0000190734863,
- "z": "e88d8790.e40a88",
+ "x": 1292.3750381469727,
+ "y": 740.9479293823242,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "3161655c.54a3ea"
+ "bb5455ce.e3dd28"
]
]
},
{
- "id": "9ac10eb.edc0ff",
+ "id": "53ac0b9a.a04824",
"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": 525.0000152587891,
- "y": 229.00002670288086,
- "z": "e88d8790.e40a88",
+ "x": 1100.375015258789,
+ "y": 257.94793701171875,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "63e33a85.579ea4",
+ "id": "62dc21e3.7ba4",
"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": 1436.0107421875,
- "y": 440.01045989990234,
- "z": "e88d8790.e40a88",
+ "x": 2011.3857421875,
+ "y": 468.95837020874023,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "73a45a34.62e664",
+ "id": "3760fa0c.ea30a6",
"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": 1442.0107955932617,
- "y": 483.01042079925537,
- "z": "e88d8790.e40a88",
+ "x": 2017.3857955932617,
+ "y": 511.95833110809326,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "38840452.4e55ac",
+ "id": "a38369ec.dbae38",
"type": "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": 1345.004295349121,
- "y": 537.003885269165,
- "z": "e88d8790.e40a88",
+ "x": 1920.379295349121,
+ "y": 565.9517955780029,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "a4262dde.68861",
+ "id": "ff988ad6.f70e48",
"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": 799,
- "y": 84,
- "z": "e88d8790.e40a88",
+ "x": 1374.375,
+ "y": 112.94791030883789,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "3161655c.54a3ea",
+ "id": "bb5455ce.e3dd28",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 902.0104866027832,
- "y": 784.0104658603668,
- "z": "e88d8790.e40a88",
+ "x": 1477.3854866027832,
+ "y": 812.9583761692047,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "d891309b.d3d43",
- "aa743487.5db6d8",
- "904ecdc5.c7923",
- "384b4605.aaf9aa"
+ "7cd86870.ac51d8",
+ "a0cb91cf.e7199",
+ "4da876a.2e36888",
+ "6d94c593.9d6dac"
]
]
},
{
- "id": "d891309b.d3d43",
+ "id": "7cd86870.ac51d8",
"type": "outcome",
"name": "allocate",
"xml": "<outcome value='allocate'>",
"comments": "",
"outputs": 1,
- "x": 1130.010498046875,
- "y": 657.8993492126465,
- "z": "e88d8790.e40a88",
+ "x": 1705.385498046875,
+ "y": 686.8472595214844,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "f8cbd6a1.a346f8"
+ "7b2f6de.f14e394"
]
]
},
{
- "id": "aa743487.5db6d8",
+ "id": "a0cb91cf.e7199",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 1139.7247695922852,
- "y": 733.3993918895721,
- "z": "e88d8790.e40a88",
+ "x": 1715.0997695922852,
+ "y": 762.34730219841,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "283e57d2.550fb8"
+ "799f4e27.f8f1a"
]
]
},
{
- "id": "904ecdc5.c7923",
+ "id": "4da876a.2e36888",
"type": "outcome",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 1147.0818710327148,
- "y": 823.54221534729,
- "z": "e88d8790.e40a88",
+ "x": 1722.4568710327148,
+ "y": 852.4901256561279,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "9c517b53.732668"
+ "1786651.48d4b9b"
]
]
},
{
- "id": "384b4605.aaf9aa",
+ "id": "6d94c593.9d6dac",
"type": "outcome",
"name": "reconfigure",
"xml": "<outcome value='reconfigure'>",
"comments": "",
"outputs": 1,
- "x": 1119.0818710327148,
- "y": 906.5780248641968,
- "z": "e88d8790.e40a88",
+ "x": 1694.4568710327148,
+ "y": 935.5259351730347,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "1de88d9b.1ce0a2"
+ "50c21a5e.8e7934"
]
]
},
{
- "id": "f8cbd6a1.a346f8",
+ "id": "7b2f6de.f14e394",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1342.999864578247,
- "y": 642.000039100647,
- "z": "e88d8790.e40a88",
+ "x": 1918.374864578247,
+ "y": 670.9479494094849,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "c5920a88.91e768",
- "d5b69581.ede008"
+ "df2d571d.4eda38",
+ "fef64c42.832fa"
]
]
},
{
- "id": "283e57d2.550fb8",
+ "id": "799f4e27.f8f1a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1363.2143173217773,
- "y": 737.5001220703125,
- "z": "e88d8790.e40a88",
+ "x": 1938.5893173217773,
+ "y": 766.4480323791504,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "d3332650.34bd78",
- "d481d921.e66a28"
+ "2a4c84b3.b9568c",
+ "b106e3dd.cbf93"
]
]
},
{
- "id": "1de88d9b.1ce0a2",
+ "id": "50c21a5e.8e7934",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1350.821418762207,
- "y": 933.4286909103394,
- "z": "e88d8790.e40a88",
+ "x": 1926.196418762207,
+ "y": 962.3766012191772,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "f9f72ad.82208d8",
- "affb1530.9fc0e8"
+ "a52ee994.bf73c8",
+ "21feb381.e5eadc"
]
]
},
{
- "id": "9c517b53.732668",
+ "id": "1786651.48d4b9b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1363.7499084472656,
- "y": 835.643012046814,
- "z": "e88d8790.e40a88",
+ "x": 1939.1249084472656,
+ "y": 864.5909223556519,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "eac47c65.f6e12",
- "e35d09c4.f12e88"
+ "86386bfc.aabcf8",
+ "507bd43f.c63d0c"
]
]
},
{
- "id": "c5920a88.91e768",
+ "id": "df2d571d.4eda38",
"type": "call",
"name": "call instantiateRANSliceAllocate",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceAllocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1631.2498474121094,
- "y": 630.7500152587891,
- "z": "e88d8790.e40a88",
+ "x": 2206.6248474121094,
+ "y": 659.697925567627,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "a1b199f1.43d858"
+ "295d45ee.e6da2a"
]
]
},
{
- "id": "a1b199f1.43d858",
+ "id": "295d45ee.e6da2a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1897.1069793701172,
- "y": 639.321457862854,
- "z": "e88d8790.e40a88",
+ "x": 2472.481979370117,
+ "y": 668.2693681716919,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "5a813a7d.eab534"
+ "5a602958.c62108"
]
]
},
{
- "id": "5a813a7d.eab534",
+ "id": "5a602958.c62108",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2069.1069869995117,
- "y": 639.4286108016968,
- "z": "e88d8790.e40a88",
+ "x": 2644.4819869995117,
+ "y": 668.3765211105347,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "d3332650.34bd78",
+ "id": "2a4c84b3.b9568c",
"type": "call",
"name": "call instantiateRANSliceModifyAllocate",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1655.6787719726562,
- "y": 740.7500581741333,
- "z": "e88d8790.e40a88",
+ "x": 2231.0537719726562,
+ "y": 769.6979684829712,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "2f3f6f4d.eb2fa"
+ "899ea9f3.dad958"
]
]
},
{
- "id": "2f3f6f4d.eb2fa",
+ "id": "899ea9f3.dad958",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1916.9644050598145,
- "y": 737.7500839233398,
- "z": "e88d8790.e40a88",
+ "x": 2492.3394050598145,
+ "y": 766.6979942321777,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "76e8d116.52e33"
+ "e682268a.ba31d8"
]
]
},
{
- "id": "76e8d116.52e33",
+ "id": "e682268a.ba31d8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2085.535846710205,
- "y": 737.4286289215088,
- "z": "e88d8790.e40a88",
+ "x": 2660.910846710205,
+ "y": 766.3765392303467,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "f9f72ad.82208d8",
+ "id": "a52ee994.bf73c8",
"type": "call",
"name": "call instantiateRANSliceReconfigure",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceReconfigure' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1643.8213424682617,
- "y": 933.0357494354248,
- "z": "e88d8790.e40a88",
+ "x": 2219.1963424682617,
+ "y": 961.9836597442627,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "fe94370f.c8bbd8"
+ "381c40f8.293fe"
]
]
},
{
- "id": "fe94370f.c8bbd8",
+ "id": "381c40f8.293fe",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1900.1070671081543,
- "y": 933.0357751846313,
- "z": "e88d8790.e40a88",
+ "x": 2475.4820671081543,
+ "y": 961.9836854934692,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "26a0f5b0.30f06a"
+ "403c6dba.dcd824"
]
]
},
{
- "id": "26a0f5b0.30f06a",
+ "id": "403c6dba.dcd824",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2068.678508758545,
- "y": 932.7143201828003,
- "z": "e88d8790.e40a88",
+ "x": 2644.053508758545,
+ "y": 961.6622304916382,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "eac47c65.f6e12",
+ "id": "86386bfc.aabcf8",
"type": "call",
"name": "call instantiateRANSliceModifyDeallocate",
- "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyDeallocate' mode='sync' >\n",
+ "xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1636.9641571044922,
- "y": 834.0357847213745,
- "z": "e88d8790.e40a88",
+ "x": 2212.339157104492,
+ "y": 862.9836950302124,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "95418ab2.b58958"
+ "6b54182.5b947e8"
]
]
},
{
- "id": "95418ab2.b58958",
+ "id": "6b54182.5b947e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1915.5355796813965,
- "y": 832.6072387695312,
- "z": "e88d8790.e40a88",
+ "x": 2490.9105796813965,
+ "y": 861.5551490783691,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "9c0603c7.6b8fe"
+ "e63c12cd.7cb5d"
]
]
},
{
- "id": "9c0603c7.6b8fe",
+ "id": "e63c12cd.7cb5d",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2084.107021331787,
- "y": 832.2857837677002,
- "z": "e88d8790.e40a88",
+ "x": 2659.482021331787,
+ "y": 861.2336940765381,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "3f271e6d.820012",
+ "id": "7ef9313d.612ae",
"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": 1415.0003280639648,
- "y": 392.0000009536743,
- "z": "e88d8790.e40a88",
+ "x": 1990.3753280639648,
+ "y": 420.9479112625122,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "7fbdbbb9.ba3154",
+ "id": "a14e0073.7591f",
"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": 378.0000228881836,
- "y": 1028.0000104904175,
- "z": "e88d8790.e40a88",
+ "x": 953.3750228881836,
+ "y": 1056.9479207992554,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "d5b69581.ede008",
+ "id": "fef64c42.832fa",
"type": "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": 1579.000015258789,
- "y": 571.0000410079956,
- "z": "e88d8790.e40a88",
+ "x": 2154.375015258789,
+ "y": 599.9479513168335,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "d481d921.e66a28",
+ "id": "b106e3dd.cbf93",
"type": "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": 1560.9999694824219,
- "y": 682.0000429153442,
- "z": "e88d8790.e40a88",
+ "x": 2136.374969482422,
+ "y": 710.9479532241821,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "e35d09c4.f12e88",
+ "id": "507bd43f.c63d0c",
"type": "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": 1554.9999694824219,
- "y": 782.0000429153442,
- "z": "e88d8790.e40a88",
+ "x": 2130.374969482422,
+ "y": 810.9479532241821,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "affb1530.9fc0e8",
+ "id": "21feb381.e5eadc",
"type": "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": 1554.9999694824219,
- "y": 883.0000429153442,
- "z": "e88d8790.e40a88",
+ "x": 2130.374969482422,
+ "y": 911.9479532241821,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "d5ab20c6.7ea2a",
+ "id": "3543fc8a.5803f4",
"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": 994.0003509521484,
- "y": 241.66679668426514,
- "z": "e88d8790.e40a88",
+ "x": 1569.3753509521484,
+ "y": 270.614706993103,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "53f9ecd9.12d394",
- "dc5f688a.4f8758"
+ "84c8fb21.66b3f8",
+ "d9638ed1.f83fa"
]
]
},
{
- "id": "53f9ecd9.12d394",
+ "id": "84c8fb21.66b3f8",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1213.0003623962402,
- "y": 220.66673374176025,
- "z": "e88d8790.e40a88",
+ "x": 1788.3753623962402,
+ "y": 249.61464405059814,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "6185424.1fab4bc"
+ "7fc3106b.37318"
]
]
},
{
- "id": "dc5f688a.4f8758",
+ "id": "d9638ed1.f83fa",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1172.0002746582031,
- "y": 314.66671562194824,
- "z": "e88d8790.e40a88",
+ "x": 1747.3752746582031,
+ "y": 343.61462593078613,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "cbd5d689.1a5498"
+ "93fbc19d.0d395"
]
]
},
{
- "id": "cbd5d689.1a5498",
+ "id": "93fbc19d.0d395",
"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": 1393.0000457763672,
- "y": 279.66671562194824,
- "z": "e88d8790.e40a88",
+ "x": 1968.3750457763672,
+ "y": 308.61462593078613,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "62ad505f.ec2a7"
+ "1e731d50.90a003"
]
]
},
{
- "id": "6185424.1fab4bc",
+ "id": "7fc3106b.37318",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1648.0000457763672,
- "y": 115.6667308807373,
- "z": "e88d8790.e40a88",
+ "x": 2223.375045776367,
+ "y": 144.6146411895752,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "4b12490e.744838",
- "46571d5c.4c2cc4"
+ "c667d854.f89768",
+ "bc4e0a69.150ea8"
]
]
},
{
- "id": "4b12490e.744838",
+ "id": "c667d854.f89768",
"type": "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": 1871.0000534057617,
- "y": 74.66672992706299,
- "z": "e88d8790.e40a88",
+ "x": 2446.3750534057617,
+ "y": 103.61464023590088,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "62ad505f.ec2a7",
+ "id": "1e731d50.90a003",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1555.0000457763672,
- "y": 201.66671323776245,
- "z": "e88d8790.e40a88",
+ "x": 2130.375045776367,
+ "y": 230.61462354660034,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "ea5444f.25ee6b8"
+ "4509f93a.f59658"
]
]
},
{
- "id": "ea5444f.25ee6b8",
+ "id": "4509f93a.f59658",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1662.000373840332,
- "y": 316.6667175292969,
- "z": "e88d8790.e40a88",
+ "x": 2237.375373840332,
+ "y": 345.61462783813477,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "e53b6d12.81629",
- "46571d5c.4c2cc4"
+ "cd2f192c.de72c8",
+ "bc4e0a69.150ea8"
]
]
},
{
- "id": "e53b6d12.81629",
+ "id": "cd2f192c.de72c8",
"type": "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": 1719.000373840332,
- "y": 205.6667127609253,
- "z": "e88d8790.e40a88",
+ "x": 2294.375373840332,
+ "y": 234.61462306976318,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "46571d5c.4c2cc4",
+ "id": "bc4e0a69.150ea8",
"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": 1975.0003814697266,
- "y": 228.0000457763672,
- "z": "e88d8790.e40a88",
+ "x": 2550.3753814697266,
+ "y": 256.9479560852051,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "354a772d.176308",
+ "id": "1020a2c3.72f18d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 395.00008392333984,
- "y": 383.00006103515625,
- "z": "e88d8790.e40a88",
+ "x": 970.3750839233398,
+ "y": 411.94797134399414,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "e6acf72b.7c9cb8"
+ "4be22bcf.cdc874"
]
]
},
{
- "id": "e6acf72b.7c9cb8",
+ "id": "4be22bcf.cdc874",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 553.0106964111328,
- "y": 436.0104389190674,
- "z": "e88d8790.e40a88",
+ "x": 1128.3856964111328,
+ "y": 464.9583492279053,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "f712f649.f12c08",
- "923ce51e.57a028",
- "c5c820.b60e17e",
- "483105b6.48928c"
+ "79830245.09ca6c",
+ "2193584b.8e2978",
+ "68bf8236.225b6c",
+ "f65ea17e.ee607"
]
]
},
{
- "id": "f712f649.f12c08",
+ "id": "79830245.09ca6c",
"type": "outcome",
"name": "reconfigure",
"xml": "<outcome value='reconfigure'>",
"comments": "",
"outputs": 1,
- "x": 770.0819129943848,
- "y": 295.5779733657837,
- "z": "e88d8790.e40a88",
+ "x": 1345.4569129943848,
+ "y": 324.5258836746216,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "11cb4c01.d8bfb4"
+ "1e914a5a.c264a6"
]
]
},
{
- "id": "11cb4c01.d8bfb4",
+ "id": "1e914a5a.c264a6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 876.821662902832,
- "y": 401.4286584854126,
- "z": "e88d8790.e40a88",
+ "x": 1452.196662902832,
+ "y": 430.3765687942505,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "d5ab20c6.7ea2a"
+ "3543fc8a.5803f4"
]
]
},
{
- "id": "576d3781.9a9898",
+ "id": "572dea61.27f5f4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1065.6666793823242,
- "y": 495.00002098083496,
- "z": "e88d8790.e40a88",
+ "x": 1641.0416793823242,
+ "y": 523.9479312896729,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "54c56245.8decbc",
- "3f271e6d.820012",
- "63e33a85.579ea4",
- "73a45a34.62e664",
- "38840452.4e55ac"
+ "5f4a9dbe.e82784",
+ "7ef9313d.612ae",
+ "62dc21e3.7ba4",
+ "3760fa0c.ea30a6",
+ "a38369ec.dbae38"
]
]
},
{
- "id": "9d22435d.1120b",
+ "id": "53e96e35.57ec1",
"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": 2365,
- "y": 236,
- "z": "e88d8790.e40a88",
+ "x": 2940.375,
+ "y": 264.9479103088379,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "923ce51e.57a028",
+ "id": "2193584b.8e2978",
"type": "outcome",
"name": "allocate",
"xml": "<outcome value='allocate'>",
"comments": "",
"outputs": 1,
- "x": 831.6667098999023,
- "y": 462.3333568572998,
- "z": "e88d8790.e40a88",
+ "x": 1407.0417098999023,
+ "y": 491.2812671661377,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "576d3781.9a9898"
+ "572dea61.27f5f4"
]
]
},
{
- "id": "c5c820.b60e17e",
+ "id": "68bf8236.225b6c",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 821.3810653686523,
- "y": 507.8333988189697,
- "z": "e88d8790.e40a88",
+ "x": 1396.7560653686523,
+ "y": 536.7813091278076,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "576d3781.9a9898"
+ "572dea61.27f5f4"
]
]
},
{
- "id": "483105b6.48928c",
+ "id": "f65ea17e.ee607",
"type": "outcome",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 805.7381629943848,
- "y": 572.9761924743652,
- "z": "e88d8790.e40a88",
+ "x": 1381.1131629943848,
+ "y": 601.9241027832031,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "576d3781.9a9898"
+ "572dea61.27f5f4"
]
]
}
-]
+] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate.json
index 4298b541..05f2a9fa 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate.json
@@ -1,36 +1,36 @@
[
{
- "id": "485d59e5.0cda88",
+ "id": "9b55580c.dc7868",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceAllocate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 481.00000762939453,
- "y": 149.00003051757812,
- "z": "d497934d.905b2",
+ "x": 519.6875,
+ "y": 162.1875,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "e5e190e5.2445"
+ "acdac80e.5e42e8"
]
]
},
{
- "id": "8d396c16.b0445",
+ "id": "4d472553.b1ccac",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 105.00000381469727,
- "y": 54.00000286102295,
- "z": "d497934d.905b2",
+ "x": 143.68749618530273,
+ "y": 67.18747234344482,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "5cf54733.c52b58"
+ "bcc30cd5.e5721"
]
]
},
{
- "id": "5cf54733.c52b58",
+ "id": "bcc30cd5.e5721",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,6010 +38,6011 @@
"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": 237.9999771118164,
- "y": 151.00008392333984,
- "z": "d497934d.905b2",
+ "x": 276.6874694824219,
+ "y": 164.18755340576172,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "485d59e5.0cda88"
+ "9b55580c.dc7868"
]
]
},
{
- "id": "90eb3082.bdfb7",
+ "id": "7cb7391a.ea19a8",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"N\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
"comments": "",
- "x": 166.48963165283203,
- "y": 1092.0003213882446,
- "z": "d497934d.905b2",
+ "x": 205.1771240234375,
+ "y": 1105.1877908706665,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "c1fc321c.024ad",
+ "id": "8c61fa98.9efce8",
"type": "comment",
"name": "instantiateRANSliceAllocate",
"info": "",
"comments": "",
- "x": 450.00000762939453,
- "y": 91.01040267944336,
- "z": "d497934d.905b2",
+ "x": 488.6875,
+ "y": 104.19787216186523,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "4667742f.9a549c",
+ "id": "7c37311a.46de7",
"type": "block",
"name": "Get NRT RIC Details",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1734.00004196167,
- "y": 189.90970993041992,
- "z": "d497934d.905b2",
+ "x": 1772.6875343322754,
+ "y": 203.0971794128418,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "d09decae.3d349",
- "296ceb80.030474",
- "5fdfff4c.fd28d"
+ "5c0edd59.54cef4",
+ "9e5d517d.2afd1",
+ "ee3e4e58.ed089"
]
]
},
{
- "id": "d09decae.3d349",
+ "id": "5c0edd59.54cef4",
"type": "execute",
"name": "generate getNearRTRICsFromTrackingArea URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICsFromTrackingArea`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICsFromTrackingArea.url\"/>\n <parameter name=\"target\" value=\"{trackingArea}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.trackingArea`\"/>",
"comments": "",
"outputs": 1,
- "x": 2095.0000076293945,
- "y": 135.90972900390625,
- "z": "d497934d.905b2",
+ "x": 2133.6875,
+ "y": 149.09719848632812,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "296ceb80.030474",
+ "id": "9e5d517d.2afd1",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB Get NearRTRIC for tracking area\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICsFromTrackingArea.url`\" />\n<parameter name='field3' value=\"`$tmp.payload.trackingArea`\" />",
"comments": "",
"outputs": 1,
- "x": 2092.0001335144043,
- "y": 200.90969944000244,
- "z": "d497934d.905b2",
+ "x": 2130.6876258850098,
+ "y": 214.09716892242432,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "5fdfff4c.fd28d",
+ "id": "ee3e4e58.ed089",
"type": "execute",
"name": "Get nearRTRIC for TrackingArea",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICsFromTrackingArea.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getRIC-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": 2061.000232696533,
- "y": 278.9097385406494,
- "z": "d497934d.905b2",
+ "x": 2099.6877250671387,
+ "y": 292.0972080230713,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "f253b309.cee53",
- "2f879b04.e77bd4"
+ "e168ab22.35af68",
+ "4a09228b.75779c"
]
]
},
{
- "id": "f253b309.cee53",
+ "id": "e168ab22.35af68",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2292.000072479248,
- "y": 220.90972995758057,
- "z": "d497934d.905b2",
+ "x": 2330.6875648498535,
+ "y": 234.09719944000244,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "7eeb5346.ff3ffc"
+ "e9923685.fe42d8"
]
]
},
{
- "id": "2f879b04.e77bd4",
+ "id": "4a09228b.75779c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2289.000011444092,
- "y": 319.90961837768555,
- "z": "d497934d.905b2",
+ "x": 2327.6875038146973,
+ "y": 333.0970878601074,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "6c17e47b.89f13c"
+ "527357e4.7db0d8"
]
]
},
{
- "id": "7eeb5346.ff3ffc",
+ "id": "e9923685.fe42d8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2497.000114440918,
- "y": 169.90977096557617,
- "z": "d497934d.905b2",
+ "x": 2535.6876068115234,
+ "y": 183.09724044799805,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "de7bc599.307bb8",
- "7341a5a9.4e26ac",
- "b92d963e.6a0b38"
+ "885c8e67.f3093",
+ "fccad887.77f638",
+ "b1d10830.075248"
]
]
},
{
- "id": "6c17e47b.89f13c",
+ "id": "527357e4.7db0d8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2437.9998569488525,
- "y": 312.90975284576416,
- "z": "d497934d.905b2",
+ "x": 2476.687349319458,
+ "y": 326.09722232818604,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "795a8796.f4a458",
- "9428533c.d2bfd"
+ "372c69da.d08e66",
+ "dc0b962f.fe79d8"
]
]
},
{
- "id": "de7bc599.307bb8",
+ "id": "885c8e67.f3093",
"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": 2511.9997482299805,
- "y": 255.90973615646362,
- "z": "d497934d.905b2",
+ "x": 2550.687240600586,
+ "y": 269.0972056388855,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "795a8796.f4a458",
+ "id": "372c69da.d08e66",
"type": "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 Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getRIC-configdb-response._length`\"/>\n<parameter name=\"field3\" value=\"`$getRIC-configdb-response.[0].gNBCUCPList_length`\"/>\n<parameter name=\"field4\" value=\"`$getRIC-configdb-response.[0].gNBCUUPList_length`\"/>\n<parameter name=\"field5\" value=\"`$getRIC-configdb-response.[0].gNBDUList_length`\"/>",
"comments": "",
"outputs": 1,
- "x": 2567.999671936035,
- "y": 312.9097366333008,
- "z": "d497934d.905b2",
+ "x": 2606.6871643066406,
+ "y": 326.09720611572266,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "7341a5a9.4e26ac",
+ "id": "fccad887.77f638",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2610.999813079834,
- "y": 95.02081108093262,
- "z": "d497934d.905b2",
+ "x": 2649.6873054504395,
+ "y": 108.20828056335449,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "9428533c.d2bfd",
+ "id": "dc0b962f.fe79d8",
"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": 2555.7778968811035,
- "y": 366.9097499847412,
- "z": "d497934d.905b2",
+ "x": 2594.465389251709,
+ "y": 380.0972194671631,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "e6804e03.ed15b",
+ "id": "c571f1cb.9bec7",
"type": "for",
"name": "For ConfigDB Entries",
"xml": "<for index='id1' start='0' end=\"`$getRIC-configdb-response._length`\" >",
"comments": "",
"outputs": 1,
- "x": 1247.0000953674316,
- "y": 2010.0106449127197,
- "z": "d497934d.905b2",
+ "x": 1285.687587738037,
+ "y": 2023.1981143951416,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "71e48607.276018",
- "775eb5c2.b530ec",
- "ee18890d.8ce5a8",
- "aed9de5.eac592",
- "de928869.c1e7e8",
- "f35c6ba5.f93758",
- "bfec1f07.2c26",
- "37a324f6.ef491c"
+ "6eaee2f0.3a641c",
+ "acdc7000.c7b38",
+ "61110f78.23196",
+ "6ff3ec5.6618514",
+ "7a5b63bc.bc8eac",
+ "f234e7a5.4abc18",
+ "821e1619.c04cd8",
+ "1854a4d1.e4860b"
]
]
},
{
- "id": "71e48607.276018",
+ "id": "6eaee2f0.3a641c",
"type": "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=\"Config Payload Entry# \"/>\n<parameter name=\"field2\" value=\"`$id1`\"/>\n<parameter name=\"field3\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1621.000228881836,
- "y": 800.0106105804443,
- "z": "d497934d.905b2",
+ "x": 1659.6877212524414,
+ "y": 813.1980800628662,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "e5e190e5.2445",
+ "id": "acdac80e.5e42e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 115.9999771118164,
- "y": 271.0104064941406,
- "z": "d497934d.905b2",
+ "x": 154.68746948242188,
+ "y": 284.1978759765625,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "4667742f.9a549c",
- "73a929cf.e540f8",
- "41d38e93.237d",
- "90eb3082.bdfb7"
+ "7c37311a.46de7",
+ "3ca985.9188367c",
+ "da29413f.2288b",
+ "7cb7391a.ea19a8"
]
]
},
{
- "id": "73a929cf.e540f8",
+ "id": "3ca985.9188367c",
"type": "block",
"name": "Instantiate RAN Slice",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1244.999927520752,
- "y": 562.0104413032532,
- "z": "d497934d.905b2",
+ "x": 1283.6874198913574,
+ "y": 575.197910785675,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "e6804e03.ed15b",
- "d26df034.d92bd"
+ "c571f1cb.9bec7",
+ "56dbce13.96d8"
]
]
},
{
- "id": "775eb5c2.b530ec",
+ "id": "acdc7000.c7b38",
"type": "block",
"name": "DU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1823.0000381469727,
- "y": 5753.010600328445,
- "z": "d497934d.905b2",
+ "x": 1861.6875305175781,
+ "y": 5766.198069810867,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "ee7fcf76.8a1d4",
- "8649c947.63a348",
- "da0ec9cf.833058",
- "6ec89fec.356c3"
+ "e5b52736.da9698",
+ "2fba2f45.d5d4d",
+ "8f19388a.9d9248",
+ "12595c79.e5ffd4"
]
]
},
{
- "id": "6304e0d0.83f86",
+ "id": "777713b7.b7c1bc",
"type": "block",
"name": "Add RRM Policy Ratio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3486.0004272460938,
- "y": 7062.010467529297,
- "z": "d497934d.905b2",
+ "x": 3524.687919616699,
+ "y": 7075.197937011719,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "195d2f2f.be9951",
- "2afd6c1f.fb0e54",
- "e3458dd5.13749",
- "134027b6.de0508",
- "6adc30f.1164dd",
- "8372b7e0.afc528",
- "7390b922.c69db8"
+ "41983400.d0dacc",
+ "fd68e057.cace2",
+ "3d3b8ccb.697394",
+ "2c341fd9.a1f2a",
+ "738c87bd.a64908",
+ "f98ffee5.a6648",
+ "28385a6a.9d07a6"
]
]
},
{
- "id": "3a1f345d.50b78c",
+ "id": "f7d0e858.fffb58",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3531.0007553100586,
- "y": 6390.0107707977295,
- "z": "d497934d.905b2",
+ "x": 3569.688247680664,
+ "y": 6403.198240280151,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "f6374f5e.63374",
- "d30a623e.71f3c"
+ "dc57bcba.03b6b",
+ "516f12f6.7f38ac"
]
]
},
{
- "id": "f6374f5e.63374",
+ "id": "dc57bcba.03b6b",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3774.0008392333984,
- "y": 6394.010772705078,
- "z": "d497934d.905b2",
+ "x": 3812.688331604004,
+ "y": 6407.1982421875,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "e7036da1.771ac"
+ "65b4fbc1.48ad94"
]
]
},
{
- "id": "d30a623e.71f3c",
+ "id": "516f12f6.7f38ac",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3759.0008392333984,
- "y": 6468.010774612427,
- "z": "d497934d.905b2",
+ "x": 3797.688331604004,
+ "y": 6481.198244094849,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "e5d65992.46a118"
+ "58b548f8.42a708"
]
]
},
{
- "id": "8649c947.63a348",
+ "id": "2fba2f45.d5d4d",
"type": "for",
"name": "For DUList Entries",
"xml": "<for index='id2' start='0' end='`$tmp.DUListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 1923.0004196166992,
- "y": 6067.010595321655,
- "z": "d497934d.905b2",
+ "x": 1961.6879119873047,
+ "y": 6080.198064804077,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "d9681003.6bc88"
+ "d23dfe52.c5e2d"
]
]
},
{
- "id": "ee7fcf76.8a1d4",
+ "id": "e5b52736.da9698",
"type": "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=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUListEntries`\"/>",
"comments": "",
"outputs": 1,
- "x": 2116.0005950927734,
- "y": 5449.011382102966,
- "z": "d497934d.905b2",
+ "x": 2154.688087463379,
+ "y": 5462.198851585388,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "da0ec9cf.833058",
+ "id": "8f19388a.9d9248",
"type": "execute",
"name": "set DU Level parms",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 2118.0003509521484,
- "y": 5383.012358665466,
- "z": "d497934d.905b2",
+ "x": 2156.687843322754,
+ "y": 5396.199828147888,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "bca0cc65.5bc22",
+ "id": "b14c4fb8.0f7ea",
"type": "execute",
"name": "cellDUListEntries",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 3895.999786376953,
- "y": 5888.010704755783,
- "z": "d497934d.905b2",
+ "x": 3934.6872787475586,
+ "y": 5901.198174238205,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "f08b352c.597cb8",
+ "id": "e527dfb7.00473",
"type": "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=\"Numberof cellDU of Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDUListEntries`\"/>\n<parameter name=\"field3\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBDUName`\"/>\n<parameter name=\"field5\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field6\" value=\"`$tmp.gNBIdLength`\"/>\n<parameter name=\"field7\" value=\"`$tmp.nFType`\"/>\n<parameter name=\"field8\" value=\"`$tmp.pLMNId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3494.000102996826,
- "y": 6004.010595321655,
- "z": "d497934d.905b2",
+ "x": 3532.6875953674316,
+ "y": 6017.198064804077,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "feb69365.3be17",
+ "id": "667f5064.c3558",
"type": "block",
"name": "cellDUList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3519.000099182129,
- "y": 5943.010594367981,
- "z": "d497934d.905b2",
+ "x": 3557.6875915527344,
+ "y": 5956.198063850403,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "bca0cc65.5bc22",
- "7015e6fc.e07938",
- "dd21f0a7.2862f",
- "e82c468a.47e0a8",
- "2fbf8436.3491bc",
- "fb50e079.8b312",
- "2829190e.69f956"
+ "b14c4fb8.0f7ea",
+ "a230a043.2eaba",
+ "c5040802.d23048",
+ "7cbc5437.94e35c",
+ "af1da22d.9c281",
+ "a8487ef8.2b79a",
+ "949e516.74f10b"
]
]
},
{
- "id": "7015e6fc.e07938",
+ "id": "a230a043.2eaba",
"type": "execute",
"name": "cellDUListEntries-gNBDUId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBDUList.gNBDUId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBDUId'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3924.999927520752,
- "y": 5926.010422706604,
- "z": "d497934d.905b2",
+ "x": 3963.6874198913574,
+ "y": 5939.197892189026,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "dd21f0a7.2862f",
+ "id": "c5040802.d23048",
"type": "execute",
"name": "cellDUListEntries-gNBDUName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBDUName' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBDUName'`\" />",
"comments": "",
"outputs": 1,
- "x": 3923.999942779541,
- "y": 5965.010424613953,
- "z": "d497934d.905b2",
+ "x": 3962.6874351501465,
+ "y": 5978.1978940963745,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "e82c468a.47e0a8",
+ "id": "7cbc5437.94e35c",
"type": "execute",
"name": "cellDUListEntries-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=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3903.99991607666,
- "y": 6003.010439872742,
- "z": "d497934d.905b2",
+ "x": 3942.6874084472656,
+ "y": 6016.197909355164,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "2fbf8436.3491bc",
+ "id": "af1da22d.9c281",
"type": "execute",
"name": "cellDUListEntries-gNBIdLength",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBIdLength' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBIdLength'`\" />",
"comments": "",
"outputs": 1,
- "x": 3918.9999237060547,
- "y": 6051.010169029236,
- "z": "d497934d.905b2",
+ "x": 3957.68741607666,
+ "y": 6064.197638511658,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "fb50e079.8b312",
+ "id": "a8487ef8.2b79a",
"type": "execute",
"name": "cellDUListEntries-pLMNId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].pLMNId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3890.0000038146973,
- "y": 6128.010499954224,
- "z": "d497934d.905b2",
+ "x": 3928.6874961853027,
+ "y": 6141.1979694366455,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "b7a23ac6.e2c748",
+ "id": "ef0d45d0.c227c8",
"type": "for",
"name": "For List of Cells",
"xml": "<for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 2346.991050720215,
- "y": 6040.010706424713,
- "z": "d497934d.905b2",
+ "x": 2385.6785430908203,
+ "y": 6053.198175907135,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "6488de89.26e7d"
+ "e6aa0194.b688d"
]
]
},
{
- "id": "7ff7497.13117b8",
+ "id": "4ecd2413.c1ac2c",
"type": "block",
"name": "pLMNInfoList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3665.989959716797,
- "y": 6163.010828495026,
- "z": "d497934d.905b2",
+ "x": 3704.6774520874023,
+ "y": 6176.1982979774475,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "67285baf.837344",
- "ffcbf330.dba21"
+ "6a533f97.bbca",
+ "e26a3ab6.e3ec18"
]
]
},
{
- "id": "67285baf.837344",
+ "id": "6a533f97.bbca",
"type": "execute",
"name": "pLMNInfoListEntries",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 3986.989616394043,
- "y": 6189.010436475277,
- "z": "d497934d.905b2",
+ "x": 4025.6771087646484,
+ "y": 6202.197905957699,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "ffa3833e.e9956",
+ "id": "4ffa841.be4377c",
"type": "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=\"Numberof pLMNInfoList Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoListEntries`\"/>\n<parameter name=\"field3\" value=\"cellLocalId for TA \"/>\n<parameter name=\"field4\" value=\"`$tmp.cellLocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3676.989959716797,
- "y": 6215.011194229126,
- "z": "d497934d.905b2",
+ "x": 3715.6774520874023,
+ "y": 6228.198663711548,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "48f24fa1.aac44",
+ "id": "209f9a9d.45d496",
"type": "for",
"name": "For pLMNInfoListEntries",
"xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3734.9900970458984,
- "y": 6337.011419296265,
- "z": "d497934d.905b2",
+ "x": 3773.677589416504,
+ "y": 6350.1988887786865,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "b99db659.aa2958"
+ "534925b1.ff4eac"
]
]
},
{
- "id": "ddde50d5.41b19",
+ "id": "ab7fb11e.93a44",
"type": "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=\"MCC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"MNC \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"Calculated uLThptPerSlice \"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Calculated dLThptPerSlice \"/>\n<parameter name=\"field8\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3445.9896850585938,
- "y": 6062.010597229004,
- "z": "d497934d.905b2",
+ "x": 3484.677177429199,
+ "y": 6075.198066711426,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "b99db659.aa2958",
+ "id": "534925b1.ff4eac",
"type": "block",
"name": "pLMNInfoList Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3975.9897842407227,
- "y": 6331.011419296265,
- "z": "d497934d.905b2",
+ "x": 4014.677276611328,
+ "y": 6344.1988887786865,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "11a6c9.a4d2e937",
- "89befed1.de692"
+ "e394fe37.60982",
+ "d8184272.b7dad"
]
]
},
{
- "id": "11a6c9.a4d2e937",
+ "id": "e394fe37.60982",
"type": "execute",
"name": "sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].pLMNInfoList[' + $id4 + '].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 4138.989540100098,
- "y": 6275.010767459869,
- "z": "d497934d.905b2",
+ "x": 4177.677032470703,
+ "y": 6288.198236942291,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "e11b3cb1.4dc68",
+ "id": "2cb3565.2aa22aa",
"type": "comment",
"name": "Check if sNSSAI already exists in YANG tree",
"info": "This needs more work. If sNSSAI already exists in the YANG tree, need to patch the existing pLMNInfoList entry",
"comments": "",
- "x": 3776.989959716797,
- "y": 6289.011194229126,
- "z": "d497934d.905b2",
+ "x": 3815.6774520874023,
+ "y": 6302.198663711548,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "89befed1.de692",
+ "id": "d8184272.b7dad",
"type": "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=\"sNSSAI from RAN to check if already exists \"/>\n<parameter name=\"field2\" value=\"`$tmp.fromRAN.sNSSAI`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4159.989543914795,
- "y": 6353.0107707977295,
- "z": "d497934d.905b2",
+ "x": 4198.6770362854,
+ "y": 6366.198240280151,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "ee18890d.8ce5a8",
+ "id": "61110f78.23196",
"type": "execute",
"name": "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=\"`'getRIC-configdb-response.[' + $id1 + '].nearRTRICId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1587.9897003173828,
- "y": 622.0105800628662,
- "z": "d497934d.905b2",
+ "x": 1626.6771926879883,
+ "y": 635.1980495452881,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "ffcbf330.dba21",
+ "id": "e26a3ab6.e3ec18",
"type": "execute",
"name": "cellLocalId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3963.9897842407227,
- "y": 6253.010601043701,
- "z": "d497934d.905b2",
+ "x": 4002.677276611328,
+ "y": 6266.198070526123,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "268a7e6f.8b8e82",
+ "id": "8eaa1c1c.14269",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PLMNInfoList Entry Add to NRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3911.0014991760254,
- "y": 6825.3441162109375,
- "z": "d497934d.905b2",
+ "x": 3949.688991546631,
+ "y": 6838.531585693359,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "e3cfe875.384318",
+ "id": "bab76bad.343f18",
"type": "block",
"name": "Add PLMNInfoList Entry",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3502.000747680664,
- "y": 6496.354523658752,
- "z": "d497934d.905b2",
+ "x": 3540.6882400512695,
+ "y": 6509.541993141174,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "268a7e6f.8b8e82",
- "822215a9.455248",
- "67713a05.397004",
- "9af72e35.6f7c3",
- "7abe330e.f5f57c",
- "495ecb52.e5edd4",
- "3a1f345d.50b78c",
- "b58e6ce1.e1a25"
+ "8eaa1c1c.14269",
+ "a4893e7f.04d2f",
+ "7ff22b7e.1f2a54",
+ "dd2c078e.f88808",
+ "4deb83df.1e115c",
+ "84761029.df42",
+ "f7d0e858.fffb58",
+ "216ab62b.ce4cba"
]
]
},
{
- "id": "b58e6ce1.e1a25",
+ "id": "216ab62b.ce4cba",
"type": "execute",
"name": "add PLMNInfoListEntry ToNRCellDU using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"PLMNInfoListEntry-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3994.0008392333984,
- "y": 6916.354536056519,
- "z": "d497934d.905b2",
+ "x": 4032.688331604004,
+ "y": 6929.54200553894,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "526328c3.b52fc8",
- "6554e2fd.6cc4dc"
+ "226d46d0.76372a",
+ "519b13de.daec6c"
]
]
},
{
- "id": "822215a9.455248",
+ "id": "a4893e7f.04d2f",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add PLMNInfoListEntry ToNRCellDU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 3912.000846862793,
- "y": 6766.354530334473,
- "z": "d497934d.905b2",
+ "x": 3950.6883392333984,
+ "y": 6779.5419998168945,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "e7036da1.771ac",
+ "id": "65b4fbc1.48ad94",
"type": "execute",
"name": "generate addPLMNInfoListEntry.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4045.000846862793,
- "y": 6396.010772228241,
- "z": "d497934d.905b2",
+ "x": 4083.6883392333984,
+ "y": 6409.198241710663,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "67713a05.397004",
+ "id": "7ff22b7e.1f2a54",
"type": "execute",
"name": "Populate idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3880.990432739258,
- "y": 6553.010776042938,
- "z": "d497934d.905b2",
+ "x": 3919.6779251098633,
+ "y": 6566.19824552536,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "9af72e35.6f7c3",
+ "id": "dd2c078e.f88808",
"type": "execute",
"name": "Populate idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3889.990432739258,
- "y": 6602.01077747345,
- "z": "d497934d.905b2",
+ "x": 3928.6779251098633,
+ "y": 6615.198246955872,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "7abe330e.f5f57c",
+ "id": "4deb83df.1e115c",
"type": "execute",
"name": "Populate mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3890.990432739258,
- "y": 6652.010778427124,
- "z": "d497934d.905b2",
+ "x": 3929.6779251098633,
+ "y": 6665.198247909546,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "495ecb52.e5edd4",
+ "id": "84761029.df42",
"type": "execute",
"name": "Populate mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3934.990432739258,
- "y": 6711.010780334473,
- "z": "d497934d.905b2",
+ "x": 3973.6779251098633,
+ "y": 6724.1982498168945,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "526328c3.b52fc8",
+ "id": "226d46d0.76372a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4292.000579833984,
- "y": 6853.343793869019,
- "z": "d497934d.905b2",
+ "x": 4330.68807220459,
+ "y": 6866.53126335144,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "a6366722.5d36c8"
+ "11af60c5.a0690f"
]
]
},
{
- "id": "6554e2fd.6cc4dc",
+ "id": "519b13de.daec6c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4331.000694274902,
- "y": 6937.3438041210175,
- "z": "d497934d.905b2",
+ "x": 4369.688186645508,
+ "y": 6950.531273603439,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "6bf34351.b75adc"
+ "a81131d0.a2b47"
]
]
},
{
- "id": "a6366722.5d36c8",
+ "id": "11af60c5.a0690f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4554.000476837158,
- "y": 6738.343875646591,
- "z": "d497934d.905b2",
+ "x": 4592.687969207764,
+ "y": 6751.531345129013,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "16ec19b7.3bca56",
- "b92d963e.6a0b38"
+ "1c6bfd4c.8f7553",
+ "b1d10830.075248"
]
]
},
{
- "id": "6bf34351.b75adc",
+ "id": "a81131d0.a2b47",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4513.000205993652,
- "y": 6892.3438041210175,
- "z": "d497934d.905b2",
+ "x": 4551.687698364258,
+ "y": 6905.531273603439,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "6ace4030.377a4"
+ "396ad31a.e7209c"
]
]
},
{
- "id": "16ec19b7.3bca56",
+ "id": "1c6bfd4c.8f7553",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding PLMNInfo List Entry to NRCellCUr\" />",
"comments": "",
- "x": 4719.000476837158,
- "y": 6821.344363927841,
- "z": "d497934d.905b2",
+ "x": 4757.687969207764,
+ "y": 6834.531833410263,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "6ace4030.377a4",
+ "id": "396ad31a.e7209c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add to NRCELLDU Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4680.000205993652,
- "y": 6903.3442924022675,
- "z": "d497934d.905b2",
+ "x": 4718.687698364258,
+ "y": 6916.531761884689,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "460e3475.12998c",
+ "id": "1a12247f.0c1f1c",
"type": "execute",
"name": "generate addPLMNInfoListEntry.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4205.990196228027,
- "y": 6455.010773658752,
- "z": "d497934d.905b2",
+ "x": 4244.677688598633,
+ "y": 6468.198243141174,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "e5d65992.46a118",
+ "id": "58b548f8.42a708",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3922.990104675293,
- "y": 6457.01077413559,
- "z": "d497934d.905b2",
+ "x": 3961.6775970458984,
+ "y": 6470.1982436180115,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "460e3475.12998c",
- "6fb89399.51a6bc"
+ "1a12247f.0c1f1c",
+ "e91f6157.8739d"
]
]
},
{
- "id": "6fb89399.51a6bc",
+ "id": "e91f6157.8739d",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4169.990196228027,
- "y": 6512.010774612427,
- "z": "d497934d.905b2",
+ "x": 4208.677688598633,
+ "y": 6525.198244094849,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "e18e00d7.df91e",
+ "id": "a88e4c32.9feca",
"type": "comment",
"name": "Connect to AddPLMNInfoList Entry",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3932.990104675293,
- "y": 6876.344117164612,
- "z": "d497934d.905b2",
+ "x": 3971.6775970458984,
+ "y": 6889.531586647034,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "195d2f2f.be9951",
+ "id": "41983400.d0dacc",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3784.989845275879,
- "y": 7025.677309036255,
- "z": "d497934d.905b2",
+ "x": 3823.6773376464844,
+ "y": 7038.864778518677,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "45eae77b.2d7ee8",
- "3681f2d5.35a79e"
+ "a7e9a49e.5766b8",
+ "2ca9e596.83624a"
]
]
},
{
- "id": "45eae77b.2d7ee8",
+ "id": "a7e9a49e.5766b8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3979.9898719787598,
- "y": 6985.677216529846,
- "z": "d497934d.905b2",
+ "x": 4018.6773643493652,
+ "y": 6998.864686012268,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "23c3b850.56c468"
+ "a5001704.618c28"
]
]
},
{
- "id": "3681f2d5.35a79e",
+ "id": "2ca9e596.83624a",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3959.989845275879,
- "y": 7064.677308082581,
- "z": "d497934d.905b2",
+ "x": 3998.6773376464844,
+ "y": 7077.864777565002,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "c1e5d096.06911"
+ "d91e9481.d88018"
]
]
},
{
- "id": "8372b7e0.afc528",
+ "id": "f98ffee5.a6648",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to NRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3932.9910163879395,
- "y": 7307.010633468628,
- "z": "d497934d.905b2",
+ "x": 3971.678508758545,
+ "y": 7320.19810295105,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "2d33d6f.3d71c2a",
+ "id": "548fc503.fed9ec",
"type": "execute",
"name": "add RRM Policy ToNRCellDU using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3996.9899139404297,
- "y": 7576.020889997482,
- "z": "d497934d.905b2",
+ "x": 4035.677406311035,
+ "y": 7589.208359479904,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "262c6360.07351c"
+ "b89dae36.2219e"
]
]
},
{
- "id": "6adc30f.1164dd",
+ "id": "738c87bd.a64908",
"type": "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=\"addRRMPolicyRatio ToNRCellDU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 3923.9897117614746,
- "y": 7257.021048545837,
- "z": "d497934d.905b2",
+ "x": 3962.67720413208,
+ "y": 7270.208518028259,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "23c3b850.56c468",
+ "id": "a5001704.618c28",
"type": "execute",
"name": "generate addRRMPolicy.ToNRCellDU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4265.989837646484,
- "y": 6983.677289962769,
- "z": "d497934d.905b2",
+ "x": 4304.67733001709,
+ "y": 6996.86475944519,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "2afd6c1f.fb0e54",
+ "id": "fd68e057.cace2",
"type": "execute",
"name": "Populate idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 3957.979621887207,
- "y": 7118.677293777466,
- "z": "d497934d.905b2",
+ "x": 3996.6671142578125,
+ "y": 7131.864763259888,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "e3458dd5.13749",
+ "id": "3d3b8ccb.697394",
"type": "execute",
"name": "Populate idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3950.979621887207,
- "y": 7172.677295684814,
- "z": "d497934d.905b2",
+ "x": 3989.6671142578125,
+ "y": 7185.864765167236,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "134027b6.de0508",
+ "id": "2c341fd9.a1f2a",
"type": "execute",
"name": "Populate id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatioID.NRCellDU`\"/>",
"comments": "",
"outputs": 1,
- "x": 3929.979621887207,
- "y": 7209.677297592163,
- "z": "d497934d.905b2",
+ "x": 3968.6671142578125,
+ "y": 7222.864767074585,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "9afab0d6.63cab",
+ "id": "8e44bb3f.07fc88",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4332.989723205566,
- "y": 7323.010634422302,
- "z": "d497934d.905b2",
+ "x": 4371.677215576172,
+ "y": 7336.198103904724,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "45f8a9f3.164f88"
+ "78ce529c.b5eb4c"
]
]
},
{
- "id": "262c6360.07351c",
+ "id": "b89dae36.2219e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4333.989791870117,
- "y": 7602.010391950607,
- "z": "d497934d.905b2",
+ "x": 4372.677284240723,
+ "y": 7615.197861433029,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "f6c6af2a.2de24"
+ "e97ab652.68dad8"
]
]
},
{
- "id": "45f8a9f3.164f88",
+ "id": "78ce529c.b5eb4c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4702.9897537231445,
- "y": 7271.01025390625,
- "z": "d497934d.905b2",
+ "x": 4741.67724609375,
+ "y": 7284.197723388672,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "933ba440.78bac8",
- "b92d963e.6a0b38"
+ "21ed8761.906908",
+ "b1d10830.075248"
]
]
},
{
- "id": "f6c6af2a.2de24",
+ "id": "e97ab652.68dad8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4513.989547729492,
- "y": 7599.010391950607,
- "z": "d497934d.905b2",
+ "x": 4552.677040100098,
+ "y": 7612.197861433029,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "55334e62.47bc5"
+ "e1713853.eb6908"
]
]
},
{
- "id": "933ba440.78bac8",
+ "id": "21ed8761.906908",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding RRM Policy\" />",
"comments": "",
- "x": 4824.9897537231445,
- "y": 7326.0107421875,
- "z": "d497934d.905b2",
+ "x": 4863.67724609375,
+ "y": 7339.198211669922,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "55334e62.47bc5",
+ "id": "e1713853.eb6908",
"type": "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=\"addRRMPolicyRatio to NRCELLDU Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4662.989849090576,
- "y": 7625.010584592819,
- "z": "d497934d.905b2",
+ "x": 4701.677341461182,
+ "y": 7638.198054075241,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "de32e030.969f2",
+ "id": "78b72f70.df293",
"type": "execute",
"name": "generate RRMPolicy Ratio URL ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4457.979553222656,
- "y": 7031.677599906921,
- "z": "d497934d.905b2",
+ "x": 4496.667045593262,
+ "y": 7044.865069389343,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "c1e5d096.06911",
+ "id": "d91e9481.d88018",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4152.979496002197,
- "y": 7059.677308082581,
- "z": "d497934d.905b2",
+ "x": 4191.666988372803,
+ "y": 7072.864777565002,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "de32e030.969f2",
- "5b32088a.6f3dd8"
+ "78b72f70.df293",
+ "bf8a823c.8747d"
]
]
},
{
- "id": "5b32088a.6f3dd8",
+ "id": "bf8a823c.8747d",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4394.979530334473,
- "y": 7093.677247047424,
- "z": "d497934d.905b2",
+ "x": 4433.667022705078,
+ "y": 7106.864716529846,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "c028c0b6.3e82e",
+ "id": "91afe5ee.e5d078",
"type": "comment",
"name": "Connect to RRM P{olicy Ratio",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3990.9799423217773,
- "y": 7349.010633945465,
- "z": "d497934d.905b2",
+ "x": 4029.667434692383,
+ "y": 7362.198103427887,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "6ec89fec.356c3",
+ "id": "12595c79.e5ffd4",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2161.000289916992,
- "y": 5578.689361572266,
- "z": "d497934d.905b2",
+ "x": 2199.6877822875977,
+ "y": 5591.8768310546875,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "e55f600e.8bfe9",
- "2f1529ef.cd1e36",
- "a23b0f22.80419",
- "3734ae81.e94062",
- "19f19028.622a5",
- "255fdc18.108bc4",
- "1cd94a41.d15706",
- "5ce82acb.805884",
- "20b95cc1.ef7f24",
- "c3e2d57f.a357c8",
- "432c2b41.ac7a94"
+ "a9fc9cb9.5e7e7",
+ "7ed57e69.91b45",
+ "2737179d.208e58",
+ "c754692b.16ebf8",
+ "d4c104c7.d53b38",
+ "34c9e22.b0a7c1e",
+ "a8816efe.70be4",
+ "503469f8.a36558",
+ "b2653495.ee3a68",
+ "c8829055.def5d",
+ "86314876.701b88"
]
]
},
{
- "id": "2829190e.69f956",
+ "id": "949e516.74f10b",
"type": "execute",
"name": "cellDUListEntries-nFType",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nFType' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].nFType'`\" />",
"comments": "",
"outputs": 1,
- "x": 3892.9999771118164,
- "y": 6087.010416984558,
- "z": "d497934d.905b2",
+ "x": 3931.687469482422,
+ "y": 6100.19788646698,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "2ccf6ad5.30cf26",
+ "id": "384dc047.829b8",
"type": "set",
"name": "set rrmPolicyDedicatedRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='10' />",
"comments": "",
- "x": 3880.0000076293945,
- "y": 5792.1318359375,
- "z": "d497934d.905b2",
+ "x": 3918.6875,
+ "y": 5805.319305419922,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "79b1eafb.3584c4",
+ "id": "cd351bf8.951728",
"type": "set",
"name": "set rrmPolicyDedicatedRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='20' />",
"comments": "",
- "x": 3872.999931335449,
- "y": 5839.131802558899,
- "z": "d497934d.905b2",
+ "x": 3911.6874237060547,
+ "y": 5852.319272041321,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "e55f600e.8bfe9",
+ "id": "a9fc9cb9.5e7e7",
"type": "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": 2294.0001068115234,
- "y": 5887.132964134216,
- "z": "d497934d.905b2",
+ "x": 2332.687599182129,
+ "y": 5900.320433616638,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "aed9de5.eac592",
+ "id": "6ff3ec5.6618514",
"type": "block",
"name": "CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1601.9895095825195,
- "y": 1982.3438720703125,
- "z": "d497934d.905b2",
+ "x": 1640.677001953125,
+ "y": 1995.5313415527344,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "1bbe11d0.1570be",
- "7c73631a.b97c5c",
- "d9feed5.97bfd1",
- "5ec4d4ff.08ef3c"
+ "dca924ce.cf3b88",
+ "13149dbf.08acd2",
+ "90e74ebf.2438f",
+ "afae25e6.704988"
]
]
},
{
- "id": "b7f242b0.c99ec",
+ "id": "38695b2f.9cf444",
"type": "block",
"name": "Add RRM Policy Ratio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3073.989688873291,
- "y": 3081.343903541565,
- "z": "d497934d.905b2",
+ "x": 3112.6771812438965,
+ "y": 3094.531373023987,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "8ae32e22.93b21",
- "b29f5b73.297458",
- "30e0e8f8.8b19e8",
- "dbaf76b3.c55888",
- "f2533c31.135a",
- "69823b70.6eec94",
- "542273f4.1abf4c"
+ "9335dca3.45bd6",
+ "f3fb275c.f8fdd8",
+ "d0126428.24a5c8",
+ "7a45049.92618fc",
+ "6d9e0bbf.a1c084",
+ "bbf33189.fcb8c",
+ "9eacc78.b4d3538"
]
]
},
{
- "id": "2869252b.c4e08a",
+ "id": "a4761f36.1c551",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3086.989688873291,
- "y": 2343.344207763672,
- "z": "d497934d.905b2",
+ "x": 3125.6771812438965,
+ "y": 2356.5316772460938,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "713c77dd.dd8288",
- "80559bb2.817648"
+ "64f10df2.771e84",
+ "a8e816d1.35e078"
]
]
},
{
- "id": "713c77dd.dd8288",
+ "id": "64f10df2.771e84",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3276.9896697998047,
- "y": 2313.343991279602,
- "z": "d497934d.905b2",
+ "x": 3315.67716217041,
+ "y": 2326.531460762024,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "6410fafe.aa4124"
+ "41d16d53.0c7bc4"
]
]
},
{
- "id": "80559bb2.817648",
+ "id": "a8e816d1.35e078",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3256.989643096924,
- "y": 2392.3440828323364,
- "z": "d497934d.905b2",
+ "x": 3295.6771354675293,
+ "y": 2405.5315523147583,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "f4ba2ec5.4ecea"
+ "f17ca77b.126288"
]
]
},
{
- "id": "7c73631a.b97c5c",
+ "id": "13149dbf.08acd2",
"type": "for",
"name": "For CUCPList Entries",
"xml": "<for index='id2' start='0' end='`$tmp.CUCPListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 1871.989501953125,
- "y": 1977.343994140625,
- "z": "d497934d.905b2",
+ "x": 1910.6769943237305,
+ "y": 1990.5314636230469,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "198ec35f.11fc9d",
- "a641ea09.f154a8",
- "b5416b52.145cb8",
- "ecea00c1.1a24c",
- "4c529776.696d88",
- "3bbd0319.fa4bac"
+ "3e090a8.0bf96f6",
+ "394741f5.1610ae",
+ "ac6edb03.ebd528",
+ "36a33a87.4a36c6",
+ "2ba5e1ca.ee1a1e",
+ "f6a71d42.4e0ed"
]
]
},
{
- "id": "1bbe11d0.1570be",
+ "id": "dca924ce.cf3b88",
"type": "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=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPListEntries`\"/>",
"comments": "",
"outputs": 1,
- "x": 1786.9896354675293,
- "y": 1885.344129562378,
- "z": "d497934d.905b2",
+ "x": 1825.6771278381348,
+ "y": 1898.5315990447998,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "d9feed5.97bfd1",
+ "id": "90e74ebf.2438f",
"type": "execute",
"name": "set CUCP Level parms",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1741.989631652832,
- "y": 1847.343641281128,
- "z": "d497934d.905b2",
+ "x": 1780.6771240234375,
+ "y": 1860.5311107635498,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "bb04b35a.8f89f",
+ "id": "c0801b19.dc2eb8",
"type": "execute",
"name": "cellCUList Entries",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].cellCUList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 2551.989288330078,
- "y": 1695.3442499637604,
- "z": "d497934d.905b2",
+ "x": 2590.6767807006836,
+ "y": 1708.5317194461823,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "198ec35f.11fc9d",
+ "id": "3e090a8.0bf96f6",
"type": "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=\"Numberof cellCU of Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellCUListEntries`\"/>\n<parameter name=\"field3\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBCUCPList.gNBId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.gNBCUCPList.gNBIdLengthh`\"/>\n<parameter name=\"field6\" value=\"`$tmp.gNBCUCPList.nFType`\"/>\n<parameter name=\"field7\" value=\"`$tmp.gNBCUCPList.pLMNId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2169.989715576172,
- "y": 1850.344069480896,
- "z": "d497934d.905b2",
+ "x": 2208.6772079467773,
+ "y": 1863.5315389633179,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "a641ea09.f154a8",
+ "id": "394741f5.1610ae",
"type": "block",
"name": "cellCUCPList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2218.9895095825195,
- "y": 1798.3439331054688,
- "z": "d497934d.905b2",
+ "x": 2257.677001953125,
+ "y": 1811.5314025878906,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "bb04b35a.8f89f",
- "1ff92341.4cb28d",
- "46d10bff.8c6bc4",
- "40cb6034.85fcb",
- "5d6ecab7.8bd5f4",
- "4f1bff77.b8f89"
+ "c0801b19.dc2eb8",
+ "80872174.c153d",
+ "c8c3cee2.3f217",
+ "4b4ccc06.c4c234",
+ "66ee23cb.5bd3cc",
+ "fe65a996.9bb588"
]
]
},
{
- "id": "1ff92341.4cb28d",
+ "id": "80872174.c153d",
"type": "execute",
"name": "gNBCUCPList.gNBCUName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.gNBCUName' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].gNBCUName'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2580.989326477051,
- "y": 1738.3438730239868,
- "z": "d497934d.905b2",
+ "x": 2619.6768188476562,
+ "y": 1751.5313425064087,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "46d10bff.8c6bc4",
+ "id": "c8c3cee2.3f217",
"type": "execute",
"name": "gNBCUCPList-gNBId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.gNBId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].gNBId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2595.9896278381348,
- "y": 1787.3439950942993,
- "z": "d497934d.905b2",
+ "x": 2634.6771202087402,
+ "y": 1800.5314645767212,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "40cb6034.85fcb",
+ "id": "4b4ccc06.c4c234",
"type": "execute",
"name": "gNBCUCPList-gNBIdLength",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.gNBIdLength' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].gNBIdLength'`\" />",
"comments": "",
"outputs": 1,
- "x": 2621.9895095825195,
- "y": 1836.3441162109375,
- "z": "d497934d.905b2",
+ "x": 2660.677001953125,
+ "y": 1849.5315856933594,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "5d6ecab7.8bd5f4",
+ "id": "66ee23cb.5bd3cc",
"type": "execute",
"name": "gNBCUCPList-pLMNId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.pLMNId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].pLMNId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2634.9895095825195,
- "y": 1928.3439950942993,
- "z": "d497934d.905b2",
+ "x": 2673.677001953125,
+ "y": 1941.5314645767212,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "b5416b52.145cb8",
+ "id": "ac6edb03.ebd528",
"type": "for",
"name": "For List of Cells ",
"xml": "<for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 2294.9794998168945,
- "y": 2207.343994140625,
- "z": "d497934d.905b2",
+ "x": 2333.6669921875,
+ "y": 2220.531463623047,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "d34a49e6.30e3b8",
- "b31de071.d9ec2"
+ "815e12b6.09871",
+ "11592c65.f83e64"
]
]
},
{
- "id": "bb7962a6.f1f59",
+ "id": "9457acbe.1a0a8",
"type": "block",
"name": "pLMNInfoList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3248.9792518615723,
- "y": 2072.3439025878906,
- "z": "d497934d.905b2",
+ "x": 3287.6667442321777,
+ "y": 2085.5313720703125,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "c4192b94.7e3178"
+ "4eff6cee.3d0f64"
]
]
},
{
- "id": "c4192b94.7e3178",
+ "id": "4eff6cee.3d0f64",
"type": "execute",
"name": "pLMNInfoListEntries",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].cellCUList[' + $id3 + '].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 3513.9792671203613,
- "y": 2050.3438930511475,
- "z": "d497934d.905b2",
+ "x": 3552.666759490967,
+ "y": 2063.5313625335693,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "f0efed1f.2e476",
+ "id": "5c2fb30d.b20c7c",
"type": "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=\"Numberof pLMNInfoList Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoListEntries`\"/>\n<parameter name=\"field3\" value=\"cellLocalId from Relevant cells \"/>\n<parameter name=\"field4\" value=\"`$tmp.cellLocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3215.9792671203613,
- "y": 2130.3438930511475,
- "z": "d497934d.905b2",
+ "x": 3254.666759490967,
+ "y": 2143.5313625335693,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "7c862c91.655a84",
+ "id": "29ccde77.0e44f2",
"type": "for",
"name": "For pLMNInfoListEntries",
"xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3246.9792671203613,
- "y": 2228.3438930511475,
- "z": "d497934d.905b2",
+ "x": 3285.666759490967,
+ "y": 2241.5313625335693,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "b33a4446.f905e8"
+ "b91b7b4d.300488"
]
]
},
{
- "id": "ecea00c1.1a24c",
+ "id": "36a33a87.4a36c6",
"type": "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=\"MCC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"MNC \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"Calculated uLThptPerSlice \"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Calculated dLThptPerSlice \"/>\n<parameter name=\"field8\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field9\" value=\"Calculated maxNumberOfConns \"/>\n<parameter name=\"field10\" value=\"`$tmp.maxNumberOfConns`\"/>",
"comments": "",
"outputs": 1,
- "x": 2165.979274749756,
- "y": 1916.3437943458557,
- "z": "d497934d.905b2",
+ "x": 2204.6667671203613,
+ "y": 1929.5312638282776,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "b33a4446.f905e8",
+ "id": "b91b7b4d.300488",
"type": "block",
"name": "pLMNInfoList Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3466.9792671203613,
- "y": 2224.3438930511475,
- "z": "d497934d.905b2",
+ "x": 3505.666759490967,
+ "y": 2237.5313625335693,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "6fb19461.544cac",
- "8703a3b3.58a6c"
+ "a2d6da5b.3ae1e8",
+ "ffc4e90.df7dc18"
]
]
},
{
- "id": "6fb19461.544cac",
+ "id": "a2d6da5b.3ae1e8",
"type": "execute",
"name": "sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $id3 + '].pLMNInfoList[' + $id4 + '].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 3640.979320526123,
- "y": 2180.3438930511475,
- "z": "d497934d.905b2",
+ "x": 3679.6668128967285,
+ "y": 2193.5313625335693,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "31ddcddb.7b0972",
+ "id": "eadd0de2.36656",
"type": "comment",
"name": "Check if sNSSAI already exists in YANG tree",
"info": "This needs more work. If sNSSAI already exists in the YANG tree, need to patch the existing pLMNInfoList entry",
"comments": "",
- "x": 3318.9792671203613,
- "y": 2179.3438930511475,
- "z": "d497934d.905b2",
+ "x": 3357.666759490967,
+ "y": 2192.5313625335693,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "8703a3b3.58a6c",
+ "id": "ffc4e90.df7dc18",
"type": "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=\"sNSSAI from RAN to check if already exists \"/>\n<parameter name=\"field2\" value=\"`$tmp.fromRAN.sNSSAI`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3643.9792671203613,
- "y": 2244.3438930511475,
- "z": "d497934d.905b2",
+ "x": 3682.666759490967,
+ "y": 2257.5313625335693,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "8387ee6b.302ea",
+ "id": "3ea41bb7.cbb074",
"type": "execute",
"name": "cellLocalId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].cellCUList[' + $id3 + '].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3490.979259490967,
- "y": 2110.3438777923584,
- "z": "d497934d.905b2",
+ "x": 3529.6667518615723,
+ "y": 2123.5313472747803,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "554e12a4.3f6c1c",
+ "id": "8a3e7f77.42275",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PLMNInfoList Entry Add to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3425.990493774414,
- "y": 2678.677459716797,
- "z": "d497934d.905b2",
+ "x": 3464.6779861450195,
+ "y": 2691.8649291992188,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "1dd7fd97.1efc52",
+ "id": "8c000271.a879b",
"type": "block",
"name": "Add PLMNInfoList Entry",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3132.989360809326,
- "y": 2619.687963485718,
- "z": "d497934d.905b2",
+ "x": 3171.6768531799316,
+ "y": 2632.8754329681396,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "554e12a4.3f6c1c",
- "692a820e.16fd7c",
- "e78501d5.977a4",
- "a1a3fa44.cadd38",
- "6ac4325a.5b11ac",
- "9ab56ca4.0accb",
- "2869252b.c4e08a",
- "723d5c75.d6f0b4"
+ "8a3e7f77.42275",
+ "5927378d.939d58",
+ "434c52b8.30bbac",
+ "55eff8af.8f9c28",
+ "9e070b11.ab4d88",
+ "ecfa804e.3731c",
+ "a4761f36.1c551",
+ "5d4cbeb7.88345"
]
]
},
{
- "id": "723d5c75.d6f0b4",
+ "id": "5d4cbeb7.88345",
"type": "execute",
"name": "add PLMNInfoListEntry ToNRCellCU using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"PLMNInfoListEntry-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3534.9900512695312,
- "y": 2758.6879234313965,
- "z": "d497934d.905b2",
+ "x": 3573.6775436401367,
+ "y": 2771.8753929138184,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "31f79983.db8726",
- "fd074eac.8ed4f"
+ "1d18d8e0.adbca7",
+ "cb5c5e75.b19fc"
]
]
},
{
- "id": "692a820e.16fd7c",
+ "id": "5927378d.939d58",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add PLMNInfoListEntry ToNRCellCU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 3418.9896125793457,
- "y": 2626.6880588531494,
- "z": "d497934d.905b2",
+ "x": 3457.677104949951,
+ "y": 2639.8755283355713,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "6410fafe.aa4124",
+ "id": "41d16d53.0c7bc4",
"type": "execute",
"name": "generate addPLMNInfoListEntry.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3561.9895973205566,
- "y": 2313.3441410064697,
- "z": "d497934d.905b2",
+ "x": 3600.677089691162,
+ "y": 2326.5316104888916,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "e78501d5.977a4",
+ "id": "434c52b8.30bbac",
"type": "execute",
"name": "Populate idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3443.979389190674,
- "y": 2449.3439631462097,
- "z": "d497934d.905b2",
+ "x": 3482.6668815612793,
+ "y": 2462.5314326286316,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "a1a3fa44.cadd38",
+ "id": "55eff8af.8f9c28",
"type": "execute",
"name": "Populate idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3431.9793853759766,
- "y": 2495.344024181366,
- "z": "d497934d.905b2",
+ "x": 3470.666877746582,
+ "y": 2508.531493663788,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "6ac4325a.5b11ac",
+ "id": "9e070b11.ab4d88",
"type": "execute",
"name": "Populate mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3418.979387283325,
- "y": 2536.3440856933594,
- "z": "d497934d.905b2",
+ "x": 3457.6668796539307,
+ "y": 2549.5315551757812,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "9ab56ca4.0accb",
+ "id": "ecfa804e.3731c",
"type": "execute",
"name": "Populate mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3426.9793853759766,
- "y": 2577.343963623047,
- "z": "d497934d.905b2",
+ "x": 3465.666877746582,
+ "y": 2590.5314331054688,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "31f79983.db8726",
+ "id": "1d18d8e0.adbca7",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3650.9897117614746,
- "y": 2556.6772661209106,
- "z": "d497934d.905b2",
+ "x": 3689.67720413208,
+ "y": 2569.8647356033325,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "22a193dd.7fa3cc"
+ "c5269c26.ffbc9"
]
]
},
{
- "id": "fd074eac.8ed4f",
+ "id": "cb5c5e75.b19fc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3943.9897537231445,
- "y": 2778.677357673645,
- "z": "d497934d.905b2",
+ "x": 3982.67724609375,
+ "y": 2791.864827156067,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "860c66b3.cf9bc8"
+ "56b64eb2.42618"
]
]
},
{
- "id": "22a193dd.7fa3cc",
+ "id": "c5269c26.ffbc9",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3784.9897117614746,
- "y": 2563.677388191223,
- "z": "d497934d.905b2",
+ "x": 3823.67720413208,
+ "y": 2576.864857673645,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "17c1b4c.a1fc84b",
- "b92d963e.6a0b38"
+ "b3033a41.743ed8",
+ "b1d10830.075248"
]
]
},
{
- "id": "860c66b3.cf9bc8",
+ "id": "56b64eb2.42618",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4118.989433288574,
- "y": 2775.677357673645,
- "z": "d497934d.905b2",
+ "x": 4157.67692565918,
+ "y": 2788.864827156067,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "208b0550.d5eb0a"
+ "efa2ca14.3ff558"
]
]
},
{
- "id": "17c1b4c.a1fc84b",
+ "id": "b3033a41.743ed8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding PLMNInfoList Entry to NRCellCU\" />",
"comments": "",
- "x": 3930.989387512207,
- "y": 2663.6774682998657,
- "z": "d497934d.905b2",
+ "x": 3969.6768798828125,
+ "y": 2676.8649377822876,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "208b0550.d5eb0a",
+ "id": "efa2ca14.3ff558",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add to NRCELLCU Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4273.990085601807,
- "y": 2767.677683353424,
- "z": "d497934d.905b2",
+ "x": 4312.677577972412,
+ "y": 2780.865152835846,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "5ec4d4ff.08ef3c",
+ "id": "afae25e6.704988",
"type": "set",
"name": "Calculate RRM Parms",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`' />\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />",
"comments": "",
- "x": 1856.9792213439941,
- "y": 1932.3441314697266,
- "z": "d497934d.905b2",
+ "x": 1895.6667137145996,
+ "y": 1945.5316009521484,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "c8df756d.585858",
+ "id": "e3534b46.dbb5e8",
"type": "execute",
"name": "generate addPLMNInfoListEntry.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3756.9793243408203,
- "y": 2357.34402179718,
- "z": "d497934d.905b2",
+ "x": 3795.666816711426,
+ "y": 2370.531491279602,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "f4ba2ec5.4ecea",
+ "id": "f17ca77b.126288",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3449.979293823242,
- "y": 2387.3440828323364,
- "z": "d497934d.905b2",
+ "x": 3488.6667861938477,
+ "y": 2400.5315523147583,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "c8df756d.585858",
- "3c827602.91e4ca"
+ "e3534b46.dbb5e8",
+ "aed19f7a.4e233"
]
]
},
{
- "id": "3c827602.91e4ca",
+ "id": "aed19f7a.4e233",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3700.979724884033,
- "y": 2410.3442153930664,
- "z": "d497934d.905b2",
+ "x": 3739.6672172546387,
+ "y": 2423.5316848754883,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "d26df034.d92bd",
+ "id": "56dbce13.96d8",
"type": "block",
"name": "Get Cells List in TA",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1517.979476928711,
- "y": 481.34417152404785,
- "z": "d497934d.905b2",
+ "x": 1556.6669692993164,
+ "y": 494.5316410064697,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "34fd6db4.f03c12",
- "f77f2223.e81aa",
- "a07040c8.446d1"
+ "13bd29d8.5a4c26",
+ "8027218b.03a2d",
+ "61e369e5.906d38"
]
]
},
{
- "id": "34fd6db4.f03c12",
+ "id": "13bd29d8.5a4c26",
"type": "execute",
"name": "generate getListOfCells URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getListOfCells`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getListOfCells.url\"/>\n <parameter name=\"target\" value=\"{trackingArea}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.trackingArea`\"/>",
"comments": "",
"outputs": 1,
- "x": 1773.9795989990234,
- "y": 341.3441104888916,
- "z": "d497934d.905b2",
+ "x": 1812.667091369629,
+ "y": 354.5315799713135,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "f77f2223.e81aa",
+ "id": "8027218b.03a2d",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB Get getListOfCells for tracking area\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getListOfCells.url`\" />\n<parameter name='field3' value=\"`$tmp.payload.trackingArea`\" />",
"comments": "",
"outputs": 1,
- "x": 1798.9795989990234,
- "y": 443.3443241119385,
- "z": "d497934d.905b2",
+ "x": 1837.667091369629,
+ "y": 456.53179359436035,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "a07040c8.446d1",
+ "id": "61e369e5.906d38",
"type": "execute",
"name": "Get ListOfCells for TrackingArea",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getListOfCells.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getListofCells-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
"comments": "",
"outputs": 1,
- "x": 1800.9795989990234,
- "y": 526.3442249298096,
- "z": "d497934d.905b2",
+ "x": 1839.667091369629,
+ "y": 539.5316944122314,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "aba931f9.a1483",
- "783efae8.56dd34"
+ "e17d3c01.908be",
+ "b3f0fa67.29eee8"
]
]
},
{
- "id": "aba931f9.a1483",
+ "id": "e17d3c01.908be",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2077.979293823242,
- "y": 460.3443088531494,
- "z": "d497934d.905b2",
+ "x": 2116.6667861938477,
+ "y": 473.5317783355713,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "251f39ed.ec1706"
+ "76085849.956628"
]
]
},
{
- "id": "783efae8.56dd34",
+ "id": "b3f0fa67.29eee8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2026.9792022705078,
- "y": 606.3442249298096,
- "z": "d497934d.905b2",
+ "x": 2065.6666946411133,
+ "y": 619.5316944122314,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "fb1f7b4c.820e38"
+ "b8b9a0fa.ca06c"
]
]
},
{
- "id": "251f39ed.ec1706",
+ "id": "76085849.956628",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2452.979263305664,
- "y": 453.3442630767822,
- "z": "d497934d.905b2",
+ "x": 2491.6667556762695,
+ "y": 466.5317325592041,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "ae1728e0.7ff3c8",
- "d853f303.949ce",
- "b92d963e.6a0b38"
+ "36a58df0.f17ed2",
+ "10ac2eac.3e2841",
+ "b1d10830.075248"
]
]
},
{
- "id": "fb1f7b4c.820e38",
+ "id": "b8b9a0fa.ca06c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2172.979019165039,
- "y": 584.3443470001221,
- "z": "d497934d.905b2",
+ "x": 2211.6665115356445,
+ "y": 597.531816482544,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "f7f28f45.fdf9f",
- "df4573e1.e8eb1",
- "a0a8859d.b71798"
+ "73aeebfb.f154f4",
+ "a9d16f95.fd651",
+ "2ad6acbd.2fabe4"
]
]
},
{
- "id": "ae1728e0.7ff3c8",
+ "id": "36a58df0.f17ed2",
"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": 2388.979019165039,
- "y": 531.3442478179932,
- "z": "d497934d.905b2",
+ "x": 2427.6665115356445,
+ "y": 544.531717300415,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "f7f28f45.fdf9f",
+ "id": "73aeebfb.f154f4",
"type": "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 Obtained List of Cells from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getListofCells-configdb-response._length`\"/>\n<parameter name=\"field3\" value=\"List of Cells in the Tracking Area Relevant for RAN Slice Instantiation \"/>",
"comments": "",
"outputs": 1,
- "x": 2332.978988647461,
- "y": 579.3442554473877,
- "z": "d497934d.905b2",
+ "x": 2371.6664810180664,
+ "y": 592.5317249298096,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "d853f303.949ce",
+ "id": "10ac2eac.3e2841",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2432.9793548583984,
- "y": 391.45530891418457,
- "z": "d497934d.905b2",
+ "x": 2471.666847229004,
+ "y": 404.64277839660645,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "df4573e1.e8eb1",
+ "id": "a9d16f95.fd651",
"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": 2352.757308959961,
- "y": 723.3442859649658,
- "z": "d497934d.905b2",
+ "x": 2391.4448013305664,
+ "y": 736.5317554473877,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "44a95a88.3b0a54",
+ "id": "6b88aba6.7fe364",
"type": "comment",
"name": "Connect to AddPLMNInfoList Entry",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3430.9790840148926,
- "y": 2717.6771812438965,
- "z": "d497934d.905b2",
+ "x": 3469.666576385498,
+ "y": 2730.8646507263184,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "8ae32e22.93b21",
+ "id": "9335dca3.45bd6",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3285.9790840148926,
- "y": 2875.010555267334,
- "z": "d497934d.905b2",
+ "x": 3324.666576385498,
+ "y": 2888.198024749756,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "1a790da9.4bc302",
- "c4176ea9.55f36"
+ "f6e9e01c.b2ece",
+ "89c6bbd8.aba4a8"
]
]
},
{
- "id": "1a790da9.4bc302",
+ "id": "f6e9e01c.b2ece",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3480.9791107177734,
- "y": 2835.0104627609253,
- "z": "d497934d.905b2",
+ "x": 3519.666603088379,
+ "y": 2848.197932243347,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "f9a26b5e.b34e28"
+ "30137ea9.9f0302"
]
]
},
{
- "id": "c4176ea9.55f36",
+ "id": "89c6bbd8.aba4a8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3460.9790840148926,
- "y": 2914.0105543136597,
- "z": "d497934d.905b2",
+ "x": 3499.666576385498,
+ "y": 2927.1980237960815,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "7fabc419.68266c"
+ "a913fc61.3c3fe"
]
]
},
{
- "id": "69823b70.6eec94",
+ "id": "bbf33189.fcb8c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3441.9798316955566,
- "y": 3140.3438968658447,
- "z": "d497934d.905b2",
+ "x": 3480.667324066162,
+ "y": 3153.5313663482666,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "542273f4.1abf4c",
+ "id": "9eacc78.b4d3538",
"type": "execute",
"name": "add RRM Policy ToNRCellCU using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3670.9790992736816,
- "y": 3211.3541507720947,
- "z": "d497934d.905b2",
+ "x": 3709.666591644287,
+ "y": 3224.5416202545166,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "7c1fc92f.242628",
- "2921651d.f9f11a"
+ "c8e8a63e.f50a68",
+ "ab3506c9.47f948"
]
]
},
{
- "id": "f2533c31.135a",
+ "id": "6d9e0bbf.a1c084",
"type": "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=\"addRRMPolicyRatio ToNRCellCU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 3433.9790992736816,
- "y": 3096.3541507720947,
- "z": "d497934d.905b2",
+ "x": 3472.666591644287,
+ "y": 3109.5416202545166,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "f9a26b5e.b34e28",
+ "id": "30137ea9.9f0302",
"type": "execute",
"name": "generate addRRMPolicy.ToNRCellDU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3763.9790840148926,
- "y": 2830.0105545520782,
- "z": "d497934d.905b2",
+ "x": 3802.666576385498,
+ "y": 2843.1980240345,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "b29f5b73.297458",
+ "id": "f3fb275c.f8fdd8",
"type": "execute",
"name": "Populate idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3476.9688453674316,
- "y": 2966.0106449127197,
- "z": "d497934d.905b2",
+ "x": 3515.656337738037,
+ "y": 2979.1981143951416,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "30e0e8f8.8b19e8",
+ "id": "d0126428.24a5c8",
"type": "execute",
"name": "Populate idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3457.9688453674316,
- "y": 3005.0104007720947,
- "z": "d497934d.905b2",
+ "x": 3496.656337738037,
+ "y": 3018.1978702545166,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "dbaf76b3.c55888",
+ "id": "7a45049.92618fc",
"type": "execute",
"name": "Populate id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatioID.NRCellCU`\"/>",
"comments": "",
"outputs": 1,
- "x": 3451.9688453674316,
- "y": 3053.0106449127197,
- "z": "d497934d.905b2",
+ "x": 3490.656337738037,
+ "y": 3066.1981143951416,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "7c1fc92f.242628",
+ "id": "c8e8a63e.f50a68",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3721.9792137145996,
- "y": 3019.3440141677856,
- "z": "d497934d.905b2",
+ "x": 3760.666706085205,
+ "y": 3032.5314836502075,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "58d8a81c.7384c8"
+ "8fce53d8.97b78"
]
]
},
{
- "id": "2921651d.f9f11a",
+ "id": "ab3506c9.47f948",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3958.9793434143066,
- "y": 3183.3438968658447,
- "z": "d497934d.905b2",
+ "x": 3997.666835784912,
+ "y": 3196.5313663482666,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "7f2d7c1e.29e664"
+ "8ecd0b54.ddcb28"
]
]
},
{
- "id": "58d8a81c.7384c8",
+ "id": "8fce53d8.97b78",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3869.9792137145996,
- "y": 3046.3440141677856,
- "z": "d497934d.905b2",
+ "x": 3908.666706085205,
+ "y": 3059.5314836502075,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "d852f7ff.760d38",
- "b92d963e.6a0b38"
+ "11a4fc22.3da314",
+ "b1d10830.075248"
]
]
},
{
- "id": "7f2d7c1e.29e664",
+ "id": "8ecd0b54.ddcb28",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4122.978855133057,
- "y": 3188.3438968658447,
- "z": "d497934d.905b2",
+ "x": 4161.666347503662,
+ "y": 3201.5313663482666,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "783f25bf.09bc7c"
+ "879e3e32.676fa"
]
]
},
{
- "id": "d852f7ff.760d38",
+ "id": "11a4fc22.3da314",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding RRMPolicyr\" />",
"comments": "",
- "x": 4008.9789695739746,
- "y": 3118.3440141677856,
- "z": "d497934d.905b2",
+ "x": 4047.66646194458,
+ "y": 3131.5314836502075,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "783f25bf.09bc7c",
+ "id": "879e3e32.676fa",
"type": "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=\"addRRMPolicyRatio to NRCELLCU Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4222.979343414307,
- "y": 3113.3441410064697,
- "z": "d497934d.905b2",
+ "x": 4261.666835784912,
+ "y": 3126.5316104888916,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "be73158.097f3e8",
+ "id": "1eff2712.6c5d49",
"type": "execute",
"name": "generate RRMPolicy Ratio URL ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3959.9687995910645,
- "y": 2885.010545730591,
- "z": "d497934d.905b2",
+ "x": 3998.65629196167,
+ "y": 2898.1980152130127,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "7fabc419.68266c",
+ "id": "a913fc61.3c3fe",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3653.968734741211,
- "y": 2909.0105543136597,
- "z": "d497934d.905b2",
+ "x": 3692.6562271118164,
+ "y": 2922.1980237960815,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "be73158.097f3e8",
- "51c6b04b.c337c"
+ "1eff2712.6c5d49",
+ "6f0d53b2.5498dc"
]
]
},
{
- "id": "51c6b04b.c337c",
+ "id": "6f0d53b2.5498dc",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3896.968807220459,
- "y": 2944.0106048583984,
- "z": "d497934d.905b2",
+ "x": 3935.6562995910645,
+ "y": 2957.1980743408203,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "a5593f16.c35f8",
+ "id": "5a25ed39.1c1e04",
"type": "comment",
"name": "Connect to RRM P{olicy Ratio",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3641.9686012268066,
- "y": 3156.3436527252197,
- "z": "d497934d.905b2",
+ "x": 3680.656093597412,
+ "y": 3169.5311222076416,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "4f1bff77.b8f89",
+ "id": "fe65a996.9bb588",
"type": "execute",
"name": "gNBCUCPList-nFType",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.nFType' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].nFType'`\" />",
"comments": "",
"outputs": 1,
- "x": 2624.9895057678223,
- "y": 1879.3440561294556,
- "z": "d497934d.905b2",
+ "x": 2663.6769981384277,
+ "y": 1892.5315256118774,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "de928869.c1e7e8",
+ "id": "7a5b63bc.bc8eac",
"type": "block",
"name": "CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1880.0207252502441,
- "y": 3567.0887699127197,
- "z": "d497934d.905b2",
+ "x": 1918.7082176208496,
+ "y": 3580.2762393951416,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "84b172e9.3daf1",
- "53aa5592.2d2adc",
- "47010d20.ed82d4",
- "43727527.f1392c"
+ "65b52fa1.e8d33",
+ "3666b58a.81631a",
+ "220480e4.8c61f",
+ "5181ac1d.ed2ff4"
]
]
},
{
- "id": "e8ffe2f3.04ba5",
+ "id": "8ddb5614.3de118",
"type": "block",
"name": "Add RRM Policy Ratio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3242.021011352539,
- "y": 5034.089098215103,
- "z": "d497934d.905b2",
+ "x": 3280.7085037231445,
+ "y": 5047.276567697525,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "5e87f693.cab7a8",
- "fdf481ea.4847c",
- "e2f13558.bc5b98",
- "bb9dae33.ab811",
- "769cf89f.02fe28",
- "d4b288ed.93dcb8"
+ "3379298c.52f936",
+ "76bc8b9a.3f3004",
+ "d3541253.4f9bb",
+ "361fb395.a5791c",
+ "edfdce45.75f4d",
+ "118fcf84.9fd48"
]
]
},
{
- "id": "3969881e.d08988",
+ "id": "bf809c90.42251",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3438.0207481384277,
- "y": 4279.089840888977,
- "z": "d497934d.905b2",
+ "x": 3476.708240509033,
+ "y": 4292.277310371399,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "38101dd3.d42fd2",
- "a37a6f44.647a"
+ "71c9ac87.b33454",
+ "8374849a.f832d8"
]
]
},
{
- "id": "38101dd3.d42fd2",
+ "id": "71c9ac87.b33454",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3679.0207481384277,
- "y": 4211.089841365814,
- "z": "d497934d.905b2",
+ "x": 3717.708240509033,
+ "y": 4224.277310848236,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "c71aad30.6c0c1"
+ "32b24e5c.05a992"
]
]
},
{
- "id": "a37a6f44.647a",
+ "id": "8374849a.f832d8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3660.0208702087402,
- "y": 4305.089718818665,
- "z": "d497934d.905b2",
+ "x": 3698.7083625793457,
+ "y": 4318.277188301086,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "eb17239.35b45e"
+ "f977adf0.37736"
]
]
},
{
- "id": "53aa5592.2d2adc",
+ "id": "3666b58a.81631a",
"type": "for",
"name": "For List of CUUP's",
"xml": "<for index='id2' start='0' end='`$tmp.CUUPListEntries `' >",
"comments": "",
"outputs": 1,
- "x": 2526.0207595825195,
- "y": 3661.089599609375,
- "z": "d497934d.905b2",
+ "x": 2564.708251953125,
+ "y": 3674.277069091797,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "ec22ce5f.397de",
- "4b97ebc2.1d6234",
- "ecbac7e2.cc0a98",
- "97e5d029.51a2b",
- "60db2145.9f086",
- "e8ffe2f3.04ba5",
- "177ca448.e3f69c",
- "5ba2bba8.b87c04"
+ "d2cecf2b.2bb8a",
+ "90d738c0.a94778",
+ "96687382.cb959",
+ "9ce0499f.441d98",
+ "60df4d88.f18d84",
+ "8ddb5614.3de118",
+ "25a1224d.f5effe",
+ "98c42098.224dc"
]
]
},
{
- "id": "84b172e9.3daf1",
+ "id": "65b52fa1.e8d33",
"type": "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=\"getListofCells-configdb-response. \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPListEntries`\"/>",
"comments": "",
"outputs": 1,
- "x": 2949.020610809326,
- "y": 3414.089072227478,
- "z": "d497934d.905b2",
+ "x": 2987.7081031799316,
+ "y": 3427.2765417099,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "47010d20.ed82d4",
+ "id": "220480e4.8c61f",
"type": "execute",
"name": "set CUUP Level parms",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 2952.0205154418945,
- "y": 3371.0891551971436,
- "z": "d497934d.905b2",
+ "x": 2990.7080078125,
+ "y": 3384.2766246795654,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "ec22ce5f.397de",
+ "id": "d2cecf2b.2bb8a",
"type": "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=\"CUCP Details \"/>\n<parameter name=\"field2\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.gNBCUUPList.gNBId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBCUUPList.gNBIdLength`\"/>\n<parameter name=\"field5\" value=\"`$tmp.gNBCUUPList.pLMNInfoList_length`\"/>\n<parameter name=\"field6\" value=\"`$tmp.payload.pLMNId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3436.0205154418945,
- "y": 3827.0896434783936,
- "z": "d497934d.905b2",
+ "x": 3474.7080078125,
+ "y": 3840.2771129608154,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "4b97ebc2.1d6234",
+ "id": "90d738c0.a94778",
"type": "block",
"name": "cellCUUPList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3402.020652770996,
- "y": 3756.0892741680145,
- "z": "d497934d.905b2",
+ "x": 3440.7081451416016,
+ "y": 3769.2767436504364,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "578873e1.2282ec",
- "9922e2c.11ddf2",
- "8a037ba8.a80f58",
- "b6b3c44a.54ff68"
+ "9c1c4dbc.6f1aa",
+ "8ad1610c.a953",
+ "d9417f9f.3f6f5",
+ "e771c65b.e15c38"
]
]
},
{
- "id": "578873e1.2282ec",
+ "id": "9c1c4dbc.6f1aa",
"type": "execute",
"name": "gNBCUUPList.gNBCUUPId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUUPList.gNBCUUPId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].gNBCUUPId'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3839.0207595825195,
- "y": 3675.089111328125,
- "z": "d497934d.905b2",
+ "x": 3877.708251953125,
+ "y": 3688.276580810547,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "9922e2c.11ddf2",
+ "id": "8ad1610c.a953",
"type": "execute",
"name": "gNBCUUPList-gNBId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUUPList.gNBId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].gNBId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3860.0208473205566,
- "y": 3770.0892581939697,
- "z": "d497934d.905b2",
+ "x": 3898.708339691162,
+ "y": 3783.2767276763916,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "8a037ba8.a80f58",
+ "id": "d9417f9f.3f6f5",
"type": "execute",
"name": "gNBCUUPList-gNBIdLength",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUUPList.gNBIdLength' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].gNBIdLength'`\" />",
"comments": "",
"outputs": 1,
- "x": 3878.0206146240234,
- "y": 3814.0891783237457,
- "z": "d497934d.905b2",
+ "x": 3916.708106994629,
+ "y": 3827.2766478061676,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "97e5d029.51a2b",
+ "id": "9ce0499f.441d98",
"type": "for",
"name": "For pLMNInfoListEntries",
"xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3441.0103645324707,
- "y": 4065.089268922806,
- "z": "d497934d.905b2",
+ "x": 3479.697856903076,
+ "y": 4078.2767384052277,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "8ddac3ed.7df8a"
+ "dbfbeb43.7417f8"
]
]
},
{
- "id": "ecbac7e2.cc0a98",
+ "id": "96687382.cb959",
"type": "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=\"MCC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"MNC \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"Calculated uLThptPerSlice \"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Calculated dLThptPerSlice \"/>\n<parameter name=\"field8\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3441.010486602783,
- "y": 3919.089146375656,
- "z": "d497934d.905b2",
+ "x": 3479.6979789733887,
+ "y": 3932.276615858078,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "8ddac3ed.7df8a",
+ "id": "dbfbeb43.7417f8",
"type": "block",
"name": "pLMNInfoList Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3692.010540008545,
- "y": 4064.089220046997,
- "z": "d497934d.905b2",
+ "x": 3730.6980323791504,
+ "y": 4077.276689529419,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "9b680d2.a3b20f",
- "3db6bbbf.14d2c4"
+ "5f513a26.25b6f4",
+ "24e06964.c1f256"
]
]
},
{
- "id": "9b680d2.a3b20f",
+ "id": "5f513a26.25b6f4",
"type": "execute",
"name": "sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].pLMNInfoList[' + $id3 + '].sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 3906.0105056762695,
- "y": 4015.0893421173096,
- "z": "d497934d.905b2",
+ "x": 3944.697998046875,
+ "y": 4028.2768115997314,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "eb290ede.9ef69",
+ "id": "ca42709e.0785",
"type": "comment",
"name": "Check if sNSSAI already exists in YANG tree",
"info": "This needs more work. If sNSSAI already exists in the YANG tree, need to patch the existing pLMNInfoList entry",
"comments": "",
- "x": 3509.010524749756,
- "y": 4120.089220046997,
- "z": "d497934d.905b2",
+ "x": 3547.6980171203613,
+ "y": 4133.276689529419,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "3db6bbbf.14d2c4",
+ "id": "24e06964.c1f256",
"type": "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=\"sNSSAI from RAN to check if already exists \"/>\n<parameter name=\"field2\" value=\"`$tmp.fromRAN.sNSSAI`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3910.010566711426,
- "y": 4099.08885383606,
- "z": "d497934d.905b2",
+ "x": 3948.6980590820312,
+ "y": 4112.276323318481,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "ff120a53.1c96d8",
+ "id": "801640dd.e846b",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PLMNInfoList Entry Add to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3822.0213890075684,
- "y": 4625.422521114349,
- "z": "d497934d.905b2",
+ "x": 3860.708881378174,
+ "y": 4638.609990596771,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "60db2145.9f086",
+ "id": "60df4d88.f18d84",
"type": "block",
"name": "Add PLMNInfoList Entry",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3381.0205039978027,
- "y": 4464.433460235596,
- "z": "d497934d.905b2",
+ "x": 3419.707996368408,
+ "y": 4477.620929718018,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "ff120a53.1c96d8",
- "1686ce80.99c182",
- "744f854c.32ce6c",
- "4876eff6.fec58",
- "92c9155e.4dfab8",
- "3969881e.d08988",
- "4985dfad.4ff0a"
+ "801640dd.e846b",
+ "8e8f2b00.5422e8",
+ "a1cbea3c.4bd528",
+ "ff1f90d8.cddac",
+ "817fe7bf.d5e428",
+ "bf809c90.42251",
+ "91a146e3.3ed648"
]
]
},
{
- "id": "4985dfad.4ff0a",
+ "id": "91a146e3.3ed648",
"type": "execute",
"name": "add PLMNInfoListEntry ToGNBCUUPFn using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-GNBCUUPFn.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"PLMNInfoListEntry-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3782.0208778381348,
- "y": 4663.433349609375,
- "z": "d497934d.905b2",
+ "x": 3820.7083702087402,
+ "y": 4676.620819091797,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "96ab7e98.93271",
- "7c87faf2.4e9e44"
+ "50eda65d.caeea8",
+ "d62b8e0f.9d22d"
]
]
},
{
- "id": "1686ce80.99c182",
+ "id": "8e8f2b00.5422e8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add PLMNInfoListEntry ToGNBCUUPFn URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 3815.0205078125,
- "y": 4573.433120250702,
- "z": "d497934d.905b2",
+ "x": 3853.7080001831055,
+ "y": 4586.620589733124,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "c71aad30.6c0c1",
+ "id": "32b24e5c.05a992",
"type": "execute",
"name": "generate addPLMNInfoListEntry.ToGNBCUUPFn",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToGNBCUUPFn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3991.0205574035645,
- "y": 4211.089478492737,
- "z": "d497934d.905b2",
+ "x": 4029.70804977417,
+ "y": 4224.276947975159,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "744f854c.32ce6c",
+ "id": "a1cbea3c.4bd528",
"type": "execute",
"name": "Populate idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3841.0103034973145,
- "y": 4398.089401245117,
- "z": "d497934d.905b2",
+ "x": 3879.69779586792,
+ "y": 4411.276870727539,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "4876eff6.fec58",
+ "id": "ff1f90d8.cddac",
"type": "execute",
"name": "Populate mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3807.0103034973145,
- "y": 4460.089403152466,
- "z": "d497934d.905b2",
+ "x": 3845.69779586792,
+ "y": 4473.276872634888,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "92c9155e.4dfab8",
+ "id": "817fe7bf.d5e428",
"type": "execute",
"name": "Populate mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3804.0103034973145,
- "y": 4509.089405059814,
- "z": "d497934d.905b2",
+ "x": 3842.69779586792,
+ "y": 4522.276874542236,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "96ab7e98.93271",
+ "id": "50eda65d.caeea8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4040.021369934082,
- "y": 4490.422119140625,
- "z": "d497934d.905b2",
+ "x": 4078.7088623046875,
+ "y": 4503.609588623047,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "d62f2c78.318b"
+ "f3d112ea.3b22c"
]
]
},
{
- "id": "7c87faf2.4e9e44",
+ "id": "d62b8e0f.9d22d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4081.0217361450195,
- "y": 4648.4232177734375,
- "z": "d497934d.905b2",
+ "x": 4119.709228515625,
+ "y": 4661.610687255859,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "85efd25f.08b39"
+ "eb86fb9d.0d6478"
]
]
},
{
- "id": "d62f2c78.318b",
+ "id": "f3d112ea.3b22c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4254.0210037231445,
- "y": 4416.4228515625,
- "z": "d497934d.905b2",
+ "x": 4292.70849609375,
+ "y": 4429.610321044922,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "21dd58e5.1940a8",
- "b92d963e.6a0b38"
+ "c1afefb4.2e65b",
+ "b1d10830.075248"
]
]
},
{
- "id": "85efd25f.08b39",
+ "id": "eb86fb9d.0d6478",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4095.021125793457,
- "y": 4711.42333984375,
- "z": "d497934d.905b2",
+ "x": 4133.7086181640625,
+ "y": 4724.610809326172,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "50e4c7ea.5b59b8"
+ "9e864169.bffa8"
]
]
},
{
- "id": "21dd58e5.1940a8",
+ "id": "c1afefb4.2e65b",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding PLMNInfoList Entry to GNBCUUPFn\" />",
"comments": "",
- "x": 4241.020637512207,
- "y": 4545.4228515625,
- "z": "d497934d.905b2",
+ "x": 4279.7081298828125,
+ "y": 4558.610321044922,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "50e4c7ea.5b59b8",
+ "id": "9e864169.bffa8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4242.0214920043945,
- "y": 4699.42333984375,
- "z": "d497934d.905b2",
+ "x": 4280.708984375,
+ "y": 4712.610809326172,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "42778e67.59dc3",
+ "id": "9fe99981.e04838",
"type": "execute",
"name": "generate addPLMNInfoListEntry ToGNBCUUPFn",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToGNBCUUPFn.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4186.010311126709,
- "y": 4274.089479446411,
- "z": "d497934d.905b2",
+ "x": 4224.697803497314,
+ "y": 4287.276948928833,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "eb17239.35b45e",
+ "id": "f977adf0.37736",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3841.0101432800293,
- "y": 4306.08948135376,
- "z": "d497934d.905b2",
+ "x": 3879.6976356506348,
+ "y": 4319.276950836182,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "42778e67.59dc3",
- "35b4a0f3.af40f"
+ "9fe99981.e04838",
+ "94679fe6.5eca2"
]
]
},
{
- "id": "35b4a0f3.af40f",
+ "id": "94679fe6.5eca2",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4105.010639190674,
- "y": 4338.08948135376,
- "z": "d497934d.905b2",
+ "x": 4143.698131561279,
+ "y": 4351.276950836182,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "22a7c234.21731e",
+ "id": "62ddf420.39034c",
"type": "comment",
"name": "Connect to AddPLMNInfoList Entry",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3700.010227203369,
- "y": 4712.422793388367,
- "z": "d497934d.905b2",
+ "x": 3738.6977195739746,
+ "y": 4725.610262870789,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "5e87f693.cab7a8",
+ "id": "3379298c.52f936",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3474.0102615356445,
- "y": 4861.755371809006,
- "z": "d497934d.905b2",
+ "x": 3512.69775390625,
+ "y": 4874.942841291428,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "ed3a4f22.4750b",
- "d49a66ce.7a72c8"
+ "f2e68b46.921588",
+ "3daadbf9.2c88a4"
]
]
},
{
- "id": "ed3a4f22.4750b",
+ "id": "f2e68b46.921588",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3669.0102882385254,
- "y": 4821.755279302597,
- "z": "d497934d.905b2",
+ "x": 3707.697780609131,
+ "y": 4834.942748785019,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "b34a35b9.16ff78"
+ "8c799358.477f7"
]
]
},
{
- "id": "d49a66ce.7a72c8",
+ "id": "3daadbf9.2c88a4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3649.0102615356445,
- "y": 4900.755370855331,
- "z": "d497934d.905b2",
+ "x": 3687.69775390625,
+ "y": 4913.942840337753,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "23f224dc.4c12fc"
+ "b916fbdd.ddf7b8"
]
]
},
{
- "id": "769cf89f.02fe28",
+ "id": "edfdce45.75f4d",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to GNBCUUPFn\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3629.0113677978516,
- "y": 5125.088996171951,
- "z": "d497934d.905b2",
+ "x": 3667.698860168457,
+ "y": 5138.276465654373,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "d4b288ed.93dcb8",
+ "id": "118fcf84.9fd48",
"type": "execute",
"name": "add RRM Policy ToGNBCUUPFn using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-GNBCUUPFn.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3690.011116027832,
- "y": 5232.099738359451,
- "z": "d497934d.905b2",
+ "x": 3728.6986083984375,
+ "y": 5245.287207841873,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "ffafe7c1.5509a8",
- "1dc85802.0f3fb8"
+ "955b4a61.d1a788",
+ "391460fe.fd237"
]
]
},
{
- "id": "bb9dae33.ab811",
+ "id": "361fb395.a5791c",
"type": "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=\"addRRMPolicyRatio ToGNBCUUPFn URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 3620.0106353759766,
- "y": 5069.099250078201,
- "z": "d497934d.905b2",
+ "x": 3658.698127746582,
+ "y": 5082.286719560623,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "b34a35b9.16ff78",
+ "id": "8c799358.477f7",
"type": "execute",
"name": "generate addRRMPolicy.ToNRCellDU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToGNBCUUPFn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3952.0102615356445,
- "y": 4816.75537109375,
- "z": "d497934d.905b2",
+ "x": 3990.69775390625,
+ "y": 4829.942840576172,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "fdf481ea.4847c",
+ "id": "76bc8b9a.3f3004",
"type": "execute",
"name": "Populate idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3667.9999771118164,
- "y": 4970.7557871341705,
- "z": "d497934d.905b2",
+ "x": 3706.687469482422,
+ "y": 4983.943256616592,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "e2f13558.bc5b98",
+ "id": "d3541253.4f9bb",
"type": "execute",
"name": "Populate id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatioID.GNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 3622.0001373291016,
- "y": 5014.756110429764,
- "z": "d497934d.905b2",
+ "x": 3660.687629699707,
+ "y": 5027.943579912186,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "ffafe7c1.5509a8",
+ "id": "955b4a61.d1a788",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3949.0106658935547,
- "y": 5042.088708162308,
- "z": "d497934d.905b2",
+ "x": 3987.69815826416,
+ "y": 5055.27617764473,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "9fca1cf2.bbdfd"
+ "6f5bc786.ba1a98"
]
]
},
{
- "id": "1dc85802.0f3fb8",
+ "id": "391460fe.fd237",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4012.0106353759766,
- "y": 5229.089118242264,
- "z": "d497934d.905b2",
+ "x": 4050.698127746582,
+ "y": 5242.276587724686,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "7480cb72.86f774"
+ "e2d54569.52bd08"
]
]
},
{
- "id": "9fca1cf2.bbdfd",
+ "id": "6f5bc786.ba1a98",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4169.01042175293,
- "y": 5031.089196443558,
- "z": "d497934d.905b2",
+ "x": 4207.697914123535,
+ "y": 5044.27666592598,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "554b5d7c.aeb324",
- "b92d963e.6a0b38"
+ "c4d35a92.f669a8",
+ "b1d10830.075248"
]
]
},
{
- "id": "7480cb72.86f774",
+ "id": "e2d54569.52bd08",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4174.010025024414,
- "y": 5213.089484453201,
- "z": "d497934d.905b2",
+ "x": 4212.6975173950195,
+ "y": 5226.276953935623,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "965dd16f.96515"
+ "bd5425c.9ac7dd8"
]
]
},
{
- "id": "554b5d7c.aeb324",
+ "id": "c4d35a92.f669a8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding RRMPolicy\" />",
"comments": "",
- "x": 4178.010391235352,
- "y": 5109.089484453201,
- "z": "d497934d.905b2",
+ "x": 4216.697883605957,
+ "y": 5122.276953935623,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "965dd16f.96515",
+ "id": "bd5425c.9ac7dd8",
"type": "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=\"addRRMPolicyRatio Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4327.010635375977,
- "y": 5195.090094804764,
- "z": "d497934d.905b2",
+ "x": 4365.698127746582,
+ "y": 5208.277564287186,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "d817d036.2a634",
+ "id": "5c081526.c0ccbc",
"type": "execute",
"name": "generate RRMPolicy Ratio URL ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToGNBCUUPFn.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4066,
- "y": 4867.755491018295,
- "z": "d497934d.905b2",
+ "x": 4104.6874923706055,
+ "y": 4880.942960500717,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "23f224dc.4c12fc",
+ "id": "b916fbdd.ddf7b8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3794.999984741211,
- "y": 4866.755490541458,
- "z": "d497934d.905b2",
+ "x": 3833.6874771118164,
+ "y": 4879.94296002388,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "d817d036.2a634",
- "59fa7744.e60228"
+ "5c081526.c0ccbc",
+ "be23b8b6.bc2618"
]
]
},
{
- "id": "59fa7744.e60228",
+ "id": "be23b8b6.bc2618",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4018.9999923706055,
- "y": 4948.755818605423,
- "z": "d497934d.905b2",
+ "x": 4057.687484741211,
+ "y": 4961.943288087845,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "89123fe6.ab909",
+ "id": "e13d63cc.2f08c",
"type": "comment",
"name": "Connect to RRM P{olicy Ratio",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3643.0000076293945,
- "y": 5176.088507890701,
- "z": "d497934d.905b2",
+ "x": 3681.6875,
+ "y": 5189.275977373123,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "43727527.f1392c",
+ "id": "5181ac1d.ed2ff4",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2918.0211029052734,
- "y": 3515.7664403915405,
- "z": "d497934d.905b2",
+ "x": 2956.708595275879,
+ "y": 3528.9539098739624,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "4bb23920.579f58",
- "4adf99ac.f43138",
- "9e00c9a1.ea0c08",
- "3d7b3678.efb19a",
- "db69d90.9fae328"
+ "6b8f2f7f.8ad82",
+ "227aa86c.d8ef18",
+ "f7883b36.3134a8",
+ "7041c873.f89558",
+ "3d1dff1c.05b3",
+ "6d6a083f.f9e168"
]
]
},
{
- "id": "db69d90.9fae328",
+ "id": "3d1dff1c.05b3",
"type": "set",
"name": "calculation rrm5",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rRMPolicyDedicatedRatio.CUUP1 / $prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
"comments": "",
- "x": 3176.02152633667,
- "y": 3626.5440282821655,
- "z": "d497934d.905b2",
+ "x": 3214.7090187072754,
+ "y": 3639.7314977645874,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "9e00c9a1.ea0c08",
+ "id": "f7883b36.3134a8",
"type": "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 CUUP \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field3\" value=\"tmp.TotalNumberOfDRBForNSSAI \"/>\n<parameter name=\"field4\" value=\"`$tmp.TotalNumberOfDRBForNSSAI`\"/>\n<parameter name=\"field5\" value=\"tmp.DRBPerCUUPForSNSSAI \"/>\n<parameter name=\"field6\" value=\"`$tmp.DRBPerCUUPForSNSSAI`\"/>\n<parameter name=\"field7\" value=\"tmp.rRMPolicyDedicatedRatio.CUUP1 \"/>\n<parameter name=\"field8\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP1`\"/>\n<parameter name=\"field9\" value=\"tmp.rRMPolicyDedicatedRatio.CUUP\"/>\n<parameter name=\"field10\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field11\" value=\"tmp.maxNumberOfConns\"/>\n<parameter name=\"field12\" value=\"`$tmp.maxNumberOfConns`\"/>",
"comments": "",
"outputs": 1,
- "x": 3136.021286010742,
- "y": 3675.2111415863037,
- "z": "d497934d.905b2",
+ "x": 3174.7087783813477,
+ "y": 3688.3986110687256,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "b6b3c44a.54ff68",
+ "id": "e771c65b.e15c38",
"type": "execute",
"name": "gNBCUUPList-pLMNInfoList_length",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 3894.0206146240234,
- "y": 3855.0891840457916,
- "z": "d497934d.905b2",
+ "x": 3932.708106994629,
+ "y": 3868.2766535282135,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "afef990f.091188",
+ "id": "41ac7ea3.696a9",
"type": "execute",
"name": "gNBCUUPList-pLMNId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].pLMNId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3900.2435417175293,
- "y": 3942.765121459961,
- "z": "d497934d.905b2",
+ "x": 3938.9310340881348,
+ "y": 3955.952590942383,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "c1eccbb1.9f4818",
+ "id": "3557a927.df2d96",
"type": "comment",
"name": "Assumption pLMNId in configDB resp",
"info": "Assumed that configDB responnse will include pLMNId...currently, it is not there",
"comments": "",
- "x": 3921.2433853149414,
- "y": 3900.764839410782,
- "z": "d497934d.905b2",
+ "x": 3959.930877685547,
+ "y": 3913.9523088932037,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "a0a8859d.b71798",
+ "id": "2ad6acbd.2fabe4",
"type": "for",
"name": "For list of cells",
"xml": "<for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 2372.0001068115234,
- "y": 648.0104846954346,
- "z": "d497934d.905b2",
+ "x": 2410.687599182129,
+ "y": 661.1979541778564,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "fbe3258a.35a238",
- "9e537dfe.8fb33"
+ "1f922426.507abc",
+ "27fc8871.d307b8"
]
]
},
{
- "id": "9e537dfe.8fb33",
+ "id": "27fc8871.d307b8",
"type": "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=\"`$tmp.trackingarea.cell`\"/>",
"comments": "",
"outputs": 1,
- "x": 2544.999984741211,
- "y": 681.0104389190674,
- "z": "d497934d.905b2",
+ "x": 2583.6874771118164,
+ "y": 694.1979084014893,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "fbe3258a.35a238",
+ "id": "1f922426.507abc",
"type": "execute",
"name": "Cells in TrackingArea",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $ids + ']'`\" />",
"comments": "",
"outputs": 1,
- "x": 2551.000045776367,
- "y": 581.6770496368408,
- "z": "d497934d.905b2",
+ "x": 2589.6875381469727,
+ "y": 594.8645191192627,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "dbab6b7c.5a5868",
+ "id": "c40929f9.0b2a08",
"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": 807.0000343322754,
- "y": 165.01040077209473,
- "z": "d497934d.905b2",
+ "x": 845.6875267028809,
+ "y": 178.1978702545166,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "d34a49e6.30e3b8",
+ "id": "815e12b6.09871",
"type": "execute",
"name": "cellLocalID",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id3 + ']'`\" />",
"comments": "",
"outputs": 1,
- "x": 2578.9997634887695,
- "y": 2073.343994140625,
- "z": "d497934d.905b2",
+ "x": 2617.687255859375,
+ "y": 2086.531463623047,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "41d38e93.237d",
+ "id": "da29413f.2288b",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 446.4937286376953,
- "y": 809.0146789550781,
- "z": "d497934d.905b2",
+ "x": 485.1812210083008,
+ "y": 822.2021484375,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "93a23601.a8d538",
- "d2e02527.891218"
+ "457f7456.b4ff3c",
+ "6c379f3a.5b25f"
]
]
},
{
- "id": "d2efca81.199988",
+ "id": "b5ab3dde.02dc7",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n\n\npayloadJson.input.callbackURL\n\n<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": "",
- "x": 726.494873046875,
- "y": 658.9141635894775,
- "z": "d497934d.905b2",
+ "x": 765.1823654174805,
+ "y": 672.1016330718994,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "93a23601.a8d538",
+ "id": "457f7456.b4ff3c",
"type": "record",
"name": "record SO reply parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
"comments": "",
"outputs": 1,
- "x": 723.4937057495117,
- "y": 813.0148620605469,
- "z": "d497934d.905b2",
+ "x": 762.1811981201172,
+ "y": 826.2023315429688,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "d2e02527.891218",
+ "id": "6c379f3a.5b25f",
"type": "execute",
"name": "Send to SO",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 592.4938049316406,
- "y": 930.0145664215088,
- "z": "d497934d.905b2",
+ "x": 631.1812973022461,
+ "y": 943.2020359039307,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "fcdc997b.4078f8",
- "51b1f4ff.c90d0c"
+ "928f6977.fc9dd8",
+ "107091de.7fc13e"
]
]
},
{
- "id": "fcdc997b.4078f8",
+ "id": "928f6977.fc9dd8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 757.4938049316406,
- "y": 910.0145654678345,
- "z": "d497934d.905b2",
+ "x": 796.1812973022461,
+ "y": 923.2020349502563,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "3d490b9.3d915f4"
+ "9022a5d7.ad8d88"
]
]
},
{
- "id": "51b1f4ff.c90d0c",
+ "id": "107091de.7fc13e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 749.4936981201172,
- "y": 983.01451587677,
- "z": "d497934d.905b2",
+ "x": 788.1811904907227,
+ "y": 996.2019853591919,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "e45f947.433ec68"
+ "6bccd1d2.fb033"
]
]
},
{
- "id": "e45f947.433ec68",
+ "id": "6bccd1d2.fb033",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 895.4935417175293,
- "y": 988.0146245956421,
- "z": "d497934d.905b2",
+ "x": 934.1810340881348,
+ "y": 1001.202094078064,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "bd4d194c.143df8"
+ "2e80126d.30463e"
]
]
},
{
- "id": "3d490b9.3d915f4",
+ "id": "9022a5d7.ad8d88",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 906.4937057495117,
- "y": 906.0147008895874,
- "z": "d497934d.905b2",
+ "x": 945.1811981201172,
+ "y": 919.2021703720093,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "1b71402e.a4ecf",
- "cd98f681.9f94a8"
+ "888dd8e7.3f1488",
+ "620f8a78.798f44"
]
]
},
{
- "id": "1b71402e.a4ecf",
+ "id": "888dd8e7.3f1488",
"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": 1053.4933242797852,
- "y": 917.0144424438477,
- "z": "d497934d.905b2",
+ "x": 1092.1808166503906,
+ "y": 930.2019119262695,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "bd4d194c.143df8",
+ "id": "2e80126d.30463e",
"type": "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=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 1056.4934616088867,
- "y": 994.0145168304443,
- "z": "d497934d.905b2",
+ "x": 1095.1809539794922,
+ "y": 1007.2019863128662,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "b92d963e.6a0b38",
+ "id": "b1d10830.075248",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5620.490100860596,
- "y": 3349.010585784912,
- "z": "d497934d.905b2",
+ "x": 5659.177593231201,
+ "y": 3362.198055267334,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "5c127cb1.89d134",
- "35c13ba2.c78604",
- "ad72fb89.959df8"
+ "72b89811.4b4a88",
+ "db97eac3.7fe718",
+ "656d3999.1ed298"
]
]
},
{
- "id": "5c127cb1.89d134",
+ "id": "72b89811.4b4a88",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
"comments": "",
- "x": 5938.491077423096,
- "y": 3272.910243988037,
- "z": "d497934d.905b2",
+ "x": 5977.178569793701,
+ "y": 3286.097713470459,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "35c13ba2.c78604",
+ "id": "db97eac3.7fe718",
"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`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
"comments": "",
"outputs": 1,
- "x": 5913.489963531494,
- "y": 3370.0109214782715,
- "z": "d497934d.905b2",
+ "x": 5952.1774559021,
+ "y": 3383.1983909606934,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "ad72fb89.959df8",
+ "id": "656d3999.1ed298",
"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-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": 5828.489974975586,
- "y": 3467.010799407959,
- "z": "d497934d.905b2",
+ "x": 5867.177467346191,
+ "y": 3480.198268890381,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "a41dee79.b8a65",
- "a444dd5a.b3538"
+ "f6394491.915808",
+ "e5d8aced.33583"
]
]
},
{
- "id": "a41dee79.b8a65",
+ "id": "f6394491.915808",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 6054.489983558655,
- "y": 3444.0107684135437,
- "z": "d497934d.905b2",
+ "x": 6093.17747592926,
+ "y": 3457.1982378959656,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "c0d02df3.5276"
+ "f0f4d1bf.0e515"
]
]
},
{
- "id": "a444dd5a.b3538",
+ "id": "e5d8aced.33583",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 6044.489837646484,
- "y": 3552.0107078552246,
- "z": "d497934d.905b2",
+ "x": 6083.17733001709,
+ "y": 3565.1981773376465,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "9d1d4f3a.ebdae"
+ "ca53c9b3.99fc38"
]
]
},
{
- "id": "9d1d4f3a.ebdae",
+ "id": "ca53c9b3.99fc38",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 6194.4896240234375,
- "y": 3571.010768890381,
- "z": "d497934d.905b2",
+ "x": 6233.177116394043,
+ "y": 3584.1982383728027,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "cfc663c3.244a"
+ "7c8b83a1.3f85cc"
]
]
},
{
- "id": "c0d02df3.5276",
+ "id": "f0f4d1bf.0e515",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 6205.489852905273,
- "y": 3439.010890483856,
- "z": "d497934d.905b2",
+ "x": 6244.177345275879,
+ "y": 3452.198359966278,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "ee6c5167.53cea"
+ "5c210ccd.aff244"
]
]
},
{
- "id": "ee6c5167.53cea",
+ "id": "5c210ccd.aff244",
"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": 6371.489532470703,
- "y": 3442.0107078552246,
- "z": "d497934d.905b2",
+ "x": 6410.177024841309,
+ "y": 3455.1981773376465,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "cfc663c3.244a",
+ "id": "7c8b83a1.3f85cc",
"type": "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=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 6358.489639282227,
- "y": 3577.0107078552246,
- "z": "d497934d.905b2",
+ "x": 6397.177131652832,
+ "y": 3590.1981773376465,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "f35c6ba5.f93758",
+ "id": "f234e7a5.4abc18",
"type": "block",
"name": "nearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1699.9899444580078,
- "y": 926.3438663482666,
- "z": "d497934d.905b2",
+ "x": 1738.6774368286133,
+ "y": 939.5313358306885,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "e0b6d2d2.12a34",
- "285b9ac.1dc2b66",
- "ac2b3c9c.8422b",
- "9f3773d9.da742",
- "1c9f8440.6165fc",
- "f2b2dce2.4222c",
- "3c50a1a5.becbfe",
- "871a44d1.637e78"
+ "6bfd09e4.03ef08",
+ "8fe051f9.03a9b",
+ "b4b69ea1.a2b28",
+ "58c5284d.881c98",
+ "fd7aef73.25f1c",
+ "998f959.4540068",
+ "25223fa4.5b85b",
+ "bae48b05.1444f8"
]
]
},
{
- "id": "bfec1f07.2c26",
+ "id": "821e1619.c04cd8",
"type": "execute",
"name": "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=\"`'getRIC-configdb-response.[' + $id1 + '].gNBId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1584.9897003173828,
- "y": 669.6771602630615,
- "z": "d497934d.905b2",
+ "x": 1623.6771926879883,
+ "y": 682.8646297454834,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "37a324f6.ef491c",
+ "id": "1854a4d1.e4860b",
"type": "execute",
"name": "ranNFNSSIListEntry",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ranNFNSSIListEntry' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].ranNFNSSIList[0]'`\" />",
"comments": "",
"outputs": 1,
- "x": 1642.989730834961,
- "y": 728.6771297454834,
- "z": "d497934d.905b2",
+ "x": 1681.6772232055664,
+ "y": 741.8645992279053,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "e0b6d2d2.12a34",
+ "id": "6bfd09e4.03ef08",
"type": "set",
"name": "Calculate parms",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />",
"comments": "",
- "x": 2103.3230743408203,
- "y": 777.6771907806396,
- "z": "d497934d.905b2",
+ "x": 2142.010566711426,
+ "y": 790.8646602630615,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "285b9ac.1dc2b66",
+ "id": "8fe051f9.03a9b",
"type": "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=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"Calculated dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"Calculated maxNumberOfConns for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC1.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>",
"comments": "",
"outputs": 1,
- "x": 2055.6564445495605,
- "y": 934.3440856933594,
- "z": "d497934d.905b2",
+ "x": 2094.343936920166,
+ "y": 947.5315551757812,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "ac2b3c9c.8422b",
+ "id": "b4b69ea1.a2b28",
"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=\"update-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": 1789.6564025878906,
- "y": 1659.6771354675293,
- "z": "d497934d.905b2",
+ "x": 1828.343894958496,
+ "y": 1672.8646049499512,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "4c4525c6.8ba9ec",
- "22d03c5.84a86c4"
+ "87ff0779.cbac38",
+ "55ae56ce.79fec8"
]
]
},
{
- "id": "4c4525c6.8ba9ec",
+ "id": "87ff0779.cbac38",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2444.657012939453,
- "y": 1520.6773796081543,
- "z": "d497934d.905b2",
+ "x": 2483.3445053100586,
+ "y": 1533.8648490905762,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "5ace880e.1d7448"
+ "ee4e4e9f.c6bec"
]
]
},
{
- "id": "22d03c5.84a86c4",
+ "id": "55ae56ce.79fec8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2649.657012939453,
- "y": 1618.6772575378418,
- "z": "d497934d.905b2",
+ "x": 2688.3445053100586,
+ "y": 1631.8647270202637,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "c861710c.4a7f"
+ "4c51533c.b4860c"
]
]
},
{
- "id": "c861710c.4a7f",
+ "id": "4c51533c.b4860c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2802.656768798828,
- "y": 1607.6773796081543,
- "z": "d497934d.905b2",
+ "x": 2841.3442611694336,
+ "y": 1620.8648490905762,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "e478545c.840ea8"
+ "9dab1909.0a7508"
]
]
},
{
- "id": "e478545c.840ea8",
+ "id": "9dab1909.0a7508",
"type": "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 NearRT RIC info in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 2966.657012939453,
- "y": 1611.6775016784668,
- "z": "d497934d.905b2",
+ "x": 3005.3445053100586,
+ "y": 1624.8649711608887,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "b80ad328.6fb5c",
+ "id": "3c3f81dc.4f06de",
"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": 2859.656768798828,
- "y": 1555.6773493289948,
- "z": "d497934d.905b2",
+ "x": 2898.3442611694336,
+ "y": 1568.8648188114166,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "5ace880e.1d7448",
+ "id": "ee4e4e9f.c6bec",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2806.657257080078,
- "y": 1454.6773796081543,
- "z": "d497934d.905b2",
+ "x": 2845.3447494506836,
+ "y": 1467.8648490905762,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "b80ad328.6fb5c",
- "e413ae0d.caf5",
- "b92d963e.6a0b38"
+ "3c3f81dc.4f06de",
+ "29b81bf8.69c344",
+ "b1d10830.075248"
]
]
},
{
- "id": "e413ae0d.caf5",
+ "id": "29b81bf8.69c344",
"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": 2930.657012939453,
- "y": 1413.7883722484112,
- "z": "d497934d.905b2",
+ "x": 2969.3445053100586,
+ "y": 1426.975841730833,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "814afc7f.adbf5",
+ "id": "82c9288a.fb72f8",
"type": "execute",
"name": "Update cellCU for gNBCUCP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUCP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 3060.0212593078613,
- "y": 3231.541823387146,
- "z": "d497934d.905b2",
+ "x": 3098.708751678467,
+ "y": 3244.729292869568,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "abc9819d.75f94",
- "f55df1a1.fd667"
+ "3d4f192d.3fb076",
+ "382d8b4f.fc3224"
]
]
},
{
- "id": "abc9819d.75f94",
+ "id": "3d4f192d.3fb076",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3924.0208473205566,
- "y": 3271.5418949127197,
- "z": "d497934d.905b2",
+ "x": 3962.708339691162,
+ "y": 3284.7293643951416,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "7b691ea4.59833"
+ "b9ea760d.1e4648"
]
]
},
{
- "id": "7b691ea4.59833",
+ "id": "b9ea760d.1e4648",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4152.021091461182,
- "y": 3263.5418949127197,
- "z": "d497934d.905b2",
+ "x": 4190.708583831787,
+ "y": 3276.7293643951416,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "966debe.9201918",
- "2cc25ff9.988eb",
- "b92d963e.6a0b38"
+ "8b73f84d.3023e8",
+ "14c41321.adb8dd",
+ "b1d10830.075248"
]
]
},
{
- "id": "2cc25ff9.988eb",
+ "id": "14c41321.adb8dd",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating configCUCP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4267.020847320557,
- "y": 3176.6527347564697,
- "z": "d497934d.905b2",
+ "x": 4305.708339691162,
+ "y": 3189.8402042388916,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "966debe.9201918",
+ "id": "8b73f84d.3023e8",
"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": 4335.020847320557,
- "y": 3283.5416507720947,
- "z": "d497934d.905b2",
+ "x": 4373.708339691162,
+ "y": 3296.7291202545166,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "f55df1a1.fd667",
+ "id": "382d8b4f.fc3224",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3929.0208473205566,
- "y": 3319.5416507720947,
- "z": "d497934d.905b2",
+ "x": 3967.708339691162,
+ "y": 3332.7291202545166,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "ecff7621.9b4eb8"
+ "10bfd748.b33be9"
]
]
},
{
- "id": "ecff7621.9b4eb8",
+ "id": "10bfd748.b33be9",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4094.0208473205566,
- "y": 3318.5418949127197,
- "z": "d497934d.905b2",
+ "x": 4132.708339691162,
+ "y": 3331.7293643951416,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "1a777a08.916b56"
+ "de16b1ed.2bdca"
]
]
},
{
- "id": "1a777a08.916b56",
+ "id": "de16b1ed.2bdca",
"type": "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 gNBCUCP info in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 4246.020847320557,
- "y": 3331.5418949127197,
- "z": "d497934d.905b2",
+ "x": 4284.708339691162,
+ "y": 3344.7293643951416,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "4c529776.696d88",
+ "id": "2ba5e1ca.ee1a1e",
"type": "execute",
"name": "Update RRMPolicy for gNBCUCP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 2520.9897537231445,
- "y": 3303.0102977752686,
- "z": "d497934d.905b2",
+ "x": 2559.67724609375,
+ "y": 3316.1977672576904,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "b7caa3ac.eecc3",
- "22def37c.479b9c"
+ "fad13440.269eb8",
+ "98b96937.cec128"
]
]
},
{
- "id": "dbf0191b.cfceb8",
+ "id": "cb33327d.34fde",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4245.989994049072,
- "y": 3369.0106163024902,
- "z": "d497934d.905b2",
+ "x": 4284.677486419678,
+ "y": 3382.198085784912,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "4e769bb4.5a45d4",
+ "id": "b5c2ceaa.f317f",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4170.989772796631,
- "y": 3426.899778366089,
- "z": "d497934d.905b2",
+ "x": 4209.677265167236,
+ "y": 3440.0872478485107,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "a4a70462.9ef128",
- "dbf0191b.cfceb8",
- "b92d963e.6a0b38"
+ "e4d48f34.65c4d",
+ "cb33327d.34fde",
+ "b1d10830.075248"
]
]
},
{
- "id": "a4a70462.9ef128",
+ "id": "e4d48f34.65c4d",
"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 RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4337.989887237549,
- "y": 3460.8992395401,
- "z": "d497934d.905b2",
+ "x": 4376.677379608154,
+ "y": 3474.086709022522,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "dc2caae8.37ed28",
+ "id": "41725221.8703bc",
"type": "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 RRMPolicy CUCP info in ConfigDB\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />",
"comments": "",
"outputs": 1,
- "x": 3921.9897956848145,
- "y": 3494.8994178771973,
- "z": "d497934d.905b2",
+ "x": 3960.67728805542,
+ "y": 3508.086887359619,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "43472b7d.1369f4",
+ "id": "427887d0.7997a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3762.990379333496,
- "y": 3450.8999967575073,
- "z": "d497934d.905b2",
+ "x": 3801.6778717041016,
+ "y": 3464.087466239929,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "dc2caae8.37ed28",
- "834ba42d.3c3108"
+ "41725221.8703bc",
+ "f9fddf37.3168b"
]
]
},
{
- "id": "22def37c.479b9c",
+ "id": "98b96937.cec128",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3669.9900436401367,
- "y": 3382.898419380188,
- "z": "d497934d.905b2",
+ "x": 3708.677536010742,
+ "y": 3396.08588886261,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "43472b7d.1369f4"
+ "427887d0.7997a8"
]
]
},
{
- "id": "b7caa3ac.eecc3",
+ "id": "fad13440.269eb8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3670.9899978637695,
- "y": 3336.899558544159,
- "z": "d497934d.905b2",
+ "x": 3709.677490234375,
+ "y": 3350.087028026581,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "4e769bb4.5a45d4"
+ "b5c2ceaa.f317f"
]
]
},
{
- "id": "834ba42d.3c3108",
+ "id": "f9fddf37.3168b",
"type": "set",
"name": "Increment RRMPolicyID",
"xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
"comments": "",
- "x": 3974.22220993042,
- "y": 3446.4651012420654,
- "z": "d497934d.905b2",
+ "x": 4012.9097023010254,
+ "y": 3459.6525707244873,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "177ca448.e3f69c",
+ "id": "25a1224d.f5effe",
"type": "execute",
"name": "Update gNBCUUP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 3202.5212478637695,
- "y": 5265.54150390625,
- "z": "d497934d.905b2",
+ "x": 3241.208740234375,
+ "y": 5278.728973388672,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "b08d0449.c40f68",
- "891e525e.5624b"
+ "185ddb88.ea33c4",
+ "97fb1354.77edc"
]
]
},
{
- "id": "b08d0449.c40f68",
+ "id": "185ddb88.ea33c4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3934.5210037231445,
- "y": 5359.5419921875,
- "z": "d497934d.905b2",
+ "x": 3973.20849609375,
+ "y": 5372.729461669922,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "572cd0de.28077"
+ "27099b52.371f54"
]
]
},
{
- "id": "891e525e.5624b",
+ "id": "97fb1354.77edc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4083.5208473205566,
- "y": 5523.541650772095,
- "z": "d497934d.905b2",
+ "x": 4122.208339691162,
+ "y": 5536.729120254517,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "44856f36.2a8"
+ "89255e74.25f6a"
]
]
},
{
- "id": "572cd0de.28077",
+ "id": "27099b52.371f54",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4249.5210037231445,
- "y": 5363.5419921875,
- "z": "d497934d.905b2",
+ "x": 4288.20849609375,
+ "y": 5376.729461669922,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "6d6c005e.b020e",
- "c0cdef56.cbd8",
- "b92d963e.6a0b38"
+ "525024f4.8142ac",
+ "49e56573.095a6c",
+ "b1d10830.075248"
]
]
},
{
- "id": "44856f36.2a8",
+ "id": "89255e74.25f6a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4213.520809173584,
- "y": 5561.541648864746,
- "z": "d497934d.905b2",
+ "x": 4252.208301544189,
+ "y": 5574.729118347168,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "6e7882b.959477c"
+ "a29ca619.bdcb68"
]
]
},
{
- "id": "6e7882b.959477c",
+ "id": "a29ca619.bdcb68",
"type": "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 gNBCUUP info in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 4338.520812988281,
- "y": 5531.54164981842,
- "z": "d497934d.905b2",
+ "x": 4377.208305358887,
+ "y": 5544.729119300842,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "6d6c005e.b020e",
+ "id": "525024f4.8142ac",
"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 info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4335.5210037231445,
- "y": 5443.54150390625,
- "z": "d497934d.905b2",
+ "x": 4374.20849609375,
+ "y": 5456.728973388672,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "c0cdef56.cbd8",
+ "id": "49e56573.095a6c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating configCUUP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4260.5210037231445,
- "y": 5263.6533203125,
- "z": "d497934d.905b2",
+ "x": 4299.20849609375,
+ "y": 5276.840789794922,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "e5fcaa90.d42a48",
+ "id": "67e438.a4e90bc8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy CUUP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4334.490539550781,
- "y": 5579.010563850403,
- "z": "d497934d.905b2",
+ "x": 4373.178031921387,
+ "y": 5592.198033332825,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "1ae9a4a.3debb5b",
+ "id": "95754fba.5a5f2",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4277.489559173584,
- "y": 5641.899724960327,
- "z": "d497934d.905b2",
+ "x": 4316.177051544189,
+ "y": 5655.087194442749,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "a46f3dd.1f1b5c",
- "e5fcaa90.d42a48",
- "b92d963e.6a0b38"
+ "9283420f.90c31",
+ "67e438.a4e90bc8",
+ "b1d10830.075248"
]
]
},
{
- "id": "a46f3dd.1f1b5c",
+ "id": "9283420f.90c31",
"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 RRMPolicy CUUP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4398.490215301514,
- "y": 5705.899076461792,
- "z": "d497934d.905b2",
+ "x": 4437.177707672119,
+ "y": 5719.086545944214,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "70c116f6.e23408",
+ "id": "b6d43562.8da1d8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3824.4900436401367,
- "y": 5586.898419380188,
- "z": "d497934d.905b2",
+ "x": 3863.177536010742,
+ "y": 5600.08588886261,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "474eec7c.4b1924"
+ "b8e7e139.a820c"
]
]
},
{
- "id": "474eec7c.4b1924",
+ "id": "b8e7e139.a820c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3794.4904441833496,
- "y": 5675.899726867676,
- "z": "d497934d.905b2",
+ "x": 3833.177936553955,
+ "y": 5689.087196350098,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "6c5d64b8.38ae6c",
- "e3f59791.e81ff8"
+ "99ee0b30.21c278",
+ "4af7cad8.b168f4"
]
]
},
{
- "id": "6c5d64b8.38ae6c",
+ "id": "99ee0b30.21c278",
"type": "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 RRMPolicy CUUP info in ConfigDB\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />",
"comments": "",
"outputs": 1,
- "x": 3950.490447998047,
- "y": 5710.899728775024,
- "z": "d497934d.905b2",
+ "x": 3989.1779403686523,
+ "y": 5724.087198257446,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "e3f59791.e81ff8",
+ "id": "4af7cad8.b168f4",
"type": "set",
"name": "Increment RRMPolicyID",
"xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
"comments": "",
- "x": 4001.722873687744,
- "y": 5640.464829444885,
- "z": "d497934d.905b2",
+ "x": 4040.4103660583496,
+ "y": 5653.652298927307,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "5ba2bba8.b87c04",
+ "id": "98c42098.224dc",
"type": "execute",
"name": "Update RRMPolicy for gNBCUCP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 2904.4899978637695,
- "y": 5450.01025390625,
- "z": "d497934d.905b2",
+ "x": 2943.177490234375,
+ "y": 5463.197723388672,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "70c116f6.e23408",
- "477ae3ff.13ad0c"
+ "b6d43562.8da1d8",
+ "db71a012.a8d53"
]
]
},
{
- "id": "477ae3ff.13ad0c",
+ "id": "db71a012.a8d53",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3829.6563453674316,
- "y": 5523.343896865845,
- "z": "d497934d.905b2",
+ "x": 3868.343837738037,
+ "y": 5536.531366348267,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "1ae9a4a.3debb5b"
+ "95754fba.5a5f2"
]
]
},
{
- "id": "db6dc23.cf5d34",
+ "id": "1e2624bc.08e57b",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2965.32470703125,
- "y": 7184.68119764328,
- "z": "d497934d.905b2",
+ "x": 3004.0121994018555,
+ "y": 7197.868667125702,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "1113b6b8.ae4459",
- "6713c4f8.062c9c",
- "aef72bb2.3fcea8"
+ "68a2055c.8324ac",
+ "247f52a6.d210de",
+ "3c8016e1.7e4eda"
]
]
},
{
- "id": "1113b6b8.ae4459",
+ "id": "68a2055c.8324ac",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
"comments": "",
- "x": 3091.3253631591797,
- "y": 7081.579633712769,
- "z": "d497934d.905b2",
+ "x": 3130.012855529785,
+ "y": 7094.76710319519,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "6713c4f8.062c9c",
+ "id": "247f52a6.d210de",
"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`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
"comments": "",
"outputs": 1,
- "x": 3253.3247146606445,
- "y": 7209.681198120117,
- "z": "d497934d.905b2",
+ "x": 3292.01220703125,
+ "y": 7222.868667602539,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "aef72bb2.3fcea8",
+ "id": "3c8016e1.7e4eda",
"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-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": 3072.3243141174316,
- "y": 7372.680591106415,
- "z": "d497934d.905b2",
+ "x": 3111.011806488037,
+ "y": 7385.868060588837,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "3c250bec.46dbd4",
- "765365c9.8bc67c"
+ "67176900.692a28",
+ "4bb30a20.fd00c4"
]
]
},
{
- "id": "3c250bec.46dbd4",
+ "id": "67176900.692a28",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3182.3248023986816,
- "y": 7284.680347442627,
- "z": "d497934d.905b2",
+ "x": 3221.012294769287,
+ "y": 7297.867816925049,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "28c4e81a.4126a8"
+ "ec3bac39.eb6f3"
]
]
},
{
- "id": "765365c9.8bc67c",
+ "id": "4bb30a20.fd00c4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3124.324680328369,
- "y": 7458.680228710175,
- "z": "d497934d.905b2",
+ "x": 3163.0121726989746,
+ "y": 7471.867698192596,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "52236a31.581ef4"
+ "bb630b2f.d39c58"
]
]
},
{
- "id": "52236a31.581ef4",
+ "id": "bb630b2f.d39c58",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3255.3247413635254,
- "y": 7413.68120598793,
- "z": "d497934d.905b2",
+ "x": 3294.012233734131,
+ "y": 7426.868675470352,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "33960664.c605ba"
+ "c12c978e.a2c5a8"
]
]
},
{
- "id": "28c4e81a.4126a8",
+ "id": "ec3bac39.eb6f3",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3291.3249855041504,
- "y": 7353.681080341339,
- "z": "d497934d.905b2",
+ "x": 3330.012477874756,
+ "y": 7366.868549823761,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "2aae22a1.688dbe"
+ "46997fe6.10f98"
]
]
},
{
- "id": "2aae22a1.688dbe",
+ "id": "46997fe6.10f98",
"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": 3380.3240699768066,
- "y": 7285.681201934814,
- "z": "d497934d.905b2",
+ "x": 3419.011562347412,
+ "y": 7298.868671417236,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "33960664.c605ba",
+ "id": "c12c978e.a2c5a8",
"type": "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=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 3288.324863433838,
- "y": 7495.680473804474,
- "z": "d497934d.905b2",
+ "x": 3327.0123558044434,
+ "y": 7508.867943286896,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "2f12ac6d.25f5c4",
+ "id": "5b2d29b9.d5d748",
"type": "execute",
"name": "Update gNBDU in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBDU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 2357.3241653442383,
- "y": 6945.013872623444,
- "z": "d497934d.905b2",
+ "x": 2396.0116577148438,
+ "y": 6958.2013421058655,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "d31e299f.61fd88",
- "4d3d0763.16bc38"
+ "301fe555.0c0cfa",
+ "aa644f83.0309a"
]
]
},
{
- "id": "d31e299f.61fd88",
+ "id": "301fe555.0c0cfa",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2522.3237228393555,
- "y": 7006.013222694397,
- "z": "d497934d.905b2",
+ "x": 2561.011215209961,
+ "y": 7019.200692176819,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "5fa10f83.a53be"
+ "fa193ec0.cb98c"
]
]
},
{
- "id": "4d3d0763.16bc38",
+ "id": "aa644f83.0309a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2572.3242111206055,
- "y": 6918.013219594955,
- "z": "d497934d.905b2",
+ "x": 2611.011703491211,
+ "y": 6931.200689077377,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "4896dcb4.cd2334"
+ "a8e481f1.8acce"
]
]
},
{
- "id": "5fa10f83.a53be",
+ "id": "fa193ec0.cb98c",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2762.323402404785,
- "y": 6974.014523029327,
- "z": "d497934d.905b2",
+ "x": 2801.0108947753906,
+ "y": 6987.201992511749,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "c65c9edd.ef375",
- "72b4643.c6fd79c",
- "db6dc23.cf5d34"
+ "9939206e.90172",
+ "616d73fd.d9184c",
+ "1e2624bc.08e57b"
]
]
},
{
- "id": "4896dcb4.cd2334",
+ "id": "a8e481f1.8acce",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2735.323402404785,
- "y": 6907.0132188797,
- "z": "d497934d.905b2",
+ "x": 2774.0108947753906,
+ "y": 6920.200688362122,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "e010dfee.6dfdc"
+ "6c95ea9.62c8314"
]
]
},
{
- "id": "e010dfee.6dfdc",
+ "id": "6c95ea9.62c8314",
"type": "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 DU info in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 2912.3234062194824,
- "y": 6925.010615348816,
- "z": "d497934d.905b2",
+ "x": 2951.010898590088,
+ "y": 6938.198084831238,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "c65c9edd.ef375",
+ "id": "9939206e.90172",
"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 info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2706.3232345581055,
- "y": 7059.013223648071,
- "z": "d497934d.905b2",
+ "x": 2745.010726928711,
+ "y": 7072.200693130493,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "72b4643.c6fd79c",
+ "id": "616d73fd.d9184c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating configCUUP info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2927.3234100341797,
- "y": 6988.12389755249,
- "z": "d497934d.905b2",
+ "x": 2966.010902404785,
+ "y": 7001.311367034912,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "d767c42c.499048",
+ "id": "5e57c34c.a9820c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy DU info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2726.2931270599365,
- "y": 7225.482141494751,
- "z": "d497934d.905b2",
+ "x": 2764.980619430542,
+ "y": 7238.669610977173,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "338f25c8.54104a",
+ "id": "edd977a5.d9d7b8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2594.2921447753906,
- "y": 7280.370000839233,
- "z": "d497934d.905b2",
+ "x": 2632.979637145996,
+ "y": 7293.557470321655,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "c97ea05b.62e8f",
- "d767c42c.499048",
- "db6dc23.cf5d34"
+ "c29532e2.752ab",
+ "5e57c34c.a9820c",
+ "1e2624bc.08e57b"
]
]
},
{
- "id": "c97ea05b.62e8f",
+ "id": "c29532e2.752ab",
"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 RRMPolicy DU info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2751.2929611206055,
- "y": 7328.37016582489,
- "z": "d497934d.905b2",
+ "x": 2789.980453491211,
+ "y": 7341.557635307312,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "6c32252e.1b89cc",
+ "id": "f2b387bc.0cf748",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2478.292793273926,
- "y": 7068.368692398071,
- "z": "d497934d.905b2",
+ "x": 2516.9802856445312,
+ "y": 7081.556161880493,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "72338faf.8c7d3"
+ "7873ca91.325bf4"
]
]
},
{
- "id": "72338faf.8c7d3",
+ "id": "7873ca91.325bf4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2566.293445587158,
- "y": 7171.369346618652,
- "z": "d497934d.905b2",
+ "x": 2604.9809379577637,
+ "y": 7184.556816101074,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "c7f63e.8bdf49c",
- "aa224fb2.01fc6"
+ "e6d656d8.45e6b8",
+ "ac782866.0f7e58"
]
]
},
{
- "id": "c7f63e.8bdf49c",
+ "id": "e6d656d8.45e6b8",
"type": "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 RRMPolicy DU info in ConfigDB\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />",
"comments": "",
"outputs": 1,
- "x": 2710.2937774658203,
- "y": 7171.370161056519,
- "z": "d497934d.905b2",
+ "x": 2748.981269836426,
+ "y": 7184.55763053894,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "aa224fb2.01fc6",
+ "id": "ac782866.0f7e58",
"type": "set",
"name": "Increment RRMPolicyID",
"xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
"comments": "",
- "x": 2736.525547027588,
- "y": 7116.93510055542,
- "z": "d497934d.905b2",
+ "x": 2775.2130393981934,
+ "y": 7130.122570037842,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "cd2a0ccf.d2962",
+ "id": "fd33cb6f.3ded88",
"type": "execute",
"name": " RRMPolicy gNBDU ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-DU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-DU-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": 2295.292900085449,
- "y": 7163.480674743652,
- "z": "d497934d.905b2",
+ "x": 2333.9803924560547,
+ "y": 7176.668144226074,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "6c32252e.1b89cc",
- "46f12c44.abc7e4"
+ "f2b387bc.0cf748",
+ "deee3d1f.6cfed"
]
]
},
{
- "id": "46f12c44.abc7e4",
+ "id": "deee3d1f.6cfed",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2435.4589309692383,
- "y": 7270.814012527466,
- "z": "d497934d.905b2",
+ "x": 2474.1464233398438,
+ "y": 7284.001482009888,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "338f25c8.54104a"
+ "edd977a5.d9d7b8"
]
]
},
{
- "id": "b31de071.d9ec2",
+ "id": "11592c65.f83e64",
"type": "for",
"name": "For cellCU List",
"xml": "<for index='idCell' start='0' end='`$tmp.cellCUListEntries `' >",
"comments": "",
"outputs": 1,
- "x": 2396.9897537231445,
- "y": 2368.010498046875,
- "z": "d497934d.905b2",
+ "x": 2435.67724609375,
+ "y": 2381.197967529297,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "d285b400.69a1d8"
+ "6d3df173.ba33b"
]
]
},
{
- "id": "5f5ce956.016288",
+ "id": "4f758702.366db8",
"type": "execute",
"name": "gNBCUCPList.gNBCUName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.cellLocalId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].cellCUList[' + $idCell + '].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2705.9897537231445,
- "y": 2172.010498046875,
- "z": "d497934d.905b2",
+ "x": 2744.67724609375,
+ "y": 2185.197967529297,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "de43fc64.26c2e",
+ "id": "8d416ae.e851798",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$tmp.gNBCUCPList.cellLocalId == $tmp.cellLocalId`\"> \n",
"comments": "",
"outputs": 1,
- "x": 2644.9902420043945,
- "y": 2424.010498046875,
- "z": "d497934d.905b2",
+ "x": 2683.677734375,
+ "y": 2437.197967529297,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "cd011498.6f8108"
+ "75490c66.5c3324"
]
]
},
{
- "id": "cd011498.6f8108",
+ "id": "75490c66.5c3324",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2748.9902420043945,
- "y": 2333.010498046875,
- "z": "d497934d.905b2",
+ "x": 2787.677734375,
+ "y": 2346.197967529297,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "1f9ada1a.90dc06"
+ "a1e72fb9.52301"
]
]
},
{
- "id": "1f9ada1a.90dc06",
+ "id": "a1e72fb9.52301",
"type": "block",
"name": "UpdateCell",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2826.9897537231445,
- "y": 2245.010498046875,
- "z": "d497934d.905b2",
+ "x": 2865.67724609375,
+ "y": 2258.197967529297,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "bb7962a6.f1f59",
- "f0efed1f.2e476",
- "7c862c91.655a84",
- "1dd7fd97.1efc52",
- "b7f242b0.c99ec",
- "814afc7f.adbf5"
+ "9457acbe.1a0a8",
+ "5c2fb30d.b20c7c",
+ "29ccde77.0e44f2",
+ "8c000271.a879b",
+ "38695b2f.9cf444",
+ "82c9288a.fb72f8"
]
]
},
{
- "id": "d285b400.69a1d8",
+ "id": "6d3df173.ba33b",
"type": "block",
"name": "Block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2510.9895095825195,
- "y": 2280.010498046875,
- "z": "d497934d.905b2",
+ "x": 2549.677001953125,
+ "y": 2293.197967529297,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "5f5ce956.016288",
- "de43fc64.26c2e"
+ "4f758702.366db8",
+ "8d416ae.e851798"
]
]
},
{
- "id": "d77bbe34.f1f16",
+ "id": "8425da92.7a9e78",
"type": "for",
"name": "For cellDU List",
"xml": "<for index='idCell' start='0' end='`$tmp.cellDUListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 2738.244300842285,
- "y": 6075.016944885254,
- "z": "d497934d.905b2",
+ "x": 2776.9317932128906,
+ "y": 6088.204414367676,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "e7f95262.52773",
- "ef9c6b64.63b3f8"
+ "b5e6fb5a.51c538",
+ "629b34f2.2fd88c"
]
]
},
{
- "id": "f2ace5ee.b32d38",
+ "id": "66a46d20.11c034",
"type": "execute",
"name": "gNBDUList.cellLocalId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBDUList.cellLocalId' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id3 + ']'`\" />",
"comments": "",
"outputs": 1,
- "x": 2856.24462890625,
- "y": 6152.014343261719,
- "z": "d497934d.905b2",
+ "x": 2894.9321212768555,
+ "y": 6165.201812744141,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "92988d6f.0cf03",
+ "id": "9f56eefc.0ef96",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$tmp.gNBDUList.cellLocalId == $tmp.cellLocalId`\">",
"comments": "",
"outputs": 1,
- "x": 2761.2439880371094,
- "y": 6262.014347076416,
- "z": "d497934d.905b2",
+ "x": 2799.931480407715,
+ "y": 6275.201816558838,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "863b0fcc.9873d"
+ "fa86b606.ee0bb8"
]
]
},
{
- "id": "863b0fcc.9873d",
+ "id": "fa86b606.ee0bb8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2975.244316101074,
- "y": 6220.014347076416,
- "z": "d497934d.905b2",
+ "x": 3013.9318084716797,
+ "y": 6233.201816558838,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "50df0e89.a82da"
+ "e263970f.8596a8"
]
]
},
{
- "id": "50df0e89.a82da",
+ "id": "e263970f.8596a8",
"type": "block",
"name": "UpdateCell",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3143.244644165039,
- "y": 6229.015000343323,
- "z": "d497934d.905b2",
+ "x": 3181.9321365356445,
+ "y": 6242.202469825745,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "6304e0d0.83f86",
- "e3cfe875.384318",
- "393d330a.82099c"
+ "777713b7.b7c1bc",
+ "bab76bad.343f18",
+ "fcf80190.e2d04"
]
]
},
{
- "id": "e7f95262.52773",
+ "id": "b5e6fb5a.51c538",
"type": "block",
"name": "Block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2519.2439727783203,
- "y": 6203.014345169067,
- "z": "d497934d.905b2",
+ "x": 2557.931465148926,
+ "y": 6216.201814651489,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "f2ace5ee.b32d38",
- "92988d6f.0cf03",
- "9c17f495.d17728"
+ "66a46d20.11c034",
+ "9f56eefc.0ef96",
+ "1c2e5305.7e243d"
]
]
},
{
- "id": "3bbd0319.fa4bac",
+ "id": "f6a71d42.4e0ed",
"type": "block",
"name": "rrmPolicyRatioPerCELLCU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2216.98974609375,
- "y": 1976.010498046875,
- "z": "d497934d.905b2",
+ "x": 2255.6772384643555,
+ "y": 1989.1979675292969,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "b550b6d2.73c248",
- "907be4bd.a38118",
- "1311957f.61fb0b",
- "d77266a8.593b48"
+ "847e898e.fa1d88",
+ "c2f343dc.d033a",
+ "a8fc4e9e.b1862",
+ "7c08382c.91f848"
]
]
},
{
- "id": "b550b6d2.73c248",
+ "id": "847e898e.fa1d88",
"type": "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 CellCU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>\n<parameter name=\"field3\" value=\"maxNumberOfConnsPercellCU \"/>\n<parameter name=\"field4\" value=\"`$tmp.maxNumberOfConnsPercellCU`\"/>\n<parameter name=\"field5\" value=\"rRMPolicyDedicatedRatio.CellCU1 \"/>\n<parameter name=\"field6\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU1`\"/>",
"comments": "",
"outputs": 1,
- "x": 2371.989574432373,
- "y": 2106.455057144165,
- "z": "d497934d.905b2",
+ "x": 2410.6770668029785,
+ "y": 2119.642526626587,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "53b70dbb.624744",
+ "id": "6d6a083f.f9e168",
"type": "set",
"name": "Calculate for RRM1",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />\n",
"comments": "",
- "x": 3170.9903411865234,
- "y": 3419.0103368759155,
- "z": "d497934d.905b2",
+ "x": 3209.677833557129,
+ "y": 3432.1978063583374,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "a23b0f22.80419",
+ "id": "2737179d.208e58",
"type": "set",
"name": "Calculate RRM Parms1",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
"comments": "",
- "x": 2554.9900970458984,
- "y": 5363.012114524841,
- "z": "d497934d.905b2",
+ "x": 2593.677589416504,
+ "y": 5376.199584007263,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "2f1529ef.cd1e36",
+ "id": "7ed57e69.91b45",
"type": "set",
"name": "calculation10",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
"comments": "",
- "x": 2500.9901580810547,
- "y": 5875.011870384216,
- "z": "d497934d.905b2",
+ "x": 2539.67765045166,
+ "y": 5888.199339866638,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "cd98f681.9f94a8",
+ "id": "620f8a78.798f44",
"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": 1041.0039329528809,
- "y": 821.0039339065552,
- "z": "d497934d.905b2",
+ "x": 1079.6914253234863,
+ "y": 834.191403388977,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "7390b922.c69db8",
+ "id": "28385a6a.9d07a6",
"type": "execute",
"name": "add RRM Policy ToNRCellDU using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 4026.001106262207,
- "y": 7392.000219345093,
- "z": "d497934d.905b2",
+ "x": 4064.6885986328125,
+ "y": 7405.187688827515,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "f2362898.8a3a18",
- "9afab0d6.63cab"
+ "216292d7.896d1e",
+ "8e44bb3f.07fc88"
]
]
},
{
- "id": "f2362898.8a3a18",
+ "id": "216292d7.896d1e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4451.000144958496,
- "y": 7381.989805221558,
- "z": "d497934d.905b2",
+ "x": 4489.687637329102,
+ "y": 7395.1772747039795,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "9b71ee36.130cd"
+ "8ee41f0f.eec2"
]
]
},
{
- "id": "9b71ee36.130cd",
+ "id": "8ee41f0f.eec2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4636.999500274658,
- "y": 7374.989803314209,
- "z": "d497934d.905b2",
+ "x": 4675.686992645264,
+ "y": 7388.177272796631,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "216f8291.2f71ee"
+ "5a8e355.56c9ecc"
]
]
},
{
- "id": "216f8291.2f71ee",
+ "id": "5a8e355.56c9ecc",
"type": "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=\"addRRMPolicyRatio to NRCELLDU Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4817.000160217285,
- "y": 7391.989803314209,
- "z": "d497934d.905b2",
+ "x": 4855.687652587891,
+ "y": 7405.177272796631,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "f9a56687.7d08d8",
+ "id": "fed970eb.2cb8b",
"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": 745.8333282470703,
- "y": 749.0000162124634,
- "z": "d497934d.905b2",
+ "x": 784.5208206176758,
+ "y": 762.1874856948853,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "d9681003.6bc88",
+ "id": "d23dfe52.c5e2d",
"type": "block",
"name": "Action Per DU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2068.5000648498535,
- "y": 5940.333670139313,
- "z": "d497934d.905b2",
+ "x": 2107.187557220459,
+ "y": 5953.521139621735,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "feb69365.3be17",
- "f08b352c.597cb8",
- "ddde50d5.41b19",
- "b7a23ac6.e2c748"
+ "667f5064.c3558",
+ "e527dfb7.00473",
+ "ab7fb11e.93a44",
+ "ef0d45d0.c227c8"
]
]
},
{
- "id": "6488de89.26e7d",
+ "id": "e6aa0194.b688d",
"type": "block",
"name": "Activies Per Call",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2561.1667098999023,
- "y": 6035.333582401276,
- "z": "d497934d.905b2",
+ "x": 2599.854202270508,
+ "y": 6048.5210518836975,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "d77bbe34.f1f16"
+ "8425da92.7a9e78"
]
]
},
{
- "id": "393d330a.82099c",
+ "id": "fcf80190.e2d04",
"type": "block",
"name": "ConfigDB DU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2192.8339233398438,
- "y": 7017.00119304657,
- "z": "d497934d.905b2",
+ "x": 2231.521415710449,
+ "y": 7030.188662528992,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "2f12ac6d.25f5c4",
- "cd2a0ccf.d2962"
+ "5b2d29b9.d5d748",
+ "fd33cb6f.3ded88"
]
]
},
{
- "id": "ef9c6b64.63b3f8",
+ "id": "629b34f2.2fd88c",
"type": "block",
"name": "Block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3014.166961669922,
- "y": 6077.0005741119385,
- "z": "d497934d.905b2",
+ "x": 3052.8544540405273,
+ "y": 6090.18804359436,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "7ff7497.13117b8",
- "ffa3833e.e9956",
- "48f24fa1.aac44"
+ "4ecd2413.c1ac2c",
+ "4ffa841.be4377c",
+ "209f9a9d.45d496"
]
]
},
{
- "id": "9c17f495.d17728",
+ "id": "1c2e5305.7e243d",
"type": "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=\"CellLocal ID for comparison -- specific DUList\"/>\n<parameter name=\"field2\" value=\"`$tmp.gNBDUList.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"CellLocal ID for comparison - overall TA \"/>\n<parameter name=\"field4\" value=\"`$tmp.cellLocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2790.1671600341797,
- "y": 6199.000673294067,
- "z": "d497934d.905b2",
+ "x": 2828.854652404785,
+ "y": 6212.188142776489,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "9f3773d9.da742",
+ "id": "58c5284d.881c98",
"type": "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 slice parameters - maxNumberofUEs \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field3\" value=\"Payload slice parameters - maxNumberofConns\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>\n<parameter name=\"field5\" value=\"Payload slice parameters - dLThptPerSlice\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.dLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Payload slice parameters - uLThptPerSlice\"/>\n<parameter name=\"field8\" value=\"`$payloadJson.input.sliceProfile.uLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 2059.5002403259277,
- "y": 722.3334369659424,
- "z": "d497934d.905b2",
+ "x": 2098.187732696533,
+ "y": 735.5209064483643,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "1c9f8440.6165fc",
+ "id": "fd7aef73.25f1c",
"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-sliceparms-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2085.1668281555176,
- "y": 882.6668372154236,
- "z": "d497934d.905b2",
+ "x": 2123.854320526123,
+ "y": 895.8543066978455,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "f2b2dce2.4222c",
+ "id": "998f959.4540068",
"type": "set",
"name": "Calculate parms",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`' />\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`' />\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />",
"comments": "",
- "x": 2107.1667671203613,
- "y": 823.3334102630615,
- "z": "d497934d.905b2",
+ "x": 2145.854259490967,
+ "y": 836.5208797454834,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "3c50a1a5.becbfe",
+ "id": "25223fa4.5b85b",
"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-sliceparms-context2.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2063.500141143799,
- "y": 988.3334712982178,
- "z": "d497934d.905b2",
+ "x": 2102.1876335144043,
+ "y": 1001.5209407806396,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "907be4bd.a38118",
+ "id": "c2f343dc.d033a",
"type": "set",
"name": "calculation1",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.maxNumberOfConns / $tmp.cellCUListEntries`' />",
"comments": "",
- "x": 2422.833320617676,
- "y": 1945.000015258789,
- "z": "d497934d.905b2",
+ "x": 2461.5208129882812,
+ "y": 1958.187484741211,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "1311957f.61fb0b",
+ "id": "a8fc4e9e.b1862",
"type": "set",
"name": "calculation2",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />",
"comments": "",
- "x": 2449.833324432373,
- "y": 1985.6666831970215,
- "z": "d497934d.905b2",
+ "x": 2488.5208168029785,
+ "y": 1998.8541526794434,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "d77266a8.593b48",
+ "id": "7c08382c.91f848",
"type": "set",
"name": "calculation3",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
"comments": "",
- "x": 2460.833251953125,
- "y": 2036.6666259765625,
- "z": "d497934d.905b2",
+ "x": 2499.5207443237305,
+ "y": 2049.8540954589844,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "4bb23920.579f58",
+ "id": "6b8f2f7f.8ad82",
"type": "set",
"name": "Calculate for RRM2",
- "xml": "<set>\n<parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns`' />",
+ "xml": "<set>\n<parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns*4`' />",
"comments": "",
- "x": 3197.0316581726074,
- "y": 3478.531699180603,
- "z": "d497934d.905b2",
+ "x": 3235.719150543213,
+ "y": 3491.719168663025,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "4adf99ac.f43138",
+ "id": "227aa86c.d8ef18",
"type": "set",
"name": "Calculate for RRM3",
"xml": "<set>\n<parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' />",
"comments": "",
- "x": 3211.031784057617,
- "y": 3531.531576156616,
- "z": "d497934d.905b2",
+ "x": 3249.7192764282227,
+ "y": 3544.719045639038,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "3d7b3678.efb19a",
+ "id": "7041c873.f89558",
"type": "set",
"name": "calculation rrm4",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP1' value='`$tmp.DRBPerCUUPForSNSSAI * 100`' />",
"comments": "",
- "x": 3183.03129196167,
- "y": 3569.531455039978,
- "z": "d497934d.905b2",
+ "x": 3221.7187843322754,
+ "y": 3582.7189245224,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "3734ae81.e94062",
+ "id": "c754692b.16ebf8",
"type": "set",
"name": "Calculate RRM Parms2",
"xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
"comments": "",
- "x": 2563.5313568115234,
- "y": 5408.032133996487,
- "z": "d497934d.905b2",
+ "x": 2602.218849182129,
+ "y": 5421.2196034789085,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "19f19028.622a5",
+ "id": "d4c104c7.d53b38",
"type": "set",
"name": "Calculate RRM Parms3",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
"comments": "",
- "x": 2553.531478881836,
- "y": 5463.032011926174,
- "z": "d497934d.905b2",
+ "x": 2592.2189712524414,
+ "y": 5476.219481408596,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "255fdc18.108bc4",
+ "id": "34c9e22.b0a7c1e",
"type": "set",
"name": "Calculate RRM Parms4",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
"comments": "",
- "x": 2553.5313568115234,
- "y": 5514.032011985779,
- "z": "d497934d.905b2",
+ "x": 2592.218849182129,
+ "y": 5527.219481468201,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "1cd94a41.d15706",
+ "id": "a8816efe.70be4",
"type": "set",
"name": "Calculate RRM Parms5",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
"comments": "",
- "x": 2541.531478881836,
- "y": 5574.032133996487,
- "z": "d497934d.905b2",
+ "x": 2580.2189712524414,
+ "y": 5587.2196034789085,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "5ce82acb.805884",
+ "id": "503469f8.a36558",
"type": "set",
"name": "Calculate RRM Parms6",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
"comments": "",
- "x": 2579.5313568115234,
- "y": 5624.032133996487,
- "z": "d497934d.905b2",
+ "x": 2618.218849182129,
+ "y": 5637.2196034789085,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "20b95cc1.ef7f24",
+ "id": "b2653495.ee3a68",
"type": "set",
"name": "Calculate RRM Parms7",
"xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
"comments": "",
- "x": 2566.531295776367,
- "y": 5694.032500267029,
- "z": "d497934d.905b2",
+ "x": 2605.2187881469727,
+ "y": 5707.219969749451,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "c3e2d57f.a357c8",
+ "id": "c8829055.def5d",
"type": "set",
"name": "calculation8",
"xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.DUListEntries`' />\n",
"comments": "",
- "x": 2537.531295776367,
- "y": 5758.031523704529,
- "z": "d497934d.905b2",
+ "x": 2576.2187881469727,
+ "y": 5771.218993186951,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "432c2b41.ac7a94",
+ "id": "86314876.701b88",
"type": "set",
"name": "calculation9",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
"comments": "",
- "x": 2525.5318450927734,
- "y": 5809.031401634216,
- "z": "d497934d.905b2",
+ "x": 2564.219337463379,
+ "y": 5822.218871116638,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "c56e9656.af3bd8",
+ "id": "4b439c28.506134",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2081.0311851501465,
- "y": 1075.0781395435333,
- "z": "d497934d.905b2",
+ "x": 2119.718677520752,
+ "y": 1088.2656090259552,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "785a0637.29c608",
- "a2ef3240.150a8"
+ "4f278b05.5b4c64",
+ "a0050f49.222f8"
]
]
},
{
- "id": "785a0637.29c608",
+ "id": "4f278b05.5b4c64",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2271.03116607666,
- "y": 1045.0779230594635,
- "z": "d497934d.905b2",
+ "x": 2309.7186584472656,
+ "y": 1058.2653925418854,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "61e6cf02.2c7fc"
+ "c1d4b126.a640e"
]
]
},
{
- "id": "a2ef3240.150a8",
+ "id": "a0050f49.222f8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2251.0311393737793,
- "y": 1124.0780146121979,
- "z": "d497934d.905b2",
+ "x": 2289.7186317443848,
+ "y": 1137.2654840946198,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "6a3de219.dc091c"
+ "1cdc5318.81c31d"
]
]
},
{
- "id": "4d804d2f.1ca854",
+ "id": "98860cef.b1782",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for ADD SliceProfile ToNearRTRIC\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.latency`\"/>\n<parameter name=\"field7\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field9\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field10\" value=\"`$payloadJson.input.sliceProfile.uEMobilityLevel`\"/>\n<parameter name=\"field11\" value=\"`$tmp.trackingArea`\"/>\n<parameter name=\"field12\" value=\"`$payloadJson.input.sliceProfile.resourceSharingLevel`\"/>",
"comments": "",
"outputs": 1,
- "x": 2272.0318336486816,
- "y": 1270.411393404007,
- "z": "d497934d.905b2",
+ "x": 2310.719326019287,
+ "y": 1283.5988628864288,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "871a44d1.637e78",
+ "id": "bae48b05.1444f8",
"type": "block",
"name": "Add sliceprofile NRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1947.0308685302734,
- "y": 1276.4219107627869,
- "z": "d497934d.905b2",
+ "x": 1985.718360900879,
+ "y": 1289.6093802452087,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "4d804d2f.1ca854",
- "4a91c0ab.a4945",
- "c56e9656.af3bd8",
- "98fc18a5.33ec48"
+ "98860cef.b1782",
+ "d3e629c1.e96e28",
+ "4b439c28.506134",
+ "89dc1157.f3333"
]
]
},
{
- "id": "98fc18a5.33ec48",
+ "id": "89dc1157.f3333",
"type": "execute",
"name": "add addSliceProfile.ToNearRTRIC using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-sliceProfile-NRRIC.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addSliceProfile-NRTRIC-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2343.0320739746094,
- "y": 1336.422043800354,
- "z": "d497934d.905b2",
+ "x": 2381.719566345215,
+ "y": 1349.6095132827759,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "42df6822.718998",
- "26b0d484.35a0ac"
+ "17e2a7f9.72ef98",
+ "b58624a.eb28dd8"
]
]
},
{
- "id": "4a91c0ab.a4945",
+ "id": "d3e629c1.e96e28",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add SliceProfile ToNearRTRIC url:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 2272.031410217285,
- "y": 1204.4220440387726,
- "z": "d497934d.905b2",
+ "x": 2310.7189025878906,
+ "y": 1217.6095135211945,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "98b82496.127348",
+ "id": "384192c5.becd5e",
"type": "execute",
"name": "generate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2659.0311317443848,
- "y": 945.0782642662525,
- "z": "d497934d.905b2",
+ "x": 2697.7186241149902,
+ "y": 958.2657337486744,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "42df6822.718998",
+ "id": "17e2a7f9.72ef98",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2743.0311965942383,
- "y": 1214.4113140106201,
- "z": "d497934d.905b2",
+ "x": 2781.7186889648438,
+ "y": 1227.598783493042,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "b71af0f.d70ce1"
+ "c4bc2b8a.7b7028"
]
]
},
{
- "id": "26b0d484.35a0ac",
+ "id": "b58624a.eb28dd8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2653.032081604004,
- "y": 1329.411301612854,
- "z": "d497934d.905b2",
+ "x": 2691.7195739746094,
+ "y": 1342.5987710952759,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "b7687486.6a8248"
+ "d65f5595.f4dd98"
]
]
},
{
- "id": "b7687486.6a8248",
+ "id": "d65f5595.f4dd98",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2818.0307998657227,
- "y": 1330.411301612854,
- "z": "d497934d.905b2",
+ "x": 2856.718292236328,
+ "y": 1343.5987710952759,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "a3b17856.124c38"
+ "8be36083.0cec2"
]
]
},
{
- "id": "3e03b6b8.09bb8a",
+ "id": "1cf03784.d1ed98",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding slice proficle to NearRTRIC\" />",
"comments": "",
- "x": 2928.0316848754883,
- "y": 1269.4115581512451,
- "z": "d497934d.905b2",
+ "x": 2966.7191772460938,
+ "y": 1282.599027633667,
+ "z": "902b25ae.7c3098",
"wires": []
},
{
- "id": "a3b17856.124c38",
+ "id": "8be36083.0cec2",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add to NRCELLCU Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 2982.031593322754,
- "y": 1323.4117908477783,
- "z": "d497934d.905b2",
+ "x": 3020.7190856933594,
+ "y": 1336.5992603302002,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "6a3de219.dc091c",
+ "id": "1cdc5318.81c31d",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2444.0207901000977,
- "y": 1119.0780146121979,
- "z": "d497934d.905b2",
+ "x": 2482.708282470703,
+ "y": 1132.2654840946198,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "6605bd9d.c965a4",
- "6650f5b0.5c304c",
- "ea5023d4.20878"
+ "92e51d1c.9eab1",
+ "97c08468.e454c8",
+ "965cb927.5be908"
]
]
},
{
- "id": "7f260c05.abc2d4",
+ "id": "2de61976.84dcd6",
"type": "execute",
"name": "prev Send to SO",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name='customHttpHeaders' value=\"`'Authorization=Basic ' + $prop.restapi.so.authorization `\" />\n\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>",
"comments": "",
"outputs": 1,
- "x": 528.0038948059082,
- "y": 1046.7539434432983,
- "z": "d497934d.905b2",
+ "x": 566.6913871765137,
+ "y": 1059.9414129257202,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "d7b45056.31cc2",
+ "id": "311bc201.12061e",
"type": "execute",
"name": "Populate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2659.565906524658,
- "y": 1000.677225112915,
- "z": "d497934d.905b2",
+ "x": 2698.2533988952637,
+ "y": 1013.8646945953369,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "6605bd9d.c965a4",
+ "id": "92e51d1c.9eab1",
"type": "execute",
"name": "generate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2723.5657386779785,
- "y": 1047.6773347854614,
- "z": "d497934d.905b2",
+ "x": 2762.253231048584,
+ "y": 1060.8648042678833,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "6650f5b0.5c304c",
+ "id": "97c08468.e454c8",
"type": "execute",
"name": "Populate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2739.1007385253906,
- "y": 1099.276159286499,
- "z": "d497934d.905b2",
+ "x": 2777.788230895996,
+ "y": 1112.463628768921,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "ea5023d4.20878",
+ "id": "965cb927.5be908",
"type": "execute",
"name": "Populate MOUNT NAME",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2757.566059112549,
- "y": 1152.6771478652954,
- "z": "d497934d.905b2",
+ "x": 2796.2535514831543,
+ "y": 1165.8646173477173,
+ "z": "902b25ae.7c3098",
"wires": [
[]
]
},
{
- "id": "b71af0f.d70ce1",
+ "id": "c4bc2b8a.7b7028",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2892.4548263549805,
- "y": 1219.2326855659485,
- "z": "d497934d.905b2",
+ "x": 2931.142318725586,
+ "y": 1232.4201550483704,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "3e03b6b8.09bb8a"
+ "1cf03784.d1ed98"
]
]
},
{
- "id": "61e6cf02.2c7fc",
+ "id": "c1d4b126.a640e",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2375.232666015625,
- "y": 930.6771240234375,
- "z": "d497934d.905b2",
+ "x": 2413.9201583862305,
+ "y": 943.8645935058594,
+ "z": "902b25ae.7c3098",
"wires": [
[
- "98b82496.127348",
- "d7b45056.31cc2"
+ "384192c5.becd5e",
+ "311bc201.12061e"
]
]
}
-]
+] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json
index 5921caaa..2d7a7cc8 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json
@@ -1,20 +1,20 @@
[
{
- "id": "3b8c8e4f.bf0c22",
+ "id": "307f33c6.dd742c",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 180.515625,
- "y": 106.99999737739563,
- "z": "902b25ae.7c3098",
+ "x": 417.8125,
+ "y": 157.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "300a4138.2b73ce"
+ "fa0eeda0.c794f"
]
]
},
{
- "id": "300a4138.2b73ce",
+ "id": "fa0eeda0.c794f",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -22,5009 +22,5324 @@
"comments": "",
"xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
"outputs": 1,
- "x": 265.5156478881836,
- "y": 173.9999668598175,
- "z": "902b25ae.7c3098",
+ "x": 502.8125228881836,
+ "y": 224.81246948242188,
+ "z": "7108e868.a979d8",
"wires": [
[
- "319ddc75.048fa4"
+ "93c2d6b3.d318c8"
]
]
},
{
- "id": "319ddc75.048fa4",
+ "id": "93c2d6b3.d318c8",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceModifyAllocate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 199.515625,
- "y": 233.99993252754211,
- "z": "902b25ae.7c3098",
+ "x": 436.8125,
+ "y": 284.8124351501465,
+ "z": "7108e868.a979d8",
"wires": [
[
- "780aaef3.c25c3"
+ "d3c9dd74.37db6"
]
]
},
{
- "id": "780aaef3.c25c3",
+ "id": "d3c9dd74.37db6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 195.51561737060547,
- "y": 294.99996876716614,
- "z": "902b25ae.7c3098",
+ "x": 432.81249237060547,
+ "y": 345.8124713897705,
+ "z": "7108e868.a979d8",
"wires": [
[
- "1c87291.bc810d7",
- "12550505.ebf38b",
- "8678e40c.1e7878",
- "b7595db7.c2521"
+ "164712ad.822b9d",
+ "80dd96ef.ed69b8",
+ "134f1599.6c4a8a",
+ "f0e433f3.dc406"
]
]
},
{
- "id": "1c87291.bc810d7",
+ "id": "164712ad.822b9d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 453.51560974121094,
- "y": 296.9999897480011,
- "z": "902b25ae.7c3098",
+ "x": 690.8124847412109,
+ "y": 347.81249237060547,
+ "z": "7108e868.a979d8",
"wires": [
[
- "9bb6d9c5.4cbba8",
- "5bfbb383.aeafdc",
- "74c6cd69.a2c764"
+ "d71a2225.52045",
+ "836a2684.eb82f8",
+ "85517da2.bd54b"
]
]
},
{
- "id": "9bb6d9c5.4cbba8",
+ "id": "d71a2225.52045",
"type": "execute",
- "name": "generate getNearRTRICsFromTrackingArea URL",
+ "name": "generate getNearRTRICsFromRANNFNSSI URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICByNSSI`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.RANNFNSSIId`\"/>",
"comments": "",
"outputs": 1,
- "x": 785.5156097412109,
- "y": 294.9999897480011,
- "z": "902b25ae.7c3098",
+ "x": 1022.8124847412109,
+ "y": 345.81249237060547,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "5bfbb383.aeafdc",
+ "id": "836a2684.eb82f8",
"type": "record",
"name": "record configdb RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$tmp.payload.RANNFNSSIId`\" />",
"comments": "",
"outputs": 1,
- "x": 739.5156097412109,
- "y": 365.9999897480011,
- "z": "902b25ae.7c3098",
+ "x": 976.8124847412109,
+ "y": 416.81249237060547,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "74c6cd69.a2c764",
+ "id": "85517da2.bd54b",
"type": "execute",
- "name": "Get nearRTRIC for TrackingArea",
+ "name": "Get nearRTRIC for RANNFNSSIId",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 740.5156707763672,
- "y": 427.0000126361847,
- "z": "902b25ae.7c3098",
+ "x": 977.8125457763672,
+ "y": 477.81251525878906,
+ "z": "7108e868.a979d8",
"wires": [
[
- "16423873.e85ff8",
- "a4bb2894.bd3428"
+ "4d4a9497.964e7c",
+ "7a7fe81.59f6a18"
]
]
},
{
- "id": "16423873.e85ff8",
+ "id": "4d4a9497.964e7c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1018.3337135314941,
- "y": 521.8180477619171,
- "z": "902b25ae.7c3098",
+ "x": 1255.6305885314941,
+ "y": 572.6305503845215,
+ "z": "7108e868.a979d8",
"wires": [
[
- "4a234252.04e8cc"
+ "99314aa2.bc5dc8"
]
]
},
{
- "id": "4a234252.04e8cc",
+ "id": "99314aa2.bc5dc8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1196.3335704803467,
- "y": 520.8181889057159,
- "z": "902b25ae.7c3098",
+ "x": 1433.6304454803467,
+ "y": 571.6306915283203,
+ "z": "7108e868.a979d8",
"wires": [
[
- "c0caeb39.96b388",
- "2e41434a.231d7c"
+ "fef1db8.1964128",
+ "48780fbe.03af7"
]
]
},
{
- "id": "c0caeb39.96b388",
+ "id": "fef1db8.1964128",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 1358.3333740234375,
- "y": 516.8181736469269,
- "z": "902b25ae.7c3098",
+ "x": 1595.6302490234375,
+ "y": 567.6306762695312,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "2e41434a.231d7c",
+ "id": "48780fbe.03af7",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1349.1116180419922,
- "y": 583.8181660175323,
- "z": "902b25ae.7c3098",
+ "x": 1586.4084930419922,
+ "y": 634.6306686401367,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "a4bb2894.bd3428",
+ "id": "7a7fe81.59f6a18",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1041.333698272705,
- "y": 422.81815552711487,
- "z": "902b25ae.7c3098",
+ "x": 1278.630573272705,
+ "y": 473.63065814971924,
+ "z": "7108e868.a979d8",
"wires": [
[
- "1d5b117.5d697ef"
+ "e008015f.cfa71"
]
]
},
{
- "id": "1d5b117.5d697ef",
+ "id": "e008015f.cfa71",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1246.333740234375,
- "y": 371.8181965351105,
- "z": "902b25ae.7c3098",
+ "x": 1483.630615234375,
+ "y": 422.63069915771484,
+ "z": "7108e868.a979d8",
"wires": [
[
- "91ffd869.9026d8",
- "4a65a227.e809dc"
+ "849418c6.f295c8",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "91ffd869.9026d8",
+ "id": "849418c6.f295c8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1360.333438873291,
- "y": 296.9292366504669,
- "z": "902b25ae.7c3098",
+ "x": 1597.630313873291,
+ "y": 347.7417392730713,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "12550505.ebf38b",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 454.51558685302734,
- "y": 494.81813740730286,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "84400027.7f1a4",
- "34041c26.75a804",
- "4d0977fb.4d5e28"
- ]
- ]
- },
- {
- "id": "8678e40c.1e7878",
+ "id": "80dd96ef.ed69b8",
"type": "for",
"name": "foreach NearRTRIC",
"xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
"comments": "",
"outputs": 1,
- "x": 352.515625,
- "y": 930.8181736469269,
- "z": "902b25ae.7c3098",
+ "x": 589.8125,
+ "y": 981.6306762695312,
+ "z": "7108e868.a979d8",
"wires": [
[
- "341b2541.3901ca",
- "8d74913d.1ed4a",
- "a89b6c52.c4e5f",
- "a4ae7afd.757af8"
+ "1ef3c9dc.82ed86",
+ "6c5cf2d1.84abec",
+ "d086944b.c66398",
+ "4e830c1f.7bebc4"
]
]
},
{
- "id": "341b2541.3901ca",
+ "id": "1ef3c9dc.82ed86",
"type": "block",
"name": "Process NearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 646.4246826171875,
- "y": 924.7272922992706,
- "z": "902b25ae.7c3098",
+ "x": 883.7215576171875,
+ "y": 975.539794921875,
+ "z": "7108e868.a979d8",
"wires": [
[
- "5a68d7d0.bc3668",
- "c32af15a.ef3ed",
- "4b7e49a5.2cc928",
- "11145333.704b8d",
- "6b8ed864.5e50a8",
- "b3969406.3a24e8"
+ "1c2d7304.ea98cd",
+ "d2bc2ba0.f263f8",
+ "1d207fa8.45607",
+ "38089fef.f14fa",
+ "dbf7b9fd.e29e98",
+ "bc8d47bf.d46a68"
]
]
},
{
- "id": "5a68d7d0.bc3668",
+ "id": "1c2d7304.ea98cd",
"type": "execute",
"name": "read nearRTRICId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].nearRTRICId'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1107.0610809326172,
- "y": 891.7273094654083,
- "z": "902b25ae.7c3098",
+ "x": 1344.3579559326172,
+ "y": 942.5398120880127,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "c32af15a.ef3ed",
+ "id": "d2bc2ba0.f263f8",
"type": "execute",
"name": "read gNBId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1084.0610694885254,
- "y": 952.7273361682892,
- "z": "902b25ae.7c3098",
+ "x": 1321.3579444885254,
+ "y": 1003.5398387908936,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "4b7e49a5.2cc928",
+ "id": "1d207fa8.45607",
"type": "set",
"name": "Calculate uLThptPerSlice dLThptPerSlice maxNumberOfConns",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNFNSSIRIC-configdb-response._length`' />",
"comments": "",
- "x": 1265.4247436523438,
- "y": 1076.5454685688019,
- "z": "902b25ae.7c3098",
+ "x": 1502.7216186523438,
+ "y": 1127.3579711914062,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "11145333.704b8d",
+ "id": "38089fef.f14fa",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConn for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"nearRTRICId\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"RANNFNSSI\"/>\n<parameter name=\"field12\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n<parameter name=\"field13\" value=\"NSSAI\"/>\n<parameter name=\"field14\" value=\"`$tmp.payload.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1089.333740234375,
- "y": 1139.5455296039581,
- "z": "902b25ae.7c3098",
+ "x": 1326.630615234375,
+ "y": 1190.3580322265625,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "6b8ed864.5e50a8",
+ "id": "dbf7b9fd.e29e98",
"type": "execute",
"name": "Update nearRT RIC Details in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updatenearRTRIC.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"modify-allocate-nearRTRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1185.3338012695312,
- "y": 1186.4545872211456,
- "z": "902b25ae.7c3098",
+ "x": 1422.6306762695312,
+ "y": 1237.26708984375,
+ "z": "7108e868.a979d8",
"wires": [
[
- "399aec86.c71a14",
- "391cd726.235188"
+ "6ed5711a.e5781",
+ "8ca4207e.7575c"
]
]
},
{
- "id": "399aec86.c71a14",
+ "id": "6ed5711a.e5781",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1511.333740234375,
- "y": 1150.2726414203644,
- "z": "902b25ae.7c3098",
+ "x": 1748.630615234375,
+ "y": 1201.0851440429688,
+ "z": "7108e868.a979d8",
"wires": [
[
- "fccfcd5d.bad1a"
+ "c7d74ae6.23d9c8"
]
]
},
{
- "id": "fccfcd5d.bad1a",
+ "id": "c7d74ae6.23d9c8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1643.3338623046875,
- "y": 1112.2726414203644,
- "z": "902b25ae.7c3098",
+ "x": 1880.6307373046875,
+ "y": 1163.0851440429688,
+ "z": "7108e868.a979d8",
"wires": [
[
- "c6f516af.336bd8",
- "6d47a350.b8788c"
+ "d8421ee9.0c90f",
+ "6be76b86.5e2224"
]
]
},
{
- "id": "6d47a350.b8788c",
+ "id": "6be76b86.5e2224",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1832.3336181640625,
- "y": 1059.3836643695831,
- "z": "902b25ae.7c3098",
+ "x": 2069.6304931640625,
+ "y": 1110.1961669921875,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "c6f516af.336bd8",
+ "id": "d8421ee9.0c90f",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1840.3336181640625,
- "y": 1159.2727024555206,
- "z": "902b25ae.7c3098",
+ "x": 2077.6304931640625,
+ "y": 1210.085205078125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "391cd726.235188",
+ "id": "8ca4207e.7575c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1509.15185546875,
- "y": 1250.1817600727081,
- "z": "902b25ae.7c3098",
+ "x": 1746.44873046875,
+ "y": 1300.9942626953125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "35513f96.3bb28"
+ "56064406.6a9b3c"
]
]
},
{
- "id": "35513f96.3bb28",
+ "id": "56064406.6a9b3c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1673.1517333984375,
- "y": 1251.1818821430206,
- "z": "902b25ae.7c3098",
+ "x": 1910.4486083984375,
+ "y": 1301.994384765625,
+ "z": "7108e868.a979d8",
"wires": [
[
- "a290d95e.17dea8"
+ "f7fc925a.c53a3"
]
]
},
{
- "id": "a290d95e.17dea8",
+ "id": "f7fc925a.c53a3",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NearRT RIC info in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 1823.1517333984375,
- "y": 1246.1820042133331,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "84400027.7f1a4",
- "type": "execute",
- "name": "generate getListOfCells URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getListOfCells`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getListOfCells.url\"/>\n <parameter name=\"target\" value=\"{trackingArea}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.trackingArea`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 734.515625,
- "y": 506.99999737739563,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "34041c26.75a804",
- "type": "record",
- "name": "record configdb RestAPI parms",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB Get getListOfCells for tracking area\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getListOfCells.url`\" />\n<parameter name='field3' value=\"`$tmp.payload.trackingArea`\" />",
- "comments": "",
- "outputs": 1,
- "x": 742.5156860351562,
- "y": 593.0001804828644,
- "z": "902b25ae.7c3098",
+ "x": 2060.4486083984375,
+ "y": 1296.9945068359375,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "4d0977fb.4d5e28",
- "type": "execute",
- "name": "Get ListOfCells for TrackingArea",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getListOfCells.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getListofCells-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 751.5158081054688,
- "y": 680.0001194477081,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "47658025.69418",
- "18348ec3.5b7e81"
- ]
- ]
- },
- {
- "id": "18348ec3.5b7e81",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 943.5152587890625,
- "y": 804.0000584125519,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "82117156.d2883"
- ]
- ]
- },
- {
- "id": "47658025.69418",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1013.515380859375,
- "y": 632.0001804828644,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "58e0cb6.b8cdc34"
- ]
- ]
- },
- {
- "id": "58e0cb6.b8cdc34",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1178.515380859375,
- "y": 629.0001194477081,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "d2638259.98521",
- "fb58ab73.6ab478",
- "4a65a227.e809dc"
- ]
- ]
- },
- {
- "id": "fb58ab73.6ab478",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1344.515380859375,
- "y": 625.111172914505,
- "z": "902b25ae.7c3098",
- "wires": []
- },
- {
- "id": "d2638259.98521",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1338.51513671875,
- "y": 673.0001194477081,
- "z": "902b25ae.7c3098",
- "wires": []
- },
- {
- "id": "82117156.d2883",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1076.51513671875,
- "y": 782.0001804828644,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "1b286697.9a5299",
- "3937150b.7c04da",
- "a745b07d.52909"
- ]
- ]
- },
- {
- "id": "1b286697.9a5299",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained List of Cells from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getListofCells-configdb-response._length`\"/>\n<parameter name=\"field3\" value=\"List of Cells in the Tracking Area Relevant for RAN Slice Instantiation \"/>",
- "comments": "",
- "outputs": 1,
- "x": 1251.51513671875,
- "y": 752.0001194477081,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "a745b07d.52909",
- "type": "for",
- "name": "For list of cells",
- "xml": "<for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >",
- "comments": "",
- "outputs": 1,
- "x": 1295.5361328125,
- "y": 801.6663181781769,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "1d4b3f11.915271",
- "ac2b2e65.075d1"
- ]
- ]
- },
- {
- "id": "3937150b.7c04da",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1288.29345703125,
- "y": 856.0001194477081,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "ac2b2e65.075d1",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.trackingarea.cell`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1472.5361328125,
- "y": 889.6663181781769,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "1d4b3f11.915271",
- "type": "execute",
- "name": "Cells in TrackingArea",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $idx + ']'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1510.5361328125,
- "y": 778.3329441547394,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "b3969406.3a24e8",
+ "id": "bc8d47bf.d46a68",
"type": "execute",
"name": "ranNFNSSIListEntry",
"xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1133.515625,
- "y": 1009.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1370.8125,
+ "y": 1060.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "a0b4281d.32f468",
+ "id": "b8a93326.20b78",
"type": "execute",
"name": "read CUCP list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1026.515625,
- "y": 1293.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1263.8125,
+ "y": 1344.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "8d74913d.1ed4a",
+ "id": "6c5cf2d1.84abec",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 626.515625,
- "y": 1277.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 863.8125,
+ "y": 1328.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "a0b4281d.32f468",
- "caa135ce.f89318",
- "960695a4.101e78"
+ "b8a93326.20b78",
+ "bafd24dc.562168",
+ "ed358e77.3b307"
]
]
},
{
- "id": "caa135ce.f89318",
+ "id": "bafd24dc.562168",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 998.515625,
- "y": 1358.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1235.8125,
+ "y": 1409.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "960695a4.101e78",
+ "id": "ed358e77.3b307",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1026.515625,
- "y": 1433.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1263.8125,
+ "y": 1484.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "3d7152c4.70485e"
+ "aa9d51fb.0103c"
]
]
},
{
- "id": "3d7152c4.70485e",
+ "id": "aa9d51fb.0103c",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1247.515625,
- "y": 1440.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1484.8125,
+ "y": 1491.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "564003fb.18e24c",
- "69c00406.79015c",
- "624a20eb.4d417",
- "df5b16ab.9c1e08"
+ "cf612911.c44998",
+ "c906a35a.2ccc5",
+ "ed66efa7.cab5c",
+ "f042d642.d93388"
]
]
},
{
- "id": "564003fb.18e24c",
+ "id": "cf612911.c44998",
"type": "execute",
"name": "read CUCP name",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
"comments": "",
"outputs": 1,
- "x": 1598.515625,
- "y": 1293.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1835.8125,
+ "y": 1344.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "69c00406.79015c",
+ "id": "c906a35a.2ccc5",
"type": "for",
"name": "for cellCUList",
"xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1602.515625,
- "y": 1437.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1839.8125,
+ "y": 1488.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "d937701f.b65df"
+ "2367fdf7.13e052"
]
]
},
{
- "id": "1ce12047.a58fa",
+ "id": "a59b3348.53d8e",
"type": "execute",
"name": "read cellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2306.515625,
- "y": 1207.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2543.8125,
+ "y": 1258.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "e0ec572b.b9a798",
+ "id": "eb810d0e.4dd5d",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 2251.515625,
- "y": 1461.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2488.8125,
+ "y": 1512.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "95b3a6d3.e7ab58",
+ "id": "58b9362d.eda568",
"type": "execute",
"name": "patch PLMNInfoListEntry ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellCU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2285.5157318115234,
- "y": 1590.9999706745148,
- "z": "902b25ae.7c3098",
+ "x": 2522.8126068115234,
+ "y": 1641.8124732971191,
+ "z": "7108e868.a979d8",
"wires": [
[
- "57ed663e.258718",
- "97ddc658.8d4448"
+ "91d2ca4f.cc02a8",
+ "2a6ef5af.0afada"
]
]
},
{
- "id": "d347454c.5dd528",
+ "id": "bb2b6a10.6ae608",
"type": "record",
"name": "record API params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2245.515625,
- "y": 1527.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2482.8125,
+ "y": 1578.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "9a14bdba.26e61",
+ "id": "d5711de.7d20ee",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2116.515625,
- "y": 1044.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2353.8125,
+ "y": 1095.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "1ce12047.a58fa",
- "e0ec572b.b9a798",
- "d347454c.5dd528",
- "95b3a6d3.e7ab58",
- "c906c7e6.c12e38",
- "ffb1212e.0d1e",
- "e8accfbc.4db75",
- "d3000cdc.4fc83",
- "fab232b6.bded",
- "eea13e61.74881",
- "98957b0e.49c668"
+ "a59b3348.53d8e",
+ "eb810d0e.4dd5d",
+ "bb2b6a10.6ae608",
+ "58b9362d.eda568",
+ "1f2cbe8.ab92042",
+ "2fa14d3.a7367b2",
+ "3c40ea7f.5428a6",
+ "6cc8a38.caae65c",
+ "1df8c261.39d8be",
+ "8dd84100.059ce",
+ "d05460e1.aaaa4"
]
]
},
{
- "id": "57ed663e.258718",
+ "id": "91d2ca4f.cc02a8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2536.515739440918,
- "y": 1587.0002148151398,
- "z": "902b25ae.7c3098",
+ "x": 2773.812614440918,
+ "y": 1637.8127174377441,
+ "z": "7108e868.a979d8",
"wires": [
[
- "3c030de4.b95e02"
+ "13392720.662ca9"
]
]
},
{
- "id": "3c030de4.b95e02",
+ "id": "13392720.662ca9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2709.515525817871,
- "y": 1586.000275850296,
- "z": "902b25ae.7c3098",
+ "x": 2946.812400817871,
+ "y": 1636.8127784729004,
+ "z": "7108e868.a979d8",
"wires": [
[
- "16bf3cfb.8c0673"
+ "ee4d18d9.5f1cd8"
]
]
},
{
- "id": "16bf3cfb.8c0673",
+ "id": "ee4d18d9.5f1cd8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 2907.5155868530273,
- "y": 1583.0003979206085,
- "z": "902b25ae.7c3098",
+ "x": 3144.8124618530273,
+ "y": 1633.812900543213,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "97ddc658.8d4448",
+ "id": "2a6ef5af.0afada",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2501.51570892334,
- "y": 1469.9999706745148,
- "z": "902b25ae.7c3098",
+ "x": 2738.81258392334,
+ "y": 1520.8124732971191,
+ "z": "7108e868.a979d8",
"wires": [
[
- "a32496a4.c087a8"
+ "a4b20ac1.7e5948"
]
]
},
{
- "id": "a32496a4.c087a8",
+ "id": "a4b20ac1.7e5948",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2651.515983581543,
- "y": 1429.0001537799835,
- "z": "902b25ae.7c3098",
+ "x": 2888.812858581543,
+ "y": 1479.812656402588,
+ "z": "7108e868.a979d8",
"wires": [
[
- "9bf2755e.7a8d68",
- "a1b1b533.2ce348",
- "4a65a227.e809dc"
+ "9879822d.b1fa8",
+ "6a5df2ad.c26a0c",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "9bf2755e.7a8d68",
+ "id": "9879822d.b1fa8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2822.5156173706055,
- "y": 1490.0002148151398,
- "z": "902b25ae.7c3098",
+ "x": 3059.8124923706055,
+ "y": 1540.8127174377441,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "a1b1b533.2ce348",
+ "id": "6a5df2ad.c26a0c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2817.515739440918,
- "y": 1395.0001537799835,
- "z": "902b25ae.7c3098",
+ "x": 3054.812614440918,
+ "y": 1445.812656402588,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "c906c7e6.c12e38",
+ "id": "1f2cbe8.ab92042",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2333.515625,
- "y": 1271.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2570.8125,
+ "y": 1322.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "ffb1212e.0d1e",
+ "id": "2fa14d3.a7367b2",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2294.515625,
- "y": 1339.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2531.8125,
+ "y": 1390.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "e8accfbc.4db75",
+ "id": "3c40ea7f.5428a6",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 2261.515625,
- "y": 1397.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2498.8125,
+ "y": 1448.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "624a20eb.4d417",
+ "id": "ed66efa7.cab5c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1571.515625,
- "y": 1344.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1808.8125,
+ "y": 1395.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "df5b16ab.9c1e08",
+ "id": "f042d642.d93388",
"type": "execute",
"name": "read cellCU list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1612.515625,
- "y": 1393.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1849.8125,
+ "y": 1444.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "d3000cdc.4fc83",
+ "id": "6cc8a38.caae65c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2339.515625,
- "y": 1107.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2576.8125,
+ "y": 1158.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "6e3a9ec5.54cab",
- "3a98f3a0.6efa2c"
+ "9cab3cd4.ad8c8",
+ "2575bb63.cb1f64"
]
]
},
{
- "id": "6e3a9ec5.54cab",
+ "id": "9cab3cd4.ad8c8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2547.515625,
- "y": 1072.9997532367706,
- "z": "902b25ae.7c3098",
+ "x": 2784.8125,
+ "y": 1123.812255859375,
+ "z": "7108e868.a979d8",
"wires": [
[
- "9b76de4c.fcaec"
+ "8a68726.7a5319"
]
]
},
{
- "id": "9b76de4c.fcaec",
+ "id": "8a68726.7a5319",
"type": "execute",
"name": "generate patch PLMNInfoListEntry ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2867.515625,
- "y": 1087.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 3104.8125,
+ "y": 1138.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "3a98f3a0.6efa2c",
+ "id": "2575bb63.cb1f64",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2535.515625,
- "y": 1174.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2772.8125,
+ "y": 1225.8125,
+ "z": "7108e868.a979d8",
"wires": [
- []
+ [
+ "1be9da11.5515e6"
+ ]
]
},
{
- "id": "fab232b6.bded",
+ "id": "1df8c261.39d8be",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1894.515625,
- "y": 1858.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2131.8125,
+ "y": 1909.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "320661e5.277b5e",
- "66fe355d.2d067c",
- "99168d9c.44cff",
- "cac64427.33c2c8",
- "b6782c56.8fd8a",
- "9a893302.6beac",
- "2e133b82.b178b4",
- "e023f374.aa9bb",
- "be4e2f62.3dcd7"
+ "fa450f85.96907",
+ "ac83dc96.d0414",
+ "eee75d70.5462f",
+ "68e0063b.7afdb8",
+ "11885992.57a3d6",
+ "b7fc9607.06c2c8",
+ "48a3f198.0b5bb",
+ "3e1fe485.57c5dc",
+ "cb510840.ed88c8"
]
]
},
{
- "id": "320661e5.277b5e",
+ "id": "fa450f85.96907",
"type": "set",
"name": "Calculate RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
"comments": "",
- "x": 2076.515625,
- "y": 1641.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2313.8125,
+ "y": 1692.8125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "66fe355d.2d067c",
+ "id": "ac83dc96.d0414",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>",
"comments": "",
"outputs": 1,
- "x": 2075.515625,
- "y": 1697.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2312.8125,
+ "y": 1748.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "99168d9c.44cff",
+ "id": "eee75d70.5462f",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2116.515625,
- "y": 1764.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2353.8125,
+ "y": 1815.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "8e2462e4.0b278"
+ "c44d770c.8f6248",
+ "2db4eb44.da6004"
]
]
},
{
- "id": "8e2462e4.0b278",
+ "id": "c44d770c.8f6248",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2294.515625,
- "y": 1731.9997532367706,
- "z": "902b25ae.7c3098",
+ "x": 2531.8125,
+ "y": 1782.812255859375,
+ "z": "7108e868.a979d8",
"wires": [
[
- "579d0e82.08377"
+ "b1dca537.3b57a8"
]
]
},
{
- "id": "579d0e82.08377",
+ "id": "b1dca537.3b57a8",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellCU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2572.515625,
- "y": 1723.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2809.8125,
+ "y": 1774.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "cac64427.33c2c8",
+ "id": "68e0063b.7afdb8",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2151.515625,
- "y": 1836.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2388.8125,
+ "y": 1887.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "b6782c56.8fd8a",
+ "id": "11885992.57a3d6",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2116.515625,
- "y": 1888.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2353.8125,
+ "y": 1939.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "88a37fe8.b1b05",
+ "id": "684c1622.e09e58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2402.515625,
- "y": 2015.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2639.8125,
+ "y": 2066.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "44849ef5.7b1f6"
+ "4f5d406d.e309"
]
]
},
{
- "id": "44849ef5.7b1f6",
+ "id": "4f5d406d.e309",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2566.5155029296875,
- "y": 2017.0001194477081,
- "z": "902b25ae.7c3098",
+ "x": 2803.8123779296875,
+ "y": 2067.8126220703125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "970968b6.c6d5e8",
- "7475ba1b.553594"
+ "45f75ec6.863ec",
+ "34f6d9ce.d2e016"
]
]
},
{
- "id": "970968b6.c6d5e8",
+ "id": "45f75ec6.863ec",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2716.5155029296875,
- "y": 2012.0002415180206,
- "z": "902b25ae.7c3098",
+ "x": 2953.8123779296875,
+ "y": 2062.812744140625,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "635a6762.4c9718",
+ "id": "9a82e320.b76eb",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2398.515625,
- "y": 1936.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2635.8125,
+ "y": 1987.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "16f357c6.2950e8"
+ "59cf3b6.cca69c4"
]
]
},
{
- "id": "16f357c6.2950e8",
+ "id": "59cf3b6.cca69c4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2556.515869140625,
- "y": 1884.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2793.812744140625,
+ "y": 1935.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "f812671b.7ec868",
- "e398601b.0eb6b",
- "4a65a227.e809dc"
+ "d0aa5e9f.9758a",
+ "6409cd63.1a0bf4",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "f812671b.7ec868",
+ "id": "d0aa5e9f.9758a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2727.5155029296875,
- "y": 1946.0000584125519,
- "z": "902b25ae.7c3098",
+ "x": 2964.8123779296875,
+ "y": 1996.8125610351562,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "e398601b.0eb6b",
+ "id": "6409cd63.1a0bf4",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2722.515625,
- "y": 1850.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2959.8125,
+ "y": 1901.8125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "9a893302.6beac",
+ "id": "b7fc9607.06c2c8",
"type": "execute",
"name": "fetch RRMPolicyRatio - NRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 2151.515625,
- "y": 1963.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2388.8125,
+ "y": 2014.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "635a6762.4c9718",
- "88a37fe8.b1b05"
+ "9a82e320.b76eb",
+ "684c1622.e09e58"
]
]
},
{
- "id": "7475ba1b.553594",
+ "id": "34f6d9ce.d2e016",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2731.515625,
- "y": 2074.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2968.8125,
+ "y": 2125.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "2e133b82.b178b4",
+ "id": "48a3f198.0b5bb",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2086.515625,
- "y": 2122.0002262592316,
- "z": "902b25ae.7c3098",
+ "x": 2323.8125,
+ "y": 2172.812728881836,
+ "z": "7108e868.a979d8",
"wires": [
[
- "a4277ed4.8b7a8"
+ "cc5f4f75.fa631"
]
]
},
{
- "id": "e023f374.aa9bb",
+ "id": "3e1fe485.57c5dc",
"type": "execute",
"name": "read rrmpolicyratio list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length '`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 2130.515625,
- "y": 2017.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2367.8125,
+ "y": 2068.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "a4277ed4.8b7a8",
+ "id": "cc5f4f75.fa631",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2307.515625,
- "y": 2142.0002262592316,
- "z": "902b25ae.7c3098",
+ "x": 2544.8125,
+ "y": 2192.812728881836,
+ "z": "7108e868.a979d8",
"wires": [
[
- "78eeec7a.5b98f4",
- "ee904664.c4e518",
- "ea5096f8.729f28",
- "a0922763.f22ba8",
- "a7232d66.d41b",
- "820cae9e.61c58"
+ "d8c3d055.2d419",
+ "6a9f9afc.9b7fa4",
+ "ef468aba.45ebb8",
+ "fcd1306a.0ccea",
+ "4a4813ea.c1f99c",
+ "79d52a8e.70e584"
]
]
},
{
- "id": "78eeec7a.5b98f4",
+ "id": "d8c3d055.2d419",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellCU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`\" />",
"comments": "",
- "x": 2632.515625,
- "y": 2119.0002262592316,
- "z": "902b25ae.7c3098",
+ "x": 2869.8125,
+ "y": 2169.812728881836,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "ee904664.c4e518",
+ "id": "6a9f9afc.9b7fa4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Updated RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_updated`\"/>",
"comments": "",
"outputs": 1,
- "x": 2562.515625,
- "y": 2298.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2799.8125,
+ "y": 2349.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "ea5096f8.729f28",
+ "id": "ef468aba.45ebb8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2600.515625,
- "y": 2169.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2837.8125,
+ "y": 2220.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "6326fcd0.693514"
+ "e34f118.cd120f",
+ "4555531e.6f353c"
]
]
},
{
- "id": "6326fcd0.693514",
+ "id": "e34f118.cd120f",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2800.515625,
- "y": 2176.9997532367706,
- "z": "902b25ae.7c3098",
+ "x": 3037.8125,
+ "y": 2227.812255859375,
+ "z": "7108e868.a979d8",
"wires": [
[
- "727d8df6.a4c934"
+ "c7e16a4d.5ee148"
]
]
},
{
- "id": "727d8df6.a4c934",
+ "id": "c7e16a4d.5ee148",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellCU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3066.515625,
- "y": 2180.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 3303.8125,
+ "y": 2231.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "a0922763.f22ba8",
+ "id": "fcd1306a.0ccea",
"type": "execute",
"name": "patch NRCellCU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellCU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2629.515625,
- "y": 2340.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2866.8125,
+ "y": 2391.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "cd7dc83f.569a18",
- "6790c6e2.bb16a8"
+ "a24f6f33.5c01f",
+ "df336133.6e823"
]
]
},
{
- "id": "cd7dc83f.569a18",
+ "id": "a24f6f33.5c01f",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2901.515625,
- "y": 2332.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 3138.8125,
+ "y": 2383.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "adbad380.fc596"
+ "f5047557.3f0658"
]
]
},
{
- "id": "adbad380.fc596",
+ "id": "f5047557.3f0658",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3092.515625,
- "y": 2332.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 3329.8125,
+ "y": 2383.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "bb3b4db8.3d913",
- "4a65a227.e809dc"
+ "b391edca.02267",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "bb3b4db8.3d913",
+ "id": "b391edca.02267",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 3277.515380859375,
- "y": 2334.0002415180206,
- "z": "902b25ae.7c3098",
+ "x": 3514.812255859375,
+ "y": 2384.812744140625,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "6790c6e2.bb16a8",
+ "id": "df336133.6e823",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2900.515625,
- "y": 2420.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 3137.8125,
+ "y": 2471.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "fa098e4d.4acd1"
+ "c338375f.71e348"
]
]
},
{
- "id": "fa098e4d.4acd1",
+ "id": "c338375f.71e348",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3119.515869140625,
- "y": 2425.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 3356.812744140625,
+ "y": 2476.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "8ce75823.6fd598",
- "82577de9.f0ca2"
+ "e396dc8f.6db54",
+ "89bcda2.7d97e28"
]
]
},
{
- "id": "8ce75823.6fd598",
+ "id": "e396dc8f.6db54",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3364.5155029296875,
- "y": 2472.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 3601.8123779296875,
+ "y": 2522.8125610351562,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "82577de9.f0ca2",
+ "id": "89bcda2.7d97e28",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3359.515625,
- "y": 2376.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 3596.8125,
+ "y": 2427.8125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "be4e2f62.3dcd7",
+ "id": "cb510840.ed88c8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2070.515625,
- "y": 2071.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2307.8125,
+ "y": 2122.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "68befea9.e6a5",
- "type": "for",
- "name": "foreach TACell",
- "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2132.515625,
- "y": 810.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "a8f80ca7.0f079"
- ]
- ]
- },
- {
- "id": "d937701f.b65df",
+ "id": "2367fdf7.13e052",
"type": "block",
- "name": "Cell for NSSAI",
+ "name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1822.515625,
- "y": 1346.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "68befea9.e6a5"
- ]
- ]
- },
- {
- "id": "455e11ea.6a314",
- "type": "switchNode",
- "name": "is cellCU applicable for NSSAI",
- "xml": "<switch test='`$tmp.cellCU1 == $tmp.cellCU2`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2548.515625,
- "y": 875.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2059.8125,
+ "y": 1397.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "9b4ed40e.b4a8d8"
+ "f75f3c8b.be38f",
+ "ab9b5a5f.7edca8"
]
]
},
{
- "id": "9b4ed40e.b4a8d8",
- "type": "outcome",
- "name": "Applicable",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2489.515625,
- "y": 948.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "9a14bdba.26e61"
- ]
- ]
- },
- {
- "id": "eea13e61.74881",
+ "id": "8dd84100.059ce",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2311.515625,
- "y": 1039.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2548.8125,
+ "y": 1090.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "1502b0c2.c5be0f",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Cell - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellCU1`\"/>\n<parameter name=\"field3\" value=\"Cell - getListofCells-configdb-response\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCU2`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2548.515625,
- "y": 826.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "a8f80ca7.0f079",
+ "id": "d05460e1.aaaa4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2341.515625,
- "y": 775.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1948.8124542236328,
+ "y": 2374.812511444092,
+ "z": "7108e868.a979d8",
"wires": [
[
- "1502b0c2.c5be0f",
- "455e11ea.6a314",
- "f3cc909c.7917c",
- "eda8c96d.4b4918"
+ "fe92705b.ea1c8",
+ "d084ab4e.bc34d8"
]
]
},
{
- "id": "f3cc909c.7917c",
- "type": "execute",
- "name": "read Cell from getNFNSSIRIC-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU1' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2667.515625,
- "y": 718.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "eda8c96d.4b4918",
- "type": "execute",
- "name": "read cellCU from getListofCells-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id-ta + ']'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2677.515625,
- "y": 783.9999973773956,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "98957b0e.49c668",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1711.5155792236328,
- "y": 2324.0000088214874,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "2cd2c4b4.b1c60c",
- "253cd252.f9d18e"
- ]
- ]
- },
- {
- "id": "2cd2c4b4.b1c60c",
+ "id": "fe92705b.ea1c8",
"type": "execute",
"name": "Update cellCU for gNBCUCP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUCP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1994.5155792236328,
- "y": 2324.0000088214874,
- "z": "902b25ae.7c3098",
+ "x": 2231.812454223633,
+ "y": 2374.812511444092,
+ "z": "7108e868.a979d8",
"wires": [
[
- "feafb1ec.4960b",
- "24597921.18dfe6"
+ "79c4d718.a8c6e8",
+ "b47984b.f7f7b78"
]
]
},
{
- "id": "24597921.18dfe6",
+ "id": "b47984b.f7f7b78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2230.515579223633,
- "y": 2396.0000088214874,
- "z": "902b25ae.7c3098",
+ "x": 2467.812454223633,
+ "y": 2446.812511444092,
+ "z": "7108e868.a979d8",
"wires": [
[
- "7f5c335a.e662ec"
+ "ce3eb8e1.c1ccb8"
]
]
},
{
- "id": "feafb1ec.4960b",
+ "id": "79c4d718.a8c6e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2281.515579223633,
- "y": 2295.0002529621124,
- "z": "902b25ae.7c3098",
+ "x": 2518.812454223633,
+ "y": 2345.812755584717,
+ "z": "7108e868.a979d8",
"wires": [
[
- "53276514.5059cc"
+ "bef7b599.2a8f68"
]
]
},
{
- "id": "53276514.5059cc",
+ "id": "bef7b599.2a8f68",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2473.515579223633,
- "y": 2411.0000088214874,
- "z": "902b25ae.7c3098",
+ "x": 2710.812454223633,
+ "y": 2461.812511444092,
+ "z": "7108e868.a979d8",
"wires": [
[
- "cf56219e.ae7c8",
- "534fadfe.3b0ff4",
- "4a65a227.e809dc"
+ "70a96b2.3356894",
+ "e1603c4c.c51ab",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "534fadfe.3b0ff4",
+ "id": "e1603c4c.c51ab",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2639.515380859375,
- "y": 2378.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2876.812255859375,
+ "y": 2429.8125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "cf56219e.ae7c8",
+ "id": "70a96b2.3356894",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2644.5152130126953,
- "y": 2472.0000698566437,
- "z": "902b25ae.7c3098",
+ "x": 2881.8120880126953,
+ "y": 2522.812572479248,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "727d97dd.562d68",
+ "id": "b9fc74bf.735e68",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 2480.515579223633,
- "y": 2483.0000088214874,
- "z": "902b25ae.7c3098",
+ "x": 2717.812454223633,
+ "y": 2533.812511444092,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "7f5c335a.e662ec",
+ "id": "ce3eb8e1.c1ccb8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2316.5155639648438,
- "y": 2477.0000698566437,
- "z": "902b25ae.7c3098",
+ "x": 2553.8124389648438,
+ "y": 2527.812572479248,
+ "z": "7108e868.a979d8",
"wires": [
[
- "727d97dd.562d68"
+ "b9fc74bf.735e68"
]
]
},
{
- "id": "253cd252.f9d18e",
+ "id": "d084ab4e.bc34d8",
"type": "execute",
"name": "Update RRMPolicy for gNBCUCP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 2015.515625,
- "y": 2609.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2252.8125,
+ "y": 2660.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "1eed8289.fbafed",
- "cc9579ee.bbd438"
+ "b305e15b.ccf55",
+ "14cd58ef.8378c7"
]
]
},
{
- "id": "1eed8289.fbafed",
+ "id": "b305e15b.ccf55",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2313.515625,
- "y": 2559.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2550.8125,
+ "y": 2610.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "56501d08.facea4"
+ "d2644aeb.86dd28"
]
]
},
{
- "id": "cc9579ee.bbd438",
+ "id": "14cd58ef.8378c7",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2313.515625,
- "y": 2669.9997532367706,
- "z": "902b25ae.7c3098",
+ "x": 2550.8125,
+ "y": 2720.812255859375,
+ "z": "7108e868.a979d8",
"wires": [
[
- "f0253083.ee0b9"
+ "b6930962.6ec088"
]
]
},
{
- "id": "56501d08.facea4",
+ "id": "d2644aeb.86dd28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2516.515625,
- "y": 2556.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2753.8125,
+ "y": 2607.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "d54e45cf.5f9a48",
- "648435fd.1db49c",
- "4a65a227.e809dc"
+ "b50e41ac.16a5a",
+ "b28fe2e8.9a973",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "648435fd.1db49c",
+ "id": "b28fe2e8.9a973",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2682.515380859375,
- "y": 2522.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2919.812255859375,
+ "y": 2573.8125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "d54e45cf.5f9a48",
+ "id": "b50e41ac.16a5a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2687.5152587890625,
- "y": 2618.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 2924.8121337890625,
+ "y": 2668.8125610351562,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "f0253083.ee0b9",
+ "id": "b6930962.6ec088",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2494.515625,
- "y": 2663.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2731.8125,
+ "y": 2714.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "7188dcaa.55edf4"
+ "43de9281.43d8bc"
]
]
},
{
- "id": "7188dcaa.55edf4",
+ "id": "43de9281.43d8bc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 2660.515625,
- "y": 2664.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2897.8125,
+ "y": 2715.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "a89b6c52.c4e5f",
+ "id": "d086944b.c66398",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 607.515625,
- "y": 1503.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 844.8125,
+ "y": 1554.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "d36fdc15.2490b",
- "8454f7.e12e9b08",
- "775df749.f4ceb8"
+ "462da7ab.a5a448",
+ "e48738e4.73f948",
+ "3f53493c.b3bae6"
]
]
},
{
- "id": "d36fdc15.2490b",
+ "id": "462da7ab.a5a448",
"type": "execute",
"name": "read CUUP list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 938.515625,
- "y": 1513.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1175.8125,
+ "y": 1564.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "8454f7.e12e9b08",
+ "id": "e48738e4.73f948",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 910.515625,
- "y": 1578.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1147.8125,
+ "y": 1629.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "775df749.f4ceb8",
+ "id": "3f53493c.b3bae6",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 938.515625,
- "y": 1653.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1175.8125,
+ "y": 1704.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "66fa3a22.e04a94"
+ "b771bcd9.93d"
]
]
},
{
- "id": "66fa3a22.e04a94",
+ "id": "b771bcd9.93d",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1159.515625,
- "y": 1660.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1396.8125,
+ "y": 1711.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "54e41e8b.32d23",
- "fcb0eb9d.60fb68",
- "462331dd.a8fe8",
- "6c61a1ae.77ebc"
+ "902fd630.8a9ff8",
+ "3f3bdc31.8c0ec4",
+ "56f3c5f4.783d1c",
+ "68482403.97ca3c"
]
]
},
{
- "id": "54e41e8b.32d23",
+ "id": "902fd630.8a9ff8",
"type": "execute",
"name": "read CUUP id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1393.515625,
- "y": 1494.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1630.8125,
+ "y": 1545.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "fcb0eb9d.60fb68",
+ "id": "3f3bdc31.8c0ec4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1389.515625,
- "y": 1548.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1626.8125,
+ "y": 1599.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "462331dd.a8fe8",
+ "id": "56f3c5f4.783d1c",
"type": "execute",
"name": "read plmninfolist size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1440.515625,
- "y": 1613.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1677.8125,
+ "y": 1664.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "6c61a1ae.77ebc",
+ "id": "68482403.97ca3c",
"type": "for",
"name": "foreach pLMNInfo",
"xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
"comments": "",
"outputs": 1,
- "x": 1426.515625,
- "y": 1668.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1663.8125,
+ "y": 1719.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "ca2a15c1.06f6f8"
+ "62fc86b9.2bf388"
]
]
},
{
- "id": "ca2a15c1.06f6f8",
+ "id": "62fc86b9.2bf388",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1392.515625,
- "y": 2744.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1629.8125,
+ "y": 2795.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "2bcc45fd.9aa82a",
- "6bde0cb7.ac8644",
- "1124cd6f.cd2f53",
- "f36ea1ac.8ef32",
- "dc1f155b.1e26a8",
- "f0c7cdbf.7c15b",
- "93ca7a2a.14a7f8",
- "892a7731.6bfc78",
- "2d02a27c.95d9de",
- "37850215.15feee",
- "40e7eab5.7fa734",
- "7cc407cf.a61688"
+ "bd37c8ec.2cb548",
+ "75687bbe.c8ac34",
+ "2ecbf849.cff368",
+ "e1fe95a4.e56b88",
+ "f11648d2.8a6158",
+ "b26edd45.59a21",
+ "4a615dd1.f7d994",
+ "82f93bbe.2a8f58",
+ "5806bd74.97f274",
+ "bbd5f05e.aa95f",
+ "7b0b3132.35108",
+ "ba3263a2.7a90f"
]
]
},
{
- "id": "1124cd6f.cd2f53",
+ "id": "2ecbf849.cff368",
"type": "execute",
"name": "patch PLMNInfoListEntry gNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-gNBCUUP-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 1720.515625,
- "y": 2942.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1957.8125,
+ "y": 2993.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "777e5d59.6a5284",
- "dd76c614.48fa98"
+ "6a4ff84d.86f158",
+ "a21ae80.f8a7c18"
]
]
},
{
- "id": "777e5d59.6a5284",
+ "id": "6a4ff84d.86f158",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2017.515625,
- "y": 2868.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2259.8126525878906,
+ "y": 2995.8127393722534,
+ "z": "7108e868.a979d8",
"wires": [
[
- "d609eb60.d086d8"
+ "f129f56b.6a8468"
]
]
},
{
- "id": "d609eb60.d086d8",
+ "id": "f129f56b.6a8468",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2175.515869140625,
- "y": 2816.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2436.812774658203,
+ "y": 2984.812617301941,
+ "z": "7108e868.a979d8",
"wires": [
[
- "4de6f632.135c38",
- "835f9644.cd8248",
- "4a65a227.e809dc"
+ "818116b.749a3e8",
+ "4c0fe3af.87361c",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "835f9644.cd8248",
+ "id": "4c0fe3af.87361c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2341.515625,
- "y": 2782.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2707.8127098083496,
+ "y": 2888.812978744507,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "4de6f632.135c38",
+ "id": "818116b.749a3e8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2346.5155029296875,
- "y": 2878.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 2692.812713623047,
+ "y": 2942.8129177093506,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "dfbc4622.2ac5e8",
+ "id": "88c21b9a.22d488",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 2330.5155029296875,
- "y": 2964.0002415180206,
- "z": "902b25ae.7c3098",
+ "x": 2586.812225341797,
+ "y": 3067.8127393722534,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "8d9d335.fd7a9d",
+ "id": "c2e2f484.ae9978",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2176.515625,
- "y": 2985,
- "z": "902b25ae.7c3098",
+ "x": 2433.812530517578,
+ "y": 3067.8124952316284,
+ "z": "7108e868.a979d8",
"wires": [
[
- "dfbc4622.2ac5e8"
+ "88c21b9a.22d488"
]
]
},
{
- "id": "dd76c614.48fa98",
+ "id": "a21ae80.f8a7c18",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2016.515625,
- "y": 2967.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2253.812530517578,
+ "y": 3062.812678337097,
+ "z": "7108e868.a979d8",
"wires": [
[
- "8d9d335.fd7a9d"
+ "c2e2f484.ae9978"
]
]
},
{
- "id": "2bcc45fd.9aa82a",
+ "id": "bd37c8ec.2cb548",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1659.515625,
- "y": 2746.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1896.8125,
+ "y": 2797.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "5c5b9d56.667034",
- "4f929270.bb4f6c"
+ "31b6e50e.0ffa9a",
+ "605133da.405fac"
]
]
},
{
- "id": "5c5b9d56.667034",
+ "id": "31b6e50e.0ffa9a",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1867.515625,
- "y": 2711.9997532367706,
- "z": "902b25ae.7c3098",
+ "x": 2104.8125,
+ "y": 2762.812255859375,
+ "z": "7108e868.a979d8",
"wires": [
[
- "7fc0b4d8.93a35c"
+ "ca261737.b9abf8"
]
]
},
{
- "id": "4f929270.bb4f6c",
+ "id": "605133da.405fac",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1855.515625,
- "y": 2813.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2092.8125,
+ "y": 2864.8125,
+ "z": "7108e868.a979d8",
"wires": [
- []
+ [
+ "cec48822.0fc488"
+ ]
]
},
{
- "id": "7fc0b4d8.93a35c",
+ "id": "ca261737.b9abf8",
"type": "execute",
"name": "generate patch PLMNInfoListEntry CUUP URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2187.515625,
- "y": 2726.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2424.8125,
+ "y": 2777.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "6bde0cb7.ac8644",
+ "id": "75687bbe.c8ac34",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1704.515625,
- "y": 2885.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1941.8125,
+ "y": 2936.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "a7232d66.d41b",
+ "id": "4a4813ea.c1f99c",
"type": "set",
"name": "RRMPolicyRatio id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />",
"comments": "",
- "x": 2614.515625,
- "y": 2207.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2851.8125,
+ "y": 2258.8125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "820cae9e.61c58",
+ "id": "79d52a8e.70e584",
"type": "set",
"name": "RRMPolicyMember Id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`\" />",
"comments": "",
- "x": 2605.515625,
- "y": 2254.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2842.8125,
+ "y": 2305.8125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "f36ea1ac.8ef32",
+ "id": "e1fe95a4.e56b88",
"type": "set",
"name": "Calculate RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
"comments": "",
- "x": 1693.5158386230469,
- "y": 3015.0004913806915,
- "z": "902b25ae.7c3098",
+ "x": 1930.8127136230469,
+ "y": 3065.812994003296,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "dc1f155b.1e26a8",
+ "id": "f11648d2.8a6158",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio-CUUP`\"/>",
"comments": "",
"outputs": 1,
- "x": 1639.5158309936523,
- "y": 3087.000495195389,
- "z": "902b25ae.7c3098",
+ "x": 1876.8127059936523,
+ "y": 3137.812997817993,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "f0c7cdbf.7c15b",
+ "id": "b26edd45.59a21",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1650.515625,
- "y": 3161.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 1887.8125,
+ "y": 3212.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "5849653.b32d29c"
+ "b48e9df0.37c53",
+ "84a6a111.772e4"
]
]
},
{
- "id": "5849653.b32d29c",
+ "id": "b48e9df0.37c53",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1828.515625,
- "y": 3128.9997532367706,
- "z": "902b25ae.7c3098",
+ "x": 2065.8125,
+ "y": 3179.812255859375,
+ "z": "7108e868.a979d8",
"wires": [
[
- "829a96f0.30d4a8"
+ "164e8c22.475114"
]
]
},
{
- "id": "829a96f0.30d4a8",
+ "id": "164e8c22.475114",
"type": "execute",
"name": "fetch RRMPolicyRatio CUUP - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2106.515625,
- "y": 3120.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2360.812530517578,
+ "y": 3125.8125562667847,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "93ca7a2a.14a7f8",
+ "id": "4a615dd1.f7d994",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1687.5157089233398,
- "y": 3217.000010728836,
- "z": "902b25ae.7c3098",
+ "x": 1924.8125839233398,
+ "y": 3267.8125133514404,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "892a7731.6bfc78",
+ "id": "82f93bbe.2a8f58",
"type": "execute",
"name": "fetch RRMPolicyRatio - CUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-cuup-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1683.5158767700195,
- "y": 3274.0000116825104,
- "z": "902b25ae.7c3098",
+ "x": 1920.8127517700195,
+ "y": 3324.8125143051147,
+ "z": "7108e868.a979d8",
"wires": [
[
- "e3c362a.aa308a",
- "10a17f4d.0f5fc1"
+ "e03ffc51.6fbca",
+ "cce032c0.0d88f"
]
]
},
{
- "id": "e3c362a.aa308a",
+ "id": "e03ffc51.6fbca",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1933.5157203674316,
- "y": 3264.000175714493,
- "z": "902b25ae.7c3098",
+ "x": 2170.8125953674316,
+ "y": 3314.812678337097,
+ "z": "7108e868.a979d8",
"wires": [
[
- "196d453d.dd220b"
+ "2261ec2.bfaac14"
]
]
},
{
- "id": "196d453d.dd220b",
+ "id": "2261ec2.bfaac14",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2094.515869140625,
- "y": 3282.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2331.812744140625,
+ "y": 3333.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "59202198.95259",
- "8bba0f3a.4b34f",
- "4a65a227.e809dc"
+ "fde07db7.6edee",
+ "4a0a2150.dd5b7",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "8bba0f3a.4b34f",
+ "id": "4a0a2150.dd5b7",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2260.515625,
- "y": 3248.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2497.8125,
+ "y": 3299.8125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "59202198.95259",
+ "id": "fde07db7.6edee",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in fetching RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2265.5155029296875,
- "y": 3344.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 2502.8123779296875,
+ "y": 3394.8125610351562,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "37c92bcb.6f0f44",
+ "id": "5f5f8a4d.ecf264",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2269.515625,
- "y": 3472.9999973773956,
- "z": "902b25ae.7c3098",
+ "x": 2506.8125,
+ "y": 3523.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "b6f39fb0.7e518",
+ "id": "be1c4c39.89b8c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2254.5155029296875,
- "y": 3410.0002415180206,
- "z": "902b25ae.7c3098",
+ "x": 2491.8123779296875,
+ "y": 3460.812744140625,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "42bb03.f05cd4fc",
+ "id": "2d110399.7859bc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2088.5154418945312,
- "y": 3356.0001785755157,
- "z": "902b25ae.7c3098",
+ "x": 2325.8123168945312,
+ "y": 3406.81268119812,
+ "z": "7108e868.a979d8",
"wires": [
[
- "b6f39fb0.7e518",
- "37c92bcb.6f0f44"
+ "be1c4c39.89b8c",
+ "5f5f8a4d.ecf264"
]
]
},
{
- "id": "10a17f4d.0f5fc1",
+ "id": "cce032c0.0d88f",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1924.5157203674316,
- "y": 3334.0001785755157,
- "z": "902b25ae.7c3098",
+ "x": 2161.8125953674316,
+ "y": 3384.81268119812,
+ "z": "7108e868.a979d8",
"wires": [
[
- "42bb03.f05cd4fc"
+ "2d110399.7859bc"
]
]
},
{
- "id": "2d02a27c.95d9de",
+ "id": "5806bd74.97f274",
"type": "execute",
"name": "read rrmpolicyratio list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_CUUP_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length '`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1661.5157165527344,
- "y": 3339.0000965595245,
- "z": "902b25ae.7c3098",
+ "x": 1898.8125915527344,
+ "y": 3389.812599182129,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "37850215.15feee",
+ "id": "bbd5f05e.aa95f",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1601.5157089233398,
- "y": 3390.000098466873,
- "z": "902b25ae.7c3098",
+ "x": 1838.8125839233398,
+ "y": 3440.8126010894775,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "40e7eab5.7fa734",
+ "id": "7b0b3132.35108",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1649.1822967529297,
- "y": 3530.333434343338,
- "z": "902b25ae.7c3098",
+ "x": 1886.4791717529297,
+ "y": 3581.1459369659424,
+ "z": "7108e868.a979d8",
"wires": [
[
- "5155a84d.1da0e8"
+ "8250f885.9a6238"
]
]
},
{
- "id": "5155a84d.1da0e8",
+ "id": "8250f885.9a6238",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1867.1822509765625,
- "y": 3557.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2104.4791259765625,
+ "y": 3608.145751953125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "583f4e93.c1c9f",
- "506608d6.70b338",
- "aaa7eb47.ef6a88",
- "3360d2c4.1960fe",
- "999f80d6.75194",
- "2a09390.35abdc8"
+ "f1bf3011.d74b2",
+ "d818aaf7.0aee18",
+ "6cb09c3f.522a24",
+ "3a30a758.d1cd78",
+ "568f3597.ab1f0c",
+ "4e2db998.18c708"
]
]
},
{
- "id": "583f4e93.c1c9f",
+ "id": "f1bf3011.d74b2",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`\" />",
"comments": "",
- "x": 2192.1822509765625,
- "y": 3534.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2429.4791259765625,
+ "y": 3585.145751953125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "aaa7eb47.ef6a88",
+ "id": "6cb09c3f.522a24",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2160.1822509765625,
- "y": 3585.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2397.4791259765625,
+ "y": 3636.145751953125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "fd1add9c.48448"
+ "68da40a6.630dc",
+ "96bf52a5.a5094"
]
]
},
{
- "id": "999f80d6.75194",
+ "id": "568f3597.ab1f0c",
"type": "set",
"name": "RRMPolicyRatio id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />",
"comments": "",
- "x": 2174.1822509765625,
- "y": 3623.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2411.4791259765625,
+ "y": 3674.145751953125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "fd1add9c.48448",
+ "id": "68da40a6.630dc",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2360.1822509765625,
- "y": 3592.3330051898956,
- "z": "902b25ae.7c3098",
+ "x": 2614.4792251586914,
+ "y": 3623.145571708679,
+ "z": "7108e868.a979d8",
"wires": [
[
- "38260aba.0ea506"
+ "ed44c1a6.36128"
]
]
},
{
- "id": "38260aba.0ea506",
+ "id": "ed44c1a6.36128",
"type": "execute",
- "name": "fetch RRMPolicyRatio CUUP- URL",
+ "name": "patch RRMPolicyRatio CUUP- URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2626.1822509765625,
- "y": 3596.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2887.4790954589844,
+ "y": 3593.1461219787598,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "2a09390.35abdc8",
+ "id": "4e2db998.18c708",
"type": "set",
"name": "RRMPolicyMember Id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`\" />",
"comments": "",
- "x": 2165.1822509765625,
- "y": 3670.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2402.4791259765625,
+ "y": 3721.145751953125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "506608d6.70b338",
+ "id": "d818aaf7.0aee18",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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`\"/>",
"comments": "",
"outputs": 1,
- "x": 2122.1822509765625,
- "y": 3714.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2359.4791259765625,
+ "y": 3765.145751953125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "3360d2c4.1960fe",
+ "id": "3a30a758.d1cd78",
"type": "execute",
"name": "patch CUUP- RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-CUUP-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2189.1822509765625,
- "y": 3756.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2426.4791259765625,
+ "y": 3807.145751953125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "80f67bc8.602a38",
- "a1757e5b.2af42"
+ "7c1a793c.e7f098",
+ "ecae4a1e.4ed968"
]
]
},
{
- "id": "80f67bc8.602a38",
+ "id": "7c1a793c.e7f098",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2461.1822509765625,
- "y": 3748.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2698.4791259765625,
+ "y": 3799.145751953125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "dd07f4dd.450068"
+ "ee919351.884ae"
]
]
},
{
- "id": "dd07f4dd.450068",
+ "id": "ee919351.884ae",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2652.1822509765625,
- "y": 3748.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2889.4791259765625,
+ "y": 3799.145751953125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "66c8fe77.0bf64",
- "4a65a227.e809dc"
+ "9967fe18.3f52",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "66c8fe77.0bf64",
+ "id": "9967fe18.3f52",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2837.1820068359375,
- "y": 3749.3334934711456,
- "z": "902b25ae.7c3098",
+ "x": 3074.4788818359375,
+ "y": 3800.14599609375,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "22ec11e9.dae67e",
+ "id": "3d107c96.8f4394",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2919.1822509765625,
- "y": 3792.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 3156.4791259765625,
+ "y": 3843.145751953125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "b63355d1.f0e0a8",
+ "id": "64358581.2074dc",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2924.18212890625,
- "y": 3887.333310365677,
- "z": "902b25ae.7c3098",
+ "x": 3161.47900390625,
+ "y": 3938.1458129882812,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "3a20595e.c48de6",
+ "id": "87867dbd.bfc9c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2679.1824951171875,
- "y": 3841.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2916.4793701171875,
+ "y": 3892.145751953125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "b63355d1.f0e0a8",
- "22ec11e9.dae67e"
+ "64358581.2074dc",
+ "3d107c96.8f4394"
]
]
},
{
- "id": "a1757e5b.2af42",
+ "id": "ecae4a1e.4ed968",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2460.1822509765625,
- "y": 3836.3332493305206,
- "z": "902b25ae.7c3098",
+ "x": 2697.4791259765625,
+ "y": 3887.145751953125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "3a20595e.c48de6"
+ "87867dbd.bfc9c"
]
]
},
{
- "id": "7cc407cf.a61688",
+ "id": "ba3263a2.7a90f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1605.8490447998047,
- "y": 3869.6668589115143,
- "z": "902b25ae.7c3098",
+ "x": 1843.1459197998047,
+ "y": 3920.4793615341187,
+ "z": "7108e868.a979d8",
"wires": [
[
- "8f4a1aa6.66d1c8",
- "80f62a5a.b5dac8"
+ "a8779bfe.2ebaa8",
+ "6bdc54a8.a8bcfc"
]
]
},
{
- "id": "8f4a1aa6.66d1c8",
+ "id": "a8779bfe.2ebaa8",
"type": "execute",
"name": "Update gNBCUUP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updategNBCUUP.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1938.8489990234375,
- "y": 3870.6667454242706,
- "z": "902b25ae.7c3098",
+ "x": 2176.1458740234375,
+ "y": 3921.479248046875,
+ "z": "7108e868.a979d8",
"wires": [
[
- "86e624eb.499a98",
- "c2aa9d96.4aa3b"
+ "a157ef66.82e47",
+ "156a4239.7ef9ee"
]
]
},
{
- "id": "86e624eb.499a98",
+ "id": "a157ef66.82e47",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2225.8489990234375,
- "y": 3841.6669895648956,
- "z": "902b25ae.7c3098",
+ "x": 2463.1458740234375,
+ "y": 3892.4794921875,
+ "z": "7108e868.a979d8",
"wires": [
[
- "dd3efbab.b8efd8"
+ "b14a144c.9974f8"
]
]
},
{
- "id": "c2aa9d96.4aa3b",
+ "id": "156a4239.7ef9ee",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2174.8489990234375,
- "y": 3942.6667454242706,
- "z": "902b25ae.7c3098",
+ "x": 2412.1458740234375,
+ "y": 3993.479248046875,
+ "z": "7108e868.a979d8",
"wires": [
[
- "ca5f751c.5d7d68"
+ "8205426c.ef651"
]
]
},
{
- "id": "ca5f751c.5d7d68",
+ "id": "8205426c.ef651",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2260.8489837646484,
- "y": 4023.666806459427,
- "z": "902b25ae.7c3098",
+ "x": 2498.1458587646484,
+ "y": 4074.4793090820312,
+ "z": "7108e868.a979d8",
"wires": [
[
- "bdbc2f55.fd989"
+ "88c98d77.84bc2"
]
]
},
{
- "id": "dd3efbab.b8efd8",
+ "id": "b14a144c.9974f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2417.8489990234375,
- "y": 3957.6667454242706,
- "z": "902b25ae.7c3098",
+ "x": 2655.1458740234375,
+ "y": 4008.479248046875,
+ "z": "7108e868.a979d8",
"wires": [
[
- "5deb387b.75ce98",
- "ddadf27c.177ce",
- "4a65a227.e809dc"
+ "bdfa1f09.353b8",
+ "8fd72176.397c5",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "bdbc2f55.fd989",
+ "id": "88c98d77.84bc2",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 2424.8489990234375,
- "y": 4029.6667454242706,
- "z": "902b25ae.7c3098",
+ "x": 2662.1458740234375,
+ "y": 4080.479248046875,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "5deb387b.75ce98",
+ "id": "bdfa1f09.353b8",
"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": 2588.8486328125,
- "y": 4018.666806459427,
- "z": "902b25ae.7c3098",
+ "x": 2826.1455078125,
+ "y": 4069.4793090820312,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "ddadf27c.177ce",
+ "id": "8fd72176.397c5",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2583.8488006591797,
- "y": 3925.666733980179,
- "z": "902b25ae.7c3098",
+ "x": 2821.1456756591797,
+ "y": 3976.479236602783,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "cd3ab89b.2b2a58",
+ "id": "3cba221d.f1507e",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2626.8488006591797,
- "y": 4069.666733980179,
- "z": "902b25ae.7c3098",
+ "x": 2864.1456756591797,
+ "y": 4120.479236602783,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "1a4e1416.985efc",
+ "id": "a2654622.6dd498",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2631.848678588867,
- "y": 4164.666795015335,
- "z": "902b25ae.7c3098",
+ "x": 2869.145553588867,
+ "y": 4215.479297637939,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "79786d5c.9fdc64",
+ "id": "95bfc417.2c1f08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2460.8490447998047,
- "y": 4103.666733980179,
- "z": "902b25ae.7c3098",
+ "x": 2698.1459197998047,
+ "y": 4154.479236602783,
+ "z": "7108e868.a979d8",
"wires": [
[
- "1a4e1416.985efc",
- "cd3ab89b.2b2a58",
- "4a65a227.e809dc"
+ "a2654622.6dd498",
+ "3cba221d.f1507e",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "3b564ab1.84aea6",
+ "id": "d8512ddf.3f171",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - CUUP RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 2604.8490447998047,
- "y": 4211.666733980179,
- "z": "902b25ae.7c3098",
+ "x": 2842.1459197998047,
+ "y": 4262.479236602783,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "3b8bdaf4.102c26",
+ "id": "a66973d7.69104",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2438.8490447998047,
- "y": 4210.666733980179,
- "z": "902b25ae.7c3098",
+ "x": 2676.1459197998047,
+ "y": 4261.479236602783,
+ "z": "7108e868.a979d8",
"wires": [
[
- "3b564ab1.84aea6"
+ "d8512ddf.3f171"
]
]
},
{
- "id": "f7383def.d4235",
+ "id": "15ec48d8.926787",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2257.8490447998047,
- "y": 4216.666489839554,
- "z": "902b25ae.7c3098",
+ "x": 2495.1459197998047,
+ "y": 4267.478992462158,
+ "z": "7108e868.a979d8",
"wires": [
[
- "3b8bdaf4.102c26"
+ "a66973d7.69104"
]
]
},
{
- "id": "5ad5292d.727b78",
+ "id": "2a3a4f34.54219",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2257.8490447998047,
- "y": 4106.666733980179,
- "z": "902b25ae.7c3098",
+ "x": 2495.1459197998047,
+ "y": 4157.479236602783,
+ "z": "7108e868.a979d8",
"wires": [
[
- "79786d5c.9fdc64"
+ "95bfc417.2c1f08"
]
]
},
{
- "id": "80f62a5a.b5dac8",
+ "id": "6bdc54a8.a8bcfc",
"type": "execute",
"name": "Update RRMPolicy for gNBCUUP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updateRRMPolicy.CUUP.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1959.8490447998047,
- "y": 4156.666733980179,
- "z": "902b25ae.7c3098",
+ "x": 2197.1459197998047,
+ "y": 4207.479236602783,
+ "z": "7108e868.a979d8",
"wires": [
[
- "5ad5292d.727b78",
- "f7383def.d4235"
+ "2a3a4f34.54219",
+ "15ec48d8.926787"
]
]
},
{
- "id": "a4ae7afd.757af8",
+ "id": "4e830c1f.7bebc4",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 970.2658004760742,
- "y": 4141.750725984573,
- "z": "902b25ae.7c3098",
+ "x": 1207.5626754760742,
+ "y": 4192.563228607178,
+ "z": "7108e868.a979d8",
"wires": [
[
- "fffbd9b7.473a48",
- "94864da0.13003",
- "23e15c92.1618e4"
+ "5a3d52ff.69f48c",
+ "96c6fb05.5a9858",
+ "4d47cf04.2ab97"
]
]
},
{
- "id": "fffbd9b7.473a48",
+ "id": "5a3d52ff.69f48c",
"type": "execute",
"name": "read DUlist size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1299.2658004760742,
- "y": 4172.750725984573,
- "z": "902b25ae.7c3098",
+ "x": 1536.5626754760742,
+ "y": 4223.563228607178,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "94864da0.13003",
+ "id": "96c6fb05.5a9858",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1257.2657852172852,
- "y": 4233.750725984573,
- "z": "902b25ae.7c3098",
+ "x": 1494.5626602172852,
+ "y": 4284.563228607178,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "23e15c92.1618e4",
+ "id": "4d47cf04.2ab97",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1269.2658309936523,
- "y": 4303.750725984573,
- "z": "902b25ae.7c3098",
+ "x": 1506.5627059936523,
+ "y": 4354.563228607178,
+ "z": "7108e868.a979d8",
"wires": [
[
- "ad8ef236.25e21"
+ "c924ba25.82a328"
]
]
},
{
- "id": "ad8ef236.25e21",
+ "id": "c924ba25.82a328",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1550.2658004760742,
- "y": 4304.750695466995,
- "z": "902b25ae.7c3098",
+ "x": 1787.5626754760742,
+ "y": 4355.5631980896,
+ "z": "7108e868.a979d8",
"wires": [
[
- "afad5c43.d5be9",
- "50879aa5.f7e434",
- "19c193ce.bc93bc",
- "8dd2f389.9be99"
+ "a0fa0a49.9180c8",
+ "b69431be.ded5f",
+ "e4e685e5.2c8388",
+ "d1761b06.379698"
]
]
},
{
- "id": "afad5c43.d5be9",
+ "id": "a0fa0a49.9180c8",
"type": "execute",
"name": "read DU id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1829.265625,
- "y": 4300.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 2066.5625,
+ "y": 4351.5625,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "50879aa5.f7e434",
+ "id": "b69431be.ded5f",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1802.265625,
- "y": 4351.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 2039.5625,
+ "y": 4402.5625,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "19c193ce.bc93bc",
+ "id": "e4e685e5.2c8388",
"type": "execute",
"name": "read cellDU list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1843.265625,
- "y": 4400.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 2080.5625,
+ "y": 4451.5625,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "8dd2f389.9be99",
+ "id": "d1761b06.379698",
"type": "for",
"name": "for cellDUList",
"xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1833.265625,
- "y": 4444.749997377396,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "2f195b76.e5c8d4"
- ]
- ]
- },
- {
- "id": "2f195b76.e5c8d4",
- "type": "block",
- "name": "Cell for NSSAI",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2053.265625,
- "y": 4353.749997377396,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "53bc99e3.9b0448"
- ]
- ]
- },
- {
- "id": "53bc99e3.9b0448",
- "type": "for",
- "name": "foreach TACell",
- "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2275.5156173706055,
- "y": 4353.750240564346,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "6362ca40.2b0b04"
- ]
- ]
- },
- {
- "id": "6362ca40.2b0b04",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2487.515625,
- "y": 4321.749997377396,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "78fdfba9.5f1b24",
- "8a04220a.741e9",
- "5a972ed5.3833c",
- "f6068f9f.f0e8a"
- ]
- ]
- },
- {
- "id": "5a972ed5.3833c",
- "type": "execute",
- "name": "read Cell from getNFNSSIRIC-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDU1' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2813.515625,
- "y": 4264.749997377396,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "f6068f9f.f0e8a",
- "type": "execute",
- "name": "read cellDU from getListofCells-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDU2' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id-ta + ']'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2823.515625,
- "y": 4329.749997377396,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "78fdfba9.5f1b24",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Cell - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDU1`\"/>\n<parameter name=\"field3\" value=\"Cell - getListofCells-configdb-response\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDU2`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2694.515625,
- "y": 4372.749997377396,
- "z": "902b25ae.7c3098",
- "wires": [
- []
- ]
- },
- {
- "id": "8a04220a.741e9",
- "type": "switchNode",
- "name": "is cellDU applicable for NSSAI",
- "xml": "<switch test='`$tmp.cellDU1 == $tmp.cellDU2`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2694.515625,
- "y": 4421.749997377396,
- "z": "902b25ae.7c3098",
- "wires": [
- [
- "a6ec46a8.84e058"
- ]
- ]
- },
- {
- "id": "a6ec46a8.84e058",
- "type": "outcome",
- "name": "Applicable",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2635.515625,
- "y": 4494.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 2070.5625,
+ "y": 4495.5625,
+ "z": "7108e868.a979d8",
"wires": [
[
- "37ac7237.50551e"
+ "2d9b1779.25da68"
]
]
},
{
- "id": "37ac7237.50551e",
+ "id": "2e0cb657.fa72aa",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2860.015625,
- "y": 4498.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 3097.3125,
+ "y": 4549.5625,
+ "z": "7108e868.a979d8",
"wires": [
[
- "c6843741.650998",
- "92afc2c9.67fc5",
- "a7c6b84a.ebfce8",
- "ecca82ff.5f8b9",
- "e6f23599.923838",
- "1020da35.20b006",
- "c907f62.6206208",
- "8b8b1836.0b3ce8",
- "b59a0702.313428",
- "20d94ddd.79ea92",
- "bb5a724b.05c2d"
+ "db01efc8.367e1",
+ "cbb5449b.077ff8",
+ "c37094ee.0620b8",
+ "9664007c.b3591",
+ "f8fddf6b.372eb",
+ "7e214221.f3333c",
+ "7e449816.b97cc8",
+ "5b53f44f.273f7c",
+ "f6f39dfc.75a01",
+ "a63081a.5cdd48",
+ "2ea51be.93ad1e4"
]
]
},
{
- "id": "8b8b1836.0b3ce8",
+ "id": "5b53f44f.273f7c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3055.015625,
- "y": 4493.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 3292.3125,
+ "y": 4544.5625,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "c907f62.6206208",
+ "id": "7e449816.b97cc8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3083.015625,
- "y": 4561.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 3320.3125,
+ "y": 4612.5625,
+ "z": "7108e868.a979d8",
"wires": [
[
- "ff1b32f0.01112",
- "33f91581.b04aba"
+ "d4c9f7e3.e84858",
+ "9ff04c6b.5afd8"
]
]
},
{
- "id": "ff1b32f0.01112",
+ "id": "d4c9f7e3.e84858",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3291.015625,
- "y": 4526.749753236771,
- "z": "902b25ae.7c3098",
+ "x": 3528.3125,
+ "y": 4577.562255859375,
+ "z": "7108e868.a979d8",
"wires": [
[
- "55e8d732.bf4398"
+ "3bce64e2.b4273c"
]
]
},
{
- "id": "33f91581.b04aba",
+ "id": "9ff04c6b.5afd8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3279.015625,
- "y": 4628.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 3523.3125495910645,
+ "y": 4646.562824249268,
+ "z": "7108e868.a979d8",
"wires": [
- []
+ [
+ "e66f84d4.6add28"
+ ]
]
},
{
- "id": "55e8d732.bf4398",
+ "id": "3bce64e2.b4273c",
"type": "execute",
"name": "generate patch PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3611.015625,
- "y": 4541.749997377396,
- "z": "902b25ae.7c3098",
+ "x": 3848.3125,
+ "y": 4592.5625,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "c6843741.650998",
+ "id": "db01efc8.367e1",
"type": "execute",
"name": "read cellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3080.0157775878906,
- "y": 4649.750241518021,
- "z": "902b25ae.7c3098",
+ "x": 3317.3126525878906,
+ "y": 4700.562744140625,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "ecca82ff.5f8b9",
+ "id": "9664007c.b3591",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3135.015838623047,
- "y": 4714.75017952919,
- "z": "902b25ae.7c3098",
+ "x": 3372.312713623047,
+ "y": 4765.562682151794,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "e6f23599.923838",
+ "id": "f8fddf6b.372eb",
"type": "execute",
"name": "prepare idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3108.0160217285156,
- "y": 4769.750181436539,
- "z": "902b25ae.7c3098",
+ "x": 3345.3128967285156,
+ "y": 4820.562684059143,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "1020da35.20b006",
+ "id": "7e214221.f3333c",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 3088.0157165527344,
- "y": 4832.750487565994,
- "z": "902b25ae.7c3098",
+ "x": 3325.3125915527344,
+ "y": 4883.562990188599,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "92afc2c9.67fc5",
+ "id": "cbb5449b.077ff8",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3090.0159606933594,
- "y": 4890.750120401382,
- "z": "902b25ae.7c3098",
+ "x": 3327.3128356933594,
+ "y": 4941.562623023987,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "a7c6b84a.ebfce8",
+ "id": "c37094ee.0620b8",
"type": "record",
"name": "record API params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3095.015594482422,
- "y": 4958.750611543655,
- "z": "902b25ae.7c3098",
+ "x": 3332.312469482422,
+ "y": 5009.56311416626,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "b59a0702.313428",
+ "id": "f6f39dfc.75a01",
"type": "execute",
"name": "patch PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3152.015625,
- "y": 5033.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3389.3125,
+ "y": 5084.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "14cddf18.c41e11",
- "2abbe272.a3ec8e"
+ "d8729278.1cd58",
+ "157bda42.dc1776"
]
]
},
{
- "id": "2abbe272.a3ec8e",
+ "id": "157bda42.dc1776",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3419.015625,
- "y": 4933.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3656.3125,
+ "y": 4984.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "7942e74.bc84218"
+ "ea70704f.084d2"
]
]
},
{
- "id": "14cddf18.c41e11",
+ "id": "d8729278.1cd58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3418.015625,
- "y": 5032.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3655.3125,
+ "y": 5083.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "5b697691.05b338"
+ "8bfbcf74.666d1"
]
]
},
{
- "id": "7942e74.bc84218",
+ "id": "ea70704f.084d2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3577.015869140625,
- "y": 4881.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3814.312744140625,
+ "y": 4932.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "385c2aa6.934746",
- "f6c861fe.93263",
- "4a65a227.e809dc"
+ "24efbd9d.3eeb72",
+ "223f16d0.c8885a",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "5b697691.05b338",
+ "id": "8bfbcf74.666d1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3586.015625,
- "y": 5030,
- "z": "902b25ae.7c3098",
+ "x": 3823.3125,
+ "y": 5080.812502622604,
+ "z": "7108e868.a979d8",
"wires": [
[
- "31d0b8db.29cbe8"
+ "6125ea01.fba5c4"
]
]
},
{
- "id": "31d0b8db.29cbe8",
+ "id": "6125ea01.fba5c4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 3732.0155029296875,
- "y": 5029.000241518021,
- "z": "902b25ae.7c3098",
+ "x": 3969.3123779296875,
+ "y": 5079.812744140625,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "385c2aa6.934746",
+ "id": "24efbd9d.3eeb72",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3748.0155029296875,
- "y": 4943.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 3985.3123779296875,
+ "y": 4993.812561035156,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "f6c861fe.93263",
+ "id": "223f16d0.c8885a",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3743.015625,
- "y": 4847.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3980.3125,
+ "y": 4898.8125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "20d94ddd.79ea92",
+ "id": "a63081a.5cdd48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2953.265625,
- "y": 5306.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3190.5625,
+ "y": 5357.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "96daf082.00945",
- "a101e5d9.818c08",
- "736f603c.739f",
- "4994eb58.545584",
- "402dcb7f.3b04e4",
- "2ddd8a64.d76196",
- "7f43ba25.e857d4",
- "e1a3890e.1c4748"
+ "5cb5d6ea.770248",
+ "98f00bff.356c18",
+ "5d40a1b9.c2994",
+ "f43c3c63.25ad9",
+ "65c6ca75.936b14",
+ "6bcc8bb1.e1d3e4",
+ "f0dfe9fd.ba7e58",
+ "fa410ab8.5baa78"
]
]
},
{
- "id": "96daf082.00945",
+ "id": "5cb5d6ea.770248",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3175.265625,
- "y": 5212.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3412.5625,
+ "y": 5263.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "820db068.9a9e7"
+ "7ea81051.7f23a",
+ "5a933026.4d27b"
]
]
},
{
- "id": "820db068.9a9e7",
+ "id": "7ea81051.7f23a",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3353.265625,
- "y": 5179.999753236771,
- "z": "902b25ae.7c3098",
+ "x": 3595.5627365112305,
+ "y": 5201.8128299713135,
+ "z": "7108e868.a979d8",
"wires": [
[
- "cf9d35b6.c560e8"
+ "193f0677.2c64aa"
]
]
},
{
- "id": "cf9d35b6.c560e8",
+ "id": "193f0677.2c64aa",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellDU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3631.265625,
- "y": 5171.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3895.5626068115234,
+ "y": 5202.812952041626,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "a101e5d9.818c08",
+ "id": "98f00bff.356c18",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3210.265625,
- "y": 5284.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3447.5625,
+ "y": 5335.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "736f603c.739f",
+ "id": "5d40a1b9.c2994",
"type": "execute",
"name": "prepare idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3175.265625,
- "y": 5336.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3412.5625,
+ "y": 5387.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "4994eb58.545584",
+ "id": "f43c3c63.25ad9",
"type": "execute",
"name": "fetch RRMPolicyRatio - NRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-du-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 3210.265625,
- "y": 5411.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3447.5625,
+ "y": 5462.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "918c6899.3a8928",
- "b1b2a4d3.a2e3b8"
+ "e3b08095.b4e31",
+ "f911831.2bcd58"
]
]
},
{
- "id": "918c6899.3a8928",
+ "id": "e3b08095.b4e31",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3457.265625,
- "y": 5384.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3694.5625,
+ "y": 5435.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "bca7d739.756ea8"
+ "981c46e8.e33468"
]
]
},
{
- "id": "b1b2a4d3.a2e3b8",
+ "id": "f911831.2bcd58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3461.265625,
- "y": 5463.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3698.5625,
+ "y": 5514.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "44c9ddb4.8ec0e4"
+ "748cf1b0.9d517"
]
]
},
{
- "id": "bca7d739.756ea8",
+ "id": "981c46e8.e33468",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3615.265869140625,
- "y": 5332.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3852.562744140625,
+ "y": 5383.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "803a4a43.8f68b8",
- "1d1a1c21.01b8b4",
- "4a65a227.e809dc"
+ "633b5c69.cd1044",
+ "cfbf14b0.9443f8",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "1d1a1c21.01b8b4",
+ "id": "cfbf14b0.9443f8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3781.265625,
- "y": 5298.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 4018.5625,
+ "y": 5349.8125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "803a4a43.8f68b8",
+ "id": "633b5c69.cd1044",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3786.2655029296875,
- "y": 5394.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 4023.5623779296875,
+ "y": 5444.812561035156,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "44c9ddb4.8ec0e4",
+ "id": "748cf1b0.9d517",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3625.2655029296875,
- "y": 5465.000119447708,
- "z": "902b25ae.7c3098",
+ "x": 3862.5623779296875,
+ "y": 5515.8126220703125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "a0e2fcc8.812fa",
- "5ff2d178.53119"
+ "8916b53d.b90f88",
+ "d6acc856.973798"
]
]
},
{
- "id": "a0e2fcc8.812fa",
+ "id": "8916b53d.b90f88",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 3775.2655029296875,
- "y": 5460.000241518021,
- "z": "902b25ae.7c3098",
+ "x": 4012.5623779296875,
+ "y": 5510.812744140625,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "5ff2d178.53119",
+ "id": "d6acc856.973798",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3790.265625,
- "y": 5522.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 4027.5625,
+ "y": 5573.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "402dcb7f.3b04e4",
+ "id": "65c6ca75.936b14",
"type": "execute",
"name": "read rrmpolicyratio list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length '`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 3189.265625,
- "y": 5465.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3426.5625,
+ "y": 5516.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "2ddd8a64.d76196",
+ "id": "6bcc8bb1.e1d3e4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3129.265625,
- "y": 5519.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3366.5625,
+ "y": 5570.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "7f43ba25.e857d4",
+ "id": "f0dfe9fd.ba7e58",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3734.2656631469727,
- "y": 5097.000087022781,
- "z": "902b25ae.7c3098",
+ "x": 3971.5625381469727,
+ "y": 5147.812589645386,
+ "z": "7108e868.a979d8",
"wires": [
[
- "f633b2f2.998f1",
- "916efd04.9f076",
- "60c3b865.5a7f28",
- "34c9f057.5f31a",
- "5433ce01.1f24a",
- "b871a9b1.5edd68",
- "bcad00a2.21753",
- "d8c369b8.66c268",
- "971ea3e7.4ad35",
- "d6c2686.5629f98",
- "1e1ae909.b227b7"
+ "25bccfbe.74997",
+ "83d763f9.c0daa",
+ "5c90938f.aae84c",
+ "5eb33de6.997004",
+ "1269be21.81b8d2",
+ "99edb9aa.d44a48",
+ "5717a3b9.d0abfc",
+ "d6422a31.9a6c68",
+ "31c3f05.90cfe1",
+ "7d3ffa6.132c704",
+ "78a6faf9.59c974"
]
]
},
{
- "id": "60c3b865.5a7f28",
+ "id": "5c90938f.aae84c",
"type": "set",
"name": "Calculate RRM Parms1",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
"comments": "",
- "x": 4178.255432128906,
- "y": 4877.322750329971,
- "z": "902b25ae.7c3098",
+ "x": 4415.552307128906,
+ "y": 4928.135252952576,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "34c9f057.5f31a",
+ "id": "5eb33de6.997004",
"type": "set",
"name": "Calculate RRM Parms2",
"xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4186.796691894531,
- "y": 4922.342769801617,
- "z": "902b25ae.7c3098",
+ "x": 4424.093566894531,
+ "y": 4973.155272424221,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "5433ce01.1f24a",
+ "id": "1269be21.81b8d2",
"type": "set",
"name": "Calculate RRM Parms3",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
"comments": "",
- "x": 4176.796813964844,
- "y": 4977.342647731304,
- "z": "902b25ae.7c3098",
+ "x": 4414.093688964844,
+ "y": 5028.1551503539085,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "b871a9b1.5edd68",
+ "id": "99edb9aa.d44a48",
"type": "set",
"name": "Calculate RRM Parms4",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4176.796691894531,
- "y": 5028.342647790909,
- "z": "902b25ae.7c3098",
+ "x": 4414.093566894531,
+ "y": 5079.155150413513,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "bcad00a2.21753",
+ "id": "5717a3b9.d0abfc",
"type": "set",
"name": "Calculate RRM Parms5",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
"comments": "",
- "x": 4164.796813964844,
- "y": 5088.342769801617,
- "z": "902b25ae.7c3098",
+ "x": 4402.093688964844,
+ "y": 5139.155272424221,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "d8c369b8.66c268",
+ "id": "d6422a31.9a6c68",
"type": "set",
"name": "Calculate RRM Parms6",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
"comments": "",
- "x": 4202.796691894531,
- "y": 5138.342769801617,
- "z": "902b25ae.7c3098",
+ "x": 4440.093566894531,
+ "y": 5189.155272424221,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "971ea3e7.4ad35",
+ "id": "31c3f05.90cfe1",
"type": "set",
"name": "Calculate RRM Parms7",
"xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
"comments": "",
- "x": 4189.796630859375,
- "y": 5208.343136072159,
- "z": "902b25ae.7c3098",
+ "x": 4427.093505859375,
+ "y": 5259.155638694763,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "d6c2686.5629f98",
+ "id": "7d3ffa6.132c704",
"type": "set",
"name": "calculation8",
"xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
"comments": "",
- "x": 4160.796630859375,
- "y": 5272.342159509659,
- "z": "902b25ae.7c3098",
+ "x": 4398.093505859375,
+ "y": 5323.154662132263,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "1e1ae909.b227b7",
+ "id": "78a6faf9.59c974",
"type": "set",
"name": "calculation9",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
"comments": "",
- "x": 4148.797180175781,
- "y": 5323.342037439346,
- "z": "902b25ae.7c3098",
+ "x": 4386.094055175781,
+ "y": 5374.154540061951,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "916efd04.9f076",
+ "id": "83d763f9.c0daa",
"type": "set",
"name": "calculation10",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
"comments": "",
- "x": 4124.2554931640625,
- "y": 5389.322506189346,
- "z": "902b25ae.7c3098",
+ "x": 4361.5523681640625,
+ "y": 5440.135008811951,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "f633b2f2.998f1",
+ "id": "25bccfbe.74997",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"tmp.nearRTRIC.trafficCapacity1 \"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.trafficCapacity1`\"/>\n<parameter name=\"field5\" value=\"tmp.nearRTRIC.trafficCapacity \"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.trafficCapacity`\"/>\n<parameter name=\"field7\" value=\"tmp.nearRTRIC.trafficCapacityBPS\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.trafficCapacityBPS`\"/>\n<parameter name=\"field9\" value=\"tmp.nrcelldu.totalPRBForSNSSAI \"/>\n<parameter name=\"field10\" value=\"`$tmp.nrcelldu.totalPRBForSNSSAI`\"/>\n<parameter name=\"field11\" value=\"tmp.nrcelldu.PRBPerImpactedCell \"/>\n<parameter name=\"field12\" value=\"`$tmp.nrcelldu.PRBPerImpactedCell`\"/>\n<parameter name=\"field13\" value=\"tmp.rRMPolicyDedicatedRatio.CellDU1 \"/>\n<parameter name=\"field14\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU1`\"/>",
"comments": "",
"outputs": 1,
- "x": 3950.2654190063477,
- "y": 5401.443812608719,
- "z": "902b25ae.7c3098",
+ "x": 4187.562294006348,
+ "y": 5452.256315231323,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "e1a3890e.1c4748",
+ "id": "fa410ab8.5baa78",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3170.515625,
- "y": 5590.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3407.8125,
+ "y": 5641.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "64a196e6.feac38"
+ "d5e66414.61b738"
]
]
},
{
- "id": "64a196e6.feac38",
+ "id": "d5e66414.61b738",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3391.515625,
- "y": 5610.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3628.8125,
+ "y": 5661.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "e12fa0c8.7acbd",
- "685561f6.45cae",
- "61d8afc9.4bdd8",
- "d4a04237.962ee",
- "35c21b7f.1ce444",
- "a74023c1.3525c"
+ "178d9c71.3e3cd4",
+ "7eb64cc3.660424",
+ "d35c9422.9abe48",
+ "84121f2e.40449",
+ "73826fd4.8f1b6",
+ "6c4671d6.29012"
]
]
},
{
- "id": "e12fa0c8.7acbd",
+ "id": "178d9c71.3e3cd4",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellDU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellDU + $tmp.rRMPolicyDedicatedRatio.CellDU`\" />",
"comments": "",
- "x": 3716.515625,
- "y": 5587.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3953.8125,
+ "y": 5638.8125,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "61d8afc9.4bdd8",
+ "id": "d35c9422.9abe48",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3684.515625,
- "y": 5638.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 3921.8125,
+ "y": 5689.812271118164,
+ "z": "7108e868.a979d8",
"wires": [
[
- "f80724f1.e8cff8"
+ "6c8d9351.4d651c",
+ "f56b6248.5a011"
]
]
},
{
- "id": "f80724f1.e8cff8",
+ "id": "6c8d9351.4d651c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3884.515625,
- "y": 5645.999524354935,
- "z": "902b25ae.7c3098",
+ "x": 4121.8125,
+ "y": 5696.812026977539,
+ "z": "7108e868.a979d8",
"wires": [
[
- "72ec29d6.f4f048"
+ "f50efe95.ca3d2"
]
]
},
{
- "id": "72ec29d6.f4f048",
+ "id": "f50efe95.ca3d2",
"type": "execute",
- "name": "fetch RRMPolicyRatio NRCellDU - URL",
+ "name": "patchRRMPolicyRatio NRCellDU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4150.515625,
- "y": 5649.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 4403.8124923706055,
+ "y": 5651.812838077545,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "35c21b7f.1ce444",
+ "id": "73826fd4.8f1b6",
"type": "set",
"name": "RRMPolicyRatio id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />",
"comments": "",
- "x": 3698.515625,
- "y": 5676.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 3935.8125,
+ "y": 5727.812271118164,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "a74023c1.3525c",
+ "id": "6c4671d6.29012",
"type": "set",
"name": "RRMPolicyMember Id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`\" />",
"comments": "",
- "x": 3689.515625,
- "y": 5723.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 3926.8125,
+ "y": 5774.812271118164,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "685561f6.45cae",
+ "id": "7eb64cc3.660424",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Updated RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_updated`\"/>",
"comments": "",
"outputs": 1,
- "x": 3646.515625,
- "y": 5767.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 3883.8125,
+ "y": 5818.812271118164,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "d4a04237.962ee",
+ "id": "84121f2e.40449",
"type": "execute",
"name": "patch NRCellDU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellDU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3713.515625,
- "y": 5809.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 3950.8125,
+ "y": 5860.812271118164,
+ "z": "7108e868.a979d8",
"wires": [
[
- "2bc6612f.3a72de",
- "2bef5a31.84c156"
+ "f3b17c12.36f39",
+ "b73daad5.796e88"
]
]
},
{
- "id": "2bc6612f.3a72de",
+ "id": "f3b17c12.36f39",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3985.515625,
- "y": 5801.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 4222.8125,
+ "y": 5852.812271118164,
+ "z": "7108e868.a979d8",
"wires": [
[
- "3f5bc381.3be27c"
+ "6383fa28.ddc1f4"
]
]
},
{
- "id": "3f5bc381.3be27c",
+ "id": "6383fa28.ddc1f4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4176.515625,
- "y": 5801.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 4413.8125,
+ "y": 5852.812271118164,
+ "z": "7108e868.a979d8",
"wires": [
[
- "792be8db.f35478"
+ "68bb8ff1.a9c8"
]
]
},
{
- "id": "792be8db.f35478",
+ "id": "68bb8ff1.a9c8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 4361.515380859375,
- "y": 5803.000012636185,
- "z": "902b25ae.7c3098",
+ "x": 4598.812255859375,
+ "y": 5853.812515258789,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "d428b524.dd51f8",
+ "id": "ab223540.8967f8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4443.515625,
- "y": 5845.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 4680.8125,
+ "y": 5896.812271118164,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "8662f257.3d8f4",
+ "id": "b6b94cea.8a762",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4448.5155029296875,
- "y": 5940.999829530716,
- "z": "902b25ae.7c3098",
+ "x": 4685.8123779296875,
+ "y": 5991.81233215332,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "b5d5e9cf.893988",
+ "id": "6b1cdeed.a4366",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4203.515869140625,
- "y": 5894.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 4440.812744140625,
+ "y": 5945.812271118164,
+ "z": "7108e868.a979d8",
"wires": [
[
- "8662f257.3d8f4",
- "d428b524.dd51f8",
- "4a65a227.e809dc"
+ "b6b94cea.8a762",
+ "ab223540.8967f8",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "2bef5a31.84c156",
+ "id": "b73daad5.796e88",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3984.515625,
- "y": 5889.99976849556,
- "z": "902b25ae.7c3098",
+ "x": 4221.8125,
+ "y": 5940.812271118164,
+ "z": "7108e868.a979d8",
"wires": [
[
- "b5d5e9cf.893988"
+ "6b1cdeed.a4366"
]
]
},
{
- "id": "bb5a724b.05c2d",
+ "id": "2ea51be.93ad1e4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2906.0157165527344,
- "y": 5895.000094652176,
- "z": "902b25ae.7c3098",
+ "x": 3143.3125915527344,
+ "y": 5945.81259727478,
+ "z": "7108e868.a979d8",
"wires": [
[
- "f4dbb40.e268a5",
- "8939105b.599d4"
+ "c73356e6.02bb68",
+ "39bf934c.b3043c"
]
]
},
{
- "id": "f4dbb40.e268a5",
+ "id": "c73356e6.02bb68",
"type": "execute",
"name": "Update cellDU for gNBDU in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updategNBDU.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 3369.015625,
- "y": 5902.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3606.3125,
+ "y": 5953.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "d5a42ec3.91d74",
- "8ff8b4aa.929f68"
+ "a24fd2cf.8b1ec",
+ "8419e3c3.46911"
]
]
},
{
- "id": "d5a42ec3.91d74",
+ "id": "a24fd2cf.8b1ec",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3656.015625,
- "y": 5874.000241518021,
- "z": "902b25ae.7c3098",
+ "x": 3893.3125,
+ "y": 5924.812744140625,
+ "z": "7108e868.a979d8",
"wires": [
[
- "866399c7.d1ca08"
+ "89e2bad2.ccb4f8"
]
]
},
{
- "id": "8ff8b4aa.929f68",
+ "id": "8419e3c3.46911",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3605.015625,
- "y": 5974.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 3842.3125,
+ "y": 6025.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "ea370960.ed44f8"
+ "64bf915a.e00cf"
]
]
},
{
- "id": "ea370960.ed44f8",
+ "id": "64bf915a.e00cf",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3691.015609741211,
- "y": 6056.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 3928.312484741211,
+ "y": 6106.812561035156,
+ "z": "7108e868.a979d8",
"wires": [
[
- "7d659980.6589c8"
+ "a85db168.b368f"
]
]
},
{
- "id": "866399c7.d1ca08",
+ "id": "89e2bad2.ccb4f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3848.015625,
- "y": 5989.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 4085.3125,
+ "y": 6040.8125,
+ "z": "7108e868.a979d8",
"wires": [
[
- "e34ed9b5.d545b8",
- "44f71652.026ad8",
- "4a65a227.e809dc"
+ "5e5df2c7.c7192c",
+ "9592e6f2.09e4f8",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "44f71652.026ad8",
+ "id": "9592e6f2.09e4f8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4014.015426635742,
- "y": 5957.999985933304,
- "z": "902b25ae.7c3098",
+ "x": 4251.312301635742,
+ "y": 6008.812488555908,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "7d659980.6589c8",
+ "id": "a85db168.b368f",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 3855.015625,
- "y": 6061.999997377396,
- "z": "902b25ae.7c3098",
+ "x": 4092.3125,
+ "y": 6112.8125,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "e34ed9b5.d545b8",
+ "id": "5e5df2c7.c7192c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4019.0152587890625,
- "y": 6051.000058412552,
- "z": "902b25ae.7c3098",
+ "x": 4256.3121337890625,
+ "y": 6101.812561035156,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "e8ed10ed.a351",
+ "id": "fa7c7018.fe14d",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4057.015426635742,
- "y": 6101.999985933304,
- "z": "902b25ae.7c3098",
+ "x": 4294.312301635742,
+ "y": 6152.812488555908,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "827ed714.37b868",
+ "id": "7184d1ab.d87de",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4062.0153045654297,
- "y": 6197.00004696846,
- "z": "902b25ae.7c3098",
+ "x": 4299.31217956543,
+ "y": 6247.812549591064,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "ef76090b.dc8128",
+ "id": "31dba375.14b29c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3891.015670776367,
- "y": 6135.999985933304,
- "z": "902b25ae.7c3098",
+ "x": 4128.312545776367,
+ "y": 6186.812488555908,
+ "z": "7108e868.a979d8",
"wires": [
[
- "827ed714.37b868",
- "e8ed10ed.a351",
- "4a65a227.e809dc"
+ "7184d1ab.d87de",
+ "fa7c7018.fe14d",
+ "ef5706f3.674e08"
]
]
},
{
- "id": "4b3e204d.2253b",
+ "id": "ad921fdb.ed082",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3688.015670776367,
- "y": 6138.999985933304,
- "z": "902b25ae.7c3098",
+ "x": 3925.312545776367,
+ "y": 6189.812488555908,
+ "z": "7108e868.a979d8",
"wires": [
[
- "ef76090b.dc8128"
+ "31dba375.14b29c"
]
]
},
{
- "id": "8939105b.599d4",
+ "id": "39bf934c.b3043c",
"type": "execute",
"name": "Update RRMPolicy for gNBDU in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 3390.015670776367,
- "y": 6188.999985933304,
- "z": "902b25ae.7c3098",
+ "x": 3627.312545776367,
+ "y": 6239.812488555908,
+ "z": "7108e868.a979d8",
"wires": [
[
- "4b3e204d.2253b",
- "512f1d26.ff6904"
+ "ad921fdb.ed082",
+ "9dc33a14.4035f8"
]
]
},
{
- "id": "512f1d26.ff6904",
+ "id": "9dc33a14.4035f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3688.015670776367,
- "y": 6248.999741792679,
- "z": "902b25ae.7c3098",
+ "x": 3925.312545776367,
+ "y": 6299.812244415283,
+ "z": "7108e868.a979d8",
"wires": [
[
- "5ff73d10.62c194"
+ "3a10913d.9ec45e"
]
]
},
{
- "id": "5ff73d10.62c194",
+ "id": "3a10913d.9ec45e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3869.015670776367,
- "y": 6242.999985933304,
- "z": "902b25ae.7c3098",
+ "x": 4106.312545776367,
+ "y": 6293.812488555908,
+ "z": "7108e868.a979d8",
"wires": [
[
- "60b8412.a13afc"
+ "acec8e16.d2012"
]
]
},
{
- "id": "60b8412.a13afc",
+ "id": "acec8e16.d2012",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellDU RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 4035.015670776367,
- "y": 6243.999985933304,
- "z": "902b25ae.7c3098",
+ "x": 4272.312545776367,
+ "y": 6294.812488555908,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "4a65a227.e809dc",
+ "id": "ef5706f3.674e08",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4528,
- "y": 2795,
- "z": "902b25ae.7c3098",
+ "x": 4765.296875,
+ "y": 2845.8125026226044,
+ "z": "7108e868.a979d8",
"wires": [
[
- "44b06412.78179c",
- "a33b8d5c.395c9",
- "87ecaac1.467418"
+ "e14a6d46.023e1",
+ "f540d7f6.c63608",
+ "dcc8b791.a74578"
]
]
},
{
- "id": "44b06412.78179c",
+ "id": "e14a6d46.023e1",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
"comments": "",
- "x": 5190.0009765625,
- "y": 2586.899658203125,
- "z": "902b25ae.7c3098",
+ "x": 5427.2978515625,
+ "y": 2637.7121608257294,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "a33b8d5c.395c9",
+ "id": "f540d7f6.c63608",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
"comments": "",
"outputs": 1,
- "x": 5164.999862670898,
- "y": 2684.0003356933594,
- "z": "902b25ae.7c3098",
+ "x": 5402.296737670898,
+ "y": 2734.8128383159637,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "87ecaac1.467418",
+ "id": "dcc8b791.a74578",
"type": "execute",
"name": "Send to SO",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 5079.99987411499,
- "y": 2781.000213623047,
- "z": "902b25ae.7c3098",
+ "x": 5317.29674911499,
+ "y": 2831.8127162456512,
+ "z": "7108e868.a979d8",
"wires": [
[
- "769ca8a5.209e38",
- "aa9e72b8.31727"
+ "aa777b08.53a7a8",
+ "104728ce.e17727"
]
]
},
{
- "id": "769ca8a5.209e38",
+ "id": "aa777b08.53a7a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5305.999882698059,
- "y": 2758.0001826286316,
- "z": "902b25ae.7c3098",
+ "x": 5543.296757698059,
+ "y": 2808.812685251236,
+ "z": "7108e868.a979d8",
"wires": [
[
- "2357438d.bfe2fc"
+ "f4582848.a8f468"
]
]
},
{
- "id": "aa9e72b8.31727",
+ "id": "104728ce.e17727",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5295.999736785889,
- "y": 2866.0001220703125,
- "z": "902b25ae.7c3098",
+ "x": 5533.296611785889,
+ "y": 2916.812624692917,
+ "z": "7108e868.a979d8",
"wires": [
[
- "7c0ce140.a09e1"
+ "c051cef5.032e7"
]
]
},
{
- "id": "7c0ce140.a09e1",
+ "id": "c051cef5.032e7",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5445.999523162842,
- "y": 2885.0001831054688,
- "z": "902b25ae.7c3098",
+ "x": 5683.296398162842,
+ "y": 2935.812685728073,
+ "z": "7108e868.a979d8",
"wires": [
[
- "b767d152.5238d"
+ "afe80856.a1d1c8"
]
]
},
{
- "id": "2357438d.bfe2fc",
+ "id": "f4582848.a8f468",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5456.999752044678,
- "y": 2753.000304698944,
- "z": "902b25ae.7c3098",
+ "x": 5694.296627044678,
+ "y": 2803.8128073215485,
+ "z": "7108e868.a979d8",
"wires": [
[
- "3d344db3.9055a2"
+ "7098be89.b1eb5"
]
]
},
{
- "id": "3d344db3.9055a2",
+ "id": "7098be89.b1eb5",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
"comments": "",
- "x": 5622.999431610107,
- "y": 2756.0001220703125,
- "z": "902b25ae.7c3098",
+ "x": 5860.296306610107,
+ "y": 2806.812624692917,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "b767d152.5238d",
+ "id": "afe80856.a1d1c8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 5609.999538421631,
- "y": 2891.0001220703125,
- "z": "902b25ae.7c3098",
+ "x": 5847.296413421631,
+ "y": 2941.812624692917,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "b7595db7.c2521",
+ "id": "134f1599.6c4a8a",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 610,
- "y": 4477,
- "z": "902b25ae.7c3098",
+ "x": 847.296875,
+ "y": 4527.812502622604,
+ "z": "7108e868.a979d8",
"wires": [
[
- "48041590.029d2c",
- "1364ce4.9346332",
- "38f85f43.4b8ff",
- "756f2724.d5ce18"
+ "82904319.0efd1",
+ "5831ff8f.1496e",
+ "1d979743.441219",
+ "fa9893c6.512cc"
]
]
},
{
- "id": "38f85f43.4b8ff",
+ "id": "1d979743.441219",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
"comments": "",
- "x": 890.0011444091797,
- "y": 4326.899484634399,
- "z": "902b25ae.7c3098",
+ "x": 1127.2980194091797,
+ "y": 4377.711987257004,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "48041590.029d2c",
+ "id": "82904319.0efd1",
"type": "record",
"name": "record SO reply parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
"comments": "",
"outputs": 1,
- "x": 886.9999771118164,
- "y": 4481.000183105469,
- "z": "902b25ae.7c3098",
+ "x": 1124.2968521118164,
+ "y": 4531.812685728073,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "1364ce4.9346332",
+ "id": "5831ff8f.1496e",
"type": "execute",
"name": "Send to SO",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 756.0000762939453,
- "y": 4597.999887466431,
- "z": "902b25ae.7c3098",
+ "x": 993.2969512939453,
+ "y": 4648.812390089035,
+ "z": "7108e868.a979d8",
"wires": [
[
- "bb4fe7e5.3fe438",
- "4ff8abeb.b2c344"
+ "a65f78fa.56f2d8",
+ "c50ac077.03657"
]
]
},
{
- "id": "bb4fe7e5.3fe438",
+ "id": "a65f78fa.56f2d8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 921.0000762939453,
- "y": 4577.999886512756,
- "z": "902b25ae.7c3098",
+ "x": 1158.2969512939453,
+ "y": 4628.812389135361,
+ "z": "7108e868.a979d8",
"wires": [
[
- "4192a4d.5fb205c"
+ "a2576d09.489f3"
]
]
},
{
- "id": "4ff8abeb.b2c344",
+ "id": "c50ac077.03657",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 912.9999694824219,
- "y": 4650.999836921692,
- "z": "902b25ae.7c3098",
+ "x": 1150.2968444824219,
+ "y": 4701.812339544296,
+ "z": "7108e868.a979d8",
"wires": [
[
- "6dd07533.60b66c"
+ "e328c501.176f58"
]
]
},
{
- "id": "6dd07533.60b66c",
+ "id": "e328c501.176f58",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1058.999813079834,
- "y": 4655.999945640564,
- "z": "902b25ae.7c3098",
+ "x": 1296.296688079834,
+ "y": 4706.812448263168,
+ "z": "7108e868.a979d8",
"wires": [
[
- "f0b91fc0.2c2d3"
+ "6c9548b2.9d00a8"
]
]
},
{
- "id": "4192a4d.5fb205c",
+ "id": "a2576d09.489f3",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1069.9999771118164,
- "y": 4574.000021934509,
- "z": "902b25ae.7c3098",
+ "x": 1307.2968521118164,
+ "y": 4624.812524557114,
+ "z": "7108e868.a979d8",
"wires": [
[
- "14ae4efb.b99c71",
- "17f3d5e8.b1f9fa"
+ "97c6f5ad.db3368",
+ "7528351d.82c32c"
]
]
},
{
- "id": "14ae4efb.b99c71",
+ "id": "97c6f5ad.db3368",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
"comments": "",
- "x": 1216.9995956420898,
- "y": 4584.9997634887695,
- "z": "902b25ae.7c3098",
+ "x": 1454.2964706420898,
+ "y": 4635.812266111374,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "f0b91fc0.2c2d3",
+ "id": "6c9548b2.9d00a8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 1219.9997329711914,
- "y": 4661.999837875366,
- "z": "902b25ae.7c3098",
+ "x": 1457.2966079711914,
+ "y": 4712.812340497971,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
},
{
- "id": "17f3d5e8.b1f9fa",
+ "id": "7528351d.82c32c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1204.5102043151855,
- "y": 4488.989254951477,
- "z": "902b25ae.7c3098",
+ "x": 1441.8070793151855,
+ "y": 4539.801757574081,
+ "z": "7108e868.a979d8",
"wires": []
},
{
- "id": "756f2724.d5ce18",
+ "id": "fa9893c6.512cc",
"type": "execute",
"name": "generate URL for SO Callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.so.callbackURL`\"/>\n <parameter name=\"outputPath\" value=\"tmp.so.callbackURL\"/>\n <parameter name=\"target\" value=\"{requestId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.requestID`\"/>",
"comments": "",
"outputs": 1,
- "x": 909.339599609375,
- "y": 4416.985337257385,
- "z": "902b25ae.7c3098",
+ "x": 1146.636474609375,
+ "y": 4467.79783987999,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2db4eb44.da6004",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2548.8125,
+ "y": 1842.8125,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "6181616d.f9638"
+ ]
+ ]
+ },
+ {
+ "id": "6181616d.f9638",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2741.802158355713,
+ "y": 1842.8126220703125,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "368a72f6.49333e",
+ "255bdee5.7c7202"
+ ]
+ ]
+ },
+ {
+ "id": "368a72f6.49333e",
+ "type": "execute",
+ "name": "generate fetchRRMPolicyRatio.ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3048.802345275879,
+ "y": 1809.81272315979,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "255bdee5.7c7202",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2992.802745819092,
+ "y": 1862.8129167556763,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1be9da11.5515e6",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2976.3125,
+ "y": 1226.8125,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "914f0a5c.a3eae8",
+ "a4bc1334.77552"
+ ]
+ ]
+ },
+ {
+ "id": "a4bc1334.77552",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3227.312931060791,
+ "y": 1249.81263256073,
+ "z": "7108e868.a979d8",
"wires": [
[]
]
+ },
+ {
+ "id": "914f0a5c.a3eae8",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3283.312530517578,
+ "y": 1196.8124389648438,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7e85be4.6ec848",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3479.312641143799,
+ "y": 2323.8125944137573,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9860039d.f6928",
+ "type": "execute",
+ "name": "generate patchRRMPolicyRatio.ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3535.312240600586,
+ "y": 2270.812400817871,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "53ef7019.7a1f9",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3228.31205368042,
+ "y": 2303.8122997283936,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "9860039d.f6928",
+ "c7e85be4.6ec848"
+ ]
+ ]
+ },
+ {
+ "id": "4555531e.6f353c",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3035.322395324707,
+ "y": 2303.812177658081,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "53ef7019.7a1f9"
+ ]
+ ]
+ },
+ {
+ "id": "40ea92ad.608b2c",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2515.8125,
+ "y": 2879.8125,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9ec13137.5f236",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.TogNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2571.812099456787,
+ "y": 2826.8123064041138,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cec48822.0fc488",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2269.8121643066406,
+ "y": 2866.8122453689575,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "9ec13137.5f236",
+ "40ea92ad.608b2c"
+ ]
+ ]
+ },
+ {
+ "id": "ea9d3f75.46bf6",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2295.8125,
+ "y": 3223.8125,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "4c5f38d0.c0dbe8",
+ "408475cd.4bbdbc"
+ ]
+ ]
+ },
+ {
+ "id": "4c5f38d0.c0dbe8",
+ "type": "execute",
+ "name": "fetch RRMPolicyRatio.TogNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2597.8124351501465,
+ "y": 3183.8125610351562,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "408475cd.4bbdbc",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2541.8128356933594,
+ "y": 3236.8127546310425,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "84a6a111.772e4",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2068.3125,
+ "y": 3232.8125,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "ea9d3f75.46bf6"
+ ]
+ ]
+ },
+ {
+ "id": "96bf52a5.a5094",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2605.3125,
+ "y": 3678.8125,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "f833b9d4.5c52d8"
+ ]
+ ]
+ },
+ {
+ "id": "f833b9d4.5c52d8",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2832.8125,
+ "y": 3669.8125,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "56078e71.c09d6",
+ "da40eae9.0ed398"
+ ]
+ ]
+ },
+ {
+ "id": "56078e71.c09d6",
+ "type": "execute",
+ "name": "patch RRMPolicyRatio.TogNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3134.8124351501465,
+ "y": 3629.8125610351562,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "da40eae9.0ed398",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3078.8128356933594,
+ "y": 3682.8127546310425,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e66f84d4.6add28",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3718.3125,
+ "y": 4661.8125,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "260b2835.22a518",
+ "6e4be15c.f00f2"
+ ]
+ ]
+ },
+ {
+ "id": "260b2835.22a518",
+ "type": "execute",
+ "name": "generate patchPLMNInfoList.ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4025.312530517578,
+ "y": 4631.812438964844,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6e4be15c.f00f2",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3969.312931060791,
+ "y": 4684.81263256073,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5a933026.4d27b",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3615.0625,
+ "y": 5284.8125,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "a8f05d38.a83c1"
+ ]
+ ]
+ },
+ {
+ "id": "a8f05d38.a83c1",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3782.062732696533,
+ "y": 5283.0620975494385,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "4c48557d.0a3a9c",
+ "73416530.7efcdc"
+ ]
+ ]
+ },
+ {
+ "id": "4c48557d.0a3a9c",
+ "type": "execute",
+ "name": "generate patchRRMPolicyRatio.ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4029.0625495910645,
+ "y": 5250.0620975494385,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "73416530.7efcdc",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3972.0630378723145,
+ "y": 5311.062463760376,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f56b6248.5a011",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4115.0625,
+ "y": 5759.8125,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "bbf06627.f3ed78"
+ ]
+ ]
+ },
+ {
+ "id": "bbf06627.f3ed78",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4282.062732696533,
+ "y": 5758.0620975494385,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "5f9cb422.af919c",
+ "da32c67c.e299e8"
+ ]
+ ]
+ },
+ {
+ "id": "5f9cb422.af919c",
+ "type": "execute",
+ "name": "generate patchRRMPolicyRatio.ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4529.062549591064,
+ "y": 5725.0620975494385,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "da32c67c.e299e8",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4472.063037872314,
+ "y": 5786.062463760376,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e20376cf.788968",
+ "type": "comment",
+ "name": "instantiateRANSlice-ModifyAllocate",
+ "info": "",
+ "comments": "",
+ "x": 1096.5625,
+ "y": 154.0625,
+ "z": "7108e868.a979d8",
+ "wires": []
+ },
+ {
+ "id": "f75f3c8b.be38f",
+ "type": "execute",
+ "name": "read PLMNList size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2322.4656295776367,
+ "y": 885.909752368927,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ab9b5a5f.7edca8",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2337.0490646362305,
+ "y": 949.6597952842712,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "327234de.3a864c"
+ ]
+ ]
+ },
+ {
+ "id": "327234de.3a864c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2514.9380416870117,
+ "y": 872.437584400177,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "1a9da553.0446fb",
+ "ed323aec.b19e28",
+ "81e0ba30.914fd8"
+ ]
+ ]
+ },
+ {
+ "id": "1a9da553.0446fb",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2720.827003479004,
+ "y": 895.6597666740417,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ed323aec.b19e28",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2759.7158432006836,
+ "y": 960.2153334617615,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "7dcede1.de3672"
+ ]
+ ]
+ },
+ {
+ "id": "7dcede1.de3672",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2949.1880416870117,
+ "y": 960.437662601471,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "d5711de.7d20ee"
+ ]
+ ]
+ },
+ {
+ "id": "81e0ba30.914fd8",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2849.8268966674805,
+ "y": 827.6598153114319,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9075c0f5.a64f5",
+ "type": "execute",
+ "name": "read PLMNList size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2445.3125,
+ "y": 4357.8125,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "db078c99.82cd6",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2423.6458740234375,
+ "y": 4427.8125,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "790d6865.84f598"
+ ]
+ ]
+ },
+ {
+ "id": "790d6865.84f598",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2609.0346603393555,
+ "y": 4421.8402099609375,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "31b6396b.687da6",
+ "d7e5ca37.7359c8",
+ "fdf60abf.fb88a8"
+ ]
+ ]
+ },
+ {
+ "id": "fdf60abf.fb88a8",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2975.173667907715,
+ "y": 4307.062685012817,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "31b6396b.687da6",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2844.923667907715,
+ "y": 4375.062562942505,
+ "z": "7108e868.a979d8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d7e5ca37.7359c8",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2840.06258392334,
+ "y": 4448.3682289123535,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "46572f40.c306d"
+ ]
+ ]
+ },
+ {
+ "id": "46572f40.c306d",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3009.5347213745117,
+ "y": 4474.840398788452,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "2e0cb657.fa72aa"
+ ]
+ ]
+ },
+ {
+ "id": "2d9b1779.25da68",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2230.3125610351562,
+ "y": 4495.312624931335,
+ "z": "7108e868.a979d8",
+ "wires": [
+ [
+ "9075c0f5.a64f5",
+ "db078c99.82cd6"
+ ]
+ ]
+ },
+ {
+ "id": "f0e433f3.dc406",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
+ "comments": "",
+ "x": 495.83331298828125,
+ "y": 1529.1666259765625,
+ "z": "7108e868.a979d8",
+ "wires": []
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json
index e85834ca..e09ee428 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json
@@ -1,586 +1,7327 @@
[
{
- "id": "a5d25c75.df911",
+ "id": "c5568a98.8f8718",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 92.5,
+ "y": 32.49999666213989,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "7ce853d8.9c699c"
+ ]
+ ]
+ },
+ {
+ "id": "7ce853d8.9c699c",
+ "type": "service-logic",
+ "name": "ran-slice-api ${project.version}",
+ "module": "ran-slice-api",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
+ "outputs": 1,
+ "x": 147.5000228881836,
+ "y": 119.49996519088745,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "558e29d9.0bca88"
+ ]
+ ]
+ },
+ {
+ "id": "558e29d9.0bca88",
"type": "method",
"name": "method",
"xml": "<method rpc='terminateRANSliceInstance' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 135,
- "y": 178.98959350585938,
- "z": "f630c4e8.64d488",
+ "x": 81.5,
+ "y": 179.49993085861206,
+ "z": "da62f736.168268",
"wires": [
[
- "940794b0.9ca258"
+ "73e286b5.95ed98"
]
]
},
{
- "id": "6b98a8.11e82758",
- "type": "dgstart",
- "name": "DGSTART",
+ "id": "73e286b5.95ed98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
"outputs": 1,
- "x": 131,
- "y": 26.989585876464844,
- "z": "f630c4e8.64d488",
+ "x": 87.49999237060547,
+ "y": 274.2499613761902,
+ "z": "da62f736.168268",
"wires": [
[
- "cc743ed3.cedd7"
+ "b2a2f929.e9e7d8",
+ "ef29471f.64f038",
+ "2e6295f3.2b018a",
+ "b01e9ff8.9fdcb"
]
]
},
{
- "id": "cc743ed3.cedd7",
- "type": "service-logic",
- "name": "ran-slice-api ${project.version}",
- "module": "ran-slice-api",
- "version": "${project.version}",
+ "id": "b2a2f929.e9e7d8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 301.49999618530273,
+ "y": 297.49999380111694,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "6336a945.8a35f8",
+ "734e7146.41458",
+ "fff929df.03fac8",
+ "d74945f1.537f58",
+ "1a07170f.9b8cb9",
+ "8d1aec81.1c96c",
+ "a440f467.164788",
+ "535f16f4.b6d608",
+ "406ee76f.a28dd8",
+ "331ef215.bbe70e",
+ "2bef0202.a1c14e",
+ "7a08dec6.783c6",
+ "c50ddf2a.0f482",
+ "4a173bea.dab424",
+ "418b9d9d.e0f1e4",
+ "9a10e123.7e743"
+ ]
+ ]
+ },
+ {
+ "id": "6336a945.8a35f8",
+ "type": "execute",
+ "name": "generate getNearRTRICsFromRANNFNSSI URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICByNSSI`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 685.75,
+ "y": 440.75000381469727,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "734e7146.41458",
+ "type": "record",
+ "name": "record configdb RestAPI params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$ranNFNSSIId`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 625.7500152587891,
+ "y": 491.7500228881836,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fff929df.03fac8",
+ "type": "execute",
+ "name": "Get nearRTRIC for TrackingArea",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 615.7500915527344,
+ "y": 543.7500534057617,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "b4943470.91c0d8",
+ "c824c7c4.195ea8"
+ ]
+ ]
+ },
+ {
+ "id": "b4943470.91c0d8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"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": 188.99998474121094,
- "y": 87.98968124389648,
- "z": "f630c4e8.64d488",
+ "x": 914.5680961608887,
+ "y": 561.5680770874023,
+ "z": "da62f736.168268",
"wires": [
[
- "a5d25c75.df911"
+ "31b1e0f6.87ffa"
]
]
},
{
- "id": "940794b0.9ca258",
+ "id": "31b1e0f6.87ffa",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 150.48959732055664,
- "y": 345.98962020874023,
- "z": "f630c4e8.64d488",
+ "x": 1084.5679931640625,
+ "y": 562.5681924819946,
+ "z": "da62f736.168268",
"wires": [
[
- "d32cd716.eb75f8",
- "5a119db3.ce9b34"
+ "cb22de9c.436e2",
+ "e2f6cc30.e8277"
]
]
},
{
- "id": "d32cd716.eb75f8",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n",
+ "id": "cb22de9c.436e2",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1307.5677909851074,
+ "y": 507.56817626953125,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e2f6cc30.e8277",
+ "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-terminateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1303.345932006836,
+ "y": 578.5681838989258,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c824c7c4.195ea8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 920.5680503845215,
+ "y": 501.5681610107422,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "48a2a2c5.98d62c"
+ ]
+ ]
+ },
+ {
+ "id": "48a2a2c5.98d62c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
"comments": "",
- "x": 247.0002670288086,
- "y": 575.9897727966309,
- "z": "f630c4e8.64d488",
+ "outputs": 1,
+ "x": 1200.5681266784668,
+ "y": 407.56821489334106,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "2821d952.27d626",
+ "80ea1426.fb74e8"
+ ]
+ ]
+ },
+ {
+ "id": "2821d952.27d626",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1378.56791305542,
+ "y": 361.6792416572571,
+ "z": "da62f736.168268",
"wires": []
},
{
- "id": "44cfb129.2991e",
- "type": "comment",
- "name": "terminateRANSliceInstance",
- "info": "",
+ "id": "ef29471f.64f038",
+ "type": "for",
+ "name": "foreach NearRTRIC",
+ "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
"comments": "",
- "x": 415,
- "y": 21,
- "z": "f630c4e8.64d488",
+ "outputs": 1,
+ "x": 282.75,
+ "y": 884.5681762695312,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "18d219c0.9cf676",
+ "85e55937.41fdf8",
+ "e30d97bf.620048",
+ "c27385b1.743288"
+ ]
+ ]
+ },
+ {
+ "id": "18d219c0.9cf676",
+ "type": "block",
+ "name": "Process NearRTRIC",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 603.1035614013672,
+ "y": 1023.143970489502,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "eefa1832.1380b8",
+ "f131480e.413408",
+ "35178056.84a7e",
+ "e0692478.040118",
+ "c224bf70.f8698",
+ "feae2bb9.c89528",
+ "efb82a40.58c198",
+ "32462495.24865c",
+ "36cfb15f.b2ef8e"
+ ]
+ ]
+ },
+ {
+ "id": "eefa1832.1380b8",
+ "type": "execute",
+ "name": "read nearRTRICId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].nearRTRICId'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 998.295524597168,
+ "y": 675.4773025512695,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f131480e.413408",
+ "type": "execute",
+ "name": "read gNBId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 968.2954940795898,
+ "y": 867.4773654937744,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "35178056.84a7e",
+ "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-removenearRTRIC-PLMNInfo.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-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": 1074.0126266479492,
+ "y": 1062.9823503494263,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "dee5a635.a73338",
+ "7a0a6ef9.9ecdd"
+ ]
+ ]
+ },
+ {
+ "id": "dee5a635.a73338",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1441.568115234375,
+ "y": 1104.0226440429688,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "6a251f04.44743"
+ ]
+ ]
+ },
+ {
+ "id": "6a251f04.44743",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1573.5682373046875,
+ "y": 1066.0226440429688,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "109652da.35aaad",
+ "16105346.8b4fbd"
+ ]
+ ]
+ },
+ {
+ "id": "16105346.8b4fbd",
+ "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": 1762.5679931640625,
+ "y": 1013.1336669921875,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "109652da.35aaad",
+ "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": 1770.5679931640625,
+ "y": 1113.022705078125,
+ "z": "da62f736.168268",
"wires": []
},
{
- "id": "5a119db3.ce9b34",
+ "id": "7a0a6ef9.9ecdd",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1439.38623046875,
+ "y": 1203.9317626953125,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "7721543c.03993c"
+ ]
+ ]
+ },
+ {
+ "id": "7721543c.03993c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1603.3861083984375,
+ "y": 1204.931884765625,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "99b87529.8cda48"
+ ]
+ ]
+ },
+ {
+ "id": "99b87529.8cda48",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configureNearRTRIC.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle configureNearRTRIC \"/>",
+ "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 NearRT RIC info in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 300.0002975463867,
- "y": 155.01043319702148,
- "z": "f630c4e8.64d488",
+ "x": 1753.3861083984375,
+ "y": 1199.9320068359375,
+ "z": "da62f736.168268",
"wires": [
[]
]
},
{
- "id": "f7ead8d5.6a76d8",
+ "id": "873ed2d3.c7ca8",
+ "type": "execute",
+ "name": "read CUCP list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 956.75,
+ "y": 1247.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "85e55937.41fdf8",
+ "type": "block",
+ "name": "Process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 583.7500228881836,
+ "y": 1160.7500534057617,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "873ed2d3.c7ca8",
+ "61417ec7.d4a75",
+ "44181142.3471e"
+ ]
+ ]
+ },
+ {
+ "id": "61417ec7.d4a75",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 928.75,
+ "y": 1312.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "44181142.3471e",
+ "type": "for",
+ "name": "foreach CUCP",
+ "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 956.75,
+ "y": 1387.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "9873817a.bd85"
+ ]
+ ]
+ },
+ {
+ "id": "9873817a.bd85",
+ "type": "block",
+ "name": "block : process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1177.75,
+ "y": 1394.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "9bd17c8f.d933c",
+ "ec596de0.0aca4",
+ "d29c67e5.d6f4f8",
+ "5f1d2c5c.decd84"
+ ]
+ ]
+ },
+ {
+ "id": "9bd17c8f.d933c",
+ "type": "execute",
+ "name": "read CUCP name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1528.75,
+ "y": 1247.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ec596de0.0aca4",
+ "type": "for",
+ "name": "for cellCUList",
+ "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1532.75,
+ "y": 1391.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "9e9a8829.999268"
+ ]
+ ]
+ },
+ {
+ "id": "b0e1bf8f.22488",
+ "type": "execute",
+ "name": "read cellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2269.2502670288086,
+ "y": 1110.5000038146973,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6adc774.43c8d8",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2248.000114440918,
+ "y": 1356.999948501587,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "46c5fc21.cc9984",
+ "type": "execute",
+ "name": "terminate sNNSAI ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteSNSSAIListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellCU-sNSSAI-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2215.7501068115234,
+ "y": 1544.7499732971191,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "47288b8d.772554",
+ "331e8cd2.198374"
+ ]
+ ]
+ },
+ {
+ "id": "850a1c4b.3fe45",
+ "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/terminateRANSliceModifyAllocate.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.sNSSAI`\"/>\n<parameter name=\"field8\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2215.75,
+ "y": 1479.2500133514404,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "47df190.60624e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2046.75,
+ "y": 998.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "b0e1bf8f.22488",
+ "e6adc774.43c8d8",
+ "850a1c4b.3fe45",
+ "46c5fc21.cc9984",
+ "abb0b9c.15d9d48",
+ "83d73909.bae128",
+ "a39f8656.444118",
+ "d3e48ebc.f7231",
+ "b5390e62.ee13f",
+ "b5ed71f7.1a30d",
+ "871e03be.326d",
+ "1c8e5c05.e07c04",
+ "e8f8f0ea.977c8"
+ ]
+ ]
+ },
+ {
+ "id": "47288b8d.772554",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2466.750114440918,
+ "y": 1540.7502174377441,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "58993238.4039dc"
+ ]
+ ]
+ },
+ {
+ "id": "58993238.4039dc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2639.749900817871,
+ "y": 1539.7502784729004,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "321c23a.1dc6cdc"
+ ]
+ ]
+ },
+ {
+ "id": "321c23a.1dc6cdc",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2837.7499618530273,
+ "y": 1536.750400543213,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "331e8cd2.198374",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2431.75008392334,
+ "y": 1423.7499732971191,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "476ddcef.5da644"
+ ]
+ ]
+ },
+ {
+ "id": "476ddcef.5da644",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2581.750358581543,
+ "y": 1382.750156402588,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "cad84f7d.8b728",
+ "df36d01.7f7d83",
+ "80ea1426.fb74e8"
+ ]
+ ]
+ },
+ {
+ "id": "cad84f7d.8b728",
+ "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": 2752.7499923706055,
+ "y": 1443.7502174377441,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "df36d01.7f7d83",
"type": "set",
- "name": "set tmp variables for notif input parms",
- "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.lte-cell-number-of-entries\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>",
+ "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": 770.0010986328125,
- "y": 210.88906478881836,
- "z": "f630c4e8.64d488",
+ "x": 2747.750114440918,
+ "y": 1348.750156402588,
+ "z": "da62f736.168268",
"wires": []
},
{
- "id": "6e214788.4686f8",
+ "id": "abb0b9c.15d9d48",
"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/sdnr-CMNotify-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
+ "name": "prepare idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2303.750030517578,
+ "y": 1210.7500953674316,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "83d73909.bae128",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2284.7500228881836,
+ "y": 1257.4999752044678,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a39f8656.444118",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 495.00018310546875,
- "y": 176.01041793823242,
- "z": "f630c4e8.64d488",
+ "x": 2260.4999923706055,
+ "y": 1300.5000085830688,
+ "z": "da62f736.168268",
"wires": [
[]
]
},
{
- "id": "df08b48d.a7c588",
+ "id": "d29c67e5.d6f4f8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read ..configDB URL\"/>\n<parameter name=\"field2\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field3\" value=\"Properties read ..DMAAP Msg Router URL\"/>\n<parameter name=\"field4\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field5\" value=\"`$prop.dmaap-message-router.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field7\" value=\"`$prop.controller.url`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 1501.75,
+ "y": 1298.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f1d2c5c.decd84",
+ "type": "execute",
+ "name": "read cellCU list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 460.00030517578125,
- "y": 230.01049423217773,
- "z": "f630c4e8.64d488",
+ "x": 1542.75,
+ "y": 1347.75,
+ "z": "da62f736.168268",
"wires": [
[]
]
},
{
- "id": "3cf4985f.1d9b68",
+ "id": "d3e48ebc.f7231",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2269.75,
+ "y": 1061.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "696ba9cb.bb2f18",
+ "aebe61da.58076"
+ ]
+ ]
+ },
+ {
+ "id": "696ba9cb.bb2f18",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2477.75,
+ "y": 1026.749755859375,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "2ad68b21.890b84"
+ ]
+ ]
+ },
+ {
+ "id": "2ad68b21.890b84",
+ "type": "execute",
+ "name": "generate terminate sNSSAItEntry ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2797.75,
+ "y": 1041.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aebe61da.58076",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2465.75,
+ "y": 1128.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "a0cd471f.d08e88"
+ ]
+ ]
+ },
+ {
+ "id": "b5390e62.ee13f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1824.75,
+ "y": 1812.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "2cf8126f.d1e85e",
+ "6a14fde8.414504",
+ "c0f1b70c.7a0618",
+ "21256195.ad05de",
+ "770cc1c7.5a6fb",
+ "9e4d0066.d7a5f",
+ "39559a54.4e74d6",
+ "292b773e.225808",
+ "e28d4409.a0c4b8"
+ ]
+ ]
+ },
+ {
+ "id": "2cf8126f.d1e85e",
+ "type": "set",
+ "name": "Calculate RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
+ "comments": "",
+ "x": 2006.75,
+ "y": 1595.75,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "6a14fde8.414504",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2005.75,
+ "y": 1651.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c0f1b70c.7a0618",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2046.75,
+ "y": 1718.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "5e0355ea.6e912c",
+ "531b3c4c.239274"
+ ]
+ ]
+ },
+ {
+ "id": "5e0355ea.6e912c",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2224.75,
+ "y": 1685.749755859375,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "b5415457.b2b258"
+ ]
+ ]
+ },
+ {
+ "id": "b5415457.b2b258",
+ "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": 2502.75,
+ "y": 1677.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "21256195.ad05de",
+ "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": 2081.75,
+ "y": 1790.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "770cc1c7.5a6fb",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2046.75,
+ "y": 1842.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af7677e4.5eb1b8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2332.75,
+ "y": 1969.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "9d029223.3b508"
+ ]
+ ]
+ },
+ {
+ "id": "9d029223.3b508",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2496.7498779296875,
+ "y": 1970.7501220703125,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "c89265f6.049fe8",
+ "8edb7765.0ff4e8"
+ ]
+ ]
+ },
+ {
+ "id": "c89265f6.049fe8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2646.7498779296875,
+ "y": 1965.750244140625,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "64306a63.dd3e24",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2328.75,
+ "y": 1890.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "48cd5a.d4e032a8"
+ ]
+ ]
+ },
+ {
+ "id": "48cd5a.d4e032a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2486.750244140625,
+ "y": 1838.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "faeaed8.9cc8f1",
+ "a2d9015a.dbf14",
+ "80ea1426.fb74e8"
+ ]
+ ]
+ },
+ {
+ "id": "faeaed8.9cc8f1",
+ "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": 2657.7498779296875,
+ "y": 1899.7500610351562,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "a2d9015a.dbf14",
+ "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": 2652.75,
+ "y": 1804.75,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "9e4d0066.d7a5f",
+ "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": 2081.75,
+ "y": 1917.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "64306a63.dd3e24",
+ "af7677e4.5eb1b8"
+ ]
+ ]
+ },
+ {
+ "id": "8edb7765.0ff4e8",
+ "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-terminateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2661.75,
+ "y": 2028.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "39559a54.4e74d6",
"type": "for",
- "name": "for",
- "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 335,
- "y": 355.98958587646484,
- "z": "f630c4e8.64d488",
+ "x": 2016.75,
+ "y": 2075.750228881836,
+ "z": "da62f736.168268",
"wires": [
[
- "c8a0e6e.1dd9f18"
+ "cd8bf9bc.1cadc8"
]
]
},
{
- "id": "c8a0e6e.1dd9f18",
+ "id": "292b773e.225808",
+ "type": "execute",
+ "name": "read rrmpolicyratio list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length '`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 2060.75,
+ "y": 1971.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd8bf9bc.1cadc8",
"type": "block",
- "name": "block : ConfigDB Update",
+ "name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 514,
- "y": 346.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 2237.75,
+ "y": 2095.750228881836,
+ "z": "da62f736.168268",
"wires": [
[
- "f7ead8d5.6a76d8",
- "30513601.2f1eda"
+ "2bc7679f.a36f88",
+ "756aabaa.a810d4",
+ "bafc3e6d.cdf73",
+ "71c76952.045908",
+ "54cca329.31500c",
+ "14019172.5d29bf",
+ "521d3d11.f4ead4",
+ "cd5eaeef.a91e3",
+ "eaeb68eb.667d98",
+ "7314c963.605c68"
]
]
},
{
- "id": "30513601.2f1eda",
+ "id": "2bc7679f.a36f88",
+ "type": "set",
+ "name": "Calculate updated RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellCU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`\" />",
+ "comments": "",
+ "x": 2562.75,
+ "y": 2072.750228881836,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "e28d4409.a0c4b8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 2000.75,
+ "y": 2025.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "688b9f44.1b24f",
"type": "for",
- "name": "for",
- "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2093.8610229492188,
+ "y": 806.9722108840942,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "9bebaeb1.90386"
+ ]
+ ]
+ },
+ {
+ "id": "9e9a8829.999268",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1752.75,
+ "y": 1300.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "688b9f44.1b24f",
+ "63802b92.24eaa4"
+ ]
+ ]
+ },
+ {
+ "id": "fab9e219.5662d",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2516.527801513672,
+ "y": 817.5277490615845,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "b43cbba0.8b8ab8"
+ ]
+ ]
+ },
+ {
+ "id": "b43cbba0.8b8ab8",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2419.75,
+ "y": 902.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "47df190.60624e8"
+ ]
+ ]
+ },
+ {
+ "id": "b5ed71f7.1a30d",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"NSSAI exists \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2241.75,
+ "y": 993.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7690acef.0c3c44",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2477.638961791992,
+ "y": 752.9721822738647,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9bebaeb1.90386",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2271.75,
+ "y": 729.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "7690acef.0c3c44",
+ "fab9e219.5662d",
+ "c229445e.e237e8"
+ ]
+ ]
+ },
+ {
+ "id": "c229445e.e237e8",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2606.6388549804688,
+ "y": 684.9722309112549,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "871e03be.326d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1641.7499542236328,
+ "y": 2277.750011444092,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "7389066e.093d58",
+ "d793dedd.b3828",
+ "affea016.689ae"
+ ]
+ ]
+ },
+ {
+ "id": "7389066e.093d58",
+ "type": "execute",
+ "name": "Update cellCU for gNBCUCP in ConfigDB",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUCP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removegNBCUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"remove-gNBCUCP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1924.7499542236328,
+ "y": 2277.750011444092,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "792eb9e8.3016e8",
+ "f973581b.cedbd8"
+ ]
+ ]
+ },
+ {
+ "id": "f973581b.cedbd8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2160.749954223633,
+ "y": 2349.750011444092,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "337d2d70.5e45a2"
+ ]
+ ]
+ },
+ {
+ "id": "792eb9e8.3016e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2211.749954223633,
+ "y": 2248.750255584717,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "c01c4080.c3a65"
+ ]
+ ]
+ },
+ {
+ "id": "c01c4080.c3a65",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 731,
- "y": 320.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 2405.000068664551,
+ "y": 2393.5000705718994,
+ "z": "da62f736.168268",
"wires": [
[
- "307d8f82.8592a"
+ "75b5b3c7.3a963c",
+ "56f19de0.2f7e84",
+ "80ea1426.fb74e8"
]
]
},
{
- "id": "c0f7c9f8.98e818",
+ "id": "56f19de0.2f7e84",
"type": "set",
- "name": "set tmp variables for notif neigbor input parms",
- "xml": "<set>\n<parameter name=\"tmp.nbr.plmnid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"tmp.nbr.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"tmp.nbr.phy-cell-id\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"tmp.nbr.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"tmp.nbr.blacklisted\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2574.749885559082,
+ "y": 2380.9446816444397,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "75b5b3c7.3a963c",
+ "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": 1129,
- "y": 194.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 2574.7495880126953,
+ "y": 2425.750072479248,
+ "z": "da62f736.168268",
"wires": []
},
{
- "id": "307d8f82.8592a",
+ "id": "f1003da4.9703c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2410.749954223633,
+ "y": 2436.750011444092,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "337d2d70.5e45a2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2246.7499389648438,
+ "y": 2430.750072479248,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "f1003da4.9703c"
+ ]
+ ]
+ },
+ {
+ "id": "7314c963.605c68",
+ "type": "execute",
+ "name": "Update RRMPolicy for gNBCUCP in ConfigDB",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removeRRMPolicyMember-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"remove-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": 1945.75,
+ "y": 2563.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "90150da1.697df",
+ "dbce7c71.c3c3a"
+ ]
+ ]
+ },
+ {
+ "id": "90150da1.697df",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2243.75,
+ "y": 2513.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "87555999.94c5c8"
+ ]
+ ]
+ },
+ {
+ "id": "dbce7c71.c3c3a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2243.75,
+ "y": 2623.749755859375,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "67c6fcad.1b3574"
+ ]
+ ]
+ },
+ {
+ "id": "87555999.94c5c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 864,
- "y": 268.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 2446.75,
+ "y": 2510.75,
+ "z": "da62f736.168268",
"wires": [
[
- "c0f7c9f8.98e818",
- "fa22a415.571198",
- "6f4fe94a.b1ffa8",
- "49fbbbb9.e37cd4"
+ "eea3df6d.b73c1",
+ "df244507.9f78b8",
+ "80ea1426.fb74e8"
]
]
},
{
- "id": "fa22a415.571198",
+ "id": "df244507.9f78b8",
+ "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": 2612.749755859375,
+ "y": 2476.75,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "eea3df6d.b73c1",
+ "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": 2617.7496337890625,
+ "y": 2571.7500610351562,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "67c6fcad.1b3574",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2424.75,
+ "y": 2617.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "5b69f3a4.bdbf9c"
+ ]
+ ]
+ },
+ {
+ "id": "5b69f3a4.bdbf9c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU RRMPolicyRatio \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2590.75,
+ "y": 2618.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e30d97bf.620048",
+ "type": "block",
+ "name": "Process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 537.75,
+ "y": 1457.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "e740dcbe.62887",
+ "a339374f.45c368",
+ "2c0eccd1.c1fb94"
+ ]
+ ]
+ },
+ {
+ "id": "e740dcbe.62887",
"type": "execute",
- "name": "generate configdb add URL for nbr",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
+ "name": "read CUUP list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1127,
- "y": 240.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 868.75,
+ "y": 1467.75,
+ "z": "da62f736.168268",
"wires": [
[]
]
},
{
- "id": "6f4fe94a.b1ffa8",
+ "id": "a339374f.45c368",
"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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 840.75,
+ "y": 1532.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2c0eccd1.c1fb94",
+ "type": "for",
+ "name": "foreach CUUP",
+ "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 868.75,
+ "y": 1607.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "2c461d47.b6fc72"
+ ]
+ ]
+ },
+ {
+ "id": "2c461d47.b6fc72",
+ "type": "block",
+ "name": "block : process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1089.75,
+ "y": 1614.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "18305831.d8e2b8",
+ "14036e41.d65ea2",
+ "f20be07.17fc12",
+ "3cfc8050.81beb"
+ ]
+ ]
+ },
+ {
+ "id": "18305831.d8e2b8",
+ "type": "execute",
+ "name": "read CUUP id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1122,
- "y": 289.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 1323.75,
+ "y": 1448.75,
+ "z": "da62f736.168268",
"wires": [
[]
]
},
{
- "id": "49fbbbb9.e37cd4",
+ "id": "14036e41.d65ea2",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 1319.75,
+ "y": 1502.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f20be07.17fc12",
"type": "execute",
- "name": "Add neighbor to Cell",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "name": "read plmninfolist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1370.75,
+ "y": 1567.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3cfc8050.81beb",
+ "type": "for",
+ "name": "foreach pLMNInfo",
+ "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1356.75,
+ "y": 1622.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "d2fce7e.daa3d18"
+ ]
+ ]
+ },
+ {
+ "id": "d2fce7e.daa3d18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1093,
- "y": 367.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 1322.75,
+ "y": 2698.75,
+ "z": "da62f736.168268",
"wires": [
[
- "e8bd439c.2947",
- "780d51b3.1fe4c"
+ "26b37e42.cb62c2",
+ "dcce991e.51fb68",
+ "8565a8c1.f117b8",
+ "3122b254.89dc0e",
+ "47f50986.613b18",
+ "cc4b3d1c.b7b28",
+ "410f131a.e8d5cc",
+ "d8d2f80.b434408",
+ "3e6164e6.889c1c",
+ "9f52b9d7.0cd2f8",
+ "26cf8ac7.b0c7f6",
+ "ecfda6cb.0dc9f8",
+ "ff979e6b.4c16e",
+ "45d93df6.d8a744",
+ "5537eaa4.099b64",
+ "3a0a4656.8f287a",
+ "550fad5.d572654"
]
]
},
{
- "id": "e8bd439c.2947",
+ "id": "1fdc0d32.1eff63",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1295,
- "y": 334.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 1952.7501525878906,
+ "y": 2898.7502393722534,
+ "z": "da62f736.168268",
"wires": [
[
- "3e77d15e.509e8e"
+ "3d8b1b51.39d874"
]
]
},
{
- "id": "780d51b3.1fe4c",
+ "id": "3d8b1b51.39d874",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2129.750274658203,
+ "y": 2887.750117301941,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "559fa3a0.b9869c",
+ "b8136934.d0c978",
+ "80ea1426.fb74e8"
+ ]
+ ]
+ },
+ {
+ "id": "b8136934.d0c978",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2394.750289916992,
+ "y": 2857.750524520874,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "559fa3a0.b9869c",
+ "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 removing CUUP PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2388.750289916992,
+ "y": 2898.750524520874,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "a873648c.573e28",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - gNBCUUP PLMNInfo Entry\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2279.749725341797,
+ "y": 2970.7502393722534,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4dcb6361.01e9bc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2126.750030517578,
+ "y": 2970.7499952316284,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "a873648c.573e28"
+ ]
+ ]
+ },
+ {
+ "id": "f316122d.69b8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1287.999891281128,
- "y": 413.98949909210205,
- "z": "f630c4e8.64d488",
+ "x": 1946.7500305175781,
+ "y": 2965.750178337097,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "4dcb6361.01e9bc"
+ ]
+ ]
+ },
+ {
+ "id": "b4bbd615.193438",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2064.750015258789,
+ "y": 2698.750400543213,
+ "z": "da62f736.168268",
"wires": [
[
- "ec0f9390.bc092"
+ "f563292.e8546d8",
+ "809d4e77.6150b"
]
]
},
{
- "id": "3e77d15e.509e8e",
+ "id": "f563292.e8546d8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2335.750015258789,
+ "y": 2677.750099182129,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "86d73812.b12f28"
+ ]
+ ]
+ },
+ {
+ "id": "809d4e77.6150b",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2323.750015258789,
+ "y": 2779.750343322754,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "f5886e6b.6deba"
+ ]
+ ]
+ },
+ {
+ "id": "86d73812.b12f28",
+ "type": "execute",
+ "name": "generate terminate PLMNInfoListEntry CUUP URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2655.750015258789,
+ "y": 2692.750343322754,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "26b37e42.cb62c2",
+ "type": "execute",
+ "name": "prepare idGNBCUUPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1654.749984741211,
+ "y": 2721.7500343322754,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "756aabaa.a810d4",
+ "type": "set",
+ "name": "RRMPolicyRatio id",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />",
+ "comments": "",
+ "x": 2512.5279083251953,
+ "y": 2111.749927520752,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "dcce991e.51fb68",
+ "type": "set",
+ "name": "Calculate RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
+ "comments": "",
+ "x": 1623.7502136230469,
+ "y": 2968.750494003296,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "8565a8c1.f117b8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 1569.7502059936523,
+ "y": 3040.750497817993,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3122b254.89dc0e",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1580.75,
+ "y": 3115.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "80de3869.b21368",
+ "dd4e6136.8f68f"
+ ]
+ ]
+ },
+ {
+ "id": "80de3869.b21368",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1758.75,
+ "y": 3082.749755859375,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "5ffeb69.0073248"
+ ]
+ ]
+ },
+ {
+ "id": "5ffeb69.0073248",
+ "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": 2053.750030517578,
+ "y": 3028.7500562667847,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "47f50986.613b18",
+ "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": 1617.7500839233398,
+ "y": 3170.7500133514404,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cc4b3d1c.b7b28",
+ "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": 1613.7502517700195,
+ "y": 3227.7500143051147,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "38ac6d66.eb8bb2",
+ "f36285fe.091f58"
+ ]
+ ]
+ },
+ {
+ "id": "38ac6d66.eb8bb2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1863.7500953674316,
+ "y": 3217.750178337097,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "b978449b.8564e8"
+ ]
+ ]
+ },
+ {
+ "id": "b978449b.8564e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2024.750244140625,
+ "y": 3236.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "d8c014b9.fdde68",
+ "3d535d79.d11522",
+ "80ea1426.fb74e8"
+ ]
+ ]
+ },
+ {
+ "id": "3d535d79.d11522",
+ "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": 2190.75,
+ "y": 3202.75,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "d8c014b9.fdde68",
+ "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": 2240.749801635742,
+ "y": 3257.7499828338623,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "5fa9cd75.1642c4",
+ "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": 2238.7500762939453,
+ "y": 3343.750470638275,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "32e5c16b.e5d03e",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2219.7498626708984,
+ "y": 3300.7502269744873,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3f7902a5.2af71e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2022.7499542236328,
+ "y": 3282.750409603119,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "32e5c16b.e5d03e",
+ "5fa9cd75.1642c4"
+ ]
+ ]
+ },
+ {
+ "id": "f36285fe.091f58",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1864.7501678466797,
+ "y": 3272.7502875328064,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "3f7902a5.2af71e"
+ ]
+ ]
+ },
+ {
+ "id": "410f131a.e8d5cc",
+ "type": "execute",
+ "name": "read rrmpolicyratio list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_CUUP_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length '`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1601.7501068115234,
+ "y": 3270.7499828338623,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d8d2f80.b434408",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1539.7501983642578,
+ "y": 3314.7500438690186,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3e6164e6.889c1c",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1581.4166412353516,
+ "y": 3365.0835399627686,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "4d9b86f.66fa578"
+ ]
+ ]
+ },
+ {
+ "id": "4d9b86f.66fa578",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1780.4166793823242,
+ "y": 3391.083480834961,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "ce038fe2.e456",
+ "519ec736.4a1068",
+ "dd39b21f.bbf38",
+ "8e54b571.b9af88",
+ "5ca1f89e.93f5d8",
+ "eda4c4e8.16ea58",
+ "a13823ad.65203",
+ "5f652628.9468d8"
+ ]
+ ]
+ },
+ {
+ "id": "4ab04fee.b55ac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2576.4165573120117,
+ "y": 3625.083728790283,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "341834f5.774cfc"
+ ]
+ ]
+ },
+ {
+ "id": "341834f5.774cfc",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - CUUP RRMpolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2770.4167098999023,
+ "y": 3655.0835456848145,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eb6b252b.9b57a8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2836.416528701782,
+ "y": 3712.083423137665,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "d2c89e1b.a4f7e",
+ "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 removing RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2851.416648864746,
+ "y": 3760.083423137665,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "175e405e.e470d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2573.41707611084,
+ "y": 3687.0833625793457,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "d2c89e1b.a4f7e",
+ "eb6b252b.9b57a8"
+ ]
+ ]
+ },
+ {
+ "id": "635ad14e.3580b",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2352.41658782959,
+ "y": 3664.0833621025085,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "175e405e.e470d"
+ ]
+ ]
+ },
+ {
+ "id": "9f52b9d7.0cd2f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1536.0834197998047,
+ "y": 3823.4168615341187,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "ac9e50a1.7fede",
+ "ab5e7689.f41358",
+ "3b93f05.3eb1b1",
+ "9a1ff089.a405b"
+ ]
+ ]
+ },
+ {
+ "id": "ac9e50a1.7fede",
+ "type": "execute",
+ "name": "Update gNBCUUP in ConfigDB",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updategNBCUUP.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1869.0833740234375,
+ "y": 3824.416748046875,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "5d9840dd.4bc88",
+ "8d0eecf8.83f93"
+ ]
+ ]
+ },
+ {
+ "id": "5d9840dd.4bc88",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2156.0833740234375,
+ "y": 3795.4169921875,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "6c01dce1.f97fe4"
+ ]
+ ]
+ },
+ {
+ "id": "8d0eecf8.83f93",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2105.0833740234375,
+ "y": 3896.416748046875,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "91bdfe82.c4b79"
+ ]
+ ]
+ },
+ {
+ "id": "91bdfe82.c4b79",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1455.9998779296875,
- "y": 291.98962020874023,
- "z": "f630c4e8.64d488",
+ "x": 2227.0832443237305,
+ "y": 3943.416739463806,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "b718f495.923768"
+ ]
+ ]
+ },
+ {
+ "id": "6c01dce1.f97fe4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2348.0833740234375,
+ "y": 3911.416748046875,
+ "z": "da62f736.168268",
"wires": [
[
- "1a2c5cb9.93d263"
+ "bb2286c0.bc6398",
+ "19e6162c.9ede7a",
+ "80ea1426.fb74e8"
]
]
},
{
- "id": "1a2c5cb9.93d263",
+ "id": "b718f495.923768",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2367.0834884643555,
+ "y": 3947.4168004989624,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bb2286c0.bc6398",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding neighbor to configdb. Aborting notification update\" />",
+ "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": 2519.0830078125,
+ "y": 3972.4168090820312,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "19e6162c.9ede7a",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1634.999568939209,
- "y": 288.9895877838135,
- "z": "f630c4e8.64d488",
+ "x": 2514.0831756591797,
+ "y": 3879.416736602783,
+ "z": "da62f736.168268",
"wires": []
},
{
- "id": "ec0f9390.bc092",
+ "id": "5171c1e8.188f1",
+ "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": 2557.0831756591797,
+ "y": 4023.416736602783,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "e3510d57.aaac7",
+ "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": 2562.083053588867,
+ "y": 4118.416797637939,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "f269ec80.a0884",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2391.0834197998047,
+ "y": 4057.416736602783,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "e3510d57.aaac7",
+ "5171c1e8.188f1",
+ "80ea1426.fb74e8"
+ ]
+ ]
+ },
+ {
+ "id": "72f84ec8.0e571",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - CUUP RRMPolicyRatio \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2535.0834197998047,
+ "y": 4165.416736602783,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5a9ef1b4.c3885",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1445.9996337890625,
- "y": 379.989559173584,
- "z": "f630c4e8.64d488",
+ "x": 2369.0834197998047,
+ "y": 4164.416736602783,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "72f84ec8.0e571"
+ ]
+ ]
+ },
+ {
+ "id": "5e2714ed.25585c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2188.0834197998047,
+ "y": 4170.416492462158,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "5a9ef1b4.c3885"
+ ]
+ ]
+ },
+ {
+ "id": "b1b6ad6a.6cde4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2188.0834197998047,
+ "y": 4060.416736602783,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "f269ec80.a0884"
+ ]
+ ]
+ },
+ {
+ "id": "ab5e7689.f41358",
+ "type": "execute",
+ "name": "Update RRMPolicy for gNBCUUP in ConfigDB",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removeRRMPolicy-CUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-gNBCUUP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1887.583511352539,
+ "y": 4094.1669845581055,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "b1b6ad6a.6cde4",
+ "5e2714ed.25585c"
+ ]
+ ]
+ },
+ {
+ "id": "c27385b1.743288",
+ "type": "block",
+ "name": "Process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 900.5001754760742,
+ "y": 4095.5007286071777,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "d44b3b7a.f9ae88",
+ "f2a985c9.2fb6c8",
+ "20dcee0d.5baaf2"
+ ]
+ ]
+ },
+ {
+ "id": "d44b3b7a.f9ae88",
+ "type": "execute",
+ "name": "read DUlist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1229.5001754760742,
+ "y": 4126.500728607178,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f2a985c9.2fb6c8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 1187.5001602172852,
+ "y": 4187.500728607178,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "20dcee0d.5baaf2",
+ "type": "for",
+ "name": "foreach DU",
+ "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1199.5002059936523,
+ "y": 4257.500728607178,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "58ad1116.577ab"
+ ]
+ ]
+ },
+ {
+ "id": "58ad1116.577ab",
+ "type": "block",
+ "name": "block : process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1480.5001754760742,
+ "y": 4258.5006980896,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "1a7dbcc4.fe8223",
+ "37b7f8eb.9730a8",
+ "d16e57f9.769c18",
+ "6fcc7512.bb863c"
+ ]
+ ]
+ },
+ {
+ "id": "1a7dbcc4.fe8223",
+ "type": "execute",
+ "name": "read DU id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1759.5,
+ "y": 4254.5,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "37b7f8eb.9730a8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1732.5,
+ "y": 4305.5,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d16e57f9.769c18",
+ "type": "execute",
+ "name": "read cellDU list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1773.5,
+ "y": 4354.5,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6fcc7512.bb863c",
+ "type": "for",
+ "name": "for cellDUList",
+ "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1763.5,
+ "y": 4398.5,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "20dcb9bd.e2a956",
+ "4acc0f7.2614af"
+ ]
+ ]
+ },
+ {
+ "id": "72b1fbfe.4fa0d4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2790.25,
+ "y": 4452.5,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "8f979011.b6e6b",
+ "1b1d715f.a2381f",
+ "f4a73761.2d9c48",
+ "47f75bf6.11a604",
+ "eb68c446.256e38",
+ "5f2b45e8.09ecfc",
+ "62ef4996.4a7668",
+ "da885498.297d28",
+ "5d56bd5.d8dea44",
+ "6ecbc131.24be5",
+ "ffa45991.9c2558",
+ "4b70a51a.898acc"
+ ]
+ ]
+ },
+ {
+ "id": "da885498.297d28",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 2985.25,
+ "y": 4447.5,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "62ef4996.4a7668",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3013.25,
+ "y": 4515.5,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "69e311a3.9ebdf",
+ "b5f8b77e.33dce8"
+ ]
+ ]
+ },
+ {
+ "id": "69e311a3.9ebdf",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3221.25,
+ "y": 4480.499755859375,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "32cc5bde.7c59e4"
+ ]
+ ]
+ },
+ {
+ "id": "b5f8b77e.33dce8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3216.2500495910645,
+ "y": 4549.500324249268,
+ "z": "da62f736.168268",
"wires": [
[
- "81cf5fd.7666fa"
+ "f5bc4d2b.f7391"
]
]
},
{
- "id": "81cf5fd.7666fa",
+ "id": "32cc5bde.7c59e4",
+ "type": "execute",
+ "name": "generate terminate PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3541.25,
+ "y": 4495.5,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8f979011.b6e6b",
+ "type": "execute",
+ "name": "read cellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3010.2501525878906,
+ "y": 4603.500244140625,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "47f75bf6.11a604",
+ "type": "execute",
+ "name": "prepare idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3065.250213623047,
+ "y": 4668.500182151794,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eb68c446.256e38",
+ "type": "execute",
+ "name": "prepare idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3038.2503967285156,
+ "y": 4723.500184059143,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f2b45e8.09ecfc",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 3023.250198364258,
+ "y": 4767.750683307648,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1b1d715f.a2381f",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3024.000442504883,
+ "y": 4812.000257492065,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f4a73761.2d9c48",
+ "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/terminateRANSlice.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.sNSSAI`\"/>\n<parameter name=\"field8\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3025.249969482422,
+ "y": 4912.50061416626,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5d56bd5.d8dea44",
+ "type": "execute",
+ "name": "terminate PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3082.25,
+ "y": 4987.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "de2f338a.d2994",
+ "1ea231e0.81896e"
+ ]
+ ]
+ },
+ {
+ "id": "1ea231e0.81896e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3349.25,
+ "y": 4887.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "988fbcb0.6d2d6"
+ ]
+ ]
+ },
+ {
+ "id": "de2f338a.d2994",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3348.25,
+ "y": 4986.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "67267243.a6959c"
+ ]
+ ]
+ },
+ {
+ "id": "988fbcb0.6d2d6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3507.250244140625,
+ "y": 4835.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "36c4ff38.15923",
+ "c0468079.cd9c5",
+ "80ea1426.fb74e8"
+ ]
+ ]
+ },
+ {
+ "id": "67267243.a6959c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3516.25,
+ "y": 4983.750002622604,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "ca44f06c.103db"
+ ]
+ ]
+ },
+ {
+ "id": "ca44f06c.103db",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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 deleted - cellDU PLMNInfo List\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3662.2498779296875,
+ "y": 4982.750244140625,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "36c4ff38.15923",
+ "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 deleting NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3678.2498779296875,
+ "y": 4896.750061035156,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "c0468079.cd9c5",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error deleting cellDU PLMNInfoList. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3673.25,
+ "y": 4801.75,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "6ecbc131.24be5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2883.5,
+ "y": 5260.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "8c1f5d.018670a",
+ "d38412c4.b750b",
+ "7ebb67d7.e11a28",
+ "319beb3a.17f564",
+ "85944896.465108",
+ "d39913b1.553fb",
+ "d494c905.5edd58",
+ "d4e37be0.db9d78"
+ ]
+ ]
+ },
+ {
+ "id": "8c1f5d.018670a",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3105.5,
+ "y": 5166.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "f751f532.34e6f8",
+ "bfaa39dc.757718"
+ ]
+ ]
+ },
+ {
+ "id": "f751f532.34e6f8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3288.5002365112305,
+ "y": 5104.7503299713135,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "4690d563.53f8dc"
+ ]
+ ]
+ },
+ {
+ "id": "4690d563.53f8dc",
+ "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": 3588.5001068115234,
+ "y": 5105.750452041626,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d38412c4.b750b",
+ "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": 3140.5,
+ "y": 5238.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7ebb67d7.e11a28",
+ "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": 3105.5,
+ "y": 5290.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "319beb3a.17f564",
+ "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": 3140.5,
+ "y": 5365.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "33a3a8f9.d26368",
+ "65e9c8d0.3d2a68"
+ ]
+ ]
+ },
+ {
+ "id": "33a3a8f9.d26368",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3387.5,
+ "y": 5338.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "ca92b939.e751a8"
+ ]
+ ]
+ },
+ {
+ "id": "65e9c8d0.3d2a68",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3391.5,
+ "y": 5417.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "bc0581a1.c009b"
+ ]
+ ]
+ },
+ {
+ "id": "ca92b939.e751a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3545.500244140625,
+ "y": 5286.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "5e52674c.f49888",
+ "32e9d73b.f2f8a8",
+ "80ea1426.fb74e8"
+ ]
+ ]
+ },
+ {
+ "id": "32e9d73b.f2f8a8",
+ "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": 3711.5,
+ "y": 5252.75,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "5e52674c.f49888",
+ "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": 3716.4998779296875,
+ "y": 5347.750061035156,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "bc0581a1.c009b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3536.750213623047,
+ "y": 5352.500155448914,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "41e8ef48.3d086",
+ "8e9932e7.59ac9"
+ ]
+ ]
+ },
+ {
+ "id": "41e8ef48.3d086",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3703.000274658203,
+ "y": 5392.500154495239,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8e9932e7.59ac9",
+ "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": 3705.5005226135254,
+ "y": 5428.000034332275,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "85944896.465108",
+ "type": "execute",
+ "name": "read rrmpolicyratio list size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length '`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 3119.5,
+ "y": 5419.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d39913b1.553fb",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.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": 3059.5,
+ "y": 5473.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d494c905.5edd58",
+ "type": "block",
+ "name": "rrmPolicyDedicatedRatio",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3664.5000381469727,
+ "y": 5050.750089645386,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "f79d7ff8.a240b",
+ "d3265604.69a8f8",
+ "55db54a6.573fec",
+ "5a2807b7.758d38",
+ "1bfbc1d.981203e",
+ "b6f94bdb.26c228",
+ "96c4e243.6dd73",
+ "5b8d9ef8.04c1",
+ "4f528104.e7e38",
+ "9cf9a3b.174fc6",
+ "d8f7c33c.fcfed"
+ ]
+ ]
+ },
+ {
+ "id": "55db54a6.573fec",
+ "type": "set",
+ "name": "Calculate RRM Parms1",
+ "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 4108.489807128906,
+ "y": 4831.072752952576,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "5a2807b7.758d38",
+ "type": "set",
+ "name": "Calculate RRM Parms2",
+ "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 4117.031066894531,
+ "y": 4876.092772424221,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "1bfbc1d.981203e",
+ "type": "set",
+ "name": "Calculate RRM Parms3",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
+ "comments": "",
+ "x": 4107.031188964844,
+ "y": 4931.0926503539085,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "b6f94bdb.26c228",
+ "type": "set",
+ "name": "Calculate RRM Parms4",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
+ "comments": "",
+ "x": 4107.031066894531,
+ "y": 4982.092650413513,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "96c4e243.6dd73",
+ "type": "set",
+ "name": "Calculate RRM Parms5",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
+ "comments": "",
+ "x": 4095.0311889648438,
+ "y": 5042.092772424221,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "5b8d9ef8.04c1",
+ "type": "set",
+ "name": "Calculate RRM Parms6",
+ "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
+ "comments": "",
+ "x": 4133.031066894531,
+ "y": 5092.092772424221,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "4f528104.e7e38",
+ "type": "set",
+ "name": "Calculate RRM Parms7",
+ "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
+ "comments": "",
+ "x": 4120.031005859375,
+ "y": 5162.093138694763,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "9cf9a3b.174fc6",
+ "type": "set",
+ "name": "calculation8",
+ "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
+ "comments": "",
+ "x": 4091.031005859375,
+ "y": 5226.092162132263,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "d8f7c33c.fcfed",
+ "type": "set",
+ "name": "calculation9",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
+ "comments": "",
+ "x": 4079.0315551757812,
+ "y": 5277.092040061951,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "d3265604.69a8f8",
+ "type": "set",
+ "name": "calculation10",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
+ "comments": "",
+ "x": 4054.4898681640625,
+ "y": 5343.072508811951,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "f79d7ff8.a240b",
+ "type": "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": 3880.4997940063477,
+ "y": 5355.193815231323,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d4e37be0.db9d78",
+ "type": "for",
+ "name": "for each rrmpolicyratio",
+ "xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3100.75,
+ "y": 5544.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "a71eb109.1a2a8"
+ ]
+ ]
+ },
+ {
+ "id": "a71eb109.1a2a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3321.75,
+ "y": 5564.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "f7c7de35.f6dd",
+ "478d81fe.50e29",
+ "e85c75c9.5a5208",
+ "734b37a6.ac7cf8",
+ "3c1e8267.b4f8fe",
+ "2fdf003a.ff7bd",
+ "ee315155.36298",
+ "778a736d.50fb1c"
+ ]
+ ]
+ },
+ {
+ "id": "f7c7de35.f6dd",
+ "type": "set",
+ "name": "RRMPolicyRatio id",
+ "xml": "<set>\n<parameter name='tmp.cellDURRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />",
+ "comments": "",
+ "x": 3598.7501525878906,
+ "y": 5468.250279426575,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "78448d12.dce7b4",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3915.750160217285,
+ "y": 5767.000280380249,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "9d9a69ac.9255f8"
+ ]
+ ]
+ },
+ {
+ "id": "9d9a69ac.9255f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4108.000228881836,
+ "y": 5780.750280380249,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "a8a9b00f.39d7"
+ ]
+ ]
+ },
+ {
+ "id": "a8a9b00f.39d7",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor Added to ConfigDB \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - cellDU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 1624.9997024536133,
- "y": 378.98954582214355,
- "z": "f630c4e8.64d488",
+ "x": 4305.500595092773,
+ "y": 5771.75004196167,
+ "z": "da62f736.168268",
"wires": [
[]
]
},
{
- "id": "b33ddeae.aa57b",
+ "id": "dd7413d3.b5b8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing cellDU RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4373.75,
+ "y": 5799.749771118164,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "7c47cc13.b86254",
+ "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 removing RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4378.7498779296875,
+ "y": 5894.74983215332,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "8017e442.c8be18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4133.750244140625,
+ "y": 5848.749771118164,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "7c47cc13.b86254",
+ "dd7413d3.b5b8",
+ "80ea1426.fb74e8"
+ ]
+ ]
+ },
+ {
+ "id": "b77e4296.a4ab5",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3914.75,
+ "y": 5843.749771118164,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "8017e442.c8be18"
+ ]
+ ]
+ },
+ {
+ "id": "ffa45991.9c2558",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2836.2500915527344,
+ "y": 5848.75009727478,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "d4b0d139.012c",
+ "1321a256.82504e",
+ "59b4ea74.9d06d4",
+ "6b7c5e5f.28631"
+ ]
+ ]
+ },
+ {
+ "id": "d4b0d139.012c",
"type": "execute",
- "name": "execute DmaapMsg",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.CMNotify-dmaap.nbrlist-change.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />",
+ "name": "Update cellDU for gNBDU in ConfigDB",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removegNBDU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-gNBDU-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3221.7505073547363,
+ "y": 5950.500043869019,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "2eaf880c.477aa8",
+ "2a7ba3a1.9e937c"
+ ]
+ ]
+ },
+ {
+ "id": "2eaf880c.477aa8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3555.000087738037,
+ "y": 5931.501020431519,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "1ae15191.d7ec1e"
+ ]
+ ]
+ },
+ {
+ "id": "2a7ba3a1.9e937c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3486.500270843506,
+ "y": 6018.750165939331,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "f8e3fdf8.76c46"
+ ]
+ ]
+ },
+ {
+ "id": "f8e3fdf8.76c46",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 3621.249984741211,
+ "y": 6009.750061035156,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "fafaca02.b0f628"
+ ]
+ ]
+ },
+ {
+ "id": "1ae15191.d7ec1e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 665.5,
- "y": 506.07290267944336,
- "z": "f630c4e8.64d488",
+ "x": 3778.25,
+ "y": 5943.75,
+ "z": "da62f736.168268",
"wires": [
[
- "5682184.0ed98e8",
- "116d5ac8.a491a5"
+ "de84c38a.81b01",
+ "e14e1e06.b838b",
+ "80ea1426.fb74e8"
]
]
},
{
- "id": "77dfbd9a.85b724",
+ "id": "e14e1e06.b838b",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap.requestID' value='`$prop.CMNotify-dmaap.requestID`'/>\n<parameter name='tmp.oofpcipoc-dmaap.aai' value=\"`$prop.CMNotify-dmaap.aai`\"/>\n<parameter name='tmp.oofpcipoc-dmaap.version' value='`$prop.CMNotify-dmaap.version`'/>\n<parameter name='tmp.oofpcipoc-dmaap.action' value='`$prop.CMNotify-dmaap.action`'/>\n<parameter name='tmp.oofpcipoc-dmaap.payload' value='`$nbrlist-change-notification-input.payload`'/>",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellDU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3944.249801635742,
+ "y": 5911.749988555908,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "fafaca02.b0f628",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3785.25,
+ "y": 6015.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "de84c38a.81b01",
+ "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": 3949.2496337890625,
+ "y": 6004.750061035156,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "d8c801f9.936cf",
+ "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": 3987.249801635742,
+ "y": 6055.749988555908,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "ca66d998.89cb18",
+ "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": 660.166748046875,
- "y": 412.07290267944336,
- "z": "f630c4e8.64d488",
+ "x": 3992.2496795654297,
+ "y": 6150.750049591064,
+ "z": "da62f736.168268",
"wires": []
},
{
- "id": "5682184.0ed98e8",
+ "id": "d169c987.bcc738",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3821.250045776367,
+ "y": 6089.749988555908,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "ca66d998.89cb18",
+ "d8c801f9.936cf",
+ "80ea1426.fb74e8"
+ ]
+ ]
+ },
+ {
+ "id": "e882cfe7.3321c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 861,
- "y": 445.9895896911621,
- "z": "f630c4e8.64d488",
+ "x": 3618.250045776367,
+ "y": 6092.749988555908,
+ "z": "da62f736.168268",
"wires": [
[
- "feddd5d5.b26b48"
+ "d169c987.bcc738"
]
]
},
{
- "id": "116d5ac8.a491a5",
+ "id": "1321a256.82504e",
+ "type": "execute",
+ "name": "Update RRMPolicy for gNBDU in ConfigDB",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removeRRMPolicy-DU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-gNBDU-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3189.0001525878906,
+ "y": 6177.750418186188,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "e882cfe7.3321c",
+ "4c10d770.1b7d38"
+ ]
+ ]
+ },
+ {
+ "id": "4c10d770.1b7d38",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 846.9998779296875,
- "y": 579.9895286560059,
- "z": "f630c4e8.64d488",
+ "x": 3618.250045776367,
+ "y": 6202.749744415283,
+ "z": "da62f736.168268",
"wires": [
[
- "f00581ee.7161e"
+ "a31a93f8.b478"
]
]
},
{
- "id": "feddd5d5.b26b48",
+ "id": "a31a93f8.b478",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1051.9998779296875,
- "y": 475.98962020874023,
- "z": "f630c4e8.64d488",
+ "x": 3799.250045776367,
+ "y": 6196.749988555908,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "30cee1c0.58d61e"
+ ]
+ ]
+ },
+ {
+ "id": "30cee1c0.58d61e",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellDU RRMPolicyRatio \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3965.250045776367,
+ "y": 6197.749988555908,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "80ea1426.fb74e8",
+ "type": "block",
+ "name": "block : SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4458.234375,
+ "y": 2748.7500026226044,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "d5cfb8cc.005b08",
+ "cc239932.401b58",
+ "800fdb34.47dc38"
+ ]
+ ]
+ },
+ {
+ "id": "d5cfb8cc.005b08",
+ "type": "set",
+ "name": "set tmp variables for SO response",
+ "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$terminateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$terminateRANSlice-input.action`\"/>\n",
+ "comments": "",
+ "x": 5120.2353515625,
+ "y": 2540.6496608257294,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "cc239932.401b58",
+ "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": 5095.234237670898,
+ "y": 2637.7503383159637,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "800fdb34.47dc38",
+ "type": "execute",
+ "name": "Send to SO",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 5010.23424911499,
+ "y": 2734.7502162456512,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "a0207bd8.781f58",
+ "862de34c.7e795"
+ ]
+ ]
+ },
+ {
+ "id": "a0207bd8.781f58",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5236.234257698059,
+ "y": 2711.750185251236,
+ "z": "da62f736.168268",
"wires": [
[
- "f9e8e42c.b650c8"
+ "3e04c446.bef78c"
]
]
},
{
- "id": "f9e8e42c.b650c8",
+ "id": "862de34c.7e795",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5226.234111785889,
+ "y": 2819.750124692917,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "9ad7577a.1ae238"
+ ]
+ ]
+ },
+ {
+ "id": "9ad7577a.1ae238",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5376.233898162842,
+ "y": 2838.750185728073,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "af6c61d2.e5e9e"
+ ]
+ ]
+ },
+ {
+ "id": "3e04c446.bef78c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 5387.234127044678,
+ "y": 2706.7503073215485,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "78222dba.6bb794"
+ ]
+ ]
+ },
+ {
+ "id": "78222dba.6bb794",
"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 publishing DMAAP message. ConfigDB Updated; TO be rolled back...will handle next release\" />",
+ "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": 1230.999568939209,
- "y": 472.9895877838135,
- "z": "f630c4e8.64d488",
+ "x": 5553.233806610107,
+ "y": 2709.750124692917,
+ "z": "da62f736.168268",
"wires": []
},
{
- "id": "f00581ee.7161e",
+ "id": "af6c61d2.e5e9e",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 5540.233913421631,
+ "y": 2844.750124692917,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2e6295f3.2b018a",
+ "type": "block",
+ "name": "SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 540.234375,
+ "y": 4430.750002622604,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "23072140.00f5de",
+ "65b2eda9.1d4d94",
+ "92f41428.624cf8",
+ "3c620604.a4247a"
+ ]
+ ]
+ },
+ {
+ "id": "92f41428.624cf8",
+ "type": "set",
+ "name": "set tmp variables for SO response",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
+ "comments": "",
+ "x": 820.2355194091797,
+ "y": 4280.649487257004,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "23072140.00f5de",
+ "type": "record",
+ "name": "record SO reply parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 817.2343521118164,
+ "y": 4434.750185728073,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "65b2eda9.1d4d94",
+ "type": "execute",
+ "name": "Send to SO",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 686.2344512939453,
+ "y": 4551.749890089035,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "936a79ac.2bc278",
+ "a4da64a4.603d68"
+ ]
+ ]
+ },
+ {
+ "id": "936a79ac.2bc278",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 851.2344512939453,
+ "y": 4531.749889135361,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "86dab673.02efc8"
+ ]
+ ]
+ },
+ {
+ "id": "a4da64a4.603d68",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 843.2343444824219,
+ "y": 4604.749839544296,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "1b44685a.cd98d8"
+ ]
+ ]
+ },
+ {
+ "id": "1b44685a.cd98d8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1041.9996337890625,
- "y": 563.989559173584,
- "z": "f630c4e8.64d488",
+ "x": 989.234188079834,
+ "y": 4609.749948263168,
+ "z": "da62f736.168268",
"wires": [
[
- "2a523c48.546854"
+ "77500c56.740084"
]
]
},
{
- "id": "2a523c48.546854",
+ "id": "86dab673.02efc8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1000.2343521118164,
+ "y": 4527.750024557114,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "db7f3c8d.e7d95",
+ "4ac257ce.8f9fd8"
+ ]
+ ]
+ },
+ {
+ "id": "db7f3c8d.e7d95",
+ "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": 1147.2339706420898,
+ "y": 4538.749766111374,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "77500c56.740084",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Successfully Published \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1150.2341079711914,
+ "y": 4615.749840497971,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4ac257ce.8f9fd8",
+ "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": 1134.7445793151855,
+ "y": 4442.739257574081,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "3c620604.a4247a",
+ "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": 1220.9997024536133,
- "y": 562.9895458221436,
- "z": "f630c4e8.64d488",
+ "x": 839.573974609375,
+ "y": 4370.73533987999,
+ "z": "da62f736.168268",
"wires": [
[]
]
},
{
- "id": "283ddbe5.abd8f4",
+ "id": "531b3c4c.239274",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2241.75,
+ "y": 1745.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "8c76c7c6.931d78"
+ ]
+ ]
+ },
+ {
+ "id": "8c76c7c6.931d78",
"type": "block",
- "name": "block : Publish DMAAP Message",
+ "name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 416,
- "y": 449.98958587646484,
- "z": "f630c4e8.64d488",
+ "x": 2434.739658355713,
+ "y": 1745.7501220703125,
+ "z": "da62f736.168268",
"wires": [
[
- "77dfbd9a.85b724",
- "b33ddeae.aa57b"
+ "c6d79633.ad2cb8",
+ "e9a26b46.1c9d38"
]
]
},
{
- "id": "280fec55.9805a4",
+ "id": "c6d79633.ad2cb8",
+ "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": 2741.739845275879,
+ "y": 1712.75022315979,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e9a26b46.1c9d38",
+ "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": 2685.740245819092,
+ "y": 1765.7504167556763,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a0cd471f.d08e88",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2669.25,
+ "y": 1129.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "6a92e4ac.3bac4c",
+ "9f8ca3ae.27ca3"
+ ]
+ ]
+ },
+ {
+ "id": "9f8ca3ae.27ca3",
+ "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": 2920.250431060791,
+ "y": 1152.75013256073,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6a92e4ac.3bac4c",
+ "type": "execute",
+ "name": "generate TERMINATEPLMNInfoList.ToNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2976.250030517578,
+ "y": 1099.7499389648438,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "77ae3105.e86af",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2746.750015258789,
+ "y": 2794.750343322754,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b7978555.9f2568",
+ "type": "execute",
+ "name": "generate terminatePLMNInfoList.TogNBCUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2820.749725341797,
+ "y": 2743.7500972747803,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f5886e6b.6deba",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2500.7496795654297,
+ "y": 2781.7500886917114,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "b7978555.9f2568",
+ "77ae3105.e86af"
+ ]
+ ]
+ },
+ {
+ "id": "d8c60a0.19c8bf8",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1988.75,
+ "y": 3126.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "64569339.416cfc",
+ "222e8a98.c66cf6"
+ ]
+ ]
+ },
+ {
+ "id": "64569339.416cfc",
+ "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": 2290.7499351501465,
+ "y": 3086.7500610351562,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "222e8a98.c66cf6",
+ "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": 2234.7503356933594,
+ "y": 3139.7502546310425,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dd4e6136.8f68f",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1761.25,
+ "y": 3135.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "d8c60a0.19c8bf8"
+ ]
+ ]
+ },
+ {
+ "id": "f5bc4d2b.f7391",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3411.25,
+ "y": 4564.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "a516311b.ffaaf",
+ "3559c18d.38700e"
+ ]
+ ]
+ },
+ {
+ "id": "a516311b.ffaaf",
+ "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.terminateSNSSAIEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3718.250030517578,
+ "y": 4534.749938964844,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3559c18d.38700e",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3662.250431060791,
+ "y": 4587.75013256073,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bfaa39dc.757718",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3308,
+ "y": 5187.75,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "7b3e4fe4.20a77"
+ ]
+ ]
+ },
+ {
+ "id": "7b3e4fe4.20a77",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3475.000232696533,
+ "y": 5185.9995975494385,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "47dde507.4c04ec",
+ "4eb86ae5.690454"
+ ]
+ ]
+ },
+ {
+ "id": "47dde507.4c04ec",
+ "type": "execute",
+ "name": "generate getRRMPolicyRatio.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": 3722.0000495910645,
+ "y": 5152.9995975494385,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4eb86ae5.690454",
+ "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": 3665.0005378723145,
+ "y": 5213.999963760376,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4a14d590.3663ec",
"type": "comment",
- "name": "DMAAP Publish Not Reqd. Just a placeholder",
+ "name": "terminateRANSliceInstance/instantiateRANSliceModifyDeallocate",
"info": "",
"comments": "",
- "x": 380,
- "y": 503.98958587646484,
- "z": "f630c4e8.64d488",
+ "x": 764.0000286102295,
+ "y": 20,
+ "z": "da62f736.168268",
"wires": []
},
{
- "id": "3d43e8a.fae8d18",
+ "id": "d74945f1.537f58",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"Number of neigbors Changed/To Be Added #: \"/>\n<parameter name=\"field8\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$terminate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$terminate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$terminate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$terminate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$terminate-r-a-n-slice-input.payload`\"/>",
"comments": "",
"outputs": 1,
- "x": 815.0005493164062,
- "y": 42.9896354675293,
- "z": "f630c4e8.64d488",
+ "x": 594.2499923706055,
+ "y": 122.24998426437378,
+ "z": "da62f736.168268",
"wires": [
[]
]
},
{
- "id": "c74a3b00.dbe438",
+ "id": "1a07170f.9b8cb9",
+ "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 terminateRANSice RPC' />",
+ "comments": "",
+ "x": 643.2497482299805,
+ "y": 170.25000143051147,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "8d1aec81.1c96c",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='terminate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 643.2497482299805,
+ "y": 211.24995183944702,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "5594448d.f5e4ec"
+ ]
+ ]
+ },
+ {
+ "id": "a440f467.164788",
+ "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-terminateRANSlice-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 605.2497253417969,
+ "y": 255.23954343795776,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "535f16f4.b6d608",
+ "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": 625.2497100830078,
+ "y": 296.2499089241028,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "406ee76f.a28dd8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.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": 636.2497787475586,
+ "y": 365.99999046325684,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5594448d.f5e4ec",
+ "type": "other",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 928.4997406005859,
+ "y": 274.4999785423279,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "d7e6a184.602a7"
+ ]
+ ]
+ },
+ {
+ "id": "d7e6a184.602a7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1108.4999084472656,
+ "y": 268.4999785423279,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "2bb70554.5f8b9a",
+ "89346eeb.4233c",
+ "d7f994eb.1d62c8"
+ ]
+ ]
+ },
+ {
+ "id": "2bb70554.5f8b9a",
+ "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-terminateRANSlice-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1320.9999389648438,
+ "y": 267.4999835193157,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "89346eeb.4233c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfileId`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1317.749912261963,
+ "y": 309.0000104904175,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d7f994eb.1d62c8",
+ "type": "switchNode",
+ "name": "check action",
+ "xml": "<switch test='`$instantiate-r-a-n-slice-input.action`==deallocate'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1328.5003051757812,
+ "y": 202.74999809265137,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "cb26292c.0cd2c8",
+ "18173db6.ed0872"
+ ]
+ ]
+ },
+ {
+ "id": "cb26292c.0cd2c8",
+ "type": "success",
+ "name": "terminate",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1518.5000076293945,
+ "y": 233.50000524520874,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "e26b83fd.85f54"
+ ]
+ ]
+ },
+ {
+ "id": "e26b83fd.85f54",
+ "type": "execute",
+ "name": "read sNSSAI from input",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNSSAI' />\n\t<parameter name='source' value=\"`$payloadJson.input.NSSAI`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1786.7500076293945,
+ "y": 231.50001192092896,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "217e5011.465e6",
+ "type": "execute",
+ "name": "read sNSSAI from sliceProfile",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNSSAI' />\n\t<parameter name='source' value=\"`$payloadJson.input.sliceProfile.NSSAI`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1797.5000381469727,
+ "y": 300.50000047683716,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "18173db6.ed0872",
+ "type": "failure",
+ "name": "modify-deallocate",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1545.5000076293945,
+ "y": 304.50000047683716,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "217e5011.465e6"
+ ]
+ ]
+ },
+ {
+ "id": "331ef215.bbe70e",
+ "type": "execute",
+ "name": "get PLMNId URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfileId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 585.7499923706055,
+ "y": 617.2500238418579,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2bef0202.a1c14e",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 556.7500228881836,
+ "y": 679.0000486373901,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7a08dec6.783c6",
+ "type": "execute",
+ "name": "Get PLMN from Sliceprofile id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 621.7500076293945,
+ "y": 738.750002861023,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c50ddf2a.0f482",
+ "type": "execute",
+ "name": "read PLMN Id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`getPLMN-configdb-response.pLMNId`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 574.75,
+ "y": 796.7500514984131,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4a173bea.dab424",
+ "type": "execute",
+ "name": "find MCC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 568.0000076293945,
+ "y": 856.000114440918,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "418b9d9d.e0f1e4",
+ "type": "execute",
+ "name": "find MNC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 568.0000610351562,
+ "y": 906.9999923706055,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9a10e123.7e743",
+ "type": "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=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 564.9935302734375,
+ "y": 963.9935073852539,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e0692478.040118",
+ "type": "execute",
+ "name": "generate getNearRTRICById URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICById`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICById.url\"/>\n <parameter name=\"target\" value=\"{nearRTRICId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1041.7500762939453,
+ "y": 724.5000381469727,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c224bf70.f8698",
+ "type": "record",
+ "name": "record configdb RestAPI params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for NearRTRICId\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICById.url`\" />\n<parameter name='field3' value=\"`$nearRTRICId`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1037.7500305175781,
+ "y": 774.500114440918,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "feae2bb9.c89528",
+ "type": "execute",
+ "name": "Get nearRTRIC for nearRTRICId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICById.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNearRTRICById-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": 1036.7501373291016,
+ "y": 817.5002365112305,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "e88645a8.3117e8",
+ "735acccb.71f914"
+ ]
+ ]
+ },
+ {
+ "id": "e88645a8.3117e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1312.5,
+ "y": 814.5,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "61015ff6.5a356"
+ ]
+ ]
+ },
+ {
+ "id": "735acccb.71f914",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1306.5000457763672,
+ "y": 874.4999160766602,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "44fc6120.e168e"
+ ]
+ ]
+ },
+ {
+ "id": "61015ff6.5a356",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1482.1668853759766,
+ "y": 805.8334016799927,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "fa6281d0.77d53",
+ "80ea1426.fb74e8"
+ ]
+ ]
+ },
+ {
+ "id": "fa6281d0.77d53",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1686.499948501587,
+ "y": 766.6110763549805,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "5f8f298a.79e518",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNearRTRICById-configdb-response`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1699.499740600586,
+ "y": 820.5000152587891,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8b60105d.9075b",
+ "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-terminateRANSlice-configrsp-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1695.2778816223145,
+ "y": 891.5000228881836,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "44fc6120.e168e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1476.499942779541,
+ "y": 875.5000314712524,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "8b60105d.9075b",
+ "5f8f298a.79e518"
+ ]
+ ]
+ },
+ {
+ "id": "efb82a40.58c198",
+ "type": "execute",
+ "name": "remove sNSSAI from context",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$getNearRTRICById-configdb-response`\" />\n<parameter name=\"value\" value=\"`$getNearRTRICById-configdb-response.pLMNInfoList[0].sNSSAI.sNSSAI`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1023.3056182861328,
+ "y": 956.6945896148682,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "63802b92.24eaa4",
+ "type": "execute",
+ "name": "read PLMNList size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2079.277587890625,
+ "y": 743.22216796875,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bafc3e6d.cdf73",
+ "type": "set",
+ "name": "Read RRMPolicy Member List Length",
+ "xml": "<set>\n<parameter name='tmp.NRCellCURRMPolicyMembersLength' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />",
+ "comments": "",
+ "x": 2542.277618408203,
+ "y": 2150.0553970336914,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "71c76952.045908",
"type": "for",
- "name": "for",
- "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >",
+ "name": "for each rrmpolicyMember",
+ "xml": "<for index='idcu-rrm1' start='0' end='`$tmp.NRCellCURRMPolicyMembersLength`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2523.249801635742,
+ "y": 2192.8332600593567,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "60d29958.728538"
+ ]
+ ]
+ },
+ {
+ "id": "60d29958.728538",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2739.916603088379,
+ "y": 2188.944404602051,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "a8757573.18a648",
+ "dc93363f.a07058",
+ "999de8b3.682778",
+ "ca37691e.a8f2f8",
+ "73616042.242eb"
+ ]
+ ]
+ },
+ {
+ "id": "a8757573.18a648",
+ "type": "switchNode",
+ "name": "if length > 0 ",
+ "xml": "<switch test='`$tmp.NRCellCURRMPolicyMembersLeangth`>0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2889.083595275879,
+ "y": 2154.083083152771,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "2ebd17cd.068208",
+ "4f120937.7221b8"
+ ]
+ ]
+ },
+ {
+ "id": "2ebd17cd.068208",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 484.085693359375,
- "y": 115.95317459106445,
- "z": "f630c4e8.64d488",
+ "x": 3040.750011444092,
+ "y": 2129.6384811401367,
+ "z": "da62f736.168268",
"wires": [
[
- "898ea471.c49108"
+ "f6e50d.7c92caf"
]
]
},
{
- "id": "898ea471.c49108",
+ "id": "f6e50d.7c92caf",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 636,
- "y": 77.98958969116211,
- "z": "f630c4e8.64d488",
+ "x": 3207.4164695739746,
+ "y": 2129.638940811157,
+ "z": "da62f736.168268",
"wires": [
[
- "3d43e8a.fae8d18",
- "15326088.5383cf"
+ "9a545b68.a528b8"
]
]
},
{
- "id": "15326088.5383cf",
+ "id": "9a545b68.a528b8",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3055.194351196289,
+ "y": 2008.5276763439178,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "f87c06c5.c56f98",
+ "150946ef.2d4b89"
+ ]
+ ]
+ },
+ {
+ "id": "f87c06c5.c56f98",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3298.528091430664,
+ "y": 2024.4163551330566,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "92abe500.2af8e8"
+ ]
+ ]
+ },
+ {
+ "id": "150946ef.2d4b89",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3289.3716011047363,
+ "y": 2064.8606386184692,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "bfcddc71.1ead4"
+ ]
+ ]
+ },
+ {
+ "id": "92abe500.2af8e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3479.9165115356445,
+ "y": 2025.7499551773071,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "6cec7e83.a7b4a"
+ ]
+ ]
+ },
+ {
+ "id": "bfcddc71.1ead4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3471.027587890625,
+ "y": 2067.97199344635,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "7a1f7a9.f8d7a84",
+ "d3d30d71.6990e"
+ ]
+ ]
+ },
+ {
+ "id": "6cec7e83.a7b4a",
+ "type": "execute",
+ "name": "delete RRMPolicyRatio NRCellCU - URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3765.194221496582,
+ "y": 2022.9722328186035,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7a1f7a9.f8d7a84",
+ "type": "execute",
+ "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3776.3054809570312,
+ "y": 2066.305594444275,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d3d30d71.6990e",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3700.7497024536133,
+ "y": 2101.8610763549805,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4f120937.7221b8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3044.361053466797,
+ "y": 2182.9721145629883,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "89f52e2a.ded3"
+ ]
+ ]
+ },
+ {
+ "id": "89f52e2a.ded3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3230.0281372070312,
+ "y": 2171.3054332733154,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "52f28f28.d8a43",
+ "7deb574e.5b4c58"
+ ]
+ ]
+ },
+ {
+ "id": "52f28f28.d8a43",
+ "type": "set",
+ "name": "Read RRMPolicyMember-sNSSA",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].sNSSAI'`\" />",
+ "comments": "",
+ "x": 3522.417106628418,
+ "y": 2135.194746017456,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "7deb574e.5b4c58",
+ "type": "switchNode",
+ "name": "find matching RRMPolicyMember",
+ "xml": "<switch test='`$tmp.RRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3521.3055419921875,
+ "y": 2175.1942405700684,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "33cc883a.76c308"
+ ]
+ ]
+ },
+ {
+ "id": "33cc883a.76c308",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3752.138885498047,
+ "y": 2179.6386184692383,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "9c142fa4.cb9b6"
+ ]
+ ]
+ },
+ {
+ "id": "9c142fa4.cb9b6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3975.749725341797,
+ "y": 2176.3053665161133,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "c2abc7a3.b36fb8",
+ "9babc976.805408",
+ "dfa38a67.64c448"
+ ]
+ ]
+ },
+ {
+ "id": "c2abc7a3.b36fb8",
+ "type": "set",
+ "name": "Read RRMPolicyMember-id",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].idx'`\" />",
+ "comments": "",
+ "x": 4241.416458129883,
+ "y": 2144.0832529067993,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "e20de155.a2c4d",
+ "type": "execute",
+ "name": "generate deleteRRMPolicyMember.ToNRCellCU URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4770.860374450684,
+ "y": 2236.3054523468018,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9babc976.805408",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4198.638465881348,
+ "y": 2239.6389179229736,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "10644ed4.744fb1",
+ "7e6e7feb.c50cd"
+ ]
+ ]
+ },
+ {
+ "id": "10644ed4.744fb1",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4441.972526550293,
+ "y": 2238.860941886902,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "e20de155.a2c4d"
+ ]
+ ]
+ },
+ {
+ "id": "7e6e7feb.c50cd",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4432.815940856934,
+ "y": 2290.4163360595703,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "f875f1bd.3b7b3"
+ ]
+ ]
+ },
+ {
+ "id": "1e1626e1.1a2b59",
+ "type": "execute",
+ "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4900.027503967285,
+ "y": 2281.8613777160645,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "38fa3cb1.cbb0c4",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4820.0272216796875,
+ "y": 2340.7497940063477,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f875f1bd.3b7b3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4599.749794006348,
+ "y": 2287.9721698760986,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "1e1626e1.1a2b59",
+ "38fa3cb1.cbb0c4"
+ ]
+ ]
+ },
+ {
+ "id": "54cca329.31500c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2469.3609352111816,
+ "y": 2297.139139175415,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "14019172.5d29bf",
+ "type": "execute",
+ "name": "Terminate NRCellCU - RRMPolicyRatio",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellCU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2564.1387329101562,
+ "y": 2339.1389560699463,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "fd2b757b.cfa308",
+ "c1535c1f.fe413"
+ ]
+ ]
+ },
+ {
+ "id": "fd2b757b.cfa308",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2849.8888359069824,
+ "y": 2384.888925552368,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "8f4764cd.4ca168"
+ ]
+ ]
+ },
+ {
+ "id": "8f4764cd.4ca168",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3053.3888931274414,
+ "y": 2387.3889265060425,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "a3763fa2.90b7c"
+ ]
+ ]
+ },
+ {
+ "id": "a3763fa2.90b7c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Deleted - cellCU RRMpolicyRatio/RRMPolicyMember\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3280.8886528015137,
+ "y": 2294.6391382217407,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1d85be64.4c60b2",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Removing cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3294.138641357422,
+ "y": 2337.6388626098633,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "e3de62ba.7799a",
+ "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 removing NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3299.1385192871094,
+ "y": 2432.6389236450195,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "2d5293a6.e50e3c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3050.389320373535,
+ "y": 2439.138957977295,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "e3de62ba.7799a",
+ "1d85be64.4c60b2",
+ "80ea1426.fb74e8"
+ ]
+ ]
+ },
+ {
+ "id": "c1535c1f.fe413",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2845.1388359069824,
+ "y": 2424.138957977295,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "2d5293a6.e50e3c"
+ ]
+ ]
+ },
+ {
+ "id": "dfa38a67.64c448",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4193.076385498047,
+ "y": 2191.9652786254883,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1c8e5c05.e07c04",
+ "type": "execute",
+ "name": "prepare sNSSAI",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2244.638885498047,
+ "y": 1419.1527786254883,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dc93363f.a07058",
+ "type": "execute",
+ "name": "prepare idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3006.8265075683594,
+ "y": 2233.2153396606445,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "999de8b3.682778",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2979.326446533203,
+ "y": 2266.4653100967407,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ca37691e.a8f2f8",
+ "type": "execute",
+ "name": "prepare RRMPolicyRatio id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3002.764389038086,
+ "y": 2301.027841567993,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "73616042.242eb",
+ "type": "execute",
+ "name": "prepare RRMPolicyMember id",
+ "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=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3010.263946533203,
+ "y": 2336.777811050415,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d793dedd.b3828",
+ "type": "execute",
+ "name": "remove sNSSAI from context",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $idcu +'].pLMNInfoList'`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1894.6390228271484,
+ "y": 2159.1528367996216,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "affea016.689ae",
+ "type": "execute",
+ "name": "prepare updated PLMNInfo list",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.pLMNInfoList\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $idcu +'].pLMNInfoList'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1904.0138854980469,
+ "y": 2217.5902786254883,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "32462495.24865c",
+ "type": "execute",
+ "name": "read gNBIdLength",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBIdLength' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBIdLength'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 987.7638854980469,
+ "y": 908.2152767181396,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e8f8f0ea.977c8",
+ "type": "execute",
+ "name": "read NFType",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cucpNFType' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].nFType'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2271.513885498047,
+ "y": 1163.8402786254883,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "521d3d11.f4ead4",
+ "type": "execute",
+ "name": "read RRMPolicyMembers List",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellCURRMPolicyMembersList' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyMemberList'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1933.076675415039,
+ "y": 2399.465344429016,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd5eaeef.a91e3",
+ "type": "execute",
+ "name": "remove sNSSAI from context",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$tmp.NRCellCURRMPolicyMembersList`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1931.8265228271484,
+ "y": 2451.027844429016,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eaeb68eb.667d98",
+ "type": "execute",
+ "name": "prepare updated RRMPolicyMember list",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.CellCURRMMembersList\" value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyMemberList'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1939.9513854980469,
+ "y": 2503.5277786254883,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "26cf8ac7.b0c7f6",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI1' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1741.6391143798828,
+ "y": 2610.9725074768066,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ecfda6cb.0dc9f8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI1`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1596.6390838623047,
+ "y": 2645.9724464416504,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ff979e6b.4c16e",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI1 == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1615.5281219482422,
+ "y": 2681.5279273986816,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "4141bca5.15d954"
+ ]
+ ]
+ },
+ {
+ "id": "4141bca5.15d954",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1819.750015258789,
+ "y": 2688.750461578369,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "b4bbd615.193438"
+ ]
+ ]
+ },
+ {
+ "id": "45d93df6.d8a744",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1605.75,
+ "y": 2761.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5537eaa4.099b64",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1608.2501068115234,
+ "y": 2802.250461578369,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3a0a4656.8f287a",
+ "type": "execute",
+ "name": "prepare sNSSAI",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1615.8889923095703,
+ "y": 2845.4028663635254,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "550fad5.d572654",
+ "type": "execute",
+ "name": "terminate sNNSAI - CUUP",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deletePLMNInfo-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-sNSSAI-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1658.5000762939453,
+ "y": 2900.750036239624,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "1fdc0d32.1eff63",
+ "f316122d.69b8"
+ ]
+ ]
+ },
+ {
+ "id": "4fdeeb7.8dcdb14",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2362.416488647461,
+ "y": 3610.0839614868164,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "4ab04fee.b55ac"
+ ]
+ ]
+ },
+ {
+ "id": "ce038fe2.e456",
+ "type": "set",
+ "name": "Read RRMPolicy Member List Length",
+ "xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMembersLength' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList_length'`\" />",
+ "comments": "",
+ "x": 2060.75,
+ "y": 3385.75,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "519ec736.4a1068",
+ "type": "for",
+ "name": "for each rrmpolicyMember",
+ "xml": "<for index='idcu-rrm2' start='0' end='`$tmp.CUUPRRMPolicyMembersLength`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2041.722183227539,
+ "y": 3428.5278630256653,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "78b5a7ce.d88bd8"
+ ]
+ ]
+ },
+ {
+ "id": "78b5a7ce.d88bd8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2258.388984680176,
+ "y": 3424.6390075683594,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "cb64ebc4.d3da78",
+ "b353e2c5.e3c56",
+ "aafda300.bf6c3",
+ "9c0d0f0b.aa775"
+ ]
+ ]
+ },
+ {
+ "id": "cb64ebc4.d3da78",
+ "type": "switchNode",
+ "name": "if length > 0 ",
+ "xml": "<switch test='`$tmp.CUUPRRMPolicyMembersLength`>0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2407.555976867676,
+ "y": 3389.7776861190796,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "4fcc83f8.eb5fcc",
+ "7a00e337.23da3c"
+ ]
+ ]
+ },
+ {
+ "id": "4fcc83f8.eb5fcc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2559.2223930358887,
+ "y": 3365.3330841064453,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "20f96d49.8194f2"
+ ]
+ ]
+ },
+ {
+ "id": "20f96d49.8194f2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2725.8888511657715,
+ "y": 3365.333543777466,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "ee546d02.d513d"
+ ]
+ ]
+ },
+ {
+ "id": "ee546d02.d513d",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2573.666732788086,
+ "y": 3244.2222793102264,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "ec7b5045.bff37",
+ "ef4f4fda.d1981"
+ ]
+ ]
+ },
+ {
+ "id": "ec7b5045.bff37",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2817.000473022461,
+ "y": 3260.1109580993652,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "5e2abcba.df1a44"
+ ]
+ ]
+ },
+ {
+ "id": "ef4f4fda.d1981",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2807.843982696533,
+ "y": 3300.555241584778,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "b69bdc10.4653b"
+ ]
+ ]
+ },
+ {
+ "id": "5e2abcba.df1a44",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2998.3888931274414,
+ "y": 3261.4445581436157,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "f2f64a34.9bc798"
+ ]
+ ]
+ },
+ {
+ "id": "b69bdc10.4653b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2989.499969482422,
+ "y": 3303.6665964126587,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "420a580d.8dce18",
+ "a3442627.cd94b8"
+ ]
+ ]
+ },
+ {
+ "id": "f2f64a34.9bc798",
+ "type": "execute",
+ "name": "delete RRMPolicyRatio CUUP- URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3283.666603088379,
+ "y": 3258.666835784912,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "420a580d.8dce18",
+ "type": "execute",
+ "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3294.777862548828,
+ "y": 3302.0001974105835,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a3442627.cd94b8",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3219.22208404541,
+ "y": 3337.555679321289,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7a00e337.23da3c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2562.8334350585938,
+ "y": 3418.666717529297,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "6a3d5f67.89b03"
+ ]
+ ]
+ },
+ {
+ "id": "6a3d5f67.89b03",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2748.500518798828,
+ "y": 3407.000036239624,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "e7b911ef.21926",
+ "501ba5bb.ef3fec"
+ ]
+ ]
+ },
+ {
+ "id": "e7b911ef.21926",
+ "type": "set",
+ "name": "Read RRMPolicyMember-sNSSAI",
+ "xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].sNSSAI'`\" />",
+ "comments": "",
+ "x": 3040.889488220215,
+ "y": 3370.8893489837646,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "501ba5bb.ef3fec",
+ "type": "switchNode",
+ "name": "find matching RRMPolicyMember",
+ "xml": "<switch test='`$tmp.CUUPRRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3039.7779235839844,
+ "y": 3410.888843536377,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "355a7706.bbd6a8"
+ ]
+ ]
+ },
+ {
+ "id": "355a7706.bbd6a8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3270.6112670898438,
+ "y": 3415.333221435547,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "df799f74.91852"
+ ]
+ ]
+ },
+ {
+ "id": "df799f74.91852",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3494.2221069335938,
+ "y": 3411.999969482422,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "bd5b5caf.34289",
+ "e69074b7.86c018",
+ "7ddec5.bdda613c"
+ ]
+ ]
+ },
+ {
+ "id": "bd5b5caf.34289",
+ "type": "set",
+ "name": "Read RRMPolicyMember-id",
+ "xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].idx'`\" />",
+ "comments": "",
+ "x": 3759.8888397216797,
+ "y": 3379.777855873108,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "7ddec5.bdda613c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPRRMPolicyMember_id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3711.5487670898438,
+ "y": 3427.659881591797,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e69074b7.86c018",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3717.1108474731445,
+ "y": 3475.333520889282,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "97861ce3.40059",
+ "64e9402c.99386"
+ ]
+ ]
+ },
+ {
+ "id": "97861ce3.40059",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3960.44490814209,
+ "y": 3474.5555448532104,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "8ba1fc14.f59bc"
+ ]
+ ]
+ },
+ {
+ "id": "64e9402c.99386",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3951.2883224487305,
+ "y": 3526.110939025879,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "9014ff5a.a8a83"
+ ]
+ ]
+ },
+ {
+ "id": "8ba1fc14.f59bc",
+ "type": "execute",
+ "name": "generate deleteRRMPolicyMember.CUUP URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4289.3327560424805,
+ "y": 3472.0000553131104,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9014ff5a.a8a83",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4118.2221755981445,
+ "y": 3523.666772842407,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "8da33d2c.9ec3f",
+ "db3ca58d.3b9558"
+ ]
+ ]
+ },
+ {
+ "id": "8da33d2c.9ec3f",
+ "type": "execute",
+ "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.CUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4418.499885559082,
+ "y": 3517.555980682373,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "db3ca58d.3b9558",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4338.499603271484,
+ "y": 3576.4443969726562,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b353e2c5.e3c56",
+ "type": "execute",
+ "name": "prepare idGNBCUUPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2506.9999923706055,
+ "y": 3467.000104904175,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aafda300.bf6c3",
+ "type": "execute",
+ "name": "prepare RRMPolicyRatio id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUUPRRMPolicyRatio_id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2503.9379806518555,
+ "y": 3506.8127269744873,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9c0d0f0b.aa775",
+ "type": "execute",
+ "name": "prepare RRMPolicyMember id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUUPRRMPolicyMember_id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2512.43758392334,
+ "y": 3550.5627269744873,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8e54b571.b9af88",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.CUUPRRMPolicyRatio_id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2013.5344123840332,
+ "y": 3498.9240550994873,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ca1f89e.93f5d8",
+ "type": "execute",
+ "name": "Terminate NRCellCU - RRMPolicyRatio",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio-CUUP.ur`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2099.3123664855957,
+ "y": 3552.9235668182373,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "4fdeeb7.8dcdb14",
+ "635ad14e.3580b"
+ ]
+ ]
+ },
+ {
+ "id": "dd39b21f.bbf38",
+ "type": "set",
+ "name": "RRMPolicyRatio id",
+ "xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />",
+ "comments": "",
+ "x": 2018.25,
+ "y": 3341,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "3b93f05.3eb1b1",
+ "type": "execute",
+ "name": "remove sNSSAI from context",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUUPList['+$id-cuup+'].pLMNInfoList'`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1878.25,
+ "y": 3698.75,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9a1ff089.a405b",
+ "type": "execute",
+ "name": "prepare updated PLMNInfo list",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.pLMNInfoList-CUUP\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $id-cuup +'].pLMNInfoList'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1887.6248626708984,
+ "y": 3757.1874418258667,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eda4c4e8.16ea58",
+ "type": "execute",
+ "name": "read RRMPolicyMembers List",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyMembersList' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyMemberList'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1877.7500457763672,
+ "y": 3937.000234603882,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a13823ad.65203",
+ "type": "execute",
+ "name": "remove sNSSAI from context",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$tmp.CUUPRRMPolicyMembersList`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1876.5000457763672,
+ "y": 3982.5626735687256,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5f652628.9468d8",
+ "type": "execute",
+ "name": "prepare updated RRMPolicyMember list",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.CellCURRMMembersList\" value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyMemberList'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1910.6248626708984,
+ "y": 4034.0626125335693,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "20dcb9bd.e2a956",
+ "type": "execute",
+ "name": "read PLMNList size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2015.9377517700195,
+ "y": 4320.6251220703125,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4acc0f7.2614af",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1994.271125793457,
+ "y": 4390.6251220703125,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "fa70c58.9f27338"
+ ]
+ ]
+ },
+ {
+ "id": "fa70c58.9f27338",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2179.659912109375,
+ "y": 4384.65283203125,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "5b178a6e.9e1474",
+ "e8b239a3.ea6108",
+ "624c26d3.2d93b8"
+ ]
+ ]
+ },
+ {
+ "id": "624c26d3.2d93b8",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2545.7989196777344,
+ "y": 4269.87530708313,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b178a6e.9e1474",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2415.5489196777344,
+ "y": 4337.875185012817,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e8b239a3.ea6108",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2410.6878356933594,
+ "y": 4411.180850982666,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "35abfb0c.e67654"
+ ]
+ ]
+ },
+ {
+ "id": "35abfb0c.e67654",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2580.1599731445312,
+ "y": 4437.653020858765,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "72b1fbfe.4fa0d4"
+ ]
+ ]
+ },
+ {
+ "id": "4b70a51a.898acc",
+ "type": "execute",
+ "name": "prepare sNSSAI",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3039.6875,
+ "y": 4860.3125,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "478d81fe.50e29",
+ "type": "set",
+ "name": "Read RRMPolicy Member List Length",
+ "xml": "<set>\n<parameter name='tmp.DURRMPolicyMembersLength' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />",
+ "comments": "",
+ "x": 3650,
+ "y": 5518.4375,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "e85c75c9.5a5208",
"type": "for",
- "name": "for",
- "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >",
+ "name": "for each rrmpolicyMember",
+ "xml": "<for index='iddu-rrm2' start='0' end='`$tmp.DURRMPolicyMembersLength`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3630.972183227539,
+ "y": 5561.215363025665,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "66fd7b92.f2b364"
+ ]
+ ]
+ },
+ {
+ "id": "66fd7b92.f2b364",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3847.638984680176,
+ "y": 5557.326507568359,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "65816dd6.dac814",
+ "bd35e5d4.1bc928",
+ "77f9b6fc.97a688",
+ "dc69ba2d.6eaf38",
+ "7c2d39af.fe93c8"
+ ]
+ ]
+ },
+ {
+ "id": "65816dd6.dac814",
+ "type": "switchNode",
+ "name": "if length > 0 ",
+ "xml": "<switch test='`$tmp.DURRMPolicyMembersLength`>0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4005.556137084961,
+ "y": 5539.965368270874,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "19e9fe36.11e9a2",
+ "800d1eb2.1d967"
+ ]
+ ]
+ },
+ {
+ "id": "19e9fe36.11e9a2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4148.472393035889,
+ "y": 5498.020584106445,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "d674ab54.619858"
+ ]
+ ]
+ },
+ {
+ "id": "d674ab54.619858",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4315.1388511657715,
+ "y": 5498.021043777466,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "dcb12e26.7b884"
+ ]
+ ]
+ },
+ {
+ "id": "dcb12e26.7b884",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4162.916732788086,
+ "y": 5376.909779310226,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "1673f63a.56783a",
+ "3b2a37e4.95eaf8"
+ ]
+ ]
+ },
+ {
+ "id": "1673f63a.56783a",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4406.250473022461,
+ "y": 5392.798458099365,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "bfd03325.53f88"
+ ]
+ ]
+ },
+ {
+ "id": "3b2a37e4.95eaf8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4397.093982696533,
+ "y": 5433.242741584778,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "83c86bbb.232de8"
+ ]
+ ]
+ },
+ {
+ "id": "bfd03325.53f88",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4587.638893127441,
+ "y": 5394.132058143616,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "1cc68b31.5cd4b5"
+ ]
+ ]
+ },
+ {
+ "id": "1cc68b31.5cd4b5",
+ "type": "execute",
+ "name": "delete RRMPolicyRatio DU- URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4872.916603088379,
+ "y": 5391.354335784912,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "590f74e.06aca8c",
+ "type": "execute",
+ "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4884.027862548828,
+ "y": 5434.6876974105835,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b0bc885.6064d8",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4808.47208404541,
+ "y": 5470.243179321289,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "83c86bbb.232de8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4578.749969482422,
+ "y": 5436.354096412659,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "590f74e.06aca8c",
+ "5b0bc885.6064d8"
+ ]
+ ]
+ },
+ {
+ "id": "800d1eb2.1d967",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4152.1875,
+ "y": 5569.6875,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "cf340f9a.13c29"
+ ]
+ ]
+ },
+ {
+ "id": "cf340f9a.13c29",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4337.854583740234,
+ "y": 5558.020818710327,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "5f6bbc21.45a984",
+ "450a1dab.66c234"
+ ]
+ ]
+ },
+ {
+ "id": "5f6bbc21.45a984",
+ "type": "set",
+ "name": "Read RRMPolicyMember-sNSSA",
+ "xml": "<set>\n<parameter name='tmp.cellDURRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].sNSSAI'`\" />",
+ "comments": "",
+ "x": 4631.493957519531,
+ "y": 5516.9105587005615,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "450a1dab.66c234",
+ "type": "switchNode",
+ "name": "find matching RRMPolicyMember",
+ "xml": "<switch test='`$tmp.cellDURRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4629.131988525391,
+ "y": 5561.90962600708,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "a064e974.6a26c8"
+ ]
+ ]
+ },
+ {
+ "id": "a064e974.6a26c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4859.96533203125,
+ "y": 5566.35400390625,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "9795e8e6.5f4758"
+ ]
+ ]
+ },
+ {
+ "id": "9795e8e6.5f4758",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 5083.576171875,
+ "y": 5563.020751953125,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "b0ab9f0f.045ee",
+ "58c93fd8.865cc",
+ "38d6a4a.628eb5c"
+ ]
+ ]
+ },
+ {
+ "id": "b0ab9f0f.045ee",
+ "type": "set",
+ "name": "Read RRMPolicyMember-id",
+ "xml": "<set>\n<parameter name='tmp.CellDURRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].idx'`\" />",
+ "comments": "",
+ "x": 5349.242904663086,
+ "y": 5530.798638343811,
+ "z": "da62f736.168268",
+ "wires": []
+ },
+ {
+ "id": "38d6a4a.628eb5c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.CellDURRMPolicyMember_id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5300.90283203125,
+ "y": 5578.6806640625,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "58c93fd8.865cc",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5306.464912414551,
+ "y": 5626.354303359985,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "6ccc086f.a41478",
+ "ec0ce7b0.278738"
+ ]
+ ]
+ },
+ {
+ "id": "6ccc086f.a41478",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5549.798973083496,
+ "y": 5625.576327323914,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "9974a833.ce9ab8"
+ ]
+ ]
+ },
+ {
+ "id": "ec0ce7b0.278738",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 5540.642387390137,
+ "y": 5677.131721496582,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "8a646bfe.add958"
+ ]
+ ]
+ },
+ {
+ "id": "9974a833.ce9ab8",
+ "type": "execute",
+ "name": "generate deleteRRMPolicyMember.ToNRCellDU URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 5878.686820983887,
+ "y": 5623.0208377838135,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a646bfe.add958",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 808,
- "y": 107.98958969116211,
- "z": "f630c4e8.64d488",
+ "x": 5707.576240539551,
+ "y": 5674.68755531311,
+ "z": "da62f736.168268",
"wires": [
[
- "6ebb935.a77b76c"
+ "75c18765.25f078",
+ "ac37608.aa778a"
]
]
},
{
- "id": "6ebb935.a77b76c",
+ "id": "75c18765.25f078",
+ "type": "execute",
+ "name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 6007.853950500488,
+ "y": 5668.576763153076,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ac37608.aa778a",
+ "type": "execute",
+ "name": "populate mountName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 5927.853668212891,
+ "y": 5727.465179443359,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd35e5d4.1bc928",
+ "type": "execute",
+ "name": "prepare idGNBDUFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4181.250144958496,
+ "y": 5612.188266277313,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "77f9b6fc.97a688",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4153.75008392334,
+ "y": 5645.438236713409,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dc69ba2d.6eaf38",
+ "type": "execute",
+ "name": "prepare RRMPolicyRatio id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDURRMPolicyRatio_id`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4177.188026428223,
+ "y": 5680.000768184662,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7c2d39af.fe93c8",
+ "type": "execute",
+ "name": "prepare RRMPolicyMember id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDURRMPolicyMember_sNSSAI`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4184.68758392334,
+ "y": 5715.750737667084,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "734b37a6.ac7cf8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idy`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDURRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 959,
- "y": 101.98958969116211,
- "z": "f630c4e8.64d488",
+ "x": 3547.535189628601,
+ "y": 5708.612829208374,
+ "z": "da62f736.168268",
"wires": [
[]
]
+ },
+ {
+ "id": "3c1e8267.b4f8fe",
+ "type": "execute",
+ "name": "Terminate NRCellDU - RRMPolicyRatio",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio-DU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellDU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3619.812530517578,
+ "y": 5781.862342834473,
+ "z": "da62f736.168268",
+ "wires": [
+ [
+ "78448d12.dce7b4",
+ "b77e4296.a4ab5"
+ ]
+ ]
+ },
+ {
+ "id": "59b4ea74.9d06d4",
+ "type": "execute",
+ "name": "remove sNSSAI from context",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBDUList['+$id-du +'].cellCUList['+ $id-celldu +'].pLMNInfoList'`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3199.6875,
+ "y": 5817.1875,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6b7c5e5f.28631",
+ "type": "execute",
+ "name": "prepare updated PLMNInfo list",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.ceLLDUpLMNInfoList\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBDUList['+$id-du +'].cellCUList['+ $id-celldu +'].pLMNInfoList'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3209.0623626708984,
+ "y": 5875.624941825867,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2fdf003a.ff7bd",
+ "type": "execute",
+ "name": "read RRMPolicyMembers List",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellDURRMPolicyMembersList' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3199.6875,
+ "y": 6019.6875,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ee315155.36298",
+ "type": "execute",
+ "name": "remove sNSSAI from context",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$tmp.NRCellDURRMPolicyMembersList`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3198.4373474121094,
+ "y": 6071.25,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "778a736d.50fb1c",
+ "type": "execute",
+ "name": "prepare updated RRMPolicyMember list",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.CellDURRMMembersList\" value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3206.562210083008,
+ "y": 6123.749934196472,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "36cfb15f.b2ef8e",
+ "type": "execute",
+ "name": "prepare updated PLMNInfo list",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.pLMNInfoList-RIC\" value=\"`'$getNearRTRICById-configdb-response.pLMNInfoList'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1035.9375305175781,
+ "y": 1002.1875247955322,
+ "z": "da62f736.168268",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b01e9ff8.9fdcb",
+ "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": 189.5833339691162,
+ "y": 1645.8333644866943,
+ "z": "da62f736.168268",
+ "wires": []
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml
index 1cf36bcf..f2af89f8 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml
@@ -4,15 +4,836 @@
<method rpc='activateRANSliceInstance' mode='sync'>
<block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/configureNearRTRIC.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="RPC to handle configureNearRTRIC "/>
+ <parameter name="field1" value="RPC to handle terminateRANSlice.: "/>
+ <parameter name="field2" value="`$activate-r-a-n-slice-input.action`"/>
+ <parameter name="field3" value="`$activate-r-a-n-slice-input.common-header.timestamp`"/>
+ <parameter name="field4" value="`$activate-r-a-n-slice-input.common-header.request-id`"/>
+ <parameter name="field5" value="`$activate-r-a-n-slice-input.common-header.originator-id`"/>
+ <parameter name="field6" value="RPC Payload String "/>
+ <parameter name="field7" value="`$activate-r-a-n-slice-input.payload`"/>
</record>
+ <set>
+ <parameter name='error-code' value='200' />
+ <parameter name='error-message' value='Successful execution of terminateRANSice RPC' />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>
+ <parameter name='source' value='activate-r-a-n-slice-input.payload' />
+ <parameter name='outputPath' value='payloadJson' />
+ <parameter name='isEscaped' value='false' />
+ <outcome value='success'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Payload for terminateRANSlice.: "/>
+ <parameter name="field2" value="`$tmp.sNSSAI`"/>
+ <parameter name="field3" value="`$payloadJson.input.RANNFNSSIId`"/>
+ <parameter name="field4" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="field5" value="`$payloadJson.input.sliceProfileId`"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.sNSSAI' />
+ <parameter name='source' value="`$payloadJson.input.NSSAI`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
+ <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />
+ <parameter name='contextPrefix' value='prop' />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Properties read .. controller details "/>
+ <parameter name="field2" value="`$prop.controller.user`"/>
+ <parameter name="field3" value="`$prop.controller.pwd`"/>
+ <parameter name="field4" value="`$prop.controller.url`"/>
+ <parameter name="field5" value="ransim-mounted (true/false): "/>
+ <parameter name="field6" value="`$prop.ransim-mounted`"/>
+ <parameter name="field7" value="config DB deployed (true/false): "/>
+ <parameter name="field8" value="`$prop.configdb-deployed`"/>
+ </record>
+ <set>
+ <parameter name='tmp.status' value='ACTIVE' />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.configdb.getNearRTRICByNSSI`"/>
+ <parameter name="outputPath" value="tmp.configdb.getNearRTRICByNSSI.url"/>
+ <parameter name="target" value="{ranNFNSSIId}"/>
+ <parameter name="replacement" value="`$payloadJson.input.RANNFNSSIId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for configDB to Get NearRTRIC for RANNFNSSI"/>
+ <parameter name='field2' value="`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`" />
+ <parameter name='field3' value="`$ranNFNSSIId`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getNFNSSIRIC-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 Getting Info from ConfigDB. Aborting RPC executiopn'/>
+ </set>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <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>
+ <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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/activateRANSlice.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/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained NearRT RIC info from ConfigDB"/>
+ <parameter name="field2" value="`$getNFNSSIRIC-configdb-response._length`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.configdb.getplmn`"/>
+ <parameter name="outputPath" value="tmp.configdb.getPLMNId.url"/>
+ <parameter name="target" value="{sliceProfileId}"/>
+ <parameter name="replacement" value="`$payloadJson.input.sliceProfileId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Get PLMN from SliceProfileId URL: "/>
+ <parameter name="field2" value="`$tmp.configdb.getPLMNId.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getPLMNId.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getPLMN-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.pLMNId' />
+ <parameter name='source' value="`getPLMN-configdb-response.pLMNId`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
+ <parameter name="string" value="`$tmp.pLMNId`" />
+ <parameter name="result" value="tmp.mcc"/>
+ <parameter name="begin-index" value="0" />
+ <parameter name="end-index" value="3" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
+ <parameter name="string" value="`$tmp.pLMNId`" />
+ <parameter name="result" value="tmp.mnc"/>
+ <parameter name="begin-index" value="4" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="`$tmp.pLMNId`"/>
+ <parameter name="field2" value="`$tmp.mcc`"/>
+ <parameter name="field3" value="`$tmp.mnc`"/>
+ </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.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'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.pLMNInfoList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`" />
+ </execute>
+ <for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.configDBSNSSAI' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`" />
+ </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="sNSSAI - getNFNSSIRIC-configdb-response"/>
+ <parameter name="field2" value="`$tmp.configDBSNSSAI`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
+ </record>
+ <switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>
+ <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="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.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
+ </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="{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="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`"/>
+ </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/activateRANSlice.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-status.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="activate-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'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <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>
+ <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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/activateRANSlice.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/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellCU PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </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-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/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Number of CUCP 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'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="idGNBCUUPFunction "/>
+ <parameter name="field2" value="`$tmp.idGNBCUUPFunction`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.pLMNInfoList' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`" />
+ </execute>
+ <for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>
+ <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.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.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="activate-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'>
+ <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 atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <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>
+ <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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/activateRANSlice.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/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </for>
+ </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/activateRANSlice.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/activateRANSlice.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>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`" />
+ </execute>
+ <for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
+ <parameter name="field2" value="`$tmp.configDBSNSSAI-DU`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
+ </record>
+ <switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>
+ <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/activateRANSlice.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-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $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="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.cellCULocalId`"/>
+ </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/activateRANSlice.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-status.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="activate-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'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <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>
+ <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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/activateRANSlice.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/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellDU PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
<return status='success'>
- <parameter name="ack-final-indicator" value="Y" />
+ <parameter name="ack-final" value="Y" />
<parameter name="error-code" value="200" />
<parameter name="error-message" value="SUCCESSFUL Execution" />
</return>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-input.common-header.request-id `"/>
+ <parameter name="tmp.action" value="`$activate-r-a-n-slice-input.action`"/>
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.so.callbackURL`"/>
+ <parameter name="outputPath" value="tmp.so.callbackURL"/>
+ <parameter name="target" value="{requestId}"/>
+ <parameter name="replacement" value="`$tmp.requestID`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$payloadJson.input.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="`$payloadJson.input.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </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/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
</block>
</method>
</service-logic> \ 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 63df62a5..956018be 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
@@ -302,7 +302,7 @@
<parameter name="level" value="info" />
<parameter name="field1" value="Calling instantiateRANSliceModifyDeallocate "/>
</record>
- <call module='ran-slice-api' rpc='instantiateRANSliceModifyDeallocate' mode='sync' >
+ <call module='ran-slice-api' rpc='terminateRANSliceInstance' mode='sync' >
<outcome value='failure'>
<return status='failure'>
<parameter name='ack-final' value='Y' />
@@ -338,4 +338,4 @@
</return>
</block>
</method>
-</service-logic>
+</service-logic> \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate.xml
index 760c7c05..12b0a024 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate.xml
@@ -1057,7 +1057,10 @@
</record>
<block atomic='true'>
<set>
- <parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns`' />
+ <parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />
+ </set>
+ <set>
+ <parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns*4`' />
</set>
<set>
<parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' />
@@ -2275,4 +2278,4 @@
</return>
</block>
</method>
-</service-logic>
+</service-logic> \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml
index eb4e8db0..be9ad2de 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml
@@ -95,115 +95,6 @@
</outcome>
</execute>
</block>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.configdb.getListOfCells`"/>
- <parameter name="outputPath" value="tmp.configdb.getListOfCells.url"/>
- <parameter name="target" value="{trackingArea}"/>
- <parameter name="replacement" value="`$tmp.payload.trackingArea`"/>
- </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 configDB Get getListOfCells for tracking area"/>
- <parameter name='field2' value="`$prop.configdb.url + $tmp.configdb.getListOfCells.url`" />
- <parameter name='field3' value="`$tmp.payload.trackingArea`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getListOfCells.url`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="getListofCells-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 Getting Info from 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 Getting Info from ConfigDB. Aborting RPC executiopn'/>
- </return>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <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>
- <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='application/json' />
- <parameter name="convertResponse" value="true"/>
- <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 Obtained List of Cells from ConfigDB"/>
- <parameter name="field2" value="`$getListofCells-configdb-response._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-configdb-response._length `' >
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.trackingarea.cell' />
- <parameter name='source' value="`'getListofCells-configdb-response.[' + $idx + ']'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="`$tmp.trackingarea.cell`"/>
- </record>
- </for>
- <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>
<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
@@ -307,25 +198,25 @@
</execute>
<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >
<block atomic='true'>
- <for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.pLMNInfoList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`" />
+ </execute>
+ <for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCU1' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-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-configdb-response.[' + $id-ta + ']'`" />
+ <parameter name='outputPath' value='tmp.configDBSNSSAI' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`" />
</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="Cell - getNFNSSIRIC-configdb-response"/>
- <parameter name="field2" value="`$tmp.cellCU1`"/>
- <parameter name="field3" value="Cell - getListofCells-configdb-response"/>
- <parameter name="field4" value="`$tmp.cellCU2`"/>
+ <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
+ <parameter name="field2" value="`$tmp.configDBSNSSAI`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
</record>
- <switch test='`$tmp.cellCU1 == $tmp.cellCU2`'>
+ <switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>
<outcome value='true'>
<block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
@@ -342,7 +233,22 @@
<parameter name="replacement" value="`$tmp.nearRTRICId`"/>
</execute>
</outcome>
- <outcome value='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.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.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.cellCULocalId' />
@@ -484,6 +390,22 @@
<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`"/>
@@ -605,6 +527,22 @@
<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>
<set>
<parameter name='tmp.RRMPolicyRatio_id' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`" />
@@ -911,7 +849,22 @@
<parameter name="replacement" value="`$tmp.nearRTRICId`"/>
</execute>
</outcome>
- <outcome value='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.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`"/>
@@ -931,10 +884,6 @@
<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 CUUP PLMNInfoList. Aborting RPC executiopn'/>
- </set>
<block atomic='true'>
<set>
<parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
@@ -982,6 +931,10 @@
</outcome>
</execute>
</block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>
+ </set>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name='error-code' value='500'/>
@@ -1020,6 +973,22 @@
<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`"/>
@@ -1135,6 +1104,22 @@
<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>
<set>
<parameter name='tmp.RRMPolicyRatio_id' value="`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`" />
@@ -1425,26 +1410,26 @@
<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>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`" />
+ </execute>
+ <for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellDU1' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellDU2' />
- <parameter name='source' value="`'getListofCells-configdb-response.[' + $id-ta + ']'`" />
+ <parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`" />
</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="Cell - getNFNSSIRIC-configdb-response"/>
- <parameter name="field2" value="`$tmp.cellDU1`"/>
- <parameter name="field3" value="Cell - getListofCells-configdb-response"/>
- <parameter name="field4" value="`$tmp.cellDU2`"/>
+ <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
+ <parameter name="field2" value="`$tmp.configDBSNSSAI-DU`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
</record>
- <switch test='`$tmp.cellDU1 == $tmp.cellDU2`'>
+ <switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>
<outcome value='true'>
<block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
@@ -1461,7 +1446,22 @@
<parameter name="replacement" value="`$tmp.nearRTRICId`"/>
</execute>
</outcome>
- <outcome value='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.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' />
@@ -1642,6 +1642,22 @@
<parameter name="replacement" value="`$tmp.nearRTRICId`"/>
</execute>
</outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
</switch>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
<parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
@@ -1763,6 +1779,22 @@
<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>
<set>
<parameter name='tmp.RRMPolicyRatio_id' value="`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`" />
@@ -2030,6 +2062,11 @@
</for>
</block>
</for>
+ <return status='success'>
+ <parameter name="ack-final" value="Y" />
+ <parameter name="error-code" value="200" />
+ <parameter name="error-message" value="SUCCESSFUL Execution" />
+ </return>
<block atomic='true'>
<set>
<parameter name="tmp.status" value="`$error-code`"/>
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml
index 671df6f0..9966b6eb 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml
@@ -3,16 +3,2600 @@
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='terminateRANSliceInstance' mode='sync'>
<block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/configureNearRTRIC.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="RPC to handle configureNearRTRIC "/>
- </record>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RPC to handle terminateRANSlice.: "/>
+ <parameter name="field2" value="`$terminate-r-a-n-slice-input.action`"/>
+ <parameter name="field3" value="`$terminate-r-a-n-slice-input.common-header.timestamp`"/>
+ <parameter name="field4" value="`$terminate-r-a-n-slice-input.common-header.request-id`"/>
+ <parameter name="field5" value="`$terminate-r-a-n-slice-input.common-header.originator-id`"/>
+ <parameter name="field6" value="RPC Payload String "/>
+ <parameter name="field7" value="`$terminate-r-a-n-slice-input.payload`"/>
+ </record>
+ <set>
+ <parameter name='error-code' value='200' />
+ <parameter name='error-message' value='Successful execution of terminateRANSice RPC' />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>
+ <parameter name='source' value='terminate-r-a-n-slice-input.payload' />
+ <parameter name='outputPath' value='payloadJson' />
+ <parameter name='isEscaped' value='false' />
+ <outcome value='success'>
+ <block atomic='true'>
+ <switch test='`$instantiate-r-a-n-slice-input.action`==deallocate'>
+ <outcome value='success'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.sNSSAI' />
+ <parameter name='source' value="`$payloadJson.input.NSSAI`" />
+ </execute>
+ </outcome>
+ <outcome value='failure'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.sNSSAI' />
+ <parameter name='source' value="`$payloadJson.input.sliceProfile.NSSAI`" />
+ </execute>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Payload for terminateRANSlice.: "/>
+ <parameter name="field2" value="`$tmp.sNSSAI`"/>
+ <parameter name="field3" value="`$payloadJson.input.RANNFNSSIId`"/>
+ <parameter name="field4" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="field5" value="`$payloadJson.input.sliceProfileId`"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
+ <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />
+ <parameter name='contextPrefix' value='prop' />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Properties read .. controller details "/>
+ <parameter name="field2" value="`$prop.controller.user`"/>
+ <parameter name="field3" value="`$prop.controller.pwd`"/>
+ <parameter name="field4" value="`$prop.controller.url`"/>
+ <parameter name="field5" value="ransim-mounted (true/false): "/>
+ <parameter name="field6" value="`$prop.ransim-mounted`"/>
+ <parameter name="field7" value="config DB deployed (true/false): "/>
+ <parameter name="field8" value="`$prop.configdb-deployed`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.configdb.getNearRTRICByNSSI`"/>
+ <parameter name="outputPath" value="tmp.configdb.getNearRTRICByNSSI.url"/>
+ <parameter name="target" value="{ranNFNSSIId}"/>
+ <parameter name="replacement" value="`$payloadJson.input.RANNFNSSIId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for configDB to Get NearRTRIC for RANNFNSSI"/>
+ <parameter name='field2' value="`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`" />
+ <parameter name='field3' value="`$ranNFNSSIId`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getNFNSSIRIC-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 Getting Info from ConfigDB. Aborting RPC executiopn'/>
+ </set>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained NearRT RIC info from ConfigDB"/>
+ <parameter name="field2" value="`$getNFNSSIRIC-configdb-response._length`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.configdb.getplmn`"/>
+ <parameter name="outputPath" value="tmp.configdb.getPLMNId.url"/>
+ <parameter name="target" value="{sliceProfileId}"/>
+ <parameter name="replacement" value="`$payloadJson.input.sliceProfileId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Get PLMN from SliceProfileId URL: "/>
+ <parameter name="field2" value="`$tmp.configdb.getPLMNId.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getPLMNId.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getPLMN-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.pLMNId' />
+ <parameter name='source' value="`getPLMN-configdb-response.pLMNId`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
+ <parameter name="string" value="`$tmp.pLMNId`" />
+ <parameter name="result" value="tmp.mcc"/>
+ <parameter name="begin-index" value="0" />
+ <parameter name="end-index" value="3" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
+ <parameter name="string" value="`$tmp.pLMNId`" />
+ <parameter name="result" value="tmp.mnc"/>
+ <parameter name="begin-index" value="4" />
+ </execute>
+ <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="`$tmp.pLMNId`"/>
+ <parameter name="field2" value="`$tmp.mcc`"/>
+ <parameter name="field3" value="`$tmp.mnc`"/>
+ </record>
+ </block>
+ <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.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.configdb.getNearRTRICById`"/>
+ <parameter name="outputPath" value="tmp.configdb.getNearRTRICById.url"/>
+ <parameter name="target" value="{nearRTRICId}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for configDB to Get NearRTRIC for NearRTRICId"/>
+ <parameter name='field2' value="`$prop.configdb.url + $tmp.configdb.getNearRTRICById.url`" />
+ <parameter name='field3' value="`$nearRTRICId`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getNearRTRICById.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getNearRTRICById-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 Getting Info from ConfigDB. Aborting RPC executiopn'/>
+ </set>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained NearRT RIC info from ConfigDB"/>
+ <parameter name="field2" value="`$getNearRTRICById-configdb-response`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </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>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.gNBIdLength' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBIdLength'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >
+ <parameter name="list_pfx" value="`$getNearRTRICById-configdb-response`" />
+ <parameter name="value" value="`$getNearRTRICById-configdb-response.pLMNInfoList[0].sNSSAI.sNSSAI`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >
+ <parameter name="tmp.pLMNInfoList-RIC" value="`'$getNearRTRICById-configdb-response.pLMNInfoList'`" />
+ </execute>
+ <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-removenearRTRIC-PLMNInfo.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="delete-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/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Updated NearRT RIC info in ConfigDB"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </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/terminateRANSlice.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/terminateRANSlice.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'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.pLMNInfoList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`" />
+ </execute>
+ <for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.configDBSNSSAI' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
+ <parameter name="field2" value="`$tmp.configDBSNSSAI`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
+ </record>
+ <switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>
+ <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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="NSSAI exists "/>
+ </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.terminateSNSSAIEntry.ToNRCellCU`"/>
+ <parameter name="outputPath" value="tmp.deleteSNSSAIListEntry.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.terminateSNSSAIEntry.ToNRCellCU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.deleteSNSSAIListEntry.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.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cucpNFType' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].nFType'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.deleteSNSSAIListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.deleteSNSSAIListEntry.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.deleteSNSSAIListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.deleteSNSSAIListEntry.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.deleteSNSSAIListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.deleteSNSSAIListEntry.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.deleteSNSSAIListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.deleteSNSSAIListEntry.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.deleteSNSSAIListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.deleteSNSSAIListEntry.url"/>
+ <parameter name="target" value="{sNssai}"/>
+ <parameter name="replacement" value="`$tmp.sNSSAI`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSliceModifyAllocate.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.sNSSAI`"/>
+ <parameter name="field8" value="`$tmp.deleteSNSSAIListEntry.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.deleteSNSSAIListEntry.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="DELETE"/>
+ <parameter name="responsePrefix" value="delete-cellCU-sNSSAI-response"/>
+ <parameter name='contentType' value='application/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'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellCU PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />
+ <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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatio for this profile is - "/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellCU`"/>
+ </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.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="get-rrmpolicyratio-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.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/terminateRANSlice.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-terminateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyRatioList_length' />
+ <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length '`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.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'>
+ <set>
+ <parameter name='tmp.rrmPolicyDedicatedRatio_cellCU' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
+ <parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value="`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`" />
+ </set>
+ <set>
+ <parameter name='tmp.RRMPolicyRatio_id' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`" />
+ </set>
+ <set>
+ <parameter name='tmp.NRCellCURRMPolicyMembersLength' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList_length'`" />
+ </set>
+ <for index='idcu-rrm1' start='0' end='`$tmp.NRCellCURRMPolicyMembersLength`' >
+ <block atomic='true'>
+ <switch test='`$tmp.NRCellCURRMPolicyMembersLeangth`>0'>
+ <outcome value='success'>
+ <block atomic='true'>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.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.deleteRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.RRMPolicyMember_sNSSAI' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].sNSSAI'`" />
+ </set>
+ <switch test='`$tmp.RRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>
+ <outcome value='success'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.RRMPolicyMember_id' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].idx'`" />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyMember id - "/>
+ <parameter name="field2" value="`$tmp.RRMPolicyMember_id`"/>
+ </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.removeRRMPolicyMember.ToNRCellCU`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.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.removeRRMPolicyMember.ToNRCellCU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.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.deleteRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.deleteRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.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.deleteRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.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.deleteRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio.url"/>
+ <parameter name="target" value="{id}"/>
+ <parameter name="replacement" value="`$tmp.RRMPolicyRatio_id`"/>
+ </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="{idx}"/>
+ <parameter name="replacement" value="`$tmp.RRMPolicyMember_id`"/>
+ </execute>
+ </block>
+ </for>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Delete RRMPolicy URL - "/>
+ <parameter name="field2" value="`$tmp.deleteRRMPolicyRatio.url`"/>
+ <parameter name="field3" value="RRMPolicyRatio id"/>
+ <parameter name="field4" value="`$tmp.RRMPolicyRatio_id`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.deleteRRMPolicyRatio.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="DELETE"/>
+ <parameter name="responsePrefix" value="delete-cellCU-RRMPolicyRatio-response"/>
+ <parameter name='contentType' value='application/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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Deleted - cellCU RRMpolicyRatio/RRMPolicyMember"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Removing 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 removing NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.NRCellCURRMPolicyMembersList' />
+ <parameter name='source' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyMemberList'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >
+ <parameter name="list_pfx" value="`$tmp.NRCellCURRMPolicyMembersList`" />
+ <parameter name="value" value="`$tmp.sNSSAI`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >
+ <parameter name="tmp.CellCURRMMembersList" value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyMemberList'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-removeRRMPolicyMember-CUCP.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="remove-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'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated ConfigDB - NRCellCU RRMPolicyRatio "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </for>
+ </block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >
+ <parameter name="list_pfx" value="`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $idcu +'].pLMNInfoList'`" />
+ <parameter name="value" value="`$tmp.sNSSAI`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >
+ <parameter name="tmp.pLMNInfoList" value="`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $idcu +'].pLMNInfoList'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updategNBCUCP`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-removegNBCUCP.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="remove-gNBCUCP-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 Config DB - NRCellCU. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated ConfigDB - NRCellCU pLMNinfo "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </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-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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Number of CUCP 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'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="idGNBCUUPFunction "/>
+ <parameter name="field2" value="`$tmp.idGNBCUUPFunction`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.pLMNInfoList' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`" />
+ </execute>
+ <for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.configDBSNSSAI1' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
+ <parameter name="field2" value="`$tmp.configDBSNSSAI1`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
+ </record>
+ <switch test='`$tmp.configDBSNSSAI1 == $tmp.sNSSAI`'>
+ <outcome value='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.terminateSNSSAIEntry.ToCUUP`"/>
+ <parameter name="outputPath" value="tmp.deletePLMNInfo-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.terminateSNSSAIEntry.ToCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.deletePLMNInfo-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.deletePLMNInfo-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.deletePLMNInfo-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.deletePLMNInfo-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.deletePLMNInfo-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.deletePLMNInfo-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.deletePLMNInfo-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.deletePLMNInfo-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.deletePLMNInfo-CUUP.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.deletePLMNInfo-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.deletePLMNInfo-CUUP.url"/>
+ <parameter name="target" value="{sNssai}"/>
+ <parameter name="replacement" value="`$tmp.sNSSAI`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.deletePLMNInfo-CUUP.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="DELETE"/>
+ <parameter name="responsePrefix" value="delete-CUUP-sNSSAI-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.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 removing 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 removing 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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully removed - gNBCUUP PLMNInfo Entry"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />
+ <parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />
+ <parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />
+ <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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatio for this profile is - "/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio-CUUP`"/>
+ </record>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idGNBCUUPFunction}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.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'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.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/terminateRANSlice.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>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyRatioList_CUUP_length' />
+ <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length '`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUUP - RRMPolicyRatioList size"/>
+ <parameter name="field2" value="`$tmp.tmp.rrmPolicyRatioList_CUUP_length`"/>
+ </record>
+ <for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.CUUPRRMPolicyRatio_id' value="`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`" />
+ </set>
+ <set>
+ <parameter name='tmp.CUUPRRMPolicyMembersLength' value="`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList_length'`" />
+ </set>
+ <for index='idcu-rrm2' start='0' end='`$tmp.CUUPRRMPolicyMembersLength`' >
+ <block atomic='true'>
+ <switch test='`$tmp.CUUPRRMPolicyMembersLength`>0'>
+ <outcome value='success'>
+ <block atomic='true'>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToCUUP`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-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.deleteRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.CUUPRRMPolicyMember_sNSSAI' value="`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].sNSSAI'`" />
+ </set>
+ <switch test='`$tmp.CUUPRRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>
+ <outcome value='success'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.CUUPRRMPolicyMember_id' value="`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].idx'`" />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyMember id - "/>
+ <parameter name="field2" value="`$tmp.CUUPRRMPolicyMember_id`"/>
+ </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.removeRRMPolicyMember.ToCUUP`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-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.removeRRMPolicyMember.CUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-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.deleteRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-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.deleteRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{id}"/>
+ <parameter name="replacement" value="`$tmp.CUUPRRMPolicyRatio_id`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idx}"/>
+ <parameter name="replacement" value="`$tmp.CUUPRRMPolicyMember_id`"/>
+ </execute>
+ </block>
+ </for>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Delete RRMPolicy URL - "/>
+ <parameter name="field2" value="`$tmp.deleteRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="field3" value="RRMPolicyRatio id"/>
+ <parameter name="field4" value="`$tmp.CUUPRRMPolicyRatio_id`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.deleteRRMPolicyRatio-CUUP.ur`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="DELETE"/>
+ <parameter name="responsePrefix" value="delete-CUUP-RRMPolicyRatio-response"/>
+ <parameter name='contentType' value='application/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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully removed - CUUP RRMpolicyRatio"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error removing CUUP 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 removing RRMPolicyRatio. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.CUUPRRMPolicyMembersList' />
+ <parameter name='source' value="`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyMemberList'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >
+ <parameter name="list_pfx" value="`$tmp.CUUPRRMPolicyMembersList`" />
+ <parameter name="value" value="`$tmp.sNSSAI`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >
+ <parameter name="tmp.CellCURRMMembersList" value="`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyMemberList'`" />
+ </execute>
+ </block>
+ </for>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >
+ <parameter name="list_pfx" value="`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUUPList['+$id-cuup+'].pLMNInfoList'`" />
+ <parameter name="value" value="`$tmp.sNSSAI`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >
+ <parameter name="tmp.pLMNInfoList-CUUP" value="`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $id-cuup +'].pLMNInfoList'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/restapi.configDB.updategNBCUUP.templatefile'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="update-gNBCUUP-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'>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.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 Config DB - 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 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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated ConfigDB - NRCellCU pLMNinfo "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-removeRRMPolicy-CUUP.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="delete-gNBCUUP-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'>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated ConfigDB - CUUP RRMPolicyRatio "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </for>
+ </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`' >
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`" />
+ </execute>
+ <for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
+ <parameter name="field2" value="`$tmp.configDBSNSSAI-DU`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
+ </record>
+ <switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>
+ <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.terminateSNSSAIEntry.ToNRCellDU`"/>
+ <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-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.terminateSNSSAIEntry.ToNRCellDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-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.deletePLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-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-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-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.deletePLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-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.deletePLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.deletePLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{sNssai}"/>
+ <parameter name="replacement" value="`$tmp.sNSSAI`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.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.sNSSAI`"/>
+ <parameter name="field8" value="`$tmp.deletePLMNInfoListEntry-cellDU.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.deletePLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="DELETE"/>
+ <parameter name="responsePrefix" value="delete-cellDU-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.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 deleting 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 deleting 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 deleted - cellDU PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <block atomic='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />
+ </set>
+ <set>
+ <parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />
+ </set>
+ <set>
+ <parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />
+ </set>
+ <set>
+ <parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />
+ </set>
+ <set>
+ <parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />
+ </set>
+ <set>
+ <parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />
+ </set>
+ <set>
+ <parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />
+ </set>
+ <set>
+ <parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="rRMPolicyDedicatedRatio for CellDU "/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
+ <parameter name="field3" value="tmp.nearRTRIC.trafficCapacity1 "/>
+ <parameter name="field4" value="`$tmp.nearRTRIC.trafficCapacity1`"/>
+ <parameter name="field5" value="tmp.nearRTRIC.trafficCapacity "/>
+ <parameter name="field6" value="`$tmp.nearRTRIC.trafficCapacity`"/>
+ <parameter name="field7" value="tmp.nearRTRIC.trafficCapacityBPS"/>
+ <parameter name="field8" value="`$tmp.nearRTRIC.trafficCapacityBPS`"/>
+ <parameter name="field9" value="tmp.nrcelldu.totalPRBForSNSSAI "/>
+ <parameter name="field10" value="`$tmp.nrcelldu.totalPRBForSNSSAI`"/>
+ <parameter name="field11" value="tmp.nrcelldu.PRBPerImpactedCell "/>
+ <parameter name="field12" value="`$tmp.nrcelldu.PRBPerImpactedCell`"/>
+ <parameter name="field13" value="tmp.rRMPolicyDedicatedRatio.CellDU1 "/>
+ <parameter name="field14" value="`$tmp.rRMPolicyDedicatedRatio.CellDU1`"/>
+ </record>
+ </block>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idGNBDUFunction}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="get-rrmpolicyratio-du-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.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>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />
+ <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_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="RRMPolicyRatioList size"/>
+ <parameter name="field2" value="`$tmp.rrmPolicyRatioList_length`"/>
+ </record>
+ <for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.cellDURRMPolicyRatio_id' value="`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`" />
+ </set>
+ <set>
+ <parameter name='tmp.DURRMPolicyMembersLength' value="`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList_length'`" />
+ </set>
+ <for index='iddu-rrm2' start='0' end='`$tmp.DURRMPolicyMembersLength`' >
+ <block atomic='true'>
+ <switch test='`$tmp.DURRMPolicyMembersLength`>0'>
+ <outcome value='success'>
+ <block atomic='true'>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.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.deleteRRMPolicyRatio-DU.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.cellDURRMPolicyMember_sNSSAI' value="`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].sNSSAI'`" />
+ </set>
+ <switch test='`$tmp.cellDURRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>
+ <outcome value='success'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.CellDURRMPolicyMember_id' value="`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].idx'`" />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyMember id - "/>
+ <parameter name="field2" value="`$tmp.CellDURRMPolicyMember_id`"/>
+ </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.removeRRMPolicyMember.ToNRCellDU`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.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.removeRRMPolicyMember.ToNRCellDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.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.deleteRRMPolicyRatio-DU.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.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.deleteRRMPolicyRatio-DU.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.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.deleteRRMPolicyRatio-DU.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/>
+ <parameter name="target" value="{id}"/>
+ <parameter name="replacement" value="`$tmp.cellDURRMPolicyRatio_id`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/>
+ <parameter name="outputPath" value="tmp.deleteRRMPolicyRatio-DU.url"/>
+ <parameter name="target" value="{idx}"/>
+ <parameter name="replacement" value="`$tmp.cellDURRMPolicyMember_sNSSAI`"/>
+ </execute>
+ </block>
+ </for>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Delete RRMPolicy URL - "/>
+ <parameter name="field2" value="`$tmp.deleteRRMPolicyRatio-DU.url`"/>
+ <parameter name="field3" value="RRMPolicyRatio id"/>
+ <parameter name="field4" value="`$tmp.cellDURRMPolicyRatio_id`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.deleteRRMPolicyRatio-DU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="DELETE"/>
+ <parameter name="responsePrefix" value="delete-cellDU-RRMPolicyRatio-response"/>
+ <parameter name='contentType' value='application/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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully removed - cellDU RRMpolicyRatio"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.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 removing 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 removing RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.NRCellDURRMPolicyMembersList' />
+ <parameter name='source' value="`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >
+ <parameter name="list_pfx" value="`$tmp.NRCellDURRMPolicyMembersList`" />
+ <parameter name="value" value="`$tmp.sNSSAI`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >
+ <parameter name="tmp.CellDURRMMembersList" value="`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList'`" />
+ </execute>
+ </block>
+ </for>
+ </block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >
+ <parameter name="list_pfx" value="`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBDUList['+$id-du +'].cellCUList['+ $id-celldu +'].pLMNInfoList'`" />
+ <parameter name="value" value="`$tmp.sNSSAI`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >
+ <parameter name="tmp.ceLLDUpLMNInfoList" value="`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBDUList['+$id-du +'].cellCUList['+ $id-celldu +'].pLMNInfoList'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-removegNBDU.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="delete-gNBDU-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'>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.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 Config DB - NRCellDU. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated ConfigDB - NRCellCU pLMNinfo "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-removeRRMPolicy-DU.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="delete-gNBDU-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'>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$terminateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$terminateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="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='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <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/terminateRANSlice.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>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully updated ConfigDB - NRCellDU RRMPolicyRatio "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
<return status='success'>
- <parameter name="ack-final-indicator" value="Y" />
+ <parameter name="ack-final" value="Y" />
<parameter name="error-code" value="200" />
<parameter name="error-message" value="SUCCESSFUL Execution" />
</return>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiate-r-a-n-slice-input.common-header.request-id `"/>
+ <parameter name="tmp.action" value="`$instantiate-r-a-n-slice-input.action`"/>
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.so.callbackURL`"/>
+ <parameter name="outputPath" value="tmp.so.callbackURL"/>
+ <parameter name="target" value="{requestId}"/>
+ <parameter name="replacement" value="`$tmp.requestID`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$payloadJson.input.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="`$payloadJson.input.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </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/terminateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
</block>
</method>
</service-logic> \ No newline at end of file
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-CUUP.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-CUUP.json
new file mode 100644
index 00000000..86bbc38b
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-CUUP.json
@@ -0,0 +1,8 @@
+{
+ "quotaType": "STRICT",
+ "rRMPolicyMemberList": ${tmp.CellCURRMMembersList},
+ "resourceID": ${tmp.idGNBCUUPFunction},
+ "resourceType": "DRB",
+ "rrmPolicyID": ${tmp.CUUPRRMPolicyRatio_id},
+ "sliceType": "eMBB"
+}
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-DU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-DU.json
new file mode 100644
index 00000000..476b42a7
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicy-DU.json
@@ -0,0 +1,8 @@
+{
+ "quotaType": "STRICT",
+ "rRMPolicyMemberList": ${tmp.CellDURRMMembersList},
+ "resourceID": ${tmp.cellDULocalId},
+ "resourceType": "PRB",
+ "rrmPolicyID": ${tmp.cellDURRMPolicyRatio_id},
+ "sliceType": "eMBB"
+}
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicyMember-CUCP.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicyMember-CUCP.json
new file mode 100644
index 00000000..ba6aa675
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removeRRMPolicyMember-CUCP.json
@@ -0,0 +1,8 @@
+{
+ "quotaType": "STRICT",
+ "rRMPolicyMemberList": ${tmp.CellCURRMMembersList},
+ "resourceID": ${tmp.cellCULocalId},
+ "resourceType": "RRC Connected Users",
+ "rrmPolicyID": ${tmp.RRMPolicyRatio_id},
+ "sliceType": "eMBB"
+}
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUCP.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUCP.json
new file mode 100644
index 00000000..181095a5
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUCP.json
@@ -0,0 +1,14 @@
+{
+ "cellCUList": [
+ {
+ "cellLocalId": ${tmp.cellLocalId}
+ "pLMNInfoList": ${tmp.pLMNInfoList},
+ "resourceType": "RRC Connected Users"
+ }
+ ],
+ "gNBCUName": ${tmp.CUCPName},
+ "gNBId": ${tmp.gNBId},
+ "gNBIdLength": ${tmp.gNBIdLength},
+ "nFType": ${tmp.cucpNFType},
+ "nearRTRICId": ${tmp.nearRTRICId},
+}
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUUP.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUUP.json
new file mode 100644
index 00000000..5f669826
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBCUUP.json
@@ -0,0 +1,8 @@
+{
+ "gNBCUUPId": ${tmp.idGNBCUUPFunction},
+ "gNBId": ${tmp.gNBId},
+ "gNBIdLength": ${tmp.gNBIdLength},
+ "nearRTRICId": ${tmp.nearRTRICId},
+ "pLMNInfoList": ${tmp.pLMNInfoList-CUUP},
+ "resourceType": "DRB"
+}
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBDU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBDU.json
new file mode 100644
index 00000000..125454e4
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removegNBDU.json
@@ -0,0 +1,13 @@
+{
+ "cellDUList": [
+ {
+ "cellLocalId": ${tmp.cellDULocalId},
+ "pLMNInfoList": ${tmp.ceLLDUpLMNInfoList},
+ "resourceType": "PRB"
+ }
+ ],
+ "gNBDUId": ${tmp.gNBDUId},
+ "gNBId": ${tmp.gNBId},
+ "gNBIdLength": ${tmp.gNBIdLength},
+ "nearRTRICId": ${tmp.nearRTRICId},
+}
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removenearRTRIC-PLMNInfo.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removenearRTRIC-PLMNInfo.json
new file mode 100644
index 00000000..fc581529
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-removenearRTRIC-PLMNInfo.json
@@ -0,0 +1,9 @@
+{
+ "gNBId": ${tmp.gNBId},
+ "nearRTRICId": ${tmp.nearRTRICId},
+ "pLMNInfoList": ${tmp.pLMNInfoList-RIC},
+ "ranNFNSSIList": [
+ ${payloadJson.input.RANNFNSSIId}
+ ],
+ "resourceType": "NearRTRIC"
+}
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-DU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-DU.json
index 42d66089..7eedf444 100644
--- a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-DU.json
+++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-DU.json
@@ -9,7 +9,7 @@
}
],
"rRMPolicyMinRatio": 0,
- "resourceID": "",
+ "resourceID": ${tmp.cellDULocalId},
"resourceType": "PRB",
"rrmPolicyID": ${prop.configDB.rrmPolicyID},
"sliceType": "eMBB"
diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-status.json b/platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-status.json
new file mode 100644
index 00000000..7854e1c2
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-status.json
@@ -0,0 +1,21 @@
+{
+ "ietf-yang-patch:yang-patch": {
+ "patch-id": "Patch 1",
+ "comment": "patch for NSSAIList",
+ "edit": [
+ {
+ "edit-id": "edit1",
+ "operation": "merge",
+ "target": "/ran-network:sNSSAIList[ran-network:sNssai='${"tmp.sNSSAI}']",
+ "value": {
+ "ran-network:sNSSAIList": [
+ {
+ "ran-network:sNssai": ${tmp.sNSSAI},
+ "ran-network:status": "INACTIVE"
+ }
+ ]
+}
+}
+]
+}
+} \ No newline at end of file