summaryrefslogtreecommitdiffstats
path: root/platform-logic/ran-slice-api/src/main
diff options
context:
space:
mode:
authorSandeep Shah <sandeeplinux1068@gmail.com>2021-01-31 15:28:31 -0600
committerSandeep Shah <sandeep.shah@ibm.com>2021-02-19 14:27:52 +0000
commit6460c29f5778a917f8d2a1798416cfcb69c19c8c (patch)
treeea9f70a7a183f88f5b9d9d48e8de34c7e10f11d4 /platform-logic/ran-slice-api/src/main
parent7295af14d96885845fe651de1f3c546127ad3dc6 (diff)
Additional DG Updates Bug fixes RANSlice feature
DG updates and bug fixes for RANSlice feature Issue-ID: CCSDK-3112 SIgned-off-by: SandeepLinux <Sandeep.Shah@ibm.com> Change-Id: I7d06fa0e27c64723ee51b1ab9b7679e2f36f91ce
Diffstat (limited to 'platform-logic/ran-slice-api/src/main')
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json827
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate.json4272
-rw-r--r--platform-logic/ran-slice-api/src/main/resources/graph.versions3
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml264
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate.xml1296
5 files changed, 4036 insertions, 2626 deletions
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 14faf799..f1e5f1e4 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": "318c8a1a.389db6",
+ "id": "de9c4bb9.dd1918",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSlice' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 122,
- "y": 218.9895896911621,
- "z": "504d7698.3603d8",
+ "x": 159,
+ "y": 201.9895896911621,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "b10f0325.f8529"
+ "93874454.9246c8"
]
]
},
{
- "id": "78b03833.6b3868",
+ "id": "9fa80d53.d40c7",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 125,
- "y": 68.98958587646484,
- "z": "504d7698.3603d8",
+ "x": 162,
+ "y": 51.989585876464844,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "5b6b9a25.52ad74"
+ "263df2ce.eceb3e"
]
]
},
{
- "id": "5b6b9a25.52ad74",
+ "id": "263df2ce.eceb3e",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,666 +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": 182.99998474121094,
- "y": 129.98968124389648,
- "z": "504d7698.3603d8",
+ "x": 219.99998474121094,
+ "y": 112.98968124389648,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "318c8a1a.389db6"
+ "de9c4bb9.dd1918"
]
]
},
{
- "id": "b10f0325.f8529",
+ "id": "93874454.9246c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 131.48959732055664,
- "y": 383.9896306991577,
- "z": "504d7698.3603d8",
+ "x": 168.48959732055664,
+ "y": 366.9896306991577,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "3790685d.9bf398",
- "67ee2d98.f55e04",
- "809f557a.294558",
- "7495081e.8e0478",
- "ebf3026e.c0909",
- "d8035bd2.9c25d8",
- "ef1856e1.0d0dd8",
- "fe92e0a3.2157e",
- "58476f15.520dd",
- "b83f1c3e.1d42c",
- "f925c432.c26848",
- "122277f1.7b1558",
- "65125671.2cb738"
+ "b00f872c.0512c8",
+ "b71c824f.49493",
+ "78f37f23.e25c4",
+ "3587eb4d.c8c884",
+ "93a9509f.81d6e",
+ "c12192ce.5dd2c",
+ "9ac10eb.edc0ff",
+ "7c842f93.0103b",
+ "354a772d.176308"
]
]
},
{
- "id": "122277f1.7b1558",
+ "id": "7c842f93.0103b",
"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": 391.48958587646484,
- "y": 929.9899969100952,
- "z": "504d7698.3603d8",
+ "x": 428.48958587646484,
+ "y": 912.9899969100952,
+ "z": "e88d8790.e40a88",
"wires": []
},
{
- "id": "bdbd152.e20c4e8",
+ "id": "59512b6d.4b1d34",
"type": "comment",
"name": "instantiateRANSlice",
"info": "",
"comments": "",
- "x": 407,
- "y": 62,
- "z": "504d7698.3603d8",
+ "x": 444,
+ "y": 45,
+ "z": "e88d8790.e40a88",
"wires": []
},
{
- "id": "3790685d.9bf398",
+ "id": "b00f872c.0512c8",
"type": "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": 471.0003471374512,
- "y": 173.01045608520508,
- "z": "504d7698.3603d8",
+ "x": 502.0003356933594,
+ "y": 96.01045989990234,
+ "z": "e88d8790.e40a88",
"wires": [
[]
]
},
{
- "id": "809f557a.294558",
+ "id": "78f37f23.e25c4",
"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": 528.0000305175781,
- "y": 262.0104217529297,
- "z": "504d7698.3603d8",
+ "x": 551.0000915527344,
+ "y": 185.0104274749756,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "d3a45cc9.82d03"
+ "7a5c9f65.c5a97"
]
]
},
{
- "id": "d3a45cc9.82d03",
+ "id": "7a5c9f65.c5a97",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 750.0000686645508,
- "y": 221.0104341506958,
- "z": "504d7698.3603d8",
+ "x": 779.0001029968262,
+ "y": 165.01044273376465,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "84fd40ea.3aa1a"
+ "5de17583.f3b77c"
]
]
},
{
- "id": "a83025f6.6ddba8",
+ "id": "e9a415d6.2e4598",
"type": "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": 1107.0002746582031,
- "y": 238.0104637145996,
- "z": "504d7698.3603d8",
+ "x": 1122.0002765655518,
+ "y": 172.01047134399414,
+ "z": "e88d8790.e40a88",
"wires": [
[]
]
},
{
- "id": "7495081e.8e0478",
+ "id": "3587eb4d.c8c884",
"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": 505,
- "y": 349.0103759765625,
- "z": "504d7698.3603d8",
+ "x": 533.0000534057617,
+ "y": 270.01038455963135,
+ "z": "e88d8790.e40a88",
"wires": [
[]
]
},
{
- "id": "ebf3026e.c0909",
+ "id": "93a9509f.81d6e",
"type": "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": 502.00006103515625,
- "y": 396.0104064941406,
- "z": "504d7698.3603d8",
+ "x": 512.0000953674316,
+ "y": 319.0104274749756,
+ "z": "e88d8790.e40a88",
"wires": [
[]
]
},
{
- "id": "ef1856e1.0d0dd8",
+ "id": "c12192ce.5dd2c",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 420.0000686645508,
- "y": 687.8992919921875,
- "z": "504d7698.3603d8",
+ "x": 502.00008392333984,
+ "y": 609.8992719650269,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "65183ec4.81b7c"
+ "51bd6a07.1944d4"
]
]
},
{
- "id": "65183ec4.81b7c",
+ "id": "51bd6a07.1944d4",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 537.0001487731934,
- "y": 785.8992958068848,
- "z": "504d7698.3603d8",
+ "x": 574.0001487731934,
+ "y": 806.8992958068848,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "eb319aab.d26b08"
+ "2812fa43.45bf06"
]
]
},
{
- "id": "67ee2d98.f55e04",
+ "id": "b71c824f.49493",
"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": 530.0000114440918,
- "y": 220.0104489326477,
- "z": "504d7698.3603d8",
+ "x": 551.0000915527344,
+ "y": 144.01047706604004,
+ "z": "e88d8790.e40a88",
"wires": []
},
{
- "id": "b5c41718.82fdc8",
+ "id": "2b55759c.be87da",
"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": 1080.0000801086426,
- "y": 161.01043796539307,
- "z": "504d7698.3603d8",
+ "x": 1140.0002746582031,
+ "y": 106.01044368743896,
+ "z": "e88d8790.e40a88",
"wires": [
[]
]
},
{
- "id": "84fd40ea.3aa1a",
+ "id": "5de17583.f3b77c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 902.0000801086426,
- "y": 205.01043319702148,
- "z": "504d7698.3603d8",
+ "x": 948.0001907348633,
+ "y": 140.0104410648346,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "b5c41718.82fdc8",
- "a83025f6.6ddba8"
+ "2b55759c.be87da",
+ "e9a415d6.2e4598"
]
]
},
{
- "id": "d8035bd2.9c25d8",
+ "id": "54c56245.8decbc",
"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": 509.9999694824219,
- "y": 436.0104675292969,
- "z": "504d7698.3603d8",
+ "x": 1392.0003280639648,
+ "y": 346.01045751571655,
+ "z": "e88d8790.e40a88",
"wires": []
},
{
- "id": "eb319aab.d26b08",
+ "id": "2812fa43.45bf06",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 664.9999809265137,
- "y": 625.9999990463257,
- "z": "504d7698.3603d8",
+ "x": 717.0000381469727,
+ "y": 712.0000190734863,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "de11d3a1.fbad7"
+ "3161655c.54a3ea"
]
]
},
{
- "id": "fe92e0a3.2157e",
+ "id": "9ac10eb.edc0ff",
"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": 506,
- "y": 310,
- "z": "504d7698.3603d8",
+ "x": 525.0000152587891,
+ "y": 229.00002670288086,
+ "z": "e88d8790.e40a88",
"wires": [
[]
]
},
{
- "id": "58476f15.520dd",
+ "id": "63e33a85.579ea4",
"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": 505.0103759765625,
- "y": 525.0104675292969,
- "z": "504d7698.3603d8",
+ "x": 1436.0107421875,
+ "y": 440.01045989990234,
+ "z": "e88d8790.e40a88",
"wires": [
[]
]
},
{
- "id": "b83f1c3e.1d42c",
+ "id": "73a45a34.62e664",
"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": 482.0103988647461,
- "y": 563.0104370117188,
- "z": "504d7698.3603d8",
+ "x": 1442.0107955932617,
+ "y": 483.01042079925537,
+ "z": "e88d8790.e40a88",
"wires": [
[]
]
},
{
- "id": "f925c432.c26848",
+ "id": "38840452.4e55ac",
"type": "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": 393.00392150878906,
- "y": 623.0038976669312,
- "z": "504d7698.3603d8",
+ "x": 1345.004295349121,
+ "y": 537.003885269165,
+ "z": "e88d8790.e40a88",
"wires": [
[]
]
},
{
- "id": "c2339e53.39c4b",
+ "id": "a4262dde.68861",
"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": 762,
- "y": 101,
- "z": "504d7698.3603d8",
+ "x": 799,
+ "y": 84,
+ "z": "e88d8790.e40a88",
"wires": []
},
{
- "id": "de11d3a1.fbad7",
+ "id": "3161655c.54a3ea",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 867.0105171203613,
- "y": 559.0104229450226,
- "z": "504d7698.3603d8",
+ "x": 902.0104866027832,
+ "y": 784.0104658603668,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "5c622ac4.0b8d04",
- "9943c636.c7b928",
- "7ea2f86.8f59508",
- "1059c51e.d06e2b"
+ "d891309b.d3d43",
+ "aa743487.5db6d8",
+ "904ecdc5.c7923",
+ "384b4605.aaf9aa"
]
]
},
{
- "id": "5c622ac4.0b8d04",
+ "id": "d891309b.d3d43",
"type": "outcome",
"name": "allocate",
"xml": "<outcome value='allocate'>",
"comments": "",
"outputs": 1,
- "x": 1095.0105285644531,
- "y": 470.89930629730225,
- "z": "504d7698.3603d8",
+ "x": 1130.010498046875,
+ "y": 657.8993492126465,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "8320efb7.50f75"
+ "f8cbd6a1.a346f8"
]
]
},
{
- "id": "9943c636.c7b928",
+ "id": "aa743487.5db6d8",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 1104.7248001098633,
- "y": 546.3993489742279,
- "z": "504d7698.3603d8",
+ "x": 1139.7247695922852,
+ "y": 733.3993918895721,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "974dd6b9.655e38"
+ "283e57d2.550fb8"
]
]
},
{
- "id": "7ea2f86.8f59508",
+ "id": "904ecdc5.c7923",
"type": "outcome",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 1112.081901550293,
- "y": 636.5421724319458,
- "z": "504d7698.3603d8",
+ "x": 1147.0818710327148,
+ "y": 823.54221534729,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "aba8f6e8.f40d18"
+ "9c517b53.732668"
]
]
},
{
- "id": "1059c51e.d06e2b",
+ "id": "384b4605.aaf9aa",
"type": "outcome",
"name": "reconfigure",
"xml": "<outcome value='reconfigure'>",
"comments": "",
"outputs": 1,
- "x": 1084.081901550293,
- "y": 719.5779819488525,
- "z": "504d7698.3603d8",
+ "x": 1119.0818710327148,
+ "y": 906.5780248641968,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "48aa94ba.46a4ac"
+ "1de88d9b.1ce0a2"
]
]
},
{
- "id": "8320efb7.50f75",
+ "id": "f8cbd6a1.a346f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1307.9998950958252,
- "y": 454.99999618530273,
- "z": "504d7698.3603d8",
+ "x": 1342.999864578247,
+ "y": 642.000039100647,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "9018f001.f4f13"
+ "c5920a88.91e768",
+ "d5b69581.ede008"
]
]
},
{
- "id": "974dd6b9.655e38",
+ "id": "283e57d2.550fb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1328.2143478393555,
- "y": 550.5000791549683,
- "z": "504d7698.3603d8",
+ "x": 1363.2143173217773,
+ "y": 737.5001220703125,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "50e1c291.f5445c"
+ "d3332650.34bd78",
+ "d481d921.e66a28"
]
]
},
{
- "id": "48aa94ba.46a4ac",
+ "id": "1de88d9b.1ce0a2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1315.8214492797852,
- "y": 746.4286479949951,
- "z": "504d7698.3603d8",
+ "x": 1350.821418762207,
+ "y": 933.4286909103394,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "66a9f9d6.18f8e8"
+ "f9f72ad.82208d8",
+ "affb1530.9fc0e8"
]
]
},
{
- "id": "aba8f6e8.f40d18",
+ "id": "9c517b53.732668",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1328.7499389648438,
- "y": 648.6429691314697,
- "z": "504d7698.3603d8",
+ "x": 1363.7499084472656,
+ "y": 835.643012046814,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "8bc4109b.5e7a3"
+ "eac47c65.f6e12",
+ "e35d09c4.f12e88"
]
]
},
{
- "id": "9018f001.f4f13",
+ "id": "c5920a88.91e768",
"type": "call",
"name": "call instantiateRANSliceAllocate",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='instantiateRANSliceAllocate' mode='sync' >\n",
+ "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceAllocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1596.2498779296875,
- "y": 443.7499723434448,
- "z": "504d7698.3603d8",
+ "x": 1631.2498474121094,
+ "y": 630.7500152587891,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "241992b8.fd403e"
+ "a1b199f1.43d858"
]
]
},
{
- "id": "241992b8.fd403e",
+ "id": "a1b199f1.43d858",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1862.1070098876953,
- "y": 452.32141494750977,
- "z": "504d7698.3603d8",
+ "x": 1897.1069793701172,
+ "y": 639.321457862854,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "3c5b4f11.7893f"
+ "5a813a7d.eab534"
]
]
},
{
- "id": "3c5b4f11.7893f",
+ "id": "5a813a7d.eab534",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2034.1070175170898,
- "y": 452.42856788635254,
- "z": "504d7698.3603d8",
+ "x": 2069.1069869995117,
+ "y": 639.4286108016968,
+ "z": "e88d8790.e40a88",
"wires": []
},
{
- "id": "50e1c291.f5445c",
+ "id": "d3332650.34bd78",
"type": "call",
"name": "call instantiateRANSliceModifyAllocate",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='instantiateRANSliceModifyAllocate' mode='sync' >\n",
+ "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1617.6787109375,
- "y": 550.7500152587891,
- "z": "504d7698.3603d8",
+ "x": 1655.6787719726562,
+ "y": 740.7500581741333,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "e89d5508.674028"
+ "2f3f6f4d.eb2fa"
]
]
},
{
- "id": "e89d5508.674028",
+ "id": "2f3f6f4d.eb2fa",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1881.9644355773926,
- "y": 550.7500410079956,
- "z": "504d7698.3603d8",
+ "x": 1916.9644050598145,
+ "y": 737.7500839233398,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "648b3bba.8b5504"
+ "76e8d116.52e33"
]
]
},
{
- "id": "648b3bba.8b5504",
+ "id": "76e8d116.52e33",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2050.535877227783,
- "y": 550.4285860061646,
- "z": "504d7698.3603d8",
+ "x": 2085.535846710205,
+ "y": 737.4286289215088,
+ "z": "e88d8790.e40a88",
"wires": []
},
{
- "id": "66a9f9d6.18f8e8",
+ "id": "f9f72ad.82208d8",
"type": "call",
"name": "call instantiateRANSliceReconfigure",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='instantiateRANSliceReconfigure' mode='sync' >\n",
+ "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceReconfigure' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1608.8213729858398,
- "y": 746.0357065200806,
- "z": "504d7698.3603d8",
+ "x": 1643.8213424682617,
+ "y": 933.0357494354248,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "f0fc41b.4aff2c"
+ "fe94370f.c8bbd8"
]
]
},
{
- "id": "f0fc41b.4aff2c",
+ "id": "fe94370f.c8bbd8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1865.1070976257324,
- "y": 746.0357322692871,
- "z": "504d7698.3603d8",
+ "x": 1900.1070671081543,
+ "y": 933.0357751846313,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "5fdce06d.95f6"
+ "26a0f5b0.30f06a"
]
]
},
{
- "id": "5fdce06d.95f6",
+ "id": "26a0f5b0.30f06a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2033.678539276123,
- "y": 745.714277267456,
- "z": "504d7698.3603d8",
+ "x": 2068.678508758545,
+ "y": 932.7143201828003,
+ "z": "e88d8790.e40a88",
"wires": []
},
{
- "id": "8bc4109b.5e7a3",
+ "id": "eac47c65.f6e12",
"type": "call",
"name": "call instantiateRANSliceModifyDeallocate",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='instantiateRANSliceModifyDeallocate' mode='sync' >\n",
+ "xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyDeallocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1601.9641876220703,
- "y": 647.0357418060303,
- "z": "504d7698.3603d8",
+ "x": 1636.9641571044922,
+ "y": 834.0357847213745,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "69581143.26511"
+ "95418ab2.b58958"
]
]
},
{
- "id": "69581143.26511",
+ "id": "95418ab2.b58958",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1880.5356101989746,
- "y": 645.607195854187,
- "z": "504d7698.3603d8",
+ "x": 1915.5355796813965,
+ "y": 832.6072387695312,
+ "z": "e88d8790.e40a88",
"wires": [
[
- "ebc0da12.cd9458"
+ "9c0603c7.6b8fe"
]
]
},
{
- "id": "ebc0da12.cd9458",
+ "id": "9c0603c7.6b8fe",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2049.1070518493652,
- "y": 645.285740852356,
- "z": "504d7698.3603d8",
+ "x": 2084.107021331787,
+ "y": 832.2857837677002,
+ "z": "e88d8790.e40a88",
"wires": []
},
{
- "id": "65125671.2cb738",
+ "id": "3f271e6d.820012",
"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": 507,
- "y": 482,
- "z": "504d7698.3603d8",
+ "x": 1415.0003280639648,
+ "y": 392.0000009536743,
+ "z": "e88d8790.e40a88",
"wires": []
},
{
- "id": "de824f2b.54dd3",
+ "id": "7fbdbbb9.ba3154",
"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": 873,
- "y": 395,
- "z": "504d7698.3603d8",
+ "x": 378.0000228881836,
+ "y": 1028.0000104904175,
+ "z": "e88d8790.e40a88",
"wires": [
[]
]
+ },
+ {
+ "id": "d5b69581.ede008",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d481d921.e66a28",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e35d09c4.f12e88",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "affb1530.9fc0e8",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d5ab20c6.7ea2a",
+ "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",
+ "wires": [
+ [
+ "53f9ecd9.12d394",
+ "dc5f688a.4f8758"
+ ]
+ ]
+ },
+ {
+ "id": "53f9ecd9.12d394",
+ "type": "failure",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1213.0003623962402,
+ "y": 220.66673374176025,
+ "z": "e88d8790.e40a88",
+ "wires": [
+ [
+ "6185424.1fab4bc"
+ ]
+ ]
+ },
+ {
+ "id": "dc5f688a.4f8758",
+ "type": "failure",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1172.0002746582031,
+ "y": 314.66671562194824,
+ "z": "e88d8790.e40a88",
+ "wires": [
+ [
+ "cbd5d689.1a5498"
+ ]
+ ]
+ },
+ {
+ "id": "cbd5d689.1a5498",
+ "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",
+ "wires": [
+ [
+ "62ad505f.ec2a7"
+ ]
+ ]
+ },
+ {
+ "id": "6185424.1fab4bc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1648.0000457763672,
+ "y": 115.6667308807373,
+ "z": "e88d8790.e40a88",
+ "wires": [
+ [
+ "4b12490e.744838",
+ "46571d5c.4c2cc4"
+ ]
+ ]
+ },
+ {
+ "id": "4b12490e.744838",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "62ad505f.ec2a7",
+ "type": "failure",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1555.0000457763672,
+ "y": 201.66671323776245,
+ "z": "e88d8790.e40a88",
+ "wires": [
+ [
+ "ea5444f.25ee6b8"
+ ]
+ ]
+ },
+ {
+ "id": "ea5444f.25ee6b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1662.000373840332,
+ "y": 316.6667175292969,
+ "z": "e88d8790.e40a88",
+ "wires": [
+ [
+ "e53b6d12.81629",
+ "46571d5c.4c2cc4"
+ ]
+ ]
+ },
+ {
+ "id": "e53b6d12.81629",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "46571d5c.4c2cc4",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "354a772d.176308",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 395.00008392333984,
+ "y": 383.00006103515625,
+ "z": "e88d8790.e40a88",
+ "wires": [
+ [
+ "e6acf72b.7c9cb8"
+ ]
+ ]
+ },
+ {
+ "id": "e6acf72b.7c9cb8",
+ "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",
+ "wires": [
+ [
+ "f712f649.f12c08",
+ "923ce51e.57a028",
+ "c5c820.b60e17e",
+ "483105b6.48928c"
+ ]
+ ]
+ },
+ {
+ "id": "f712f649.f12c08",
+ "type": "outcome",
+ "name": "reconfigure",
+ "xml": "<outcome value='reconfigure'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 770.0819129943848,
+ "y": 295.5779733657837,
+ "z": "e88d8790.e40a88",
+ "wires": [
+ [
+ "11cb4c01.d8bfb4"
+ ]
+ ]
+ },
+ {
+ "id": "11cb4c01.d8bfb4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 876.821662902832,
+ "y": 401.4286584854126,
+ "z": "e88d8790.e40a88",
+ "wires": [
+ [
+ "d5ab20c6.7ea2a"
+ ]
+ ]
+ },
+ {
+ "id": "576d3781.9a9898",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1065.6666793823242,
+ "y": 495.00002098083496,
+ "z": "e88d8790.e40a88",
+ "wires": [
+ [
+ "54c56245.8decbc",
+ "3f271e6d.820012",
+ "63e33a85.579ea4",
+ "73a45a34.62e664",
+ "38840452.4e55ac"
+ ]
+ ]
+ },
+ {
+ "id": "9d22435d.1120b",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "923ce51e.57a028",
+ "type": "outcome",
+ "name": "allocate",
+ "xml": "<outcome value='allocate'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 831.6667098999023,
+ "y": 462.3333568572998,
+ "z": "e88d8790.e40a88",
+ "wires": [
+ [
+ "576d3781.9a9898"
+ ]
+ ]
+ },
+ {
+ "id": "c5c820.b60e17e",
+ "type": "outcome",
+ "name": "modify-allocate",
+ "xml": "<outcome value='modify-allocate'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 821.3810653686523,
+ "y": 507.8333988189697,
+ "z": "e88d8790.e40a88",
+ "wires": [
+ [
+ "576d3781.9a9898"
+ ]
+ ]
+ },
+ {
+ "id": "483105b6.48928c",
+ "type": "outcome",
+ "name": "modify-deallocate",
+ "xml": "<outcome value='modify-deallocate'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 805.7381629943848,
+ "y": 572.9761924743652,
+ "z": "e88d8790.e40a88",
+ "wires": [
+ [
+ "576d3781.9a9898"
+ ]
+ ]
}
]
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 71020878..4298b541 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": "8ffffcfe.239d8",
+ "id": "485d59e5.0cda88",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceAllocate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 234.99999237060547,
- "y": 227.99998664855957,
- "z": "3782c339.10eaec",
+ "x": 481.00000762939453,
+ "y": 149.00003051757812,
+ "z": "d497934d.905b2",
"wires": [
[
- "ca27cc50.ca73c"
+ "e5e190e5.2445"
]
]
},
{
- "id": "81ee5273.a475",
+ "id": "8d396c16.b0445",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 98.99999237060547,
- "y": 20.999956130981445,
- "z": "3782c339.10eaec",
+ "x": 105.00000381469727,
+ "y": 54.00000286102295,
+ "z": "d497934d.905b2",
"wires": [
[
- "8b18750a.88a0d8"
+ "5cf54733.c52b58"
]
]
},
{
- "id": "8b18750a.88a0d8",
+ "id": "5cf54733.c52b58",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,5312 +38,6010 @@
"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": 289.9999809265137,
- "y": 136.00003814697266,
- "z": "3782c339.10eaec",
+ "x": 237.9999771118164,
+ "y": 151.00008392333984,
+ "z": "d497934d.905b2",
"wires": [
[
- "8ffffcfe.239d8"
+ "485d59e5.0cda88"
]
]
},
{
- "id": "d5a1c9be.da3568",
+ "id": "90eb3082.bdfb7",
"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": 282.4896049499512,
- "y": 1211.0002937316895,
- "z": "3782c339.10eaec",
+ "x": 166.48963165283203,
+ "y": 1092.0003213882446,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "1151eaa0.bfa095",
+ "id": "c1fc321c.024ad",
"type": "comment",
"name": "instantiateRANSliceAllocate",
"info": "",
"comments": "",
- "x": 513.9999961853027,
- "y": 68.01035690307617,
- "z": "3782c339.10eaec",
+ "x": 450.00000762939453,
+ "y": 91.01040267944336,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "cb6b991.813ad68",
+ "id": "4667742f.9a549c",
"type": "block",
"name": "Get NRT RIC Details",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1722.0001220703125,
- "y": 354.90967559814453,
- "z": "3782c339.10eaec",
+ "x": 1734.00004196167,
+ "y": 189.90970993041992,
+ "z": "d497934d.905b2",
"wires": [
[
- "476f74b5.c8e31c",
- "b937a1e6.235ad",
- "a83f2aad.26c2c8"
+ "d09decae.3d349",
+ "296ceb80.030474",
+ "5fdfff4c.fd28d"
]
]
},
{
- "id": "476f74b5.c8e31c",
+ "id": "d09decae.3d349",
"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": 2083.000087738037,
- "y": 300.90969467163086,
- "z": "3782c339.10eaec",
+ "x": 2095.0000076293945,
+ "y": 135.90972900390625,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "b937a1e6.235ad",
+ "id": "296ceb80.030474",
"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": 2080.000213623047,
- "y": 365.90966510772705,
- "z": "3782c339.10eaec",
+ "x": 2092.0001335144043,
+ "y": 200.90969944000244,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "a83f2aad.26c2c8",
+ "id": "5fdfff4c.fd28d",
"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": 2049.000312805176,
- "y": 443.909704208374,
- "z": "3782c339.10eaec",
+ "x": 2061.000232696533,
+ "y": 278.9097385406494,
+ "z": "d497934d.905b2",
"wires": [
[
- "426516a7.98c568",
- "311373b7.61618c"
+ "f253b309.cee53",
+ "2f879b04.e77bd4"
]
]
},
{
- "id": "426516a7.98c568",
+ "id": "f253b309.cee53",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2280.0001525878906,
- "y": 385.9096956253052,
- "z": "3782c339.10eaec",
+ "x": 2292.000072479248,
+ "y": 220.90972995758057,
+ "z": "d497934d.905b2",
"wires": [
[
- "1faa34da.9926bb"
+ "7eeb5346.ff3ffc"
]
]
},
{
- "id": "311373b7.61618c",
+ "id": "2f879b04.e77bd4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2277.0000915527344,
- "y": 484.90958404541016,
- "z": "3782c339.10eaec",
+ "x": 2289.000011444092,
+ "y": 319.90961837768555,
+ "z": "d497934d.905b2",
"wires": [
[
- "8bc0c94b.677228"
+ "6c17e47b.89f13c"
]
]
},
{
- "id": "1faa34da.9926bb",
+ "id": "7eeb5346.ff3ffc",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2485.0001945495605,
- "y": 334.9097366333008,
- "z": "3782c339.10eaec",
+ "x": 2497.000114440918,
+ "y": 169.90977096557617,
+ "z": "d497934d.905b2",
"wires": [
[
- "deb7fe95.dbda2",
- "abbbc074.ab645",
- "b8fa2a3a.504528"
+ "de7bc599.307bb8",
+ "7341a5a9.4e26ac",
+ "b92d963e.6a0b38"
]
]
},
{
- "id": "8bc0c94b.677228",
+ "id": "6c17e47b.89f13c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2425.999937057495,
- "y": 477.90971851348877,
- "z": "3782c339.10eaec",
+ "x": 2437.9998569488525,
+ "y": 312.90975284576416,
+ "z": "d497934d.905b2",
"wires": [
[
- "4f27e635.52ced8",
- "c335ce4f.8fff"
+ "795a8796.f4a458",
+ "9428533c.d2bfd"
]
]
},
{
- "id": "deb7fe95.dbda2",
+ "id": "de7bc599.307bb8",
"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": 2499.999828338623,
- "y": 420.90970182418823,
- "z": "3782c339.10eaec",
+ "x": 2511.9997482299805,
+ "y": 255.90973615646362,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "4f27e635.52ced8",
+ "id": "795a8796.f4a458",
"type": "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": 2556.9998359680176,
- "y": 474.9096908569336,
- "z": "3782c339.10eaec",
+ "x": 2567.999671936035,
+ "y": 312.9097366333008,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "abbbc074.ab645",
+ "id": "7341a5a9.4e26ac",
"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": 2598.9998931884766,
- "y": 260.0207767486572,
- "z": "3782c339.10eaec",
+ "x": 2610.999813079834,
+ "y": 95.02081108093262,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "c335ce4f.8fff",
+ "id": "9428533c.d2bfd",
"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": 2543.777976989746,
- "y": 531.9097156524658,
- "z": "3782c339.10eaec",
+ "x": 2555.7778968811035,
+ "y": 366.9097499847412,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "27f5ad6.e041d52",
+ "id": "e6804e03.ed15b",
"type": "for",
"name": "For ConfigDB Entries",
"xml": "<for index='id1' start='0' end=\"`$getRIC-configdb-response._length`\" >",
"comments": "",
"outputs": 1,
- "x": 1307.000087738037,
- "y": 1955.0106010437012,
- "z": "3782c339.10eaec",
+ "x": 1247.0000953674316,
+ "y": 2010.0106449127197,
+ "z": "d497934d.905b2",
"wires": [
[
- "e012aa42.d0aa48",
- "9ce9f7b1.bfdc98",
- "eeaffd3b.bd34e",
- "d0463c5f.aa435",
- "ebf82221.c4be3",
- "97ac0173.5eb49",
- "8abf64e1.c38d08",
- "e31edffc.384aa"
+ "71e48607.276018",
+ "775eb5c2.b530ec",
+ "ee18890d.8ce5a8",
+ "aed9de5.eac592",
+ "de928869.c1e7e8",
+ "f35c6ba5.f93758",
+ "bfec1f07.2c26",
+ "37a324f6.ef491c"
]
]
},
{
- "id": "e012aa42.d0aa48",
+ "id": "71e48607.276018",
"type": "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": 1751.000072479248,
- "y": 1221.0106410980225,
- "z": "3782c339.10eaec",
+ "x": 1621.000228881836,
+ "y": 800.0106105804443,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "ca27cc50.ca73c",
+ "id": "e5e190e5.2445",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 241.99996185302734,
- "y": 356.01035594940186,
- "z": "3782c339.10eaec",
+ "x": 115.9999771118164,
+ "y": 271.0104064941406,
+ "z": "d497934d.905b2",
"wires": [
[
- "cb6b991.813ad68",
- "e2e4c3ff.64ab8",
- "93365ab1.b37818",
- "d5a1c9be.da3568"
+ "4667742f.9a549c",
+ "73a929cf.e540f8",
+ "41d38e93.237d",
+ "90eb3082.bdfb7"
]
]
},
{
- "id": "e2e4c3ff.64ab8",
+ "id": "73a929cf.e540f8",
"type": "block",
"name": "Instantiate RAN Slice",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1299.0000076293945,
- "y": 707.0104222297668,
- "z": "3782c339.10eaec",
+ "x": 1244.999927520752,
+ "y": 562.0104413032532,
+ "z": "d497934d.905b2",
"wires": [
[
- "27f5ad6.e041d52",
- "4af9dc76.4f1b24"
+ "e6804e03.ed15b",
+ "d26df034.d92bd"
]
]
},
{
- "id": "9ce9f7b1.bfdc98",
+ "id": "775eb5c2.b530ec",
"type": "block",
"name": "DU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1883.0000305175781,
- "y": 5698.010556459427,
- "z": "3782c339.10eaec",
+ "x": 1823.0000381469727,
+ "y": 5753.010600328445,
+ "z": "d497934d.905b2",
"wires": [
[
- "6f1ee7ad.efc838",
- "8d5f964b.a55fb8",
- "4e7b0759.2593f8",
- "841bda4b.d75108",
- "e5dbe85b.c85da8"
+ "ee7fcf76.8a1d4",
+ "8649c947.63a348",
+ "da0ec9cf.833058",
+ "6ec89fec.356c3"
]
]
},
{
- "id": "f128051e.58f4d8",
+ "id": "6304e0d0.83f86",
"type": "block",
"name": "Add RRM Policy Ratio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3583.000129699707,
- "y": 7311.010218858719,
- "z": "3782c339.10eaec",
+ "x": 3486.0004272460938,
+ "y": 7062.010467529297,
+ "z": "d497934d.905b2",
"wires": [
[
- "f92c8b41.45f4e8",
- "48f711b6.52ba5",
- "eb0cbf13.2b4a7",
- "408bc3c7.9fed7c",
- "b84a347c.bcaf78",
- "238176b8.bc9faa",
- "a5f17d01.d362b"
+ "195d2f2f.be9951",
+ "2afd6c1f.fb0e54",
+ "e3458dd5.13749",
+ "134027b6.de0508",
+ "6adc30f.1164dd",
+ "8372b7e0.afc528",
+ "7390b922.c69db8"
]
]
},
{
- "id": "ec453503.1d9da8",
+ "id": "3a1f345d.50b78c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3639.0002517700195,
- "y": 6539.010512590408,
- "z": "3782c339.10eaec",
+ "x": 3531.0007553100586,
+ "y": 6390.0107707977295,
+ "z": "d497934d.905b2",
"wires": [
[
- "9c28c302.efd26",
- "34ee5e89.d232d2"
+ "f6374f5e.63374",
+ "d30a623e.71f3c"
]
]
},
{
- "id": "9c28c302.efd26",
+ "id": "f6374f5e.63374",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3834.0002784729004,
- "y": 6499.010420084,
- "z": "3782c339.10eaec",
+ "x": 3774.0008392333984,
+ "y": 6394.010772705078,
+ "z": "d497934d.905b2",
"wires": [
[
- "786840fe.a48bd"
+ "e7036da1.771ac"
]
]
},
{
- "id": "34ee5e89.d232d2",
+ "id": "d30a623e.71f3c",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3814.0002517700195,
- "y": 6578.010511636734,
- "z": "3782c339.10eaec",
+ "x": 3759.0008392333984,
+ "y": 6468.010774612427,
+ "z": "d497934d.905b2",
"wires": [
[
- "8c90bcbc.0d091"
+ "e5d65992.46a118"
]
]
},
{
- "id": "8d5f964b.a55fb8",
+ "id": "8649c947.63a348",
"type": "for",
"name": "For DUList Entries",
"xml": "<for index='id2' start='0' end='`$tmp.DUListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 2213.000011444092,
- "y": 5927.010699272156,
- "z": "3782c339.10eaec",
+ "x": 1923.0004196166992,
+ "y": 6067.010595321655,
+ "z": "d497934d.905b2",
"wires": [
[
- "763f2d90.31c814",
- "1920111.78a1cef",
- "fc4e6983.9b8a78",
- "a532edae.e356f",
- "864ccc1f.7689",
- "862bddc0.5e5c4"
+ "d9681003.6bc88"
]
]
},
{
- "id": "6f1ee7ad.efc838",
+ "id": "ee7fcf76.8a1d4",
"type": "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": 3345.000087738037,
- "y": 5734.010356903076,
- "z": "3782c339.10eaec",
+ "x": 2116.0005950927734,
+ "y": 5449.011382102966,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "4e7b0759.2593f8",
+ "id": "da0ec9cf.833058",
"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": 3397.000087738037,
- "y": 5677.010356903076,
- "z": "3782c339.10eaec",
+ "x": 2118.0003509521484,
+ "y": 5383.012358665466,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "ff9071bd.eb736",
+ "id": "bca0cc65.5bc22",
"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": 3985.999870300293,
- "y": 5915.010561704636,
- "z": "3782c339.10eaec",
+ "x": 3895.999786376953,
+ "y": 5888.010704755783,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "763f2d90.31c814",
+ "id": "f08b352c.597cb8",
"type": "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": 3599.000026702881,
- "y": 6092.010374546051,
- "z": "3782c339.10eaec",
+ "x": 3494.000102996826,
+ "y": 6004.010595321655,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "1920111.78a1cef",
+ "id": "feb69365.3be17",
"type": "block",
"name": "cellDUList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3615.000045776367,
- "y": 6049.010571479797,
- "z": "3782c339.10eaec",
+ "x": 3519.000099182129,
+ "y": 5943.010594367981,
+ "z": "d497934d.905b2",
"wires": [
[
- "ff9071bd.eb736",
- "c1a95f6c.46e6e",
- "c8445011.36983",
- "eaa549c6.a5dfa8",
- "6704aa8c.643f74",
- "5a8131ae.e6a72",
- "f1b2da38.210a28"
+ "bca0cc65.5bc22",
+ "7015e6fc.e07938",
+ "dd21f0a7.2862f",
+ "e82c468a.47e0a8",
+ "2fbf8436.3491bc",
+ "fb50e079.8b312",
+ "2829190e.69f956"
]
]
},
{
- "id": "c1a95f6c.46e6e",
+ "id": "7015e6fc.e07938",
"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": 4015.000011444092,
- "y": 5953.0102796554565,
- "z": "3782c339.10eaec",
+ "x": 3924.999927520752,
+ "y": 5926.010422706604,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "c8445011.36983",
+ "id": "dd21f0a7.2862f",
"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": 4014.000026702881,
- "y": 5992.010281562805,
- "z": "3782c339.10eaec",
+ "x": 3923.999942779541,
+ "y": 5965.010424613953,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "eaa549c6.a5dfa8",
+ "id": "e82c468a.47e0a8",
"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": 3994,
- "y": 6030.010296821594,
- "z": "3782c339.10eaec",
+ "x": 3903.99991607666,
+ "y": 6003.010439872742,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "6704aa8c.643f74",
+ "id": "2fbf8436.3491bc",
"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": 4009.0000076293945,
- "y": 6078.010025978088,
- "z": "3782c339.10eaec",
+ "x": 3918.9999237060547,
+ "y": 6051.010169029236,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "5a8131ae.e6a72",
+ "id": "fb50e079.8b312",
"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": 3980.000087738037,
- "y": 6155.010356903076,
- "z": "3782c339.10eaec",
+ "x": 3890.0000038146973,
+ "y": 6128.010499954224,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "fc4e6983.9b8a78",
+ "id": "b7a23ac6.e2c748",
"type": "for",
"name": "For List of Cells",
"xml": "<for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 3379.9902305603027,
- "y": 6164.010812759399,
- "z": "3782c339.10eaec",
+ "x": 2346.991050720215,
+ "y": 6040.010706424713,
+ "z": "d497934d.905b2",
"wires": [
[
- "77234e.6fd94cb4",
- "44981318.e2d07c",
- "36ee8375.dd7dbc",
- "c047063f.881ee8"
+ "6488de89.26e7d"
]
]
},
{
- "id": "77234e.6fd94cb4",
+ "id": "7ff7497.13117b8",
"type": "block",
"name": "pLMNInfoList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3820.989875793457,
- "y": 6272.010321855545,
- "z": "3782c339.10eaec",
+ "x": 3665.989959716797,
+ "y": 6163.010828495026,
+ "z": "d497934d.905b2",
"wires": [
[
- "c8fce069.c2ac9",
- "f26db8b7.683ea8"
+ "67285baf.837344",
+ "ffcbf330.dba21"
]
]
},
{
- "id": "c8fce069.c2ac9",
+ "id": "67285baf.837344",
"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[' + $id3 + '].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 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 4074.9898223876953,
- "y": 6208.010224342346,
- "z": "3782c339.10eaec",
+ "x": 3986.989616394043,
+ "y": 6189.010436475277,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "44981318.e2d07c",
+ "id": "ffa3833e.e9956",
"type": "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 \"/>\n<parameter name=\"field4\" value=\"`$tmp.cellLocalId`\"/>",
+ "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": 3772.989875793457,
- "y": 6316.010321855545,
- "z": "3782c339.10eaec",
+ "x": 3676.989959716797,
+ "y": 6215.011194229126,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "36ee8375.dd7dbc",
+ "id": "48f24fa1.aac44",
"type": "for",
"name": "For pLMNInfoListEntries",
"xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3803.989875793457,
- "y": 6414.010321855545,
- "z": "3782c339.10eaec",
+ "x": 3734.9900970458984,
+ "y": 6337.011419296265,
+ "z": "d497934d.905b2",
"wires": [
[
- "36670f4c.3fe99"
+ "b99db659.aa2958"
]
]
},
{
- "id": "a532edae.e356f",
+ "id": "ddde50d5.41b19",
"type": "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": 3551.9896087646484,
- "y": 6130.0103759765625,
- "z": "3782c339.10eaec",
+ "x": 3445.9896850585938,
+ "y": 6062.010597229004,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "36670f4c.3fe99",
+ "id": "b99db659.aa2958",
"type": "block",
"name": "pLMNInfoList Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4023.989875793457,
- "y": 6410.010321855545,
- "z": "3782c339.10eaec",
+ "x": 3975.9897842407227,
+ "y": 6331.011419296265,
+ "z": "d497934d.905b2",
"wires": [
[
- "c19c76a5.d21f48",
- "476f4766.8505c8"
+ "11a6c9.a4d2e937",
+ "89befed1.de692"
]
]
},
{
- "id": "c19c76a5.d21f48",
+ "id": "11a6c9.a4d2e937",
"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'`\" />",
+ "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": 4195.989875793457,
- "y": 6363.010321855545,
- "z": "3782c339.10eaec",
+ "x": 4138.989540100098,
+ "y": 6275.010767459869,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "34157188.a8d1ce",
+ "id": "e11b3cb1.4dc68",
"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": 3875.989875793457,
- "y": 6365.010321855545,
- "z": "3782c339.10eaec",
+ "x": 3776.989959716797,
+ "y": 6289.011194229126,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "476f4766.8505c8",
+ "id": "89befed1.de692",
"type": "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": 4200.989875793457,
- "y": 6430.010321855545,
- "z": "3782c339.10eaec",
+ "x": 4159.989543914795,
+ "y": 6353.0107707977295,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "eeaffd3b.bd34e",
+ "id": "ee18890d.8ce5a8",
"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": 1675.9895133972168,
- "y": 998.0105266571045,
- "z": "3782c339.10eaec",
+ "x": 1587.9897003173828,
+ "y": 622.0105800628662,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "f26db8b7.683ea8",
+ "id": "ffcbf330.dba21",
"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[' + $id3 + '].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": 4045.989875793457,
- "y": 6294.010321855545,
- "z": "3782c339.10eaec",
+ "x": 3963.9897842407227,
+ "y": 6253.010601043701,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "752aacd4.5ca354",
+ "id": "268a7e6f.8b8e82",
"type": "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": 3983.0011024475098,
- "y": 6864.3438885211945,
- "z": "3782c339.10eaec",
+ "x": 3911.0014991760254,
+ "y": 6825.3441162109375,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "723405eb.74705c",
+ "id": "e3cfe875.384318",
"type": "block",
"name": "Add PLMNInfoList Entry",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3656.000045776367,
- "y": 6752.3543655872345,
- "z": "3782c339.10eaec",
+ "x": 3502.000747680664,
+ "y": 6496.354523658752,
+ "z": "d497934d.905b2",
"wires": [
[
- "752aacd4.5ca354",
- "cf4fccea.d5737",
- "892ba27c.8fc02",
- "1199a1c2.a2ddde",
- "7bcc4dc7.8037f4",
- "b67da5b8.9a7b68",
- "ec453503.1d9da8",
- "c829f59e.a69468"
+ "268a7e6f.8b8e82",
+ "822215a9.455248",
+ "67713a05.397004",
+ "9af72e35.6f7c3",
+ "7abe330e.f5f57c",
+ "495ecb52.e5edd4",
+ "3a1f345d.50b78c",
+ "b58e6ce1.e1a25"
]
]
},
{
- "id": "c829f59e.a69468",
+ "id": "b58e6ce1.e1a25",
"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": 4060.000373840332,
- "y": 6942.3541939258575,
- "z": "3782c339.10eaec",
+ "x": 3994.0008392333984,
+ "y": 6916.354536056519,
+ "z": "d497934d.905b2",
"wires": [
[
- "fbdfe66c.e0f1d8",
- "e9f50348.c4d7e"
+ "526328c3.b52fc8",
+ "6554e2fd.6cc4dc"
]
]
},
{
- "id": "cf4fccea.d5737",
+ "id": "822215a9.455248",
"type": "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": 4011.0002212524414,
- "y": 6809.354264497757,
- "z": "3782c339.10eaec",
+ "x": 3912.000846862793,
+ "y": 6766.354530334473,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "786840fe.a48bd",
+ "id": "e7036da1.771ac",
"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": 4119.000289916992,
- "y": 6497.010644197464,
- "z": "3782c339.10eaec",
+ "x": 4045.000846862793,
+ "y": 6396.010772228241,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "892ba27c.8fc02",
+ "id": "67713a05.397004",
"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": 4000.9899978637695,
- "y": 6635.010391950607,
- "z": "3782c339.10eaec",
+ "x": 3880.990432739258,
+ "y": 6553.010776042938,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "1199a1c2.a2ddde",
+ "id": "9af72e35.6f7c3",
"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": 3988.9899940490723,
- "y": 6681.010452985764,
- "z": "3782c339.10eaec",
+ "x": 3889.990432739258,
+ "y": 6602.01077747345,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "7bcc4dc7.8037f4",
+ "id": "7abe330e.f5f57c",
"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": 3975.989995956421,
- "y": 6722.010514497757,
- "z": "3782c339.10eaec",
+ "x": 3890.990432739258,
+ "y": 6652.010778427124,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "b67da5b8.9a7b68",
+ "id": "495ecb52.e5edd4",
"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": 3983.9899940490723,
- "y": 6763.0103924274445,
- "z": "3782c339.10eaec",
+ "x": 3934.990432739258,
+ "y": 6711.010780334473,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "fbdfe66c.e0f1d8",
+ "id": "526328c3.b52fc8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4352.000373840332,
- "y": 6870.3436958789825,
- "z": "3782c339.10eaec",
+ "x": 4292.000579833984,
+ "y": 6853.343793869019,
+ "z": "d497934d.905b2",
"wires": [
[
- "6504029.ef07ffc"
+ "a6366722.5d36c8"
]
]
},
{
- "id": "e9f50348.c4d7e",
+ "id": "6554e2fd.6cc4dc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4397.0002517700195,
- "y": 6968.3436958789825,
- "z": "3782c339.10eaec",
+ "x": 4331.000694274902,
+ "y": 6937.3438041210175,
+ "z": "d497934d.905b2",
"wires": [
[
- "f60eda33.61ce28"
+ "6bf34351.b75adc"
]
]
},
{
- "id": "6504029.ef07ffc",
+ "id": "a6366722.5d36c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4614.000270843506,
- "y": 6755.343777656555,
- "z": "3782c339.10eaec",
+ "x": 4554.000476837158,
+ "y": 6738.343875646591,
+ "z": "d497934d.905b2",
"wires": [
[
- "2c0279b9.8d34e6",
- "b8fa2a3a.504528"
+ "16ec19b7.3bca56",
+ "b92d963e.6a0b38"
]
]
},
{
- "id": "f60eda33.61ce28",
+ "id": "6bf34351.b75adc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4577.0000076293945,
- "y": 6965.3436958789825,
- "z": "3782c339.10eaec",
+ "x": 4513.000205993652,
+ "y": 6892.3438041210175,
+ "z": "d497934d.905b2",
"wires": [
[
- "4b109522.eda6ac"
+ "6ace4030.377a4"
]
]
},
{
- "id": "2c0279b9.8d34e6",
+ "id": "16ec19b7.3bca56",
"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": 4779.000270843506,
- "y": 6838.344265937805,
- "z": "3782c339.10eaec",
+ "x": 4719.000476837158,
+ "y": 6821.344363927841,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "4b109522.eda6ac",
+ "id": "6ace4030.377a4",
"type": "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": 4726.000228881836,
- "y": 6996.34406208992,
- "z": "3782c339.10eaec",
+ "x": 4680.000205993652,
+ "y": 6903.3442924022675,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "9a4c8dfb.22596",
+ "id": "460e3475.12998c",
"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": 4313.989990234375,
- "y": 6547.010641336441,
- "z": "3782c339.10eaec",
+ "x": 4205.990196228027,
+ "y": 6455.010773658752,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "8c90bcbc.0d091",
+ "id": "e5d65992.46a118",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4006.989902496338,
- "y": 6573.010511636734,
- "z": "3782c339.10eaec",
+ "x": 3922.990104675293,
+ "y": 6457.01077413559,
+ "z": "d497934d.905b2",
"wires": [
[
- "9a4c8dfb.22596",
- "50f9308c.f91bd"
+ "460e3475.12998c",
+ "6fb89399.51a6bc"
]
]
},
{
- "id": "50f9308c.f91bd",
+ "id": "6fb89399.51a6bc",
"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": 4248.989936828613,
- "y": 6607.010450601578,
- "z": "3782c339.10eaec",
+ "x": 4169.990196228027,
+ "y": 6512.010774612427,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "94a07ab.3e81688",
+ "id": "e18e00d7.df91e",
"type": "comment",
"name": "Connect to AddPLMNInfoList Entry",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3987.9896926879883,
- "y": 6903.343610048294,
- "z": "3782c339.10eaec",
+ "x": 3932.990104675293,
+ "y": 6876.344117164612,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "f92c8b41.45f4e8",
+ "id": "195d2f2f.be9951",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3842.9896926879883,
- "y": 7060.676984071732,
- "z": "3782c339.10eaec",
+ "x": 3784.989845275879,
+ "y": 7025.677309036255,
+ "z": "d497934d.905b2",
"wires": [
[
- "7ebde91e.377e08",
- "6ccb303.b4585d"
+ "45eae77b.2d7ee8",
+ "3681f2d5.35a79e"
]
]
},
{
- "id": "7ebde91e.377e08",
+ "id": "45eae77b.2d7ee8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4037.989719390869,
- "y": 7020.676891565323,
- "z": "3782c339.10eaec",
+ "x": 3979.9898719787598,
+ "y": 6985.677216529846,
+ "z": "d497934d.905b2",
"wires": [
[
- "2a70b470.6d770c"
+ "23c3b850.56c468"
]
]
},
{
- "id": "6ccb303.b4585d",
+ "id": "3681f2d5.35a79e",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4017.9896926879883,
- "y": 7099.676983118057,
- "z": "3782c339.10eaec",
+ "x": 3959.989845275879,
+ "y": 7064.677308082581,
+ "z": "d497934d.905b2",
"wires": [
[
- "a7157644.9ee8a8"
+ "c1e5d096.06911"
]
]
},
{
- "id": "238176b8.bc9faa",
+ "id": "8372b7e0.afc528",
"type": "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": 4002.9905853271484,
- "y": 7375.010406255722,
- "z": "3782c339.10eaec",
+ "x": 3932.9910163879395,
+ "y": 7307.010633468628,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "a5f17d01.d362b",
+ "id": "2d33d6f.3d71c2a",
"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": 4056.989906311035,
- "y": 7521.020846128464,
- "z": "3782c339.10eaec",
+ "x": 3996.9899139404297,
+ "y": 7576.020889997482,
+ "z": "d497934d.905b2",
"wires": [
[
- "431cc7d1.f4c0d8",
- "32907c62.dc62d4"
+ "262c6360.07351c"
]
]
},
{
- "id": "b84a347c.bcaf78",
+ "id": "6adc30f.1164dd",
"type": "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": 3992.9896545410156,
- "y": 7316.020558595657,
- "z": "3782c339.10eaec",
+ "x": 3923.9897117614746,
+ "y": 7257.021048545837,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "2a70b470.6d770c",
+ "id": "23c3b850.56c468",
"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": 4323.989685058594,
- "y": 7018.676964998245,
- "z": "3782c339.10eaec",
+ "x": 4265.989837646484,
+ "y": 6983.677289962769,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "48f711b6.52ba5",
+ "id": "2afd6c1f.fb0e54",
"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": 4033.9794692993164,
- "y": 7169.6769688129425,
- "z": "3782c339.10eaec",
+ "x": 3957.979621887207,
+ "y": 7118.677293777466,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "eb0cbf13.2b4a7",
+ "id": "e3458dd5.13749",
"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": 4021.979465484619,
- "y": 7215.677029848099,
- "z": "3782c339.10eaec",
+ "x": 3950.979621887207,
+ "y": 7172.677295684814,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "408bc3c7.9fed7c",
+ "id": "134027b6.de0508",
"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": 4008.979467391968,
- "y": 7256.677091360092,
- "z": "3782c339.10eaec",
+ "x": 3929.979621887207,
+ "y": 7209.677297592163,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "431cc7d1.f4c0d8",
+ "id": "9afab0d6.63cab",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4384.989845275879,
- "y": 7405.010272741318,
- "z": "3782c339.10eaec",
+ "x": 4332.989723205566,
+ "y": 7323.010634422302,
+ "z": "d497934d.905b2",
"wires": [
[
- "8c2605fb.c8e6f8"
+ "45f8a9f3.164f88"
]
]
},
{
- "id": "32907c62.dc62d4",
+ "id": "262c6360.07351c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4393.989784240723,
- "y": 7547.010348081589,
- "z": "3782c339.10eaec",
+ "x": 4333.989791870117,
+ "y": 7602.010391950607,
+ "z": "d497934d.905b2",
"wires": [
[
- "2f88a123.4d86de"
+ "f6c6af2a.2de24"
]
]
},
{
- "id": "8c2605fb.c8e6f8",
+ "id": "45f8a9f3.164f88",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5018.989650726318,
- "y": 7374.010281562805,
- "z": "3782c339.10eaec",
+ "x": 4702.9897537231445,
+ "y": 7271.01025390625,
+ "z": "d497934d.905b2",
"wires": [
[
- "259ea10d.3b096e",
- "b8fa2a3a.504528"
+ "933ba440.78bac8",
+ "b92d963e.6a0b38"
]
]
},
{
- "id": "2f88a123.4d86de",
+ "id": "f6c6af2a.2de24",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4573.989540100098,
- "y": 7544.010348081589,
- "z": "3782c339.10eaec",
+ "x": 4513.989547729492,
+ "y": 7599.010391950607,
+ "z": "d497934d.905b2",
"wires": [
[
- "e68949d9.581098"
+ "55334e62.47bc5"
]
]
},
{
- "id": "259ea10d.3b096e",
+ "id": "933ba440.78bac8",
"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": 5204.989513397217,
- "y": 7437.010485649109,
- "z": "3782c339.10eaec",
+ "x": 4824.9897537231445,
+ "y": 7326.0107421875,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "e68949d9.581098",
+ "id": "55334e62.47bc5",
"type": "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": 4722.989841461182,
- "y": 7570.010540723801,
- "z": "3782c339.10eaec",
+ "x": 4662.989849090576,
+ "y": 7625.010584592819,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "169dbbf0.b46614",
+ "id": "de32e030.969f2",
"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": 4515.979400634766,
- "y": 7066.677274942398,
- "z": "3782c339.10eaec",
+ "x": 4457.979553222656,
+ "y": 7031.677599906921,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "a7157644.9ee8a8",
+ "id": "c1e5d096.06911",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4210.979343414307,
- "y": 7094.676983118057,
- "z": "3782c339.10eaec",
+ "x": 4152.979496002197,
+ "y": 7059.677308082581,
+ "z": "d497934d.905b2",
"wires": [
[
- "169dbbf0.b46614",
- "c81614f3.74ed48"
+ "de32e030.969f2",
+ "5b32088a.6f3dd8"
]
]
},
{
- "id": "c81614f3.74ed48",
+ "id": "5b32088a.6f3dd8",
"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": 4452.979377746582,
- "y": 7128.676922082901,
- "z": "3782c339.10eaec",
+ "x": 4394.979530334473,
+ "y": 7093.677247047424,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "69a0280d.dd59e8",
+ "id": "c028c0b6.3e82e",
"type": "comment",
"name": "Connect to RRM P{olicy Ratio",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 4020.979164123535,
- "y": 7438.010186910629,
- "z": "3782c339.10eaec",
+ "x": 3990.9799423217773,
+ "y": 7349.010633945465,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "841bda4b.d75108",
+ "id": "6ec89fec.356c3",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3295.000087738037,
- "y": 5872.687602996826,
- "z": "3782c339.10eaec",
+ "x": 2161.000289916992,
+ "y": 5578.689361572266,
+ "z": "d497934d.905b2",
"wires": [
[
- "4e76c2d1.53803c",
- "8305619e.01842"
+ "e55f600e.8bfe9",
+ "2f1529ef.cd1e36",
+ "a23b0f22.80419",
+ "3734ae81.e94062",
+ "19f19028.622a5",
+ "255fdc18.108bc4",
+ "1cd94a41.d15706",
+ "5ce82acb.805884",
+ "20b95cc1.ef7f24",
+ "c3e2d57f.a357c8",
+ "432c2b41.ac7a94"
]
]
},
{
- "id": "f1b2da38.210a28",
+ "id": "2829190e.69f956",
"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": 3983.0000610351562,
- "y": 6114.010273933411,
- "z": "3782c339.10eaec",
+ "x": 3892.9999771118164,
+ "y": 6087.010416984558,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "97abefc4.6dfec",
+ "id": "2ccf6ad5.30cf26",
"type": "set",
"name": "set rrmPolicyDedicatedRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='10' />",
"comments": "",
- "x": 3970.0000915527344,
- "y": 5819.1316928863525,
- "z": "3782c339.10eaec",
+ "x": 3880.0000076293945,
+ "y": 5792.1318359375,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "b18dc5af.77f928",
+ "id": "79b1eafb.3584c4",
"type": "set",
"name": "set rrmPolicyDedicatedRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='20' />",
"comments": "",
- "x": 3963.000015258789,
- "y": 5866.1316595077515,
- "z": "3782c339.10eaec",
+ "x": 3872.999931335449,
+ "y": 5839.131802558899,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "4e76c2d1.53803c",
+ "id": "e55f600e.8bfe9",
"type": "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`\"/>",
+ "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": 3564.0001220703125,
- "y": 5932.131814002991,
- "z": "3782c339.10eaec",
+ "x": 2294.0001068115234,
+ "y": 5887.132964134216,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "d0463c5f.aa435",
+ "id": "aed9de5.eac592",
"type": "block",
"name": "CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1803.9895324707031,
- "y": 1927.3437700271606,
- "z": "3782c339.10eaec",
+ "x": 1601.9895095825195,
+ "y": 1982.3438720703125,
+ "z": "d497934d.905b2",
"wires": [
[
- "87fc4f17.59964",
- "5699a4d9.62a99c",
- "553bf509.67b0ac",
- "6bab883.4f4f178"
+ "1bbe11d0.1570be",
+ "7c73631a.b97c5c",
+ "d9feed5.97bfd1",
+ "5ec4d4ff.08ef3c"
]
]
},
{
- "id": "5d5aa187.76c5a",
+ "id": "b7f242b0.c99ec",
"type": "block",
"name": "Add RRM Policy Ratio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3133.9896812438965,
- "y": 3026.3438596725464,
- "z": "3782c339.10eaec",
+ "x": 3073.989688873291,
+ "y": 3081.343903541565,
+ "z": "d497934d.905b2",
"wires": [
[
- "d8734664.5cbc98",
- "4d0eaa3.9f50a54",
- "f297d5a.9107528",
- "f11b40a.c13a5c",
- "f2ab0eeb.af28e",
- "e722a5a4.d94328",
- "60590114.37a63"
+ "8ae32e22.93b21",
+ "b29f5b73.297458",
+ "30e0e8f8.8b19e8",
+ "dbaf76b3.c55888",
+ "f2533c31.135a",
+ "69823b70.6eec94",
+ "542273f4.1abf4c"
]
]
},
{
- "id": "5245cbbf.5fdc24",
+ "id": "2869252b.c4e08a",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3146.9896812438965,
- "y": 2288.3441638946533,
- "z": "3782c339.10eaec",
+ "x": 3086.989688873291,
+ "y": 2343.344207763672,
+ "z": "d497934d.905b2",
"wires": [
[
- "60d03ce0.3dd2b4",
- "5a1524d1.a7809c"
+ "713c77dd.dd8288",
+ "80559bb2.817648"
]
]
},
{
- "id": "60d03ce0.3dd2b4",
+ "id": "713c77dd.dd8288",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3336.98966217041,
- "y": 2258.3439474105835,
- "z": "3782c339.10eaec",
+ "x": 3276.9896697998047,
+ "y": 2313.343991279602,
+ "z": "d497934d.905b2",
"wires": [
[
- "46453804.743d98"
+ "6410fafe.aa4124"
]
]
},
{
- "id": "5a1524d1.a7809c",
+ "id": "80559bb2.817648",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3316.9896354675293,
- "y": 2337.344038963318,
- "z": "3782c339.10eaec",
+ "x": 3256.989643096924,
+ "y": 2392.3440828323364,
+ "z": "d497934d.905b2",
"wires": [
[
- "d0676bf.1adb398"
+ "f4ba2ec5.4ecea"
]
]
},
{
- "id": "5699a4d9.62a99c",
+ "id": "7c73631a.b97c5c",
"type": "for",
"name": "For CUCPList Entries",
"xml": "<for index='id2' start='0' end='`$tmp.CUCPListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 2037.989589691162,
- "y": 1956.3439750671387,
- "z": "3782c339.10eaec",
+ "x": 1871.989501953125,
+ "y": 1977.343994140625,
+ "z": "d497934d.905b2",
"wires": [
[
- "469c956d.80851c",
- "ed10fa1c.a41b48",
- "365aa629.3947fa",
- "50091c01.686f04",
- "f1a802f3.e7801",
- "f6cf0566.75b7c8"
+ "198ec35f.11fc9d",
+ "a641ea09.f154a8",
+ "b5416b52.145cb8",
+ "ecea00c1.1a24c",
+ "4c529776.696d88",
+ "3bbd0319.fa4bac"
]
]
},
{
- "id": "87fc4f17.59964",
+ "id": "1bbe11d0.1570be",
"type": "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": 2028.989616394043,
- "y": 1642.343768119812,
- "z": "3782c339.10eaec",
+ "x": 1786.9896354675293,
+ "y": 1885.344129562378,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "553bf509.67b0ac",
+ "id": "d9feed5.97bfd1",
"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": 2037.9896202087402,
- "y": 1585.3436460494995,
- "z": "3782c339.10eaec",
+ "x": 1741.989631652832,
+ "y": 1847.343641281128,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "a5c488ee.60f278",
+ "id": "bb04b35a.8f89f",
"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": 2684.9893760681152,
- "y": 1750.3439512252808,
- "z": "3782c339.10eaec",
+ "x": 2551.989288330078,
+ "y": 1695.3442499637604,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "469c956d.80851c",
+ "id": "198ec35f.11fc9d",
"type": "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": 2301.9898262023926,
- "y": 1933.3440265655518,
- "z": "3782c339.10eaec",
+ "x": 2169.989715576172,
+ "y": 1850.344069480896,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "ed10fa1c.a41b48",
+ "id": "a641ea09.f154a8",
"type": "block",
"name": "cellCUCPList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2350.9896202087402,
- "y": 1881.3438901901245,
- "z": "3782c339.10eaec",
+ "x": 2218.9895095825195,
+ "y": 1798.3439331054688,
+ "z": "d497934d.905b2",
"wires": [
[
- "a5c488ee.60f278",
- "928b8072.7cea7",
- "26db38b3.5a1f28",
- "83d5ba6f.86db58",
- "a1b8dc09.ca6",
- "54f18c03.3df684"
+ "bb04b35a.8f89f",
+ "1ff92341.4cb28d",
+ "46d10bff.8c6bc4",
+ "40cb6034.85fcb",
+ "5d6ecab7.8bd5f4",
+ "4f1bff77.b8f89"
]
]
},
{
- "id": "928b8072.7cea7",
+ "id": "1ff92341.4cb28d",
"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": 2712.9894371032715,
- "y": 1821.3438301086426,
- "z": "3782c339.10eaec",
+ "x": 2580.989326477051,
+ "y": 1738.3438730239868,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "26db38b3.5a1f28",
+ "id": "46d10bff.8c6bc4",
"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": 2727.9897384643555,
- "y": 1870.343952178955,
- "z": "3782c339.10eaec",
+ "x": 2595.9896278381348,
+ "y": 1787.3439950942993,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "83d5ba6f.86db58",
+ "id": "40cb6034.85fcb",
"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": 2753.9896202087402,
- "y": 1919.3440732955933,
- "z": "3782c339.10eaec",
+ "x": 2621.9895095825195,
+ "y": 1836.3441162109375,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "a1b8dc09.ca6",
+ "id": "5d6ecab7.8bd5f4",
"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": 2766.9896202087402,
- "y": 2011.343952178955,
- "z": "3782c339.10eaec",
+ "x": 2634.9895095825195,
+ "y": 1928.3439950942993,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "365aa629.3947fa",
+ "id": "b5416b52.145cb8",
"type": "for",
"name": "For List of Cells ",
"xml": "<for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 2382.9795722961426,
- "y": 2442.34387922287,
- "z": "3782c339.10eaec",
+ "x": 2294.9794998168945,
+ "y": 2207.343994140625,
+ "z": "d497934d.905b2",
"wires": [
[
- "17808f07.373cf1",
- "67d51f42.c8718"
+ "d34a49e6.30e3b8",
+ "b31de071.d9ec2"
]
]
},
{
- "id": "3bce4f59.1d2eb",
+ "id": "bb7962a6.f1f59",
"type": "block",
"name": "pLMNInfoList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3308.9792442321777,
- "y": 2017.343858718872,
- "z": "3782c339.10eaec",
+ "x": 3248.9792518615723,
+ "y": 2072.3439025878906,
+ "z": "d497934d.905b2",
"wires": [
[
- "5eaee4a7.15673c"
+ "c4192b94.7e3178"
]
]
},
{
- "id": "5eaee4a7.15673c",
+ "id": "c4192b94.7e3178",
"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": 3573.979259490967,
- "y": 1995.343849182129,
- "z": "3782c339.10eaec",
+ "x": 3513.9792671203613,
+ "y": 2050.3438930511475,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "7114e629.77e9f8",
+ "id": "f0efed1f.2e476",
"type": "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": 3275.979259490967,
- "y": 2075.343849182129,
- "z": "3782c339.10eaec",
+ "x": 3215.9792671203613,
+ "y": 2130.3438930511475,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "2141ee1e.d6b4b2",
+ "id": "7c862c91.655a84",
"type": "for",
"name": "For pLMNInfoListEntries",
"xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3306.979259490967,
- "y": 2173.343849182129,
- "z": "3782c339.10eaec",
+ "x": 3246.9792671203613,
+ "y": 2228.3438930511475,
+ "z": "d497934d.905b2",
"wires": [
[
- "e0650522.7b3a08"
+ "b33a4446.f905e8"
]
]
},
{
- "id": "50091c01.686f04",
+ "id": "ecea00c1.1a24c",
"type": "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": 2297.9793853759766,
- "y": 1999.3437514305115,
- "z": "3782c339.10eaec",
+ "x": 2165.979274749756,
+ "y": 1916.3437943458557,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "e0650522.7b3a08",
+ "id": "b33a4446.f905e8",
"type": "block",
"name": "pLMNInfoList Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3526.979259490967,
- "y": 2169.343849182129,
- "z": "3782c339.10eaec",
+ "x": 3466.9792671203613,
+ "y": 2224.3438930511475,
+ "z": "d497934d.905b2",
"wires": [
[
- "2368d926.e5c736",
- "3bd6d00a.8b334"
+ "6fb19461.544cac",
+ "8703a3b3.58a6c"
]
]
},
{
- "id": "2368d926.e5c736",
+ "id": "6fb19461.544cac",
"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": 3700.9793128967285,
- "y": 2125.343849182129,
- "z": "3782c339.10eaec",
+ "x": 3640.979320526123,
+ "y": 2180.3438930511475,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "1c5d93bf.83fecc",
+ "id": "31ddcddb.7b0972",
"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": 3378.979259490967,
- "y": 2124.343849182129,
- "z": "3782c339.10eaec",
+ "x": 3318.9792671203613,
+ "y": 2179.3438930511475,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "3bd6d00a.8b334",
+ "id": "8703a3b3.58a6c",
"type": "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": 3703.979259490967,
- "y": 2189.343849182129,
- "z": "3782c339.10eaec",
+ "x": 3643.9792671203613,
+ "y": 2244.3438930511475,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "2433e4c.8e9921c",
+ "id": "8387ee6b.302ea",
"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": 3550.9792518615723,
- "y": 2055.34383392334,
- "z": "3782c339.10eaec",
+ "x": 3490.979259490967,
+ "y": 2110.3438777923584,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "3449c76.9f99538",
+ "id": "554e12a4.3f6c1c",
"type": "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": 3485.9904861450195,
- "y": 2623.6774158477783,
- "z": "3782c339.10eaec",
+ "x": 3425.990493774414,
+ "y": 2678.677459716797,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "5b90deb5.d3673",
+ "id": "1dd7fd97.1efc52",
"type": "block",
"name": "Add PLMNInfoList Entry",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3192.9893531799316,
- "y": 2564.687919616699,
- "z": "3782c339.10eaec",
+ "x": 3132.989360809326,
+ "y": 2619.687963485718,
+ "z": "d497934d.905b2",
"wires": [
[
- "3449c76.9f99538",
- "5b18d238.b6363c",
- "37a00456.c4219c",
- "99280fd2.00eee",
- "34e6cf35.a840d",
- "ea9dd48e.bbe728",
- "5245cbbf.5fdc24",
- "1c808889.8d4bd7"
+ "554e12a4.3f6c1c",
+ "692a820e.16fd7c",
+ "e78501d5.977a4",
+ "a1a3fa44.cadd38",
+ "6ac4325a.5b11ac",
+ "9ab56ca4.0accb",
+ "2869252b.c4e08a",
+ "723d5c75.d6f0b4"
]
]
},
{
- "id": "1c808889.8d4bd7",
+ "id": "723d5c75.d6f0b4",
"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": 3598.98970413208,
- "y": 2699.687720298767,
- "z": "3782c339.10eaec",
+ "x": 3534.9900512695312,
+ "y": 2758.6879234313965,
+ "z": "d497934d.905b2",
"wires": [
[
- "cd56b026.8e328",
- "5593b8e5.5c0b78"
+ "31f79983.db8726",
+ "fd074eac.8ed4f"
]
]
},
{
- "id": "5b18d238.b6363c",
+ "id": "692a820e.16fd7c",
"type": "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": 3478.989604949951,
- "y": 2571.688014984131,
- "z": "3782c339.10eaec",
+ "x": 3418.9896125793457,
+ "y": 2626.6880588531494,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "46453804.743d98",
+ "id": "6410fafe.aa4124",
"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": 3621.989589691162,
- "y": 2258.344097137451,
- "z": "3782c339.10eaec",
+ "x": 3561.9895973205566,
+ "y": 2313.3441410064697,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "37a00456.c4219c",
+ "id": "e78501d5.977a4",
"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": 3503.9793815612793,
- "y": 2394.343919277191,
- "z": "3782c339.10eaec",
+ "x": 3443.979389190674,
+ "y": 2449.3439631462097,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "99280fd2.00eee",
+ "id": "a1a3fa44.cadd38",
"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": 3491.979377746582,
- "y": 2440.3439803123474,
- "z": "3782c339.10eaec",
+ "x": 3431.9793853759766,
+ "y": 2495.344024181366,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "34e6cf35.a840d",
+ "id": "6ac4325a.5b11ac",
"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": 3478.9793796539307,
- "y": 2481.344041824341,
- "z": "3782c339.10eaec",
+ "x": 3418.979387283325,
+ "y": 2536.3440856933594,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "ea9dd48e.bbe728",
+ "id": "9ab56ca4.0accb",
"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": 3486.979377746582,
- "y": 2522.3439197540283,
- "z": "3782c339.10eaec",
+ "x": 3426.9793853759766,
+ "y": 2577.343963623047,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "cd56b026.8e328",
+ "id": "31f79983.db8726",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3710.98970413208,
- "y": 2501.677222251892,
- "z": "3782c339.10eaec",
+ "x": 3650.9897117614746,
+ "y": 2556.6772661209106,
+ "z": "d497934d.905b2",
"wires": [
[
- "694395e3.a45f0c"
+ "22a193dd.7fa3cc"
]
]
},
{
- "id": "5593b8e5.5c0b78",
+ "id": "fd074eac.8ed4f",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4003.98974609375,
- "y": 2723.6773138046265,
- "z": "3782c339.10eaec",
+ "x": 3943.9897537231445,
+ "y": 2778.677357673645,
+ "z": "d497934d.905b2",
"wires": [
[
- "f7c279.4eea4d88"
+ "860c66b3.cf9bc8"
]
]
},
{
- "id": "694395e3.a45f0c",
+ "id": "22a193dd.7fa3cc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3844.98970413208,
- "y": 2508.6773443222046,
- "z": "3782c339.10eaec",
+ "x": 3784.9897117614746,
+ "y": 2563.677388191223,
+ "z": "d497934d.905b2",
"wires": [
[
- "ea986b06.6d7818",
- "b8fa2a3a.504528"
+ "17c1b4c.a1fc84b",
+ "b92d963e.6a0b38"
]
]
},
{
- "id": "f7c279.4eea4d88",
+ "id": "860c66b3.cf9bc8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4178.98942565918,
- "y": 2720.6773138046265,
- "z": "3782c339.10eaec",
+ "x": 4118.989433288574,
+ "y": 2775.677357673645,
+ "z": "d497934d.905b2",
"wires": [
[
- "ad09f48f.1f47f8"
+ "208b0550.d5eb0a"
]
]
},
{
- "id": "ea986b06.6d7818",
+ "id": "17c1b4c.a1fc84b",
"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": 3990.9893798828125,
- "y": 2608.677424430847,
- "z": "3782c339.10eaec",
+ "x": 3930.989387512207,
+ "y": 2663.6774682998657,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "ad09f48f.1f47f8",
+ "id": "208b0550.d5eb0a",
"type": "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": 4333.990077972412,
- "y": 2712.6776394844055,
- "z": "3782c339.10eaec",
+ "x": 4273.990085601807,
+ "y": 2767.677683353424,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "6bab883.4f4f178",
+ "id": "5ec4d4ff.08ef3c",
"type": "set",
"name": "Calculate RRM Parms",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns * 1.1`' />",
+ "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": 2223.979335784912,
- "y": 1771.3439750671387,
- "z": "3782c339.10eaec",
+ "x": 1856.9792213439941,
+ "y": 1932.3441314697266,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "54af17fe.e36d38",
+ "id": "c8df756d.585858",
"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": 3816.979316711426,
- "y": 2302.3439779281616,
- "z": "3782c339.10eaec",
+ "x": 3756.9793243408203,
+ "y": 2357.34402179718,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "d0676bf.1adb398",
+ "id": "f4ba2ec5.4ecea",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3509.9792861938477,
- "y": 2332.344038963318,
- "z": "3782c339.10eaec",
+ "x": 3449.979293823242,
+ "y": 2387.3440828323364,
+ "z": "d497934d.905b2",
"wires": [
[
- "54af17fe.e36d38",
- "7d329849.ba7918"
+ "c8df756d.585858",
+ "3c827602.91e4ca"
]
]
},
{
- "id": "7d329849.ba7918",
+ "id": "3c827602.91e4ca",
"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": 3760.9797172546387,
- "y": 2355.344171524048,
- "z": "3782c339.10eaec",
+ "x": 3700.979724884033,
+ "y": 2410.3442153930664,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "4af9dc76.4f1b24",
+ "id": "d26df034.d92bd",
"type": "block",
"name": "Get Cells List in TA",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1582.9794158935547,
- "y": 777.3441414833069,
- "z": "3782c339.10eaec",
+ "x": 1517.979476928711,
+ "y": 481.34417152404785,
+ "z": "d497934d.905b2",
"wires": [
[
- "ce7809f3.983468",
- "bf0f71f.d6d0d9",
- "aefdbed7.3b483"
+ "34fd6db4.f03c12",
+ "f77f2223.e81aa",
+ "a07040c8.446d1"
]
]
},
{
- "id": "ce7809f3.983468",
+ "id": "34fd6db4.f03c12",
"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": 1866.979579925537,
- "y": 661.3440971374512,
- "z": "3782c339.10eaec",
+ "x": 1773.9795989990234,
+ "y": 341.3441104888916,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "bf0f71f.d6d0d9",
+ "id": "f77f2223.e81aa",
"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": 1889.979663848877,
- "y": 737.3442614078522,
- "z": "3782c339.10eaec",
+ "x": 1798.9795989990234,
+ "y": 443.3443241119385,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "aefdbed7.3b483",
+ "id": "a07040c8.446d1",
"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": 1877.9797477722168,
- "y": 806.3442225456238,
- "z": "3782c339.10eaec",
+ "x": 1800.9795989990234,
+ "y": 526.3442249298096,
+ "z": "d497934d.905b2",
"wires": [
[
- "56fe77e8.8fda88",
- "867b3cfd.6a987"
+ "aba931f9.a1483",
+ "783efae8.56dd34"
]
]
},
{
- "id": "56fe77e8.8fda88",
+ "id": "aba931f9.a1483",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2151.979335784912,
- "y": 693.3442802429199,
- "z": "3782c339.10eaec",
+ "x": 2077.979293823242,
+ "y": 460.3443088531494,
+ "z": "d497934d.905b2",
"wires": [
[
- "df37fbb.dec6008"
+ "251f39ed.ec1706"
]
]
},
{
- "id": "867b3cfd.6a987",
+ "id": "783efae8.56dd34",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2073.9792137145996,
- "y": 926.3441581726074,
- "z": "3782c339.10eaec",
+ "x": 2026.9792022705078,
+ "y": 606.3442249298096,
+ "z": "d497934d.905b2",
"wires": [
[
- "91671c36.4cce4"
+ "fb1f7b4c.820e38"
]
]
},
{
- "id": "df37fbb.dec6008",
+ "id": "251f39ed.ec1706",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2392.979335784912,
- "y": 647.3442192077637,
- "z": "3782c339.10eaec",
+ "x": 2452.979263305664,
+ "y": 453.3442630767822,
+ "z": "d497934d.905b2",
"wires": [
[
- "bbe4704f.24d6e",
- "9fe3f0ed.e3a21",
- "b8fa2a3a.504528"
+ "ae1728e0.7ff3c8",
+ "d853f303.949ce",
+ "b92d963e.6a0b38"
]
]
},
{
- "id": "91671c36.4cce4",
+ "id": "fb1f7b4c.820e38",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2214.979091644287,
- "y": 908.3442802429199,
- "z": "3782c339.10eaec",
+ "x": 2172.979019165039,
+ "y": 584.3443470001221,
+ "z": "d497934d.905b2",
"wires": [
[
- "a6a37518.997498",
- "12f14e74.e48862",
- "d60161c.59dbda"
+ "f7f28f45.fdf9f",
+ "df4573e1.e8eb1",
+ "a0a8859d.b71798"
]
]
},
{
- "id": "bbe4704f.24d6e",
+ "id": "ae1728e0.7ff3c8",
"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": 2390.979091644287,
- "y": 743.3442192077637,
- "z": "3782c339.10eaec",
+ "x": 2388.979019165039,
+ "y": 531.3442478179932,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "a6a37518.997498",
+ "id": "f7f28f45.fdf9f",
"type": "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": 2386.979091644287,
- "y": 834.3442192077637,
- "z": "3782c339.10eaec",
+ "x": 2332.978988647461,
+ "y": 579.3442554473877,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "9fe3f0ed.e3a21",
+ "id": "d853f303.949ce",
"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": 2527.9793281555176,
- "y": 611.4552593231201,
- "z": "3782c339.10eaec",
+ "x": 2432.9793548583984,
+ "y": 391.45530891418457,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "12f14e74.e48862",
+ "id": "df4573e1.e8eb1",
"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": 2415.757411956787,
- "y": 967.3442192077637,
- "z": "3782c339.10eaec",
+ "x": 2352.757308959961,
+ "y": 723.3442859649658,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "f898eaeb.1b8d08",
+ "id": "44a95a88.3b0a54",
"type": "comment",
"name": "Connect to AddPLMNInfoList Entry",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3490.979076385498,
- "y": 2662.677137374878,
- "z": "3782c339.10eaec",
+ "x": 3430.9790840148926,
+ "y": 2717.6771812438965,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "d8734664.5cbc98",
+ "id": "8ae32e22.93b21",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3345.979076385498,
- "y": 2820.0105113983154,
- "z": "3782c339.10eaec",
+ "x": 3285.9790840148926,
+ "y": 2875.010555267334,
+ "z": "d497934d.905b2",
"wires": [
[
- "3bf2a236.f64b4e",
- "eb02fdb.54c45"
+ "1a790da9.4bc302",
+ "c4176ea9.55f36"
]
]
},
{
- "id": "3bf2a236.f64b4e",
+ "id": "1a790da9.4bc302",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3540.979103088379,
- "y": 2780.0104188919067,
- "z": "3782c339.10eaec",
+ "x": 3480.9791107177734,
+ "y": 2835.0104627609253,
+ "z": "d497934d.905b2",
"wires": [
[
- "a729de6c.1007c"
+ "f9a26b5e.b34e28"
]
]
},
{
- "id": "eb02fdb.54c45",
+ "id": "c4176ea9.55f36",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3520.979076385498,
- "y": 2859.010510444641,
- "z": "3782c339.10eaec",
+ "x": 3460.9790840148926,
+ "y": 2914.0105543136597,
+ "z": "d497934d.905b2",
"wires": [
[
- "13ff3a6e.24ae36"
+ "7fabc419.68266c"
]
]
},
{
- "id": "e722a5a4.d94328",
+ "id": "69823b70.6eec94",
"type": "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": 3501.979824066162,
- "y": 3085.343852996826,
- "z": "3782c339.10eaec",
+ "x": 3441.9798316955566,
+ "y": 3140.3438968658447,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "60590114.37a63",
+ "id": "542273f4.1abf4c",
"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": 3730.979091644287,
- "y": 3156.354106903076,
- "z": "3782c339.10eaec",
+ "x": 3670.9790992736816,
+ "y": 3211.3541507720947,
+ "z": "d497934d.905b2",
"wires": [
[
- "2d2a125a.f88c0e",
- "85a1194f.afbaf8"
+ "7c1fc92f.242628",
+ "2921651d.f9f11a"
]
]
},
{
- "id": "f2ab0eeb.af28e",
+ "id": "f2533c31.135a",
"type": "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": 3493.979091644287,
- "y": 3041.354106903076,
- "z": "3782c339.10eaec",
+ "x": 3433.9790992736816,
+ "y": 3096.3541507720947,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "a729de6c.1007c",
+ "id": "f9a26b5e.b34e28",
"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": 3823.979076385498,
- "y": 2775.0105106830597,
- "z": "3782c339.10eaec",
+ "x": 3763.9790840148926,
+ "y": 2830.0105545520782,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "4d0eaa3.9f50a54",
+ "id": "b29f5b73.297458",
"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": 3536.968837738037,
- "y": 2911.010601043701,
- "z": "3782c339.10eaec",
+ "x": 3476.9688453674316,
+ "y": 2966.0106449127197,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "f297d5a.9107528",
+ "id": "30e0e8f8.8b19e8",
"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": 3517.968837738037,
- "y": 2950.010356903076,
- "z": "3782c339.10eaec",
+ "x": 3457.9688453674316,
+ "y": 3005.0104007720947,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "f11b40a.c13a5c",
+ "id": "dbaf76b3.c55888",
"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": 3511.968837738037,
- "y": 2998.010601043701,
- "z": "3782c339.10eaec",
+ "x": 3451.9688453674316,
+ "y": 3053.0106449127197,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "2d2a125a.f88c0e",
+ "id": "7c1fc92f.242628",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3781.979206085205,
- "y": 2964.343970298767,
- "z": "3782c339.10eaec",
+ "x": 3721.9792137145996,
+ "y": 3019.3440141677856,
+ "z": "d497934d.905b2",
"wires": [
[
- "31a35533.1e712a"
+ "58d8a81c.7384c8"
]
]
},
{
- "id": "85a1194f.afbaf8",
+ "id": "2921651d.f9f11a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4018.979335784912,
- "y": 3128.343852996826,
- "z": "3782c339.10eaec",
+ "x": 3958.9793434143066,
+ "y": 3183.3438968658447,
+ "z": "d497934d.905b2",
"wires": [
[
- "fb1b849e.380a48"
+ "7f2d7c1e.29e664"
]
]
},
{
- "id": "31a35533.1e712a",
+ "id": "58d8a81c.7384c8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3929.979206085205,
- "y": 2991.343970298767,
- "z": "3782c339.10eaec",
+ "x": 3869.9792137145996,
+ "y": 3046.3440141677856,
+ "z": "d497934d.905b2",
"wires": [
[
- "6d0bef4f.f9ab1",
- "b8fa2a3a.504528"
+ "d852f7ff.760d38",
+ "b92d963e.6a0b38"
]
]
},
{
- "id": "fb1b849e.380a48",
+ "id": "7f2d7c1e.29e664",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4182.978847503662,
- "y": 3133.343852996826,
- "z": "3782c339.10eaec",
+ "x": 4122.978855133057,
+ "y": 3188.3438968658447,
+ "z": "d497934d.905b2",
"wires": [
[
- "f4d2a4c5.903558"
+ "783f25bf.09bc7c"
]
]
},
{
- "id": "6d0bef4f.f9ab1",
+ "id": "d852f7ff.760d38",
"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": 4068.97896194458,
- "y": 3063.343970298767,
- "z": "3782c339.10eaec",
+ "x": 4008.9789695739746,
+ "y": 3118.3440141677856,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "f4d2a4c5.903558",
+ "id": "783f25bf.09bc7c",
"type": "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": 4282.979335784912,
- "y": 3058.344097137451,
- "z": "3782c339.10eaec",
+ "x": 4222.979343414307,
+ "y": 3113.3441410064697,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "d1b1da91.0009b8",
+ "id": "be73158.097f3e8",
"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": 4019.96879196167,
- "y": 2830.0105018615723,
- "z": "3782c339.10eaec",
+ "x": 3959.9687995910645,
+ "y": 2885.010545730591,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "13ff3a6e.24ae36",
+ "id": "7fabc419.68266c",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3713.9687271118164,
- "y": 2854.010510444641,
- "z": "3782c339.10eaec",
+ "x": 3653.968734741211,
+ "y": 2909.0105543136597,
+ "z": "d497934d.905b2",
"wires": [
[
- "d1b1da91.0009b8",
- "fa695a70.554df8"
+ "be73158.097f3e8",
+ "51c6b04b.c337c"
]
]
},
{
- "id": "fa695a70.554df8",
+ "id": "51c6b04b.c337c",
"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": 3956.9687995910645,
- "y": 2889.01056098938,
- "z": "3782c339.10eaec",
+ "x": 3896.968807220459,
+ "y": 2944.0106048583984,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "afd1888c.df6738",
+ "id": "a5593f16.c35f8",
"type": "comment",
"name": "Connect to RRM P{olicy Ratio",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3701.968593597412,
- "y": 3101.343608856201,
- "z": "3782c339.10eaec",
+ "x": 3641.9686012268066,
+ "y": 3156.3436527252197,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "54f18c03.3df684",
+ "id": "4f1bff77.b8f89",
"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": 2756.989616394043,
- "y": 1962.3440132141113,
- "z": "3782c339.10eaec",
+ "x": 2624.9895057678223,
+ "y": 1879.3440561294556,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "ebf82221.c4be3",
+ "id": "de928869.c1e7e8",
"type": "block",
"name": "CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1940.0207176208496,
- "y": 3512.088726043701,
- "z": "3782c339.10eaec",
+ "x": 1880.0207252502441,
+ "y": 3567.0887699127197,
+ "z": "d497934d.905b2",
"wires": [
[
- "c4d7d9db.d44a78",
- "134f467b.34acaa",
- "9ec5b493.1bbbd8",
- "69e41174.43e5b",
- "a81cebdf.634838"
+ "84b172e9.3daf1",
+ "53aa5592.2d2adc",
+ "47010d20.ed82d4",
+ "43727527.f1392c"
]
]
},
{
- "id": "66a87db3.dc6fd4",
+ "id": "e8ffe2f3.04ba5",
"type": "block",
"name": "Add RRM Policy Ratio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3308.0209770202637,
- "y": 5081.089113950729,
- "z": "3782c339.10eaec",
+ "x": 3242.021011352539,
+ "y": 5034.089098215103,
+ "z": "d497934d.905b2",
"wires": [
[
- "f01496be.5c1808",
- "a867ca59.8fb788",
- "14f953aa.b3df8c",
- "ec811231.a519e",
- "a0831317.feb34",
- "54cab668.c85b58"
+ "5e87f693.cab7a8",
+ "fdf481ea.4847c",
+ "e2f13558.bc5b98",
+ "bb9dae33.ab811",
+ "769cf89f.02fe28",
+ "d4b288ed.93dcb8"
]
]
},
{
- "id": "2f0f8945.901136",
+ "id": "3969881e.d08988",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3528.0209770202637,
- "y": 4368.089722394943,
- "z": "3782c339.10eaec",
+ "x": 3438.0207481384277,
+ "y": 4279.089840888977,
+ "z": "d497934d.905b2",
"wires": [
[
- "1438b6bc.2a9469",
- "3a541a03.8c1ca6"
+ "38101dd3.d42fd2",
+ "a37a6f44.647a"
]
]
},
{
- "id": "1438b6bc.2a9469",
+ "id": "38101dd3.d42fd2",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3769.0209770202637,
- "y": 4300.08972287178,
- "z": "3782c339.10eaec",
+ "x": 3679.0207481384277,
+ "y": 4211.089841365814,
+ "z": "d497934d.905b2",
"wires": [
[
- "55548145.d3f67"
+ "c71aad30.6c0c1"
]
]
},
{
- "id": "3a541a03.8c1ca6",
+ "id": "a37a6f44.647a",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3750.021099090576,
- "y": 4394.089600324631,
- "z": "3782c339.10eaec",
+ "x": 3660.0208702087402,
+ "y": 4305.089718818665,
+ "z": "d497934d.905b2",
"wires": [
[
- "19aa660f.65583a"
+ "eb17239.35b45e"
]
]
},
{
- "id": "134f467b.34acaa",
+ "id": "53aa5592.2d2adc",
"type": "for",
"name": "For List of CUUP's",
"xml": "<for index='id2' start='0' end='`$tmp.CUUPListEntries `' >",
"comments": "",
"outputs": 1,
- "x": 2682.020709991455,
- "y": 3858.089480161667,
- "z": "3782c339.10eaec",
+ "x": 2526.0207595825195,
+ "y": 3661.089599609375,
+ "z": "d497934d.905b2",
"wires": [
[
- "249d7efd.f9dfb2",
- "83ae1474.695858",
- "2a8f212c.08154e",
- "17fe21fb.ef534e",
- "1aee4bfc.c72de4",
- "66a87db3.dc6fd4",
- "8fecdc9.0fd1a2",
- "a572f5c.9134a08"
+ "ec22ce5f.397de",
+ "4b97ebc2.1d6234",
+ "ecbac7e2.cc0a98",
+ "97e5d029.51a2b",
+ "60db2145.9f086",
+ "e8ffe2f3.04ba5",
+ "177ca448.e3f69c",
+ "5ba2bba8.b87c04"
]
]
},
{
- "id": "c4d7d9db.d44a78",
+ "id": "84b172e9.3daf1",
"type": "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": 3057.0205078125,
- "y": 3419.0888671875,
- "z": "3782c339.10eaec",
+ "x": 2949.020610809326,
+ "y": 3414.089072227478,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "9ec5b493.1bbbd8",
+ "id": "47010d20.ed82d4",
"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": 3030.020595550537,
- "y": 3350.089214324951,
- "z": "3782c339.10eaec",
+ "x": 2952.0205154418945,
+ "y": 3371.0891551971436,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "249d7efd.f9dfb2",
+ "id": "ec22ce5f.397de",
"type": "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": 3518.0205078125,
- "y": 3922.089599609375,
- "z": "3782c339.10eaec",
+ "x": 3436.0205154418945,
+ "y": 3827.0896434783936,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "83ae1474.695858",
+ "id": "4b97ebc2.1d6234",
"type": "block",
"name": "cellCUUPList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3484.0206451416016,
- "y": 3851.089230298996,
- "z": "3782c339.10eaec",
+ "x": 3402.020652770996,
+ "y": 3756.0892741680145,
+ "z": "d497934d.905b2",
"wires": [
[
- "5a878bfc.0ede04",
- "4295f138.356e8",
- "a8e80d62.4c0f5",
- "80ea3cdc.60fbd"
+ "578873e1.2282ec",
+ "9922e2c.11ddf2",
+ "8a037ba8.a80f58",
+ "b6b3c44a.54ff68"
]
]
},
{
- "id": "5a878bfc.0ede04",
+ "id": "578873e1.2282ec",
"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": 3917.0207176208496,
- "y": 3798.089089155197,
- "z": "3782c339.10eaec",
+ "x": 3839.0207595825195,
+ "y": 3675.089111328125,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "4295f138.356e8",
+ "id": "9922e2c.11ddf2",
"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": 3942.020839691162,
- "y": 3865.089214324951,
- "z": "3782c339.10eaec",
+ "x": 3860.0208473205566,
+ "y": 3770.0892581939697,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "a8e80d62.4c0f5",
+ "id": "8a037ba8.a80f58",
"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": 3960.020606994629,
- "y": 3909.089134454727,
- "z": "3782c339.10eaec",
+ "x": 3878.0206146240234,
+ "y": 3814.0891783237457,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "17fe21fb.ef534e",
+ "id": "97e5d029.51a2b",
"type": "for",
"name": "For pLMNInfoListEntries",
"xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3523.010356903076,
- "y": 4160.089225053787,
- "z": "3782c339.10eaec",
+ "x": 3441.0103645324707,
+ "y": 4065.089268922806,
+ "z": "d497934d.905b2",
"wires": [
[
- "1ed61848.2f3628"
+ "8ddac3ed.7df8a"
]
]
},
{
- "id": "2a8f212c.08154e",
+ "id": "ecbac7e2.cc0a98",
"type": "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": 3523.0104789733887,
- "y": 4014.0891025066376,
- "z": "3782c339.10eaec",
+ "x": 3441.010486602783,
+ "y": 3919.089146375656,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "1ed61848.2f3628",
+ "id": "8ddac3ed.7df8a",
"type": "block",
"name": "pLMNInfoList Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3774.0105323791504,
- "y": 4159.0891761779785,
- "z": "3782c339.10eaec",
+ "x": 3692.010540008545,
+ "y": 4064.089220046997,
+ "z": "d497934d.905b2",
"wires": [
[
- "f5b82583.cc5558",
- "3cb6f9ea.fd1736"
+ "9b680d2.a3b20f",
+ "3db6bbbf.14d2c4"
]
]
},
{
- "id": "f5b82583.cc5558",
+ "id": "9b680d2.a3b20f",
"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": 3988.010498046875,
- "y": 4110.089298248291,
- "z": "3782c339.10eaec",
+ "x": 3906.0105056762695,
+ "y": 4015.0893421173096,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "3c125faf.bc1d6",
+ "id": "eb290ede.9ef69",
"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": 3591.0105171203613,
- "y": 4215.0891761779785,
- "z": "3782c339.10eaec",
+ "x": 3509.010524749756,
+ "y": 4120.089220046997,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "3cb6f9ea.fd1736",
+ "id": "3db6bbbf.14d2c4",
"type": "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": 3992.0105590820312,
- "y": 4194.088809967041,
- "z": "3782c339.10eaec",
+ "x": 3910.010566711426,
+ "y": 4099.08885383606,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "dba9cfb6.3f298",
+ "id": "ff120a53.1c96d8",
"type": "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": 3912.0216178894043,
- "y": 4714.422402620316,
- "z": "3782c339.10eaec",
+ "x": 3822.0213890075684,
+ "y": 4625.422521114349,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "1aee4bfc.c72de4",
+ "id": "60db2145.9f086",
"type": "block",
"name": "Add PLMNInfoList Entry",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3471.0207328796387,
- "y": 4553.433341741562,
- "z": "3782c339.10eaec",
+ "x": 3381.0205039978027,
+ "y": 4464.433460235596,
+ "z": "d497934d.905b2",
"wires": [
[
- "dba9cfb6.3f298",
- "33d22fdb.29249",
- "b52da1a7.a14b3",
- "7bc64138.025d4",
- "963a9cb2.0bfbf",
- "2f0f8945.901136",
- "c412700a.e7175"
+ "ff120a53.1c96d8",
+ "1686ce80.99c182",
+ "744f854c.32ce6c",
+ "4876eff6.fec58",
+ "92c9155e.4dfab8",
+ "3969881e.d08988",
+ "4985dfad.4ff0a"
]
]
},
{
- "id": "c412700a.e7175",
+ "id": "4985dfad.4ff0a",
"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": 3872.0211067199707,
- "y": 4752.433231115341,
- "z": "3782c339.10eaec",
+ "x": 3782.0208778381348,
+ "y": 4663.433349609375,
+ "z": "d497934d.905b2",
"wires": [
[
- "6faba505.3e710c",
- "5bff3d45.80f104"
+ "96ab7e98.93271",
+ "7c87faf2.4e9e44"
]
]
},
{
- "id": "33d22fdb.29249",
+ "id": "1686ce80.99c182",
"type": "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": 3905.020736694336,
- "y": 4662.433001756668,
- "z": "3782c339.10eaec",
+ "x": 3815.0205078125,
+ "y": 4573.433120250702,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "55548145.d3f67",
+ "id": "c71aad30.6c0c1",
"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": 4081.0207862854004,
- "y": 4300.089359998703,
- "z": "3782c339.10eaec",
+ "x": 3991.0205574035645,
+ "y": 4211.089478492737,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "b52da1a7.a14b3",
+ "id": "744f854c.32ce6c",
"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": 3931.0105323791504,
- "y": 4487.089282751083,
- "z": "3782c339.10eaec",
+ "x": 3841.0103034973145,
+ "y": 4398.089401245117,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "7bc64138.025d4",
+ "id": "4876eff6.fec58",
"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": 3897.0105323791504,
- "y": 4549.089284658432,
- "z": "3782c339.10eaec",
+ "x": 3807.0103034973145,
+ "y": 4460.089403152466,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "963a9cb2.0bfbf",
+ "id": "92c9155e.4dfab8",
"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": 3894.0105323791504,
- "y": 4598.089286565781,
- "z": "3782c339.10eaec",
+ "x": 3804.0103034973145,
+ "y": 4509.089405059814,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "6faba505.3e710c",
+ "id": "96ab7e98.93271",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4130.021598815918,
- "y": 4579.422000646591,
- "z": "3782c339.10eaec",
+ "x": 4040.021369934082,
+ "y": 4490.422119140625,
+ "z": "d497934d.905b2",
"wires": [
[
- "7a640c9c.e6b9b4"
+ "d62f2c78.318b"
]
]
},
{
- "id": "5bff3d45.80f104",
+ "id": "7c87faf2.4e9e44",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4171.0219650268555,
- "y": 4737.423099279404,
- "z": "3782c339.10eaec",
+ "x": 4081.0217361450195,
+ "y": 4648.4232177734375,
+ "z": "d497934d.905b2",
"wires": [
[
- "7a1094b7.9d5adc"
+ "85efd25f.08b39"
]
]
},
{
- "id": "7a640c9c.e6b9b4",
+ "id": "d62f2c78.318b",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4344.0212326049805,
- "y": 4505.422733068466,
- "z": "3782c339.10eaec",
+ "x": 4254.0210037231445,
+ "y": 4416.4228515625,
+ "z": "d497934d.905b2",
"wires": [
[
- "1517722b.b2bcce",
- "b8fa2a3a.504528"
+ "21dd58e5.1940a8",
+ "b92d963e.6a0b38"
]
]
},
{
- "id": "7a1094b7.9d5adc",
+ "id": "85efd25f.08b39",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4185.021354675293,
- "y": 4800.423221349716,
- "z": "3782c339.10eaec",
+ "x": 4095.021125793457,
+ "y": 4711.42333984375,
+ "z": "d497934d.905b2",
"wires": [
[
- "6345e619.212818"
+ "50e4c7ea.5b59b8"
]
]
},
{
- "id": "1517722b.b2bcce",
+ "id": "21dd58e5.1940a8",
"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": 4331.020866394043,
- "y": 4634.422733068466,
- "z": "3782c339.10eaec",
+ "x": 4241.020637512207,
+ "y": 4545.4228515625,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "6345e619.212818",
+ "id": "50e4c7ea.5b59b8",
"type": "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": 4332.0217208862305,
- "y": 4788.423221349716,
- "z": "3782c339.10eaec",
+ "x": 4242.0214920043945,
+ "y": 4699.42333984375,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "7dd00e17.87721",
+ "id": "42778e67.59dc3",
"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": 4276.010540008545,
- "y": 4363.089360952377,
- "z": "3782c339.10eaec",
+ "x": 4186.010311126709,
+ "y": 4274.089479446411,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "19aa660f.65583a",
+ "id": "eb17239.35b45e",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3931.0103721618652,
- "y": 4395.089362859726,
- "z": "3782c339.10eaec",
+ "x": 3841.0101432800293,
+ "y": 4306.08948135376,
+ "z": "d497934d.905b2",
"wires": [
[
- "7dd00e17.87721",
- "7266be2c.c7615"
+ "42778e67.59dc3",
+ "35b4a0f3.af40f"
]
]
},
{
- "id": "7266be2c.c7615",
+ "id": "35b4a0f3.af40f",
"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": 4195.01086807251,
- "y": 4427.089362859726,
- "z": "3782c339.10eaec",
+ "x": 4105.010639190674,
+ "y": 4338.08948135376,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "dd54696d.53b4f8",
+ "id": "22a7c234.21731e",
"type": "comment",
"name": "Connect to AddPLMNInfoList Entry",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3790.010456085205,
- "y": 4801.422674894333,
- "z": "3782c339.10eaec",
+ "x": 3700.010227203369,
+ "y": 4712.422793388367,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "f01496be.5c1808",
+ "id": "5e87f693.cab7a8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3540.010227203369,
- "y": 4908.755387544632,
- "z": "3782c339.10eaec",
+ "x": 3474.0102615356445,
+ "y": 4861.755371809006,
+ "z": "d497934d.905b2",
"wires": [
[
- "72d23abf.b2d5a4",
- "93aa7023.45904"
+ "ed3a4f22.4750b",
+ "d49a66ce.7a72c8"
]
]
},
{
- "id": "72d23abf.b2d5a4",
+ "id": "ed3a4f22.4750b",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3735.01025390625,
- "y": 4868.755295038223,
- "z": "3782c339.10eaec",
+ "x": 3669.0102882385254,
+ "y": 4821.755279302597,
+ "z": "d497934d.905b2",
"wires": [
[
- "687a95a0.fa612c"
+ "b34a35b9.16ff78"
]
]
},
{
- "id": "93aa7023.45904",
+ "id": "d49a66ce.7a72c8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3715.010227203369,
- "y": 4947.755386590958,
- "z": "3782c339.10eaec",
+ "x": 3649.0102615356445,
+ "y": 4900.755370855331,
+ "z": "d497934d.905b2",
"wires": [
[
- "72fc8d0a.a7bfb4"
+ "23f224dc.4c12fc"
]
]
},
{
- "id": "a0831317.feb34",
+ "id": "769cf89f.02fe28",
"type": "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": 3695.011333465576,
- "y": 5172.0890119075775,
- "z": "3782c339.10eaec",
+ "x": 3629.0113677978516,
+ "y": 5125.088996171951,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "54cab668.c85b58",
+ "id": "d4b288ed.93dcb8",
"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": 3756.0110816955566,
- "y": 5279.0997540950775,
- "z": "3782c339.10eaec",
+ "x": 3690.011116027832,
+ "y": 5232.099738359451,
+ "z": "d497934d.905b2",
"wires": [
[
- "e36ca0c0.01616",
- "b0b52e8e.9097a"
+ "ffafe7c1.5509a8",
+ "1dc85802.0f3fb8"
]
]
},
{
- "id": "ec811231.a519e",
+ "id": "bb9dae33.ab811",
"type": "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": 3686.010601043701,
- "y": 5116.0992658138275,
- "z": "3782c339.10eaec",
+ "x": 3620.0106353759766,
+ "y": 5069.099250078201,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "687a95a0.fa612c",
+ "id": "b34a35b9.16ff78",
"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": 4018.010227203369,
- "y": 4863.755386829376,
- "z": "3782c339.10eaec",
+ "x": 3952.0102615356445,
+ "y": 4816.75537109375,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "a867ca59.8fb788",
+ "id": "fdf481ea.4847c",
"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": 3733.999942779541,
- "y": 5017.755802869797,
- "z": "3782c339.10eaec",
+ "x": 3667.9999771118164,
+ "y": 4970.7557871341705,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "14f953aa.b3df8c",
+ "id": "e2f13558.bc5b98",
"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": 3688.000102996826,
- "y": 5061.75612616539,
- "z": "3782c339.10eaec",
+ "x": 3622.0001373291016,
+ "y": 5014.756110429764,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "e36ca0c0.01616",
+ "id": "ffafe7c1.5509a8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4015.0106315612793,
- "y": 5089.088723897934,
- "z": "3782c339.10eaec",
+ "x": 3949.0106658935547,
+ "y": 5042.088708162308,
+ "z": "d497934d.905b2",
"wires": [
[
- "df6bff19.8545d"
+ "9fca1cf2.bbdfd"
]
]
},
{
- "id": "b0b52e8e.9097a",
+ "id": "1dc85802.0f3fb8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4078.010601043701,
- "y": 5276.08913397789,
- "z": "3782c339.10eaec",
+ "x": 4012.0106353759766,
+ "y": 5229.089118242264,
+ "z": "d497934d.905b2",
"wires": [
[
- "92cf4ce.daf80b"
+ "7480cb72.86f774"
]
]
},
{
- "id": "df6bff19.8545d",
+ "id": "9fca1cf2.bbdfd",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4235.010387420654,
- "y": 5078.089212179184,
- "z": "3782c339.10eaec",
+ "x": 4169.01042175293,
+ "y": 5031.089196443558,
+ "z": "d497934d.905b2",
"wires": [
[
- "7a754958.e9de08",
- "b8fa2a3a.504528"
+ "554b5d7c.aeb324",
+ "b92d963e.6a0b38"
]
]
},
{
- "id": "92cf4ce.daf80b",
+ "id": "7480cb72.86f774",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4240.009990692139,
- "y": 5260.0895001888275,
- "z": "3782c339.10eaec",
+ "x": 4174.010025024414,
+ "y": 5213.089484453201,
+ "z": "d497934d.905b2",
"wires": [
[
- "996d5fd4.d04a8"
+ "965dd16f.96515"
]
]
},
{
- "id": "7a754958.e9de08",
+ "id": "554b5d7c.aeb324",
"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": 4244.010356903076,
- "y": 5156.0895001888275,
- "z": "3782c339.10eaec",
+ "x": 4178.010391235352,
+ "y": 5109.089484453201,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "996d5fd4.d04a8",
+ "id": "965dd16f.96515",
"type": "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": 4393.010601043701,
- "y": 5242.09011054039,
- "z": "3782c339.10eaec",
+ "x": 4327.010635375977,
+ "y": 5195.090094804764,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "6e9cf71b.9a8378",
+ "id": "d817d036.2a634",
"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": 4131.999965667725,
- "y": 4914.7555067539215,
- "z": "3782c339.10eaec",
+ "x": 4066,
+ "y": 4867.755491018295,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "72fc8d0a.a7bfb4",
+ "id": "23f224dc.4c12fc",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3860.9999504089355,
- "y": 4913.755506277084,
- "z": "3782c339.10eaec",
+ "x": 3794.999984741211,
+ "y": 4866.755490541458,
+ "z": "d497934d.905b2",
"wires": [
[
- "6e9cf71b.9a8378",
- "6d72e4e2.b7aecc"
+ "d817d036.2a634",
+ "59fa7744.e60228"
]
]
},
{
- "id": "6d72e4e2.b7aecc",
+ "id": "59fa7744.e60228",
"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": 4084.99995803833,
- "y": 4995.755834341049,
- "z": "3782c339.10eaec",
+ "x": 4018.9999923706055,
+ "y": 4948.755818605423,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "bd407945.defe68",
+ "id": "89123fe6.ab909",
"type": "comment",
"name": "Connect to RRM P{olicy Ratio",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3708.999973297119,
- "y": 5223.0885236263275,
- "z": "3782c339.10eaec",
+ "x": 3643.0000076293945,
+ "y": 5176.088507890701,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "69e41174.43e5b",
+ "id": "43727527.f1392c",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3323.0205039978027,
- "y": 3563.7659726142883,
- "z": "3782c339.10eaec",
+ "x": 2918.0211029052734,
+ "y": 3515.7664403915405,
+ "z": "d497934d.905b2",
"wires": [
[
- "fc7aa451.c0d1a8",
- "11601d0a.ec6593"
+ "4bb23920.579f58",
+ "4adf99ac.f43138",
+ "9e00c9a1.ea0c08",
+ "3d7b3678.efb19a",
+ "db69d90.9fae328"
]
]
},
{
- "id": "fc7aa451.c0d1a8",
+ "id": "db69d90.9fae328",
"type": "set",
- "name": "calculation",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP1' value='`$tmp.DRBPerCUUPForSNSSAI * 100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rRMPolicyDedicatedRatio.CUUP1 / $prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
+ "name": "calculation rrm5",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rRMPolicyDedicatedRatio.CUUP1 / $prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
"comments": "",
- "x": 3546.020839691162,
- "y": 3520.543560028076,
- "z": "3782c339.10eaec",
+ "x": 3176.02152633667,
+ "y": 3626.5440282821655,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "11601d0a.ec6593",
+ "id": "9e00c9a1.ea0c08",
"type": "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`\"/>",
+ "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": 3550.020839691162,
- "y": 3674.210308074951,
- "z": "3782c339.10eaec",
+ "x": 3136.021286010742,
+ "y": 3675.2111415863037,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "80ea3cdc.60fbd",
+ "id": "b6b3c44a.54ff68",
"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": 3976.020606994629,
- "y": 3950.089140176773,
- "z": "3782c339.10eaec",
+ "x": 3894.0206146240234,
+ "y": 3855.0891840457916,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "cd72f2ba.23c42",
+ "id": "afef990f.091188",
"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": 3982.2435340881348,
- "y": 4037.7650775909424,
- "z": "3782c339.10eaec",
+ "x": 3900.2435417175293,
+ "y": 3942.765121459961,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "cda17900.a581b8",
+ "id": "c1eccbb1.9f4818",
"type": "comment",
"name": "Assumption pLMNId in configDB resp",
"info": "Assumed that configDB responnse will include pLMNId...currently, it is not there",
"comments": "",
- "x": 4003.243377685547,
- "y": 3995.7647955417633,
- "z": "3782c339.10eaec",
+ "x": 3921.2433853149414,
+ "y": 3900.764839410782,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "d60161c.59dbda",
+ "id": "a0a8859d.b71798",
"type": "for",
"name": "For list of cells",
"xml": "<for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 2434.000087738037,
- "y": 903.0104179382324,
- "z": "3782c339.10eaec",
+ "x": 2372.0001068115234,
+ "y": 648.0104846954346,
+ "z": "d497934d.905b2",
"wires": [
[
- "48b27ce7.219f34",
- "36e75fed.15b9c"
+ "fbe3258a.35a238",
+ "9e537dfe.8fb33"
]
]
},
{
- "id": "36e75fed.15b9c",
+ "id": "9e537dfe.8fb33",
"type": "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": 2611.000087738037,
- "y": 951.0104179382324,
- "z": "3782c339.10eaec",
+ "x": 2544.999984741211,
+ "y": 681.0104389190674,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "48b27ce7.219f34",
+ "id": "fbe3258a.35a238",
"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": 2602.000087738037,
- "y": 834.6770439147949,
- "z": "3782c339.10eaec",
+ "x": 2551.000045776367,
+ "y": 581.6770496368408,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "dc15e744.a5e0f8",
+ "id": "dbab6b7c.5a5868",
"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": 867.0000267028809,
- "y": 110.01035690307617,
- "z": "3782c339.10eaec",
+ "x": 807.0000343322754,
+ "y": 165.01040077209473,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "17808f07.373cf1",
+ "id": "d34a49e6.30e3b8",
"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": 2546.9998359680176,
- "y": 2160.343850135803,
- "z": "3782c339.10eaec",
+ "x": 2578.9997634887695,
+ "y": 2073.343994140625,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "93365ab1.b37818",
+ "id": "41d38e93.237d",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 562.4937019348145,
- "y": 928.014651298523,
- "z": "3782c339.10eaec",
+ "x": 446.4937286376953,
+ "y": 809.0146789550781,
+ "z": "d497934d.905b2",
"wires": [
[
- "247a2742.74e6e8",
- "cc0d92f6.b75bc",
- "f7f6583f.0b3ca8"
+ "93a23601.a8d538",
+ "d2e02527.891218"
]
]
},
{
- "id": "247a2742.74e6e8",
+ "id": "d2efca81.199988",
"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=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
+ "xml": "<set>\n<parameter name=\"tmp.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": 868.4948539733887,
- "y": 844.9140958786011,
- "z": "3782c339.10eaec",
+ "x": 726.494873046875,
+ "y": 658.9141635894775,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "cc0d92f6.b75bc",
+ "id": "93a23601.a8d538",
"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=\"`$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`\" />",
+ "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": 843.4936943054199,
- "y": 932.0147933959961,
- "z": "3782c339.10eaec",
+ "x": 723.4937057495117,
+ "y": 813.0148620605469,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "f7f6583f.0b3ca8",
+ "id": "d2e02527.891218",
"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' />",
+ "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": 708.4937782287598,
- "y": 1049.0145387649536,
- "z": "3782c339.10eaec",
+ "x": 592.4938049316406,
+ "y": 930.0145664215088,
+ "z": "d497934d.905b2",
"wires": [
[
- "9adc3342.b4ec6",
- "815795d9.7a3888"
+ "fcdc997b.4078f8",
+ "51b1f4ff.c90d0c"
]
]
},
{
- "id": "9adc3342.b4ec6",
+ "id": "fcdc997b.4078f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 873.4937782287598,
- "y": 1029.0145378112793,
- "z": "3782c339.10eaec",
+ "x": 757.4938049316406,
+ "y": 910.0145654678345,
+ "z": "d497934d.905b2",
"wires": [
[
- "4e0aa5fe.22f99c"
+ "3d490b9.3d915f4"
]
]
},
{
- "id": "815795d9.7a3888",
+ "id": "51b1f4ff.c90d0c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 865.4936714172363,
- "y": 1102.0144882202148,
- "z": "3782c339.10eaec",
+ "x": 749.4936981201172,
+ "y": 983.01451587677,
+ "z": "d497934d.905b2",
"wires": [
[
- "31e5ea55.aa9c66"
+ "e45f947.433ec68"
]
]
},
{
- "id": "31e5ea55.aa9c66",
+ "id": "e45f947.433ec68",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1011.4935150146484,
- "y": 1107.014596939087,
- "z": "3782c339.10eaec",
+ "x": 895.4935417175293,
+ "y": 988.0146245956421,
+ "z": "d497934d.905b2",
"wires": [
[
- "960613d8.52f27"
+ "bd4d194c.143df8"
]
]
},
{
- "id": "4e0aa5fe.22f99c",
+ "id": "3d490b9.3d915f4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1022.4936790466309,
- "y": 1025.0146732330322,
- "z": "3782c339.10eaec",
+ "x": 906.4937057495117,
+ "y": 906.0147008895874,
+ "z": "d497934d.905b2",
"wires": [
[
- "33f8f498.fb10ac",
- "2282fbe8.5756e4"
+ "1b71402e.a4ecf",
+ "cd98f681.9f94a8"
]
]
},
{
- "id": "33f8f498.fb10ac",
+ "id": "1b71402e.a4ecf",
"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": 1169.4932975769043,
- "y": 1036.0144147872925,
- "z": "3782c339.10eaec",
+ "x": 1053.4933242797852,
+ "y": 917.0144424438477,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "960613d8.52f27",
+ "id": "bd4d194c.143df8",
"type": "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": 1172.4934349060059,
- "y": 1113.0144891738892,
- "z": "3782c339.10eaec",
+ "x": 1056.4934616088867,
+ "y": 994.0145168304443,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "b8fa2a3a.504528",
+ "id": "b92d963e.6a0b38",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5680.490093231201,
- "y": 3294.0105419158936,
- "z": "3782c339.10eaec",
+ "x": 5620.490100860596,
+ "y": 3349.010585784912,
+ "z": "d497934d.905b2",
"wires": [
[
- "9e8fa761.488408",
- "bafb2d39.626bc",
- "21aa540c.9bee2c"
+ "5c127cb1.89d134",
+ "35c13ba2.c78604",
+ "ad72fb89.959df8"
]
]
},
{
- "id": "9e8fa761.488408",
+ "id": "5c127cb1.89d134",
"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": 5998.491069793701,
- "y": 3217.9102001190186,
- "z": "3782c339.10eaec",
+ "x": 5938.491077423096,
+ "y": 3272.910243988037,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "bafb2d39.626bc",
+ "id": "35c13ba2.c78604",
"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": 5973.4899559021,
- "y": 3315.010877609253,
- "z": "3782c339.10eaec",
+ "x": 5913.489963531494,
+ "y": 3370.0109214782715,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "21aa540c.9bee2c",
+ "id": "ad72fb89.959df8",
"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": 5888.489967346191,
- "y": 3412.0107555389404,
- "z": "3782c339.10eaec",
+ "x": 5828.489974975586,
+ "y": 3467.010799407959,
+ "z": "d497934d.905b2",
"wires": [
[
- "44d3e5bf.c0ce6c",
- "2e76e496.f0582c"
+ "a41dee79.b8a65",
+ "a444dd5a.b3538"
]
]
},
{
- "id": "44d3e5bf.c0ce6c",
+ "id": "a41dee79.b8a65",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 6114.48997592926,
- "y": 3389.010724544525,
- "z": "3782c339.10eaec",
+ "x": 6054.489983558655,
+ "y": 3444.0107684135437,
+ "z": "d497934d.905b2",
"wires": [
[
- "6e0a9012.e27ff"
+ "c0d02df3.5276"
]
]
},
{
- "id": "2e76e496.f0582c",
+ "id": "a444dd5a.b3538",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 6104.48983001709,
- "y": 3497.010663986206,
- "z": "3782c339.10eaec",
+ "x": 6044.489837646484,
+ "y": 3552.0107078552246,
+ "z": "d497934d.905b2",
"wires": [
[
- "49540248.99185c"
+ "9d1d4f3a.ebdae"
]
]
},
{
- "id": "49540248.99185c",
+ "id": "9d1d4f3a.ebdae",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 6254.489616394043,
- "y": 3516.0107250213623,
- "z": "3782c339.10eaec",
+ "x": 6194.4896240234375,
+ "y": 3571.010768890381,
+ "z": "d497934d.905b2",
"wires": [
[
- "6db43e82.4d8db"
+ "cfc663c3.244a"
]
]
},
{
- "id": "6e0a9012.e27ff",
+ "id": "c0d02df3.5276",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 6265.489845275879,
- "y": 3384.0108466148376,
- "z": "3782c339.10eaec",
+ "x": 6205.489852905273,
+ "y": 3439.010890483856,
+ "z": "d497934d.905b2",
"wires": [
[
- "436318c9.37cf38"
+ "ee6c5167.53cea"
]
]
},
{
- "id": "436318c9.37cf38",
+ "id": "ee6c5167.53cea",
"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": 6431.489524841309,
- "y": 3387.010663986206,
- "z": "3782c339.10eaec",
+ "x": 6371.489532470703,
+ "y": 3442.0107078552246,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "6db43e82.4d8db",
+ "id": "cfc663c3.244a",
"type": "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": 6418.489631652832,
- "y": 3522.010663986206,
- "z": "3782c339.10eaec",
+ "x": 6358.489639282227,
+ "y": 3577.0107078552246,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "97ac0173.5eb49",
+ "id": "f35c6ba5.f93758",
"type": "block",
"name": "nearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1771.98978805542,
- "y": 1307.3437099456787,
- "z": "3782c339.10eaec",
+ "x": 1699.9899444580078,
+ "y": 926.3438663482666,
+ "z": "d497934d.905b2",
"wires": [
[
- "b9dfbba1.4288e8",
- "67d07a7a.ba9654",
- "1aa2d78a.404fb8"
+ "e0b6d2d2.12a34",
+ "285b9ac.1dc2b66",
+ "ac2b3c9c.8422b",
+ "9f3773d9.da742",
+ "1c9f8440.6165fc",
+ "f2b2dce2.4222c",
+ "3c50a1a5.becbfe",
+ "871a44d1.637e78"
]
]
},
{
- "id": "8abf64e1.c38d08",
+ "id": "bfec1f07.2c26",
"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": 1686.9896659851074,
- "y": 1060.67702293396,
- "z": "3782c339.10eaec",
+ "x": 1584.9897003173828,
+ "y": 669.6771602630615,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "e31edffc.384aa",
+ "id": "37a324f6.ef491c",
"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": 1749.9897575378418,
- "y": 1141.6770992279053,
- "z": "3782c339.10eaec",
+ "x": 1642.989730834961,
+ "y": 728.6771297454834,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "b9dfbba1.4288e8",
+ "id": "e0b6d2d2.12a34",
"type": "set",
"name": "Calculate parms",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns * 1.1`' />",
+ "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": 2020.3229637145996,
- "y": 1204.6771049499512,
- "z": "3782c339.10eaec",
+ "x": 2103.3230743408203,
+ "y": 777.6771907806396,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "67d07a7a.ba9654",
+ "id": "285b9ac.1dc2b66",
"type": "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.nearRTRIC.maxNumberOfConns`\"/>",
+ "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": 1969.6562614440918,
- "y": 1307.3438320159912,
- "z": "3782c339.10eaec",
+ "x": 2055.6564445495605,
+ "y": 934.3440856933594,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "1aa2d78a.404fb8",
+ "id": "ac2b3c9c.8422b",
"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": 2017.656322479248,
- "y": 1397.6769666671753,
- "z": "3782c339.10eaec",
+ "x": 1789.6564025878906,
+ "y": 1659.6771354675293,
+ "z": "d497934d.905b2",
"wires": [
[
- "2243d0bf.40441",
- "2f9f082f.cc87b8"
+ "4c4525c6.8ba9ec",
+ "22d03c5.84a86c4"
]
]
},
{
- "id": "2243d0bf.40441",
+ "id": "4c4525c6.8ba9ec",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2342.6564445495605,
- "y": 1330.6771478652954,
- "z": "3782c339.10eaec",
+ "x": 2444.657012939453,
+ "y": 1520.6773796081543,
+ "z": "d497934d.905b2",
"wires": [
[
- "4912261a.248ca8"
+ "5ace880e.1d7448"
]
]
},
{
- "id": "2f9f082f.cc87b8",
+ "id": "22d03c5.84a86c4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2373.656337738037,
- "y": 1452.6769828796387,
- "z": "3782c339.10eaec",
+ "x": 2649.657012939453,
+ "y": 1618.6772575378418,
+ "z": "d497934d.905b2",
"wires": [
[
- "5ee232a7.1ef76c"
+ "c861710c.4a7f"
]
]
},
{
- "id": "5ee232a7.1ef76c",
+ "id": "c861710c.4a7f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2544.656337738037,
- "y": 1468.6771049499512,
- "z": "3782c339.10eaec",
+ "x": 2802.656768798828,
+ "y": 1607.6773796081543,
+ "z": "d497934d.905b2",
"wires": [
[
- "a593f3aa.384f2"
+ "e478545c.840ea8"
]
]
},
{
- "id": "a593f3aa.384f2",
+ "id": "e478545c.840ea8",
"type": "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": 2717.656337738037,
- "y": 1466.6772270202637,
- "z": "3782c339.10eaec",
+ "x": 2966.657012939453,
+ "y": 1611.6775016784668,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "e0373836.acd218",
+ "id": "b80ad328.6fb5c",
"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": 2637.65629196167,
- "y": 1422.6771054267883,
- "z": "3782c339.10eaec",
+ "x": 2859.656768798828,
+ "y": 1555.6773493289948,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "4912261a.248ca8",
+ "id": "5ace880e.1d7448",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2500.6566123962402,
- "y": 1306.677146434784,
- "z": "3782c339.10eaec",
+ "x": 2806.657257080078,
+ "y": 1454.6773796081543,
+ "z": "d497934d.905b2",
"wires": [
[
- "e0373836.acd218",
- "9d73ee69.0fd59",
- "b8fa2a3a.504528"
+ "b80ad328.6fb5c",
+ "e413ae0d.caf5",
+ "b92d963e.6a0b38"
]
]
},
{
- "id": "9d73ee69.0fd59",
+ "id": "e413ae0d.caf5",
"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": 2729.65629196167,
- "y": 1250.788146495819,
- "z": "3782c339.10eaec",
+ "x": 2930.657012939453,
+ "y": 1413.7883722484112,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "1d9a2d94.d985b2",
+ "id": "814afc7f.adbf5",
"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": 3120.021251678467,
- "y": 3176.5417795181274,
- "z": "3782c339.10eaec",
+ "x": 3060.0212593078613,
+ "y": 3231.541823387146,
+ "z": "d497934d.905b2",
"wires": [
[
- "1b004f38.b89921",
- "6b1d5536.23a78c"
+ "abc9819d.75f94",
+ "f55df1a1.fd667"
]
]
},
{
- "id": "1b004f38.b89921",
+ "id": "abc9819d.75f94",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3984.020839691162,
- "y": 3216.541851043701,
- "z": "3782c339.10eaec",
+ "x": 3924.0208473205566,
+ "y": 3271.5418949127197,
+ "z": "d497934d.905b2",
"wires": [
[
- "5dcb50b7.44976"
+ "7b691ea4.59833"
]
]
},
{
- "id": "5dcb50b7.44976",
+ "id": "7b691ea4.59833",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4212.021083831787,
- "y": 3208.541851043701,
- "z": "3782c339.10eaec",
+ "x": 4152.021091461182,
+ "y": 3263.5418949127197,
+ "z": "d497934d.905b2",
"wires": [
[
- "49fc806a.e998a",
- "b4e917e4.8f6d08",
- "b8fa2a3a.504528"
+ "966debe.9201918",
+ "2cc25ff9.988eb",
+ "b92d963e.6a0b38"
]
]
},
{
- "id": "b4e917e4.8f6d08",
+ "id": "2cc25ff9.988eb",
"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": 4327.020839691162,
- "y": 3121.652690887451,
- "z": "3782c339.10eaec",
+ "x": 4267.020847320557,
+ "y": 3176.6527347564697,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "49fc806a.e998a",
+ "id": "966debe.9201918",
"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": 4395.020839691162,
- "y": 3228.541606903076,
- "z": "3782c339.10eaec",
+ "x": 4335.020847320557,
+ "y": 3283.5416507720947,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "6b1d5536.23a78c",
+ "id": "f55df1a1.fd667",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3989.020839691162,
- "y": 3264.541606903076,
- "z": "3782c339.10eaec",
+ "x": 3929.0208473205566,
+ "y": 3319.5416507720947,
+ "z": "d497934d.905b2",
"wires": [
[
- "a99acb17.4c8378"
+ "ecff7621.9b4eb8"
]
]
},
{
- "id": "a99acb17.4c8378",
+ "id": "ecff7621.9b4eb8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4154.020839691162,
- "y": 3263.541851043701,
- "z": "3782c339.10eaec",
+ "x": 4094.0208473205566,
+ "y": 3318.5418949127197,
+ "z": "d497934d.905b2",
"wires": [
[
- "21de19c7.91eef6"
+ "1a777a08.916b56"
]
]
},
{
- "id": "21de19c7.91eef6",
+ "id": "1a777a08.916b56",
"type": "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": 4306.020839691162,
- "y": 3276.541851043701,
- "z": "3782c339.10eaec",
+ "x": 4246.020847320557,
+ "y": 3331.5418949127197,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "f1a802f3.e7801",
+ "id": "4c529776.696d88",
"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": 2580.98974609375,
- "y": 3248.01025390625,
- "z": "3782c339.10eaec",
+ "x": 2520.9897537231445,
+ "y": 3303.0102977752686,
+ "z": "d497934d.905b2",
"wires": [
[
- "d4becda1.f48b7",
- "ff30f4ef.239178"
+ "b7caa3ac.eecc3",
+ "22def37c.479b9c"
]
]
},
{
- "id": "6381cd68.8bfad4",
+ "id": "dbf0191b.cfceb8",
"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": 4305.989986419678,
- "y": 3314.0105724334717,
- "z": "3782c339.10eaec",
+ "x": 4245.989994049072,
+ "y": 3369.0106163024902,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "24cbb36e.9fa02c",
+ "id": "4e769bb4.5a45d4",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4230.989765167236,
- "y": 3371.8997344970703,
- "z": "3782c339.10eaec",
+ "x": 4170.989772796631,
+ "y": 3426.899778366089,
+ "z": "d497934d.905b2",
"wires": [
[
- "b46b09e6.8e3d78",
- "6381cd68.8bfad4",
- "b8fa2a3a.504528"
+ "a4a70462.9ef128",
+ "dbf0191b.cfceb8",
+ "b92d963e.6a0b38"
]
]
},
{
- "id": "b46b09e6.8e3d78",
+ "id": "a4a70462.9ef128",
"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": 4397.989879608154,
- "y": 3405.8991956710815,
- "z": "3782c339.10eaec",
+ "x": 4337.989887237549,
+ "y": 3460.8992395401,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "73cb4fc7.63af1",
+ "id": "dc2caae8.37ed28",
"type": "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\"/>",
+ "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": 3981.98978805542,
- "y": 3439.8993740081787,
- "z": "3782c339.10eaec",
+ "x": 3921.9897956848145,
+ "y": 3494.8994178771973,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "fb6a9e79.9a0c8",
+ "id": "43472b7d.1369f4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3822.9903717041016,
- "y": 3395.8999528884888,
- "z": "3782c339.10eaec",
+ "x": 3762.990379333496,
+ "y": 3450.8999967575073,
+ "z": "d497934d.905b2",
"wires": [
[
- "73cb4fc7.63af1",
- "384c1e28.4c1912"
+ "dc2caae8.37ed28",
+ "834ba42d.3c3108"
]
]
},
{
- "id": "ff30f4ef.239178",
+ "id": "22def37c.479b9c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3729.990036010742,
- "y": 3327.8983755111694,
- "z": "3782c339.10eaec",
+ "x": 3669.9900436401367,
+ "y": 3382.898419380188,
+ "z": "d497934d.905b2",
"wires": [
[
- "fb6a9e79.9a0c8"
+ "43472b7d.1369f4"
]
]
},
{
- "id": "d4becda1.f48b7",
+ "id": "b7caa3ac.eecc3",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3730.989990234375,
- "y": 3281.8995146751404,
- "z": "3782c339.10eaec",
+ "x": 3670.9899978637695,
+ "y": 3336.899558544159,
+ "z": "d497934d.905b2",
"wires": [
[
- "24cbb36e.9fa02c"
+ "4e769bb4.5a45d4"
]
]
},
{
- "id": "384c1e28.4c1912",
+ "id": "834ba42d.3c3108",
"type": "set",
"name": "Increment RRMPolicyID",
"xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
"comments": "",
- "x": 4034.2222023010254,
- "y": 3391.465057373047,
- "z": "3782c339.10eaec",
+ "x": 3974.22220993042,
+ "y": 3446.4651012420654,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "8fecdc9.0fd1a2",
+ "id": "177ca448.e3f69c",
"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": 3264.521251678467,
- "y": 5326.54160118103,
- "z": "3782c339.10eaec",
+ "x": 3202.5212478637695,
+ "y": 5265.54150390625,
+ "z": "d497934d.905b2",
"wires": [
[
- "ffaaa59e.3131a8",
- "3fcb3191.fe796e"
+ "b08d0449.c40f68",
+ "891e525e.5624b"
]
]
},
{
- "id": "ffaaa59e.3131a8",
+ "id": "b08d0449.c40f68",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4024.5211448669434,
- "y": 5390.541712284088,
- "z": "3782c339.10eaec",
+ "x": 3934.5210037231445,
+ "y": 5359.5419921875,
+ "z": "d497934d.905b2",
"wires": [
[
- "fdb9127b.b4138"
+ "572cd0de.28077"
]
]
},
{
- "id": "3fcb3191.fe796e",
+ "id": "891e525e.5624b",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4143.520839691162,
- "y": 5468.541606903076,
- "z": "3782c339.10eaec",
+ "x": 4083.5208473205566,
+ "y": 5523.541650772095,
+ "z": "d497934d.905b2",
"wires": [
[
- "71f1f8b.d39ba08"
+ "44856f36.2a8"
]
]
},
{
- "id": "fdb9127b.b4138",
+ "id": "572cd0de.28077",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4261.521144866943,
- "y": 5382.541834831238,
- "z": "3782c339.10eaec",
+ "x": 4249.5210037231445,
+ "y": 5363.5419921875,
+ "z": "d497934d.905b2",
"wires": [
[
- "415d1fe4.50d4",
- "e95eff1.7901f",
- "b8fa2a3a.504528"
+ "6d6c005e.b020e",
+ "c0cdef56.cbd8",
+ "b92d963e.6a0b38"
]
]
},
{
- "id": "71f1f8b.d39ba08",
+ "id": "44856f36.2a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4273.520801544189,
- "y": 5506.5416049957275,
- "z": "3782c339.10eaec",
+ "x": 4213.520809173584,
+ "y": 5561.541648864746,
+ "z": "d497934d.905b2",
"wires": [
[
- "b78b409a.a2d53"
+ "6e7882b.959477c"
]
]
},
{
- "id": "b78b409a.a2d53",
+ "id": "6e7882b.959477c",
"type": "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": 4398.520805358887,
- "y": 5476.541605949402,
- "z": "3782c339.10eaec",
+ "x": 4338.520812988281,
+ "y": 5531.54164981842,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "415d1fe4.50d4",
+ "id": "6d6c005e.b020e",
"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": 4417.520839691162,
- "y": 5436.541606903076,
- "z": "3782c339.10eaec",
+ "x": 4335.5210037231445,
+ "y": 5443.54150390625,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "e95eff1.7901f",
+ "id": "c0cdef56.cbd8",
"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": 4340.520900726318,
- "y": 5310.6531620025635,
- "z": "3782c339.10eaec",
+ "x": 4260.5210037231445,
+ "y": 5263.6533203125,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "62b5445b.98720c",
+ "id": "e5fcaa90.d42a48",
"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": 4394.490531921387,
- "y": 5524.010519981384,
- "z": "3782c339.10eaec",
+ "x": 4334.490539550781,
+ "y": 5579.010563850403,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "8533c5d2.a17d18",
+ "id": "1ae9a4a.3debb5b",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4337.489551544189,
- "y": 5586.899681091309,
- "z": "3782c339.10eaec",
+ "x": 4277.489559173584,
+ "y": 5641.899724960327,
+ "z": "d497934d.905b2",
"wires": [
[
- "3d961bb4.e43d94",
- "62b5445b.98720c",
- "b8fa2a3a.504528"
+ "a46f3dd.1f1b5c",
+ "e5fcaa90.d42a48",
+ "b92d963e.6a0b38"
]
]
},
{
- "id": "3d961bb4.e43d94",
+ "id": "a46f3dd.1f1b5c",
"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": 4458.490207672119,
- "y": 5650.899032592773,
- "z": "3782c339.10eaec",
+ "x": 4398.490215301514,
+ "y": 5705.899076461792,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "bd717e0b.ec86e",
+ "id": "70c116f6.e23408",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3884.490036010742,
- "y": 5531.898375511169,
- "z": "3782c339.10eaec",
+ "x": 3824.4900436401367,
+ "y": 5586.898419380188,
+ "z": "d497934d.905b2",
"wires": [
[
- "e4fa71e.42b649"
+ "474eec7c.4b1924"
]
]
},
{
- "id": "e4fa71e.42b649",
+ "id": "474eec7c.4b1924",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3854.490436553955,
- "y": 5620.899682998657,
- "z": "3782c339.10eaec",
+ "x": 3794.4904441833496,
+ "y": 5675.899726867676,
+ "z": "d497934d.905b2",
"wires": [
[
- "a59ae82d.a33658",
- "2005154.a896eea"
+ "6c5d64b8.38ae6c",
+ "e3f59791.e81ff8"
]
]
},
{
- "id": "a59ae82d.a33658",
+ "id": "6c5d64b8.38ae6c",
"type": "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\"/>",
+ "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": 4010.4904403686523,
- "y": 5655.899684906006,
- "z": "3782c339.10eaec",
+ "x": 3950.490447998047,
+ "y": 5710.899728775024,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "2005154.a896eea",
+ "id": "e3f59791.e81ff8",
"type": "set",
"name": "Increment RRMPolicyID",
"xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
"comments": "",
- "x": 4061.7228660583496,
- "y": 5585.464785575867,
- "z": "3782c339.10eaec",
+ "x": 4001.722873687744,
+ "y": 5640.464829444885,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "a572f5c.9134a08",
+ "id": "5ba2bba8.b87c04",
"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": 2902.490077972412,
- "y": 5499.0103549957275,
- "z": "3782c339.10eaec",
+ "x": 2904.4899978637695,
+ "y": 5450.01025390625,
+ "z": "d497934d.905b2",
"wires": [
[
- "bd717e0b.ec86e",
- "ea30d9c4.e516e8"
+ "70c116f6.e23408",
+ "477ae3ff.13ad0c"
]
]
},
{
- "id": "ea30d9c4.e516e8",
+ "id": "477ae3ff.13ad0c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3889.656337738037,
- "y": 5468.343852996826,
- "z": "3782c339.10eaec",
+ "x": 3829.6563453674316,
+ "y": 5523.343896865845,
+ "z": "d497934d.905b2",
"wires": [
[
- "8533c5d2.a17d18"
+ "1ae9a4a.3debb5b"
]
]
},
{
- "id": "f2fd9e25.4133c",
+ "id": "db6dc23.cf5d34",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2745.32368850708,
- "y": 7002.678178787231,
- "z": "3782c339.10eaec",
+ "x": 2965.32470703125,
+ "y": 7184.68119764328,
+ "z": "d497934d.905b2",
"wires": [
[
- "f02bedd1.dd20e",
- "9bf49932.a9e288",
- "cae55542.a94378"
+ "1113b6b8.ae4459",
+ "6713c4f8.062c9c",
+ "aef72bb2.3fcea8"
]
]
},
{
- "id": "f02bedd1.dd20e",
+ "id": "1113b6b8.ae4459",
"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": 2968.3245162963867,
- "y": 6859.577959060669,
- "z": "3782c339.10eaec",
+ "x": 3091.3253631591797,
+ "y": 7081.579633712769,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "9bf49932.a9e288",
+ "id": "6713c4f8.062c9c",
"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": 3018.3240280151367,
- "y": 6927.678789138794,
- "z": "3782c339.10eaec",
+ "x": 3253.3247146606445,
+ "y": 7209.681198120117,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "cae55542.a94378",
+ "id": "aef72bb2.3fcea8",
"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": 2858.323600769043,
- "y": 7113.678300857544,
- "z": "3782c339.10eaec",
+ "x": 3072.3243141174316,
+ "y": 7372.680591106415,
+ "z": "d497934d.905b2",
"wires": [
[
- "d3c50305.d60a9",
- "eb79f1e4.c7dc1"
+ "3c250bec.46dbd4",
+ "765365c9.8bc67c"
]
]
},
{
- "id": "d3c50305.d60a9",
+ "id": "3c250bec.46dbd4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2991.3240280151367,
- "y": 7024.678544998169,
- "z": "3782c339.10eaec",
+ "x": 3182.3248023986816,
+ "y": 7284.680347442627,
+ "z": "d497934d.905b2",
"wires": [
[
- "430fca3c.f540f4"
+ "28c4e81a.4126a8"
]
]
},
{
- "id": "eb79f1e4.c7dc1",
+ "id": "765365c9.8bc67c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2903.323905944824,
- "y": 7232.678422927856,
- "z": "3782c339.10eaec",
+ "x": 3124.324680328369,
+ "y": 7458.680228710175,
+ "z": "d497934d.905b2",
"wires": [
[
- "b66a3d1d.f73cf"
+ "52236a31.581ef4"
]
]
},
{
- "id": "b66a3d1d.f73cf",
+ "id": "52236a31.581ef4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3040.3237838745117,
- "y": 7178.678789138794,
- "z": "3782c339.10eaec",
+ "x": 3255.3247413635254,
+ "y": 7413.68120598793,
+ "z": "d497934d.905b2",
"wires": [
[
- "90ed8d94.e91ca"
+ "33960664.c605ba"
]
]
},
{
- "id": "430fca3c.f540f4",
+ "id": "28c4e81a.4126a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3069.3239669799805,
- "y": 7096.679033279419,
- "z": "3782c339.10eaec",
+ "x": 3291.3249855041504,
+ "y": 7353.681080341339,
+ "z": "d497934d.905b2",
"wires": [
[
- "19df6fda.5be54"
+ "2aae22a1.688dbe"
]
]
},
{
- "id": "19df6fda.5be54",
+ "id": "2aae22a1.688dbe",
"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": 3172.3232955932617,
- "y": 7018.678789138794,
- "z": "3782c339.10eaec",
+ "x": 3380.3240699768066,
+ "y": 7285.681201934814,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "90ed8d94.e91ca",
+ "id": "33960664.c605ba",
"type": "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": 3132.3239669799805,
- "y": 7256.678300857544,
- "z": "3782c339.10eaec",
+ "x": 3288.324863433838,
+ "y": 7495.680473804474,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "864ccc1f.7689",
+ "id": "2f12ac6d.25f5c4",
"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": 2533.323314666748,
- "y": 6098.011676311493,
- "z": "3782c339.10eaec",
+ "x": 2357.3241653442383,
+ "y": 6945.013872623444,
+ "z": "d497934d.905b2",
"wires": [
[
- "244b4266.afc5ee",
- "3e7a0939.bd3286"
+ "d31e299f.61fd88",
+ "4d3d0763.16bc38"
]
]
},
{
- "id": "244b4266.afc5ee",
+ "id": "d31e299f.61fd88",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2574.3232421875,
- "y": 6218.012006759644,
- "z": "3782c339.10eaec",
+ "x": 2522.3237228393555,
+ "y": 7006.013222694397,
+ "z": "d497934d.905b2",
"wires": [
[
- "8551cb3f.3bc918"
+ "5fa10f83.a53be"
]
]
},
{
- "id": "3e7a0939.bd3286",
+ "id": "4d3d0763.16bc38",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2787.3234214782715,
- "y": 6108.01263999939,
- "z": "3782c339.10eaec",
+ "x": 2572.3242111206055,
+ "y": 6918.013219594955,
+ "z": "d497934d.905b2",
"wires": [
[
- "1b4a1141.a7d3cf"
+ "4896dcb4.cd2334"
]
]
},
{
- "id": "8551cb3f.3bc918",
+ "id": "5fa10f83.a53be",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2718.3229179382324,
- "y": 6239.012008190155,
- "z": "3782c339.10eaec",
+ "x": 2762.323402404785,
+ "y": 6974.014523029327,
+ "z": "d497934d.905b2",
"wires": [
[
- "80208598.5f50e8",
- "9e024e9d.b1537",
- "f2fd9e25.4133c"
+ "c65c9edd.ef375",
+ "72b4643.c6fd79c",
+ "db6dc23.cf5d34"
]
]
},
{
- "id": "1b4a1141.a7d3cf",
+ "id": "4896dcb4.cd2334",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2851.323055267334,
- "y": 6180.011297225952,
- "z": "3782c339.10eaec",
+ "x": 2735.323402404785,
+ "y": 6907.0132188797,
+ "z": "d497934d.905b2",
"wires": [
[
- "5085099d.ecb4c8"
+ "e010dfee.6dfdc"
]
]
},
{
- "id": "5085099d.ecb4c8",
+ "id": "e010dfee.6dfdc",
"type": "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\"/>",
+ "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": 2991.322811126709,
- "y": 6157.009954452515,
- "z": "3782c339.10eaec",
+ "x": 2912.3234062194824,
+ "y": 6925.010615348816,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "80208598.5f50e8",
+ "id": "c65c9edd.ef375",
"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": 2674.322593688965,
- "y": 6352.011360406876,
- "z": "3782c339.10eaec",
+ "x": 2706.3232345581055,
+ "y": 7059.013223648071,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "9e024e9d.b1537",
+ "id": "72b4643.c6fd79c",
"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": 2958.32275390625,
- "y": 6238.122625350952,
- "z": "3782c339.10eaec",
+ "x": 2927.3234100341797,
+ "y": 6988.12389755249,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "49fe90b0.6eaa9",
+ "id": "d767c42c.499048",
"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": 2636.2926445007324,
- "y": 6559.480766296387,
- "z": "3782c339.10eaec",
+ "x": 2726.2931270599365,
+ "y": 7225.482141494751,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "d3762e09.41c17",
+ "id": "338f25c8.54104a",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2527.291666030884,
- "y": 6697.368790626526,
- "z": "3782c339.10eaec",
+ "x": 2594.2921447753906,
+ "y": 7280.370000839233,
+ "z": "d497934d.905b2",
"wires": [
[
- "f2244cd1.6759b",
- "49fe90b0.6eaa9",
- "f2fd9e25.4133c"
+ "c97ea05b.62e8f",
+ "d767c42c.499048",
+ "db6dc23.cf5d34"
]
]
},
{
- "id": "f2244cd1.6759b",
+ "id": "c97ea05b.62e8f",
"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": 2476.2923164367676,
- "y": 6842.368793487549,
- "z": "3782c339.10eaec",
+ "x": 2751.2929611206055,
+ "y": 7328.37016582489,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "1d7dcc79.41fe94",
+ "id": "6c32252e.1b89cc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2270.292308807373,
- "y": 6480.367482185364,
- "z": "3782c339.10eaec",
+ "x": 2478.292793273926,
+ "y": 7068.368692398071,
+ "z": "d497934d.905b2",
"wires": [
[
- "64aa8f18.82459"
+ "72338faf.8c7d3"
]
]
},
{
- "id": "64aa8f18.82459",
+ "id": "72338faf.8c7d3",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2402.2929611206055,
- "y": 6530.36878490448,
- "z": "3782c339.10eaec",
+ "x": 2566.293445587158,
+ "y": 7171.369346618652,
+ "z": "d497934d.905b2",
"wires": [
[
- "f3d0cf14.1b904",
- "aa097a7b.3cda78"
+ "c7f63e.8bdf49c",
+ "aa224fb2.01fc6"
]
]
},
{
- "id": "f3d0cf14.1b904",
+ "id": "c7f63e.8bdf49c",
"type": "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\"/>",
+ "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": 2472.2932891845703,
- "y": 6620.368787765503,
- "z": "3782c339.10eaec",
+ "x": 2710.2937774658203,
+ "y": 7171.370161056519,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "aa097a7b.3cda78",
+ "id": "aa224fb2.01fc6",
"type": "set",
"name": "Increment RRMPolicyID",
"xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
"comments": "",
- "x": 2493.525058746338,
- "y": 6394.9338846206665,
- "z": "3782c339.10eaec",
+ "x": 2736.525547027588,
+ "y": 7116.93510055542,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "862bddc0.5e5c4",
+ "id": "cd2a0ccf.d2962",
"type": "execute",
- "name": "Update RRMPolicy for gNBDU in ConfigDB",
+ "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": 2166.2921562194824,
- "y": 6606.479464530945,
- "z": "3782c339.10eaec",
+ "x": 2295.292900085449,
+ "y": 7163.480674743652,
+ "z": "d497934d.905b2",
"wires": [
[
- "1d7dcc79.41fe94",
- "40e682da.477fcc"
+ "6c32252e.1b89cc",
+ "46f12c44.abc7e4"
]
]
},
{
- "id": "40e682da.477fcc",
+ "id": "46f12c44.abc7e4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2351.4583282470703,
- "y": 6752.81280040741,
- "z": "3782c339.10eaec",
+ "x": 2435.4589309692383,
+ "y": 7270.814012527466,
+ "z": "d497934d.905b2",
"wires": [
[
- "d3762e09.41c17"
+ "338f25c8.54104a"
]
]
},
{
- "id": "67d51f42.c8718",
+ "id": "b31de071.d9ec2",
"type": "for",
"name": "For cellCU List",
"xml": "<for index='idCell' start='0' end='`$tmp.cellCUListEntries `' >",
"comments": "",
"outputs": 1,
- "x": 2606.989677429199,
- "y": 2401.01038312912,
- "z": "3782c339.10eaec",
+ "x": 2396.9897537231445,
+ "y": 2368.010498046875,
+ "z": "d497934d.905b2",
"wires": [
[
- "eb0b9b91.860278"
+ "d285b400.69a1d8"
]
]
},
{
- "id": "90c97b70.652168",
+ "id": "5f5ce956.016288",
"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": 2811.9896507263184,
- "y": 2167.010413169861,
- "z": "3782c339.10eaec",
+ "x": 2705.9897537231445,
+ "y": 2172.010498046875,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "6e5b0733.1fd658",
+ "id": "de43fc64.26c2e",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$tmp.gNBCUCPList.cellLocalId == $tmp.cellLocalId`\"> \n",
"comments": "",
"outputs": 1,
- "x": 2770.9902305603027,
- "y": 2503.01038646698,
- "z": "3782c339.10eaec",
+ "x": 2644.9902420043945,
+ "y": 2424.010498046875,
+ "z": "d497934d.905b2",
"wires": [
[
- "175bcdd4.7c41e2"
+ "cd011498.6f8108"
]
]
},
{
- "id": "175bcdd4.7c41e2",
+ "id": "cd011498.6f8108",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2842.9902305603027,
- "y": 2394.010355949402,
- "z": "3782c339.10eaec",
+ "x": 2748.9902420043945,
+ "y": 2333.010498046875,
+ "z": "d497934d.905b2",
"wires": [
[
- "34e8c09c.9b853"
+ "1f9ada1a.90dc06"
]
]
},
{
- "id": "34e8c09c.9b853",
+ "id": "1f9ada1a.90dc06",
"type": "block",
"name": "UpdateCell",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2906.989860534668,
- "y": 2260.0103521347046,
- "z": "3782c339.10eaec",
+ "x": 2826.9897537231445,
+ "y": 2245.010498046875,
+ "z": "d497934d.905b2",
"wires": [
[
- "3bce4f59.1d2eb",
- "7114e629.77e9f8",
- "2141ee1e.d6b4b2",
- "5b90deb5.d3673",
- "5d5aa187.76c5a",
- "1d9a2d94.d985b2"
+ "bb7962a6.f1f59",
+ "f0efed1f.2e476",
+ "7c862c91.655a84",
+ "1dd7fd97.1efc52",
+ "b7f242b0.c99ec",
+ "814afc7f.adbf5"
]
]
},
{
- "id": "eb0b9b91.860278",
+ "id": "d285b400.69a1d8",
"type": "block",
"name": "Block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2652.989616394043,
- "y": 2299.010413169861,
- "z": "3782c339.10eaec",
+ "x": 2510.9895095825195,
+ "y": 2280.010498046875,
+ "z": "d497934d.905b2",
"wires": [
[
- "90c97b70.652168",
- "6e5b0733.1fd658"
+ "5f5ce956.016288",
+ "de43fc64.26c2e"
]
]
},
{
- "id": "c047063f.881ee8",
+ "id": "d77bbe34.f1f16",
"type": "for",
"name": "For cellDU List",
"xml": "<for index='idCell' start='0' end='`$tmp.cellDUListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3397.2440147399902,
- "y": 6276.015817642212,
- "z": "3782c339.10eaec",
+ "x": 2738.244300842285,
+ "y": 6075.016944885254,
+ "z": "d497934d.905b2",
"wires": [
[
- "2c82904f.90ab4"
+ "e7f95262.52773",
+ "ef9c6b64.63b3f8"
]
]
},
{
- "id": "c2f0a43f.5ddd68",
+ "id": "f2ace5ee.b32d38",
"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=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].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": 3317.2440147399902,
- "y": 6432.014719009399,
- "z": "3782c339.10eaec",
+ "x": 2856.24462890625,
+ "y": 6152.014343261719,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "532d1e38.24cd6",
+ "id": "92988d6f.0cf03",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$tmp.gNBDUList.cellLocalId == $tmp.cellLocalId`\">",
"comments": "",
"outputs": 1,
- "x": 3144.243953704834,
- "y": 6580.014226913452,
- "z": "3782c339.10eaec",
+ "x": 2761.2439880371094,
+ "y": 6262.014347076416,
+ "z": "d497934d.905b2",
"wires": [
[
- "62a7f7e7.916228"
+ "863b0fcc.9873d"
]
]
},
{
- "id": "62a7f7e7.916228",
+ "id": "863b0fcc.9873d",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3233.243953704834,
- "y": 6669.014348983765,
- "z": "3782c339.10eaec",
+ "x": 2975.244316101074,
+ "y": 6220.014347076416,
+ "z": "d497934d.905b2",
"wires": [
[
- "697bf4b2.788f7c"
+ "50df0e89.a82da"
]
]
},
{
- "id": "697bf4b2.788f7c",
+ "id": "50df0e89.a82da",
"type": "block",
"name": "UpdateCell",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3345.2441329956055,
- "y": 6517.014600753784,
- "z": "3782c339.10eaec",
+ "x": 3143.244644165039,
+ "y": 6229.015000343323,
+ "z": "d497934d.905b2",
"wires": [
[
- "f128051e.58f4d8",
- "723405eb.74705c"
+ "6304e0d0.83f86",
+ "e3cfe875.384318",
+ "393d330a.82099c"
]
]
},
{
- "id": "2c82904f.90ab4",
+ "id": "e7f95262.52773",
"type": "block",
"name": "Block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3100.243434906006,
- "y": 6456.014293193817,
- "z": "3782c339.10eaec",
+ "x": 2519.2439727783203,
+ "y": 6203.014345169067,
+ "z": "d497934d.905b2",
"wires": [
[
- "c2f0a43f.5ddd68",
- "532d1e38.24cd6"
+ "f2ace5ee.b32d38",
+ "92988d6f.0cf03",
+ "9c17f495.d17728"
]
]
},
{
- "id": "f6cf0566.75b7c8",
+ "id": "3bbd0319.fa4bac",
"type": "block",
"name": "rrmPolicyRatioPerCELLCU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2352.989589691162,
- "y": 2051.010356903076,
- "z": "3782c339.10eaec",
+ "x": 2216.98974609375,
+ "y": 1976.010498046875,
+ "z": "d497934d.905b2",
"wires": [
[
- "60107b63.4c1e24",
- "278901fc.626a8e"
+ "b550b6d2.73c248",
+ "907be4bd.a38118",
+ "1311957f.61fb0b",
+ "d77266a8.593b48"
]
]
},
{
- "id": "278901fc.626a8e",
+ "id": "b550b6d2.73c248",
"type": "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`\"/>",
+ "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": 2561.989345550537,
- "y": 2098.454936981201,
- "z": "3782c339.10eaec",
+ "x": 2371.989574432373,
+ "y": 2106.455057144165,
+ "z": "d497934d.905b2",
"wires": [
[]
]
},
{
- "id": "60107b63.4c1e24",
+ "id": "53b70dbb.624744",
"type": "set",
- "name": "calculation",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.maxNumberOfConns / $tmp.cellCUListEntries`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
+ "name": "Calculate for RRM1",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />\n",
"comments": "",
- "x": 2556.989833831787,
- "y": 2034.7883110046387,
- "z": "3782c339.10eaec",
+ "x": 3170.9903411865234,
+ "y": 3419.0103368759155,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "a81cebdf.634838",
+ "id": "a23b0f22.80419",
"type": "set",
- "name": "Calculate for RRM",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns * 1.1`' />\n<parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns * .6`' />\n<parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' />",
+ "name": "Calculate RRM Parms1",
+ "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
"comments": "",
- "x": 3232.989589691162,
- "y": 3485.010356903076,
- "z": "3782c339.10eaec",
+ "x": 2554.9900970458984,
+ "y": 5363.012114524841,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "e5dbe85b.c85da8",
+ "id": "2f1529ef.cd1e36",
"type": "set",
- "name": "Calculate RRM Parms",
- "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns * 1.1`' />\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
+ "name": "calculation10",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
"comments": "",
- "x": 3346.989589691162,
- "y": 5784.010356903076,
- "z": "3782c339.10eaec",
+ "x": 2500.9901580810547,
+ "y": 5875.011870384216,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "8305619e.01842",
+ "id": "cd98f681.9f94a8",
"type": "set",
- "name": "calculation",
- "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.DUListEntries`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
+ "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": 3548.989589691162,
- "y": 5844.010356903076,
- "z": "3782c339.10eaec",
+ "x": 1041.0039329528809,
+ "y": 821.0039339065552,
+ "z": "d497934d.905b2",
"wires": []
},
{
- "id": "2282fbe8.5756e4",
+ "id": "7390b922.c69db8",
+ "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",
+ "wires": [
+ [
+ "f2362898.8a3a18",
+ "9afab0d6.63cab"
+ ]
+ ]
+ },
+ {
+ "id": "f2362898.8a3a18",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4451.000144958496,
+ "y": 7381.989805221558,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "9b71ee36.130cd"
+ ]
+ ]
+ },
+ {
+ "id": "9b71ee36.130cd",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4636.999500274658,
+ "y": 7374.989803314209,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "216f8291.2f71ee"
+ ]
+ ]
+ },
+ {
+ "id": "216f8291.2f71ee",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f9a56687.7d08d8",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d9681003.6bc88",
+ "type": "block",
+ "name": "Action Per DU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2068.5000648498535,
+ "y": 5940.333670139313,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "feb69365.3be17",
+ "f08b352c.597cb8",
+ "ddde50d5.41b19",
+ "b7a23ac6.e2c748"
+ ]
+ ]
+ },
+ {
+ "id": "6488de89.26e7d",
+ "type": "block",
+ "name": "Activies Per Call",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2561.1667098999023,
+ "y": 6035.333582401276,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "d77bbe34.f1f16"
+ ]
+ ]
+ },
+ {
+ "id": "393d330a.82099c",
+ "type": "block",
+ "name": "ConfigDB DU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2192.8339233398438,
+ "y": 7017.00119304657,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "2f12ac6d.25f5c4",
+ "cd2a0ccf.d2962"
+ ]
+ ]
+ },
+ {
+ "id": "ef9c6b64.63b3f8",
+ "type": "block",
+ "name": "Block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3014.166961669922,
+ "y": 6077.0005741119385,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "7ff7497.13117b8",
+ "ffa3833e.e9956",
+ "48f24fa1.aac44"
+ ]
+ ]
+ },
+ {
+ "id": "9c17f495.d17728",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9f3773d9.da742",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1c9f8440.6165fc",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f2b2dce2.4222c",
"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'/>",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "3c50a1a5.becbfe",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "907be4bd.a38118",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "1311957f.61fb0b",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "d77266a8.593b48",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "4bb23920.579f58",
+ "type": "set",
+ "name": "Calculate for RRM2",
+ "xml": "<set>\n<parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns`' />",
+ "comments": "",
+ "x": 3197.0316581726074,
+ "y": 3478.531699180603,
+ "z": "d497934d.905b2",
+ "wires": []
+ },
+ {
+ "id": "4adf99ac.f43138",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "3d7b3678.efb19a",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "3734ae81.e94062",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "19f19028.622a5",
+ "type": "set",
+ "name": "Calculate RRM Parms3",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
"comments": "",
- "x": 1157.00390625,
- "y": 940.00390625,
- "z": "3782c339.10eaec",
+ "x": 2553.531478881836,
+ "y": 5463.032011926174,
+ "z": "d497934d.905b2",
"wires": []
+ },
+ {
+ "id": "255fdc18.108bc4",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "1cd94a41.d15706",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "5ce82acb.805884",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "20b95cc1.ef7f24",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "c3e2d57f.a357c8",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "432c2b41.ac7a94",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "c56e9656.af3bd8",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2081.0311851501465,
+ "y": 1075.0781395435333,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "785a0637.29c608",
+ "a2ef3240.150a8"
+ ]
+ ]
+ },
+ {
+ "id": "785a0637.29c608",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2271.03116607666,
+ "y": 1045.0779230594635,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "61e6cf02.2c7fc"
+ ]
+ ]
+ },
+ {
+ "id": "a2ef3240.150a8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2251.0311393737793,
+ "y": 1124.0780146121979,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "6a3de219.dc091c"
+ ]
+ ]
+ },
+ {
+ "id": "4d804d2f.1ca854",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "871a44d1.637e78",
+ "type": "block",
+ "name": "Add sliceprofile NRTRIC",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1947.0308685302734,
+ "y": 1276.4219107627869,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "4d804d2f.1ca854",
+ "4a91c0ab.a4945",
+ "c56e9656.af3bd8",
+ "98fc18a5.33ec48"
+ ]
+ ]
+ },
+ {
+ "id": "98fc18a5.33ec48",
+ "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",
+ "wires": [
+ [
+ "42df6822.718998",
+ "26b0d484.35a0ac"
+ ]
+ ]
+ },
+ {
+ "id": "4a91c0ab.a4945",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "98b82496.127348",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "42df6822.718998",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2743.0311965942383,
+ "y": 1214.4113140106201,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "b71af0f.d70ce1"
+ ]
+ ]
+ },
+ {
+ "id": "26b0d484.35a0ac",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2653.032081604004,
+ "y": 1329.411301612854,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "b7687486.6a8248"
+ ]
+ ]
+ },
+ {
+ "id": "b7687486.6a8248",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2818.0307998657227,
+ "y": 1330.411301612854,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "a3b17856.124c38"
+ ]
+ ]
+ },
+ {
+ "id": "3e03b6b8.09bb8a",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "a3b17856.124c38",
+ "type": "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6a3de219.dc091c",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2444.0207901000977,
+ "y": 1119.0780146121979,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "6605bd9d.c965a4",
+ "6650f5b0.5c304c",
+ "ea5023d4.20878"
+ ]
+ ]
+ },
+ {
+ "id": "7f260c05.abc2d4",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d7b45056.31cc2",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6605bd9d.c965a4",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6650f5b0.5c304c",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ea5023d4.20878",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b71af0f.d70ce1",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2892.4548263549805,
+ "y": 1219.2326855659485,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "3e03b6b8.09bb8a"
+ ]
+ ]
+ },
+ {
+ "id": "61e6cf02.2c7fc",
+ "type": "block",
+ "name": "URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2375.232666015625,
+ "y": 930.6771240234375,
+ "z": "d497934d.905b2",
+ "wires": [
+ [
+ "98b82496.127348",
+ "d7b45056.31cc2"
+ ]
+ ]
}
]
diff --git a/platform-logic/ran-slice-api/src/main/resources/graph.versions b/platform-logic/ran-slice-api/src/main/resources/graph.versions
index 6ed4d08f..854b5cde 100644
--- a/platform-logic/ran-slice-api/src/main/resources/graph.versions
+++ b/platform-logic/ran-slice-api/src/main/resources/graph.versions
@@ -1,6 +1,9 @@
ran-slice-api configureNearRTRIC ${project.version} sync
ran-slice-api instantiateRANSlice ${project.version} sync
ran-slice-api instantiateRANSliceAllocate ${project.version} sync
+ran-slice-api instantiateRANSliceModifyAllocate ${project.version} sync
+ran-slice-api instantiateRANSliceModifyDeallocate ${project.version} sync
+ran-slice-api instantiateRANSliceReconfigure ${project.version} sync
ran-slice-api configureRANSliceInstance ${project.version} sync
ran-slice-api configureCU ${project.version} sync
ran-slice-api configureDU ${project.version} sync
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 8c7915d6..63df62a5 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
@@ -67,57 +67,210 @@
<parameter name="field7" value="config DB deployed (true/false): "/>
<parameter name="field8" value="`$prop.configdb-deployed`"/>
</record>
- <set>
- <parameter name='tmp.payload.trackingArea' value='`$payloadJson.input.sliceProfile.coverageAreaList[0]`'/>
- <parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>
- <parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>
- <parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>
- <parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaList_length`'/>
- <parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>
- <parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>
- <parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>
- <parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>
- <parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>
- <parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>
- <parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>
- <parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>
- <parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>
- <parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>
- </set>
- <set>
- <parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value="`'NearRTRIC-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
- <parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value="`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
- <parameter name='tmp.RRMPolicyRatioID.NRCellDU' value="`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
- <parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value="`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
- <parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value="`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
- <parameter name='tmp.RRMPolicyRatioID.NRCellCU' value="`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
- <parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />
- </set>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
- <parameter name="string" value="`$tmp.payload.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.payload.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="PLMNID from Payload: MCC-MNC "/>
- <parameter name="field2" value="`$tmp.mcc`"/>
- <parameter name="field3" value="`$tmp.mnc`"/>
- </record>
+ <block atomic='true'>
+ <switch test='`$instantiate-r-a-n-slice-input.action`'>
+ <outcome value='reconfigure'>
+ <block atomic="true">
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >
+ <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />
+ <parameter name='target' value='dLThptPerSlice' />
+ <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/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="PAYLOAD contains dLThptPerSlice...Closed loop "/>
+ <parameter name="field2" value="Creating temporary variables ONLy for relevant payload fields "/>
+ </record>
+ <set>
+ <parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>
+ <parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>
+ <parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>
+ </set>
+ </block>
+ </outcome>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >
+ <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />
+ <parameter name='target' value='maxNumberofConns' />
+ <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/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="PAYLOAD contains maxNumberofConns...Inntelligent Slicing "/>
+ <parameter name="field2" value="Creating temporary variables ONLy for relevant payload fields "/>
+ </record>
+ <set>
+ <parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>
+ <parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>
+ <parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>
+ </set>
+ </block>
+ </outcome>
+ </execute>
+ </outcome>
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='allocate'>
+ <block atomic="true">
+ <set>
+ <parameter name='tmp.payload.trackingArea' value='`$payloadJson.input.sliceProfile.coverageAreaList[0]`'/>
+ <parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>
+ <parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>
+ <parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>
+ <parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaList_length`'/>
+ <parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>
+ <parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>
+ <parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>
+ <parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>
+ <parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>
+ <parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>
+ <parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>
+ <parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>
+ <parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>
+ <parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>
+ </set>
+ <set>
+ <parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value="`'NearRTRIC-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value="`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='tmp.RRMPolicyRatioID.NRCellDU' value="`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value="`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value="`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='tmp.RRMPolicyRatioID.NRCellCU' value="`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
+ <parameter name="string" value="`$tmp.payload.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.payload.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="PLMNID from Payload: MCC-MNC "/>
+ <parameter name="field2" value="`$tmp.mcc`"/>
+ <parameter name="field3" value="`$tmp.mnc`"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='modify-allocate'>
+ <block atomic="true">
+ <set>
+ <parameter name='tmp.payload.trackingArea' value='`$payloadJson.input.sliceProfile.coverageAreaList[0]`'/>
+ <parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>
+ <parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>
+ <parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>
+ <parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaList_length`'/>
+ <parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>
+ <parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>
+ <parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>
+ <parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>
+ <parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>
+ <parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>
+ <parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>
+ <parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>
+ <parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>
+ <parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>
+ </set>
+ <set>
+ <parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value="`'NearRTRIC-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value="`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='tmp.RRMPolicyRatioID.NRCellDU' value="`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value="`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value="`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='tmp.RRMPolicyRatioID.NRCellCU' value="`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
+ <parameter name="string" value="`$tmp.payload.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.payload.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="PLMNID from Payload: MCC-MNC "/>
+ <parameter name="field2" value="`$tmp.mcc`"/>
+ <parameter name="field3" value="`$tmp.mnc`"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='modify-deallocate'>
+ <block atomic="true">
+ <set>
+ <parameter name='tmp.payload.trackingArea' value='`$payloadJson.input.sliceProfile.coverageAreaList[0]`'/>
+ <parameter name='tmp.payload.callbackURL' value='`$payloadJson.input.callbackURL`'/>
+ <parameter name='tmp.payload.RANNFNSSIId' value='`$payloadJson.input.RANNFNSSIId`'/>
+ <parameter name='tmp.payload.RANNSSIId' value='`$payloadJson.input.RANNSSIId`'/>
+ <parameter name='tmp.payload.coverageAreaList_length' value='`$payloadJson.input.sliceProfile.coverageAreaList_length`'/>
+ <parameter name='tmp.payload.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`'/>
+ <parameter name='tmp.payload.latency' value='`$payloadJson.input.sliceProfile.latency`'/>
+ <parameter name='tmp.payload.maxNumberofConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`'/>
+ <parameter name='tmp.payload.maxNumberofUEs' value='`$payloadJson.input.sliceProfile.maxNumberofUEs`'/>
+ <parameter name='tmp.payload.resourceSharingLevel' value='`$payloadJson.input.sliceProfile.resourceSharingLevel`'/>
+ <parameter name='tmp.payload.sliceProfileId' value='`$payloadJson.input.sliceProfile.sliceProfileId`'/>
+ <parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>
+ <parameter name='tmp.payload.uEMobilityLevel' value='`$payloadJson.input.sliceProfile.uEMobilityLevel`'/>
+ <parameter name='tmp.payload.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`'/>
+ <parameter name='tmp.payload.pLMNId' value='`$payloadJson.input.sliceProfile.pLMNIdList[0]`'/>
+ </set>
+ <set>
+ <parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value="`'NearRTRIC-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value="`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='tmp.RRMPolicyRatioID.NRCellDU' value="`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value="`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value="`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='tmp.RRMPolicyRatioID.NRCellCU' value="`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $payloadJson.input.sliceProfile.coverageAreaList[0]`" />
+ <parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
+ <parameter name="string" value="`$tmp.payload.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.payload.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="PLMNID from Payload: MCC-MNC "/>
+ <parameter name="field2" value="`$tmp.mcc`"/>
+ <parameter name="field3" value="`$tmp.mnc`"/>
+ </record>
+ </block>
+ </outcome>
+ </switch>
+ </block>
<switch test='`$prop.configdb-deployed`'>
<outcome value='true'>
<block atomic='true'>
<switch test='`$instantiate-r-a-n-slice-input.action`'>
<outcome value='allocate'>
<block atomic="true">
- <call module='GENERIC-RESOURCE-API' rpc='instantiateRANSliceAllocate' mode='sync' >
+ <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="Calling instantiateRANSliceAllocate "/>
+ </record>
+ <call module='ran-slice-api' rpc='instantiateRANSliceAllocate' mode='sync' >
<outcome value='failure'>
<return status='failure'>
<parameter name='ack-final' value='Y' />
@@ -128,7 +281,12 @@
</outcome>
<outcome value='modify-allocate'>
<block atomic="true">
- <call module='GENERIC-RESOURCE-API' rpc='instantiateRANSliceModifyAllocate' mode='sync' >
+ <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="Calling instantiateRANSliceModifyAllocate "/>
+ </record>
+ <call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate' mode='sync' >
<outcome value='failure'>
<return status='failure'>
<parameter name='ack-final' value='Y' />
@@ -139,7 +297,12 @@
</outcome>
<outcome value='modify-deallocate'>
<block atomic="true">
- <call module='GENERIC-RESOURCE-API' rpc='instantiateRANSliceModifyDeallocate' mode='sync' >
+ <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="Calling instantiateRANSliceModifyDeallocate "/>
+ </record>
+ <call module='ran-slice-api' rpc='instantiateRANSliceModifyDeallocate' mode='sync' >
<outcome value='failure'>
<return status='failure'>
<parameter name='ack-final' value='Y' />
@@ -150,7 +313,12 @@
</outcome>
<outcome value='reconfigure'>
<block atomic="true">
- <call module='GENERIC-RESOURCE-API' rpc='instantiateRANSliceReconfigure' mode='sync' >
+ <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="Calling instantiateRANSliceReconfigure "/>
+ </record>
+ <call module='ran-slice-api' rpc='instantiateRANSliceReconfigure' mode='sync' >
<outcome value='failure'>
<return status='failure'>
<parameter name='ack-final' value='Y' />
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate.xml
index 151f7fac..760c7c05 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
@@ -239,11 +239,31 @@
<parameter name="field5" value="`$tmp.ranNFNSSIListEntry`"/>
</record>
<block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Payload slice parameters - maxNumberofUEs "/>
+ <parameter name="field2" value="`$payloadJson.input.sliceProfile.maxNumberofUEs`"/>
+ <parameter name="field3" value="Payload slice parameters - maxNumberofConns"/>
+ <parameter name="field4" value="`$payloadJson.input.sliceProfile.maxNumberofConns`"/>
+ <parameter name="field5" value="Payload slice parameters - dLThptPerSlice"/>
+ <parameter name="field6" value="`$payloadJson.input.sliceProfile.dLThptPerSlice`"/>
+ <parameter name="field7" value="Payload slice parameters - uLThptPerSlice"/>
+ <parameter name="field8" value="`$payloadJson.input.sliceProfile.uLThptPerSlice`"/>
+ </record>
+ <set>
+ <parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />
+ <parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />
+ </set>
<set>
- <parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />
- <parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />
- <parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns * 1.1`' />
+ <parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`' />
+ <parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`' />
+ <parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />
+ <parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />
</set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-sliceparms-context.log' />
+ </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" />
@@ -252,8 +272,104 @@
<parameter name="field3" value="Calculated dLThptPerSlice for nearRTRIC"/>
<parameter name="field4" value="`$tmp.nearRTRIC.dLThptPerSlice`"/>
<parameter name="field5" value="Calculated maxNumberOfConns for nearRTRIC"/>
- <parameter name="field6" value="`$tmp.nearRTRIC.maxNumberOfConns`"/>
+ <parameter name="field6" value="`$tmp.nearRTRIC1.maxNumberOfConns`"/>
+ <parameter name="field7" value="`$payloadJson.input.sliceProfile.maxNumberofConns`"/>
</record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-sliceparms-context2.log' />
+ </execute>
+ <block atomic='true'>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.addSliceProfile.ToNearRTRIC`"/>
+ <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+ <parameter name="target" value="{sliceProfileId}"/>
+ <parameter name="replacement" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/>
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+ <parameter name="target" value="{sliceProfileId}"/>
+ <parameter name="replacement" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ <parameter name="outputPath" value="tmp.restapi.addSliceProfile.ToNearRTRIC.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Add SliceProfile ToNearRTRIC url:"/>
+ <parameter name="field2" value="`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ </record>
+ <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="Setting variables for ADD SliceProfile ToNearRTRIC"/>
+ <parameter name="field2" value="`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ <parameter name="field3" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/>
+ <parameter name="field4" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
+ <parameter name="field5" value="`$payloadJson.input.sliceProfile.maxNumberofUEs`"/>
+ <parameter name="field6" value="`$payloadJson.input.sliceProfile.latency`"/>
+ <parameter name="field7" value="`$tmp.nearRTRIC.uLThptPerSlice`"/>
+ <parameter name="field8" value="`$tmp.nearRTRIC.dLThptPerSlice`"/>
+ <parameter name="field9" value="`$tmp.nearRTRIC.maxNumberOfConns`"/>
+ <parameter name="field10" value="`$payloadJson.input.sliceProfile.uEMobilityLevel`"/>
+ <parameter name="field11" value="`$tmp.trackingArea`"/>
+ <parameter name="field12" value="`$payloadJson.input.sliceProfile.resourceSharingLevel`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-add-sliceProfile-NRRIC.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="addSliceProfile-NRTRIC-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <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 adding slice proficle to NearRTRIC" />
+ </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="PLMNInfo List Entry Add to NRCELLCU Executed Successfully "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
<parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`"/>
<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updatenearRTRIC.json'`" />
@@ -348,7 +464,9 @@
<parameter name="field2" value="`$tmp.CUCPListEntries`"/>
</record>
<set>
- <parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns * 1.1`' />
+ <parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`' />
+ <parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />
+ <parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />
</set>
<for index='id2' start='0' end='`$tmp.CUCPListEntries`' >
<block atomic='true'>
@@ -405,7 +523,11 @@
<block atomic='true'>
<set>
<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.maxNumberOfConns / $tmp.cellCUListEntries`' />
+ </set>
+ <set>
<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />
+ </set>
+ <set>
<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
@@ -413,6 +535,10 @@
<parameter name="level" value="info" />
<parameter name="field1" value="rRMPolicyDedicatedRatio for CellCU "/>
<parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellCU`"/>
+ <parameter name="field3" value="maxNumberOfConnsPercellCU "/>
+ <parameter name="field4" value="`$tmp.maxNumberOfConnsPercellCU`"/>
+ <parameter name="field5" value="rRMPolicyDedicatedRatio.CellCU1 "/>
+ <parameter name="field6" value="`$tmp.rRMPolicyDedicatedRatio.CellCU1`"/>
</record>
</block>
<for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >
@@ -910,6 +1036,8 @@
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
<parameter name="level" value="info" />
<parameter name="field1" value="Successfully Updated RRMPolicy CUCP info in ConfigDB"/>
+ <parameter name="field2" value="Incremented ConfigDB rrmPolicyID"/>
+ <parameter name="field3" value='`$prop.configDB.rrmPolicyID`' />
</record>
</block>
</outcome>
@@ -927,14 +1055,17 @@
<parameter name="field1" value="getListofCells-configdb-response. "/>
<parameter name="field2" value="`$tmp.CUUPListEntries`"/>
</record>
- <set>
- <parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns * 1.1`' />
- <parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns * .6`' />
- <parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' />
- </set>
<block atomic='true'>
<set>
+ <parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns`' />
+ </set>
+ <set>
+ <parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' />
+ </set>
+ <set>
<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP1' value='`$tmp.DRBPerCUUPForSNSSAI * 100`' />
+ </set>
+ <set>
<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rRMPolicyDedicatedRatio.CUUP1 / $prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
@@ -942,6 +1073,16 @@
<parameter name="level" value="info" />
<parameter name="field1" value="rRMPolicyDedicatedRatio for CUUP "/>
<parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CUUP`"/>
+ <parameter name="field3" value="tmp.TotalNumberOfDRBForNSSAI "/>
+ <parameter name="field4" value="`$tmp.TotalNumberOfDRBForNSSAI`"/>
+ <parameter name="field5" value="tmp.DRBPerCUUPForSNSSAI "/>
+ <parameter name="field6" value="`$tmp.DRBPerCUUPForSNSSAI`"/>
+ <parameter name="field7" value="tmp.rRMPolicyDedicatedRatio.CUUP1 "/>
+ <parameter name="field8" value="`$tmp.rRMPolicyDedicatedRatio.CUUP1`"/>
+ <parameter name="field9" value="tmp.rRMPolicyDedicatedRatio.CUUP"/>
+ <parameter name="field10" value="`$tmp.rRMPolicyDedicatedRatio.CUUP`"/>
+ <parameter name="field11" value="tmp.maxNumberOfConns"/>
+ <parameter name="field12" value="`$tmp.maxNumberOfConns`"/>
</record>
</block>
<for index='id2' start='0' end='`$tmp.CUUPListEntries `' >
@@ -1434,6 +1575,8 @@
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
<parameter name="level" value="info" />
<parameter name="field1" value="Successfully Updated RRMPolicy CUUP info in ConfigDB"/>
+ <parameter name="field2" value="Incremented ConfigDB rrmPolicyID"/>
+ <parameter name="field3" value='`$prop.configDB.rrmPolicyID`' />
</record>
</block>
</outcome>
@@ -1451,19 +1594,35 @@
<parameter name="field1" value="Number of DU List Entries "/>
<parameter name="field2" value="`$tmp.DUListEntries`"/>
</record>
- <set>
- <parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />
- <parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />
- <parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns * 1.1`' />
- <parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />
- <parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />
- <parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />
- <parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />
- </set>
<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.DUListEntries`' />
+ </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">
@@ -1471,579 +1630,602 @@
<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>
<for index='id2' start='0' end='`$tmp.DUListEntries`' >
<block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellDUListEntries' />
- <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList_length'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.gNBDUList.gNBDUId' />
- <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBDUId'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.gNBDUName' />
- <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBDUName'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.gNBId' />
- <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBId'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.gNBIdLength' />
- <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBIdLength'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.nFType' />
- <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].nFType'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.pLMNId' />
- <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].pLMNId'`" />
- </execute>
- </block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Numberof cellDU of Entries "/>
- <parameter name="field2" value="`$tmp.cellDUListEntries`"/>
- <parameter name="field3" value="`$tmp.gNBDUList.gNBDUId`"/>
- <parameter name="field4" value="`$tmp.gNBDUName`"/>
- <parameter name="field5" value="`$tmp.gNBId`"/>
- <parameter name="field6" value="`$tmp.gNBIdLength`"/>
- <parameter name="field7" value="`$tmp.nFType`"/>
- <parameter name="field8" value="`$tmp.pLMNId`"/>
- </record>
- <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-updategNBDU.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-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='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 gNBCUUP info in ConfigDB"/>
- </record>
- </block>
- </outcome>
- <outcome value='failure'>
- <block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating configCUUP 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 CUUP info 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="`$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`" />
- <parameter name='field7' value="`$tmp.CUCPList`" />
- <parameter name='field8' value="`$tmp.CUUPList`" />
- <parameter name='field9' value="`$tmp.DUList`" />
- </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-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <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/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- </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="MCC "/>
- <parameter name="field2" value="`$tmp.mcc`"/>
- <parameter name="field3" value="MNC "/>
- <parameter name="field4" value="`$tmp.mnc`"/>
- <parameter name="field5" value="Calculated uLThptPerSlice "/>
- <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
- <parameter name="field7" value="Calculated dLThptPerSlice "/>
- <parameter name="field8" value="`$tmp.dLThptPerSlice`"/>
- </record>
- <for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.pLMNInfoListEntries' />
- <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $id3 + '].pLMNInfoList_length'`" />
+ <parameter name='outputPath' value='tmp.cellDUListEntries' />
+ <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList_length'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.gNBDUList.gNBDUId' />
+ <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBDUId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.gNBDUName' />
+ <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBDUName'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.gNBId' />
+ <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.gNBIdLength' />
+ <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBIdLength'`" />
</execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellLocalId' />
- <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $id3 + '].cellLocalId'`" />
+ <parameter name='outputPath' value='tmp.nFType' />
+ <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].nFType'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.pLMNId' />
+ <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].pLMNId'`" />
</execute>
</block>
- <for index='idCell' start='0' end='`$tmp.cellDUListEntries`' >
+ <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="Numberof cellDU of Entries "/>
+ <parameter name="field2" value="`$tmp.cellDUListEntries`"/>
+ <parameter name="field3" value="`$tmp.gNBDUList.gNBDUId`"/>
+ <parameter name="field4" value="`$tmp.gNBDUName`"/>
+ <parameter name="field5" value="`$tmp.gNBId`"/>
+ <parameter name="field6" value="`$tmp.gNBIdLength`"/>
+ <parameter name="field7" value="`$tmp.nFType`"/>
+ <parameter name="field8" value="`$tmp.pLMNId`"/>
+ </record>
+ <for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >
<block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.gNBDUList.cellLocalId' />
- <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].cellLocalId'`" />
- </execute>
- <switch test="`$tmp.gNBDUList.cellLocalId == $tmp.cellLocalId`">
- <outcome value='true'>
+ <for index='idCell' start='0' end='`$tmp.cellDUListEntries`' >
+ <block atomic='true'>
<block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.pLMNInfoListEntries' />
+ <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].pLMNInfoList_length'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellLocalId' />
+ <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].cellLocalId'`" />
+ </execute>
+ </block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Numberof pLMNInfoList Entries "/>
+ <parameter name="field2" value="`$tmp.pLMNInfoListEntries`"/>
+ <parameter name="field3" value="cellLocalId for TA "/>
+ <parameter name="field4" value="`$tmp.cellLocalId`"/>
+ </record>
+ <for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >
<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.addPLMNInfoListEntry.ToNRCellDU`"/>
- <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.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.addPLMNInfoListEntry.ToNRCellDU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.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.addPLMNInfoListEntry.ToNRCellDU.url`"/>
- <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.gNBDUList.gNBDUId`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
- <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.url"/>
- <parameter name="target" value="{idGNBDUFunction}"/>
- <parameter name="replacement" value="`$tmp.gNBDUList.gNBDUId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
- <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.url"/>
- <parameter name="target" value="{idNRCellDU}"/>
- <parameter name="replacement" value="`$tmp.cellLocalId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
- <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.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.addPLMNInfoListEntry.ToNRCellDU.url`"/>
- <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />
+ <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].pLMNInfoList[' + $id4 + '].sNSSAI.sNSSAI'`" />
</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="Add PLMNInfoListEntry ToNRCellDU URL"/>
- <parameter name="field2" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+ <parameter name="field1" value="sNSSAI from RAN to check if already exists "/>
+ <parameter name="field2" value="`$tmp.fromRAN.sNSSAI`"/>
</record>
- <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="Setting variables for PLMNInfoList Entry Add to NRCellDU"/>
- <parameter name="field2" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
- <parameter name="field3" value="`$tmp.mcc`"/>
- <parameter name="field4" value="`$tmp.mnc`"/>
- <parameter name="field5" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
- <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
- <parameter name="field7" value="`$tmp.dLThptPerSlice`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-NRCellDU.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="PLMNInfoListEntry-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <outcome value='failure'>
- <block>
- <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`" />
- <parameter name='field7' value="`$tmp.CUCPList`" />
- <parameter name='field8' value="`$tmp.CUUPList`" />
- <parameter name='field9' value="`$tmp.DUList`" />
- </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-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <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/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error adding PLMNInfo List Entry to NRCellCUr" />
- </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="PLMNInfo List Entry Add to NRCELLDU Executed Successfully "/>
- </record>
- </block>
- </outcome>
- </execute>
</block>
- <block atomic='true'>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
+ </for>
+ </block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.gNBDUList.cellLocalId' />
+ <parameter name='source' value="`'getListofCells-configdb-response.[' + $id3 + ']'`" />
+ </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="CellLocal ID for comparison -- specific DUList"/>
+ <parameter name="field2" value="`$tmp.gNBDUList.cellLocalId`"/>
+ <parameter name="field3" value="CellLocal ID for comparison - overall TA "/>
+ <parameter name="field4" value="`$tmp.cellLocalId`"/>
+ </record>
+ <switch test="`$tmp.gNBDUList.cellLocalId == $tmp.cellLocalId`">
+ <outcome value='true'>
+ <block atomic='true'>
+ <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.addPLMNInfoListEntry.ToNRCellDU`"/>
+ <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.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.addPLMNInfoListEntry.ToNRCellDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.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.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+ <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.gNBDUList.gNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.addRRMPolicyRatio.ToNRCellDU`"/>
- <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+ <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.url"/>
+ <parameter name="target" value="{idGNBDUFunction}"/>
+ <parameter name="replacement" value="`$tmp.gNBDUList.gNBDUId`"/>
</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.addRRMPolicyRatio.ToNRCellDU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.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.addRRMPolicyRatio.ToNRCellDU.url`"/>
- <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.gNBDUList.gNBDUId`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
- <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
- <parameter name="target" value="{idGNBDUFunction}"/>
- <parameter name="replacement" value="`$tmp.gNBDUList.gNBDUId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
- <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
- <parameter name="target" value="{idNRCellDU}"/>
- <parameter name="replacement" value="`$tmp.cellLocalId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
- <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
- <parameter name="target" value="{id}"/>
- <parameter name="replacement" value="`$tmp.RRMPolicyRatioID.NRCellDU`"/>
- </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="addRRMPolicyRatio ToNRCellDU URL"/>
- <parameter name="field2" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
- </record>
- <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="Setting variables for addRRMPolicyRatio to NRCellDU"/>
- <parameter name="field2" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
- <parameter name="field3" value="`$tmp.mcc`"/>
- <parameter name="field4" value="`$tmp.mnc`"/>
- <parameter name="field5" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
- <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
- <parameter name="field7" value="`$tmp.dLThptPerSlice`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="addRRMPolicyRatio-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <outcome value='failure'>
- <block>
- <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`" />
- <parameter name='field7' value="`$tmp.CUCPList`" />
- <parameter name='field8' value="`$tmp.CUUPList`" />
- <parameter name='field9' value="`$tmp.DUList`" />
- </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-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <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/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+ <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.url"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.cellLocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+ <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.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.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+ <parameter name="outputPath" value="tmp.addPLMNInfoListEntry.ToNRCellDU.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Add PLMNInfoListEntry ToNRCellDU URL"/>
+ <parameter name="field2" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+ </record>
+ <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="Setting variables for PLMNInfoList Entry Add to NRCellDU"/>
+ <parameter name="field2" value="`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+ <parameter name="field3" value="`$tmp.mcc`"/>
+ <parameter name="field4" value="`$tmp.mnc`"/>
+ <parameter name="field5" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
+ <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
+ <parameter name="field7" value="`$tmp.dLThptPerSlice`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-NRCellDU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellDU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="PLMNInfoListEntry-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block>
+ <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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <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/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error adding PLMNInfo List Entry to NRCellCUr" />
+ </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="PLMNInfo List Entry Add to NRCELLDU Executed Successfully "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <block atomic='true'>
+ <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-updategNBDU.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="update-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='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 DU info in ConfigDB"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating configCUUP 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 CUUP info 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="`$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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <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/instantiateRANSlice.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.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-updateRRMPolicy-DU.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="update-DU-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='success'>
+ <block>
+ <set>
+ <parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Updated RRMPolicy DU info in ConfigDB"/>
+ <parameter name="field2" value="Incremented ConfigDB rrmPolicyID"/>
+ <parameter name="field3" value='`$prop.configDB.rrmPolicyID`' />
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block>
+ <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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <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/instantiateRANSlice.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 updating RRMPolicy DU 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 RRMPolicy DU info in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <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.addRRMPolicyRatio.ToNRCellDU`"/>
+ <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
</execute>
- </block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error adding RRM Policy" />
- </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="addRRMPolicyRatio to NRCELLDU Executed Successfully "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- </switch>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.addRRMPolicyRatio.ToNRCellDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.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.addRRMPolicyRatio.ToNRCellDU.url`"/>
+ <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.gNBDUList.gNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
+ <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
+ <parameter name="target" value="{idGNBDUFunction}"/>
+ <parameter name="replacement" value="`$tmp.gNBDUList.gNBDUId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
+ <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.cellLocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
+ <parameter name="outputPath" value="tmp.addRRMPolicyRatio.ToNRCellDU.url"/>
+ <parameter name="target" value="{id}"/>
+ <parameter name="replacement" value="`$tmp.RRMPolicyRatioID.NRCellDU`"/>
+ </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="addRRMPolicyRatio ToNRCellDU URL"/>
+ <parameter name="field2" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
+ </record>
+ <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="Setting variables for addRRMPolicyRatio to NRCellDU"/>
+ <parameter name="field2" value="`$tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
+ <parameter name="field3" value="`$tmp.mcc`"/>
+ <parameter name="field4" value="`$tmp.mnc`"/>
+ <parameter name="field5" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
+ <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
+ <parameter name="field7" value="`$tmp.dLThptPerSlice`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="addRRMPolicyRatio-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block>
+ <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`" />
+ <parameter name='field7' value="`$tmp.CUCPList`" />
+ <parameter name='field8' value="`$tmp.CUUPList`" />
+ <parameter name='field9' value="`$tmp.DUList`" />
+ </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-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <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/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error adding RRM Policy" />
+ </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="addRRMPolicyRatio to NRCELLDU Executed Successfully "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
</block>
</for>
<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="Numberof pLMNInfoList Entries "/>
- <parameter name="field2" value="`$tmp.pLMNInfoListEntries`"/>
- <parameter name="field3" value="cellLocalId "/>
- <parameter name="field4" value="`$tmp.cellLocalId`"/>
+ <parameter name="field1" value="MCC "/>
+ <parameter name="field2" value="`$tmp.mcc`"/>
+ <parameter name="field3" value="MNC "/>
+ <parameter name="field4" value="`$tmp.mnc`"/>
+ <parameter name="field5" value="Calculated uLThptPerSlice "/>
+ <parameter name="field6" value="`$tmp.uLThptPerSlice`"/>
+ <parameter name="field7" value="Calculated dLThptPerSlice "/>
+ <parameter name="field8" value="`$tmp.dLThptPerSlice`"/>
</record>
- <for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />
- <parameter name='source' value="`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $id3 + '].pLMNInfoList[' + $id4 + '].sNSSAI.sNSSAI'`" />
- </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="sNSSAI from RAN to check if already exists "/>
- <parameter name="field2" value="`$tmp.fromRAN.sNSSAI`"/>
- </record>
- </block>
- </for>
- </for>
- <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-updateRRMPolicy-DU.json'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-DU-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='success'>
- <block>
- <set>
- <parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Updated RRMPolicy DU info in ConfigDB"/>
- </record>
- </block>
- </outcome>
- <outcome value='failure'>
- <block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating RRMPolicy DU 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 RRMPolicy DU info 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="`$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`" />
- <parameter name='field7' value="`$tmp.CUCPList`" />
- <parameter name='field8' value="`$tmp.CUUPList`" />
- <parameter name='field9' value="`$tmp.DUList`" />
- </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-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <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/instantiateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </block>
- </outcome>
- </execute>
+ </block>
</for>
</block>
</for>
</block>
<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="`$instantiate-r-a-n-slice-input.common-header.request-id `"/>
- <parameter name="tmp.action" value="`$instantiate-r-a-n-slice-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='field2' value="`$payloadJson.input.callbackURL`" />
<parameter name='field3' value="`$tmp.status`" />
<parameter name='field4' value="`$tmp.reason`" />
<parameter name='field5' value="`$tmp.requestID`" />
@@ -2054,12 +2236,14 @@
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="restapiUrl" value="`$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>