summaryrefslogtreecommitdiffstats
path: root/platform-logic
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic')
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json1876
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json775
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate.json4212
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json5724
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceReconfigure.json1380
-rw-r--r--platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json4820
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml10
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml105
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceAllocate.xml30
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml1678
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml12
-rw-r--r--platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml34
12 files changed, 11707 insertions, 8949 deletions
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json
index ae0385bc..73a05c2e 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json
@@ -1,20 +1,20 @@
[
{
- "id": "ef2ca718.430178",
+ "id": "2e3f70a0.8d47d",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 174.16665649414062,
- "y": 88.6111068725586,
- "z": "8810ce64.4a102",
+ "x": 127.5,
+ "y": 84.44443893432617,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "f487ed1.d8ff91"
+ "41f44f.07015bb"
]
]
},
{
- "id": "f487ed1.d8ff91",
+ "id": "41f44f.07015bb",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -22,2871 +22,2871 @@
"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": 259.1666793823242,
- "y": 155.61107635498047,
- "z": "8810ce64.4a102",
+ "x": 212.5000228881836,
+ "y": 151.44440841674805,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "54b7eb6a.51cd34"
+ "463cb4d1.3e11bc"
]
]
},
{
- "id": "54b7eb6a.51cd34",
+ "id": "463cb4d1.3e11bc",
"type": "method",
"name": "method",
"xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 193.16665649414062,
- "y": 215.61104202270508,
- "z": "8810ce64.4a102",
+ "x": 146.5,
+ "y": 211.44437408447266,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "fc53b74f.5bca78"
+ "ad331fd6.efc5a"
]
]
},
{
- "id": "fc53b74f.5bca78",
+ "id": "ad331fd6.efc5a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 215.66666793823242,
- "y": 296.11111068725586,
- "z": "8810ce64.4a102",
+ "x": 169.0000114440918,
+ "y": 291.94444274902344,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "522069f6.36a2c8",
- "48244fcd.67686",
- "b7808f5b.51c85",
- "38be2a26.e07a36",
- "33072642.74859a",
- "d77970c5.107ab",
- "65905504.7752bc",
- "253dd730.841928",
- "72519e66.86268",
- "ae36073a.d61748",
- "e8706dc4.5a81b",
- "9227e420.d769d8",
- "118a9166.3752bf",
- "30fa502.42137b",
- "87dd3f2b.2826d",
- "e73bf4c7.eb1d48",
- "51734263.da003c",
- "7056f58c.cbd93c",
- "1f3735d.7ce59ca",
- "63bf8010.4abdc",
- "4119896c.9c68b8",
- "ea6a18bc.839118"
+ "b8ff0ca8.28a5",
+ "1fe0b815.396298",
+ "1dcf8d76.830503",
+ "6e9843e2.482e7c",
+ "3b188957.fce246",
+ "fec23156.86e02",
+ "f5b38460.dd09d8",
+ "a67e635a.79297",
+ "72972aa.c24f3d4",
+ "fbda5be.41c6ba8",
+ "d8a96a7b.dfd628",
+ "4af74b2.0c4c3b4",
+ "78a81d70.8057c4",
+ "3140a69b.5ea20a",
+ "5d00062a.743238",
+ "f8eadf29.5ba87",
+ "8900b25a.4b727",
+ "65561a2a.1348f4",
+ "fb4912a7.ac9d6",
+ "82a44f57.da628",
+ "4a7507d.20e03f8",
+ "cf85911.dc4117"
]
]
},
{
- "id": "522069f6.36a2c8",
+ "id": "b8ff0ca8.28a5",
"type": "execute",
"name": "generate getNearRTRICsFromRANNFNSSI URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICByNSSI`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
"comments": "",
"outputs": 1,
- "x": 797.4167175292969,
- "y": 491.3055667877197,
- "z": "8810ce64.4a102",
+ "x": 750.7500610351562,
+ "y": 487.1388988494873,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "48244fcd.67686",
+ "id": "1fe0b815.396298",
"type": "record",
"name": "record configdb RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$ranNFNSSIId`\" />",
"comments": "",
"outputs": 1,
- "x": 737.4166717529297,
- "y": 527.8611340522766,
- "z": "8810ce64.4a102",
+ "x": 690.7500152587891,
+ "y": 523.6944661140442,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "b7808f5b.51c85",
+ "id": "1dcf8d76.830503",
"type": "execute",
"name": "Get nearRTRIC for NFNSSI",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 727.416748046875,
- "y": 579.8611645698547,
- "z": "8810ce64.4a102",
+ "x": 680.7500915527344,
+ "y": 575.6944966316223,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "a9b256ac.842128",
- "66038c0.8eb0274"
+ "3e76d279.75553e",
+ "5e15e811.5faf68"
]
]
},
{
- "id": "a9b256ac.842128",
+ "id": "3e76d279.75553e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1026.2347526550293,
- "y": 597.6791882514954,
- "z": "8810ce64.4a102",
+ "x": 979.5680961608887,
+ "y": 593.5125203132629,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "498f20b0.325db"
+ "8dc6ef5d.717c1"
]
]
},
{
- "id": "498f20b0.325db",
+ "id": "8dc6ef5d.717c1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1196.2346496582031,
- "y": 598.6793036460876,
- "z": "8810ce64.4a102",
+ "x": 1149.5679931640625,
+ "y": 594.5126357078552,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "cc79fe58.bd76a",
- "95d36220.b628d"
+ "da9c97d.25b1768",
+ "331d3bbf.64aeb4"
]
]
},
{
- "id": "cc79fe58.bd76a",
+ "id": "da9c97d.25b1768",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 1419.234447479248,
- "y": 543.6792874336243,
- "z": "8810ce64.4a102",
+ "x": 1372.5677909851074,
+ "y": 539.5126194953918,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "95d36220.b628d",
+ "id": "331d3bbf.64aeb4",
"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-activateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1415.0125885009766,
- "y": 614.6792950630188,
- "z": "8810ce64.4a102",
+ "x": 1368.345932006836,
+ "y": 610.5126271247864,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "66038c0.8eb0274",
+ "id": "5e15e811.5faf68",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1032.234706878662,
- "y": 537.6792721748352,
- "z": "8810ce64.4a102",
+ "x": 985.5680503845215,
+ "y": 533.5126042366028,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "560cf38c.29b49c"
+ "6058101b.41923"
]
]
},
{
- "id": "560cf38c.29b49c",
+ "id": "6058101b.41923",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1312.2347831726074,
- "y": 443.6793260574341,
- "z": "8810ce64.4a102",
+ "x": 1265.5681266784668,
+ "y": 439.51265811920166,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "7dbe505c.27a84",
- "1d2d8078.f320b"
+ "fe1b7f80.af15e",
+ "a6171c84.8f453"
]
]
},
{
- "id": "7dbe505c.27a84",
+ "id": "fe1b7f80.af15e",
"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": 1490.2345695495605,
- "y": 397.7903528213501,
- "z": "8810ce64.4a102",
+ "x": 1443.56791305542,
+ "y": 393.6236848831177,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "38be2a26.e07a36",
+ "id": "6e9843e2.482e7c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle activateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$activate-r-a-n-slice-instance-input.action`\"/>\n<parameter name=\"field3\" value=\"`$activate-r-a-n-slice-instance-input.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$activate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$activate-r-a-n-slice-instance-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$activate-r-a-n-slice-instance-input.payload`\"/>",
"comments": "",
"outputs": 1,
- "x": 702.1666564941406,
- "y": 104.61109352111816,
- "z": "8810ce64.4a102",
+ "x": 655.5,
+ "y": 100.44442558288574,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "33072642.74859a",
+ "id": "3b188957.fce246",
"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 activateRANSice RPC' />",
"comments": "",
- "x": 741.1664123535156,
- "y": 147.61110591888428,
- "z": "8810ce64.4a102",
+ "x": 694.499755859375,
+ "y": 143.44443798065186,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "d77970c5.107ab",
+ "id": "fec23156.86e02",
"type": "execute",
"name": "execute jsonStringToCtx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='activate-r-a-n-slice-instance-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
"comments": "",
"outputs": 1,
- "x": 746.1664276123047,
- "y": 192.36109161376953,
- "z": "8810ce64.4a102",
+ "x": 699.4997711181641,
+ "y": 188.1944236755371,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "16633e83.085581"
+ "ca5056d6.43deb8"
]
]
},
{
- "id": "65905504.7752bc",
+ "id": "f5b38460.dd09d8",
"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-activateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 705.8052749633789,
- "y": 281.3506450653076,
- "z": "8810ce64.4a102",
+ "x": 659.1386184692383,
+ "y": 277.1839771270752,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "253dd730.841928",
+ "id": "a67e635a.79297",
"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": 734.694221496582,
- "y": 322.36106872558594,
- "z": "8810ce64.4a102",
+ "x": 688.0275650024414,
+ "y": 318.1944007873535,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "72519e66.86268",
+ "id": "72972aa.c24f3d4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. controller details \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field5\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field6\" value=\"`$prop.ransim-mounted`\"/>\n<parameter name=\"field7\" value=\"config DB deployed (true/false): \"/>\n<parameter name=\"field8\" value=\"`$prop.configdb-deployed`\"/>",
"comments": "",
"outputs": 1,
- "x": 703.7499370574951,
- "y": 367.80558586120605,
- "z": "8810ce64.4a102",
+ "x": 657.0832805633545,
+ "y": 363.63891792297363,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "16633e83.085581",
+ "id": "ca5056d6.43deb8",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1012.6664390563965,
- "y": 194.36108112335205,
- "z": "8810ce64.4a102",
+ "x": 965.9997825622559,
+ "y": 190.19441318511963,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "ad1a2b92.a458a8"
+ "f409f85.647a408"
]
]
},
{
- "id": "ad1a2b92.a458a8",
+ "id": "f409f85.647a408",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1212.6665954589844,
- "y": 197.11107730865479,
- "z": "8810ce64.4a102",
+ "x": 1165.9999389648438,
+ "y": 192.94440937042236,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "31ecc915.f91656",
- "298f13d.da229ec"
+ "93b984ad.bea558",
+ "42ac8bbd.691104"
]
]
},
{
- "id": "31ecc915.f91656",
+ "id": "93b984ad.bea558",
"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-activateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1402.6666717529297,
- "y": 158.61111164093018,
- "z": "8810ce64.4a102",
+ "x": 1356.000015258789,
+ "y": 154.44444370269775,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "298f13d.da229ec",
+ "id": "42ac8bbd.691104",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for activateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfileId`\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1401.9166145324707,
- "y": 222.61112785339355,
- "z": "8810ce64.4a102",
+ "x": 1355.24995803833,
+ "y": 218.44445991516113,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "ae36073a.d61748",
+ "id": "fbda5be.41c6ba8",
"type": "for",
"name": "foreach NearRTRIC",
"xml": "<for index='idy' start='0' end='`$tmp.RICList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 480.104248046875,
- "y": 1020.4861240386963,
- "z": "8810ce64.4a102",
+ "x": 433.4375915527344,
+ "y": 1016.3194561004639,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "4a455a.c97ffaa8",
- "4a7a46d9.0a7f98",
- "616b13a5.03b89c",
- "a26eb581.df1338"
+ "7c110262.8404cc",
+ "83b3aa05.8be538",
+ "3b09f70f.de57e8",
+ "d74aea1d.4971f8"
]
]
},
{
- "id": "4a455a.c97ffaa8",
+ "id": "7c110262.8404cc",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 745.3541870117188,
- "y": 1013.9180545806885,
- "z": "8810ce64.4a102",
+ "x": 698.6875305175781,
+ "y": 1009.751386642456,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "3ab9892a.507f56",
- "60a218b5.42f148",
- "6d4f086f.3c1ab8"
+ "f2ca7302.db0fb",
+ "64af93d5.849c2c",
+ "967a2e00.a891c"
]
]
},
{
- "id": "3ab9892a.507f56",
+ "id": "f2ca7302.db0fb",
"type": "execute",
"name": "read CUCP list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1091.6041717529297,
- "y": 883.6679630279541,
- "z": "8810ce64.4a102",
+ "x": 1044.937515258789,
+ "y": 879.5012950897217,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "60a218b5.42f148",
+ "id": "64af93d5.849c2c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1051.1041526794434,
- "y": 931.1680402755737,
- "z": "8810ce64.4a102",
+ "x": 1004.4374961853027,
+ "y": 927.0013723373413,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "6d4f086f.3c1ab8",
+ "id": "967a2e00.a891c",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1067.8542785644531,
- "y": 981.1680409908295,
- "z": "8810ce64.4a102",
+ "x": 1021.1876220703125,
+ "y": 977.001373052597,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "c042879b.9ee0c8"
+ "2627c7aa.bdde98"
]
]
},
{
- "id": "c042879b.9ee0c8",
+ "id": "2627c7aa.bdde98",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1278.8541717529297,
- "y": 944.4179344177246,
- "z": "8810ce64.4a102",
+ "x": 1232.187515258789,
+ "y": 940.2512664794922,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "b1097c38.58417",
- "f20f72c3.586ff",
- "12c2d2c7.ff60fd",
- "8168d645.c4e9d8"
+ "bb142c16.d827",
+ "fa055768.583dd8",
+ "81577c39.485ae",
+ "cf7b2dea.a1465"
]
]
},
{
- "id": "b1097c38.58417",
+ "id": "bb142c16.d827",
"type": "execute",
"name": "read CUCP name",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
"comments": "",
"outputs": 1,
- "x": 1533.604263305664,
- "y": 674.501335144043,
- "z": "8810ce64.4a102",
+ "x": 1486.9376068115234,
+ "y": 670.3346672058105,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "12c2d2c7.ff60fd",
+ "id": "81577c39.485ae",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1505.3542709350586,
- "y": 729.6679458618164,
- "z": "8810ce64.4a102",
+ "x": 1458.687614440918,
+ "y": 725.501277923584,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "8168d645.c4e9d8",
+ "id": "cf7b2dea.a1465",
"type": "execute",
"name": "read cellCU list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1542.6041793823242,
- "y": 777.4179611206055,
- "z": "8810ce64.4a102",
+ "x": 1495.9375228881836,
+ "y": 773.251293182373,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "f20f72c3.586ff",
+ "id": "fa055768.583dd8",
"type": "for",
"name": "for cellCUList",
"xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1517.604148864746,
- "y": 830.1679763793945,
- "z": "8810ce64.4a102",
+ "x": 1470.9374923706055,
+ "y": 826.0013084411621,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "846567ee.819058"
+ "9d238b51.1eb318"
]
]
},
{
- "id": "846567ee.819058",
+ "id": "9d238b51.1eb318",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1732.604190826416,
- "y": 830.4179935455322,
- "z": "8810ce64.4a102",
+ "x": 1685.9375343322754,
+ "y": 826.2513256072998,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "958049c8.3f4fa8",
- "a603b30f.95aef",
- "ba2b4d57.e2ac"
+ "e883771f.62ada8",
+ "5789652a.13621c",
+ "ba32eb.352e5d18"
]
]
},
{
- "id": "958049c8.3f4fa8",
+ "id": "e883771f.62ada8",
"type": "execute",
"name": "read PLMNList size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1949.5630798339844,
- "y": 769.0709629058838,
- "z": "8810ce64.4a102",
+ "x": 1902.8964233398438,
+ "y": 764.9042949676514,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "ba2b4d57.e2ac",
+ "id": "ba32eb.352e5d18",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1978.5907363891602,
- "y": 867.2652349472046,
- "z": "8810ce64.4a102",
+ "x": 1931.9240798950195,
+ "y": 863.0985670089722,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "d8d6c45.3f70e38"
+ "6567a11b.57ba4"
]
]
},
{
- "id": "d8d6c45.3f70e38",
+ "id": "6567a11b.57ba4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2156.4797134399414,
- "y": 790.0430240631104,
- "z": "8810ce64.4a102",
+ "x": 2109.813056945801,
+ "y": 785.8763561248779,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "a9bbaf09.71923",
- "11976132.1e5c0f",
- "20bb732f.19585c"
+ "af8a2706.fe3648",
+ "b1460aaf.3d1778",
+ "49bb7059.83e74"
]
]
},
{
- "id": "20bb732f.19585c",
+ "id": "49bb7059.83e74",
"type": "execute",
"name": "read sNSSAI from getNFNSSIRIC-configdb-response",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 2506.9241333007812,
- "y": 803.0430192947388,
- "z": "8810ce64.4a102",
+ "x": 2460.2574768066406,
+ "y": 798.8763513565063,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "a9bbaf09.71923",
+ "id": "af8a2706.fe3648",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2365.7020378112793,
- "y": 836.5985450744629,
- "z": "8810ce64.4a102",
+ "x": 2319.0353813171387,
+ "y": 832.4318771362305,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "11976132.1e5c0f",
+ "id": "b1460aaf.3d1778",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2401.2575149536133,
- "y": 877.8207731246948,
- "z": "8810ce64.4a102",
+ "x": 2354.5908584594727,
+ "y": 873.6541051864624,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "5b09ebc6.efe9e4"
+ "f8d9d5cc.331478"
]
]
},
{
- "id": "5b09ebc6.efe9e4",
+ "id": "f8d9d5cc.331478",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2590.7297134399414,
- "y": 878.0431022644043,
- "z": "8810ce64.4a102",
+ "x": 2544.063056945801,
+ "y": 873.8764343261719,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "d7a8b93a.948468"
+ "4bf0bc05.929e64"
]
]
},
{
- "id": "d7a8b93a.948468",
+ "id": "4bf0bc05.929e64",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2811.3541564941406,
- "y": 875.7986068725586,
- "z": "8810ce64.4a102",
+ "x": 2764.6875,
+ "y": 871.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "6c62ceff.19a3d",
- "a8c3eb35.841368",
- "33dff673.7b4ada",
- "55ec219e.8af69",
- "93fa1df2.1b084",
- "901e14df.7d5258",
- "a24b8d43.bcbfe",
- "460302ae.396fcc",
- "c7140a97.a32808"
+ "4e7e556c.845abc",
+ "8a2266a8.1c2d38",
+ "731d42c4.f6e40c",
+ "df02fea.90fde",
+ "e6e24fd0.3cd09",
+ "42fb01d5.8ba33",
+ "9b0a2c7e.8b569",
+ "88ebb234.4318f",
+ "dafd44d3.cdebe8"
]
]
},
{
- "id": "c7140a97.a32808",
+ "id": "dafd44d3.cdebe8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3006.3541564941406,
- "y": 870.7986068725586,
- "z": "8810ce64.4a102",
+ "x": 2959.6875,
+ "y": 866.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "460302ae.396fcc",
+ "id": "88ebb234.4318f",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3034.3541564941406,
- "y": 938.7986068725586,
- "z": "8810ce64.4a102",
+ "x": 2987.6875,
+ "y": 934.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "4d052798.d7d948",
- "74f67b3.0788684"
+ "d77c2d0a.fe695",
+ "408dc4a2.df219c"
]
]
},
{
- "id": "4d052798.d7d948",
+ "id": "d77c2d0a.fe695",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3242.3541564941406,
- "y": 903.7983627319336,
- "z": "8810ce64.4a102",
+ "x": 3195.6875,
+ "y": 899.6316947937012,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "aaadbb43.ac8a08"
+ "44f83437.9a11ac"
]
]
},
{
- "id": "aaadbb43.ac8a08",
+ "id": "44f83437.9a11ac",
"type": "execute",
"name": "generate patch PLMNInfoListEntry ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3562.3541564941406,
- "y": 918.7986068725586,
- "z": "8810ce64.4a102",
+ "x": 3515.6875,
+ "y": 914.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "1b8ce5f9.2c88ca",
+ "id": "5de7db9d.692f04",
"type": "execute",
"name": "generate patchPLMNInfoList.ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3740.8541870117188,
- "y": 976.7985458374023,
- "z": "8810ce64.4a102",
+ "x": 3694.187530517578,
+ "y": 972.6318778991699,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "ca26c0f6.4566f",
+ "id": "aa989b67.645808",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3684.8545875549316,
- "y": 1029.7987394332886,
- "z": "8810ce64.4a102",
+ "x": 3638.187931060791,
+ "y": 1025.6320714950562,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "146ea38c.756e1c",
+ "id": "bb1a8099.105d6",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3433.8541564941406,
- "y": 1006.7986068725586,
- "z": "8810ce64.4a102",
+ "x": 3387.1875,
+ "y": 1002.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "1b8ce5f9.2c88ca",
- "ca26c0f6.4566f"
+ "5de7db9d.692f04",
+ "aa989b67.645808"
]
]
},
{
- "id": "74f67b3.0788684",
+ "id": "408dc4a2.df219c",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3230.3541564941406,
- "y": 1005.7986068725586,
- "z": "8810ce64.4a102",
+ "x": 3183.6875,
+ "y": 1001.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "146ea38c.756e1c"
+ "bb1a8099.105d6"
]
]
},
{
- "id": "6c62ceff.19a3d",
+ "id": "4e7e556c.845abc",
"type": "execute",
"name": "read cellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3001.3541564941406,
- "y": 1038.7986068725586,
- "z": "8810ce64.4a102",
+ "x": 2954.6875,
+ "y": 1034.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "93fa1df2.1b084",
+ "id": "e6e24fd0.3cd09",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3028.3541564941406,
- "y": 1102.7986068725586,
- "z": "8810ce64.4a102",
+ "x": 2981.6875,
+ "y": 1098.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "901e14df.7d5258",
+ "id": "42fb01d5.8ba33",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2989.3544158935547,
- "y": 1148.298635482788,
- "z": "8810ce64.4a102",
+ "x": 2942.687759399414,
+ "y": 1144.1319675445557,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "a24b8d43.bcbfe",
+ "id": "9b0a2c7e.8b569",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 2955.104217529297,
- "y": 1230.0486631393433,
- "z": "8810ce64.4a102",
+ "x": 2908.4375610351562,
+ "y": 1225.8819952011108,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "a8c3eb35.841368",
+ "id": "8a2266a8.1c2d38",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 2943.8546447753906,
- "y": 1290.2986793518066,
- "z": "8810ce64.4a102",
+ "x": 2897.18798828125,
+ "y": 1286.1320114135742,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "33dff673.7b4ada",
+ "id": "731d42c4.f6e40c",
"type": "record",
"name": "record API params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2940.3541564941406,
- "y": 1358.7986068725586,
- "z": "8810ce64.4a102",
+ "x": 2893.6875,
+ "y": 1354.6319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "55ec219e.8af69",
+ "id": "df02fea.90fde",
"type": "execute",
"name": "activate PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-cellCU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2980.354263305664,
- "y": 1421.7985801696777,
- "z": "8810ce64.4a102",
+ "x": 2933.6876068115234,
+ "y": 1417.6319122314453,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "c4715537.4d9d28",
- "6fe83c14.47c9a4"
+ "599d4ca5.dae754",
+ "7960760f.a0e828"
]
]
},
{
- "id": "6fe83c14.47c9a4",
+ "id": "7960760f.a0e828",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3196.3542404174805,
- "y": 1300.7985801696777,
- "z": "8810ce64.4a102",
+ "x": 3149.68758392334,
+ "y": 1296.6319122314453,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "912dcb56.c269b8"
+ "7eba1214.d6292c"
]
]
},
{
- "id": "912dcb56.c269b8",
+ "id": "7eba1214.d6292c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3346.3545150756836,
- "y": 1259.7987632751465,
- "z": "8810ce64.4a102",
+ "x": 3299.687858581543,
+ "y": 1255.632095336914,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "cd61ffc8.1b20e",
- "bfb86283.3c1ca",
- "1d2d8078.f320b"
+ "d5024375.14d7a",
+ "11cc8a2d.1c0ef6",
+ "a6171c84.8f453"
]
]
},
{
- "id": "bfb86283.3c1ca",
+ "id": "11cc8a2d.1c0ef6",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3512.3542709350586,
- "y": 1225.7987632751465,
- "z": "8810ce64.4a102",
+ "x": 3465.687614440918,
+ "y": 1221.632095336914,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "cd61ffc8.1b20e",
+ "id": "d5024375.14d7a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3517.354148864746,
- "y": 1320.7988243103027,
- "z": "8810ce64.4a102",
+ "x": 3470.6874923706055,
+ "y": 1316.6321563720703,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "2b3fb6b4.a0e59a",
+ "id": "b7ef60e6.8ba87",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 3602.354118347168,
- "y": 1413.7990074157715,
- "z": "8810ce64.4a102",
+ "x": 3555.6874618530273,
+ "y": 1409.632339477539,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "74c7cb25.bf1b14",
+ "id": "bce86bbc.4e0a78",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3404.3540573120117,
- "y": 1416.798885345459,
- "z": "8810ce64.4a102",
+ "x": 3357.687400817871,
+ "y": 1412.6322174072266,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "2b3fb6b4.a0e59a"
+ "b7ef60e6.8ba87"
]
]
},
{
- "id": "c4715537.4d9d28",
+ "id": "599d4ca5.dae754",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3231.3542709350586,
- "y": 1417.7988243103027,
- "z": "8810ce64.4a102",
+ "x": 3184.687614440918,
+ "y": 1413.6321563720703,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "74c7cb25.bf1b14"
+ "bce86bbc.4e0a78"
]
]
},
{
- "id": "e8706dc4.5a81b",
+ "id": "d8a96a7b.dfd628",
"type": "execute",
"name": "read sNSSAI from input",
"xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n",
"comments": "",
"outputs": 1,
- "x": 753.8541717529297,
- "y": 238.6111125946045,
- "z": "8810ce64.4a102",
+ "x": 707.1875152587891,
+ "y": 234.44444465637207,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "4a7a46d9.0a7f98",
+ "id": "83b3aa05.8be538",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 746.3542098999023,
- "y": 1155.7986326217651,
- "z": "8810ce64.4a102",
+ "x": 699.6875534057617,
+ "y": 1151.6319646835327,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "4fc4f5dc.4d5aac",
- "c239af8f.4c02d",
- "a2079e60.52fde"
+ "ab889fe1.795bc",
+ "767a78bd.0c3858",
+ "bef03ad.2f251c8"
]
]
},
{
- "id": "4fc4f5dc.4d5aac",
+ "id": "ab889fe1.795bc",
"type": "execute",
"name": "read CUUP list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1077.3542137145996,
- "y": 1055.7986297607422,
- "z": "8810ce64.4a102",
+ "x": 1030.687557220459,
+ "y": 1051.6319618225098,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "c239af8f.4c02d",
+ "id": "767a78bd.0c3858",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1034.3542785644531,
- "y": 1107.048632144928,
- "z": "8810ce64.4a102",
+ "x": 987.6876220703125,
+ "y": 1102.8819642066956,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "a2079e60.52fde",
+ "id": "bef03ad.2f251c8",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1059.8541717529297,
- "y": 1155.7986316680908,
- "z": "8810ce64.4a102",
+ "x": 1013.1875152587891,
+ "y": 1151.6319637298584,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "dbbdd777.2bef48"
+ "a79c0f0.ce909f"
]
]
},
{
- "id": "dbbdd777.2bef48",
+ "id": "a79c0f0.ce909f",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1283.3542175292969,
- "y": 1139.048677444458,
- "z": "8810ce64.4a102",
+ "x": 1236.6875610351562,
+ "y": 1134.8820095062256,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "a133ebb1.7208f8",
- "4f005e6b.cdbf2",
- "bd72fca6.c509e",
- "7a4b5310.f8c63c"
+ "18ef9633.d9bbda",
+ "f9bc59d6.5a5028",
+ "583ebb73.81c944",
+ "fb440a2f.179028"
]
]
},
{
- "id": "a133ebb1.7208f8",
+ "id": "18ef9633.d9bbda",
"type": "execute",
"name": "read CUUP id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1527.3541564941406,
- "y": 914.2986068725586,
- "z": "8810ce64.4a102",
+ "x": 1480.6875,
+ "y": 910.1319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "4f005e6b.cdbf2",
+ "id": "f9bc59d6.5a5028",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1523.3541564941406,
- "y": 968.2986068725586,
- "z": "8810ce64.4a102",
+ "x": 1476.6875,
+ "y": 964.1319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "bd72fca6.c509e",
+ "id": "583ebb73.81c944",
"type": "execute",
"name": "read plmninfolist size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1574.3541564941406,
- "y": 1033.2986068725586,
- "z": "8810ce64.4a102",
+ "x": 1527.6875,
+ "y": 1029.1319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "7a4b5310.f8c63c",
+ "id": "fb440a2f.179028",
"type": "for",
"name": "foreach pLMNInfo",
"xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
"comments": "",
"outputs": 1,
- "x": 1560.3541564941406,
- "y": 1088.2986068725586,
- "z": "8810ce64.4a102",
+ "x": 1513.6875,
+ "y": 1084.1319389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "20e32925.344246"
+ "ddf97987.753eb8"
]
]
},
{
- "id": "22705dcb.70b392",
+ "id": "c41e3776.a23bb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1799.4791564941406,
- "y": 1085.4861068725586,
- "z": "8810ce64.4a102",
+ "x": 1752.8125,
+ "y": 1081.3194389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "8429c3b8.a1992",
- "91e2f682.5ee478",
- "19245baa.f98764",
- "760fbb9c.1fe0f4",
- "c1d6662b.ac2dc8",
- "4ae26bfb.2cf8b4"
+ "f6fc9393.56661",
+ "173ddfd.25e492",
+ "60bfcd2e.26d3b4",
+ "5c9636da.117878",
+ "486c8988.17b4e8",
+ "cf837fb7.24118"
]
]
},
{
- "id": "8429c3b8.a1992",
+ "id": "f6fc9393.56661",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2012.7294158935547,
- "y": 1086.236255645752,
- "z": "8810ce64.4a102",
+ "x": 1966.062759399414,
+ "y": 1082.0695877075195,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "8ddc5a57.7d51f8",
- "5dcf9efb.36263"
+ "32d71801.387438",
+ "f70fa22d.1b3b9"
]
]
},
{
- "id": "8ddc5a57.7d51f8",
+ "id": "32d71801.387438",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2225.7292976379395,
- "y": 1053.7358741760254,
- "z": "8810ce64.4a102",
+ "x": 2179.062641143799,
+ "y": 1049.569206237793,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "b493fd94.6742b"
+ "b23cfcec.7bedc"
]
]
},
{
- "id": "b493fd94.6742b",
+ "id": "b23cfcec.7bedc",
"type": "execute",
"name": "generate patch PLMNInfoListEntry CUUP URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2550.729179382324,
- "y": 1008.7361783981323,
- "z": "8810ce64.4a102",
+ "x": 2504.0625228881836,
+ "y": 1004.5695104598999,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "8f6ac090.b47a3",
+ "id": "d051a6a1.a3b278",
"type": "execute",
"name": "generate patchPLMNInfoList.TogNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2661.4787216186523,
- "y": 1091.4858894348145,
- "z": "8810ce64.4a102",
+ "x": 2614.8120651245117,
+ "y": 1087.319221496582,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "ac53172f.a81cc8",
+ "id": "e9e95b17.1e7758",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 2645.479242324829,
- "y": 1159.4861497879028,
- "z": "8810ce64.4a102",
+ "x": 2598.8125858306885,
+ "y": 1155.3194818496704,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "8cd56360.4c754",
+ "id": "86fac64.a62ab38",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2385.7290267944336,
- "y": 1150.2358899116516,
- "z": "8810ce64.4a102",
+ "x": 2339.062370300293,
+ "y": 1146.0692219734192,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "8f6ac090.b47a3",
- "ac53172f.a81cc8"
+ "d051a6a1.a3b278",
+ "e9e95b17.1e7758"
]
]
},
{
- "id": "5dcf9efb.36263",
+ "id": "f70fa22d.1b3b9",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2211.2291717529297,
- "y": 1139.4861488342285,
- "z": "8810ce64.4a102",
+ "x": 2164.562515258789,
+ "y": 1135.319480895996,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "8cd56360.4c754"
+ "86fac64.a62ab38"
]
]
},
{
- "id": "91e2f682.5ee478",
+ "id": "173ddfd.25e492",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2081.3887939453125,
- "y": 1199.2708134651184,
- "z": "8810ce64.4a102",
+ "x": 2034.7221374511719,
+ "y": 1195.104145526886,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "19245baa.f98764",
+ "id": "60bfcd2e.26d3b4",
"type": "execute",
"name": "patch PLMNInfoListEntry gNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-gNBCUUP-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2030.7222900390625,
- "y": 1312.937484741211,
- "z": "8810ce64.4a102",
+ "x": 1984.0556335449219,
+ "y": 1308.7708168029785,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "607507d2.076828",
- "a4ba49bc.319898"
+ "a9f87790.beb6f8",
+ "1b34c3a5.cb065c"
]
]
},
{
- "id": "607507d2.076828",
+ "id": "a9f87790.beb6f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2357.1668090820312,
- "y": 1276.048846244812,
- "z": "8810ce64.4a102",
+ "x": 2310.5001525878906,
+ "y": 1271.8821783065796,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "3b8c2bff.4a8384"
+ "b38e2a02.d20078"
]
]
},
{
- "id": "a4ba49bc.319898",
+ "id": "1b34c3a5.cb065c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2351.1666870117188,
- "y": 1343.0487852096558,
- "z": "8810ce64.4a102",
+ "x": 2304.500030517578,
+ "y": 1338.8821172714233,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "897bf22d.1244"
+ "7bb357a6.982188"
]
]
},
{
- "id": "3b8c2bff.4a8384",
+ "id": "b38e2a02.d20078",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2534.1669311523438,
- "y": 1265.0487241744995,
- "z": "8810ce64.4a102",
+ "x": 2487.500274658203,
+ "y": 1260.882056236267,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "dcb187c6.3c2a98",
- "6fe85c0b.cfed34",
- "1d2d8078.f320b"
+ "fb2c033.9824a",
+ "b337d9a3.fb8778",
+ "a6171c84.8f453"
]
]
},
{
- "id": "897bf22d.1244",
+ "id": "7bb357a6.982188",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2531.1666870117188,
- "y": 1348.048602104187,
- "z": "8810ce64.4a102",
+ "x": 2484.500030517578,
+ "y": 1343.8819341659546,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "b6c60408.ac42f8"
+ "6d52774b.718b58"
]
]
},
{
- "id": "b6c60408.ac42f8",
+ "id": "6d52774b.718b58",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 2684.1663818359375,
- "y": 1348.048846244812,
- "z": "8810ce64.4a102",
+ "x": 2637.499725341797,
+ "y": 1343.8821783065796,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "dcb187c6.3c2a98",
+ "id": "fb2c033.9824a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2738.916893005371,
- "y": 1265.5490036010742,
- "z": "8810ce64.4a102",
+ "x": 2692.2502365112305,
+ "y": 1261.3823356628418,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "6fe85c0b.cfed34",
+ "id": "b337d9a3.fb8778",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2743.917079925537,
- "y": 1211.5491394996643,
- "z": "8810ce64.4a102",
+ "x": 2697.2504234313965,
+ "y": 1207.3824715614319,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "616b13a5.03b89c",
+ "id": "3b09f70f.de57e8",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 740.7291641235352,
- "y": 1304.2361316680908,
- "z": "8810ce64.4a102",
+ "x": 694.0625076293945,
+ "y": 1300.0694637298584,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "10fb2c3d.dfce64",
- "70cc2ee.327ead",
- "6a2616fc.39c188"
+ "a2731454.f88ab8",
+ "fed2b0cf.516b5",
+ "490ac02c.0d8af"
]
]
},
{
- "id": "10fb2c3d.dfce64",
+ "id": "a2731454.f88ab8",
"type": "execute",
"name": "read DUlist size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1073.4791870117188,
- "y": 1210.2361183166504,
- "z": "8810ce64.4a102",
+ "x": 1026.8125305175781,
+ "y": 1206.069450378418,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "70cc2ee.327ead",
+ "id": "fed2b0cf.516b5",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1046.4792137145996,
- "y": 1253.7361793518066,
- "z": "8810ce64.4a102",
+ "x": 999.812557220459,
+ "y": 1249.5695114135742,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "6a2616fc.39c188",
+ "id": "490ac02c.0d8af",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1058.4791870117188,
- "y": 1304.9861068725586,
- "z": "8810ce64.4a102",
+ "x": 1011.8125305175781,
+ "y": 1300.8194389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "56903078.1f15a"
+ "9d0de056.0e88b"
]
]
},
{
- "id": "56903078.1f15a",
+ "id": "9d0de056.0e88b",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1339.4791564941406,
- "y": 1305.9860763549805,
- "z": "8810ce64.4a102",
+ "x": 1292.8125,
+ "y": 1301.819408416748,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "8815af69.bf19a",
- "6c129f65.c2cb9",
- "d9dc2c7b.dd00a",
- "dc885ed2.b0e5d"
+ "77316146.f524d",
+ "d1967c77.837a4",
+ "2878771e.95fa18",
+ "2c34edac.88ff82"
]
]
},
{
- "id": "8815af69.bf19a",
+ "id": "77316146.f524d",
"type": "execute",
"name": "read DU id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1618.4789810180664,
- "y": 1301.9853782653809,
- "z": "8810ce64.4a102",
+ "x": 1571.8123245239258,
+ "y": 1297.8187103271484,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "6c129f65.c2cb9",
+ "id": "d1967c77.837a4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1591.4789810180664,
- "y": 1352.9853782653809,
- "z": "8810ce64.4a102",
+ "x": 1544.8123245239258,
+ "y": 1348.8187103271484,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "d9dc2c7b.dd00a",
+ "id": "2878771e.95fa18",
"type": "execute",
"name": "read cellDU list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1632.4789810180664,
- "y": 1401.9853782653809,
- "z": "8810ce64.4a102",
+ "x": 1585.8123245239258,
+ "y": 1397.8187103271484,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "dc885ed2.b0e5d",
+ "id": "2c34edac.88ff82",
"type": "for",
"name": "for cellDUList",
"xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1622.4789810180664,
- "y": 1445.9853782653809,
- "z": "8810ce64.4a102",
+ "x": 1575.8123245239258,
+ "y": 1441.8187103271484,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "cf6daf94.a4519"
+ "418bc08c.4d246"
]
]
},
{
- "id": "cf6daf94.a4519",
+ "id": "418bc08c.4d246",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1782.2290420532227,
- "y": 1445.7355031967163,
- "z": "8810ce64.4a102",
+ "x": 1735.562385559082,
+ "y": 1441.568835258484,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "cd3443f.60a62c",
- "fa791c73.94b2e",
- "a86c8a66.29e048"
+ "7e225a27.bc6134",
+ "3df28e05.782432",
+ "9950a6b.7600558"
]
]
},
{
- "id": "cd3443f.60a62c",
+ "id": "7e225a27.bc6134",
"type": "execute",
"name": "read PLMNList size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 2030.4166564941406,
- "y": 1445.4861068725586,
- "z": "8810ce64.4a102",
+ "x": 1983.75,
+ "y": 1441.3194389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "fa791c73.94b2e",
+ "id": "3df28e05.782432",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2008.7500305175781,
- "y": 1515.4861068725586,
- "z": "8810ce64.4a102",
+ "x": 1962.0833740234375,
+ "y": 1511.3194389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "313e638f.f742ec"
+ "85575f8d.89fd3"
]
]
},
{
- "id": "313e638f.f742ec",
+ "id": "85575f8d.89fd3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2194.138816833496,
- "y": 1509.513816833496,
- "z": "8810ce64.4a102",
+ "x": 2147.4721603393555,
+ "y": 1505.3471488952637,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "52e7e56.cbb151c",
- "e0f61457.8125e8",
- "91bf12a7.d0c93"
+ "d4c5a550.025f88",
+ "6d4bb9ac.6f1ce8",
+ "6b23bbb4.2f26d4"
]
]
},
{
- "id": "e0f61457.8125e8",
+ "id": "6d4bb9ac.6f1ce8",
"type": "execute",
"name": "read sNSSAI from getNFNSSIRIC-configdb-response",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 2565.694496154785,
- "y": 1449.5976209640503,
- "z": "8810ce64.4a102",
+ "x": 2519.0278396606445,
+ "y": 1445.4309530258179,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "cf30123e.20ea6",
+ "id": "1e65b7ed.d3e5f8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2430.027759552002,
- "y": 1486.4863586425781,
- "z": "8810ce64.4a102",
+ "x": 2383.3611030578613,
+ "y": 1482.3196907043457,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "52e7e56.cbb151c",
+ "id": "d4c5a550.025f88",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2425.1667404174805,
- "y": 1536.041835784912,
- "z": "8810ce64.4a102",
+ "x": 2378.50008392334,
+ "y": 1531.8751678466797,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "3a8ebde1.e6da42"
+ "1b16c5a4.524dfa"
]
]
},
{
- "id": "3a8ebde1.e6da42",
+ "id": "1b16c5a4.524dfa",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2599.638984680176,
- "y": 1528.764193058014,
- "z": "8810ce64.4a102",
+ "x": 2552.972328186035,
+ "y": 1524.5975251197815,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "274d0a32.b45fa6"
+ "15097fb6.9fe7e"
]
]
},
{
- "id": "274d0a32.b45fa6",
+ "id": "15097fb6.9fe7e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2773.6667861938477,
- "y": 1524.7363300323486,
- "z": "8810ce64.4a102",
+ "x": 2727.000129699707,
+ "y": 1520.5696620941162,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "71cdbc0a.3622b4",
- "ec44bdd1.bcf45",
- "b4f0ef58.afece",
- "38f96ec1.612702",
- "87bfb017.e52f5",
- "622005bb.6ae9cc",
- "ef70ea15.eee9e8"
+ "ee4d80c2.30823",
+ "f9746931.f68fc8",
+ "eeb6d06.ad3103",
+ "c099e06e.4ca54",
+ "70935f7e.52d6d",
+ "d50824ca.307f58",
+ "c365c8ce.3a5d38"
]
]
},
{
- "id": "5253749f.cf47cc",
+ "id": "9a4bdf29.0e788",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2986.167152404785,
- "y": 1493.486330151558,
- "z": "8810ce64.4a102",
+ "x": 2939.5004959106445,
+ "y": 1489.3196622133255,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "71cdbc0a.3622b4",
+ "id": "ee4d80c2.30823",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2990.416664123535,
- "y": 1551.4863624572754,
- "z": "8810ce64.4a102",
+ "x": 2943.7500076293945,
+ "y": 1547.319694519043,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "3f634a3a.bbc3a6",
- "e495c954.919aa8"
+ "25db24a4.94a7bc",
+ "7299ab72.ac3bf4"
]
]
},
{
- "id": "3f634a3a.bbc3a6",
+ "id": "25db24a4.94a7bc",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3199.6671562194824,
- "y": 1506.4859037399292,
- "z": "8810ce64.4a102",
+ "x": 3153.000499725342,
+ "y": 1502.3192358016968,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "42c47733.226eb8"
+ "8c4ae1b6.8440d"
]
]
},
{
- "id": "e495c954.919aa8",
+ "id": "7299ab72.ac3bf4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3194.6671562194824,
- "y": 1567.9866065979004,
- "z": "8810ce64.4a102",
+ "x": 3148.000499725342,
+ "y": 1563.819938659668,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "605bb58c.b455ec"
+ "77c32512.a85e0c"
]
]
},
{
- "id": "42c47733.226eb8",
+ "id": "8c4ae1b6.8440d",
"type": "execute",
"name": "generate patch PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3545.9169158935547,
- "y": 1505.2363605499268,
- "z": "8810ce64.4a102",
+ "x": 3499.250259399414,
+ "y": 1501.0696926116943,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "605bb58c.b455ec",
+ "id": "77c32512.a85e0c",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3372.166732788086,
- "y": 1574.486240386963,
- "z": "8810ce64.4a102",
+ "x": 3325.5000762939453,
+ "y": 1570.3195724487305,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "18b79e75.37e392",
- "f0161312.03f32"
+ "14cd17df.749028",
+ "75414c2d.295d74"
]
]
},
{
- "id": "18b79e75.37e392",
+ "id": "14cd17df.749028",
"type": "execute",
"name": "generate patchPLMNInfoList.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3654.1670989990234,
- "y": 1563.236240386963,
- "z": "8810ce64.4a102",
+ "x": 3607.500442504883,
+ "y": 1559.0695724487305,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "f0161312.03f32",
+ "id": "75414c2d.295d74",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3604.4174041748047,
- "y": 1623.7362718582153,
- "z": "8810ce64.4a102",
+ "x": 3557.750747680664,
+ "y": 1619.569603919983,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "ec44bdd1.bcf45",
+ "id": "f9746931.f68fc8",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3037.291717529297,
- "y": 1678.298544883728,
- "z": "8810ce64.4a102",
+ "x": 2990.6250610351562,
+ "y": 1674.1318769454956,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "b4f0ef58.afece",
+ "id": "eeb6d06.ad3103",
"type": "execute",
"name": "prepare idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3010.2919006347656,
- "y": 1733.2985467910767,
- "z": "8810ce64.4a102",
+ "x": 2963.625244140625,
+ "y": 1729.1318788528442,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "38f96ec1.612702",
+ "id": "c099e06e.4ca54",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 2990.2915954589844,
- "y": 1796.2988529205322,
- "z": "8810ce64.4a102",
+ "x": 2943.6249389648438,
+ "y": 1792.1321849822998,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "87bfb017.e52f5",
+ "id": "70935f7e.52d6d",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 2992.2918395996094,
- "y": 1854.2984857559204,
- "z": "8810ce64.4a102",
+ "x": 2945.6251831054688,
+ "y": 1850.131817817688,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "622005bb.6ae9cc",
+ "id": "d50824ca.307f58",
"type": "record",
"name": "record API params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellDU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2997.291473388672,
- "y": 1922.2989768981934,
- "z": "8810ce64.4a102",
+ "x": 2950.6248168945312,
+ "y": 1918.132308959961,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "ef70ea15.eee9e8",
+ "id": "c365c8ce.3a5d38",
"type": "execute",
"name": "patch PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3054.29150390625,
- "y": 1997.5483627319336,
- "z": "8810ce64.4a102",
+ "x": 3007.6248474121094,
+ "y": 1993.3816947937012,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "31094a59.71c6b6",
- "e17e12d8.7bf9b"
+ "cbfb7182.04192",
+ "1353c2f.b08113d"
]
]
},
{
- "id": "e17e12d8.7bf9b",
+ "id": "1353c2f.b08113d",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3321.29150390625,
- "y": 1897.5483627319336,
- "z": "8810ce64.4a102",
+ "x": 3274.6248474121094,
+ "y": 1893.3816947937012,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "cb59d78a.e2f718"
+ "daa2fa32.0a3cf8"
]
]
},
{
- "id": "cb59d78a.e2f718",
+ "id": "daa2fa32.0a3cf8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3479.291748046875,
- "y": 1845.5483627319336,
- "z": "8810ce64.4a102",
+ "x": 3432.6250915527344,
+ "y": 1841.3816947937012,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "d2c3eb8a.9f6058",
- "dca325ed.2d4808",
- "1d2d8078.f320b"
+ "6eefc424.f5818c",
+ "a67f38fc.2aa6f8",
+ "a6171c84.8f453"
]
]
},
{
- "id": "dca325ed.2d4808",
+ "id": "a67f38fc.2aa6f8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3645.29150390625,
- "y": 1811.5483627319336,
- "z": "8810ce64.4a102",
+ "x": 3598.6248474121094,
+ "y": 1807.3816947937012,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "d2c3eb8a.9f6058",
+ "id": "6eefc424.f5818c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3650.2913818359375,
- "y": 1906.5484237670898,
- "z": "8810ce64.4a102",
+ "x": 3603.624725341797,
+ "y": 1902.3817558288574,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "ae420b40.974238",
+ "id": "9ccf28a9.229118",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 3634.2913818359375,
- "y": 1992.5486068725586,
- "z": "8810ce64.4a102",
+ "x": 3587.624725341797,
+ "y": 1988.3819389343262,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "b31a279f.84d848",
+ "id": "97dc56cc.61aa88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3488.29150390625,
- "y": 1993.548365354538,
- "z": "8810ce64.4a102",
+ "x": 3441.6248474121094,
+ "y": 1989.3816974163055,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "ae420b40.974238"
+ "9ccf28a9.229118"
]
]
},
{
- "id": "31094a59.71c6b6",
+ "id": "cbfb7182.04192",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3320.29150390625,
- "y": 1996.5483627319336,
- "z": "8810ce64.4a102",
+ "x": 3273.6248474121094,
+ "y": 1992.3816947937012,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "b31a279f.84d848"
+ "97dc56cc.61aa88"
]
]
},
{
- "id": "9227e420.d769d8",
+ "id": "4af74b2.0c4c3b4",
"type": "execute",
"name": "get PLMNId URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 701.9791870117188,
- "y": 637.0486183166504,
- "z": "8810ce64.4a102",
+ "x": 655.3125305175781,
+ "y": 632.881950378418,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "118a9166.3752bf",
+ "id": "78a81d70.8057c4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 675.4791870117188,
- "y": 692.5486497879028,
- "z": "8810ce64.4a102",
+ "x": 628.8125305175781,
+ "y": 688.3819818496704,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "30fa502.42137b",
+ "id": "3140a69b.5ea20a",
"type": "execute",
"name": "Get PLMN from Sliceprofile id",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 744.2291717529297,
- "y": 746.0485858917236,
- "z": "8810ce64.4a102",
+ "x": 697.5625152587891,
+ "y": 741.8819179534912,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "87dd3f2b.2826d",
+ "id": "5d00062a.743238",
"type": "execute",
"name": "read PLMN Id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`getPLMN-configdb-response.plmnId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 697.2291641235352,
- "y": 785.1598272323608,
- "z": "8810ce64.4a102",
+ "x": 650.5625076293945,
+ "y": 780.9931592941284,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "e73bf4c7.eb1d48",
+ "id": "f8eadf29.5ba87",
"type": "execute",
"name": "find MCC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
"comments": "",
"outputs": 1,
- "x": 682.7014083862305,
- "y": 822.1875896453857,
- "z": "8810ce64.4a102",
+ "x": 636.0347518920898,
+ "y": 818.0209217071533,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "51734263.da003c",
+ "id": "8900b25a.4b727",
"type": "execute",
"name": "find MNC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
"comments": "",
"outputs": 1,
- "x": 679.3681449890137,
- "y": 860.9653186798096,
- "z": "8810ce64.4a102",
+ "x": 632.701488494873,
+ "y": 856.7986507415771,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "7056f58c.cbd93c",
+ "id": "65561a2a.1348f4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 668.5838088989258,
- "y": 895.7365913391113,
- "z": "8810ce64.4a102",
+ "x": 621.9171524047852,
+ "y": 891.5699234008789,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "1d2d8078.f320b",
+ "id": "a6171c84.8f453",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4123.229156494141,
- "y": 1644.102195739746,
- "z": "8810ce64.4a102",
+ "x": 4076.5625,
+ "y": 1639.9355278015137,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "95d91ff1.aee05",
- "860df61e.6c4d98",
- "fb12db36.56d558"
+ "8e9200a7.f3da9",
+ "60414092.28506",
+ "f9a7f02e.efe6e"
]
]
},
{
- "id": "95d91ff1.aee05",
+ "id": "8e9200a7.f3da9",
"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=\"`$activate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$activate-r-a-n-slice-instance-input.action`\"/>\n",
"comments": "",
- "x": 4502.372940063477,
- "y": 1501.7161827087402,
- "z": "8810ce64.4a102",
+ "x": 4455.706283569336,
+ "y": 1497.5495147705078,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "860df61e.6c4d98",
+ "id": "60414092.28506",
"type": "record",
"name": "record RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
"comments": "",
"outputs": 1,
- "x": 4505.943397521973,
- "y": 1567.3882694244385,
- "z": "8810ce64.4a102",
+ "x": 4459.276741027832,
+ "y": 1563.221601486206,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "fb12db36.56d558",
+ "id": "f9a7f02e.efe6e",
"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-activate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-activate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 4432.371963500977,
- "y": 1645.8168439865112,
- "z": "8810ce64.4a102",
+ "x": 4385.705307006836,
+ "y": 1641.6501760482788,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "9980158f.406e88",
- "67b08216.a3393c"
+ "31d39151.3906ae",
+ "aaf60ba7.09e9d8"
]
]
},
{
- "id": "9980158f.406e88",
+ "id": "31d39151.3906ae",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4669.800521850586,
- "y": 1628.5308952331543,
- "z": "8810ce64.4a102",
+ "x": 4623.133865356445,
+ "y": 1624.3642272949219,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "87660bcc.628228"
+ "4210cf15.8783e"
]
]
},
{
- "id": "87660bcc.628228",
+ "id": "4210cf15.8783e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4862.228889465332,
- "y": 1619.2453327178955,
- "z": "8810ce64.4a102",
+ "x": 4815.562232971191,
+ "y": 1615.078664779663,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "71da56df.06b538"
+ "55c1344c.aee6bc"
]
]
},
{
- "id": "71da56df.06b538",
+ "id": "55c1344c.aee6bc",
"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": 5063.942771911621,
- "y": 1607.9594445228577,
- "z": "8810ce64.4a102",
+ "x": 5017.2761154174805,
+ "y": 1603.7927765846252,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "a4c90aa5.4590d8",
+ "id": "7bc0e6d8.a66c08",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 5058.086048126221,
- "y": 1682.9595108032227,
- "z": "8810ce64.4a102",
+ "x": 5011.41939163208,
+ "y": 1678.7928428649902,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "c87cca3b.177cf8",
+ "id": "26cbe59.d88ae1a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4874.085899353027,
- "y": 1688.3879528045654,
- "z": "8810ce64.4a102",
+ "x": 4827.419242858887,
+ "y": 1684.221284866333,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "a4c90aa5.4590d8"
+ "7bc0e6d8.a66c08"
]
]
},
{
- "id": "67b08216.a3393c",
+ "id": "aaf60ba7.09e9d8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4664.085845947266,
- "y": 1692.2451915740967,
- "z": "8810ce64.4a102",
+ "x": 4617.419189453125,
+ "y": 1688.0785236358643,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "c87cca3b.177cf8"
+ "26cbe59.d88ae1a"
]
]
},
{
- "id": "1f3735d.7ce59ca",
+ "id": "fb4912a7.ac9d6",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 670.7291564941406,
- "y": 1621.245018005371,
- "z": "8810ce64.4a102",
+ "x": 624.0625,
+ "y": 1617.0783500671387,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "a80d850.d925878",
- "9999f77f.9d0b48",
- "2c826e96.56d782",
- "fb15841c.d43108"
+ "20a36079.64749",
+ "180c33be.f7820c",
+ "e7a8f76c.47e418",
+ "b811c19e.c0b97"
]
]
},
{
- "id": "2c826e96.56d782",
+ "id": "e7a8f76c.47e418",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$activate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$activate-r-a-n-slice-input.action`\"/>\n",
"comments": "",
- "x": 950.7303009033203,
- "y": 1471.1445026397705,
- "z": "8810ce64.4a102",
+ "x": 904.0636444091797,
+ "y": 1466.977834701538,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "a80d850.d925878",
+ "id": "20a36079.64749",
"type": "record",
"name": "record SO reply parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
"comments": "",
"outputs": 1,
- "x": 947.729133605957,
- "y": 1625.2452011108398,
- "z": "8810ce64.4a102",
+ "x": 901.0624771118164,
+ "y": 1621.0785331726074,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "9999f77f.9d0b48",
+ "id": "180c33be.f7820c",
"type": "execute",
"name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-activate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-activate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 816.7292327880859,
- "y": 1742.2449054718018,
- "z": "8810ce64.4a102",
+ "x": 770.0625762939453,
+ "y": 1738.0782375335693,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "2063bf67.d5503",
- "ee4d36f.2eaa2c8"
+ "43a1e0f6.d9bce",
+ "f0514958.091e68"
]
]
},
{
- "id": "2063bf67.d5503",
+ "id": "43a1e0f6.d9bce",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 981.7292327880859,
- "y": 1722.2449045181274,
- "z": "8810ce64.4a102",
+ "x": 935.0625762939453,
+ "y": 1718.078236579895,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "7b7497de.9bd2e8"
+ "49ed0881.ebce78"
]
]
},
{
- "id": "ee4d36f.2eaa2c8",
+ "id": "f0514958.091e68",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 973.7291259765625,
- "y": 1795.244854927063,
- "z": "8810ce64.4a102",
+ "x": 927.0624694824219,
+ "y": 1791.0781869888306,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "9a9bad68.9f109"
+ "f9269895.b3ab48"
]
]
},
{
- "id": "9a9bad68.9f109",
+ "id": "f9269895.b3ab48",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1119.7289695739746,
- "y": 1800.244963645935,
- "z": "8810ce64.4a102",
+ "x": 1073.062313079834,
+ "y": 1796.0782957077026,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "6a0f5572.75136c"
+ "e63686ba.7af778"
]
]
},
{
- "id": "7b7497de.9bd2e8",
+ "id": "49ed0881.ebce78",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1130.729133605957,
- "y": 1718.2450399398804,
- "z": "8810ce64.4a102",
+ "x": 1084.0624771118164,
+ "y": 1714.078372001648,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "a9943a91.4d4d58",
- "9f7d08ba.2c9008"
+ "f2eb4484.4e2e78",
+ "911b190b.fc87a8"
]
]
},
{
- "id": "a9943a91.4d4d58",
+ "id": "f2eb4484.4e2e78",
"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": 1277.7287521362305,
- "y": 1729.2447814941406,
- "z": "8810ce64.4a102",
+ "x": 1231.0620956420898,
+ "y": 1725.0781135559082,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "6a0f5572.75136c",
+ "id": "e63686ba.7af778",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 1280.728889465332,
- "y": 1806.2448558807373,
- "z": "8810ce64.4a102",
+ "x": 1234.0622329711914,
+ "y": 1802.0781879425049,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "9f7d08ba.2c9008",
+ "id": "911b190b.fc87a8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1265.2393608093262,
- "y": 1633.2342729568481,
- "z": "8810ce64.4a102",
+ "x": 1218.5727043151855,
+ "y": 1629.0676050186157,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "fb15841c.d43108",
+ "id": "b811c19e.c0b97",
"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": 970.0687561035156,
- "y": 1561.2303552627563,
- "z": "8810ce64.4a102",
+ "x": 923.402099609375,
+ "y": 1557.063687324524,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "63bf8010.4abdc",
+ "id": "82a44f57.da628",
"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": 328.2291564941406,
- "y": 1137.6736068725586,
- "z": "8810ce64.4a102",
+ "x": 281.5625,
+ "y": 1133.5069389343262,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "4119896c.9c68b8",
+ "id": "4a7507d.20e03f8",
"type": "execute",
"name": "read RIC list size",
"xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 697.2221603393555,
- "y": 928.3332767486572,
- "z": "8810ce64.4a102",
+ "x": 650.5555038452148,
+ "y": 924.1666088104248,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "9549e73d.16fbf8",
+ "id": "b883fc7d.48bca",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1911.6665649414062,
- "y": 720.0001373291016,
- "z": "8810ce64.4a102",
+ "x": 1864.9999084472656,
+ "y": 715.8334693908691,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "7ab6a74c.7816e8",
+ "id": "621e175.0404ae8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"pLMNInfoList_length \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1911.666603088379,
- "y": 811.1111469268799,
- "z": "8810ce64.4a102",
+ "x": 1864.9999465942383,
+ "y": 806.9444789886475,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "a4f056d4.272128",
+ "id": "3eb11b00.e80194",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo exists\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2371.66650390625,
- "y": 758.3333129882812,
- "z": "8810ce64.4a102",
+ "x": 2324.9998474121094,
+ "y": 754.1666450500488,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "19abab8d.4a9414",
+ "id": "e76bc3c0.0edf5",
"type": "execute",
"name": "read nearRTRICID",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].nearRTRICId'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 844.1666488647461,
- "y": 960.8332462310791,
- "z": "8810ce64.4a102",
+ "x": 797.4999923706055,
+ "y": 956.6665782928467,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "a26eb581.df1338",
+ "id": "d74aea1d.4971f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 651.9443969726562,
- "y": 977.4999389648438,
- "z": "8810ce64.4a102",
+ "x": 605.2777404785156,
+ "y": 973.3332710266113,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "19abab8d.4a9414"
+ "e76bc3c0.0edf5"
]
]
},
{
- "id": "760fbb9c.1fe0f4",
+ "id": "5c9636da.117878",
"type": "execute",
"name": "prepare nearRTRICId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2040.833251953125,
- "y": 1163.0555419921875,
- "z": "8810ce64.4a102",
+ "x": 1994.1665954589844,
+ "y": 1158.888874053955,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "c1d6662b.ac2dc8",
+ "id": "486c8988.17b4e8",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2037.4998779296875,
- "y": 1239.72216796875,
- "z": "8810ce64.4a102",
+ "x": 1990.8332214355469,
+ "y": 1235.5555000305176,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "4ae26bfb.2cf8b4",
+ "id": "cf837fb7.24118",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2034.16650390625,
- "y": 1273.0555419921875,
- "z": "8810ce64.4a102",
+ "x": 1987.4998474121094,
+ "y": 1268.888874053955,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "edc43ccd.f324e",
+ "id": "2d9bbd55.ba7582",
"type": "execute",
"name": "read sNSSAI from getNFNSSIRIC-configdb-response",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $idz +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 2115,
- "y": 945.2777061462402,
- "z": "8810ce64.4a102",
+ "x": 2068.3333435058594,
+ "y": 941.1110382080078,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "59abfdfd.c246c4",
+ "id": "7229bf20.efefc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1964.889030456543,
- "y": 981.0555400848389,
- "z": "8810ce64.4a102",
+ "x": 1918.2223739624023,
+ "y": 976.8888721466064,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "33d0ad10.4a9b82",
+ "id": "65eb3275.4c544c",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 1977.1112747192383,
- "y": 1021.1666297912598,
- "z": "8810ce64.4a102",
+ "x": 1930.4446182250977,
+ "y": 1016.9999618530273,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "81194fd7.433ad",
- "9078ea63.753fd8"
+ "7bbbd8d9.770108",
+ "1af10d7a.4d0d53"
]
]
},
{
- "id": "81194fd7.433ad",
+ "id": "7bbbd8d9.770108",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2158.805805206299,
- "y": 1000.277868270874,
- "z": "8810ce64.4a102",
+ "x": 2112.139148712158,
+ "y": 996.1112003326416,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "22705dcb.70b392"
+ "c41e3776.a23bb8"
]
]
},
{
- "id": "20e32925.344246",
+ "id": "ddf97987.753eb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1766.1109619140625,
- "y": 1005.2777099609375,
- "z": "8810ce64.4a102",
+ "x": 1719.4443054199219,
+ "y": 1001.1110420227051,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "edc43ccd.f324e",
- "59abfdfd.c246c4",
- "33d0ad10.4a9b82"
+ "2d9bbd55.ba7582",
+ "7229bf20.efefc",
+ "65eb3275.4c544c"
]
]
},
{
- "id": "9078ea63.753fd8",
+ "id": "1af10d7a.4d0d53",
"type": "outcome",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2339.4443359375,
- "y": 971.9443969726562,
- "z": "8810ce64.4a102",
+ "x": 2292.7776794433594,
+ "y": 967.7777290344238,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "3f6d8320.acc2dc"
+ "a81fcade.879b78"
]
]
},
{
- "id": "3f6d8320.acc2dc",
+ "id": "a81fcade.879b78",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI doesn't match\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2479.444393157959,
- "y": 961.9443674087524,
- "z": "8810ce64.4a102",
+ "x": 2432.7777366638184,
+ "y": 957.77769947052,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "91bf12a7.d0c93",
+ "id": "6b23bbb4.2f26d4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DUpLMNInfoList_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.DUpLMNInfoList_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2415,
- "y": 1395.2777099609375,
- "z": "8810ce64.4a102",
+ "x": 2368.3333435058594,
+ "y": 1391.111042022705,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "a603b30f.95aef",
+ "id": "5789652a.13621c",
"type": "execute",
"name": "read cell id",
"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=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1930.5554962158203,
- "y": 667.4999494552612,
- "z": "8810ce64.4a102",
+ "x": 1883.8888397216797,
+ "y": 663.3332815170288,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "a86c8a66.29e048",
+ "id": "9950a6b.7600558",
"type": "execute",
"name": "read cellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2009.72216796875,
- "y": 1370.833251953125,
- "z": "8810ce64.4a102",
+ "x": 1963.0555114746094,
+ "y": 1366.6665840148926,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "1c30356c.7a78eb",
+ "id": "8d198da6.7e824",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2009.0968475341797,
- "y": 1406.1456327438354,
- "z": "8810ce64.4a102",
+ "x": 1962.430191040039,
+ "y": 1401.978964805603,
+ "z": "97d36d8.2debe9",
"wires": [
[]
]
},
{
- "id": "ea6a18bc.839118",
+ "id": "cf85911.dc4117",
"type": "switchNode",
"name": "check the action",
"xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
"comments": "",
"outputs": 1,
- "x": 713.3333206176758,
- "y": 415.2777533531189,
- "z": "8810ce64.4a102",
+ "x": 666.6666641235352,
+ "y": 411.1110854148865,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "24f480c0.215e",
- "d5be92c1.19ca2"
+ "38c79f73.134ec",
+ "5289e4ce.19e78c"
]
]
},
{
- "id": "24f480c0.215e",
+ "id": "38c79f73.134ec",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 940.8333168029785,
- "y": 360.8333568572998,
- "z": "8810ce64.4a102",
+ "x": 894.1666603088379,
+ "y": 356.6666889190674,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "cbae8ce4.fffa9"
+ "ac6ed2b3.1ec52"
]
]
},
{
- "id": "d5be92c1.19ca2",
+ "id": "5289e4ce.19e78c",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 943.0554618835449,
- "y": 419.7222442626953,
- "z": "8810ce64.4a102",
+ "x": 896.3888053894043,
+ "y": 415.5555763244629,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "dbb21ae4.bc9e08"
+ "c4bdd35a.798ee"
]
]
},
{
- "id": "db9bee55.c76d8",
+ "id": "30c722b5.e2114e",
"type": "set",
"name": "set status as ACTIVE",
"xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
"comments": "",
- "x": 1395.277889251709,
- "y": 330.8333206176758,
- "z": "8810ce64.4a102",
+ "x": 1348.6112327575684,
+ "y": 326.66665267944336,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "6250ead9.88d1e4",
+ "id": "c5cc134f.3ffc2",
"type": "set",
"name": "set status as INACTIVE",
"xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
"comments": "",
- "x": 1369.7222328186035,
- "y": 364.16667461395264,
- "z": "8810ce64.4a102",
+ "x": 1323.055576324463,
+ "y": 360.0000066757202,
+ "z": "97d36d8.2debe9",
"wires": []
},
{
- "id": "cbae8ce4.fffa9",
+ "id": "ac6ed2b3.1ec52",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1150.8333168029785,
- "y": 348.6110668182373,
- "z": "8810ce64.4a102",
+ "x": 1104.166660308838,
+ "y": 344.4443988800049,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "db9bee55.c76d8"
+ "30c722b5.e2114e"
]
]
},
{
- "id": "dbb21ae4.bc9e08",
+ "id": "c4bdd35a.798ee",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1147.5000610351562,
- "y": 405.2777953147888,
- "z": "8810ce64.4a102",
+ "x": 1100.8334045410156,
+ "y": 401.1111273765564,
+ "z": "97d36d8.2debe9",
"wires": [
[
- "6250ead9.88d1e4"
+ "c5cc134f.3ffc2"
]
]
}
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 b93f483d..05fa5395 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": "a42289ba.f91ed8",
+ "id": "67a77d09.005634",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSlice' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 734.375,
- "y": 230.9375,
- "z": "902b25ae.7c3098",
+ "x": 233.0555419921875,
+ "y": 316.9895782470703,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "1046083a.925388"
+ "42dd709f.aad4b"
]
]
},
{
- "id": "b74501c3.c1b28",
+ "id": "6123ff94.6f1ca",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 737.375,
- "y": 80.93749618530273,
- "z": "902b25ae.7c3098",
+ "x": 236.0555419921875,
+ "y": 166.98957443237305,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "bbd24351.afb32"
+ "6c8850d4.ad19d"
]
]
},
{
- "id": "bbd24351.afb32",
+ "id": "6c8850d4.ad19d",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,1023 +38,1102 @@
"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": 795.3749847412109,
- "y": 141.93759155273438,
- "z": "902b25ae.7c3098",
+ "x": 294.05552673339844,
+ "y": 227.9896697998047,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "a42289ba.f91ed8"
+ "67a77d09.005634"
]
]
},
{
- "id": "1046083a.925388",
+ "id": "42dd709f.aad4b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 743.8645973205566,
- "y": 395.9375410079956,
- "z": "902b25ae.7c3098",
+ "x": 242.54513931274414,
+ "y": 481.9896192550659,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "3954f1bc.d5ae1e",
- "a9256fac.7a667",
- "1c74dac0.89ed85",
- "e8aa052e.4a08a8",
- "3ebac649.d77a3a",
- "764bab41.3fba94",
- "53ac0b9a.a04824",
- "9da0386c.caad58",
- "1020a2c3.72f18d"
+ "9f2f24a2.745ca8",
+ "860cc46e.fa7f88",
+ "64a49a6.5b4e364",
+ "ef84eb20.c4e448",
+ "1bfe8353.4be83d",
+ "3d941794.9e7798",
+ "34c03b26.8a2e14",
+ "85f34d57.c700f",
+ "1e555148.2d405f"
]
]
},
{
- "id": "9da0386c.caad58",
+ "id": "85f34d57.c700f",
"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": 1003.8645858764648,
- "y": 941.9379072189331,
- "z": "902b25ae.7c3098",
+ "x": 502.54512786865234,
+ "y": 1027.9899854660034,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "7af33bee.afa794",
+ "id": "4bd5cb1a.ab54f4",
"type": "comment",
"name": "instantiateRANSlice",
"info": "",
"comments": "",
- "x": 1019.375,
- "y": 73.94791030883789,
- "z": "902b25ae.7c3098",
+ "x": 518.0555419921875,
+ "y": 159.9999885559082,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "3954f1bc.d5ae1e",
+ "id": "9f2f24a2.745ca8",
"type": "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": 1077.3753356933594,
- "y": 124.95837020874023,
- "z": "902b25ae.7c3098",
+ "x": 576.0558776855469,
+ "y": 211.01044845581055,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "1c74dac0.89ed85",
+ "id": "64a49a6.5b4e364",
"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": 1126.3750915527344,
- "y": 213.95833778381348,
- "z": "902b25ae.7c3098",
+ "x": 625.0556335449219,
+ "y": 300.0104160308838,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "8d28b750.83f4c8"
+ "2297220f.d1d1de"
]
]
},
{
- "id": "8d28b750.83f4c8",
+ "id": "2297220f.d1d1de",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1354.3751029968262,
- "y": 193.95835304260254,
- "z": "902b25ae.7c3098",
+ "x": 853.0556449890137,
+ "y": 280.01043128967285,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "4c1bf053.4c578"
+ "5b1157ca.74ff08"
]
]
},
{
- "id": "f29bd4c7.9d4768",
+ "id": "5d49c24f.5762cc",
"type": "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": 1697.3752765655518,
- "y": 200.95838165283203,
- "z": "902b25ae.7c3098",
+ "x": 1196.0558185577393,
+ "y": 287.01045989990234,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "e8aa052e.4a08a8",
+ "id": "ef84eb20.c4e448",
"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": 1108.3750534057617,
- "y": 298.95829486846924,
- "z": "902b25ae.7c3098",
+ "x": 607.0555953979492,
+ "y": 385.01037311553955,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "3ebac649.d77a3a",
+ "id": "1bfe8353.4be83d",
"type": "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": 1087.3750953674316,
- "y": 347.9583377838135,
- "z": "902b25ae.7c3098",
+ "x": 586.0556373596191,
+ "y": 434.0104160308838,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "764bab41.3fba94",
+ "id": "3d941794.9e7798",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 1077.3750839233398,
- "y": 638.8471822738647,
- "z": "902b25ae.7c3098",
+ "x": 576.0556259155273,
+ "y": 724.8992605209351,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "97f3e84.1370918"
+ "8cd8cd55.d7bc8"
]
]
},
{
- "id": "97f3e84.1370918",
+ "id": "8cd8cd55.d7bc8",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1149.3751487731934,
- "y": 835.8472061157227,
- "z": "902b25ae.7c3098",
+ "x": 648.0556907653809,
+ "y": 921.899284362793,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "c01f23a6.dc70c"
+ "afc265fa.6d0098"
]
]
},
{
- "id": "a9256fac.7a667",
+ "id": "860cc46e.fa7f88",
"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": 1126.3750915527344,
- "y": 172.95838737487793,
- "z": "902b25ae.7c3098",
+ "x": 625.0556335449219,
+ "y": 259.01046562194824,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "cc7294d8.84b948",
+ "id": "39f5c467.099a5c",
"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": 1715.3752746582031,
- "y": 134.95835399627686,
- "z": "902b25ae.7c3098",
+ "x": 1214.0558166503906,
+ "y": 221.01043224334717,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "4c1bf053.4c578",
+ "id": "5b1157ca.74ff08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1523.3751907348633,
- "y": 168.95835137367249,
- "z": "902b25ae.7c3098",
+ "x": 1022.0557327270508,
+ "y": 255.0104296207428,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "cc7294d8.84b948",
- "f29bd4c7.9d4768"
+ "39f5c467.099a5c",
+ "5d49c24f.5762cc"
]
]
},
{
- "id": "5f4a9dbe.e82784",
+ "id": "9dd7ad7.69d2b5",
"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": 1967.3753280639648,
- "y": 374.95836782455444,
- "z": "902b25ae.7c3098",
+ "x": 1466.0558700561523,
+ "y": 461.01044607162476,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "c01f23a6.dc70c",
+ "id": "afc265fa.6d0098",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1292.3750381469727,
- "y": 740.9479293823242,
- "z": "902b25ae.7c3098",
+ "x": 791.0555801391602,
+ "y": 827.0000076293945,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "bb5455ce.e3dd28"
+ "a3e93025.2a3d6"
]
]
},
{
- "id": "53ac0b9a.a04824",
+ "id": "34c03b26.8a2e14",
"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": 1100.375015258789,
- "y": 257.94793701171875,
- "z": "902b25ae.7c3098",
+ "x": 599.0555572509766,
+ "y": 344.00001525878906,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "62dc21e3.7ba4",
+ "id": "a5c3d67d.ddc678",
"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": 2011.3857421875,
- "y": 468.95837020874023,
- "z": "902b25ae.7c3098",
+ "x": 2010.0662994384766,
+ "y": 541.0104551315308,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "3760fa0c.ea30a6",
+ "id": "1cb6911c.4db33f",
"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": 2017.3857955932617,
- "y": 511.95833110809326,
- "z": "902b25ae.7c3098",
+ "x": 2014.0662994384766,
+ "y": 588.010401725769,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "a38369ec.dbae38",
+ "id": "cea48eef.d485d",
"type": "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": 1920.379295349121,
- "y": 565.9517955780029,
- "z": "902b25ae.7c3098",
+ "x": 1419.0598373413086,
+ "y": 652.0038738250732,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "ff988ad6.f70e48",
+ "id": "7f2af55a.f1dc2c",
"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": 1374.375,
- "y": 112.94791030883789,
- "z": "902b25ae.7c3098",
+ "x": 873.0555419921875,
+ "y": 198.9999885559082,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "bb5455ce.e3dd28",
+ "id": "a3e93025.2a3d6",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 1477.3854866027832,
- "y": 812.9583761692047,
- "z": "902b25ae.7c3098",
+ "x": 976.0660285949707,
+ "y": 899.010454416275,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "7cd86870.ac51d8",
- "a0cb91cf.e7199",
- "4da876a.2e36888",
- "6d94c593.9d6dac"
+ "d9af500b.00472",
+ "b756919a.6a42b",
+ "e378e31b.1eb2d",
+ "551ef603.0c3e58"
]
]
},
{
- "id": "7cd86870.ac51d8",
+ "id": "d9af500b.00472",
"type": "outcome",
"name": "allocate",
"xml": "<outcome value='allocate'>",
"comments": "",
"outputs": 1,
- "x": 1705.385498046875,
- "y": 686.8472595214844,
- "z": "902b25ae.7c3098",
+ "x": 1204.0660400390625,
+ "y": 772.8993377685547,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "7b2f6de.f14e394"
+ "9289244a.4c4bb8"
]
]
},
{
- "id": "a0cb91cf.e7199",
+ "id": "b756919a.6a42b",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 1715.0997695922852,
- "y": 762.34730219841,
- "z": "902b25ae.7c3098",
+ "x": 1213.7803115844727,
+ "y": 848.3993804454803,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "799f4e27.f8f1a"
+ "a4fc78c7.329648"
]
]
},
{
- "id": "4da876a.2e36888",
+ "id": "e378e31b.1eb2d",
"type": "outcome",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 1722.4568710327148,
- "y": 852.4901256561279,
- "z": "902b25ae.7c3098",
+ "x": 1221.1374130249023,
+ "y": 938.5422039031982,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "1786651.48d4b9b"
+ "b302bef7.3fda8"
]
]
},
{
- "id": "6d94c593.9d6dac",
+ "id": "551ef603.0c3e58",
"type": "outcome",
"name": "reconfigure",
"xml": "<outcome value='reconfigure'>",
"comments": "",
"outputs": 1,
- "x": 1694.4568710327148,
- "y": 935.5259351730347,
- "z": "902b25ae.7c3098",
+ "x": 1193.1374130249023,
+ "y": 1021.578013420105,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "50c21a5e.8e7934"
+ "6c87ccb6.788e84"
]
]
},
{
- "id": "7b2f6de.f14e394",
+ "id": "9289244a.4c4bb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1918.374864578247,
- "y": 670.9479494094849,
- "z": "902b25ae.7c3098",
+ "x": 1417.0554065704346,
+ "y": 757.0000276565552,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "df2d571d.4eda38",
- "fef64c42.832fa"
+ "884c04b0.09e5f8",
+ "ab24a43a.308598"
]
]
},
{
- "id": "799f4e27.f8f1a",
+ "id": "a4fc78c7.329648",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1938.5893173217773,
- "y": 766.4480323791504,
- "z": "902b25ae.7c3098",
+ "x": 1437.2698593139648,
+ "y": 852.5001106262207,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "2a4c84b3.b9568c",
- "b106e3dd.cbf93"
+ "28dcc680.4a597a",
+ "22cdbf7c.f7d3b"
]
]
},
{
- "id": "50c21a5e.8e7934",
+ "id": "6c87ccb6.788e84",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1926.196418762207,
- "y": 962.3766012191772,
- "z": "902b25ae.7c3098",
+ "x": 1424.8769607543945,
+ "y": 1048.4286794662476,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "a52ee994.bf73c8",
- "21feb381.e5eadc"
+ "9a8e2312.7ddf3",
+ "281ae2be.baaf4e"
]
]
},
{
- "id": "1786651.48d4b9b",
+ "id": "b302bef7.3fda8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1939.1249084472656,
- "y": 864.5909223556519,
- "z": "902b25ae.7c3098",
+ "x": 1437.8054504394531,
+ "y": 950.6430006027222,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "86386bfc.aabcf8",
- "507bd43f.c63d0c"
+ "52f79f06.a08b1",
+ "542603bc.4a91fc"
]
]
},
{
- "id": "df2d571d.4eda38",
+ "id": "884c04b0.09e5f8",
"type": "call",
"name": "call instantiateRANSliceAllocate",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceAllocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2206.6248474121094,
- "y": 659.697925567627,
- "z": "902b25ae.7c3098",
+ "x": 1705.3053894042969,
+ "y": 745.7500038146973,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "295d45ee.e6da2a"
+ "cb46a7e0.44b9c8"
]
]
},
{
- "id": "295d45ee.e6da2a",
+ "id": "cb46a7e0.44b9c8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2472.481979370117,
- "y": 668.2693681716919,
- "z": "902b25ae.7c3098",
+ "x": 1971.1625213623047,
+ "y": 754.3214464187622,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "5a602958.c62108"
+ "dc23f13e.76c39"
]
]
},
{
- "id": "5a602958.c62108",
+ "id": "dc23f13e.76c39",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2644.4819869995117,
- "y": 668.3765211105347,
- "z": "902b25ae.7c3098",
+ "x": 2143.162528991699,
+ "y": 754.428599357605,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "2a4c84b3.b9568c",
+ "id": "28dcc680.4a597a",
"type": "call",
"name": "call instantiateRANSliceModifyAllocate",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceModifyAllocate' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2231.0537719726562,
- "y": 769.6979684829712,
- "z": "902b25ae.7c3098",
+ "x": 1729.7343139648438,
+ "y": 855.7500467300415,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "899ea9f3.dad958"
+ "ee34f035.a9451"
]
]
},
{
- "id": "899ea9f3.dad958",
+ "id": "ee34f035.a9451",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2492.3394050598145,
- "y": 766.6979942321777,
- "z": "902b25ae.7c3098",
+ "x": 1991.019947052002,
+ "y": 852.750072479248,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "e682268a.ba31d8"
+ "fdb6ec76.bfbbf"
]
]
},
{
- "id": "e682268a.ba31d8",
+ "id": "fdb6ec76.bfbbf",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2660.910846710205,
- "y": 766.3765392303467,
- "z": "902b25ae.7c3098",
+ "x": 2159.5913887023926,
+ "y": 852.428617477417,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "a52ee994.bf73c8",
+ "id": "9a8e2312.7ddf3",
"type": "call",
"name": "call instantiateRANSliceReconfigure",
"xml": "<call module='ran-slice-api' rpc='instantiateRANSliceReconfigure' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2219.1963424682617,
- "y": 961.9836597442627,
- "z": "902b25ae.7c3098",
+ "x": 1717.8768844604492,
+ "y": 1048.035737991333,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "381c40f8.293fe"
+ "186fc0ff.96087f"
]
]
},
{
- "id": "381c40f8.293fe",
+ "id": "186fc0ff.96087f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2475.4820671081543,
- "y": 961.9836854934692,
- "z": "902b25ae.7c3098",
+ "x": 1974.1626091003418,
+ "y": 1048.0357637405396,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "403c6dba.dcd824"
+ "c861f695.384618"
]
]
},
{
- "id": "403c6dba.dcd824",
+ "id": "c861f695.384618",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2644.053508758545,
- "y": 961.6622304916382,
- "z": "902b25ae.7c3098",
+ "x": 2142.7340507507324,
+ "y": 1047.7143087387085,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "86386bfc.aabcf8",
+ "id": "52f79f06.a08b1",
"type": "call",
"name": "call instantiateRANSliceModifyDeallocate",
"xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 2212.339157104492,
- "y": 862.9836950302124,
- "z": "902b25ae.7c3098",
+ "x": 1711.0196990966797,
+ "y": 949.0357732772827,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "6b54182.5b947e8"
+ "4cf931ad.91319"
]
]
},
{
- "id": "6b54182.5b947e8",
+ "id": "4cf931ad.91319",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2490.9105796813965,
- "y": 861.5551490783691,
- "z": "902b25ae.7c3098",
+ "x": 1989.591121673584,
+ "y": 947.6072273254395,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "e63c12cd.7cb5d"
+ "6e71fce1.9048b4"
]
]
},
{
- "id": "e63c12cd.7cb5d",
+ "id": "6e71fce1.9048b4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y' />\n\n",
"comments": "",
- "x": 2659.482021331787,
- "y": 861.2336940765381,
- "z": "902b25ae.7c3098",
+ "x": 2158.1625633239746,
+ "y": 947.2857723236084,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "7ef9313d.612ae",
+ "id": "802d2f45.cbb97",
"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": 1990.3753280639648,
- "y": 420.9479112625122,
- "z": "902b25ae.7c3098",
+ "x": 1489.0558700561523,
+ "y": 506.9999895095825,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "a14e0073.7591f",
+ "id": "37e405b4.395e2a",
"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": 953.3750228881836,
- "y": 1056.9479207992554,
- "z": "902b25ae.7c3098",
+ "x": 452.0555648803711,
+ "y": 1142.9999990463257,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "fef64c42.832fa",
+ "id": "ab24a43a.308598",
"type": "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": 2154.375015258789,
- "y": 599.9479513168335,
- "z": "902b25ae.7c3098",
+ "x": 1653.0555572509766,
+ "y": 686.0000295639038,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "b106e3dd.cbf93",
+ "id": "22cdbf7c.f7d3b",
"type": "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": 2136.374969482422,
- "y": 710.9479532241821,
- "z": "902b25ae.7c3098",
+ "x": 1635.0555114746094,
+ "y": 797.0000314712524,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "507bd43f.c63d0c",
+ "id": "542603bc.4a91fc",
"type": "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": 2130.374969482422,
- "y": 810.9479532241821,
- "z": "902b25ae.7c3098",
+ "x": 1629.0555114746094,
+ "y": 897.0000314712524,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "21feb381.e5eadc",
+ "id": "281ae2be.baaf4e",
"type": "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": 2130.374969482422,
- "y": 911.9479532241821,
- "z": "902b25ae.7c3098",
+ "x": 1629.0555114746094,
+ "y": 998.0000314712524,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "3543fc8a.5803f4",
+ "id": "1037fed9.060b91",
"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": 1569.3753509521484,
- "y": 270.614706993103,
- "z": "902b25ae.7c3098",
+ "x": 1068.055892944336,
+ "y": 356.66678524017334,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "84c8fb21.66b3f8",
- "d9638ed1.f83fa"
+ "696ea6a3.1ddef8",
+ "75abc41a.6f95dc"
]
]
},
{
- "id": "84c8fb21.66b3f8",
+ "id": "696ea6a3.1ddef8",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1788.3753623962402,
- "y": 249.61464405059814,
- "z": "902b25ae.7c3098",
+ "x": 1287.0559043884277,
+ "y": 335.66672229766846,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "7fc3106b.37318"
+ "60315b7.97b57a4"
]
]
},
{
- "id": "d9638ed1.f83fa",
+ "id": "75abc41a.6f95dc",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1747.3752746582031,
- "y": 343.61462593078613,
- "z": "902b25ae.7c3098",
+ "x": 1246.0558166503906,
+ "y": 429.66670417785645,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "93fbc19d.0d395"
+ "a8e66368.9d38f"
]
]
},
{
- "id": "93fbc19d.0d395",
+ "id": "a8e66368.9d38f",
"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": 1968.3750457763672,
- "y": 308.61462593078613,
- "z": "902b25ae.7c3098",
+ "x": 1467.0555877685547,
+ "y": 394.66670417785645,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "1e731d50.90a003"
+ "452fe256.38c78c"
]
]
},
{
- "id": "7fc3106b.37318",
+ "id": "60315b7.97b57a4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2223.375045776367,
- "y": 144.6146411895752,
- "z": "902b25ae.7c3098",
+ "x": 1722.0555877685547,
+ "y": 230.6667194366455,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "c667d854.f89768",
- "bc4e0a69.150ea8"
+ "69923b8f.84a204",
+ "eb24946f.4a1418"
]
]
},
{
- "id": "c667d854.f89768",
+ "id": "69923b8f.84a204",
"type": "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": 2446.3750534057617,
- "y": 103.61464023590088,
- "z": "902b25ae.7c3098",
+ "x": 1945.0555953979492,
+ "y": 189.6667184829712,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "1e731d50.90a003",
+ "id": "452fe256.38c78c",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2130.375045776367,
- "y": 230.61462354660034,
- "z": "902b25ae.7c3098",
+ "x": 1629.0555877685547,
+ "y": 316.66670179367065,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "4509f93a.f59658"
+ "8a6a374e.258778"
]
]
},
{
- "id": "4509f93a.f59658",
+ "id": "8a6a374e.258778",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2237.375373840332,
- "y": 345.61462783813477,
- "z": "902b25ae.7c3098",
+ "x": 1736.0559158325195,
+ "y": 431.6667060852051,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "cd2f192c.de72c8",
- "bc4e0a69.150ea8"
+ "56d45133.ccf3",
+ "eb24946f.4a1418"
]
]
},
{
- "id": "cd2f192c.de72c8",
+ "id": "56d45133.ccf3",
"type": "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": 2294.375373840332,
- "y": 234.61462306976318,
- "z": "902b25ae.7c3098",
+ "x": 1793.0559158325195,
+ "y": 320.6667013168335,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[]
]
},
{
- "id": "bc4e0a69.150ea8",
+ "id": "eb24946f.4a1418",
"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": 2550.3753814697266,
- "y": 256.9479560852051,
- "z": "902b25ae.7c3098",
+ "x": 2049.055923461914,
+ "y": 343.0000343322754,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "1020a2c3.72f18d",
+ "id": "1e555148.2d405f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 970.3750839233398,
- "y": 411.94797134399414,
- "z": "902b25ae.7c3098",
+ "x": 469.05562591552734,
+ "y": 498.00004959106445,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "4be22bcf.cdc874"
+ "8d71a6f0.72c118"
]
]
},
{
- "id": "4be22bcf.cdc874",
+ "id": "8d71a6f0.72c118",
"type": "switchNode",
"name": "switch action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`'>",
"comments": "",
"outputs": 1,
- "x": 1128.3856964111328,
- "y": 464.9583492279053,
- "z": "902b25ae.7c3098",
+ "x": 627.0662384033203,
+ "y": 551.0104274749756,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "79830245.09ca6c",
- "2193584b.8e2978",
- "68bf8236.225b6c",
- "f65ea17e.ee607"
+ "e96f98f4.acde48",
+ "e2e6a4e2.0774d8",
+ "3d31f07e.72eaf",
+ "af4578e1.7541b8"
]
]
},
{
- "id": "79830245.09ca6c",
+ "id": "e96f98f4.acde48",
"type": "outcome",
"name": "reconfigure",
"xml": "<outcome value='reconfigure'>",
"comments": "",
"outputs": 1,
- "x": 1345.4569129943848,
- "y": 324.5258836746216,
- "z": "902b25ae.7c3098",
+ "x": 844.1374549865723,
+ "y": 410.5779619216919,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "1e914a5a.c264a6"
+ "37ccc9.534a2338"
]
]
},
{
- "id": "1e914a5a.c264a6",
+ "id": "37ccc9.534a2338",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1452.196662902832,
- "y": 430.3765687942505,
- "z": "902b25ae.7c3098",
+ "x": 950.8772048950195,
+ "y": 516.4286470413208,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "3543fc8a.5803f4"
+ "1037fed9.060b91"
]
]
},
{
- "id": "572dea61.27f5f4",
+ "id": "731c9b35.165aa4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1641.0416793823242,
- "y": 523.9479312896729,
- "z": "902b25ae.7c3098",
+ "x": 1139.7222213745117,
+ "y": 610.0000095367432,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "5f4a9dbe.e82784",
- "7ef9313d.612ae",
- "62dc21e3.7ba4",
- "3760fa0c.ea30a6",
- "a38369ec.dbae38"
+ "9dd7ad7.69d2b5",
+ "802d2f45.cbb97",
+ "cea48eef.d485d",
+ "88a98036.31d9f"
]
]
},
{
- "id": "53e96e35.57ec1",
+ "id": "e10f5b24.675b48",
"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": 2940.375,
- "y": 264.9479103088379,
- "z": "902b25ae.7c3098",
+ "x": 2439.0555419921875,
+ "y": 350.9999885559082,
+ "z": "cf6cf6b0.bb1328",
"wires": []
},
{
- "id": "2193584b.8e2978",
+ "id": "e2e6a4e2.0774d8",
"type": "outcome",
"name": "allocate",
"xml": "<outcome value='allocate'>",
"comments": "",
"outputs": 1,
- "x": 1407.0417098999023,
- "y": 491.2812671661377,
- "z": "902b25ae.7c3098",
+ "x": 905.7222518920898,
+ "y": 577.333345413208,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "572dea61.27f5f4"
+ "731c9b35.165aa4"
]
]
},
{
- "id": "68bf8236.225b6c",
+ "id": "3d31f07e.72eaf",
"type": "outcome",
"name": "modify-allocate",
"xml": "<outcome value='modify-allocate'>",
"comments": "",
"outputs": 1,
- "x": 1396.7560653686523,
- "y": 536.7813091278076,
- "z": "902b25ae.7c3098",
+ "x": 895.4366073608398,
+ "y": 622.8333873748779,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "572dea61.27f5f4"
+ "731c9b35.165aa4"
]
]
},
{
- "id": "f65ea17e.ee607",
+ "id": "af4578e1.7541b8",
"type": "outcome",
"name": "modify-deallocate",
"xml": "<outcome value='modify-deallocate'>",
"comments": "",
"outputs": 1,
- "x": 1381.1131629943848,
- "y": 601.9241027832031,
- "z": "902b25ae.7c3098",
+ "x": 879.7937049865723,
+ "y": 687.9761810302734,
+ "z": "cf6cf6b0.bb1328",
"wires": [
[
- "572dea61.27f5f4"
+ "731c9b35.165aa4"
]
]
+ },
+ {
+ "id": "88a98036.31d9f",
+ "type": "switchNode",
+ "name": "check PLMNId",
+ "xml": "<switch test='`$tmp.payload.pLMNId`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1382.8055419921875,
+ "y": 590.7499885559082,
+ "z": "cf6cf6b0.bb1328",
+ "wires": [
+ [
+ "271f245d.f4d05c",
+ "531292ed.957f9c"
+ ]
+ ]
+ },
+ {
+ "id": "ac735917.92f0c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1756.5556564331055,
+ "y": 571.7499952316284,
+ "z": "cf6cf6b0.bb1328",
+ "wires": [
+ [
+ "a5c3d67d.ddc678",
+ "1cb6911c.4db33f"
+ ]
+ ]
+ },
+ {
+ "id": "271f245d.f4d05c",
+ "type": "outcome",
+ "name": "not null",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1577.5555419921875,
+ "y": 580.7499885559082,
+ "z": "cf6cf6b0.bb1328",
+ "wires": [
+ [
+ "19f708dc.db11e7"
+ ]
+ ]
+ },
+ {
+ "id": "531292ed.957f9c",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1571.3055419921875,
+ "y": 630.7499885559082,
+ "z": "cf6cf6b0.bb1328",
+ "wires": [
+ [
+ "ac735917.92f0c8"
+ ]
+ ]
+ },
+ {
+ "id": "19f708dc.db11e7",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"It is allocate-modify flow. PLMNId is null\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1710.3055419921875,
+ "y": 515.7499885559082,
+ "z": "cf6cf6b0.bb1328",
+ "wires": [
+ []
+ ]
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceAllocate.json
index 89529cba..b598cd00 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": "2dfc5b0b.ec8224",
+ "id": "9f2c8848.941158",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceAllocate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 489.75,
- "y": 118.75,
- "z": "31bddc6e.92f4e4",
+ "x": 523.0555419921875,
+ "y": 225.00002098083496,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "247328c5.ba9438"
+ "f1a8bdb1.4abd9"
]
]
},
{
- "id": "b6487754.5db3b8",
+ "id": "378a3415.92387c",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 113.74999618530273,
- "y": 23.749972343444824,
- "z": "31bddc6e.92f4e4",
+ "x": 147.05553817749023,
+ "y": 129.99999332427979,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "82838432.ed47a8"
+ "738151b6.dbf21"
]
]
},
{
- "id": "82838432.ed47a8",
+ "id": "738151b6.dbf21",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,6321 +38,6321 @@
"comments": "",
"xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
"outputs": 1,
- "x": 246.74996948242188,
- "y": 120.75005340576172,
- "z": "31bddc6e.92f4e4",
+ "x": 280.0555114746094,
+ "y": 227.00007438659668,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "2dfc5b0b.ec8224"
+ "9f2c8848.941158"
]
]
},
{
- "id": "42a8caed.839ec4",
+ "id": "8e31db94.e70678",
"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": 401.18428897857666,
- "y": 2618.2783002853394,
- "z": "31bddc6e.92f4e4",
+ "x": 434.48983097076416,
+ "y": 2724.5283212661743,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "5b220736.b731c8",
+ "id": "dc521c43.e97f1",
"type": "comment",
"name": "instantiateRANSliceAllocate",
"info": "",
"comments": "",
- "x": 458.75,
- "y": 60.760372161865234,
- "z": "31bddc6e.92f4e4",
+ "x": 492.0555419921875,
+ "y": 167.0103931427002,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "d0e38993.01ada8",
+ "id": "8e4a2db8.c53ca",
"type": "block",
"name": "Get NRT RIC Details",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1742.7500343322754,
- "y": 159.6596794128418,
- "z": "31bddc6e.92f4e4",
+ "x": 1776.055576324463,
+ "y": 265.90970039367676,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "12450733.f75379",
- "e163b647.a94fa8",
- "f6251c0a.11848"
+ "9b0b0392.8b2b8",
+ "e94237f8.1ce468",
+ "20705ea5.523742"
]
]
},
{
- "id": "12450733.f75379",
+ "id": "9b0b0392.8b2b8",
"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": 2103.75,
- "y": 105.65969848632812,
- "z": "31bddc6e.92f4e4",
+ "x": 2137.0555419921875,
+ "y": 211.9097194671631,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "e163b647.a94fa8",
+ "id": "e94237f8.1ce468",
"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": 2100.7501258850098,
- "y": 170.65966892242432,
- "z": "31bddc6e.92f4e4",
+ "x": 2134.0556678771973,
+ "y": 276.9096899032593,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "f6251c0a.11848",
+ "id": "20705ea5.523742",
"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": 2069.7502250671387,
- "y": 248.6597080230713,
- "z": "31bddc6e.92f4e4",
+ "x": 2103.055767059326,
+ "y": 354.90972900390625,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e6ddbbe3.4f56a8",
- "906abd01.93ba9"
+ "2a5ff5c7.b1901a",
+ "791ce4e6.ed784c"
]
]
},
{
- "id": "e6ddbbe3.4f56a8",
+ "id": "2a5ff5c7.b1901a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2300.7500648498535,
- "y": 190.65969944000244,
- "z": "31bddc6e.92f4e4",
+ "x": 2334.055606842041,
+ "y": 296.9097204208374,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "946b85c6.250528"
+ "f7497148.1d4a3"
]
]
},
{
- "id": "906abd01.93ba9",
+ "id": "791ce4e6.ed784c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2297.7500038146973,
- "y": 289.6595878601074,
- "z": "31bddc6e.92f4e4",
+ "x": 2331.0555458068848,
+ "y": 395.9096088409424,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "716258eb.5561b8"
+ "482e118d.af585"
]
]
},
{
- "id": "946b85c6.250528",
+ "id": "f7497148.1d4a3",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2505.7501068115234,
- "y": 139.65974044799805,
- "z": "31bddc6e.92f4e4",
+ "x": 2539.055648803711,
+ "y": 245.909761428833,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "67bb1305.fdbe4c",
- "9605c336.f4132",
- "66a87a6d.5e0334"
+ "ca91aeec.22916",
+ "9147804f.28151",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "716258eb.5561b8",
+ "id": "482e118d.af585",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2446.749849319458,
- "y": 282.65972232818604,
- "z": "31bddc6e.92f4e4",
+ "x": 2480.0553913116455,
+ "y": 388.909743309021,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "6afbdaf8.da38e4",
- "83f76cfe.8e1f6"
+ "7c8adbfc.edc104",
+ "8d754ac1.e35a18"
]
]
},
{
- "id": "67bb1305.fdbe4c",
+ "id": "ca91aeec.22916",
"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": 2520.749740600586,
- "y": 225.6597056388855,
- "z": "31bddc6e.92f4e4",
+ "x": 2554.0552825927734,
+ "y": 331.90972661972046,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "6afbdaf8.da38e4",
+ "id": "7c8adbfc.edc104",
"type": "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": 2576.7496643066406,
- "y": 282.65970611572266,
- "z": "31bddc6e.92f4e4",
+ "x": 2610.055206298828,
+ "y": 388.9097270965576,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "9605c336.f4132",
+ "id": "9147804f.28151",
"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": 2619.7498054504395,
- "y": 64.77078056335449,
- "z": "31bddc6e.92f4e4",
+ "x": 2653.055347442627,
+ "y": 171.02080154418945,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "83f76cfe.8e1f6",
+ "id": "8d754ac1.e35a18",
"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": 2564.527889251709,
- "y": 336.6597194671631,
- "z": "31bddc6e.92f4e4",
+ "x": 2597.8334312438965,
+ "y": 442.90974044799805,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "f9edcbd8.44efc8",
+ "id": "a97a496a.e7a168",
"type": "for",
"name": "For ConfigDB Entries",
"xml": "<for index='id1' start='0' end=\"`$getRIC-configdb-response._length`\" >",
"comments": "",
"outputs": 1,
- "x": 1255.750087738037,
- "y": 1979.7606143951416,
- "z": "31bddc6e.92f4e4",
+ "x": 1289.0556297302246,
+ "y": 2086.0106353759766,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "bff1438c.17c1f",
- "93aa602f.23bb3",
- "72ee2e5d.d63f8",
- "ed7bb90c.416bf8",
- "e38fa06c.cfb8e",
- "9b04b4b9.e26cc8",
- "2cddbb62.24c094",
- "1e215b54.d1fd75"
+ "804cd349.0738c",
+ "f69f8374.0a2af",
+ "f51ea9d3.27a0c8",
+ "48f4b45b.ca20dc",
+ "14cb63b.82fd69c",
+ "1f9c65b6.02cd8a",
+ "5246f2ec.b0b8ec",
+ "2997ccc9.716304"
]
]
},
{
- "id": "bff1438c.17c1f",
+ "id": "804cd349.0738c",
"type": "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": 1629.7502212524414,
- "y": 769.7605800628662,
- "z": "31bddc6e.92f4e4",
+ "x": 1663.055763244629,
+ "y": 876.0106010437012,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "247328c5.ba9438",
+ "id": "f1a8bdb1.4abd9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 124.74996948242188,
- "y": 240.7603759765625,
- "z": "31bddc6e.92f4e4",
+ "x": 158.05551147460938,
+ "y": 347.01039695739746,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "d0e38993.01ada8",
- "a082b876.60bb28"
+ "8e4a2db8.c53ca",
+ "bd377d99.e91fd"
]
]
},
{
- "id": "a082b876.60bb28",
+ "id": "bd377d99.e91fd",
"type": "block",
"name": "Instantiate RAN Slice",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1253.7499198913574,
- "y": 531.760410785675,
- "z": "31bddc6e.92f4e4",
+ "x": 1287.055461883545,
+ "y": 638.01043176651,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "f9edcbd8.44efc8",
- "4c0c2de1.b5cae4",
- "fca4410e.81eec",
- "42a8caed.839ec4",
- "fcfa141f.a66e98",
- "747fc783.b27538"
+ "a97a496a.e7a168",
+ "adc8ef28.065cf",
+ "eedce730.f46188",
+ "8e31db94.e70678",
+ "afcd8575.ce5a88",
+ "946e6c1f.7bb9d"
]
]
},
{
- "id": "93aa602f.23bb3",
+ "id": "f69f8374.0a2af",
"type": "block",
"name": "DU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1831.7500305175781,
- "y": 5722.760569810867,
- "z": "31bddc6e.92f4e4",
+ "x": 1865.0555725097656,
+ "y": 5829.010590791702,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "a76664db.00f1a8",
- "ada2f18d.00ff4",
- "71d566f6.b21868",
- "e8650d98.8b48d"
+ "3a8d0109.3fbb5e",
+ "266ef43f.df385c",
+ "62633efd.9f282",
+ "906b2b3e.9bfdc8"
]
]
},
{
- "id": "dc885bdf.64ac08",
+ "id": "3a7d24e4.71829c",
"type": "block",
"name": "Add RRM Policy Ratio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3494.750419616699,
- "y": 7031.760437011719,
- "z": "31bddc6e.92f4e4",
+ "x": 3528.0559616088867,
+ "y": 7138.010457992554,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b5fc10ca.8202",
- "77a647be.bbc0d8",
- "3b33540e.f9db0c",
- "2ffed6c7.a7c78a",
- "e3302aed.994658",
- "7a67cf55.9d9bc",
- "6e5bd7f0.460b38"
+ "6bfb6307.61516c",
+ "6346c86c.4248e8",
+ "f4770749.1fca58",
+ "fbdb62d9.d9f15",
+ "652fe306.4ff5ec",
+ "48164215.075dfc",
+ "5ac0fba4.e05764"
]
]
},
{
- "id": "5f986a22.155474",
+ "id": "119285bb.cef61a",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3539.750747680664,
- "y": 6359.760740280151,
- "z": "31bddc6e.92f4e4",
+ "x": 3573.0562896728516,
+ "y": 6466.010761260986,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c65491f.de0da7",
- "6790dc69.741c74"
+ "a132b516.18d0b8",
+ "98de8e51.64ee7"
]
]
},
{
- "id": "c65491f.de0da7",
+ "id": "a132b516.18d0b8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3782.750831604004,
- "y": 6363.7607421875,
- "z": "31bddc6e.92f4e4",
+ "x": 3816.0563735961914,
+ "y": 6470.010763168335,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8ec5f289.8ed37"
+ "beda408d.16308"
]
]
},
{
- "id": "6790dc69.741c74",
+ "id": "98de8e51.64ee7",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3767.750831604004,
- "y": 6437.760744094849,
- "z": "31bddc6e.92f4e4",
+ "x": 3801.0563735961914,
+ "y": 6544.010765075684,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8acae8dd.cd5fc8"
+ "8f8b0e94.d7205"
]
]
},
{
- "id": "ada2f18d.00ff4",
+ "id": "266ef43f.df385c",
"type": "for",
"name": "For DUList Entries",
"xml": "<for index='id2' start='0' end='`$tmp.DUListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 1931.7504119873047,
- "y": 6036.760564804077,
- "z": "31bddc6e.92f4e4",
+ "x": 1965.0559539794922,
+ "y": 6143.010585784912,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "17adcc01.db14f4"
+ "43cf6d42.9d8564"
]
]
},
{
- "id": "a76664db.00f1a8",
+ "id": "3a8d0109.3fbb5e",
"type": "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": 2124.750587463379,
- "y": 5418.761351585388,
- "z": "31bddc6e.92f4e4",
+ "x": 2158.0561294555664,
+ "y": 5525.011372566223,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "71d566f6.b21868",
+ "id": "62633efd.9f282",
"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": 2126.750343322754,
- "y": 5352.762328147888,
- "z": "31bddc6e.92f4e4",
+ "x": 2160.0558853149414,
+ "y": 5459.012349128723,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "57adc502.e5ab0c",
+ "id": "e686b37c.eabb1",
"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": 3904.7497787475586,
- "y": 5857.760674238205,
- "z": "31bddc6e.92f4e4",
+ "x": 3938.055320739746,
+ "y": 5964.01069521904,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ed592596.55d168",
+ "id": "ad3e4e54.09c4e",
"type": "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": 3502.7500953674316,
- "y": 5973.760564804077,
- "z": "31bddc6e.92f4e4",
+ "x": 3536.055637359619,
+ "y": 6080.010585784912,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "37bd151b.5b947a",
+ "id": "759bc67c.d0a178",
"type": "block",
"name": "cellDUList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3527.7500915527344,
- "y": 5912.760563850403,
- "z": "31bddc6e.92f4e4",
+ "x": 3561.055633544922,
+ "y": 6019.010584831238,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "57adc502.e5ab0c",
- "d2f8fe10.664ec",
- "c7502a44.641788",
- "c1fd27a8.e9f508",
- "16f04221.a3a90e",
- "4c3c3137.16424",
- "8518254b.e757f8"
+ "e686b37c.eabb1",
+ "1d7d9b8c.938234",
+ "c5d41b5a.9f1198",
+ "24da8ff9.c1ec",
+ "5a952f77.dd018",
+ "8ab9fdea.620aa",
+ "4bea8684.d6eb98"
]
]
},
{
- "id": "d2f8fe10.664ec",
+ "id": "1d7d9b8c.938234",
"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": 3933.7499198913574,
- "y": 5895.760392189026,
- "z": "31bddc6e.92f4e4",
+ "x": 3967.055461883545,
+ "y": 6002.010413169861,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c7502a44.641788",
+ "id": "c5d41b5a.9f1198",
"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": 3932.7499351501465,
- "y": 5934.7603940963745,
- "z": "31bddc6e.92f4e4",
+ "x": 3966.055477142334,
+ "y": 6041.0104150772095,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c1fd27a8.e9f508",
+ "id": "24da8ff9.c1ec",
"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": 3912.7499084472656,
- "y": 5972.760409355164,
- "z": "31bddc6e.92f4e4",
+ "x": 3946.055450439453,
+ "y": 6079.0104303359985,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "16f04221.a3a90e",
+ "id": "5a952f77.dd018",
"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": 3927.74991607666,
- "y": 6020.760138511658,
- "z": "31bddc6e.92f4e4",
+ "x": 3961.0554580688477,
+ "y": 6127.010159492493,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "4c3c3137.16424",
+ "id": "8ab9fdea.620aa",
"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": 3898.7499961853027,
- "y": 6097.7604694366455,
- "z": "31bddc6e.92f4e4",
+ "x": 3932.0555381774902,
+ "y": 6204.0104904174805,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "cc88732c.bbd22",
+ "id": "98fa4692.14fe28",
"type": "for",
"name": "For List of Cells",
"xml": "<for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 2355.7410430908203,
- "y": 6009.760675907135,
- "z": "31bddc6e.92f4e4",
+ "x": 2389.046585083008,
+ "y": 6116.01069688797,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "97772f2.bb417d"
+ "cf3ce850.7dfe18"
]
]
},
{
- "id": "cba44296.54dd8",
+ "id": "86313b29.5ee168",
"type": "block",
"name": "pLMNInfoList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3674.7399520874023,
- "y": 6132.7607979774475,
- "z": "31bddc6e.92f4e4",
+ "x": 3708.04549407959,
+ "y": 6239.0108189582825,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "3f365070.f58e8",
- "a37d1e6b.14457"
+ "cb239fac.06b7",
+ "abd706df.6313c8"
]
]
},
{
- "id": "3f365070.f58e8",
+ "id": "cb239fac.06b7",
"type": "execute",
"name": "pLMNInfoListEntries",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 3995.7396087646484,
- "y": 6158.760405957699,
- "z": "31bddc6e.92f4e4",
+ "x": 4029.045150756836,
+ "y": 6265.010426938534,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "fb95281e.12ec48",
+ "id": "bca09be3.a79318",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Numberof pLMNInfoList Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoListEntries`\"/>\n<parameter name=\"field3\" value=\"cellLocalId for TA \"/>\n<parameter name=\"field4\" value=\"`$tmp.cellLocalId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3685.7399520874023,
- "y": 6184.761163711548,
- "z": "31bddc6e.92f4e4",
+ "x": 3719.04549407959,
+ "y": 6291.011184692383,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "7ec9d87.9722628",
+ "id": "9c4d71d8.004f7",
"type": "for",
"name": "For pLMNInfoListEntries",
"xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3743.740089416504,
- "y": 6306.7613887786865,
- "z": "31bddc6e.92f4e4",
+ "x": 3777.0456314086914,
+ "y": 6413.0114097595215,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "aa2f36ed.2e3728"
+ "2425af81.f447a"
]
]
},
{
- "id": "dbaff64f.d0cbd8",
+ "id": "78e49ab0.99dd04",
"type": "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": 3454.739677429199,
- "y": 6031.760566711426,
- "z": "31bddc6e.92f4e4",
+ "x": 3488.0452194213867,
+ "y": 6138.010587692261,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "aa2f36ed.2e3728",
+ "id": "2425af81.f447a",
"type": "block",
"name": "pLMNInfoList Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3984.739776611328,
- "y": 6300.7613887786865,
- "z": "31bddc6e.92f4e4",
+ "x": 4018.0453186035156,
+ "y": 6407.0114097595215,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "67a2822c.dd523c",
- "e4c89a77.ec2d78"
+ "25e92ef3.2a8222",
+ "314eb873.c256d8"
]
]
},
{
- "id": "67a2822c.dd523c",
+ "id": "25e92ef3.2a8222",
"type": "execute",
"name": "sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].pLMNInfoList[' + $id4 + '].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 4147.739532470703,
- "y": 6244.760736942291,
- "z": "31bddc6e.92f4e4",
+ "x": 4181.045074462891,
+ "y": 6351.010757923126,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "b8820cea.673bd",
+ "id": "2dde4058.f7a54",
"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": 3785.7399520874023,
- "y": 6258.761163711548,
- "z": "31bddc6e.92f4e4",
+ "x": 3819.04549407959,
+ "y": 6365.011184692383,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "e4c89a77.ec2d78",
+ "id": "314eb873.c256d8",
"type": "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": 4168.7395362854,
- "y": 6322.760740280151,
- "z": "31bddc6e.92f4e4",
+ "x": 4202.045078277588,
+ "y": 6429.010761260986,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "72ee2e5d.d63f8",
+ "id": "f51ea9d3.27a0c8",
"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": 1596.7396926879883,
- "y": 591.7605495452881,
- "z": "31bddc6e.92f4e4",
+ "x": 1630.0452346801758,
+ "y": 698.010570526123,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "a37d1e6b.14457",
+ "id": "abd706df.6313c8",
"type": "execute",
"name": "cellLocalId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3972.739776611328,
- "y": 6222.760570526123,
- "z": "31bddc6e.92f4e4",
+ "x": 4006.0453186035156,
+ "y": 6329.010591506958,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "4447b92c.657c38",
+ "id": "3de2dac7.18d226",
"type": "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": 3922.75150680542,
- "y": 6807.094183921814,
- "z": "31bddc6e.92f4e4",
+ "x": 3956.0570487976074,
+ "y": 6913.344204902649,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "e6e49003.d5a5",
+ "id": "d6bfe081.3e2f3",
"type": "block",
"name": "Add PLMNInfoList Entry",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3510.7507400512695,
- "y": 6466.104493141174,
- "z": "31bddc6e.92f4e4",
+ "x": 3544.056282043457,
+ "y": 6572.354514122009,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "4447b92c.657c38",
- "d32c8459.8c3d48",
- "b33cdfdd.f7d2d",
- "383555c0.d4271a",
- "fc362fb4.96ccf",
- "8f5f2097.29129",
- "5f986a22.155474",
- "1967df78.6fe681",
- "74e612c5.e7937c",
- "2a14e7a6.3d9048"
+ "3de2dac7.18d226",
+ "f857505c.260cf",
+ "de92297.ba392d8",
+ "62046ba3.0c9bd4",
+ "6d454405.e3306c",
+ "a0b6ed60.4ed39",
+ "119285bb.cef61a",
+ "e7e9d8.74642628",
+ "8d944f2b.db7d2",
+ "66f14c1e.e327f4"
]
]
},
{
- "id": "1967df78.6fe681",
+ "id": "e7e9d8.74642628",
"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": 4002.750831604004,
- "y": 6886.10450553894,
- "z": "31bddc6e.92f4e4",
+ "x": 4036.0563735961914,
+ "y": 6992.354526519775,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "28f306b8.0b6cfa",
- "ec256297.26097"
+ "7d698f61.b7184",
+ "58848b0b.5e8af4"
]
]
},
{
- "id": "d32c8459.8c3d48",
+ "id": "f857505c.260cf",
"type": "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": 3920.750955581665,
- "y": 6770.104926109314,
- "z": "31bddc6e.92f4e4",
+ "x": 3954.0564975738525,
+ "y": 6876.354947090149,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "8ec5f289.8ed37",
+ "id": "beda408d.16308",
"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": 4053.7508392333984,
- "y": 6365.760741710663,
- "z": "31bddc6e.92f4e4",
+ "x": 4087.056381225586,
+ "y": 6472.010762691498,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "b33cdfdd.f7d2d",
+ "id": "de92297.ba392d8",
"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": 3889.7404251098633,
- "y": 6522.76074552536,
- "z": "31bddc6e.92f4e4",
+ "x": 3923.045967102051,
+ "y": 6629.010766506195,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "383555c0.d4271a",
+ "id": "62046ba3.0c9bd4",
"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": 3898.7404251098633,
- "y": 6571.760746955872,
- "z": "31bddc6e.92f4e4",
+ "x": 3932.045967102051,
+ "y": 6678.0107679367065,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "fc362fb4.96ccf",
+ "id": "6d454405.e3306c",
"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": 3899.7404251098633,
- "y": 6621.760747909546,
- "z": "31bddc6e.92f4e4",
+ "x": 3933.045967102051,
+ "y": 6728.010768890381,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "8f5f2097.29129",
+ "id": "a0b6ed60.4ed39",
"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": 3901.740520477295,
- "y": 6664.760687828064,
- "z": "31bddc6e.92f4e4",
+ "x": 3935.0460624694824,
+ "y": 6771.010708808899,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "28f306b8.0b6cfa",
+ "id": "7d698f61.b7184",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4300.75057220459,
- "y": 6823.09376335144,
- "z": "31bddc6e.92f4e4",
+ "x": 4334.056114196777,
+ "y": 6929.343784332275,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "64511141.a9dd5"
+ "fd6f3c73.00625"
]
]
},
{
- "id": "ec256297.26097",
+ "id": "58848b0b.5e8af4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4339.750686645508,
- "y": 6907.093773603439,
- "z": "31bddc6e.92f4e4",
+ "x": 4373.056228637695,
+ "y": 7013.343794584274,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e947e8c2.7e7678"
+ "523db08.625b55"
]
]
},
{
- "id": "64511141.a9dd5",
+ "id": "fd6f3c73.00625",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4562.750469207764,
- "y": 6708.093845129013,
- "z": "31bddc6e.92f4e4",
+ "x": 4596.056011199951,
+ "y": 6814.343866109848,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "d7d646b5.aa1cb8",
- "66a87a6d.5e0334"
+ "1beb23c8.3385fc",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "e947e8c2.7e7678",
+ "id": "523db08.625b55",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4521.750198364258,
- "y": 6862.093773603439,
- "z": "31bddc6e.92f4e4",
+ "x": 4555.055740356445,
+ "y": 6968.343794584274,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "d18e1dde.6dcb8"
+ "2396bc7b.9900f4"
]
]
},
{
- "id": "d7d646b5.aa1cb8",
+ "id": "1beb23c8.3385fc",
"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": 4727.750469207764,
- "y": 6791.094333410263,
- "z": "31bddc6e.92f4e4",
+ "x": 4761.056011199951,
+ "y": 6897.344354391098,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "d18e1dde.6dcb8",
+ "id": "2396bc7b.9900f4",
"type": "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": 4688.750198364258,
- "y": 6873.094261884689,
- "z": "31bddc6e.92f4e4",
+ "x": 4722.055740356445,
+ "y": 6979.344282865524,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "35e89268.2bab8e",
+ "id": "e62e85bc.bfddd8",
"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": 4214.740188598633,
- "y": 6424.760743141174,
- "z": "31bddc6e.92f4e4",
+ "x": 4248.04573059082,
+ "y": 6531.010764122009,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "8acae8dd.cd5fc8",
+ "id": "8f8b0e94.d7205",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3931.7400970458984,
- "y": 6426.7607436180115,
- "z": "31bddc6e.92f4e4",
+ "x": 3965.045639038086,
+ "y": 6533.010764598846,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "35e89268.2bab8e",
- "2242253b.9dbe3a"
+ "e62e85bc.bfddd8",
+ "93f9fbf5.248e58"
]
]
},
{
- "id": "2242253b.9dbe3a",
+ "id": "93f9fbf5.248e58",
"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": 4178.740188598633,
- "y": 6481.760744094849,
- "z": "31bddc6e.92f4e4",
+ "x": 4212.04573059082,
+ "y": 6588.010765075684,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "f2a5a2b4.67d09",
+ "id": "7b644ace.b1ff14",
"type": "comment",
"name": "Connect to AddPLMNInfoList Entry",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3941.7400970458984,
- "y": 6846.094086647034,
- "z": "31bddc6e.92f4e4",
+ "x": 3975.045639038086,
+ "y": 6952.344107627869,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "b5fc10ca.8202",
+ "id": "6bfb6307.61516c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3793.7398376464844,
- "y": 6995.427278518677,
- "z": "31bddc6e.92f4e4",
+ "x": 3827.045379638672,
+ "y": 7101.677299499512,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "452f2805.a844c8",
- "95c48eca.99d86"
+ "b07a3d42.19bf7",
+ "f24be453.a36408"
]
]
},
{
- "id": "452f2805.a844c8",
+ "id": "b07a3d42.19bf7",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3988.7398643493652,
- "y": 6955.427186012268,
- "z": "31bddc6e.92f4e4",
+ "x": 4022.0454063415527,
+ "y": 7061.677206993103,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "4b8f8a8f.60d4d4"
+ "33bbc7f3.ba4778"
]
]
},
{
- "id": "95c48eca.99d86",
+ "id": "f24be453.a36408",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3968.7398376464844,
- "y": 7034.427277565002,
- "z": "31bddc6e.92f4e4",
+ "x": 4002.045379638672,
+ "y": 7140.677298545837,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "7177df25.583b7"
+ "361c17ce.abf778"
]
]
},
{
- "id": "7a67cf55.9d9bc",
+ "id": "48164215.075dfc",
"type": "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": 3945.740940093994,
- "y": 7306.761425971985,
- "z": "31bddc6e.92f4e4",
+ "x": 3979.0464820861816,
+ "y": 7413.01144695282,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "efe99400.a55b08",
+ "id": "afe3402b.cd936",
"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": 4005.739906311035,
- "y": 7545.770859479904,
- "z": "31bddc6e.92f4e4",
+ "x": 4039.0454483032227,
+ "y": 7652.020880460739,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "62e033be.60e86c"
+ "8ef6803f.74829"
]
]
},
{
- "id": "e3302aed.994658",
+ "id": "652fe306.4ff5ec",
"type": "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": 3937.739963531494,
- "y": 7265.771679878235,
- "z": "31bddc6e.92f4e4",
+ "x": 3971.0455055236816,
+ "y": 7372.02170085907,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "4b8f8a8f.60d4d4",
+ "id": "33bbc7f3.ba4778",
"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": 4274.73983001709,
- "y": 6953.42725944519,
- "z": "31bddc6e.92f4e4",
+ "x": 4308.045372009277,
+ "y": 7059.677280426025,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "77a647be.bbc0d8",
+ "id": "6346c86c.4248e8",
"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": 3966.7296142578125,
- "y": 7088.427263259888,
- "z": "31bddc6e.92f4e4",
+ "x": 4000.03515625,
+ "y": 7194.677284240723,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "3b33540e.f9db0c",
+ "id": "f4770749.1fca58",
"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": 3959.7296142578125,
- "y": 7142.427265167236,
- "z": "31bddc6e.92f4e4",
+ "x": 3993.03515625,
+ "y": 7248.677286148071,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "2ffed6c7.a7c78a",
+ "id": "fbdb62d9.d9f15",
"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": 3938.7296142578125,
- "y": 7179.427267074585,
- "z": "31bddc6e.92f4e4",
+ "x": 3972.03515625,
+ "y": 7285.67728805542,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "93ff5f0e.d1aff",
+ "id": "6aac16ca.963d48",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4341.739715576172,
- "y": 7292.760603904724,
- "z": "31bddc6e.92f4e4",
+ "x": 4375.045257568359,
+ "y": 7399.010624885559,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b76aa88d.340ea8"
+ "fc378230.de961"
]
]
},
{
- "id": "62e033be.60e86c",
+ "id": "8ef6803f.74829",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4342.739784240723,
- "y": 7571.760361433029,
- "z": "31bddc6e.92f4e4",
+ "x": 4376.04532623291,
+ "y": 7678.010382413864,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "fc528a53.b4a488"
+ "d3ad0543.04cf18"
]
]
},
{
- "id": "b76aa88d.340ea8",
+ "id": "fc378230.de961",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4711.73974609375,
- "y": 7240.760223388672,
- "z": "31bddc6e.92f4e4",
+ "x": 4745.0452880859375,
+ "y": 7347.010244369507,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "48958e08.127d6",
- "66a87a6d.5e0334"
+ "2692ca12.ea2266",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "fc528a53.b4a488",
+ "id": "d3ad0543.04cf18",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4522.739540100098,
- "y": 7568.760361433029,
- "z": "31bddc6e.92f4e4",
+ "x": 4556.045082092285,
+ "y": 7675.010382413864,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "92a6544d.2f6e78"
+ "2406b9a3.4e1206"
]
]
},
{
- "id": "48958e08.127d6",
+ "id": "2692ca12.ea2266",
"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": 4833.73974609375,
- "y": 7295.760711669922,
- "z": "31bddc6e.92f4e4",
+ "x": 4867.0452880859375,
+ "y": 7402.010732650757,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "92a6544d.2f6e78",
+ "id": "2406b9a3.4e1206",
"type": "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": 4671.739841461182,
- "y": 7594.760554075241,
- "z": "31bddc6e.92f4e4",
+ "x": 4705.045383453369,
+ "y": 7701.010575056076,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "71b52357.9b731c",
+ "id": "f4ebcfed.0a8e6",
"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": 4466.729545593262,
- "y": 7001.427569389343,
- "z": "31bddc6e.92f4e4",
+ "x": 4500.035087585449,
+ "y": 7107.677590370178,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "7177df25.583b7",
+ "id": "361c17ce.abf778",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4161.729488372803,
- "y": 7029.427277565002,
- "z": "31bddc6e.92f4e4",
+ "x": 4195.03503036499,
+ "y": 7135.677298545837,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "71b52357.9b731c",
- "ec97c9d8.bdd3d8"
+ "f4ebcfed.0a8e6",
+ "96eddaa8.9dda18"
]
]
},
{
- "id": "ec97c9d8.bdd3d8",
+ "id": "96eddaa8.9dda18",
"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": 4403.729522705078,
- "y": 7063.427216529846,
- "z": "31bddc6e.92f4e4",
+ "x": 4437.035064697266,
+ "y": 7169.677237510681,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c8cb00aa.8de63",
+ "id": "9990c273.292dd",
"type": "comment",
"name": "Connect to RRM P{olicy Ratio",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 4002.729953765869,
- "y": 7339.76118183136,
- "z": "31bddc6e.92f4e4",
+ "x": 4036.0354957580566,
+ "y": 7446.011202812195,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "e8650d98.8b48d",
+ "id": "906b2b3e.9bfdc8",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2169.7502822875977,
- "y": 5548.4393310546875,
- "z": "31bddc6e.92f4e4",
+ "x": 2203.055824279785,
+ "y": 5654.6893520355225,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "30be453f.79612a",
- "6b8f92e1.d3e39c",
- "a7e55b88.9f3938",
- "9c9d24ce.6b8158",
- "8ba8984c.7273f8",
- "30a32a4f.fc97b6",
- "e75abab8.bb4fa8",
- "89a393da.6bdb3",
- "9aa5fe1e.3ade1",
- "40e27ea8.8753",
- "aab698e2.383438"
+ "56fa84ae.1bb8fc",
+ "2a1f5ef8.61f292",
+ "1be107b7.bce408",
+ "38b7246b.48c55c",
+ "3f12b751.bbbcb8",
+ "1235262c.0f386a",
+ "92d34980.56c9d8",
+ "d44c7ea9.8056d",
+ "e2376f49.6ec05",
+ "36523401.1c2b8c",
+ "6ea5ef76.13161"
]
]
},
{
- "id": "8518254b.e757f8",
+ "id": "4bea8684.d6eb98",
"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": 3901.749969482422,
- "y": 6056.76038646698,
- "z": "31bddc6e.92f4e4",
+ "x": 3935.0555114746094,
+ "y": 6163.010407447815,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "f439a732.953948",
+ "id": "33c455d1.57671a",
"type": "set",
"name": "set rrmPolicyDedicatedRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='10' />",
"comments": "",
- "x": 3888.75,
- "y": 5761.881805419922,
- "z": "31bddc6e.92f4e4",
+ "x": 3922.0555419921875,
+ "y": 5868.131826400757,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "5bd2ba56.8a2e44",
+ "id": "33878898.1f4828",
"type": "set",
"name": "set rrmPolicyDedicatedRatio",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='20' />",
"comments": "",
- "x": 3881.7499237060547,
- "y": 5808.881772041321,
- "z": "31bddc6e.92f4e4",
+ "x": 3915.055465698242,
+ "y": 5915.131793022156,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "30be453f.79612a",
+ "id": "56fa84ae.1bb8fc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"tmp.nearRTRIC.trafficCapacity1 \"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.trafficCapacity1`\"/>\n<parameter name=\"field5\" value=\"tmp.nearRTRIC.trafficCapacity \"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.trafficCapacity`\"/>\n<parameter name=\"field7\" value=\"tmp.nearRTRIC.trafficCapacityBPS\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.trafficCapacityBPS`\"/>\n<parameter name=\"field9\" value=\"tmp.nrcelldu.totalPRBForSNSSAI \"/>\n<parameter name=\"field10\" value=\"`$tmp.nrcelldu.totalPRBForSNSSAI`\"/>\n<parameter name=\"field11\" value=\"tmp.nrcelldu.PRBPerImpactedCell \"/>\n<parameter name=\"field12\" value=\"`$tmp.nrcelldu.PRBPerImpactedCell`\"/>\n<parameter name=\"field13\" value=\"tmp.rRMPolicyDedicatedRatio.CellDU1 \"/>\n<parameter name=\"field14\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU1`\"/>",
"comments": "",
"outputs": 1,
- "x": 2302.750099182129,
- "y": 5856.882933616638,
- "z": "31bddc6e.92f4e4",
+ "x": 2336.0556411743164,
+ "y": 5963.132954597473,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ed7bb90c.416bf8",
+ "id": "48f4b45b.ca20dc",
"type": "block",
"name": "CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1610.739501953125,
- "y": 1952.0938415527344,
- "z": "31bddc6e.92f4e4",
+ "x": 1644.0450439453125,
+ "y": 2058.3438625335693,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "f52401df.36618",
- "12d52c68.25f2d4",
- "187667ff.f5fc98",
- "e5be1f67.3e688"
+ "1b82612b.c6f9ff",
+ "a8e7b986.8215a8",
+ "710ecb85.658664",
+ "d873f56a.9437a8"
]
]
},
{
- "id": "693ce36a.89a61c",
+ "id": "44aa82b6.04d01c",
"type": "block",
"name": "Add RRM Policy Ratio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3082.7396812438965,
- "y": 3051.093873023987,
- "z": "31bddc6e.92f4e4",
+ "x": 3116.045223236084,
+ "y": 3157.343894004822,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "dc4d84e2.862bd8",
- "6847be11.b65c6",
- "216e0f62.007e2",
- "da838b27.79ba08",
- "9971d3d2.6c8c9",
- "d4571a85.3f3498",
- "a4240e73.e3e13",
- "c203b93f.b77d58"
+ "841120db.a414c",
+ "5faf1669.7c78d8",
+ "ffe68efb.6363e",
+ "7f374dbf.7dd314",
+ "b6394cd1.ba808",
+ "fd77e0c6.85fc6",
+ "23f69fb5.8200b",
+ "46875c25.62c1e4"
]
]
},
{
- "id": "30d11169.fb414e",
+ "id": "8c266301.64814",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3095.7396812438965,
- "y": 2313.0941772460938,
- "z": "31bddc6e.92f4e4",
+ "x": 3129.045223236084,
+ "y": 2419.3441982269287,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "292dbae2.579a76",
- "864e224.2825ce"
+ "4de6530b.87c75c",
+ "2614a1d0.83cdbe"
]
]
},
{
- "id": "292dbae2.579a76",
+ "id": "4de6530b.87c75c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3285.73966217041,
- "y": 2283.093960762024,
- "z": "31bddc6e.92f4e4",
+ "x": 3319.0452041625977,
+ "y": 2389.343981742859,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "ef0b16.078054e8"
+ "279ed15.2ad372e"
]
]
},
{
- "id": "864e224.2825ce",
+ "id": "2614a1d0.83cdbe",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3265.7396354675293,
- "y": 2362.0940523147583,
- "z": "31bddc6e.92f4e4",
+ "x": 3299.045177459717,
+ "y": 2468.3440732955933,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "53151d68.0cce74"
+ "9eb2d4d8.cf7e78"
]
]
},
{
- "id": "12d52c68.25f2d4",
+ "id": "a8e7b986.8215a8",
"type": "for",
"name": "For CUCPList Entries",
"xml": "<for index='id2' start='0' end='`$tmp.CUCPListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 1880.7394943237305,
- "y": 1947.0939636230469,
- "z": "31bddc6e.92f4e4",
+ "x": 1914.045036315918,
+ "y": 2053.343984603882,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "7435cbfc.002264",
- "b09f02aa.f65fa",
- "be036a9c.3b40a8",
- "b0770eda.4ce2f",
- "caa7ac88.f72a6"
+ "9ca80828.7a69b8",
+ "5543c661.38a3c8",
+ "43bfca68.bb3454",
+ "5d5e00ae.0cb88",
+ "682dfdf2.a09a94"
]
]
},
{
- "id": "f52401df.36618",
+ "id": "1b82612b.c6f9ff",
"type": "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": 1795.7396278381348,
- "y": 1855.0940990447998,
- "z": "31bddc6e.92f4e4",
+ "x": 1829.0451698303223,
+ "y": 1961.3441200256348,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "187667ff.f5fc98",
+ "id": "710ecb85.658664",
"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": 1750.7396240234375,
- "y": 1817.0936107635498,
- "z": "31bddc6e.92f4e4",
+ "x": 1784.045166015625,
+ "y": 1923.3436317443848,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "91f9c4f9.c5af18",
+ "id": "f9ad0f26.49749",
"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": 2560.7392807006836,
- "y": 1665.0942194461823,
- "z": "31bddc6e.92f4e4",
+ "x": 2594.044822692871,
+ "y": 1771.3442404270172,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "7435cbfc.002264",
+ "id": "9ca80828.7a69b8",
"type": "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": 2158.739767074585,
- "y": 1871.0940828323364,
- "z": "31bddc6e.92f4e4",
+ "x": 2192.0453090667725,
+ "y": 1977.3441038131714,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "b09f02aa.f65fa",
+ "id": "5543c661.38a3c8",
"type": "block",
"name": "cellCUCPList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2227.739501953125,
- "y": 1768.0939025878906,
- "z": "31bddc6e.92f4e4",
+ "x": 2261.0450439453125,
+ "y": 1874.3439235687256,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "91f9c4f9.c5af18",
- "c8c59219.15acd",
- "9d4b73ca.86735",
- "82b9cfae.eb4f6",
- "71467edd.f8544",
- "7ac6372d.01c678"
+ "f9ad0f26.49749",
+ "6f26c34e.2bacfc",
+ "91b35b58.1ad348",
+ "3fa17b83.299864",
+ "4fe1f3c4.97262c",
+ "6787dd46.a4cdd4"
]
]
},
{
- "id": "c8c59219.15acd",
+ "id": "6f26c34e.2bacfc",
"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": 2589.7393188476562,
- "y": 1708.0938425064087,
- "z": "31bddc6e.92f4e4",
+ "x": 2623.0448608398438,
+ "y": 1814.3438634872437,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "9d4b73ca.86735",
+ "id": "91b35b58.1ad348",
"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": 2604.7396202087402,
- "y": 1757.0939645767212,
- "z": "31bddc6e.92f4e4",
+ "x": 2638.0451622009277,
+ "y": 1863.3439855575562,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "82b9cfae.eb4f6",
+ "id": "3fa17b83.299864",
"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": 2630.739501953125,
- "y": 1806.0940856933594,
- "z": "31bddc6e.92f4e4",
+ "x": 2664.0450439453125,
+ "y": 1912.3441066741943,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "71467edd.f8544",
+ "id": "4fe1f3c4.97262c",
"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": 2643.739501953125,
- "y": 1898.0939645767212,
- "z": "31bddc6e.92f4e4",
+ "x": 2677.0450439453125,
+ "y": 2004.3439855575562,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "be036a9c.3b40a8",
+ "id": "43bfca68.bb3454",
"type": "for",
"name": "For List of Cells ",
"xml": "<for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 2303.7294921875,
- "y": 2177.093963623047,
- "z": "31bddc6e.92f4e4",
+ "x": 2337.0350341796875,
+ "y": 2283.343984603882,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "2b4f5d02.d7a8a2",
- "723f389b.c9aee8"
+ "6f40dd43.c32694",
+ "cde223c2.7eeac"
]
]
},
{
- "id": "43de4319.f2835c",
+ "id": "187d9e29.2ec5c2",
"type": "block",
"name": "pLMNInfoList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3257.7292442321777,
- "y": 2042.0938720703125,
- "z": "31bddc6e.92f4e4",
+ "x": 3291.0347862243652,
+ "y": 2148.3438930511475,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8c8c92e3.16fea"
+ "ad74bbed.c00fc8"
]
]
},
{
- "id": "8c8c92e3.16fea",
+ "id": "ad74bbed.c00fc8",
"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": 3522.729259490967,
- "y": 2020.0938625335693,
- "z": "31bddc6e.92f4e4",
+ "x": 3556.0348014831543,
+ "y": 2126.3438835144043,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "42670d1b.290fc4",
+ "id": "1c9c9154.0f3fdf",
"type": "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": 3224.729259490967,
- "y": 2100.0938625335693,
- "z": "31bddc6e.92f4e4",
+ "x": 3258.0348014831543,
+ "y": 2206.3438835144043,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "9eeec0a0.6b81b",
+ "id": "17779f4e.286261",
"type": "for",
"name": "For pLMNInfoListEntries",
"xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3255.729259490967,
- "y": 2198.0938625335693,
- "z": "31bddc6e.92f4e4",
+ "x": 3289.0348014831543,
+ "y": 2304.3438835144043,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "f1e12bbf.000418"
+ "6b57e443.91655c"
]
]
},
{
- "id": "b0770eda.4ce2f",
+ "id": "5d5e00ae.0cb88",
"type": "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": 2157.7293014526367,
- "y": 1912.0938386917114,
- "z": "31bddc6e.92f4e4",
+ "x": 2191.034843444824,
+ "y": 2018.3438596725464,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "f1e12bbf.000418",
+ "id": "6b57e443.91655c",
"type": "block",
"name": "pLMNInfoList Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3475.729259490967,
- "y": 2194.0938625335693,
- "z": "31bddc6e.92f4e4",
+ "x": 3509.0348014831543,
+ "y": 2300.3438835144043,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "ef055b5d.37b838",
- "82f3fec7.f69a3"
+ "4c6feaf5.7fba14",
+ "30d1533e.6dc58c"
]
]
},
{
- "id": "ef055b5d.37b838",
+ "id": "4c6feaf5.7fba14",
"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": 3649.7293128967285,
- "y": 2150.0938625335693,
- "z": "31bddc6e.92f4e4",
+ "x": 3683.034854888916,
+ "y": 2256.3438835144043,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "e4a1222.4e90fe",
+ "id": "e271a58a.b0ffb8",
"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": 3327.729259490967,
- "y": 2149.0938625335693,
- "z": "31bddc6e.92f4e4",
+ "x": 3361.0348014831543,
+ "y": 2255.3438835144043,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "82f3fec7.f69a3",
+ "id": "30d1533e.6dc58c",
"type": "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": 3652.729259490967,
- "y": 2214.0938625335693,
- "z": "31bddc6e.92f4e4",
+ "x": 3686.0348014831543,
+ "y": 2320.3438835144043,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "2e48d946.b49ed6",
+ "id": "99f93c97.194db",
"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": 3499.7292518615723,
- "y": 2080.0938472747803,
- "z": "31bddc6e.92f4e4",
+ "x": 3533.0347938537598,
+ "y": 2186.3438682556152,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "badb5a95.895c38",
+ "id": "c1ec32d1.c6276",
"type": "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": 3436.740509033203,
- "y": 2653.4275579452515,
- "z": "31bddc6e.92f4e4",
+ "x": 3470.0460510253906,
+ "y": 2759.6775789260864,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "3720d02.3d9933",
+ "id": "ab4851e7.0f9ee",
"type": "block",
"name": "Add PLMNInfoList Entry",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3141.7393531799316,
- "y": 2589.4379329681396,
- "z": "31bddc6e.92f4e4",
+ "x": 3175.044895172119,
+ "y": 2695.6879539489746,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "badb5a95.895c38",
- "7ff8fd12.b22684",
- "ad4133a5.00b32",
- "c7e816d4.c50918",
- "ffaa552a.06e018",
- "402b90f1.93729",
- "30d11169.fb414e",
- "f5938498.7f8c28",
- "cd16980f.b7b198"
+ "c1ec32d1.c6276",
+ "beb3a47.42a9258",
+ "802cbeb3.3d87",
+ "2ecc44f3.d76d9c",
+ "bfe1ee22.42a44",
+ "b30eda44.936178",
+ "8c266301.64814",
+ "838435d2.bd42f8",
+ "43439aa8.8be184"
]
]
},
{
- "id": "f5938498.7f8c28",
+ "id": "838435d2.bd42f8",
"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": 3543.7400436401367,
- "y": 2728.4378929138184,
- "z": "31bddc6e.92f4e4",
+ "x": 3577.045585632324,
+ "y": 2834.6879138946533,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e03fe0bf.9cb58",
- "f1d776a3.94d638"
+ "8fe41d06.867a5",
+ "75fcc892.b62638"
]
]
},
{
- "id": "7ff8fd12.b22684",
+ "id": "beb3a47.42a9258",
"type": "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": 3430.739471435547,
- "y": 2621.4381170272827,
- "z": "31bddc6e.92f4e4",
+ "x": 3464.0450134277344,
+ "y": 2727.6881380081177,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ef0b16.078054e8",
+ "id": "279ed15.2ad372e",
"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": 3570.739589691162,
- "y": 2283.0941104888916,
- "z": "31bddc6e.92f4e4",
+ "x": 3604.0451316833496,
+ "y": 2389.3441314697266,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ad4133a5.00b32",
+ "id": "802cbeb3.3d87",
"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": 3452.7293815612793,
- "y": 2419.0939326286316,
- "z": "31bddc6e.92f4e4",
+ "x": 3486.034923553467,
+ "y": 2525.3439536094666,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c7e816d4.c50918",
+ "id": "2ecc44f3.d76d9c",
"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": 3440.729377746582,
- "y": 2465.093993663788,
- "z": "31bddc6e.92f4e4",
+ "x": 3474.0349197387695,
+ "y": 2571.344014644623,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ffaa552a.06e018",
+ "id": "bfe1ee22.42a44",
"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": 3427.7293796539307,
- "y": 2506.0940551757812,
- "z": "31bddc6e.92f4e4",
+ "x": 3461.034921646118,
+ "y": 2612.344076156616,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "402b90f1.93729",
+ "id": "b30eda44.936178",
"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": 3435.729377746582,
- "y": 2547.0939331054688,
- "z": "31bddc6e.92f4e4",
+ "x": 3469.0349197387695,
+ "y": 2653.3439540863037,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "e03fe0bf.9cb58",
+ "id": "8fe41d06.867a5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3659.73970413208,
- "y": 2526.4272356033325,
- "z": "31bddc6e.92f4e4",
+ "x": 3693.0452461242676,
+ "y": 2632.6772565841675,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "bc01695c.17eda8"
+ "cd63ae6f.28aa2"
]
]
},
{
- "id": "f1d776a3.94d638",
+ "id": "75fcc892.b62638",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3952.73974609375,
- "y": 2748.427327156067,
- "z": "31bddc6e.92f4e4",
+ "x": 3986.0452880859375,
+ "y": 2854.677348136902,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "67edba55.0f1914"
+ "ab087827.837cc8"
]
]
},
{
- "id": "bc01695c.17eda8",
+ "id": "cd63ae6f.28aa2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3793.73970413208,
- "y": 2533.427357673645,
- "z": "31bddc6e.92f4e4",
+ "x": 3827.0452461242676,
+ "y": 2639.67737865448,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "7d23854e.2153cc",
- "66a87a6d.5e0334"
+ "b401bba5.20bc28",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "67edba55.0f1914",
+ "id": "ab087827.837cc8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4127.73942565918,
- "y": 2745.427327156067,
- "z": "31bddc6e.92f4e4",
+ "x": 4161.044967651367,
+ "y": 2851.677348136902,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "2b0fa264.58105e"
+ "d9442d8c.c27f1"
]
]
},
{
- "id": "7d23854e.2153cc",
+ "id": "b401bba5.20bc28",
"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": 3939.7393798828125,
- "y": 2633.4274377822876,
- "z": "31bddc6e.92f4e4",
+ "x": 3973.044921875,
+ "y": 2739.6774587631226,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "2b0fa264.58105e",
+ "id": "d9442d8c.c27f1",
"type": "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": 4282.740077972412,
- "y": 2737.427652835846,
- "z": "31bddc6e.92f4e4",
+ "x": 4316.0456199646,
+ "y": 2843.677673816681,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "e5be1f67.3e688",
+ "id": "d873f56a.9437a8",
"type": "set",
"name": "Calculate RRM Parms",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`' />\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />",
"comments": "",
- "x": 1865.7292137145996,
- "y": 1902.0941009521484,
- "z": "31bddc6e.92f4e4",
+ "x": 1899.034755706787,
+ "y": 2008.3441219329834,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "5048398.65af5c8",
+ "id": "2af64058.5839f",
"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": 3765.729316711426,
- "y": 2327.093991279602,
- "z": "31bddc6e.92f4e4",
+ "x": 3799.0348587036133,
+ "y": 2433.344012260437,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "53151d68.0cce74",
+ "id": "9eb2d4d8.cf7e78",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3458.7292861938477,
- "y": 2357.0940523147583,
- "z": "31bddc6e.92f4e4",
+ "x": 3492.034828186035,
+ "y": 2463.3440732955933,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "5048398.65af5c8",
- "ef998573.20c7a8"
+ "2af64058.5839f",
+ "a0a0362a.295108"
]
]
},
{
- "id": "ef998573.20c7a8",
+ "id": "a0a0362a.295108",
"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": 3709.7297172546387,
- "y": 2380.0941848754883,
- "z": "31bddc6e.92f4e4",
+ "x": 3743.035259246826,
+ "y": 2486.3442058563232,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "4c0c2de1.b5cae4",
+ "id": "adc8ef28.065cf",
"type": "block",
"name": "Get Cells List in TA",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1526.7294692993164,
- "y": 451.0941410064697,
- "z": "31bddc6e.92f4e4",
+ "x": 1560.035011291504,
+ "y": 557.3441619873047,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "2e49351c.8b4f6a",
- "41b2dc48.ae3844",
- "2bdf1089.1dbd6"
+ "31f24c7a.033584",
+ "8282f63d.edb3e8",
+ "e13282a4.a3907"
]
]
},
{
- "id": "2e49351c.8b4f6a",
+ "id": "31f24c7a.033584",
"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": 1782.729591369629,
- "y": 311.0940799713135,
- "z": "31bddc6e.92f4e4",
+ "x": 1816.0351333618164,
+ "y": 417.34410095214844,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "41b2dc48.ae3844",
+ "id": "8282f63d.edb3e8",
"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": 1807.729591369629,
- "y": 413.09429359436035,
- "z": "31bddc6e.92f4e4",
+ "x": 1841.0351333618164,
+ "y": 519.3443145751953,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "2bdf1089.1dbd6",
+ "id": "e13282a4.a3907",
"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": 1809.729591369629,
- "y": 496.09419441223145,
- "z": "31bddc6e.92f4e4",
+ "x": 1843.0351333618164,
+ "y": 602.3442153930664,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "38701ca5.035a84",
- "298ad075.22203"
+ "c31db141.98cac",
+ "a6323108.93f56"
]
]
},
{
- "id": "38701ca5.035a84",
+ "id": "c31db141.98cac",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2086.7292861938477,
- "y": 430.0942783355713,
- "z": "31bddc6e.92f4e4",
+ "x": 2120.034828186035,
+ "y": 536.3442993164062,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "80062724.79bfd8"
+ "11882eea.3db001"
]
]
},
{
- "id": "298ad075.22203",
+ "id": "a6323108.93f56",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2035.7291946411133,
- "y": 576.0941944122314,
- "z": "31bddc6e.92f4e4",
+ "x": 2069.034736633301,
+ "y": 682.3442153930664,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "7d92bda8.bea974"
+ "a9f1003c.ec97"
]
]
},
{
- "id": "80062724.79bfd8",
+ "id": "11882eea.3db001",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2461.7292556762695,
- "y": 423.0942325592041,
- "z": "31bddc6e.92f4e4",
+ "x": 2495.034797668457,
+ "y": 529.3442535400391,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "5cba5943.00bfd8",
- "97c3b3de.5d5c5",
- "66a87a6d.5e0334"
+ "b4c03a19.bdd178",
+ "acb38315.12af",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "7d92bda8.bea974",
+ "id": "a9f1003c.ec97",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2181.7290115356445,
- "y": 554.094316482544,
- "z": "31bddc6e.92f4e4",
+ "x": 2215.034553527832,
+ "y": 660.3443374633789,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "2583460a.31e17a",
- "f633cc88.f08ce",
- "482c00b3.a99bb"
+ "922c1b1e.a832f8",
+ "1224f25a.64c56e",
+ "d2a1e3b1.98234"
]
]
},
{
- "id": "5cba5943.00bfd8",
+ "id": "b4c03a19.bdd178",
"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": 2397.7290115356445,
- "y": 501.09421730041504,
- "z": "31bddc6e.92f4e4",
+ "x": 2431.034553527832,
+ "y": 607.34423828125,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "2583460a.31e17a",
+ "id": "922c1b1e.a832f8",
"type": "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": 2341.7289810180664,
- "y": 549.0942249298096,
- "z": "31bddc6e.92f4e4",
+ "x": 2375.034523010254,
+ "y": 655.3442459106445,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "97c3b3de.5d5c5",
+ "id": "acb38315.12af",
"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": 2441.729347229004,
- "y": 361.20527839660645,
- "z": "31bddc6e.92f4e4",
+ "x": 2475.0348892211914,
+ "y": 467.4552993774414,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "f633cc88.f08ce",
+ "id": "1224f25a.64c56e",
"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": 2361.5073013305664,
- "y": 693.0942554473877,
- "z": "31bddc6e.92f4e4",
+ "x": 2394.812843322754,
+ "y": 799.3442764282227,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "5b4f2276.238c9c",
+ "id": "fba1b48a.719358",
"type": "comment",
"name": "Connect to AddPLMNInfoList Entry",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3439.729076385498,
- "y": 2687.4271507263184,
- "z": "31bddc6e.92f4e4",
+ "x": 3473.0346183776855,
+ "y": 2793.6771717071533,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "dc4d84e2.862bd8",
+ "id": "841120db.a414c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3294.729076385498,
- "y": 2844.760524749756,
- "z": "31bddc6e.92f4e4",
+ "x": 3328.0346183776855,
+ "y": 2951.010545730591,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "df69ccb0.f6e95",
- "49b75895.dc6b68"
+ "9ae5edcb.0fa6d",
+ "4d3f835.49a0f7c"
]
]
},
{
- "id": "df69ccb0.f6e95",
+ "id": "9ae5edcb.0fa6d",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3489.729103088379,
- "y": 2804.760432243347,
- "z": "31bddc6e.92f4e4",
+ "x": 3523.0346450805664,
+ "y": 2911.010453224182,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "f9b90f89.dfe03"
+ "ddf87c90.91d1f"
]
]
},
{
- "id": "49b75895.dc6b68",
+ "id": "4d3f835.49a0f7c",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3469.729076385498,
- "y": 2883.7605237960815,
- "z": "31bddc6e.92f4e4",
+ "x": 3503.0346183776855,
+ "y": 2990.0105447769165,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "171a8238.8ed7ee"
+ "fe2dca65.c59b58"
]
]
},
{
- "id": "d4571a85.3f3498",
+ "id": "fd77e0c6.85fc6",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 3441.730197906494,
- "y": 3128.0944323539734,
- "z": "31bddc6e.92f4e4",
+ "x": 3475.0357398986816,
+ "y": 3234.3444533348083,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "a4240e73.e3e13",
+ "id": "23f69fb5.8200b",
"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": 3679.729091644287,
- "y": 3181.1041202545166,
- "z": "31bddc6e.92f4e4",
+ "x": 3713.0346336364746,
+ "y": 3287.3541412353516,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "240a81c0.aae5ee",
- "d2bab658.94cc58"
+ "94ce8628.a93ba8",
+ "5d64bd6d.dca184"
]
]
},
{
- "id": "9971d3d2.6c8c9",
+ "id": "b6394cd1.ba808",
"type": "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": 3447.7290992736816,
- "y": 3094.1042585372925,
- "z": "31bddc6e.92f4e4",
+ "x": 3481.034641265869,
+ "y": 3200.3542795181274,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "f9b90f89.dfe03",
+ "id": "ddf87c90.91d1f",
"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": 3772.729076385498,
- "y": 2799.7605240345,
- "z": "31bddc6e.92f4e4",
+ "x": 3806.0346183776855,
+ "y": 2906.010545015335,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "6847be11.b65c6",
+ "id": "5faf1669.7c78d8",
"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": 3485.718837738037,
- "y": 2935.7606143951416,
- "z": "31bddc6e.92f4e4",
+ "x": 3519.0243797302246,
+ "y": 3042.0106353759766,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "216e0f62.007e2",
+ "id": "ffe68efb.6363e",
"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": 3466.718837738037,
- "y": 2974.7603702545166,
- "z": "31bddc6e.92f4e4",
+ "x": 3500.0243797302246,
+ "y": 3081.0103912353516,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "da838b27.79ba08",
+ "id": "7f374dbf.7dd314",
"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": 3447.7188453674316,
- "y": 3014.760753631592,
- "z": "31bddc6e.92f4e4",
+ "x": 3481.024387359619,
+ "y": 3121.0107746124268,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "240a81c0.aae5ee",
+ "id": "94ce8628.a93ba8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3730.729206085205,
- "y": 2989.0939836502075,
- "z": "31bddc6e.92f4e4",
+ "x": 3764.0347480773926,
+ "y": 3095.3440046310425,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "68c4033d.7fdb5c"
+ "2ec06fcf.a5a02"
]
]
},
{
- "id": "d2bab658.94cc58",
+ "id": "5d64bd6d.dca184",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3967.729335784912,
- "y": 3153.0938663482666,
- "z": "31bddc6e.92f4e4",
+ "x": 4001.0348777770996,
+ "y": 3259.3438873291016,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8d54746e.c7e3d8"
+ "c2fdcb62.ef4268"
]
]
},
{
- "id": "68c4033d.7fdb5c",
+ "id": "2ec06fcf.a5a02",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3878.729206085205,
- "y": 3016.0939836502075,
- "z": "31bddc6e.92f4e4",
+ "x": 3912.0347480773926,
+ "y": 3122.3440046310425,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8ee7b6d7.607f18",
- "66a87a6d.5e0334"
+ "75931b33.e80044",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "8d54746e.c7e3d8",
+ "id": "c2fdcb62.ef4268",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4131.728847503662,
- "y": 3158.0938663482666,
- "z": "31bddc6e.92f4e4",
+ "x": 4165.03438949585,
+ "y": 3264.3438873291016,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "33a34a60.ed6ef6"
+ "549b3fc8.96cd3"
]
]
},
{
- "id": "8ee7b6d7.607f18",
+ "id": "75931b33.e80044",
"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": 4017.72896194458,
- "y": 3088.0939836502075,
- "z": "31bddc6e.92f4e4",
+ "x": 4051.0345039367676,
+ "y": 3194.3440046310425,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "33a34a60.ed6ef6",
+ "id": "549b3fc8.96cd3",
"type": "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": 4231.729335784912,
- "y": 3083.0941104888916,
- "z": "31bddc6e.92f4e4",
+ "x": 4265.0348777771,
+ "y": 3189.3441314697266,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "3f6b3705.1fbef8",
+ "id": "98577773.262ea8",
"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": 3968.71879196167,
- "y": 2854.7605152130127,
- "z": "31bddc6e.92f4e4",
+ "x": 4002.0243339538574,
+ "y": 2961.0105361938477,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "171a8238.8ed7ee",
+ "id": "fe2dca65.c59b58",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3662.7187271118164,
- "y": 2878.7605237960815,
- "z": "31bddc6e.92f4e4",
+ "x": 3696.024269104004,
+ "y": 2985.0105447769165,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "3f6b3705.1fbef8",
- "43e85ed7.f0175"
+ "98577773.262ea8",
+ "bf08d5b3.25ae68"
]
]
},
{
- "id": "43e85ed7.f0175",
+ "id": "bf08d5b3.25ae68",
"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": 3905.7187995910645,
- "y": 2913.7605743408203,
- "z": "31bddc6e.92f4e4",
+ "x": 3939.024341583252,
+ "y": 3020.0105953216553,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "af1059f8.164e98",
+ "id": "7b894075.dd74f",
"type": "comment",
"name": "Connect to RRM P{olicy Ratio",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3650.718593597412,
- "y": 3126.0936222076416,
- "z": "31bddc6e.92f4e4",
+ "x": 3684.0241355895996,
+ "y": 3232.3436431884766,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "7ac6372d.01c678",
+ "id": "6787dd46.a4cdd4",
"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": 2633.7394981384277,
- "y": 1849.0940256118774,
- "z": "31bddc6e.92f4e4",
+ "x": 2667.0450401306152,
+ "y": 1955.3440465927124,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "e38fa06c.cfb8e",
+ "id": "14cb63b.82fd69c",
"type": "block",
"name": "CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1888.7707176208496,
- "y": 3536.8387393951416,
- "z": "31bddc6e.92f4e4",
+ "x": 1922.076259613037,
+ "y": 3643.0887603759766,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "9444fa49.a707f8",
- "47b4319c.969d2",
- "ed72307d.17b2b",
- "98c34e97.ceaaf"
+ "3bc10e8d.2d6b92",
+ "38d6cdc8.613fd2",
+ "d1c68da5.d0d84",
+ "ecb96ca1.a1de1"
]
]
},
{
- "id": "e53dbaf9.038488",
+ "id": "c357c74b.75e6d8",
"type": "block",
"name": "Add RRM Policy Ratio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3250.7710037231445,
- "y": 5003.839067697525,
- "z": "31bddc6e.92f4e4",
+ "x": 3284.076545715332,
+ "y": 5110.08908867836,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "636fb849.56f758",
- "65b89c6c.04f254",
- "5cd2e725.961368",
- "fb1e8e10.fdf87",
- "3533f4b4.5e3efc",
- "c65188a1.aafd58",
- "7d94ef90.fbe44"
+ "198dc3d1.29f44c",
+ "8ba8507e.f7658",
+ "bf7c7602.b73378",
+ "8106a26d.a53f4",
+ "40ab09b8.6833b8",
+ "f73ed2db.56a39",
+ "dde70b52.a80088"
]
]
},
{
- "id": "637b56cc.2f2318",
+ "id": "2e57c1d9.6b4b5e",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3446.770740509033,
- "y": 4248.839810371399,
- "z": "31bddc6e.92f4e4",
+ "x": 3480.0762825012207,
+ "y": 4355.089831352234,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "7d3669f7.645788",
- "f76d35d2.489e68"
+ "9e38c0e6.d3293",
+ "45236beb.534214"
]
]
},
{
- "id": "7d3669f7.645788",
+ "id": "9e38c0e6.d3293",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3687.770740509033,
- "y": 4180.839810848236,
- "z": "31bddc6e.92f4e4",
+ "x": 3721.0762825012207,
+ "y": 4287.089831829071,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "61b659d.02055a8"
+ "81fc2f10.f969e"
]
]
},
{
- "id": "f76d35d2.489e68",
+ "id": "45236beb.534214",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3668.7708625793457,
- "y": 4274.839688301086,
- "z": "31bddc6e.92f4e4",
+ "x": 3702.076404571533,
+ "y": 4381.089709281921,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "6780c92e.405f18"
+ "4133c2c0.2c06ec"
]
]
},
{
- "id": "47b4319c.969d2",
+ "id": "38d6cdc8.613fd2",
"type": "for",
"name": "For List of CUUP's",
"xml": "<for index='id2' start='0' end='`$tmp.CUUPListEntries `' >",
"comments": "",
"outputs": 1,
- "x": 2534.770751953125,
- "y": 3630.839569091797,
- "z": "31bddc6e.92f4e4",
+ "x": 2568.0762939453125,
+ "y": 3737.089590072632,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b07ca192.e4316",
- "c679ff37.2806e",
- "19087847.949fa8",
- "faf61bb4.0e5e48",
- "4a9aa312.80092c",
- "e53dbaf9.038488",
- "7fdef424.c87d8c",
- "bc78a26a.a6aa1"
+ "6837b904.f86678",
+ "5fc3cfcd.058b4",
+ "bfeead35.1b76b",
+ "adcfac1.b165d5",
+ "f793ca09.91fd18",
+ "c357c74b.75e6d8",
+ "f3a2bcbf.8f26c",
+ "a3e55510.78b598"
]
]
},
{
- "id": "9444fa49.a707f8",
+ "id": "3bc10e8d.2d6b92",
"type": "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": 2957.7706031799316,
- "y": 3383.8390417099,
- "z": "31bddc6e.92f4e4",
+ "x": 2991.076145172119,
+ "y": 3490.089062690735,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ed72307d.17b2b",
+ "id": "d1c68da5.d0d84",
"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": 2960.7705078125,
- "y": 3340.8391246795654,
- "z": "31bddc6e.92f4e4",
+ "x": 2994.0760498046875,
+ "y": 3447.0891456604004,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "b07ca192.e4316",
+ "id": "6837b904.f86678",
"type": "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": 3444.7705078125,
- "y": 3796.8396129608154,
- "z": "31bddc6e.92f4e4",
+ "x": 3478.0760498046875,
+ "y": 3903.0896339416504,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c679ff37.2806e",
+ "id": "5fc3cfcd.058b4",
"type": "block",
"name": "cellCUUPList Level Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3410.7706451416016,
- "y": 3725.8392436504364,
- "z": "31bddc6e.92f4e4",
+ "x": 3444.076187133789,
+ "y": 3832.0892646312714,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "1e4ae8d1.80cf97",
- "e05a0b3d.0f1238",
- "c0a8aaf5.d129e8",
- "951a0f11.4543b"
+ "ab3a7539.f0f5b8",
+ "45dd1963.03d668",
+ "2f5ff784.427978",
+ "50fa0621.0df758"
]
]
},
{
- "id": "1e4ae8d1.80cf97",
+ "id": "ab3a7539.f0f5b8",
"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": 3847.770751953125,
- "y": 3644.839080810547,
- "z": "31bddc6e.92f4e4",
+ "x": 3881.0762939453125,
+ "y": 3751.089101791382,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "e05a0b3d.0f1238",
+ "id": "45dd1963.03d668",
"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": 3868.770839691162,
- "y": 3739.8392276763916,
- "z": "31bddc6e.92f4e4",
+ "x": 3902.0763816833496,
+ "y": 3846.0892486572266,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c0a8aaf5.d129e8",
+ "id": "2f5ff784.427978",
"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": 3886.770606994629,
- "y": 3783.8391478061676,
- "z": "31bddc6e.92f4e4",
+ "x": 3920.0761489868164,
+ "y": 3890.0891687870026,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "faf61bb4.0e5e48",
+ "id": "adcfac1.b165d5",
"type": "for",
"name": "For pLMNInfoListEntries",
"xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 3449.760356903076,
- "y": 4034.8392384052277,
- "z": "31bddc6e.92f4e4",
+ "x": 3483.0658988952637,
+ "y": 4141.089259386063,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "ef221db.09757e"
+ "7bff1b9e.1e2e94"
]
]
},
{
- "id": "19087847.949fa8",
+ "id": "bfeead35.1b76b",
"type": "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": 3449.7604789733887,
- "y": 3888.839115858078,
- "z": "31bddc6e.92f4e4",
+ "x": 3483.066020965576,
+ "y": 3995.089136838913,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ef221db.09757e",
+ "id": "7bff1b9e.1e2e94",
"type": "block",
"name": "pLMNInfoList Parms",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3700.7605323791504,
- "y": 4033.839189529419,
- "z": "31bddc6e.92f4e4",
+ "x": 3734.066074371338,
+ "y": 4140.089210510254,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "9cd1a916.bb2538",
- "b3f1c9a1.633608"
+ "545ec444.ed32bc",
+ "590b6cc9.214824"
]
]
},
{
- "id": "9cd1a916.bb2538",
+ "id": "545ec444.ed32bc",
"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": 3914.760498046875,
- "y": 3984.8393115997314,
- "z": "31bddc6e.92f4e4",
+ "x": 3948.0660400390625,
+ "y": 4091.0893325805664,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ffabc2db.105a8",
+ "id": "69689fc7.df7c3",
"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": 3517.7605171203613,
- "y": 4089.839189529419,
- "z": "31bddc6e.92f4e4",
+ "x": 3551.066059112549,
+ "y": 4196.089210510254,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "b3f1c9a1.633608",
+ "id": "590b6cc9.214824",
"type": "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": 3918.7605590820312,
- "y": 4068.8388233184814,
- "z": "31bddc6e.92f4e4",
+ "x": 3952.0661010742188,
+ "y": 4175.088844299316,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "718e5a7c.375fa4",
+ "id": "aa5c1734.d59c18",
"type": "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": 3795.7717094421387,
- "y": 4624.172580718994,
- "z": "31bddc6e.92f4e4",
+ "x": 3829.077251434326,
+ "y": 4730.422601699829,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "4a9aa312.80092c",
+ "id": "f793ca09.91fd18",
"type": "block",
"name": "Add PLMNInfoList Entry",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3389.770496368408,
- "y": 4434.183429718018,
- "z": "31bddc6e.92f4e4",
+ "x": 3423.0760383605957,
+ "y": 4540.4334506988525,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "718e5a7c.375fa4",
- "99cafb05.71b3e8",
- "f86ececf.85d0a",
- "249c17b6.aeeba8",
- "5643ab16.0bf484",
- "637b56cc.2f2318",
- "51d5ead6.304654",
- "f82f8d1d.c78b4",
- "35b1d16a.ddd30e"
+ "aa5c1734.d59c18",
+ "ce3e5ffc.d6572",
+ "7fcea060.9a1ff",
+ "3d52fd87.82c8e2",
+ "61973046.b5029",
+ "2e57c1d9.6b4b5e",
+ "c7ffc734.9869d8",
+ "24247669.aa7e8a",
+ "2a97eefa.4b80d2"
]
]
},
{
- "id": "51d5ead6.304654",
+ "id": "c7ffc734.9869d8",
"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": 3787.770793914795,
- "y": 4683.183139801025,
- "z": "31bddc6e.92f4e4",
+ "x": 3821.0763359069824,
+ "y": 4789.43316078186,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8c7cd9fd.ba3b68",
- "2531f1fe.f8aa5e"
+ "4511ea34.630124",
+ "d388f9ee.48da98"
]
]
},
{
- "id": "99cafb05.71b3e8",
+ "id": "ce3e5ffc.d6572",
"type": "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": 3797.7706718444824,
- "y": 4576.183139801025,
- "z": "31bddc6e.92f4e4",
+ "x": 3831.07621383667,
+ "y": 4682.43316078186,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "61b659d.02055a8",
+ "id": "81fc2f10.f969e",
"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": 3999.77054977417,
- "y": 4180.839447975159,
- "z": "31bddc6e.92f4e4",
+ "x": 4033.0760917663574,
+ "y": 4287.089468955994,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "f86ececf.85d0a",
+ "id": "7fcea060.9a1ff",
"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": 3849.76029586792,
- "y": 4367.839370727539,
- "z": "31bddc6e.92f4e4",
+ "x": 3883.0658378601074,
+ "y": 4474.089391708374,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "249c17b6.aeeba8",
+ "id": "3d52fd87.82c8e2",
"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": 3815.76029586792,
- "y": 4429.839372634888,
- "z": "31bddc6e.92f4e4",
+ "x": 3849.0658378601074,
+ "y": 4536.089393615723,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "5643ab16.0bf484",
+ "id": "61973046.b5029",
"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": 3812.76029586792,
- "y": 4478.839374542236,
- "z": "31bddc6e.92f4e4",
+ "x": 3846.0658378601074,
+ "y": 4585.089395523071,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "8c7cd9fd.ba3b68",
+ "id": "4511ea34.630124",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4048.7713623046875,
- "y": 4460.172088623047,
- "z": "31bddc6e.92f4e4",
+ "x": 4082.076904296875,
+ "y": 4566.422109603882,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "73579bb4.c27694"
+ "c5f216a7.10a9e8"
]
]
},
{
- "id": "2531f1fe.f8aa5e",
+ "id": "d388f9ee.48da98",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4089.771728515625,
- "y": 4618.173187255859,
- "z": "31bddc6e.92f4e4",
+ "x": 4123.0772705078125,
+ "y": 4724.423208236694,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "7d79e256.c1cc7c"
+ "23a9886c.832ec8"
]
]
},
{
- "id": "73579bb4.c27694",
+ "id": "c5f216a7.10a9e8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4262.77099609375,
- "y": 4386.172821044922,
- "z": "31bddc6e.92f4e4",
+ "x": 4296.0765380859375,
+ "y": 4492.422842025757,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "6b7bc12.2cce34",
- "66a87a6d.5e0334"
+ "8f6a84d2.d367e8",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "7d79e256.c1cc7c",
+ "id": "23a9886c.832ec8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4103.7711181640625,
- "y": 4681.173309326172,
- "z": "31bddc6e.92f4e4",
+ "x": 4137.07666015625,
+ "y": 4787.423330307007,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "bc579d8f.77a4b"
+ "60f03199.05e69"
]
]
},
{
- "id": "6b7bc12.2cce34",
+ "id": "8f6a84d2.d367e8",
"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": 4249.7706298828125,
- "y": 4515.172821044922,
- "z": "31bddc6e.92f4e4",
+ "x": 4283.076171875,
+ "y": 4621.422842025757,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "bc579d8f.77a4b",
+ "id": "60f03199.05e69",
"type": "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": 4250.771484375,
- "y": 4669.173309326172,
- "z": "31bddc6e.92f4e4",
+ "x": 4284.0770263671875,
+ "y": 4775.423330307007,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "4d04c3f0.7c798c",
+ "id": "7e756124.60d21",
"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": 4194.760303497314,
- "y": 4243.839448928833,
- "z": "31bddc6e.92f4e4",
+ "x": 4228.065845489502,
+ "y": 4350.089469909668,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "6780c92e.405f18",
+ "id": "4133c2c0.2c06ec",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3849.7601356506348,
- "y": 4275.839450836182,
- "z": "31bddc6e.92f4e4",
+ "x": 3883.0656776428223,
+ "y": 4382.089471817017,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "4d04c3f0.7c798c",
- "2803f005.e7db4"
+ "7e756124.60d21",
+ "85c37175.85d74"
]
]
},
{
- "id": "2803f005.e7db4",
+ "id": "85c37175.85d74",
"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": 4113.760631561279,
- "y": 4307.839450836182,
- "z": "31bddc6e.92f4e4",
+ "x": 4147.066173553467,
+ "y": 4414.089471817017,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "6f315841.f55be8",
+ "id": "746f0b61.cb46d4",
"type": "comment",
"name": "Connect to AddPLMNInfoList Entry",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3541.7603607177734,
- "y": 4581.172827720642,
- "z": "31bddc6e.92f4e4",
+ "x": 3575.065902709961,
+ "y": 4687.422848701477,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "636fb849.56f758",
+ "id": "198dc3d1.29f44c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3482.76025390625,
- "y": 4831.505341291428,
- "z": "31bddc6e.92f4e4",
+ "x": 3516.0657958984375,
+ "y": 4937.755362272263,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "cf20eb87.2cfa88",
- "a3da901f.8750f"
+ "414c4c5a.1c17e4",
+ "da336706.0b5688"
]
]
},
{
- "id": "cf20eb87.2cfa88",
+ "id": "414c4c5a.1c17e4",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3677.760280609131,
- "y": 4791.505248785019,
- "z": "31bddc6e.92f4e4",
+ "x": 3711.0658226013184,
+ "y": 4897.755269765854,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "ab136f2d.0dda9"
+ "35ef2e88.78dae2"
]
]
},
{
- "id": "a3da901f.8750f",
+ "id": "da336706.0b5688",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3657.76025390625,
- "y": 4870.505340337753,
- "z": "31bddc6e.92f4e4",
+ "x": 3691.0657958984375,
+ "y": 4976.755361318588,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "7eb814ab.2771bc"
+ "6b2f3f0b.c4deb"
]
]
},
{
- "id": "3533f4b4.5e3efc",
+ "id": "40ab09b8.6833b8",
"type": "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": 3636.761631011963,
- "y": 5138.839032173157,
- "z": "31bddc6e.92f4e4",
+ "x": 3670.0671730041504,
+ "y": 5245.089053153992,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c65188a1.aafd58",
+ "id": "f73ed2db.56a39",
"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": 3698.7611083984375,
- "y": 5201.849707841873,
- "z": "31bddc6e.92f4e4",
+ "x": 3732.066650390625,
+ "y": 5308.099728822708,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "244d663b.29b63a",
- "c50b357b.640508"
+ "e5202da4.0303",
+ "36d118d9.e40bb8"
]
]
},
{
- "id": "fb1e8e10.fdf87",
+ "id": "8106a26d.a53f4",
"type": "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": 3636.760898590088,
- "y": 5088.849347114563,
- "z": "31bddc6e.92f4e4",
+ "x": 3670.0664405822754,
+ "y": 5195.099368095398,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ab136f2d.0dda9",
+ "id": "35ef2e88.78dae2",
"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": 3960.76025390625,
- "y": 4786.505340576172,
- "z": "31bddc6e.92f4e4",
+ "x": 3994.0657958984375,
+ "y": 4892.755361557007,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "65b89c6c.04f254",
+ "id": "8ba8507e.f7658",
"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": 3676.749969482422,
- "y": 4940.505756616592,
- "z": "31bddc6e.92f4e4",
+ "x": 3710.0555114746094,
+ "y": 5046.755777597427,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "5cd2e725.961368",
+ "id": "bf7c7602.b73378",
"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": 3630.750129699707,
- "y": 4984.506079912186,
- "z": "31bddc6e.92f4e4",
+ "x": 3664.0556716918945,
+ "y": 5090.756100893021,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "244d663b.29b63a",
+ "id": "e5202da4.0303",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3957.76065826416,
- "y": 5011.83867764473,
- "z": "31bddc6e.92f4e4",
+ "x": 3991.0662002563477,
+ "y": 5118.088698625565,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c3acf846.120a28"
+ "1e1ea39c.c1df7c"
]
]
},
{
- "id": "c50b357b.640508",
+ "id": "36d118d9.e40bb8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4020.760627746582,
- "y": 5198.839087724686,
- "z": "31bddc6e.92f4e4",
+ "x": 4054.0661697387695,
+ "y": 5305.089108705521,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c8c8d59d.156ea8"
+ "6f7ba28f.f89fac"
]
]
},
{
- "id": "c3acf846.120a28",
+ "id": "1e1ea39c.c1df7c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4177.760414123535,
- "y": 5000.83916592598,
- "z": "31bddc6e.92f4e4",
+ "x": 4211.065956115723,
+ "y": 5107.089186906815,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "706ba4f6.aeadac",
- "66a87a6d.5e0334"
+ "65361029.411d1",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "c8c8d59d.156ea8",
+ "id": "6f7ba28f.f89fac",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4182.7600173950195,
- "y": 5182.839453935623,
- "z": "31bddc6e.92f4e4",
+ "x": 4216.065559387207,
+ "y": 5289.089474916458,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "3ac0c705.8d1378"
+ "d3bcb7b4.0e4398"
]
]
},
{
- "id": "706ba4f6.aeadac",
+ "id": "65361029.411d1",
"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": 4186.760383605957,
- "y": 5078.839453935623,
- "z": "31bddc6e.92f4e4",
+ "x": 4220.0659255981445,
+ "y": 5185.089474916458,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "3ac0c705.8d1378",
+ "id": "d3bcb7b4.0e4398",
"type": "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": 4335.760627746582,
- "y": 5164.840064287186,
- "z": "31bddc6e.92f4e4",
+ "x": 4369.0661697387695,
+ "y": 5271.090085268021,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "112bd2b7.effc5d",
+ "id": "3d0bf917.c4fff6",
"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": 4074.7499923706055,
- "y": 4837.505460500717,
- "z": "31bddc6e.92f4e4",
+ "x": 4108.055534362793,
+ "y": 4943.755481481552,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "7eb814ab.2771bc",
+ "id": "6b2f3f0b.c4deb",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3803.7499771118164,
- "y": 4836.50546002388,
- "z": "31bddc6e.92f4e4",
+ "x": 3837.055519104004,
+ "y": 4942.755481004715,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "112bd2b7.effc5d",
- "c5cd0154.f8143"
+ "3d0bf917.c4fff6",
+ "3e548cd1.a26ef4"
]
]
},
{
- "id": "c5cd0154.f8143",
+ "id": "3e548cd1.a26ef4",
"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": 4027.749984741211,
- "y": 4918.505788087845,
- "z": "31bddc6e.92f4e4",
+ "x": 4061.0555267333984,
+ "y": 5024.75580906868,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "16bd915c.7af4bf",
+ "id": "822af5af.20ae88",
"type": "comment",
"name": "Connect to RRM P{olicy Ratio",
"info": "when able to talk to latest SDNC",
"comments": "",
- "x": 3651.750217437744,
- "y": 5166.838788032532,
- "z": "31bddc6e.92f4e4",
+ "x": 3685.0557594299316,
+ "y": 5273.088809013367,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "98c34e97.ceaaf",
+ "id": "ecb96ca1.a1de1",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2926.771095275879,
- "y": 3485.5164098739624,
- "z": "31bddc6e.92f4e4",
+ "x": 2960.0766372680664,
+ "y": 3591.7664308547974,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "19c19a35.5cad36",
- "c953b38d.85576",
- "a414850b.c4cd88",
- "32cae5c5.7e7d1a",
- "b963aa6e.8101c8",
- "bcf57d53.05917",
- "77abb0d0.a567d"
+ "93ac429d.73aba",
+ "a22f23c2.f41a3",
+ "e3aee558.f47c68",
+ "afd8bf3d.07b45",
+ "a37bbb9c.2cb008",
+ "4a387951.f6db68",
+ "32229efd.5611c2"
]
]
},
{
- "id": "b963aa6e.8101c8",
+ "id": "a37bbb9c.2cb008",
"type": "set",
"name": "calculation rrm5",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rRMPolicyDedicatedRatio.CUUP1 / $prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
"comments": "",
- "x": 3184.7715187072754,
- "y": 3596.2939977645874,
- "z": "31bddc6e.92f4e4",
+ "x": 3218.077060699463,
+ "y": 3702.5440187454224,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "a414850b.c4cd88",
+ "id": "e3aee558.f47c68",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CUUP \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field3\" value=\"tmp.TotalNumberOfDRBForNSSAI \"/>\n<parameter name=\"field4\" value=\"`$tmp.TotalNumberOfDRBForNSSAI`\"/>\n<parameter name=\"field5\" value=\"tmp.DRBPerCUUPForSNSSAI \"/>\n<parameter name=\"field6\" value=\"`$tmp.DRBPerCUUPForSNSSAI`\"/>\n<parameter name=\"field7\" value=\"tmp.rRMPolicyDedicatedRatio.CUUP1 \"/>\n<parameter name=\"field8\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP1`\"/>\n<parameter name=\"field9\" value=\"tmp.rRMPolicyDedicatedRatio.CUUP\"/>\n<parameter name=\"field10\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field11\" value=\"tmp.maxNumberOfConns\"/>\n<parameter name=\"field12\" value=\"`$tmp.maxNumberOfConns-CUUP`\"/>",
"comments": "",
"outputs": 1,
- "x": 3144.7712783813477,
- "y": 3644.9611110687256,
- "z": "31bddc6e.92f4e4",
+ "x": 3178.076820373535,
+ "y": 3751.2111320495605,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "951a0f11.4543b",
+ "id": "50fa0621.0df758",
"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": 3902.770606994629,
- "y": 3824.8391535282135,
- "z": "31bddc6e.92f4e4",
+ "x": 3936.0761489868164,
+ "y": 3931.0891745090485,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "5ef4a2e0.956c1c",
+ "id": "e395e6a1.9f22d8",
"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": 3908.9935340881348,
- "y": 3912.515090942383,
- "z": "31bddc6e.92f4e4",
+ "x": 3942.2990760803223,
+ "y": 4018.765111923218,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "4fa04909.4d61f8",
+ "id": "e98162b5.f4361",
"type": "comment",
"name": "Assumption pLMNId in configDB resp",
"info": "Assumed that configDB responnse will include pLMNId...currently, it is not there",
"comments": "",
- "x": 3929.993377685547,
- "y": 3870.5148088932037,
- "z": "31bddc6e.92f4e4",
+ "x": 3963.2989196777344,
+ "y": 3976.7648298740387,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "482c00b3.a99bb",
+ "id": "d2a1e3b1.98234",
"type": "for",
"name": "For list of cells",
"xml": "<for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >",
"comments": "",
"outputs": 1,
- "x": 2380.750099182129,
- "y": 617.7604541778564,
- "z": "31bddc6e.92f4e4",
+ "x": 2414.0556411743164,
+ "y": 724.0104751586914,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "fa9a1c79.c47f9",
- "8e69f314.3d09"
+ "d7341791.95e058",
+ "cd2371ec.3ab72"
]
]
},
{
- "id": "8e69f314.3d09",
+ "id": "cd2371ec.3ab72",
"type": "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": 2553.7499771118164,
- "y": 650.7604084014893,
- "z": "31bddc6e.92f4e4",
+ "x": 2587.055519104004,
+ "y": 757.0104293823242,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "fa9a1c79.c47f9",
+ "id": "d7341791.95e058",
"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": 2559.7500381469727,
- "y": 551.4270191192627,
- "z": "31bddc6e.92f4e4",
+ "x": 2593.05558013916,
+ "y": 657.6770401000977,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "50d46848.fea658",
+ "id": "19ed9e08.dbfce2",
"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": 815.7500267028809,
- "y": 134.7603702545166,
- "z": "31bddc6e.92f4e4",
+ "x": 849.0555686950684,
+ "y": 241.01039123535156,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "2b4f5d02.d7a8a2",
+ "id": "6f40dd43.c32694",
"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": 2587.749755859375,
- "y": 2043.0939636230469,
- "z": "31bddc6e.92f4e4",
+ "x": 2621.0552978515625,
+ "y": 2149.343984603882,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "fca4410e.81eec",
+ "id": "eedce730.f46188",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 443.743935585022,
- "y": 2524.514754295349,
- "z": "31bddc6e.92f4e4",
+ "x": 477.0494775772095,
+ "y": 2630.764775276184,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "55d7d722.afc748",
- "a02d6d9b.7741d",
- "38713bdf.fc26f4",
- "6638da42.a61714"
+ "21b989ed.f1a2e6",
+ "de984f8d.bc2a1",
+ "39ecab71.a7b734",
+ "a4d56b0e.208708"
]
]
},
{
- "id": "38713bdf.fc26f4",
+ "id": "39ecab71.a7b734",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
"comments": "",
- "x": 751.7451372146606,
- "y": 2390.4143056869507,
- "z": "31bddc6e.92f4e4",
+ "x": 785.0506792068481,
+ "y": 2496.6643266677856,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "55d7d722.afc748",
+ "id": "21b989ed.f1a2e6",
"type": "record",
"name": "record SO reply parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$prop.restapi.so.user`\" />\n<parameter name='field8' value=\"`$prop.restapi.so.password`\" />\n<parameter name='field9' value=\"`$tmp.DUList.response_length`\" />\n<parameter name='field10' value=\"`$tmp.CUCPList.response`\" />\n<parameter name='field11' value=\"`$tmp.CUUPList.response`\" />\n<parameter name='field12' value=\"`$tmp.DUList.response`\" />",
"comments": "",
"outputs": 1,
- "x": 720.7439126968384,
- "y": 2528.514937400818,
- "z": "31bddc6e.92f4e4",
+ "x": 754.0494546890259,
+ "y": 2634.764958381653,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "a02d6d9b.7741d",
+ "id": "de984f8d.bc2a1",
"type": "execute",
"name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 589.7440118789673,
- "y": 2645.51464176178,
- "z": "31bddc6e.92f4e4",
+ "x": 623.0495538711548,
+ "y": 2751.7646627426147,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8eb44ef7.0e68e",
- "a6f444a.e2714b8"
+ "9e984ec3.d555b",
+ "286164d1.9a2a0c"
]
]
},
{
- "id": "8eb44ef7.0e68e",
+ "id": "9e984ec3.d555b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 754.7440118789673,
- "y": 2625.5146408081055,
- "z": "31bddc6e.92f4e4",
+ "x": 788.0495538711548,
+ "y": 2731.7646617889404,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "390993f4.f32f9c"
+ "c4cb02b3.0c723"
]
]
},
{
- "id": "a6f444a.e2714b8",
+ "id": "286164d1.9a2a0c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 746.7439050674438,
- "y": 2698.514591217041,
- "z": "31bddc6e.92f4e4",
+ "x": 780.0494470596313,
+ "y": 2804.764612197876,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c970aa9b.8e53e8"
+ "b5c2b606.c1cc08"
]
]
},
{
- "id": "c970aa9b.8e53e8",
+ "id": "b5c2b606.c1cc08",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 892.743748664856,
- "y": 2703.514699935913,
- "z": "31bddc6e.92f4e4",
+ "x": 926.0492906570435,
+ "y": 2809.764720916748,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c2dd6f6f.5e324"
+ "3903e2e2.71dede"
]
]
},
{
- "id": "390993f4.f32f9c",
+ "id": "c4cb02b3.0c723",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 903.7439126968384,
- "y": 2621.5147762298584,
- "z": "31bddc6e.92f4e4",
+ "x": 937.0494546890259,
+ "y": 2727.7647972106934,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "9217688c.4b1008",
- "f20e3a7c.d71c38"
+ "8d1db5f8.9b5638",
+ "a2c26d26.d596b"
]
]
},
{
- "id": "9217688c.4b1008",
+ "id": "8d1db5f8.9b5638",
"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": 1050.7435312271118,
- "y": 2632.5145177841187,
- "z": "31bddc6e.92f4e4",
+ "x": 1084.0490732192993,
+ "y": 2738.7645387649536,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "c2dd6f6f.5e324",
+ "id": "3903e2e2.71dede",
"type": "record",
"name": "record",
"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=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 1053.7436685562134,
- "y": 2709.5145921707153,
- "z": "31bddc6e.92f4e4",
+ "x": 1087.0492105484009,
+ "y": 2815.7646131515503,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "66a87a6d.5e0334",
+ "id": "43e9fff0.abfbe",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5629.240093231201,
- "y": 3318.760555267334,
- "z": "31bddc6e.92f4e4",
+ "x": 5662.545635223389,
+ "y": 3425.010576248169,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8e91d256.3a991",
- "52e6e776.6b8ff8",
- "c39f2a40.0d4338"
+ "e11c6ea.e9bb39",
+ "d763cd35.6041c",
+ "7b7eb1f.6026e5"
]
]
},
{
- "id": "8e91d256.3a991",
+ "id": "e11c6ea.e9bb39",
"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": 5947.241069793701,
- "y": 3242.660213470459,
- "z": "31bddc6e.92f4e4",
+ "x": 5980.546611785889,
+ "y": 3348.910234451294,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "52e6e776.6b8ff8",
+ "id": "d763cd35.6041c",
"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": 5922.2399559021,
- "y": 3339.7608909606934,
- "z": "31bddc6e.92f4e4",
+ "x": 5955.545497894287,
+ "y": 3446.0109119415283,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c39f2a40.0d4338",
+ "id": "7b7eb1f.6026e5",
"type": "execute",
"name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 5837.239967346191,
- "y": 3436.760768890381,
- "z": "31bddc6e.92f4e4",
+ "x": 5870.545509338379,
+ "y": 3543.010789871216,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "3973db50.db4944",
- "6ca09d2d.2b81d4"
+ "a1809480.8bbfb8",
+ "ad1e9a16.a64ed8"
]
]
},
{
- "id": "3973db50.db4944",
+ "id": "a1809480.8bbfb8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 6063.23997592926,
- "y": 3413.7607378959656,
- "z": "31bddc6e.92f4e4",
+ "x": 6096.545517921448,
+ "y": 3520.0107588768005,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b2f52415.77f748"
+ "830a0de8.dd31e"
]
]
},
{
- "id": "6ca09d2d.2b81d4",
+ "id": "ad1e9a16.a64ed8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 6053.23983001709,
- "y": 3521.7606773376465,
- "z": "31bddc6e.92f4e4",
+ "x": 6086.545372009277,
+ "y": 3628.0106983184814,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "d4c09302.533e8"
+ "da24b1ad.9b4e"
]
]
},
{
- "id": "d4c09302.533e8",
+ "id": "da24b1ad.9b4e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 6203.239616394043,
- "y": 3540.7607383728027,
- "z": "31bddc6e.92f4e4",
+ "x": 6236.5451583862305,
+ "y": 3647.0107593536377,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "7718eeb.9773a1"
+ "3bdbfa8c.d225f6"
]
]
},
{
- "id": "b2f52415.77f748",
+ "id": "830a0de8.dd31e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 6214.239845275879,
- "y": 3408.760859966278,
- "z": "31bddc6e.92f4e4",
+ "x": 6247.545387268066,
+ "y": 3515.010880947113,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c0cbe14e.3bfef"
+ "fed6c94f.f1dca8"
]
]
},
{
- "id": "c0cbe14e.3bfef",
+ "id": "fed6c94f.f1dca8",
"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": 6380.239524841309,
- "y": 3411.7606773376465,
- "z": "31bddc6e.92f4e4",
+ "x": 6413.545066833496,
+ "y": 3518.0106983184814,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "7718eeb.9773a1",
+ "id": "3bdbfa8c.d225f6",
"type": "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": 6367.239631652832,
- "y": 3546.7606773376465,
- "z": "31bddc6e.92f4e4",
+ "x": 6400.5451736450195,
+ "y": 3653.0106983184814,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "9b04b4b9.e26cc8",
+ "id": "1f9c65b6.02cd8a",
"type": "block",
"name": "nearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1708.7399368286133,
- "y": 896.0938358306885,
- "z": "31bddc6e.92f4e4",
+ "x": 1742.0454788208008,
+ "y": 1002.3438568115234,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "698340b7.95f0b",
- "ecf2b536.b43778",
- "5253cdae.f2a184",
- "14249543.1865eb",
- "f28d8b51.14d098",
- "a0ae288c.6dddb8",
- "459edc30.350eb4",
- "7576daab.ddacb4"
+ "d75a0959.3ebb28",
+ "a1727cbf.de1a7",
+ "e3d2bb2c.121928",
+ "911e2882.b267a8",
+ "6109ce31.790db",
+ "f4e14609.f8d008",
+ "35994541.ad761a",
+ "90eda30c.3bf6a"
]
]
},
{
- "id": "2cddbb62.24c094",
+ "id": "5246f2ec.b0b8ec",
"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": 1593.7396926879883,
- "y": 639.4271297454834,
- "z": "31bddc6e.92f4e4",
+ "x": 1627.0452346801758,
+ "y": 745.6771507263184,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "1e215b54.d1fd75",
+ "id": "2997ccc9.716304",
"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": 1651.7397232055664,
- "y": 698.4270992279053,
- "z": "31bddc6e.92f4e4",
+ "x": 1685.045265197754,
+ "y": 804.6771202087402,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "698340b7.95f0b",
+ "id": "d75a0959.3ebb28",
"type": "set",
"name": "Calculate parms",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />",
"comments": "",
- "x": 2112.073066711426,
- "y": 747.4271602630615,
- "z": "31bddc6e.92f4e4",
+ "x": 2145.3786087036133,
+ "y": 853.6771812438965,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "ecf2b536.b43778",
+ "id": "a1727cbf.de1a7",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"Calculated dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"Calculated maxNumberOfConns for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC1.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>",
"comments": "",
"outputs": 1,
- "x": 2064.406436920166,
- "y": 904.0940551757812,
- "z": "31bddc6e.92f4e4",
+ "x": 2097.7119789123535,
+ "y": 1010.3440761566162,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "5253cdae.f2a184",
+ "id": "e3d2bb2c.121928",
"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": 1798.406394958496,
- "y": 1629.4271049499512,
- "z": "31bddc6e.92f4e4",
+ "x": 1831.7119369506836,
+ "y": 1735.6771259307861,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "ccfdc6e4.ecc4a8",
- "f14cacdf.d4853"
+ "c9a03d16.38179",
+ "b734b73a.d51358"
]
]
},
{
- "id": "ccfdc6e4.ecc4a8",
+ "id": "c9a03d16.38179",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2453.4070053100586,
- "y": 1490.4273490905762,
- "z": "31bddc6e.92f4e4",
+ "x": 2486.712547302246,
+ "y": 1596.6773700714111,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "d68e78f8.556d88"
+ "42b8ad65.a61524"
]
]
},
{
- "id": "f14cacdf.d4853",
+ "id": "b734b73a.d51358",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2658.4070053100586,
- "y": 1588.4272270202637,
- "z": "31bddc6e.92f4e4",
+ "x": 2691.712547302246,
+ "y": 1694.6772480010986,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "89921f68.bd454"
+ "38d54e8d.4b2232"
]
]
},
{
- "id": "89921f68.bd454",
+ "id": "38d54e8d.4b2232",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2811.4067611694336,
- "y": 1577.4273490905762,
- "z": "31bddc6e.92f4e4",
+ "x": 2844.712303161621,
+ "y": 1683.6773700714111,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "847e71f9.bd7d9"
+ "ba025a6c.0dc5e8"
]
]
},
{
- "id": "847e71f9.bd7d9",
+ "id": "ba025a6c.0dc5e8",
"type": "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": 2975.4070053100586,
- "y": 1581.4274711608887,
- "z": "31bddc6e.92f4e4",
+ "x": 3008.712547302246,
+ "y": 1687.6774921417236,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "2ee5a246.e4ae5e",
+ "id": "4acee990.e8a978",
"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": 2868.4067611694336,
- "y": 1525.4273188114166,
- "z": "31bddc6e.92f4e4",
+ "x": 2901.712303161621,
+ "y": 1631.6773397922516,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "d68e78f8.556d88",
+ "id": "42b8ad65.a61524",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2815.4072494506836,
- "y": 1424.4273490905762,
- "z": "31bddc6e.92f4e4",
+ "x": 2848.712791442871,
+ "y": 1530.6773700714111,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "2ee5a246.e4ae5e",
- "e1463232.79e2e",
- "66a87a6d.5e0334"
+ "4acee990.e8a978",
+ "37e7b87f.ec0988",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "e1463232.79e2e",
+ "id": "37e7b87f.ec0988",
"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": 2939.4070053100586,
- "y": 1383.538341730833,
- "z": "31bddc6e.92f4e4",
+ "x": 2972.712547302246,
+ "y": 1489.788362711668,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "185b7860.0df718",
+ "id": "3f006895.7f8de8",
"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": 3068.771251678467,
- "y": 3201.291792869568,
- "z": "31bddc6e.92f4e4",
+ "x": 3102.0767936706543,
+ "y": 3307.541813850403,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "5293dd57.cb4384",
- "4a259a45.b004e4"
+ "fa2483e5.8c8a6",
+ "aaf5ff26.6e498"
]
]
},
{
- "id": "5293dd57.cb4384",
+ "id": "fa2483e5.8c8a6",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3932.770839691162,
- "y": 3241.2918643951416,
- "z": "31bddc6e.92f4e4",
+ "x": 3966.0763816833496,
+ "y": 3347.5418853759766,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c5de671e.67f058"
+ "84aefe83.903fb"
]
]
},
{
- "id": "c5de671e.67f058",
+ "id": "84aefe83.903fb",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4160.771083831787,
- "y": 3233.2918643951416,
- "z": "31bddc6e.92f4e4",
+ "x": 4194.076625823975,
+ "y": 3339.5418853759766,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "dc4a3d5b.317f5",
- "b4128647.0adca8",
- "66a87a6d.5e0334"
+ "eb79817a.c3d98",
+ "d280fd58.42fdb",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "b4128647.0adca8",
+ "id": "d280fd58.42fdb",
"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": 4275.770839691162,
- "y": 3146.4027042388916,
- "z": "31bddc6e.92f4e4",
+ "x": 4309.07638168335,
+ "y": 3252.6527252197266,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "dc4a3d5b.317f5",
+ "id": "eb79817a.c3d98",
"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": 4343.770839691162,
- "y": 3253.2916202545166,
- "z": "31bddc6e.92f4e4",
+ "x": 4377.07638168335,
+ "y": 3359.5416412353516,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "4a259a45.b004e4",
+ "id": "aaf5ff26.6e498",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3937.770839691162,
- "y": 3289.2916202545166,
- "z": "31bddc6e.92f4e4",
+ "x": 3971.0763816833496,
+ "y": 3395.5416412353516,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "bb02605b.20166"
+ "cf1d7b1d.532dd8"
]
]
},
{
- "id": "bb02605b.20166",
+ "id": "cf1d7b1d.532dd8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4102.770839691162,
- "y": 3288.2918643951416,
- "z": "31bddc6e.92f4e4",
+ "x": 4136.07638168335,
+ "y": 3394.5418853759766,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "5022ff42.bad8c"
+ "9661cda.13ee23"
]
]
},
{
- "id": "5022ff42.bad8c",
+ "id": "9661cda.13ee23",
"type": "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": 4254.770839691162,
- "y": 3301.2918643951416,
- "z": "31bddc6e.92f4e4",
+ "x": 4288.07638168335,
+ "y": 3407.5418853759766,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "468e3df.8ba99c4",
+ "id": "ceda3611.738b98",
"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": 2529.73974609375,
- "y": 3272.7602672576904,
- "z": "31bddc6e.92f4e4",
+ "x": 2563.0452880859375,
+ "y": 3379.0102882385254,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "7076cc4b.baa534",
- "578aa57.849c45c"
+ "5fb4c33d.d46bdc",
+ "95e66b9.f586198"
]
]
},
{
- "id": "77147047.45798",
+ "id": "ea655e5b.c7c99",
"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": 4254.739986419678,
- "y": 3338.760585784912,
- "z": "31bddc6e.92f4e4",
+ "x": 4288.045528411865,
+ "y": 3445.010606765747,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "c3576560.944748",
+ "id": "e603ff85.93075",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4179.739765167236,
- "y": 3396.6497478485107,
- "z": "31bddc6e.92f4e4",
+ "x": 4213.045307159424,
+ "y": 3502.8997688293457,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "5846a7d8.b38b28",
- "77147047.45798",
- "66a87a6d.5e0334"
+ "f7523ff6.71de",
+ "ea655e5b.c7c99",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "5846a7d8.b38b28",
+ "id": "f7523ff6.71de",
"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": 4346.739879608154,
- "y": 3430.649209022522,
- "z": "31bddc6e.92f4e4",
+ "x": 4380.045421600342,
+ "y": 3536.899230003357,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "7ea675cb.f14f5c",
+ "id": "9d51eb18.62f608",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated RRMPolicy CUCP info in ConfigDB\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />",
"comments": "",
"outputs": 1,
- "x": 3930.73978805542,
- "y": 3464.649387359619,
- "z": "31bddc6e.92f4e4",
+ "x": 3964.0453300476074,
+ "y": 3570.899408340454,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "509bc2ed.a56b5c",
+ "id": "c870d545.1df838",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3771.7403717041016,
- "y": 3420.649966239929,
- "z": "31bddc6e.92f4e4",
+ "x": 3805.045913696289,
+ "y": 3526.899987220764,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "7ea675cb.f14f5c",
- "1d8c20d1.e76c7f"
+ "9d51eb18.62f608",
+ "f3d74d4a.87b"
]
]
},
{
- "id": "578aa57.849c45c",
+ "id": "95e66b9.f586198",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3678.740036010742,
- "y": 3352.64838886261,
- "z": "31bddc6e.92f4e4",
+ "x": 3712.0455780029297,
+ "y": 3458.898409843445,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "509bc2ed.a56b5c"
+ "c870d545.1df838"
]
]
},
{
- "id": "7076cc4b.baa534",
+ "id": "5fb4c33d.d46bdc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3679.739990234375,
- "y": 3306.649528026581,
- "z": "31bddc6e.92f4e4",
+ "x": 3713.0455322265625,
+ "y": 3412.8995490074158,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c3576560.944748"
+ "e603ff85.93075"
]
]
},
{
- "id": "1d8c20d1.e76c7f",
+ "id": "f3d74d4a.87b",
"type": "set",
"name": "Increment RRMPolicyID",
"xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
"comments": "",
- "x": 3982.9722023010254,
- "y": 3416.2150707244873,
- "z": "31bddc6e.92f4e4",
+ "x": 4016.277744293213,
+ "y": 3522.4650917053223,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "7fdef424.c87d8c",
+ "id": "f3a2bcbf.8f26c",
"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": 3211.271240234375,
- "y": 5235.291473388672,
- "z": "31bddc6e.92f4e4",
+ "x": 3244.5767822265625,
+ "y": 5341.541494369507,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b13259a7.104668",
- "3c7be5e5.f1e28a"
+ "fb3dbdf6.955a4",
+ "207b1452.a7a7bc"
]
]
},
{
- "id": "b13259a7.104668",
+ "id": "fb3dbdf6.955a4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3943.27099609375,
- "y": 5329.291961669922,
- "z": "31bddc6e.92f4e4",
+ "x": 3976.5765380859375,
+ "y": 5435.541982650757,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "acb2f0f.fae091"
+ "aab078e4.42c958"
]
]
},
{
- "id": "3c7be5e5.f1e28a",
+ "id": "207b1452.a7a7bc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4092.270839691162,
- "y": 5493.291620254517,
- "z": "31bddc6e.92f4e4",
+ "x": 4125.57638168335,
+ "y": 5599.541641235352,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "6d4762b8.821e9c"
+ "9ae33420.b55878"
]
]
},
{
- "id": "acb2f0f.fae091",
+ "id": "aab078e4.42c958",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4258.27099609375,
- "y": 5333.291961669922,
- "z": "31bddc6e.92f4e4",
+ "x": 4291.5765380859375,
+ "y": 5439.541982650757,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c512462e.10afa8",
- "b0e63396.e6e5a",
- "66a87a6d.5e0334"
+ "a6237649.57a2a8",
+ "6a1d6fa9.97303",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "6d4762b8.821e9c",
+ "id": "9ae33420.b55878",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4222.270801544189,
- "y": 5531.291618347168,
- "z": "31bddc6e.92f4e4",
+ "x": 4255.576343536377,
+ "y": 5637.541639328003,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "bebfadb2.a8e7f"
+ "18bee052.c2aa5"
]
]
},
{
- "id": "bebfadb2.a8e7f",
+ "id": "18bee052.c2aa5",
"type": "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": 4347.270805358887,
- "y": 5501.291619300842,
- "z": "31bddc6e.92f4e4",
+ "x": 4380.576347351074,
+ "y": 5607.541640281677,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c512462e.10afa8",
+ "id": "a6237649.57a2a8",
"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": 4344.27099609375,
- "y": 5413.291473388672,
- "z": "31bddc6e.92f4e4",
+ "x": 4377.5765380859375,
+ "y": 5519.541494369507,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "b0e63396.e6e5a",
+ "id": "6a1d6fa9.97303",
"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": 4269.27099609375,
- "y": 5233.403289794922,
- "z": "31bddc6e.92f4e4",
+ "x": 4302.5765380859375,
+ "y": 5339.653310775757,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "db20d75d.ce0f88",
+ "id": "af642ec7.053e1",
"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": 4343.240531921387,
- "y": 5548.760533332825,
- "z": "31bddc6e.92f4e4",
+ "x": 4376.546073913574,
+ "y": 5655.01055431366,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "ada4f18d.169c3",
+ "id": "30126feb.a685b",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4286.239551544189,
- "y": 5611.649694442749,
- "z": "31bddc6e.92f4e4",
+ "x": 4319.545093536377,
+ "y": 5717.899715423584,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e2489529.b6c888",
- "db20d75d.ce0f88",
- "66a87a6d.5e0334"
+ "d83bb88e.c33068",
+ "af642ec7.053e1",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "e2489529.b6c888",
+ "id": "d83bb88e.c33068",
"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": 4407.240207672119,
- "y": 5675.649045944214,
- "z": "31bddc6e.92f4e4",
+ "x": 4440.545749664307,
+ "y": 5781.899066925049,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "d4be6336.cf825",
+ "id": "1236fff5.2c826",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3833.240036010742,
- "y": 5556.64838886261,
- "z": "31bddc6e.92f4e4",
+ "x": 3866.5455780029297,
+ "y": 5662.898409843445,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e7ce1da2.8a13c"
+ "4d93c90f.f04318"
]
]
},
{
- "id": "e7ce1da2.8a13c",
+ "id": "4d93c90f.f04318",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3803.240436553955,
- "y": 5645.649696350098,
- "z": "31bddc6e.92f4e4",
+ "x": 3836.5459785461426,
+ "y": 5751.899717330933,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "9647b14a.d965",
- "1f0ec6dd.ef96d9"
+ "edd71964.f62998",
+ "c63c14cd.2aed58"
]
]
},
{
- "id": "9647b14a.d965",
+ "id": "edd71964.f62998",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated RRMPolicy CUUP info in ConfigDB\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />",
"comments": "",
"outputs": 1,
- "x": 3959.2404403686523,
- "y": 5680.649698257446,
- "z": "31bddc6e.92f4e4",
+ "x": 3992.54598236084,
+ "y": 5786.899719238281,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "1f0ec6dd.ef96d9",
+ "id": "c63c14cd.2aed58",
"type": "set",
"name": "Increment RRMPolicyID",
"xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
"comments": "",
- "x": 4010.4728660583496,
- "y": 5610.214798927307,
- "z": "31bddc6e.92f4e4",
+ "x": 4043.778408050537,
+ "y": 5716.464819908142,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "bc78a26a.a6aa1",
+ "id": "a3e55510.78b598",
"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": 2913.239990234375,
- "y": 5419.760223388672,
- "z": "31bddc6e.92f4e4",
+ "x": 2946.5455322265625,
+ "y": 5526.010244369507,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "d4be6336.cf825",
- "bc4aea3e.bd7348"
+ "1236fff5.2c826",
+ "4c288654.97c208"
]
]
},
{
- "id": "bc4aea3e.bd7348",
+ "id": "4c288654.97c208",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3838.406337738037,
- "y": 5493.093866348267,
- "z": "31bddc6e.92f4e4",
+ "x": 3871.7118797302246,
+ "y": 5599.343887329102,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "ada4f18d.169c3"
+ "30126feb.a685b"
]
]
},
{
- "id": "f6e543ed.b731d",
+ "id": "ea361c3.cee77e",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2974.0746994018555,
- "y": 7154.431167125702,
- "z": "31bddc6e.92f4e4",
+ "x": 3007.380241394043,
+ "y": 7260.681188106537,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "54fcde3d.51a82",
- "bac17c31.f6a07",
- "24179795.306db8"
+ "c47caf0e.2a57",
+ "9afa36a0.b04028",
+ "2d36f6e8.33495a"
]
]
},
{
- "id": "54fcde3d.51a82",
+ "id": "c47caf0e.2a57",
"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": 3100.075355529785,
- "y": 7051.32960319519,
- "z": "31bddc6e.92f4e4",
+ "x": 3133.3808975219727,
+ "y": 7157.579624176025,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "bac17c31.f6a07",
+ "id": "9afa36a0.b04028",
"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": 3262.07470703125,
- "y": 7179.431167602539,
- "z": "31bddc6e.92f4e4",
+ "x": 3295.3802490234375,
+ "y": 7285.681188583374,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "24179795.306db8",
+ "id": "2d36f6e8.33495a",
"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": 3081.074306488037,
- "y": 7342.430560588837,
- "z": "31bddc6e.92f4e4",
+ "x": 3114.3798484802246,
+ "y": 7448.680581569672,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "5a3a158a.7f287c",
- "dd4b974d.052b68"
+ "c69c32e2.dab66",
+ "a10f6695.aa9f78"
]
]
},
{
- "id": "5a3a158a.7f287c",
+ "id": "c69c32e2.dab66",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3191.074794769287,
- "y": 7254.430316925049,
- "z": "31bddc6e.92f4e4",
+ "x": 3224.3803367614746,
+ "y": 7360.680337905884,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c61001ea.8d307"
+ "390a3702.a2b0f8"
]
]
},
{
- "id": "dd4b974d.052b68",
+ "id": "a10f6695.aa9f78",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3133.0746726989746,
- "y": 7428.430198192596,
- "z": "31bddc6e.92f4e4",
+ "x": 3166.380214691162,
+ "y": 7534.680219173431,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "ee722f3f.17e4b"
+ "18e8d0ff.de85ff"
]
]
},
{
- "id": "ee722f3f.17e4b",
+ "id": "18e8d0ff.de85ff",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3264.074733734131,
- "y": 7383.431175470352,
- "z": "31bddc6e.92f4e4",
+ "x": 3297.3802757263184,
+ "y": 7489.681196451187,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "15701927.bacde7"
+ "de926c9f.09fe3"
]
]
},
{
- "id": "c61001ea.8d307",
+ "id": "390a3702.a2b0f8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3300.074977874756,
- "y": 7323.431049823761,
- "z": "31bddc6e.92f4e4",
+ "x": 3333.3805198669434,
+ "y": 7429.681070804596,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "400844d1.94f3bc"
+ "a8ec5b12.746bc8"
]
]
},
{
- "id": "400844d1.94f3bc",
+ "id": "a8ec5b12.746bc8",
"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": 3389.074062347412,
- "y": 7255.431171417236,
- "z": "31bddc6e.92f4e4",
+ "x": 3422.3796043395996,
+ "y": 7361.681192398071,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "15701927.bacde7",
+ "id": "de926c9f.09fe3",
"type": "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": 3297.0748558044434,
- "y": 7465.430443286896,
- "z": "31bddc6e.92f4e4",
+ "x": 3330.380397796631,
+ "y": 7571.680464267731,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "e6f86b7.2174698",
+ "id": "7b7a7410.5e975c",
"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": 2366.0741577148438,
- "y": 6914.7638421058655,
- "z": "31bddc6e.92f4e4",
+ "x": 2399.3796997070312,
+ "y": 7021.0138630867,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "97008b18.a73178",
- "461677bf.ac5688"
+ "af443bcb.1c9fb8",
+ "223367ec.f850c8"
]
]
},
{
- "id": "97008b18.a73178",
+ "id": "af443bcb.1c9fb8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2531.073715209961,
- "y": 6975.763192176819,
- "z": "31bddc6e.92f4e4",
+ "x": 2564.3792572021484,
+ "y": 7082.013213157654,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "f78bfa4d.4350e8"
+ "f32b60fc.c5c97"
]
]
},
{
- "id": "461677bf.ac5688",
+ "id": "223367ec.f850c8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2581.074203491211,
- "y": 6887.763189077377,
- "z": "31bddc6e.92f4e4",
+ "x": 2614.3797454833984,
+ "y": 6994.013210058212,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "f4eaf28a.f9642"
+ "3f4313dd.77b5dc"
]
]
},
{
- "id": "f78bfa4d.4350e8",
+ "id": "f32b60fc.c5c97",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2771.0733947753906,
- "y": 6943.764492511749,
- "z": "31bddc6e.92f4e4",
+ "x": 2804.378936767578,
+ "y": 7050.014513492584,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "c8641e05.94a71",
- "830f1fd.e1002e",
- "f6e543ed.b731d"
+ "8c43a78.034ad58",
+ "c284812.ce66b8",
+ "ea361c3.cee77e"
]
]
},
{
- "id": "f4eaf28a.f9642",
+ "id": "3f4313dd.77b5dc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2744.0733947753906,
- "y": 6876.763188362122,
- "z": "31bddc6e.92f4e4",
+ "x": 2777.378936767578,
+ "y": 6983.0132093429565,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "3e200c7b.43ea54"
+ "c013781.c643f88"
]
]
},
{
- "id": "3e200c7b.43ea54",
+ "id": "c013781.c643f88",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated DU info in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 2921.073398590088,
- "y": 6894.760584831238,
- "z": "31bddc6e.92f4e4",
+ "x": 2954.3789405822754,
+ "y": 7001.010605812073,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c8641e05.94a71",
+ "id": "8c43a78.034ad58",
"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": 2715.073226928711,
- "y": 7028.763193130493,
- "z": "31bddc6e.92f4e4",
+ "x": 2748.3787689208984,
+ "y": 7135.013214111328,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "830f1fd.e1002e",
+ "id": "c284812.ce66b8",
"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": 2936.073402404785,
- "y": 6957.873867034912,
- "z": "31bddc6e.92f4e4",
+ "x": 2969.3789443969727,
+ "y": 7064.123888015747,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "8eefb89d.e77ed8",
+ "id": "f772fde7.45a8e",
"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": 2735.043119430542,
- "y": 7195.232110977173,
- "z": "31bddc6e.92f4e4",
+ "x": 2768.3486614227295,
+ "y": 7301.482131958008,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "4225598a.b281e8",
+ "id": "e4d0443f.304868",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2603.042137145996,
- "y": 7250.119970321655,
- "z": "31bddc6e.92f4e4",
+ "x": 2636.3476791381836,
+ "y": 7356.36999130249,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b99a50ea.e814c",
- "8eefb89d.e77ed8",
- "f6e543ed.b731d"
+ "9639750b.a150f8",
+ "f772fde7.45a8e",
+ "ea361c3.cee77e"
]
]
},
{
- "id": "b99a50ea.e814c",
+ "id": "9639750b.a150f8",
"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": 2760.042953491211,
- "y": 7298.120135307312,
- "z": "31bddc6e.92f4e4",
+ "x": 2793.3484954833984,
+ "y": 7404.370156288147,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "fab55e02.199fc",
+ "id": "4cd76ed.442f99",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2487.0427856445312,
- "y": 7038.118661880493,
- "z": "31bddc6e.92f4e4",
+ "x": 2520.3483276367188,
+ "y": 7144.368682861328,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "bf9269f9.bafb08"
+ "e62138e9.c4c3a8"
]
]
},
{
- "id": "bf9269f9.bafb08",
+ "id": "e62138e9.c4c3a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2575.0434379577637,
- "y": 7141.119316101074,
- "z": "31bddc6e.92f4e4",
+ "x": 2608.348979949951,
+ "y": 7247.369337081909,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "8d18e590.f2c8b8",
- "3af6bc11.bd5b74"
+ "f9a3c636.a64f28",
+ "6cc38ae7.1633f4"
]
]
},
{
- "id": "8d18e590.f2c8b8",
+ "id": "f9a3c636.a64f28",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated RRMPolicy DU info in ConfigDB\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />",
"comments": "",
"outputs": 1,
- "x": 2719.043769836426,
- "y": 7141.12013053894,
- "z": "31bddc6e.92f4e4",
+ "x": 2752.3493118286133,
+ "y": 7247.370151519775,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "3af6bc11.bd5b74",
+ "id": "6cc38ae7.1633f4",
"type": "set",
"name": "Increment RRMPolicyID",
"xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
"comments": "",
- "x": 2745.2755393981934,
- "y": 7086.685070037842,
- "z": "31bddc6e.92f4e4",
+ "x": 2778.581081390381,
+ "y": 7192.935091018677,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "895f527d.d940b",
+ "id": "3e62eb56.c77764",
"type": "execute",
"name": " RRMPolicy gNBDU ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-DU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-DU-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 2304.0428924560547,
- "y": 7133.230644226074,
- "z": "31bddc6e.92f4e4",
+ "x": 2337.348434448242,
+ "y": 7239.480665206909,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "fab55e02.199fc",
- "b6fd820a.f16da"
+ "4cd76ed.442f99",
+ "12a6b880.fd3a17"
]
]
},
{
- "id": "b6fd820a.f16da",
+ "id": "12a6b880.fd3a17",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2444.2089233398438,
- "y": 7240.563982009888,
- "z": "31bddc6e.92f4e4",
+ "x": 2477.5144653320312,
+ "y": 7346.814002990723,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "4225598a.b281e8"
+ "e4d0443f.304868"
]
]
},
{
- "id": "723f389b.c9aee8",
+ "id": "cde223c2.7eeac",
"type": "for",
"name": "For cellCU List",
"xml": "<for index='idCell' start='0' end='`$tmp.cellCUListEntries `' >",
"comments": "",
"outputs": 1,
- "x": 2405.73974609375,
- "y": 2337.760467529297,
- "z": "31bddc6e.92f4e4",
+ "x": 2439.0452880859375,
+ "y": 2444.010488510132,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "d92187a4.7413b8"
+ "abb1f347.e4d5"
]
]
},
{
- "id": "f5854662.99b7c8",
+ "id": "ec459266.1687d",
"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": 2714.73974609375,
- "y": 2141.760467529297,
- "z": "31bddc6e.92f4e4",
+ "x": 2748.0452880859375,
+ "y": 2248.010488510132,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "9b7dfa39.f41048",
+ "id": "53bf40e4.de041",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$tmp.gNBCUCPList.cellLocalId == $tmp.cellLocalId`\"> \n",
"comments": "",
"outputs": 1,
- "x": 2653.740234375,
- "y": 2393.760467529297,
- "z": "31bddc6e.92f4e4",
+ "x": 2687.0457763671875,
+ "y": 2500.010488510132,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "a9b92d8e.d993e"
+ "f9c7788c.822448"
]
]
},
{
- "id": "a9b92d8e.d993e",
+ "id": "f9c7788c.822448",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2757.740234375,
- "y": 2302.760467529297,
- "z": "31bddc6e.92f4e4",
+ "x": 2791.0457763671875,
+ "y": 2409.010488510132,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "a2be3521.533978"
+ "f1beccb7.9b84e"
]
]
},
{
- "id": "a2be3521.533978",
+ "id": "f1beccb7.9b84e",
"type": "block",
"name": "UpdateCell",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2835.73974609375,
- "y": 2214.760467529297,
- "z": "31bddc6e.92f4e4",
+ "x": 2869.0452880859375,
+ "y": 2321.010488510132,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "43de4319.f2835c",
- "42670d1b.290fc4",
- "9eeec0a0.6b81b",
- "3720d02.3d9933",
- "693ce36a.89a61c",
- "185b7860.0df718",
- "7233cdcc.752724",
- "9897c340.16354",
- "ee67a809.993f68",
- "468e3df.8ba99c4"
+ "187d9e29.2ec5c2",
+ "1c9c9154.0f3fdf",
+ "17779f4e.286261",
+ "ab4851e7.0f9ee",
+ "44aa82b6.04d01c",
+ "3f006895.7f8de8",
+ "e309ba57.6c6788",
+ "2c479225.b4d6de",
+ "3c04bde7.59dfb2",
+ "ceda3611.738b98"
]
]
},
{
- "id": "d92187a4.7413b8",
+ "id": "abb1f347.e4d5",
"type": "block",
"name": "Block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2519.739501953125,
- "y": 2249.760467529297,
- "z": "31bddc6e.92f4e4",
+ "x": 2553.0450439453125,
+ "y": 2356.010488510132,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "f5854662.99b7c8",
- "9b7dfa39.f41048"
+ "ec459266.1687d",
+ "53bf40e4.de041"
]
]
},
{
- "id": "a6d601ba.ec478",
+ "id": "ff78794a.ef5ea8",
"type": "for",
"name": "For cellDU List",
"xml": "<for index='idCell' start='0' end='`$tmp.cellDUListEntries`' >",
"comments": "",
"outputs": 1,
- "x": 2746.9942932128906,
- "y": 6044.766914367676,
- "z": "31bddc6e.92f4e4",
+ "x": 2780.299835205078,
+ "y": 6151.016935348511,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "39421f45.02d9a",
- "fb18168b.716488"
+ "fe2f2180.a9269",
+ "384553a9.a2a01c"
]
]
},
{
- "id": "27b39eb1.609b52",
+ "id": "50f01209.22749c",
"type": "execute",
"name": "gNBDUList.cellLocalId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBDUList.cellLocalId' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id3 + ']'`\" />",
"comments": "",
"outputs": 1,
- "x": 2864.9946212768555,
- "y": 6121.764312744141,
- "z": "31bddc6e.92f4e4",
+ "x": 2898.300163269043,
+ "y": 6228.014333724976,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "4c21699b.3d4ae8",
+ "id": "756583b6.6618bc",
"type": "switchNode",
"name": "switch",
"xml": "<switch test=\"`$tmp.gNBDUList.cellLocalId == $tmp.cellLocalId`\">",
"comments": "",
"outputs": 1,
- "x": 2769.993980407715,
- "y": 6231.764316558838,
- "z": "31bddc6e.92f4e4",
+ "x": 2803.2995223999023,
+ "y": 6338.014337539673,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "2cd9428f.6a27ae"
+ "517a64ea.8e549c"
]
]
},
{
- "id": "2cd9428f.6a27ae",
+ "id": "517a64ea.8e549c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2983.9943084716797,
- "y": 6189.764316558838,
- "z": "31bddc6e.92f4e4",
+ "x": 3017.299850463867,
+ "y": 6296.014337539673,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b7851daf.42887"
+ "6f06f096.c304b"
]
]
},
{
- "id": "b7851daf.42887",
+ "id": "6f06f096.c304b",
"type": "block",
"name": "UpdateCell",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3151.9946365356445,
- "y": 6198.764969825745,
- "z": "31bddc6e.92f4e4",
+ "x": 3185.300178527832,
+ "y": 6305.01499080658,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "dc885bdf.64ac08",
- "e6e49003.d5a5",
- "b7d90552.4f9088"
+ "3a7d24e4.71829c",
+ "d6bfe081.3e2f3",
+ "2314bf60.abe34"
]
]
},
{
- "id": "39421f45.02d9a",
+ "id": "fe2f2180.a9269",
"type": "block",
"name": "Block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2527.993965148926,
- "y": 6172.764314651489,
- "z": "31bddc6e.92f4e4",
+ "x": 2561.2995071411133,
+ "y": 6279.014335632324,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "27b39eb1.609b52",
- "4c21699b.3d4ae8",
- "4e2a9c06.892864"
+ "50f01209.22749c",
+ "756583b6.6618bc",
+ "e87ad1e6.6de69"
]
]
},
{
- "id": "caa7ac88.f72a6",
+ "id": "682dfdf2.a09a94",
"type": "block",
"name": "rrmPolicyRatioPerCELLCU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2225.7397384643555,
- "y": 1945.7604675292969,
- "z": "31bddc6e.92f4e4",
+ "x": 2259.045280456543,
+ "y": 2052.010488510132,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "df339859.cd7108",
- "e6a94407.4cdb08",
- "15cfd76e.da6de9",
- "16357bcb.90eca4"
+ "8ab57c39.e5212",
+ "ee42ea5e.86d058",
+ "de7e3ad.6a5adc8",
+ "d0c86467.097018"
]
]
},
{
- "id": "df339859.cd7108",
+ "id": "8ab57c39.e5212",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CellCU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>\n<parameter name=\"field3\" value=\"maxNumberOfConnsPercellCU \"/>\n<parameter name=\"field4\" value=\"`$tmp.maxNumberOfConnsPercellCU`\"/>\n<parameter name=\"field5\" value=\"rRMPolicyDedicatedRatio.CellCU1 \"/>\n<parameter name=\"field6\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU1`\"/>",
"comments": "",
"outputs": 1,
- "x": 2380.7395668029785,
- "y": 2076.205026626587,
- "z": "31bddc6e.92f4e4",
+ "x": 2414.045108795166,
+ "y": 2182.455047607422,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "bcf57d53.05917",
+ "id": "4a387951.f6db68",
"type": "set",
"name": "Calculate for RRM1",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns-CUUP' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`' />\n",
"comments": "",
- "x": 3179.7402000427246,
- "y": 3374.7602109909058,
- "z": "31bddc6e.92f4e4",
+ "x": 3213.045742034912,
+ "y": 3481.0102319717407,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "a7e55b88.9f3938",
+ "id": "1be107b7.bce408",
"type": "set",
"name": "Calculate RRM Parms1",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
"comments": "",
- "x": 2563.740089416504,
- "y": 5332.762084007263,
- "z": "31bddc6e.92f4e4",
+ "x": 2597.0456314086914,
+ "y": 5439.012104988098,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "6b8f92e1.d3e39c",
+ "id": "2a1f5ef8.61f292",
"type": "set",
"name": "calculation10",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
"comments": "",
- "x": 2509.74015045166,
- "y": 5844.761839866638,
- "z": "31bddc6e.92f4e4",
+ "x": 2543.0456924438477,
+ "y": 5951.011860847473,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "f20e3a7c.d71c38",
+ "id": "a2c26d26.d596b",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1038.2541399002075,
- "y": 2536.504009246826,
- "z": "31bddc6e.92f4e4",
+ "x": 1071.559681892395,
+ "y": 2642.754030227661,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "6e5bd7f0.460b38",
+ "id": "5ac0fba4.e05764",
"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": 4034.7510986328125,
- "y": 7361.750188827515,
- "z": "31bddc6e.92f4e4",
+ "x": 4068.056640625,
+ "y": 7468.00020980835,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "2ee59766.3183e8",
- "93ff5f0e.d1aff"
+ "e8e33021.dad23",
+ "6aac16ca.963d48"
]
]
},
{
- "id": "2ee59766.3183e8",
+ "id": "e8e33021.dad23",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4459.750137329102,
- "y": 7351.7397747039795,
- "z": "31bddc6e.92f4e4",
+ "x": 4493.055679321289,
+ "y": 7457.989795684814,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "36d2a2ed.a2b1be"
+ "65dd09b0.9758f8"
]
]
},
{
- "id": "36d2a2ed.a2b1be",
+ "id": "65dd09b0.9758f8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4645.749492645264,
- "y": 7344.739772796631,
- "z": "31bddc6e.92f4e4",
+ "x": 4679.055034637451,
+ "y": 7450.989793777466,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "71ec7cd4.449e14"
+ "47eadd96.615a54"
]
]
},
{
- "id": "71ec7cd4.449e14",
+ "id": "47eadd96.615a54",
"type": "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": 4825.750152587891,
- "y": 7361.739772796631,
- "z": "31bddc6e.92f4e4",
+ "x": 4859.055694580078,
+ "y": 7467.989793777466,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "6638da42.a61714",
+ "id": "a4d56b0e.208708",
"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": 736.0836381912231,
- "y": 2435.5001821517944,
- "z": "31bddc6e.92f4e4",
+ "x": 769.3891801834106,
+ "y": 2541.7502031326294,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "17adcc01.db14f4",
+ "id": "43cf6d42.9d8564",
"type": "block",
"name": "Action Per DU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2077.250057220459,
- "y": 5910.083639621735,
- "z": "31bddc6e.92f4e4",
+ "x": 2110.5555992126465,
+ "y": 6016.33366060257,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "37bd151b.5b947a",
- "ed592596.55d168",
- "dbaff64f.d0cbd8",
- "cc88732c.bbd22"
+ "759bc67c.d0a178",
+ "ad3e4e54.09c4e",
+ "78e49ab0.99dd04",
+ "98fa4692.14fe28"
]
]
},
{
- "id": "97772f2.bb417d",
+ "id": "cf3ce850.7dfe18",
"type": "block",
"name": "Activies Per Call",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2569.916702270508,
- "y": 6005.0835518836975,
- "z": "31bddc6e.92f4e4",
+ "x": 2603.2222442626953,
+ "y": 6111.3335728645325,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "a6d601ba.ec478"
+ "ff78794a.ef5ea8"
]
]
},
{
- "id": "b7d90552.4f9088",
+ "id": "2314bf60.abe34",
"type": "block",
"name": "ConfigDB DU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2201.583915710449,
- "y": 6986.751162528992,
- "z": "31bddc6e.92f4e4",
+ "x": 2234.8894577026367,
+ "y": 7093.001183509827,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e6f86b7.2174698",
- "895f527d.d940b",
- "8ebf3662.c1bef8"
+ "7b7a7410.5e975c",
+ "3e62eb56.c77764",
+ "c89590a8.227f1"
]
]
},
{
- "id": "fb18168b.716488",
+ "id": "384553a9.a2a01c",
"type": "block",
"name": "Block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3022.9169540405273,
- "y": 6046.75054359436,
- "z": "31bddc6e.92f4e4",
+ "x": 3056.222496032715,
+ "y": 6153.000564575195,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "cba44296.54dd8",
- "fb95281e.12ec48",
- "7ec9d87.9722628"
+ "86313b29.5ee168",
+ "bca09be3.a79318",
+ "9c4d71d8.004f7"
]
]
},
{
- "id": "4e2a9c06.892864",
+ "id": "e87ad1e6.6de69",
"type": "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": 2798.917152404785,
- "y": 6168.750642776489,
- "z": "31bddc6e.92f4e4",
+ "x": 2832.2226943969727,
+ "y": 6275.000663757324,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "14249543.1865eb",
+ "id": "911e2882.b267a8",
"type": "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": 2068.250232696533,
- "y": 692.0834064483643,
- "z": "31bddc6e.92f4e4",
+ "x": 2101.5557746887207,
+ "y": 798.3334274291992,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "f28d8b51.14d098",
+ "id": "6109ce31.790db",
"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": 2093.916820526123,
- "y": 852.4168066978455,
- "z": "31bddc6e.92f4e4",
+ "x": 2127.2223625183105,
+ "y": 958.6668276786804,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "a0ae288c.6dddb8",
+ "id": "f4e14609.f8d008",
"type": "set",
"name": "Calculate parms",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`' />\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`' />\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />",
"comments": "",
- "x": 2115.916759490967,
- "y": 793.0833797454834,
- "z": "31bddc6e.92f4e4",
+ "x": 2149.2223014831543,
+ "y": 899.3334007263184,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "459edc30.350eb4",
+ "id": "35994541.ad761a",
"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": 2072.2501335144043,
- "y": 958.0834407806396,
- "z": "31bddc6e.92f4e4",
+ "x": 2105.555675506592,
+ "y": 1064.3334617614746,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "e6a94407.4cdb08",
+ "id": "ee42ea5e.86d058",
"type": "set",
"name": "calculation1",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.maxNumberOfConns / $tmp.cellCUListEntries`' />",
"comments": "",
- "x": 2431.5833129882812,
- "y": 1914.749984741211,
- "z": "31bddc6e.92f4e4",
+ "x": 2464.8888549804688,
+ "y": 2021.000005722046,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "15cfd76e.da6de9",
+ "id": "de7e3ad.6a5adc8",
"type": "set",
"name": "calculation2",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />",
"comments": "",
- "x": 2458.5833168029785,
- "y": 1955.4166526794434,
- "z": "31bddc6e.92f4e4",
+ "x": 2491.888858795166,
+ "y": 2061.6666736602783,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "16357bcb.90eca4",
+ "id": "d0c86467.097018",
"type": "set",
"name": "calculation3",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
"comments": "",
- "x": 2469.5832443237305,
- "y": 2006.4165954589844,
- "z": "31bddc6e.92f4e4",
+ "x": 2502.888786315918,
+ "y": 2112.6666164398193,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "19c19a35.5cad36",
+ "id": "93ac429d.73aba",
"type": "set",
"name": "Calculate for RRM2",
"xml": "<set>\n<parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns-CUUP*4`' />",
"comments": "",
- "x": 3205.781650543213,
- "y": 3448.281668663025,
- "z": "31bddc6e.92f4e4",
+ "x": 3239.0871925354004,
+ "y": 3554.53168964386,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "c953b38d.85576",
+ "id": "a22f23c2.f41a3",
"type": "set",
"name": "Calculate for RRM3",
"xml": "<set>\n<parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' />",
"comments": "",
- "x": 3219.7817764282227,
- "y": 3501.281545639038,
- "z": "31bddc6e.92f4e4",
+ "x": 3253.08731842041,
+ "y": 3607.531566619873,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "32cae5c5.7e7d1a",
+ "id": "afd8bf3d.07b45",
"type": "set",
"name": "calculation rrm4",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP1' value='`$tmp.DRBPerCUUPForSNSSAI * 100`' />",
"comments": "",
- "x": 3191.7812843322754,
- "y": 3539.2814245224,
- "z": "31bddc6e.92f4e4",
+ "x": 3225.086826324463,
+ "y": 3645.531445503235,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "9c9d24ce.6b8158",
+ "id": "38b7246b.48c55c",
"type": "set",
"name": "Calculate RRM Parms2",
"xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
"comments": "",
- "x": 2572.281349182129,
- "y": 5377.7821034789085,
- "z": "31bddc6e.92f4e4",
+ "x": 2605.5868911743164,
+ "y": 5484.0321244597435,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "8ba8984c.7273f8",
+ "id": "3f12b751.bbbcb8",
"type": "set",
"name": "Calculate RRM Parms3",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
"comments": "",
- "x": 2562.2814712524414,
- "y": 5432.781981408596,
- "z": "31bddc6e.92f4e4",
+ "x": 2595.587013244629,
+ "y": 5539.032002389431,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "30a32a4f.fc97b6",
+ "id": "1235262c.0f386a",
"type": "set",
"name": "Calculate RRM Parms4",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
"comments": "",
- "x": 2562.281349182129,
- "y": 5483.781981468201,
- "z": "31bddc6e.92f4e4",
+ "x": 2595.5868911743164,
+ "y": 5590.032002449036,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "e75abab8.bb4fa8",
+ "id": "92d34980.56c9d8",
"type": "set",
"name": "Calculate RRM Parms5",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
"comments": "",
- "x": 2550.2814712524414,
- "y": 5543.7821034789085,
- "z": "31bddc6e.92f4e4",
+ "x": 2583.587013244629,
+ "y": 5650.0321244597435,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "89a393da.6bdb3",
+ "id": "d44c7ea9.8056d",
"type": "set",
"name": "Calculate RRM Parms6",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
"comments": "",
- "x": 2588.281349182129,
- "y": 5593.7821034789085,
- "z": "31bddc6e.92f4e4",
+ "x": 2621.5868911743164,
+ "y": 5700.0321244597435,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "9aa5fe1e.3ade1",
+ "id": "e2376f49.6ec05",
"type": "set",
"name": "Calculate RRM Parms7",
"xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
"comments": "",
- "x": 2575.2812881469727,
- "y": 5663.782469749451,
- "z": "31bddc6e.92f4e4",
+ "x": 2608.58683013916,
+ "y": 5770.032490730286,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "40e27ea8.8753",
+ "id": "36523401.1c2b8c",
"type": "set",
"name": "calculation8",
"xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.DUListEntries`' />\n",
"comments": "",
- "x": 2546.2812881469727,
- "y": 5727.781493186951,
- "z": "31bddc6e.92f4e4",
+ "x": 2579.58683013916,
+ "y": 5834.031514167786,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "aab698e2.383438",
+ "id": "6ea5ef76.13161",
"type": "set",
"name": "calculation9",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
"comments": "",
- "x": 2534.281837463379,
- "y": 5778.781371116638,
- "z": "31bddc6e.92f4e4",
+ "x": 2567.5873794555664,
+ "y": 5885.031392097473,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "c9d7fe47.3d02",
+ "id": "e621af7d.c68f2",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2089.781177520752,
- "y": 1044.8281090259552,
- "z": "31bddc6e.92f4e4",
+ "x": 2123.0867195129395,
+ "y": 1151.0781300067902,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "a6bb398c.0e2218",
- "65da8016.0706"
+ "f9400142.2adfe",
+ "af41045d.c2e618"
]
]
},
{
- "id": "a6bb398c.0e2218",
+ "id": "f9400142.2adfe",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2279.7811584472656,
- "y": 1014.8278925418854,
- "z": "31bddc6e.92f4e4",
+ "x": 2313.086700439453,
+ "y": 1121.0779135227203,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "75736bcf.0344b4"
+ "dd3eb868.c05128"
]
]
},
{
- "id": "65da8016.0706",
+ "id": "af41045d.c2e618",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2259.7811317443848,
- "y": 1093.8279840946198,
- "z": "31bddc6e.92f4e4",
+ "x": 2293.0866737365723,
+ "y": 1200.0780050754547,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "58d9f085.06279"
+ "db9d5065.84ab2"
]
]
},
{
- "id": "4505db0d.830094",
+ "id": "ba4adfd8.dd98f",
"type": "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": 2280.781826019287,
- "y": 1240.1613628864288,
- "z": "31bddc6e.92f4e4",
+ "x": 2314.0873680114746,
+ "y": 1346.4113838672638,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "7576daab.ddacb4",
+ "id": "90eda30c.3bf6a",
"type": "block",
"name": "Add sliceprofile NRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1955.780860900879,
- "y": 1246.1718802452087,
- "z": "31bddc6e.92f4e4",
+ "x": 1989.0864028930664,
+ "y": 1352.4219012260437,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "4505db0d.830094",
- "1be6ba4f.cfb5d6",
- "c9d7fe47.3d02",
- "49e5b0f3.e36d3"
+ "ba4adfd8.dd98f",
+ "4da9e6d7.441988",
+ "e621af7d.c68f2",
+ "b60cb739.a1b078"
]
]
},
{
- "id": "49e5b0f3.e36d3",
+ "id": "b60cb739.a1b078",
"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": 2351.782066345215,
- "y": 1306.1720132827759,
- "z": "31bddc6e.92f4e4",
+ "x": 2385.0876083374023,
+ "y": 1412.4220342636108,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "79d43b06.14aef4",
- "205de973.d7e946"
+ "719e93d2.4f9d0c",
+ "2c236f13.a7f0d"
]
]
},
{
- "id": "1be6ba4f.cfb5d6",
+ "id": "4da9e6d7.441988",
"type": "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": 2280.7814025878906,
- "y": 1174.1720135211945,
- "z": "31bddc6e.92f4e4",
+ "x": 2314.086944580078,
+ "y": 1280.4220345020294,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "e0f5bd66.0c47f",
+ "id": "d4d7a45f.103938",
"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": 2667.7811241149902,
- "y": 914.8282337486744,
- "z": "31bddc6e.92f4e4",
+ "x": 2701.0866661071777,
+ "y": 1021.0782547295094,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "79d43b06.14aef4",
+ "id": "719e93d2.4f9d0c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2751.7811889648438,
- "y": 1184.161283493042,
- "z": "31bddc6e.92f4e4",
+ "x": 2785.0867309570312,
+ "y": 1290.411304473877,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e2b34084.73b04"
+ "1590defd.561a01"
]
]
},
{
- "id": "205de973.d7e946",
+ "id": "2c236f13.a7f0d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2661.7820739746094,
- "y": 1299.1612710952759,
- "z": "31bddc6e.92f4e4",
+ "x": 2695.087615966797,
+ "y": 1405.4112920761108,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e1348f71.99af"
+ "82242dbf.b1db2"
]
]
},
{
- "id": "e1348f71.99af",
+ "id": "82242dbf.b1db2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2826.780792236328,
- "y": 1300.1612710952759,
- "z": "31bddc6e.92f4e4",
+ "x": 2860.0863342285156,
+ "y": 1406.4112920761108,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "a9c15bf7.dbf538"
+ "415ec6d6.d111f8"
]
]
},
{
- "id": "b33726e5.0909a8",
+ "id": "a873c60d.413338",
"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": 2936.7816772460938,
- "y": 1239.161527633667,
- "z": "31bddc6e.92f4e4",
+ "x": 2970.0872192382812,
+ "y": 1345.411548614502,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "a9c15bf7.dbf538",
+ "id": "415ec6d6.d111f8",
"type": "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": 2990.7815856933594,
- "y": 1293.1617603302002,
- "z": "31bddc6e.92f4e4",
+ "x": 3024.087127685547,
+ "y": 1399.4117813110352,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "58d9f085.06279",
+ "id": "db9d5065.84ab2",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2452.770782470703,
- "y": 1088.8279840946198,
- "z": "31bddc6e.92f4e4",
+ "x": 2486.0763244628906,
+ "y": 1195.0780050754547,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "83b63a46.4bf648",
- "d0641f54.e4445",
- "70fc3e46.eb68d"
+ "84009921.8eae98",
+ "9745ebb9.0c4148",
+ "fce0d5df.4e7ca8"
]
]
},
{
- "id": "f9884c11.27b7a",
+ "id": "cf1494ab.df89f8",
"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": 2668.3158988952637,
- "y": 970.4271945953369,
- "z": "31bddc6e.92f4e4",
+ "x": 2701.621440887451,
+ "y": 1076.6772155761719,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "83b63a46.4bf648",
+ "id": "84009921.8eae98",
"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": 2732.315731048584,
- "y": 1017.4273042678833,
- "z": "31bddc6e.92f4e4",
+ "x": 2765.6212730407715,
+ "y": 1123.6773252487183,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "d0641f54.e4445",
+ "id": "9745ebb9.0c4148",
"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": 2747.850730895996,
- "y": 1069.026128768921,
- "z": "31bddc6e.92f4e4",
+ "x": 2781.1562728881836,
+ "y": 1175.2761497497559,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "70fc3e46.eb68d",
+ "id": "fce0d5df.4e7ca8",
"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": 2766.3160514831543,
- "y": 1122.4271173477173,
- "z": "31bddc6e.92f4e4",
+ "x": 2799.621593475342,
+ "y": 1228.6771383285522,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "e2b34084.73b04",
+ "id": "1590defd.561a01",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2901.204818725586,
- "y": 1188.9826550483704,
- "z": "31bddc6e.92f4e4",
+ "x": 2934.5103607177734,
+ "y": 1295.2326760292053,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "b33726e5.0909a8"
+ "a873c60d.413338"
]
]
},
{
- "id": "75736bcf.0344b4",
+ "id": "dd3eb868.c05128",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2383.9826583862305,
- "y": 900.4270935058594,
- "z": "31bddc6e.92f4e4",
+ "x": 2417.288200378418,
+ "y": 1006.6771144866943,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "e0f5bd66.0c47f",
- "f9884c11.27b7a"
+ "d4d7a45f.103938",
+ "cf1494ab.df89f8"
]
]
},
{
- "id": "7233cdcc.752724",
+ "id": "e309ba57.6c6788",
"type": "execute",
"name": "prepare gNBCUCPList for SO callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUCPList.response' />\n\t<parameter name='keyName' value='gNBCUName' />\n\t<parameter name='keyValue' value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3171.250274658203,
- "y": 1853.7500886917114,
- "z": "31bddc6e.92f4e4",
+ "x": 3204.5558166503906,
+ "y": 1960.0001096725464,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "9897c340.16354",
+ "id": "2c479225.b4d6de",
"type": "record",
"name": "record",
"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=\"CUCPList length\"/>\n<parameter name=\"field2\" value=\"`$CUCPListEntries_size`\"/>",
"comments": "",
"outputs": 1,
- "x": 3101.25,
- "y": 2005.7499742507935,
- "z": "31bddc6e.92f4e4",
+ "x": 3134.5555419921875,
+ "y": 2111.9999952316284,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "ee67a809.993f68",
+ "id": "3c04bde7.59dfb2",
"type": "execute",
"name": "CUCP List size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='CUCPListEntries_size' />\n\t<parameter name='source' value=\"`tmp.CUCPList.response_length`\" />",
"comments": "",
"outputs": 1,
- "x": 3128.499969482422,
- "y": 1956.2499694824219,
- "z": "31bddc6e.92f4e4",
+ "x": 3161.8055114746094,
+ "y": 2062.499990463257,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "f82f8d1d.c78b4",
+ "id": "24247669.aa7e8a",
"type": "execute",
"name": "prepare gNBCUUPList for SO callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUUPList.response' />\n\t<parameter name='keyName' value='gNBCUUPId' />\n\t<parameter name='keyValue' value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3774.500102996826,
- "y": 4723.750096321106,
- "z": "31bddc6e.92f4e4",
+ "x": 3807.8056449890137,
+ "y": 4830.000117301941,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "74e612c5.e7937c",
+ "id": "8d944f2b.db7d2",
"type": "execute",
"name": "prepare gNBDUList for SO callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.DUList.response' />\n\t<parameter name='keyName' value='gNBDUId' />\n\t<parameter name='keyValue' value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3735.0001678466797,
- "y": 6923.000070571899,
- "z": "31bddc6e.92f4e4",
+ "x": 3768.305709838867,
+ "y": 7029.250091552734,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "877a5217.df9d1",
+ "id": "5cb5359.f0b26cc",
"type": "set",
"name": "callback payload",
"xml": "<set>\n<parameter name='tmp.CUCPList.response' value='`$tmp.CUCPList.response`' />\n<parameter name='tmp.CUUPList.response' value='`$tmp.CUUPList.response`' />\n<parameter name='tmp.DUList.response' value='`$tmp.DUList.response`' />\n",
"comments": "",
- "x": 700.0001039505005,
- "y": 2473.2499685287476,
- "z": "31bddc6e.92f4e4",
+ "x": 733.305645942688,
+ "y": 2579.4999895095825,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "4daecb7d.1835b4",
+ "id": "156f533b.4aa76d",
"type": "execute",
"name": "gNBCUCPList",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList.response' />\n\t<parameter name='source' value=\"`$tmp.CUCPList.response`\" />",
"comments": "",
"outputs": 1,
- "x": 3130.5,
- "y": 1906.7499742507935,
- "z": "31bddc6e.92f4e4",
+ "x": 3163.8055419921875,
+ "y": 2012.9999952316284,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "cd16980f.b7b198",
+ "id": "43439aa8.8be184",
"type": "set",
"name": "set maxNumberOfConns",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`'/>",
"comments": "",
- "x": 3475.2500343322754,
- "y": 2581.0001859664917,
- "z": "31bddc6e.92f4e4",
+ "x": 3508.555576324463,
+ "y": 2687.2502069473267,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "35b1d16a.ddd30e",
+ "id": "2a97eefa.4b80d2",
"type": "set",
"name": "set maxNumberOfConns",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`'/>",
"comments": "",
- "x": 3836.9999961853027,
- "y": 4518.999972343445,
- "z": "31bddc6e.92f4e4",
+ "x": 3870.3055381774902,
+ "y": 4625.24999332428,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "2a14e7a6.3d9048",
+ "id": "66f14c1e.e327f4",
"type": "set",
"name": "set throughput",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice/$tmp.cellDUListEntries`'/>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice/$tmp.cellDUListEntries`'/>",
"comments": "",
- "x": 3941.7499961853027,
- "y": 6708.749972343445,
- "z": "31bddc6e.92f4e4",
+ "x": 3975.0555381774902,
+ "y": 6814.99999332428,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "77abb0d0.a567d",
+ "id": "32229efd.5611c2",
"type": "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=\"maxNumberOfConns.CUUP \"/>\n<parameter name=\"field2\" value=\"`$tmp.maxNumberOfConns-CUUP`\"/>",
"comments": "",
"outputs": 1,
- "x": 3158.7499961853027,
- "y": 3407.249972343445,
- "z": "31bddc6e.92f4e4",
+ "x": 3192.0555381774902,
+ "y": 3513.49999332428,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "c203b93f.b77d58",
+ "id": "46875c25.62c1e4",
"type": "set",
"name": "set resourceID",
"xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.cellLocalId`'/>",
"comments": "",
- "x": 3453.7499961853027,
- "y": 3055.499972343445,
- "z": "31bddc6e.92f4e4",
+ "x": 3487.0555381774902,
+ "y": 3161.74999332428,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "7d94ef90.fbe44",
+ "id": "dde70b52.a80088",
"type": "set",
"name": "set resourceID",
"xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.gNBCUUPList.gNBCUUPId`'/>",
"comments": "",
- "x": 3641.4999961853027,
- "y": 5035.249972343445,
- "z": "31bddc6e.92f4e4",
+ "x": 3674.8055381774902,
+ "y": 5141.49999332428,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "8ebf3662.c1bef8",
+ "id": "c89590a8.227f1",
"type": "set",
"name": "set resourceID",
"xml": "<set>\n<parameter name='tmp.resourceID-DU' value='`$tmp.cellLocalId`'/>",
"comments": "",
- "x": 2335.7499961853027,
- "y": 7078.499972343445,
- "z": "31bddc6e.92f4e4",
+ "x": 2369.0555381774902,
+ "y": 7184.74999332428,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "fcfa141f.a66e98",
+ "id": "afcd8575.ce5a88",
"type": "execute",
"name": "Update RAN Inventory ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRANSliceInventory`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRANSliceInventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-inventory-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 686.7499961853027,
- "y": 2249.749972343445,
- "z": "31bddc6e.92f4e4",
+ "x": 720.0555381774902,
+ "y": 2355.99999332428,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "2ab90ab2.cd6a96",
- "d324900a.fca68"
+ "9afc9dfb.ae7ab",
+ "210db229.58527e"
]
]
},
{
- "id": "2ab90ab2.cd6a96",
+ "id": "9afc9dfb.ae7ab",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 921.7506675720215,
- "y": 2162.750244140625,
- "z": "31bddc6e.92f4e4",
+ "x": 955.056209564209,
+ "y": 2269.00026512146,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "d8ac213d.077cd"
+ "b8980e33.87c85"
]
]
},
{
- "id": "d324900a.fca68",
+ "id": "210db229.58527e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 926.7506065368652,
- "y": 2283.7499685287476,
- "z": "31bddc6e.92f4e4",
+ "x": 960.0561485290527,
+ "y": 2389.9999895095825,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "d716505d.4055e"
+ "2af88722.e8f178"
]
]
},
{
- "id": "d716505d.4055e",
+ "id": "2af88722.e8f178",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1084.7503967285156,
- "y": 2282.750213623047,
- "z": "31bddc6e.92f4e4",
+ "x": 1118.0559387207031,
+ "y": 2389.000234603882,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "9a11053c.ad7d78"
+ "c1bc5b94.d11a78"
]
]
},
{
- "id": "9a11053c.ad7d78",
+ "id": "c1bc5b94.d11a78",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated inventory in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 1270.750644683838,
- "y": 2266.750457763672,
- "z": "31bddc6e.92f4e4",
+ "x": 1304.0561866760254,
+ "y": 2373.000478744507,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
},
{
- "id": "dccd1323.b7f4b",
+ "id": "60843518.20b42c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1266.7503395080566,
- "y": 2166.7502431869507,
- "z": "31bddc6e.92f4e4",
+ "x": 1300.0558815002441,
+ "y": 2273.0002641677856,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "d8ac213d.077cd",
+ "id": "b8980e33.87c85",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1080.7509498596191,
- "y": 2160.7503356933594,
- "z": "31bddc6e.92f4e4",
+ "x": 1114.0564918518066,
+ "y": 2267.0003566741943,
+ "z": "a2c243d0.ad36e",
"wires": [
[
- "dccd1323.b7f4b",
- "6d40c6d2.d6acc8",
- "66a87a6d.5e0334"
+ "60843518.20b42c",
+ "237e3bf7.a15ba4",
+ "43e9fff0.abfbe"
]
]
},
{
- "id": "6d40c6d2.d6acc8",
+ "id": "237e3bf7.a15ba4",
"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": 1256.7505798339844,
- "y": 2080.861357688904,
- "z": "31bddc6e.92f4e4",
+ "x": 1290.0561218261719,
+ "y": 2187.1113786697388,
+ "z": "a2c243d0.ad36e",
"wires": []
},
{
- "id": "747fc783.b27538",
+ "id": "946e6c1f.7bb9d",
"type": "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=\"Update inventory in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 722.0000152587891,
- "y": 2129.2500166893005,
- "z": "31bddc6e.92f4e4",
+ "x": 755.3055572509766,
+ "y": 2235.5000376701355,
+ "z": "a2c243d0.ad36e",
"wires": [
[]
]
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json
index 2d7a7cc8..046c963f 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceModifyAllocate.json
@@ -1,20 +1,20 @@
[
{
- "id": "307f33c6.dd742c",
+ "id": "cdce3934.f2aa38",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 417.8125,
- "y": 157.8125,
- "z": "7108e868.a979d8",
+ "x": 215.27777099609375,
+ "y": 114.74999332427979,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "fa0eeda0.c794f"
+ "ffd03bbd.6b30f8"
]
]
},
{
- "id": "fa0eeda0.c794f",
+ "id": "ffd03bbd.6b30f8",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -22,5324 +22,7246 @@
"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": 502.8125228881836,
- "y": 224.81246948242188,
- "z": "7108e868.a979d8",
+ "x": 300.27779388427734,
+ "y": 181.74996280670166,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "93c2d6b3.d318c8"
+ "2dcf0e40.745bf2"
]
]
},
{
- "id": "93c2d6b3.d318c8",
+ "id": "2dcf0e40.745bf2",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceModifyAllocate' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 436.8125,
- "y": 284.8124351501465,
- "z": "7108e868.a979d8",
+ "x": 234.27777099609375,
+ "y": 241.74992847442627,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d3c9dd74.37db6"
+ "3c5a09dd.4e50a6"
]
]
},
{
- "id": "d3c9dd74.37db6",
+ "id": "3c5a09dd.4e50a6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 432.81249237060547,
- "y": 345.8124713897705,
- "z": "7108e868.a979d8",
+ "x": 230.27776336669922,
+ "y": 302.7499647140503,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "164712ad.822b9d",
- "80dd96ef.ed69b8",
- "134f1599.6c4a8a",
- "f0e433f3.dc406"
+ "a604076f.7c0c88",
+ "df01ad79.7438a",
+ "1801c640.1eb6aa",
+ "ed3c9a78.956f38",
+ "51b41b66.216574",
+ "ade269f7.3d78c8",
+ "d0d24863.8121f8"
]
]
},
{
- "id": "164712ad.822b9d",
+ "id": "a604076f.7c0c88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 690.8124847412109,
- "y": 347.81249237060547,
- "z": "7108e868.a979d8",
+ "x": 488.2777557373047,
+ "y": 304.74998569488525,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d71a2225.52045",
- "836a2684.eb82f8",
- "85517da2.bd54b"
+ "1ea6b30a.d33abd",
+ "eb434aa7.d801d8",
+ "3d6aa191.e0db3e",
+ "2fed7838.3e4478",
+ "ea194ca9.b5136",
+ "38665c6f.b68994"
]
]
},
{
- "id": "d71a2225.52045",
+ "id": "1ea6b30a.d33abd",
"type": "execute",
"name": "generate getNearRTRICsFromRANNFNSSI URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICByNSSI`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.RANNFNSSIId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1022.8124847412109,
- "y": 345.81249237060547,
- "z": "7108e868.a979d8",
+ "x": 832.7777709960938,
+ "y": 257.7500066757202,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "836a2684.eb82f8",
+ "id": "eb434aa7.d801d8",
"type": "record",
"name": "record configdb RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$tmp.payload.RANNFNSSIId`\" />",
"comments": "",
"outputs": 1,
- "x": 976.8124847412109,
- "y": 416.81249237060547,
- "z": "7108e868.a979d8",
+ "x": 791.7777786254883,
+ "y": 297.49999141693115,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "85517da2.bd54b",
+ "id": "3d6aa191.e0db3e",
"type": "execute",
"name": "Get nearRTRIC for RANNFNSSIId",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 977.8125457763672,
- "y": 477.81251525878906,
- "z": "7108e868.a979d8",
+ "x": 802.7778472900391,
+ "y": 340.99999713897705,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "4d4a9497.964e7c",
- "7a7fe81.59f6a18"
+ "41141f2f.3a29e",
+ "f867a9f7.6835f8"
]
]
},
{
- "id": "4d4a9497.964e7c",
+ "id": "41141f2f.3a29e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1255.6305885314941,
- "y": 572.6305503845215,
- "z": "7108e868.a979d8",
+ "x": 1053.0960083007812,
+ "y": 369.5680932998657,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "99314aa2.bc5dc8"
+ "30af1a9a.7284f6"
]
]
},
{
- "id": "99314aa2.bc5dc8",
+ "id": "30af1a9a.7284f6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1433.6304454803467,
- "y": 571.6306915283203,
- "z": "7108e868.a979d8",
+ "x": 1226.0958099365234,
+ "y": 358.56816577911377,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "fef1db8.1964128",
- "48780fbe.03af7"
+ "23c782a5.d5b7fe",
+ "20106467.d1db5c"
]
]
},
{
- "id": "fef1db8.1964128",
+ "id": "23c782a5.d5b7fe",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 1595.6302490234375,
- "y": 567.6306762695312,
- "z": "7108e868.a979d8",
+ "x": 1426.8455390930176,
+ "y": 358.318190574646,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "48780fbe.03af7",
+ "id": "20106467.d1db5c",
"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": 1586.4084930419922,
- "y": 634.6306686401367,
- "z": "7108e868.a979d8",
+ "x": 1462.6237525939941,
+ "y": 401.56819915771484,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "7a7fe81.59f6a18",
+ "id": "f867a9f7.6835f8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1278.630573272705,
- "y": 473.63065814971924,
- "z": "7108e868.a979d8",
+ "x": 1063.5958671569824,
+ "y": 318.06813526153564,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e008015f.cfa71"
+ "9ee1ca8d.8df468"
]
]
},
{
- "id": "e008015f.cfa71",
+ "id": "9ee1ca8d.8df468",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1483.630615234375,
- "y": 422.63069915771484,
- "z": "7108e868.a979d8",
+ "x": 1222.345947265625,
+ "y": 292.0682067871094,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "849418c6.f295c8",
- "ef5706f3.674e08"
+ "fd49cb37.a1ec88",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "849418c6.f295c8",
+ "id": "fd49cb37.a1ec88",
"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": 1597.630313873291,
- "y": 347.7417392730713,
- "z": "7108e868.a979d8",
+ "x": 1395.0955848693848,
+ "y": 304.6792325973511,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "80dd96ef.ed69b8",
+ "id": "df01ad79.7438a",
"type": "for",
"name": "foreach NearRTRIC",
"xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
"comments": "",
"outputs": 1,
- "x": 589.8125,
- "y": 981.6306762695312,
- "z": "7108e868.a979d8",
+ "x": 357.2778091430664,
+ "y": 1403.5682625174522,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "1ef3c9dc.82ed86",
- "6c5cf2d1.84abec",
- "d086944b.c66398",
- "4e830c1f.7bebc4"
+ "fd4b53be.08fe7",
+ "792d179c.cbe1f8",
+ "eda7021e.42543",
+ "ea01a433.33d248",
+ "7d0cab41.5d62e4",
+ "759313f.9d96dec",
+ "b2bbe86b.51d5b8"
]
]
},
{
- "id": "1ef3c9dc.82ed86",
+ "id": "fd4b53be.08fe7",
"type": "block",
"name": "Process NearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 883.7215576171875,
- "y": 975.539794921875,
- "z": "7108e868.a979d8",
+ "x": 683.1868362426758,
+ "y": 1197.4773273468018,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "1c2d7304.ea98cd",
- "d2bc2ba0.f263f8",
- "1d207fa8.45607",
- "38089fef.f14fa",
- "dbf7b9fd.e29e98",
- "bc8d47bf.d46a68"
+ "bcd60b3d.7cf3b8",
+ "946fa1ac.5143f",
+ "321a0c36.154ba4",
+ "a3aa3e0c.1bd7",
+ "ef603cfd.b12c2",
+ "b84025f8.34bc78"
]
]
},
{
- "id": "1c2d7304.ea98cd",
+ "id": "bcd60b3d.7cf3b8",
"type": "execute",
"name": "read nearRTRICId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].nearRTRICId'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1344.3579559326172,
- "y": 942.5398120880127,
- "z": "7108e868.a979d8",
+ "x": 1136.8232879638672,
+ "y": 1028.4772987365723,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "d2bc2ba0.f263f8",
+ "id": "946fa1ac.5143f",
"type": "execute",
"name": "read gNBId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1321.3579444885254,
- "y": 1003.5398387908936,
- "z": "7108e868.a979d8",
+ "x": 1107.8232727050781,
+ "y": 1071.4773597717285,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "1d207fa8.45607",
+ "id": "321a0c36.154ba4",
"type": "set",
"name": "Calculate uLThptPerSlice dLThptPerSlice maxNumberOfConns",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNFNSSIRIC-configdb-response._length`' />",
"comments": "",
- "x": 1502.7216186523438,
- "y": 1127.3579711914062,
- "z": "7108e868.a979d8",
+ "x": 1238.1869049072266,
+ "y": 1146.295461654663,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "38089fef.f14fa",
+ "id": "a3aa3e0c.1bd7",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConn for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"nearRTRICId\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"RANNFNSSI\"/>\n<parameter name=\"field12\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n<parameter name=\"field13\" value=\"NSSAI\"/>\n<parameter name=\"field14\" value=\"`$tmp.payload.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1326.630615234375,
- "y": 1190.3580322265625,
- "z": "7108e868.a979d8",
+ "x": 1084.0959014892578,
+ "y": 1187.2955379486084,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "dbf7b9fd.e29e98",
+ "id": "ef603cfd.b12c2",
"type": "execute",
"name": "Update nearRT RIC Details in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updatenearRTRIC.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"modify-allocate-nearRTRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1422.6306762695312,
- "y": 1237.26708984375,
- "z": "7108e868.a979d8",
+ "x": 1190.0959930419922,
+ "y": 1233.204626083374,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6ed5711a.e5781",
- "8ca4207e.7575c"
+ "85a5cf93.5a30a",
+ "39b8aa37.8591b6"
]
]
},
{
- "id": "6ed5711a.e5781",
+ "id": "85a5cf93.5a30a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1748.630615234375,
- "y": 1201.0851440429688,
- "z": "7108e868.a979d8",
+ "x": 1546.0958862304688,
+ "y": 1158.0226373672485,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c7d74ae6.23d9c8"
+ "9ff7d9ea.c447a8"
]
]
},
{
- "id": "c7d74ae6.23d9c8",
+ "id": "9ff7d9ea.c447a8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1880.6307373046875,
- "y": 1163.0851440429688,
- "z": "7108e868.a979d8",
+ "x": 1678.0960083007812,
+ "y": 1120.0226373672485,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d8421ee9.0c90f",
- "6be76b86.5e2224"
+ "aa0fd77a.778858",
+ "88e8c925.ecbbd8"
]
]
},
{
- "id": "6be76b86.5e2224",
+ "id": "88e8c925.ecbbd8",
"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": 2069.6304931640625,
- "y": 1110.1961669921875,
- "z": "7108e868.a979d8",
+ "x": 1867.0957641601562,
+ "y": 1067.1336603164673,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "d8421ee9.0c90f",
+ "id": "aa0fd77a.778858",
"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": 2077.6304931640625,
- "y": 1210.085205078125,
- "z": "7108e868.a979d8",
+ "x": 1875.0957641601562,
+ "y": 1167.0226984024048,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "8ca4207e.7575c",
+ "id": "39b8aa37.8591b6",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1746.44873046875,
- "y": 1300.9942626953125,
- "z": "7108e868.a979d8",
+ "x": 1543.9140014648438,
+ "y": 1257.9317560195923,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "56064406.6a9b3c"
+ "c50b6ead.b3a8f"
]
]
},
{
- "id": "56064406.6a9b3c",
+ "id": "c50b6ead.b3a8f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1910.4486083984375,
- "y": 1301.994384765625,
- "z": "7108e868.a979d8",
+ "x": 1707.9138793945312,
+ "y": 1258.9318780899048,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f7fc925a.c53a3"
+ "86bd14f4.969ee8"
]
]
},
{
- "id": "f7fc925a.c53a3",
+ "id": "86bd14f4.969ee8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NearRT RIC info in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 2060.4486083984375,
- "y": 1296.9945068359375,
- "z": "7108e868.a979d8",
+ "x": 1857.9138793945312,
+ "y": 1253.9320001602173,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "bc8d47bf.d46a68",
+ "id": "b84025f8.34bc78",
"type": "execute",
- "name": "ranNFNSSIListEntry",
- "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
+ "name": "set params",
+ "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name='tmp.payload.pLMNId' value=\"`$tmp.pLMNId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1370.8125,
- "y": 1060.8125,
- "z": "7108e868.a979d8",
+ "x": 1140.2777862548828,
+ "y": 1109.750020980835,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "b8a93326.20b78",
+ "id": "f4fee64.5630718",
"type": "execute",
"name": "read CUCP list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1263.8125,
- "y": 1344.8125,
- "z": "7108e868.a979d8",
+ "x": 1061.2777709960938,
+ "y": 1301.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "6c5cf2d1.84abec",
+ "id": "792d179c.cbe1f8",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 863.8125,
- "y": 1328.8125,
- "z": "7108e868.a979d8",
+ "x": 661.2777709960938,
+ "y": 1285.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b8a93326.20b78",
- "bafd24dc.562168",
- "ed358e77.3b307"
+ "f4fee64.5630718",
+ "b895d39e.358cc",
+ "9a95f4b6.c00a88"
]
]
},
{
- "id": "bafd24dc.562168",
+ "id": "b895d39e.358cc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1235.8125,
- "y": 1409.8125,
- "z": "7108e868.a979d8",
+ "x": 1033.2777709960938,
+ "y": 1366.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ed358e77.3b307",
+ "id": "9a95f4b6.c00a88",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1263.8125,
- "y": 1484.8125,
- "z": "7108e868.a979d8",
+ "x": 1061.2777709960938,
+ "y": 1441.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "aa9d51fb.0103c"
+ "4a8ecad1.d36ae4"
]
]
},
{
- "id": "aa9d51fb.0103c",
+ "id": "4a8ecad1.d36ae4",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1484.8125,
- "y": 1491.8125,
- "z": "7108e868.a979d8",
+ "x": 1282.2777709960938,
+ "y": 1448.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "cf612911.c44998",
- "c906a35a.2ccc5",
- "ed66efa7.cab5c",
- "f042d642.d93388"
+ "41f7da9.0438224",
+ "111964c0.00cfab",
+ "e128ba2b.0271c8",
+ "8889a908.a7eeb8"
]
]
},
{
- "id": "cf612911.c44998",
+ "id": "41f7da9.0438224",
"type": "execute",
"name": "read CUCP name",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
"comments": "",
"outputs": 1,
- "x": 1835.8125,
- "y": 1344.8125,
- "z": "7108e868.a979d8",
+ "x": 1633.2777709960938,
+ "y": 1301.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "c906a35a.2ccc5",
+ "id": "111964c0.00cfab",
"type": "for",
"name": "for cellCUList",
"xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1839.8125,
- "y": 1488.8125,
- "z": "7108e868.a979d8",
+ "x": 1637.2777709960938,
+ "y": 1445.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "2367fdf7.13e052"
+ "a7b5e345.afac6"
]
]
},
{
- "id": "a59b3348.53d8e",
- "type": "execute",
- "name": "read cellCU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2543.8125,
- "y": 1258.8125,
- "z": "7108e868.a979d8",
- "wires": [
- []
- ]
- },
- {
- "id": "eb810d0e.4dd5d",
+ "id": "33dfc44e.7fcfec",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 2488.8125,
- "y": 1512.8125,
- "z": "7108e868.a979d8",
+ "x": 2286.2777709960938,
+ "y": 1469.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "58b9362d.eda568",
+ "id": "a0230d06.2b562",
"type": "execute",
"name": "patch PLMNInfoListEntry ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellCU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2522.8126068115234,
- "y": 1641.8124732971191,
- "z": "7108e868.a979d8",
+ "x": 2315.277786254883,
+ "y": 1544.7500414848328,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "91d2ca4f.cc02a8",
- "2a6ef5af.0afada"
+ "1611afed.23ffc",
+ "c6160ccd.43539"
]
]
},
{
- "id": "bb2b6a10.6ae608",
+ "id": "6822adf8.543824",
"type": "record",
"name": "record API params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2482.8125,
- "y": 1578.8125,
- "z": "7108e868.a979d8",
+ "x": 2280.2778549194336,
+ "y": 1506.750102519989,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "d5711de.7d20ee",
+ "id": "882e7a80.d74e58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2353.8125,
- "y": 1095.8125,
- "z": "7108e868.a979d8",
+ "x": 2151.2777709960938,
+ "y": 1052.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a59b3348.53d8e",
- "eb810d0e.4dd5d",
- "bb2b6a10.6ae608",
- "58b9362d.eda568",
- "1f2cbe8.ab92042",
- "2fa14d3.a7367b2",
- "3c40ea7f.5428a6",
- "6cc8a38.caae65c",
- "1df8c261.39d8be",
- "8dd84100.059ce",
- "d05460e1.aaaa4"
+ "33dfc44e.7fcfec",
+ "6822adf8.543824",
+ "a0230d06.2b562",
+ "4724cb0f.9daf64",
+ "19e0241b.9cd70c",
+ "edb92967.0e18f8",
+ "a7b6d79c.8829b8",
+ "8901584a.ca65c8",
+ "52873cd.a7928c4",
+ "e6011289.53a58",
+ "2cf8049f.4b337c"
]
]
},
{
- "id": "91d2ca4f.cc02a8",
+ "id": "1611afed.23ffc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2773.812614440918,
- "y": 1637.8127174377441,
- "z": "7108e868.a979d8",
+ "x": 2571.2778854370117,
+ "y": 1594.750210762024,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "13392720.662ca9"
+ "8555826b.8073e"
]
]
},
{
- "id": "13392720.662ca9",
+ "id": "8555826b.8073e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2946.812400817871,
- "y": 1636.8127784729004,
- "z": "7108e868.a979d8",
+ "x": 2744.277671813965,
+ "y": 1593.7502717971802,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ee4d18d9.5f1cd8"
+ "25c76a36.46adf6"
]
]
},
{
- "id": "ee4d18d9.5f1cd8",
+ "id": "25c76a36.46adf6",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 3144.8124618530273,
- "y": 1633.812900543213,
- "z": "7108e868.a979d8",
+ "x": 2942.277732849121,
+ "y": 1590.7503938674927,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "2a6ef5af.0afada",
+ "id": "c6160ccd.43539",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2738.81258392334,
- "y": 1520.8124732971191,
- "z": "7108e868.a979d8",
+ "x": 2536.2778549194336,
+ "y": 1477.749966621399,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a4b20ac1.7e5948"
+ "a2dd1082.75323"
]
]
},
{
- "id": "a4b20ac1.7e5948",
+ "id": "a2dd1082.75323",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2888.812858581543,
- "y": 1479.812656402588,
- "z": "7108e868.a979d8",
+ "x": 2686.2781295776367,
+ "y": 1436.7501497268677,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "9879822d.b1fa8",
- "6a5df2ad.c26a0c",
- "ef5706f3.674e08"
+ "93c97fee.70da5",
+ "539fbec5.c3f24",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "9879822d.b1fa8",
+ "id": "93c97fee.70da5",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3059.8124923706055,
- "y": 1540.8127174377441,
- "z": "7108e868.a979d8",
+ "x": 2857.277763366699,
+ "y": 1497.750210762024,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "6a5df2ad.c26a0c",
+ "id": "539fbec5.c3f24",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3054.812614440918,
- "y": 1445.812656402588,
- "z": "7108e868.a979d8",
+ "x": 2852.2778854370117,
+ "y": 1402.7501497268677,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "1f2cbe8.ab92042",
+ "id": "4724cb0f.9daf64",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2570.8125,
- "y": 1322.8125,
- "z": "7108e868.a979d8",
+ "x": 2368.2777709960938,
+ "y": 1279.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "2fa14d3.a7367b2",
+ "id": "19e0241b.9cd70c",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2531.8125,
- "y": 1390.8125,
- "z": "7108e868.a979d8",
+ "x": 2329.2777709960938,
+ "y": 1347.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "3c40ea7f.5428a6",
+ "id": "edb92967.0e18f8",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 2498.8125,
- "y": 1448.8125,
- "z": "7108e868.a979d8",
+ "x": 2296.2777709960938,
+ "y": 1405.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ed66efa7.cab5c",
+ "id": "e128ba2b.0271c8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1808.8125,
- "y": 1395.8125,
- "z": "7108e868.a979d8",
+ "x": 1606.2777709960938,
+ "y": 1352.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "f042d642.d93388",
+ "id": "8889a908.a7eeb8",
"type": "execute",
"name": "read cellCU list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1849.8125,
- "y": 1444.8125,
- "z": "7108e868.a979d8",
+ "x": 1647.2777709960938,
+ "y": 1401.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "6cc8a38.caae65c",
+ "id": "a7b6d79c.8829b8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2576.8125,
- "y": 1158.8125,
- "z": "7108e868.a979d8",
+ "x": 2374.2777709960938,
+ "y": 1115.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "9cab3cd4.ad8c8",
- "2575bb63.cb1f64"
+ "b37bf738.d5c038",
+ "4af07c3f.5bcf94"
]
]
},
{
- "id": "9cab3cd4.ad8c8",
+ "id": "b37bf738.d5c038",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2784.8125,
- "y": 1123.812255859375,
- "z": "7108e868.a979d8",
+ "x": 2582.2777709960938,
+ "y": 1080.7497491836548,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "8a68726.7a5319"
+ "e6d8c1e4.44fd5"
]
]
},
{
- "id": "8a68726.7a5319",
+ "id": "e6d8c1e4.44fd5",
"type": "execute",
"name": "generate patch PLMNInfoListEntry ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3104.8125,
- "y": 1138.8125,
- "z": "7108e868.a979d8",
+ "x": 2902.2777709960938,
+ "y": 1095.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "2575bb63.cb1f64",
+ "id": "4af07c3f.5bcf94",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2772.8125,
- "y": 1225.8125,
- "z": "7108e868.a979d8",
+ "x": 2570.2777709960938,
+ "y": 1182.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "1be9da11.5515e6"
+ "b5b52336.410c8"
]
]
},
{
- "id": "1df8c261.39d8be",
+ "id": "8901584a.ca65c8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2131.8125,
- "y": 1909.8125,
- "z": "7108e868.a979d8",
+ "x": 1929.2777709960938,
+ "y": 1866.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "fa450f85.96907",
- "ac83dc96.d0414",
- "eee75d70.5462f",
- "68e0063b.7afdb8",
- "11885992.57a3d6",
- "b7fc9607.06c2c8",
- "48a3f198.0b5bb",
- "3e1fe485.57c5dc",
- "cb510840.ed88c8"
+ "9caed6bf.227748",
+ "bfa7bf54.50cee",
+ "e9b83795.78e768",
+ "859856d2.8ff3d8",
+ "ee648713.59eb88",
+ "199042fe.6ade4d",
+ "24fc98b8.40ad88",
+ "44cbbc9e.66bad4",
+ "c7cf6a0a.7602d8",
+ "1a62fde5.66d4f2",
+ "286ddbec.57d7c4"
]
]
},
{
- "id": "fa450f85.96907",
+ "id": "9caed6bf.227748",
"type": "set",
- "name": "Calculate RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
+ "name": "Calculate maxNumberOfConnsPercellCU",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n",
"comments": "",
- "x": 2313.8125,
- "y": 1692.8125,
- "z": "7108e868.a979d8",
+ "x": 2185.277910232544,
+ "y": 1637.7501010894775,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "ac83dc96.d0414",
+ "id": "bfa7bf54.50cee",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio temp1 - \"/>\n<parameter name=\"field2\" value=\"`$tmp.maxNumberOfConnsPercellCU`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio temp2 - \"/>\n<parameter name=\"field4\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU1`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.rRMPolicyDedicatedRatio_SliceProfile`\"/>",
"comments": "",
"outputs": 1,
- "x": 2312.8125,
- "y": 1748.8125,
- "z": "7108e868.a979d8",
+ "x": 2128.2778453826904,
+ "y": 1765.7500705718994,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "eee75d70.5462f",
+ "id": "e9b83795.78e768",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2353.8125,
- "y": 1815.8125,
- "z": "7108e868.a979d8",
+ "x": 2149.2778453826904,
+ "y": 1801.7500400543213,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c44d770c.8f6248",
- "2db4eb44.da6004"
+ "eca2cb2.9c54538",
+ "7f6e77c.a8aac88"
]
]
},
{
- "id": "c44d770c.8f6248",
+ "id": "eca2cb2.9c54538",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2531.8125,
- "y": 1782.812255859375,
- "z": "7108e868.a979d8",
+ "x": 2329.2777709960938,
+ "y": 1739.7497491836548,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b1dca537.3b57a8"
+ "e258ca0a.72ec58"
]
]
},
{
- "id": "b1dca537.3b57a8",
+ "id": "e258ca0a.72ec58",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellCU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2809.8125,
- "y": 1774.8125,
- "z": "7108e868.a979d8",
+ "x": 2607.2777709960938,
+ "y": 1731.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "68e0063b.7afdb8",
+ "id": "859856d2.8ff3d8",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2388.8125,
- "y": 1887.8125,
- "z": "7108e868.a979d8",
+ "x": 2186.2777709960938,
+ "y": 1844.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "11885992.57a3d6",
+ "id": "ee648713.59eb88",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2353.8125,
- "y": 1939.8125,
- "z": "7108e868.a979d8",
+ "x": 2185.277811050415,
+ "y": 1884.7500133514404,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "684c1622.e09e58",
+ "id": "874a9bd9.e5b518",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2639.8125,
- "y": 2066.8125,
- "z": "7108e868.a979d8",
+ "x": 2442.277750015259,
+ "y": 1987.7501049041748,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "4f5d406d.e309"
+ "9d7eb3e9.03b87"
]
]
},
{
- "id": "4f5d406d.e309",
+ "id": "9d7eb3e9.03b87",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2803.8123779296875,
- "y": 2067.8126220703125,
- "z": "7108e868.a979d8",
+ "x": 2601.2776489257812,
+ "y": 2024.7501153945923,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "45f75ec6.863ec",
- "34f6d9ce.d2e016"
+ "162e9419.1f338c",
+ "66de30e8.1abc9"
]
]
},
{
- "id": "45f75ec6.863ec",
+ "id": "162e9419.1f338c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2953.8123779296875,
- "y": 2062.812744140625,
- "z": "7108e868.a979d8",
+ "x": 2752.2777576446533,
+ "y": 1992.7503190040588,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "9a82e320.b76eb",
+ "id": "1e4cd16.6779c2f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2635.8125,
- "y": 1987.8125,
- "z": "7108e868.a979d8",
+ "x": 2439.277723312378,
+ "y": 1894.7500133514404,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "59cf3b6.cca69c4"
+ "9d6caf15.b08f4"
]
]
},
{
- "id": "59cf3b6.cca69c4",
+ "id": "9d6caf15.b08f4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2793.812744140625,
- "y": 1935.8125,
- "z": "7108e868.a979d8",
+ "x": 2591.2780151367188,
+ "y": 1892.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d0aa5e9f.9758a",
- "6409cd63.1a0bf4",
- "ef5706f3.674e08"
+ "6bdcf3ef.3de21c",
+ "c8eb5f5.7095da",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "d0aa5e9f.9758a",
+ "id": "6bdcf3ef.3de21c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2964.8123779296875,
- "y": 1996.8125610351562,
- "z": "7108e868.a979d8",
+ "x": 2762.2776489257812,
+ "y": 1953.750054359436,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "6409cd63.1a0bf4",
+ "id": "c8eb5f5.7095da",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2959.8125,
- "y": 1901.8125,
- "z": "7108e868.a979d8",
+ "x": 2757.2777709960938,
+ "y": 1858.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "b7fc9607.06c2c8",
+ "id": "199042fe.6ade4d",
"type": "execute",
"name": "fetch RRMPolicyRatio - NRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 2388.8125,
- "y": 2014.8125,
- "z": "7108e868.a979d8",
+ "x": 2218.277841567993,
+ "y": 1939.7500133514404,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "9a82e320.b76eb",
- "684c1622.e09e58"
+ "1e4cd16.6779c2f",
+ "874a9bd9.e5b518"
]
]
},
{
- "id": "34f6d9ce.d2e016",
+ "id": "66de30e8.1abc9",
"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": 2968.8125,
- "y": 2125.8125,
- "z": "7108e868.a979d8",
+ "x": 2778.277696609497,
+ "y": 2025.7500438690186,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "48a3f198.0b5bb",
+ "id": "24fc98b8.40ad88",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2323.8125,
- "y": 2172.812728881836,
- "z": "7108e868.a979d8",
+ "x": 2121.2777709960938,
+ "y": 2129.7502222061157,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "cc5f4f75.fa631"
+ "44a4d00d.c80db"
]
]
},
{
- "id": "3e1fe485.57c5dc",
- "type": "execute",
- "name": "read rrmpolicyratio list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length '`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 2367.8125,
- "y": 2068.8125,
- "z": "7108e868.a979d8",
- "wires": [
- []
- ]
- },
- {
- "id": "cc5f4f75.fa631",
+ "id": "44a4d00d.c80db",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2544.8125,
- "y": 2192.812728881836,
- "z": "7108e868.a979d8",
+ "x": 2342.2777709960938,
+ "y": 2149.7502222061157,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d8c3d055.2d419",
- "6a9f9afc.9b7fa4",
- "ef468aba.45ebb8",
- "fcd1306a.0ccea",
- "4a4813ea.c1f99c",
- "79d52a8e.70e584"
+ "e78a4f0f.bce4c",
+ "e6c4828b.edd3c",
+ "27dba04e.02ff",
+ "36b8da14.33d876",
+ "8be06558.e14bf8",
+ "ba00bd4a.546d6",
+ "cb603df3.12a5a",
+ "c282a260.9d8de",
+ "b3c3cf99.6f492",
+ "8f54fffc.9c001",
+ "148d5e51.205352"
]
]
},
{
- "id": "d8c3d055.2d419",
+ "id": "e78a4f0f.bce4c",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellCU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`\" />",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_new' value='`$tmp.rrmPolicyDedicatedRatiocellCU_old + $tmp.rRMPolicyDedicatedRatio_SliceProfile`' />",
"comments": "",
- "x": 2869.8125,
- "y": 2169.812728881836,
- "z": "7108e868.a979d8",
+ "x": 2660.2777881622314,
+ "y": 2109.7502908706665,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "6a9f9afc.9b7fa4",
+ "id": "e6c4828b.edd3c",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Updated RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_updated`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Existing RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatiocellCU_old`\"/>\n<parameter name=\"field3\" value=\"Updated RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field4\" value=\"`$tmp.rrmPolicyDedicatedRatio_CellCU_new`\"/>",
"comments": "",
"outputs": 1,
- "x": 2799.8125,
- "y": 2349.8125,
- "z": "7108e868.a979d8",
+ "x": 2585.2778186798096,
+ "y": 2143.7499866485596,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ef468aba.45ebb8",
+ "id": "27dba04e.02ff",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2837.8125,
- "y": 2220.8125,
- "z": "7108e868.a979d8",
+ "x": 2635.2777709960938,
+ "y": 2177.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e34f118.cd120f",
- "4555531e.6f353c"
+ "48924713.d17858",
+ "e3bb4f1.511c9b"
]
]
},
{
- "id": "e34f118.cd120f",
+ "id": "48924713.d17858",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3037.8125,
- "y": 2227.812255859375,
- "z": "7108e868.a979d8",
+ "x": 2916.388816833496,
+ "y": 2105.8610315322876,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c7e16a4d.5ee148"
+ "779fca32.3495e4"
]
]
},
{
- "id": "c7e16a4d.5ee148",
+ "id": "779fca32.3495e4",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellCU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3303.8125,
- "y": 2231.8125,
- "z": "7108e868.a979d8",
+ "x": 3161.278175354004,
+ "y": 2107.638882637024,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "fcd1306a.0ccea",
+ "id": "36b8da14.33d876",
"type": "execute",
"name": "patch NRCellCU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellCU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2866.8125,
- "y": 2391.8125,
- "z": "7108e868.a979d8",
+ "x": 2673.166549682617,
+ "y": 2355.416706085205,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a24f6f33.5c01f",
- "df336133.6e823"
+ "19a156b1.f32ab9",
+ "257d1061.7fc23"
]
]
},
{
- "id": "a24f6f33.5c01f",
+ "id": "19a156b1.f32ab9",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3138.8125,
- "y": 2383.8125,
- "z": "7108e868.a979d8",
+ "x": 2936.2777709960938,
+ "y": 2340.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f5047557.3f0658"
+ "9b9c1569.6f8068"
]
]
},
{
- "id": "f5047557.3f0658",
+ "id": "9b9c1569.6f8068",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3329.8125,
- "y": 2383.8125,
- "z": "7108e868.a979d8",
+ "x": 3127.2777709960938,
+ "y": 2340.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b391edca.02267",
- "ef5706f3.674e08"
+ "8eb39019.8e726"
]
]
},
{
- "id": "b391edca.02267",
+ "id": "8eb39019.8e726",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 3514.812255859375,
- "y": 2384.812744140625,
- "z": "7108e868.a979d8",
+ "x": 3312.2775268554688,
+ "y": 2341.750237464905,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "df336133.6e823",
+ "id": "257d1061.7fc23",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3137.8125,
- "y": 2471.8125,
- "z": "7108e868.a979d8",
+ "x": 2935.2777709960938,
+ "y": 2428.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c338375f.71e348"
+ "39629f26.1f32c"
]
]
},
{
- "id": "c338375f.71e348",
+ "id": "39629f26.1f32c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3356.812744140625,
- "y": 2476.8125,
- "z": "7108e868.a979d8",
+ "x": 3154.2780151367188,
+ "y": 2433.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e396dc8f.6db54",
- "89bcda2.7d97e28"
+ "4bcb96b0.5c6438",
+ "41d5ec67.b7e364",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "e396dc8f.6db54",
+ "id": "4bcb96b0.5c6438",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3601.8123779296875,
- "y": 2522.8125610351562,
- "z": "7108e868.a979d8",
+ "x": 3399.2776489257812,
+ "y": 2479.750054359436,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "89bcda2.7d97e28",
+ "id": "41d5ec67.b7e364",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3596.8125,
- "y": 2427.8125,
- "z": "7108e868.a979d8",
+ "x": 3394.2777709960938,
+ "y": 2384.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "cb510840.ed88c8",
+ "id": "44cbbc9e.66bad4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2307.8125,
- "y": 2122.8125,
- "z": "7108e868.a979d8",
+ "x": 2105.2777709960938,
+ "y": 2079.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "2367fdf7.13e052",
+ "id": "a7b5e345.afac6",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2059.8125,
- "y": 1397.8125,
- "z": "7108e868.a979d8",
+ "x": 1857.2777709960938,
+ "y": 1354.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f75f3c8b.be38f",
- "ab9b5a5f.7edca8"
+ "3fcfd799.26f778"
]
]
},
{
- "id": "8dd84100.059ce",
+ "id": "52873cd.a7928c4",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field2\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2548.8125,
- "y": 1090.8125,
- "z": "7108e868.a979d8",
+ "x": 2346.2777709960938,
+ "y": 1047.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "d05460e1.aaaa4",
+ "id": "e6011289.53a58",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1948.8124542236328,
- "y": 2374.812511444092,
- "z": "7108e868.a979d8",
+ "x": 1746.2777252197266,
+ "y": 2331.7500047683716,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "fe92705b.ea1c8",
- "d084ab4e.bc34d8"
+ "cab0c653.68fca8",
+ "1031436d.d4c14d",
+ "8f418c29.a17f4",
+ "ca3912f.d1798f",
+ "29ac3d55.731702",
+ "295dcd8f.d34882",
+ "e67c1235.a668b",
+ "4639f97.7feb608",
+ "79add8fe.1d3c58",
+ "30531c3.32959e4",
+ "5b1ca906.eba328"
]
]
},
{
- "id": "fe92705b.ea1c8",
+ "id": "cab0c653.68fca8",
"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": 2231.812454223633,
- "y": 2374.812511444092,
- "z": "7108e868.a979d8",
+ "x": 2029.2777252197266,
+ "y": 2331.7500047683716,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "79c4d718.a8c6e8",
- "b47984b.f7f7b78"
+ "31364e32.2027c2",
+ "e32e339f.5cb42"
]
]
},
{
- "id": "b47984b.f7f7b78",
+ "id": "e32e339f.5cb42",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2467.812454223633,
- "y": 2446.812511444092,
- "z": "7108e868.a979d8",
+ "x": 2303.2778549194336,
+ "y": 2388.750114440918,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ce3eb8e1.c1ccb8"
+ "db869b45.96ea18"
]
]
},
{
- "id": "79c4d718.a8c6e8",
+ "id": "31364e32.2027c2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2518.812454223633,
- "y": 2345.812755584717,
- "z": "7108e868.a979d8",
+ "x": 2300.7222900390625,
+ "y": 2350.5280332565308,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "bef7b599.2a8f68"
+ "b1f9e8c8.11fee8"
]
]
},
{
- "id": "bef7b599.2a8f68",
+ "id": "b1f9e8c8.11fee8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2710.812454223633,
- "y": 2461.812511444092,
- "z": "7108e868.a979d8",
+ "x": 2508.2777252197266,
+ "y": 2418.7500047683716,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "70a96b2.3356894",
- "e1603c4c.c51ab",
- "ef5706f3.674e08"
+ "4fa6deb.8eba52",
+ "404a2781.cb3848",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "e1603c4c.c51ab",
+ "id": "404a2781.cb3848",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2876.812255859375,
- "y": 2429.8125,
- "z": "7108e868.a979d8",
+ "x": 2675.388687133789,
+ "y": 2393.416693687439,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "70a96b2.3356894",
+ "id": "4fa6deb.8eba52",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2881.8120880126953,
- "y": 2522.812572479248,
- "z": "7108e868.a979d8",
+ "x": 2732.6106872558594,
+ "y": 2454.1943731307983,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "b9fc74bf.735e68",
+ "id": "7dc5f273.6d6e8c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 2717.812454223633,
- "y": 2533.812511444092,
- "z": "7108e868.a979d8",
+ "x": 2576.3889389038086,
+ "y": 2462.972159385681,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ce3eb8e1.c1ccb8",
+ "id": "db869b45.96ea18",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2553.8124389648438,
- "y": 2527.812572479248,
- "z": "7108e868.a979d8",
+ "x": 2435.722270965576,
+ "y": 2460.3055124282837,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b9fc74bf.735e68"
+ "7dc5f273.6d6e8c"
]
]
},
{
- "id": "d084ab4e.bc34d8",
+ "id": "1031436d.d4c14d",
"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": 2252.8125,
- "y": 2660.8125,
- "z": "7108e868.a979d8",
+ "x": 2050.2777709960938,
+ "y": 2617.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b305e15b.ccf55",
- "14cd58ef.8378c7"
+ "460b691c.339e68",
+ "c97bdf3e.ba40a"
]
]
},
{
- "id": "b305e15b.ccf55",
+ "id": "460b691c.339e68",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2550.8125,
- "y": 2610.8125,
- "z": "7108e868.a979d8",
+ "x": 2350.500072479248,
+ "y": 2628.861020088196,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d2644aeb.86dd28"
+ "4a0eb18.9b9485"
]
]
},
{
- "id": "14cd58ef.8378c7",
+ "id": "c97bdf3e.ba40a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2550.8125,
- "y": 2720.812255859375,
- "z": "7108e868.a979d8",
+ "x": 2348.2777709960938,
+ "y": 2677.749749183655,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b6930962.6ec088"
+ "f0f38d2d.ffe45"
]
]
},
{
- "id": "d2644aeb.86dd28",
+ "id": "4a0eb18.9b9485",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2753.8125,
- "y": 2607.8125,
- "z": "7108e868.a979d8",
+ "x": 2691.277717590332,
+ "y": 2624.7499866485596,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b50e41ac.16a5a",
- "b28fe2e8.9a973",
- "ef5706f3.674e08"
+ "18dbad94.def5b2",
+ "d4da7a32.2d7768",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "b28fe2e8.9a973",
+ "id": "d4da7a32.2d7768",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2919.812255859375,
- "y": 2573.8125,
- "z": "7108e868.a979d8",
+ "x": 2872.8330154418945,
+ "y": 2618.527932167053,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "b50e41ac.16a5a",
+ "id": "18dbad94.def5b2",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2924.8121337890625,
- "y": 2668.8125610351562,
- "z": "7108e868.a979d8",
+ "x": 2867.832862854004,
+ "y": 2656.8612146377563,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "b6930962.6ec088",
+ "id": "f0f38d2d.ffe45",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2731.8125,
- "y": 2714.8125,
- "z": "7108e868.a979d8",
+ "x": 2529.2777709960938,
+ "y": 2671.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "43de9281.43d8bc"
+ "124303f5.c46bbc"
]
]
},
{
- "id": "43de9281.43d8bc",
+ "id": "124303f5.c46bbc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 2897.8125,
- "y": 2715.8125,
- "z": "7108e868.a979d8",
+ "x": 2695.2777709960938,
+ "y": 2672.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "d086944b.c66398",
+ "id": "eda7021e.42543",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 844.8125,
- "y": 1554.8125,
- "z": "7108e868.a979d8",
+ "x": 642.2777709960938,
+ "y": 1511.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "462da7ab.a5a448",
- "e48738e4.73f948",
- "3f53493c.b3bae6"
+ "c6b13c72.e3d36",
+ "25c8461e.97134a",
+ "fea4da3b.bcfee8"
]
]
},
{
- "id": "462da7ab.a5a448",
+ "id": "c6b13c72.e3d36",
"type": "execute",
"name": "read CUUP list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1175.8125,
- "y": 1564.8125,
- "z": "7108e868.a979d8",
+ "x": 973.2777709960938,
+ "y": 1521.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "e48738e4.73f948",
+ "id": "25c8461e.97134a",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUUP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1147.8125,
- "y": 1629.8125,
- "z": "7108e868.a979d8",
+ "x": 945.2777709960938,
+ "y": 1586.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "3f53493c.b3bae6",
+ "id": "fea4da3b.bcfee8",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1175.8125,
- "y": 1704.8125,
- "z": "7108e868.a979d8",
+ "x": 973.2777709960938,
+ "y": 1661.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b771bcd9.93d"
+ "40823d38.9d16f4"
]
]
},
{
- "id": "b771bcd9.93d",
+ "id": "40823d38.9d16f4",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1396.8125,
- "y": 1711.8125,
- "z": "7108e868.a979d8",
+ "x": 1194.2777709960938,
+ "y": 1668.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "902fd630.8a9ff8",
- "3f3bdc31.8c0ec4",
- "56f3c5f4.783d1c",
- "68482403.97ca3c"
+ "3528e116.e7894e",
+ "e7bc5124.45b36",
+ "342badce.4abd62"
]
]
},
{
- "id": "902fd630.8a9ff8",
+ "id": "3528e116.e7894e",
"type": "execute",
"name": "read CUUP id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1630.8125,
- "y": 1545.8125,
- "z": "7108e868.a979d8",
+ "x": 1448.2777786254883,
+ "y": 1490.5277490615845,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "3f3bdc31.8c0ec4",
+ "id": "e7bc5124.45b36",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1626.8125,
- "y": 1599.8125,
- "z": "7108e868.a979d8",
+ "x": 1427.6111221313477,
+ "y": 1542.3055491447449,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "56f3c5f4.783d1c",
- "type": "execute",
- "name": "read plmninfolist size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1677.8125,
- "y": 1664.8125,
- "z": "7108e868.a979d8",
- "wires": [
- []
- ]
- },
- {
- "id": "68482403.97ca3c",
- "type": "for",
- "name": "foreach pLMNInfo",
- "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1663.8125,
- "y": 1719.8125,
- "z": "7108e868.a979d8",
- "wires": [
- [
- "62fc86b9.2bf388"
- ]
- ]
- },
- {
- "id": "62fc86b9.2bf388",
+ "id": "342badce.4abd62",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1629.8125,
- "y": 2795.8125,
- "z": "7108e868.a979d8",
+ "x": 1427.2777709960938,
+ "y": 2752.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "bd37c8ec.2cb548",
- "75687bbe.c8ac34",
- "2ecbf849.cff368",
- "e1fe95a4.e56b88",
- "f11648d2.8a6158",
- "b26edd45.59a21",
- "4a615dd1.f7d994",
- "82f93bbe.2a8f58",
- "5806bd74.97f274",
- "bbd5f05e.aa95f",
- "7b0b3132.35108",
- "ba3263a2.7a90f"
+ "21f29aee.0eff86",
+ "94e7e0a7.b58c3",
+ "c27a2824.18ffe8",
+ "821dc568.77ed88",
+ "48166ee0.cdff5",
+ "c9836807.47c9b8",
+ "1ba6a41f.c38c2c",
+ "43557902.4f4158",
+ "b151ef4e.63d69",
+ "157cf93d.767517",
+ "11b56769.6027f9",
+ "69ec533e.600d9c",
+ "14b3dc4d.71ca44",
+ "d4cbbf53.53515",
+ "a36cc0c6.861ae",
+ "2ff98ab1.8da426",
+ "46dc7d95.4c06c4",
+ "304737db.ae6f58",
+ "bbd1f9a3.442938"
]
]
},
{
- "id": "2ecbf849.cff368",
+ "id": "c27a2824.18ffe8",
"type": "execute",
"name": "patch PLMNInfoListEntry gNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-gNBCUUP-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 1957.8125,
- "y": 2993.8125,
- "z": "7108e868.a979d8",
+ "x": 1741.9445495605469,
+ "y": 2955.194511413574,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6a4ff84d.86f158",
- "a21ae80.f8a7c18"
+ "17c00fc4.0c225",
+ "828b843e.8f20a8"
]
]
},
{
- "id": "6a4ff84d.86f158",
+ "id": "17c00fc4.0c225",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2259.8126525878906,
- "y": 2995.8127393722534,
- "z": "7108e868.a979d8",
+ "x": 2038.3890190124512,
+ "y": 2986.0835132598877,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f129f56b.6a8468"
+ "ac880ef2.b7ff8"
]
]
},
{
- "id": "f129f56b.6a8468",
+ "id": "ac880ef2.b7ff8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2436.812774658203,
- "y": 2984.812617301941,
- "z": "7108e868.a979d8",
+ "x": 2227.6112899780273,
+ "y": 2972.861393928528,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "818116b.749a3e8",
- "4c0fe3af.87361c",
- "ef5706f3.674e08"
+ "b619434f.2071",
+ "bdfa000d.a6bf6",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "4c0fe3af.87361c",
+ "id": "bdfa000d.a6bf6",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2707.8127098083496,
- "y": 2888.812978744507,
- "z": "7108e868.a979d8",
+ "x": 2458.611301422119,
+ "y": 2934.639319419861,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "818116b.749a3e8",
+ "id": "b619434f.2071",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2692.812713623047,
- "y": 2942.8129177093506,
- "z": "7108e868.a979d8",
+ "x": 2485.8337936401367,
+ "y": 2975.3060750961304,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "88c21b9a.22d488",
+ "id": "48625087.b9c9e",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 2586.812225341797,
- "y": 3067.8127393722534,
- "z": "7108e868.a979d8",
+ "x": 2400.944194793701,
+ "y": 3016.9724130630493,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "c2e2f484.ae9978",
+ "id": "d5e14c57.5e601",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2433.812530517578,
- "y": 3067.8124952316284,
- "z": "7108e868.a979d8",
+ "x": 2214.611011505127,
+ "y": 3022.5279817581177,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "88c21b9a.22d488"
+ "48625087.b9c9e"
]
]
},
{
- "id": "a21ae80.f8a7c18",
+ "id": "828b843e.8f20a8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2253.812530517578,
- "y": 3062.812678337097,
- "z": "7108e868.a979d8",
+ "x": 2029.055519104004,
+ "y": 3026.4169912338257,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c2e2f484.ae9978"
+ "d5e14c57.5e601"
]
]
},
{
- "id": "bd37c8ec.2cb548",
+ "id": "21f29aee.0eff86",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1896.8125,
- "y": 2797.8125,
- "z": "7108e868.a979d8",
+ "x": 1694.2777709960938,
+ "y": 2754.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "31b6e50e.0ffa9a",
- "605133da.405fac"
+ "c4866ad0.39c4e8",
+ "7473b922.9a0358"
]
]
},
{
- "id": "31b6e50e.0ffa9a",
+ "id": "c4866ad0.39c4e8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2104.8125,
- "y": 2762.812255859375,
- "z": "7108e868.a979d8",
+ "x": 1902.2777709960938,
+ "y": 2719.749749183655,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ca261737.b9abf8"
+ "b3310007.d5e61"
]
]
},
{
- "id": "605133da.405fac",
+ "id": "7473b922.9a0358",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2092.8125,
- "y": 2864.8125,
- "z": "7108e868.a979d8",
+ "x": 1885.8334350585938,
+ "y": 2770.6389875411987,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "cec48822.0fc488"
+ "3e7fc5f2.be339a"
]
]
},
{
- "id": "ca261737.b9abf8",
+ "id": "b3310007.d5e61",
"type": "execute",
"name": "generate patch PLMNInfoListEntry CUUP URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2424.8125,
- "y": 2777.8125,
- "z": "7108e868.a979d8",
+ "x": 2222.2777709960938,
+ "y": 2734.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "75687bbe.c8ac34",
+ "id": "94e7e0a7.b58c3",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1941.8125,
- "y": 2936.8125,
- "z": "7108e868.a979d8",
+ "x": 1705.9443969726562,
+ "y": 2799.3057079315186,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "4a4813ea.c1f99c",
+ "id": "8be06558.e14bf8",
"type": "set",
"name": "RRMPolicyRatio id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />\n",
"comments": "",
- "x": 2851.8125,
- "y": 2258.8125,
- "z": "7108e868.a979d8",
+ "x": 2637.055938720703,
+ "y": 2253.5274801254272,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "79d52a8e.70e584",
+ "id": "ba00bd4a.546d6",
"type": "set",
"name": "RRMPolicyMember Id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`\" />",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value='`$tmp.rrmPolicyMembers+1`'/>\n",
"comments": "",
- "x": 2842.8125,
- "y": 2305.8125,
- "z": "7108e868.a979d8",
+ "x": 2648.055679321289,
+ "y": 2289.4170446395874,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "e1fe95a4.e56b88",
+ "id": "821dc568.77ed88",
"type": "set",
- "name": "Calculate RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
+ "name": "Calculate rRMPolicyDedicatedRatio Temp",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n",
"comments": "",
- "x": 1930.8127136230469,
- "y": 3065.812994003296,
- "z": "7108e868.a979d8",
+ "x": 1763.8335723876953,
+ "y": 3064.973126411438,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "f11648d2.8a6158",
+ "id": "48166ee0.cdff5",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio-CUUP`\"/>",
"comments": "",
"outputs": 1,
- "x": 1876.8127059936523,
- "y": 3137.812997817993,
- "z": "7108e868.a979d8",
+ "x": 1667.6113014221191,
+ "y": 3129.1949515342712,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "b26edd45.59a21",
+ "id": "c9836807.47c9b8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1887.8125,
- "y": 3212.8125,
- "z": "7108e868.a979d8",
+ "x": 1685.2777709960938,
+ "y": 3169.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b48e9df0.37c53",
- "84a6a111.772e4"
+ "ccf3c09b.00194",
+ "daec73d6.40c28"
]
]
},
{
- "id": "b48e9df0.37c53",
+ "id": "ccf3c09b.00194",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2065.8125,
- "y": 3179.812255859375,
- "z": "7108e868.a979d8",
+ "x": 1863.2777709960938,
+ "y": 3136.749749183655,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "164e8c22.475114"
+ "d83af7ba.bc8058"
]
]
},
{
- "id": "164e8c22.475114",
+ "id": "d83af7ba.bc8058",
"type": "execute",
"name": "fetch RRMPolicyRatio CUUP - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2360.812530517578,
- "y": 3125.8125562667847,
- "z": "7108e868.a979d8",
+ "x": 2158.277801513672,
+ "y": 3082.7500495910645,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "4a615dd1.f7d994",
+ "id": "1ba6a41f.c38c2c",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1924.8125839233398,
- "y": 3267.8125133514404,
- "z": "7108e868.a979d8",
+ "x": 1722.2778549194336,
+ "y": 3224.75000667572,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "82f93bbe.2a8f58",
+ "id": "43557902.4f4158",
"type": "execute",
"name": "fetch RRMPolicyRatio - CUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-cuup-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1920.8127517700195,
- "y": 3324.8125143051147,
- "z": "7108e868.a979d8",
+ "x": 1711.278091430664,
+ "y": 3330.7500352859497,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e03ffc51.6fbca",
- "cce032c0.0d88f"
+ "bf4d51cf.bdf42",
+ "3a68aacb.1f5256"
]
]
},
{
- "id": "e03ffc51.6fbca",
+ "id": "bf4d51cf.bdf42",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2170.8125953674316,
- "y": 3314.812678337097,
- "z": "7108e868.a979d8",
+ "x": 1968.2778663635254,
+ "y": 3271.750171661377,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "2261ec2.bfaac14"
+ "de80ac45.5374a"
]
]
},
{
- "id": "2261ec2.bfaac14",
+ "id": "de80ac45.5374a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2331.812744140625,
- "y": 3333.8125,
- "z": "7108e868.a979d8",
+ "x": 2129.2780151367188,
+ "y": 3290.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "fde07db7.6edee",
- "4a0a2150.dd5b7",
- "ef5706f3.674e08"
+ "5d79f9c5.14c278",
+ "61c01400.b9f29c",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "4a0a2150.dd5b7",
+ "id": "61c01400.b9f29c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2497.8125,
- "y": 3299.8125,
- "z": "7108e868.a979d8",
+ "x": 2295.2777709960938,
+ "y": 3256.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "fde07db7.6edee",
+ "id": "5d79f9c5.14c278",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in fetching RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2502.8123779296875,
- "y": 3394.8125610351562,
- "z": "7108e868.a979d8",
+ "x": 2351.3885803222656,
+ "y": 3300.639016151428,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "5f5f8a4d.ecf264",
+ "id": "2ffa2827.57bd28",
"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": 2506.8125,
- "y": 3523.8125,
- "z": "7108e868.a979d8",
+ "x": 2336.4998779296875,
+ "y": 3396.3055725097656,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "be1c4c39.89b8c",
+ "id": "73778204.755dcc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2491.8123779296875,
- "y": 3460.812744140625,
- "z": "7108e868.a979d8",
+ "x": 2331.499687194824,
+ "y": 3339.972331047058,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "2d110399.7859bc",
+ "id": "2c33dae2.508956",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2325.8123168945312,
- "y": 3406.81268119812,
- "z": "7108e868.a979d8",
+ "x": 2138.833236694336,
+ "y": 3338.194640159607,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "be1c4c39.89b8c",
- "5f5f8a4d.ecf264"
+ "73778204.755dcc",
+ "2ffa2827.57bd28"
]
]
},
{
- "id": "cce032c0.0d88f",
+ "id": "3a68aacb.1f5256",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2161.8125953674316,
- "y": 3384.81268119812,
- "z": "7108e868.a979d8",
+ "x": 1959.2778663635254,
+ "y": 3341.7501745224,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "2d110399.7859bc"
+ "2c33dae2.508956"
]
]
},
{
- "id": "5806bd74.97f274",
- "type": "execute",
- "name": "read rrmpolicyratio list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_CUUP_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length '`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 1898.8125915527344,
- "y": 3389.812599182129,
- "z": "7108e868.a979d8",
- "wires": [
- []
- ]
- },
- {
- "id": "bbd5f05e.aa95f",
+ "id": "b151ef4e.63d69",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1838.8125839233398,
- "y": 3440.8126010894775,
- "z": "7108e868.a979d8",
+ "x": 1646.2779998779297,
+ "y": 3466.750096321106,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "7b0b3132.35108",
+ "id": "157cf93d.767517",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1886.4791717529297,
- "y": 3581.1459369659424,
- "z": "7108e868.a979d8",
+ "x": 1683.9444427490234,
+ "y": 3538.083430290222,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "8250f885.9a6238"
+ "8c2cee50.77277"
]
]
},
{
- "id": "8250f885.9a6238",
+ "id": "8c2cee50.77277",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2104.4791259765625,
- "y": 3608.145751953125,
- "z": "7108e868.a979d8",
+ "x": 1901.9443969726562,
+ "y": 3565.083245277405,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f1bf3011.d74b2",
- "d818aaf7.0aee18",
- "6cb09c3f.522a24",
- "3a30a758.d1cd78",
- "568f3597.ab1f0c",
- "4e2db998.18c708"
+ "e6f36cff.5f7ac",
+ "994124a.6a81ed8",
+ "e93d3907.dbe0b8",
+ "5971d0a9.8775a",
+ "495b7e0.94ea084",
+ "323b9ab7.0a7686",
+ "4c95d3de.dafcac",
+ "91bdd1cb.225b5",
+ "74f76f8.3409a9"
]
]
},
{
- "id": "f1bf3011.d74b2",
+ "id": "e6f36cff.5f7ac",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`\" />",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`\" />",
"comments": "",
- "x": 2429.4791259765625,
- "y": 3585.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2226.9443969726562,
+ "y": 3542.083245277405,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "6cb09c3f.522a24",
+ "id": "e93d3907.dbe0b8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2397.4791259765625,
- "y": 3636.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2194.9443740844727,
+ "y": 3584.1944813728333,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "68da40a6.630dc",
- "96bf52a5.a5094"
+ "c2e2c59a.964ca8",
+ "70e9bf72.db75d"
]
]
},
{
- "id": "568f3597.ab1f0c",
- "type": "set",
- "name": "RRMPolicyRatio id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />",
- "comments": "",
- "x": 2411.4791259765625,
- "y": 3674.145751953125,
- "z": "7108e868.a979d8",
- "wires": []
- },
- {
- "id": "68da40a6.630dc",
+ "id": "c2e2c59a.964ca8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2614.4792251586914,
- "y": 3623.145571708679,
- "z": "7108e868.a979d8",
+ "x": 2411.944496154785,
+ "y": 3580.083065032959,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ed44c1a6.36128"
+ "29bbb805.9ee6c8"
]
]
},
{
- "id": "ed44c1a6.36128",
+ "id": "29bbb805.9ee6c8",
"type": "execute",
"name": "patch RRMPolicyRatio CUUP- URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2887.4790954589844,
- "y": 3593.1461219787598,
- "z": "7108e868.a979d8",
+ "x": 2684.944366455078,
+ "y": 3550.0836153030396,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "4e2db998.18c708",
+ "id": "495b7e0.94ea084",
"type": "set",
"name": "RRMPolicyMember Id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`\" />",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.rrmPolicyMembers-CUUP+1`\" />",
"comments": "",
- "x": 2402.4791259765625,
- "y": 3721.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2198.833297729492,
+ "y": 3735.8612957000732,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "d818aaf7.0aee18",
+ "id": "994124a.6a81ed8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Updated RRMPolicyRatio for CUUP is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Updated RRMPolicyRatio for CUUP is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio_id is - \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyMember_id CUUP is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field7\" value=\"Existing RRMPolicyMembers Length\"/>\n<parameter name=\"field8\" value=\"`$tmp.rrmPolicyMembers-CUUP`\"/>\n<parameter name=\"field9\" value=\"Update RRMPolicyRatio URL - \"/>\n<parameter name=\"field10\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 2359.4791259765625,
- "y": 3765.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2160.2780380249023,
+ "y": 3768.7502479553223,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "3a30a758.d1cd78",
+ "id": "5971d0a9.8775a",
"type": "execute",
"name": "patch CUUP- RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-CUUP-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2426.4791259765625,
- "y": 3807.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2222.8333053588867,
+ "y": 3805.1942443847656,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "7c1a793c.e7f098",
- "ecae4a1e.4ed968"
+ "e3174968.023078",
+ "2c3ec3b8.faaecc"
]
]
},
{
- "id": "7c1a793c.e7f098",
+ "id": "e3174968.023078",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2698.4791259765625,
- "y": 3799.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2495.9443969726562,
+ "y": 3756.083245277405,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ee919351.884ae"
+ "f53b4c9e.c5d56"
]
]
},
{
- "id": "ee919351.884ae",
+ "id": "f53b4c9e.c5d56",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2889.4791259765625,
- "y": 3799.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2686.9443969726562,
+ "y": 3756.083245277405,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "9967fe18.3f52",
- "ef5706f3.674e08"
+ "2851387d.d21c18"
]
]
},
{
- "id": "9967fe18.3f52",
+ "id": "2851387d.d21c18",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 3074.4788818359375,
- "y": 3800.14599609375,
- "z": "7108e868.a979d8",
+ "x": 2871.9441528320312,
+ "y": 3757.08348941803,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "3d107c96.8f4394",
+ "id": "a57054f0.8f2cf8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3156.4791259765625,
- "y": 3843.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2953.9443969726562,
+ "y": 3800.083245277405,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "64358581.2074dc",
+ "id": "799ed5ea.0660dc",
"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": 3161.47900390625,
- "y": 3938.1458129882812,
- "z": "7108e868.a979d8",
+ "x": 2958.9442749023438,
+ "y": 3895.083306312561,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "87867dbd.bfc9c",
+ "id": "89b318ab.323c98",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2916.4793701171875,
- "y": 3892.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2713.9446411132812,
+ "y": 3849.083245277405,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "64358581.2074dc",
- "3d107c96.8f4394"
+ "799ed5ea.0660dc",
+ "a57054f0.8f2cf8",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "ecae4a1e.4ed968",
+ "id": "2c3ec3b8.faaecc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2697.4791259765625,
- "y": 3887.145751953125,
- "z": "7108e868.a979d8",
+ "x": 2494.9443969726562,
+ "y": 3844.083245277405,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "87867dbd.bfc9c"
+ "89b318ab.323c98"
]
]
},
{
- "id": "ba3263a2.7a90f",
+ "id": "11b56769.6027f9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1843.1459197998047,
- "y": 3920.4793615341187,
- "z": "7108e868.a979d8",
+ "x": 1640.6111907958984,
+ "y": 3877.4168548583984,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a8779bfe.2ebaa8",
- "6bdc54a8.a8bcfc"
+ "432a8afd.ff3744",
+ "369fee46.9ff212",
+ "e0eae9af.e47b18",
+ "aaab029a.73315",
+ "197ebca7.656673",
+ "d0d818c6.4b2608",
+ "27aaafdc.f134",
+ "28f0e3bf.db6d3c",
+ "7153e6fc.a20688",
+ "3d2034c9.c91a4c",
+ "4a3e020d.51ae0c"
]
]
},
{
- "id": "a8779bfe.2ebaa8",
+ "id": "432a8afd.ff3744",
"type": "execute",
"name": "Update gNBCUUP in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updategNBCUUP.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 2176.1458740234375,
- "y": 3921.479248046875,
- "z": "7108e868.a979d8",
+ "x": 1944.8611907958984,
+ "y": 3889.666790008545,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a157ef66.82e47",
- "156a4239.7ef9ee"
+ "f6e87948.f89288",
+ "ab3317f.d87cee8"
]
]
},
{
- "id": "a157ef66.82e47",
+ "id": "f6e87948.f89288",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2463.1458740234375,
- "y": 3892.4794921875,
- "z": "7108e868.a979d8",
+ "x": 2260.6111450195312,
+ "y": 3849.41698551178,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b14a144c.9974f8"
+ "ba24cd75.0dfab"
]
]
},
{
- "id": "156a4239.7ef9ee",
+ "id": "ab3317f.d87cee8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2412.1458740234375,
- "y": 3993.479248046875,
- "z": "7108e868.a979d8",
+ "x": 2247.111225128174,
+ "y": 3899.166910171509,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "8205426c.ef651"
+ "af3f3ee.4697ec"
]
]
},
{
- "id": "8205426c.ef651",
+ "id": "af3f3ee.4697ec",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2498.1458587646484,
- "y": 4074.4793090820312,
- "z": "7108e868.a979d8",
+ "x": 2405.6110458374023,
+ "y": 3927.666972398758,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "88c98d77.84bc2"
+ "45a699a5.339a98"
]
]
},
{
- "id": "b14a144c.9974f8",
+ "id": "ba24cd75.0dfab",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2655.1458740234375,
- "y": 4008.479248046875,
- "z": "7108e868.a979d8",
+ "x": 2448.86141204834,
+ "y": 3886.666910171509,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "bdfa1f09.353b8",
- "8fd72176.397c5",
- "ef5706f3.674e08"
+ "2988f3b4.0cd97c",
+ "c023d158.5af6d",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "88c98d77.84bc2",
+ "id": "45a699a5.339a98",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 2662.1458740234375,
- "y": 4080.479248046875,
- "z": "7108e868.a979d8",
+ "x": 2542.1112899780273,
+ "y": 3941.16703414917,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "bdfa1f09.353b8",
+ "id": "2988f3b4.0cd97c",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2826.1455078125,
- "y": 4069.4793090820312,
- "z": "7108e868.a979d8",
+ "x": 2707.3608932495117,
+ "y": 3930.1669726371765,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "8fd72176.397c5",
+ "id": "c023d158.5af6d",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - CUUP. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2821.1456756591797,
- "y": 3976.479236602783,
- "z": "7108e868.a979d8",
+ "x": 2616.1110763549805,
+ "y": 3895.9167881011963,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "3cba221d.f1507e",
+ "id": "1ea853ee.e7636c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2864.1456756591797,
- "y": 4120.479236602783,
- "z": "7108e868.a979d8",
+ "x": 2670.361110687256,
+ "y": 4131.167035102844,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "a2654622.6dd498",
+ "id": "cb3cd22b.a342e",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2869.145553588867,
- "y": 4215.479297637939,
- "z": "7108e868.a979d8",
+ "x": 2666.610824584961,
+ "y": 4172.416790962219,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "95bfc417.2c1f08",
+ "id": "cc430433.e39b08",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2698.1459197998047,
- "y": 4154.479236602783,
- "z": "7108e868.a979d8",
+ "x": 2486.8612899780273,
+ "y": 4165.166974067688,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a2654622.6dd498",
- "3cba221d.f1507e",
- "ef5706f3.674e08"
+ "cb3cd22b.a342e",
+ "1ea853ee.e7636c",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "d8512ddf.3f171",
+ "id": "6184c0ce.94a5f",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - CUUP RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 2842.1459197998047,
- "y": 4262.479236602783,
- "z": "7108e868.a979d8",
+ "x": 2639.6111907958984,
+ "y": 4219.416729927063,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "a66973d7.69104",
+ "id": "3600b138.5845ae",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2676.1459197998047,
- "y": 4261.479236602783,
- "z": "7108e868.a979d8",
+ "x": 2473.6111907958984,
+ "y": 4218.416729927063,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d8512ddf.3f171"
+ "6184c0ce.94a5f"
]
]
},
{
- "id": "15ec48d8.926787",
+ "id": "d164770d.eef5f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2495.1459197998047,
- "y": 4267.478992462158,
- "z": "7108e868.a979d8",
+ "x": 2292.6111907958984,
+ "y": 4224.416485786438,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a66973d7.69104"
+ "3600b138.5845ae"
]
]
},
{
- "id": "2a3a4f34.54219",
+ "id": "c510da45.23cf18",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2495.1459197998047,
- "y": 4157.479236602783,
- "z": "7108e868.a979d8",
+ "x": 2286.3613204956055,
+ "y": 4176.9168519973755,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "95bfc417.2c1f08"
+ "cc430433.e39b08"
]
]
},
{
- "id": "6bdc54a8.a8bcfc",
+ "id": "369fee46.9ff212",
"type": "execute",
"name": "Update RRMPolicy for gNBCUUP in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updateRRMPolicy.CUUP.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 2197.1459197998047,
- "y": 4207.479236602783,
- "z": "7108e868.a979d8",
+ "x": 1968.3612823486328,
+ "y": 4218.16685295105,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "2a3a4f34.54219",
- "15ec48d8.926787"
+ "c510da45.23cf18",
+ "d164770d.eef5f8"
]
]
},
{
- "id": "4e830c1f.7bebc4",
+ "id": "ea01a433.33d248",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1207.5626754760742,
- "y": 4192.563228607178,
- "z": "7108e868.a979d8",
+ "x": 1106.0279922485352,
+ "y": 3840.500594139099,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "5a3d52ff.69f48c",
- "96c6fb05.5a9858",
- "4d47cf04.2ab97"
+ "8ac3f0ad.30e56",
+ "2b669098.1e82",
+ "dd3d3af9.52d6f8"
]
]
},
{
- "id": "5a3d52ff.69f48c",
+ "id": "8ac3f0ad.30e56",
"type": "execute",
"name": "read DUlist size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1536.5626754760742,
- "y": 4223.563228607178,
- "z": "7108e868.a979d8",
+ "x": 1359.027931213379,
+ "y": 3930.5006551742554,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "96c6fb05.5a9858",
+ "id": "2b669098.1e82",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1494.5626602172852,
- "y": 4284.563228607178,
- "z": "7108e868.a979d8",
+ "x": 1327.0278816223145,
+ "y": 3980.5007190704346,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "4d47cf04.2ab97",
+ "id": "dd3d3af9.52d6f8",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1506.5627059936523,
- "y": 4354.563228607178,
- "z": "7108e868.a979d8",
+ "x": 1328.0280685424805,
+ "y": 4023.500720024109,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c924ba25.82a328"
+ "5091954e.43f6dc"
]
]
},
{
- "id": "c924ba25.82a328",
+ "id": "5091954e.43f6dc",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1787.5626754760742,
- "y": 4355.5631980896,
- "z": "7108e868.a979d8",
+ "x": 1590.0279273986816,
+ "y": 4129.500475883484,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a0fa0a49.9180c8",
- "b69431be.ded5f",
- "e4e685e5.2c8388",
- "d1761b06.379698"
+ "ad634841.f1df18",
+ "d1a41858.dbd2e8",
+ "5b5b644f.dcb89c",
+ "693e7bc8.1946f4"
]
]
},
{
- "id": "a0fa0a49.9180c8",
+ "id": "ad634841.f1df18",
"type": "execute",
"name": "read DU id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2066.5625,
- "y": 4351.5625,
- "z": "7108e868.a979d8",
+ "x": 1864.0277709960938,
+ "y": 4308.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "b69431be.ded5f",
+ "id": "d1a41858.dbd2e8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2039.5625,
- "y": 4402.5625,
- "z": "7108e868.a979d8",
+ "x": 1837.0277709960938,
+ "y": 4359.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "e4e685e5.2c8388",
+ "id": "5b5b644f.dcb89c",
"type": "execute",
"name": "read cellDU list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 2080.5625,
- "y": 4451.5625,
- "z": "7108e868.a979d8",
+ "x": 1878.0277709960938,
+ "y": 4408.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "d1761b06.379698",
+ "id": "693e7bc8.1946f4",
"type": "for",
"name": "for cellDUList",
"xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2070.5625,
- "y": 4495.5625,
- "z": "7108e868.a979d8",
+ "x": 1868.0277709960938,
+ "y": 4452.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "2d9b1779.25da68"
+ "2e61752a.3c32aa"
]
]
},
{
- "id": "2e0cb657.fa72aa",
+ "id": "8ca9297e.0bb688",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3097.3125,
- "y": 4549.5625,
- "z": "7108e868.a979d8",
+ "x": 2894.7777709960938,
+ "y": 4506.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "db01efc8.367e1",
- "cbb5449b.077ff8",
- "c37094ee.0620b8",
- "9664007c.b3591",
- "f8fddf6b.372eb",
- "7e214221.f3333c",
- "7e449816.b97cc8",
- "5b53f44f.273f7c",
- "f6f39dfc.75a01",
- "a63081a.5cdd48",
- "2ea51be.93ad1e4"
+ "854a9c7d.7606",
+ "6818c49e.7be4ac",
+ "dccf3b3f.871b98",
+ "90de618b.cad",
+ "d8f0231.2a5b4e",
+ "2b662b6d.42a6c4",
+ "12ff3e46.f96772",
+ "bd503cb1.d0e98",
+ "de0d36d5.d71918",
+ "63c4b3a7.33644c",
+ "42884319.8bf8dc",
+ "d815d930.ba6bb8"
]
]
},
{
- "id": "5b53f44f.273f7c",
+ "id": "bd503cb1.d0e98",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3292.3125,
- "y": 4544.5625,
- "z": "7108e868.a979d8",
+ "x": 3089.7777709960938,
+ "y": 4501.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "7e449816.b97cc8",
+ "id": "12ff3e46.f96772",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3320.3125,
- "y": 4612.5625,
- "z": "7108e868.a979d8",
+ "x": 3117.7777709960938,
+ "y": 4569.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d4c9f7e3.e84858",
- "9ff04c6b.5afd8"
+ "96175473.d9eb48",
+ "6b0e69e0.617508"
]
]
},
{
- "id": "d4c9f7e3.e84858",
+ "id": "96175473.d9eb48",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3528.3125,
- "y": 4577.562255859375,
- "z": "7108e868.a979d8",
+ "x": 3325.7777709960938,
+ "y": 4534.499749183655,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "3bce64e2.b4273c"
+ "d039005a.704dc"
]
]
},
{
- "id": "9ff04c6b.5afd8",
+ "id": "6b0e69e0.617508",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3523.3125495910645,
- "y": 4646.562824249268,
- "z": "7108e868.a979d8",
+ "x": 3320.777820587158,
+ "y": 4603.500317573547,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e66f84d4.6add28"
+ "21313198.fd408e"
]
]
},
{
- "id": "3bce64e2.b4273c",
+ "id": "d039005a.704dc",
"type": "execute",
"name": "generate patch PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3848.3125,
- "y": 4592.5625,
- "z": "7108e868.a979d8",
+ "x": 3645.7777709960938,
+ "y": 4549.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "db01efc8.367e1",
+ "id": "854a9c7d.7606",
"type": "execute",
"name": "read cellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3317.3126525878906,
- "y": 4700.562744140625,
- "z": "7108e868.a979d8",
+ "x": 3114.7779235839844,
+ "y": 4657.500237464905,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "9664007c.b3591",
+ "id": "90de618b.cad",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3372.312713623047,
- "y": 4765.562682151794,
- "z": "7108e868.a979d8",
+ "x": 3169.7779846191406,
+ "y": 4722.500175476074,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "f8fddf6b.372eb",
+ "id": "d8f0231.2a5b4e",
"type": "execute",
"name": "prepare idNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3345.3128967285156,
- "y": 4820.562684059143,
- "z": "7108e868.a979d8",
+ "x": 3142.7781677246094,
+ "y": 4777.500177383423,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "7e214221.f3333c",
+ "id": "2b662b6d.42a6c4",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 3325.3125915527344,
- "y": 4883.562990188599,
- "z": "7108e868.a979d8",
+ "x": 3122.777862548828,
+ "y": 4840.500483512878,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "cbb5449b.077ff8",
+ "id": "6818c49e.7be4ac",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3327.3128356933594,
- "y": 4941.562623023987,
- "z": "7108e868.a979d8",
+ "x": 3124.778106689453,
+ "y": 4898.500116348267,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "c37094ee.0620b8",
+ "id": "dccf3b3f.871b98",
"type": "record",
"name": "record API params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3332.312469482422,
- "y": 5009.56311416626,
- "z": "7108e868.a979d8",
+ "x": 3128.7779846191406,
+ "y": 4944.500733375549,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "f6f39dfc.75a01",
+ "id": "de0d36d5.d71918",
"type": "execute",
"name": "patch PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3389.3125,
- "y": 5084.8125,
- "z": "7108e868.a979d8",
+ "x": 3183.7779846191406,
+ "y": 4990.7500014305115,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d8729278.1cd58",
- "157bda42.dc1776"
+ "218c5ac9.adcf96",
+ "9be6e332.adf83"
]
]
},
{
- "id": "157bda42.dc1776",
+ "id": "9be6e332.adf83",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3656.3125,
- "y": 4984.8125,
- "z": "7108e868.a979d8",
+ "x": 3432.3493366241455,
+ "y": 4831.750117301941,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ea70704f.084d2"
+ "bec61c09.9b2b7"
]
]
},
{
- "id": "d8729278.1cd58",
+ "id": "218c5ac9.adcf96",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3655.3125,
- "y": 5083.8125,
- "z": "7108e868.a979d8",
+ "x": 3438.492027282715,
+ "y": 4887.892823219299,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "8bfbcf74.666d1"
+ "7408d31.0dc862c"
]
]
},
{
- "id": "ea70704f.084d2",
+ "id": "bec61c09.9b2b7",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3814.312744140625,
- "y": 4932.8125,
- "z": "7108e868.a979d8",
+ "x": 3608.920944213867,
+ "y": 4831.178339958191,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "24efbd9d.3eeb72",
- "223f16d0.c8885a",
- "ef5706f3.674e08"
+ "13752f4e.dc57d1",
+ "a3fa5004.f668b",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "8bfbcf74.666d1",
+ "id": "7408d31.0dc862c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3823.3125,
- "y": 5080.812502622604,
- "z": "7108e868.a979d8",
+ "x": 3592.206329345703,
+ "y": 4887.749948501587,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6125ea01.fba5c4"
+ "b2c21e16.d6e5b"
]
]
},
{
- "id": "6125ea01.fba5c4",
+ "id": "b2c21e16.d6e5b",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 3969.3123779296875,
- "y": 5079.812744140625,
- "z": "7108e868.a979d8",
+ "x": 3629.635021209717,
+ "y": 4953.892745018005,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "24efbd9d.3eeb72",
+ "id": "13752f4e.dc57d1",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3985.3123779296875,
- "y": 4993.812561035156,
- "z": "7108e868.a979d8",
+ "x": 3795.6347579956055,
+ "y": 4907.892684936523,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "223f16d0.c8885a",
+ "id": "a3fa5004.f668b",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3980.3125,
- "y": 4898.8125,
- "z": "7108e868.a979d8",
+ "x": 3777.7777709960938,
+ "y": 4855.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "a63081a.5cdd48",
+ "id": "63c4b3a7.33644c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3190.5625,
- "y": 5357.8125,
- "z": "7108e868.a979d8",
+ "x": 2988.0277709960938,
+ "y": 5314.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "5cb5d6ea.770248",
- "98f00bff.356c18",
- "5d40a1b9.c2994",
- "f43c3c63.25ad9",
- "65c6ca75.936b14",
- "6bcc8bb1.e1d3e4",
- "f0dfe9fd.ba7e58",
- "fa410ab8.5baa78"
+ "1f3099be.fd0396",
+ "428380a3.2e5c6",
+ "77470c30.7ccea4",
+ "1ad44e5f.06dc02",
+ "54740594.78e32c",
+ "e7a02896.74e638",
+ "36f9af95.9beb7",
+ "517677f0.6d4018",
+ "9f04c1f2.bf256",
+ "8e869cc0.cfb58"
]
]
},
{
- "id": "5cb5d6ea.770248",
+ "id": "1f3099be.fd0396",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3412.5625,
- "y": 5263.8125,
- "z": "7108e868.a979d8",
+ "x": 3210.0277709960938,
+ "y": 5220.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "7ea81051.7f23a",
- "5a933026.4d27b"
+ "8c2e0cd.722b2f",
+ "3185509b.b104a"
]
]
},
{
- "id": "7ea81051.7f23a",
+ "id": "3185509b.b104a",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3595.5627365112305,
- "y": 5201.8128299713135,
- "z": "7108e868.a979d8",
+ "x": 3458.742477416992,
+ "y": 5233.036768913269,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "193f0677.2c64aa"
+ "223eb619.f4921a"
]
]
},
{
- "id": "193f0677.2c64aa",
+ "id": "223eb619.f4921a",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellDU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3895.5626068115234,
- "y": 5202.812952041626,
- "z": "7108e868.a979d8",
+ "x": 3653.0276794433594,
+ "y": 5171.179366111755,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "98f00bff.356c18",
+ "id": "428380a3.2e5c6",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3447.5625,
- "y": 5335.8125,
- "z": "7108e868.a979d8",
+ "x": 3245.0277709960938,
+ "y": 5292.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "5d40a1b9.c2994",
+ "id": "77470c30.7ccea4",
"type": "execute",
"name": "prepare idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3412.5625,
- "y": 5387.8125,
- "z": "7108e868.a979d8",
+ "x": 3210.0277709960938,
+ "y": 5344.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "f43c3c63.25ad9",
+ "id": "1ad44e5f.06dc02",
"type": "execute",
"name": "fetch RRMPolicyRatio - NRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-du-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 3447.5625,
- "y": 5462.8125,
- "z": "7108e868.a979d8",
+ "x": 3245.0277709960938,
+ "y": 5419.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e3b08095.b4e31",
- "f911831.2bcd58"
+ "77060035.b3e31",
+ "8c4eb3c3.ad48"
]
]
},
{
- "id": "e3b08095.b4e31",
+ "id": "77060035.b3e31",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3694.5625,
- "y": 5435.8125,
- "z": "7108e868.a979d8",
+ "x": 3492.0277709960938,
+ "y": 5392.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "981c46e8.e33468"
+ "38aa7b88.8cc164"
]
]
},
{
- "id": "f911831.2bcd58",
+ "id": "8c4eb3c3.ad48",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3698.5625,
- "y": 5514.8125,
- "z": "7108e868.a979d8",
+ "x": 3496.0277709960938,
+ "y": 5471.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "748cf1b0.9d517"
+ "af08c4f9.c8c558"
]
]
},
{
- "id": "981c46e8.e33468",
+ "id": "38aa7b88.8cc164",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3852.562744140625,
- "y": 5383.8125,
- "z": "7108e868.a979d8",
+ "x": 3660.0282440185547,
+ "y": 5403.607346534729,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "633b5c69.cd1044",
- "cfbf14b0.9443f8",
- "ef5706f3.674e08"
+ "85bd27d6.ac5078",
+ "560e6dc6.7ff184",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "cfbf14b0.9443f8",
+ "id": "560e6dc6.7ff184",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4018.5625,
- "y": 5349.8125,
- "z": "7108e868.a979d8",
+ "x": 3816.0277709960938,
+ "y": 5306.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "633b5c69.cd1044",
+ "id": "85bd27d6.ac5078",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4023.5623779296875,
- "y": 5444.812561035156,
- "z": "7108e868.a979d8",
+ "x": 3821.0276489257812,
+ "y": 5401.750054359436,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "748cf1b0.9d517",
+ "id": "af08c4f9.c8c558",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3862.5623779296875,
- "y": 5515.8126220703125,
- "z": "7108e868.a979d8",
+ "x": 3660.0276489257812,
+ "y": 5472.750115394592,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "8916b53d.b90f88",
- "d6acc856.973798"
+ "6568d8a0.54f4a8",
+ "f8fa3865.3b8818"
]
]
},
{
- "id": "8916b53d.b90f88",
+ "id": "6568d8a0.54f4a8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 4012.5623779296875,
- "y": 5510.812744140625,
- "z": "7108e868.a979d8",
+ "x": 3817.1708221435547,
+ "y": 5444.892781257629,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "d6acc856.973798",
+ "id": "f8fa3865.3b8818",
"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": 4027.5625,
- "y": 5573.8125,
- "z": "7108e868.a979d8",
- "wires": [
- []
- ]
- },
- {
- "id": "65c6ca75.936b14",
- "type": "execute",
- "name": "read rrmpolicyratio list size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length '`\" />\n ",
- "comments": "",
- "outputs": 1,
- "x": 3426.5625,
- "y": 5516.8125,
- "z": "7108e868.a979d8",
+ "x": 3825.027862548828,
+ "y": 5482.17870426178,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "6bcc8bb1.e1d3e4",
+ "id": "54740594.78e32c",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioDUList_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3366.5625,
- "y": 5570.8125,
- "z": "7108e868.a979d8",
+ "x": 3182.5991821289062,
+ "y": 5552.035391807556,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "f0dfe9fd.ba7e58",
+ "id": "e7a02896.74e638",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3971.5625381469727,
- "y": 5147.812589645386,
- "z": "7108e868.a979d8",
+ "x": 3244.741867542267,
+ "y": 5099.035620689392,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "25bccfbe.74997",
- "83d763f9.c0daa",
- "5c90938f.aae84c",
- "5eb33de6.997004",
- "1269be21.81b8d2",
- "99edb9aa.d44a48",
- "5717a3b9.d0abfc",
- "d6422a31.9a6c68",
- "31c3f05.90cfe1",
- "7d3ffa6.132c704",
- "78a6faf9.59c974"
+ "c8f8181b.bc8a58",
+ "3468bb65.a0fb14",
+ "cfb5acf8.f3faa",
+ "b50cab3a.7d6a28",
+ "54ff605d.37b67",
+ "ab9b5495.2642d8",
+ "f5338014.ba63",
+ "aff055e3.016bb8",
+ "7ed07848.a83168",
+ "77504964.a2aa18",
+ "f15200d5.f48dd"
]
]
},
{
- "id": "5c90938f.aae84c",
+ "id": "cfb5acf8.f3faa",
"type": "set",
"name": "Calculate RRM Parms1",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
"comments": "",
- "x": 4415.552307128906,
- "y": 4928.135252952576,
- "z": "7108e868.a979d8",
+ "x": 4213.017578125,
+ "y": 4885.0727462768555,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "5eb33de6.997004",
+ "id": "b50cab3a.7d6a28",
"type": "set",
"name": "Calculate RRM Parms2",
"xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4424.093566894531,
- "y": 4973.155272424221,
- "z": "7108e868.a979d8",
+ "x": 4221.558837890625,
+ "y": 4930.092765748501,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "1269be21.81b8d2",
+ "id": "54ff605d.37b67",
"type": "set",
"name": "Calculate RRM Parms3",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
"comments": "",
- "x": 4414.093688964844,
- "y": 5028.1551503539085,
- "z": "7108e868.a979d8",
+ "x": 4211.5589599609375,
+ "y": 4985.092643678188,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "99edb9aa.d44a48",
+ "id": "ab9b5495.2642d8",
"type": "set",
"name": "Calculate RRM Parms4",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4414.093566894531,
- "y": 5079.155150413513,
- "z": "7108e868.a979d8",
+ "x": 4211.558837890625,
+ "y": 5036.092643737793,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "5717a3b9.d0abfc",
+ "id": "f5338014.ba63",
"type": "set",
"name": "Calculate RRM Parms5",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
"comments": "",
- "x": 4402.093688964844,
- "y": 5139.155272424221,
- "z": "7108e868.a979d8",
+ "x": 4199.5589599609375,
+ "y": 5096.092765748501,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "d6422a31.9a6c68",
+ "id": "aff055e3.016bb8",
"type": "set",
"name": "Calculate RRM Parms6",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
"comments": "",
- "x": 4440.093566894531,
- "y": 5189.155272424221,
- "z": "7108e868.a979d8",
+ "x": 4237.558837890625,
+ "y": 5146.092765748501,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "31c3f05.90cfe1",
+ "id": "7ed07848.a83168",
"type": "set",
"name": "Calculate RRM Parms7",
"xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
"comments": "",
- "x": 4427.093505859375,
- "y": 5259.155638694763,
- "z": "7108e868.a979d8",
+ "x": 4224.558776855469,
+ "y": 5216.093132019043,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "7d3ffa6.132c704",
+ "id": "77504964.a2aa18",
"type": "set",
"name": "calculation8",
"xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
"comments": "",
- "x": 4398.093505859375,
- "y": 5323.154662132263,
- "z": "7108e868.a979d8",
+ "x": 4195.558776855469,
+ "y": 5280.092155456543,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "78a6faf9.59c974",
+ "id": "f15200d5.f48dd",
"type": "set",
"name": "calculation9",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
"comments": "",
- "x": 4386.094055175781,
- "y": 5374.154540061951,
- "z": "7108e868.a979d8",
+ "x": 4183.559326171875,
+ "y": 5331.0920333862305,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "83d763f9.c0daa",
+ "id": "3468bb65.a0fb14",
"type": "set",
"name": "calculation10",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
"comments": "",
- "x": 4361.5523681640625,
- "y": 5440.135008811951,
- "z": "7108e868.a979d8",
+ "x": 4159.017639160156,
+ "y": 5397.0725021362305,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "25bccfbe.74997",
+ "id": "c8f8181b.bc8a58",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"tmp.nearRTRIC.trafficCapacity1 \"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.trafficCapacity1`\"/>\n<parameter name=\"field5\" value=\"tmp.nearRTRIC.trafficCapacity \"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.trafficCapacity`\"/>\n<parameter name=\"field7\" value=\"tmp.nearRTRIC.trafficCapacityBPS\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.trafficCapacityBPS`\"/>\n<parameter name=\"field9\" value=\"tmp.nrcelldu.totalPRBForSNSSAI \"/>\n<parameter name=\"field10\" value=\"`$tmp.nrcelldu.totalPRBForSNSSAI`\"/>\n<parameter name=\"field11\" value=\"tmp.nrcelldu.PRBPerImpactedCell \"/>\n<parameter name=\"field12\" value=\"`$tmp.nrcelldu.PRBPerImpactedCell`\"/>\n<parameter name=\"field13\" value=\"tmp.rRMPolicyDedicatedRatio.CellDU1 \"/>\n<parameter name=\"field14\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU1`\"/>",
"comments": "",
"outputs": 1,
- "x": 4187.562294006348,
- "y": 5452.256315231323,
- "z": "7108e868.a979d8",
+ "x": 3985.0275650024414,
+ "y": 5409.193808555603,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "fa410ab8.5baa78",
+ "id": "36f9af95.9beb7",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3407.8125,
- "y": 5641.8125,
- "z": "7108e868.a979d8",
+ "x": 3205.2777709960938,
+ "y": 5598.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d5e66414.61b738"
+ "d26b6e59.02e24"
]
]
},
{
- "id": "d5e66414.61b738",
+ "id": "d26b6e59.02e24",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3628.8125,
- "y": 5661.8125,
- "z": "7108e868.a979d8",
+ "x": 3426.2777709960938,
+ "y": 5618.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "178d9c71.3e3cd4",
- "7eb64cc3.660424",
- "d35c9422.9abe48",
- "84121f2e.40449",
- "73826fd4.8f1b6",
- "6c4671d6.29012"
+ "c4eda641.393e38",
+ "895911c8.825af",
+ "1c77de16.c5c312",
+ "51620ac7.2631e4",
+ "bb00cbfa.ae7d18",
+ "16cb87b2.5be1d8",
+ "52ba99b7.987b88",
+ "4ff78ad7.0a8bd4",
+ "8d0864dd.8c8528",
+ "63a19143.589a9"
]
]
},
{
- "id": "178d9c71.3e3cd4",
+ "id": "c4eda641.393e38",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
- "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellDU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellDU + $tmp.rRMPolicyDedicatedRatio.CellDU`\" />",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`\" />",
"comments": "",
- "x": 3953.8125,
- "y": 5638.8125,
- "z": "7108e868.a979d8",
+ "x": 3752.706283569336,
+ "y": 5558.607483386993,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "d35c9422.9abe48",
+ "id": "1c77de16.c5c312",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3921.8125,
- "y": 5689.812271118164,
- "z": "7108e868.a979d8",
+ "x": 3697.8495330810547,
+ "y": 5602.464260101318,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6c8d9351.4d651c",
- "f56b6248.5a011"
+ "90686092.5480b",
+ "f3ac1470.9f0a28"
]
]
},
{
- "id": "6c8d9351.4d651c",
+ "id": "90686092.5480b",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4121.8125,
- "y": 5696.812026977539,
- "z": "7108e868.a979d8",
+ "x": 3893.5635299682617,
+ "y": 5593.749746322632,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f50efe95.ca3d2"
+ "d65c36b4.b13ff8"
]
]
},
{
- "id": "f50efe95.ca3d2",
+ "id": "d65c36b4.b13ff8",
"type": "execute",
"name": "patchRRMPolicyRatio NRCellDU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4403.8124923706055,
- "y": 5651.812838077545,
- "z": "7108e868.a979d8",
+ "x": 4211.277988433838,
+ "y": 5563.036683082581,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "73826fd4.8f1b6",
- "type": "set",
- "name": "RRMPolicyRatio id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />",
- "comments": "",
- "x": 3935.8125,
- "y": 5727.812271118164,
- "z": "7108e868.a979d8",
- "wires": []
- },
- {
- "id": "6c4671d6.29012",
+ "id": "bb00cbfa.ae7d18",
"type": "set",
"name": "RRMPolicyMember Id",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`\" />",
+ "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`$tmp.RRMPolicyMembersDU_Length+1`\" />",
"comments": "",
- "x": 3926.8125,
- "y": 5774.812271118164,
- "z": "7108e868.a979d8",
+ "x": 3682.8493041992188,
+ "y": 5770.321383476257,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "7eb64cc3.660424",
+ "id": "895911c8.825af",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Updated RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_updated`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioid - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyMemberid- \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field5\" value=\"Updated RRMPolicyRatio for CellDU is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`\"/>",
"comments": "",
"outputs": 1,
- "x": 3883.8125,
- "y": 5818.812271118164,
- "z": "7108e868.a979d8",
+ "x": 3658.4208221435547,
+ "y": 5810.036261558533,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "84121f2e.40449",
+ "id": "51620ac7.2631e4",
"type": "execute",
"name": "patch NRCellDU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-cellDU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3950.8125,
- "y": 5860.812271118164,
- "z": "7108e868.a979d8",
+ "x": 3742.5635681152344,
+ "y": 5846.3214864730835,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f3b17c12.36f39",
- "b73daad5.796e88"
+ "fa066444.802018",
+ "867f45b5.2aa548"
]
]
},
{
- "id": "f3b17c12.36f39",
+ "id": "fa066444.802018",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4222.8125,
- "y": 5852.812271118164,
- "z": "7108e868.a979d8",
+ "x": 4020.2777709960938,
+ "y": 5809.749764442444,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6383fa28.ddc1f4"
+ "e6fdee9b.4cad3"
]
]
},
{
- "id": "6383fa28.ddc1f4",
+ "id": "e6fdee9b.4cad3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4413.8125,
- "y": 5852.812271118164,
- "z": "7108e868.a979d8",
+ "x": 4211.277770996094,
+ "y": 5809.749764442444,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "68bb8ff1.a9c8"
+ "b5661953.85d578"
]
]
},
{
- "id": "68bb8ff1.a9c8",
+ "id": "b5661953.85d578",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 4598.812255859375,
- "y": 5853.812515258789,
- "z": "7108e868.a979d8",
+ "x": 4396.277526855469,
+ "y": 5810.750008583069,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ab223540.8967f8",
+ "id": "ebe1df71.0820d",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4680.8125,
- "y": 5896.812271118164,
- "z": "7108e868.a979d8",
+ "x": 4478.277770996094,
+ "y": 5853.749764442444,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "b6b94cea.8a762",
+ "id": "14b7d895.4babb7",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4685.8123779296875,
- "y": 5991.81233215332,
- "z": "7108e868.a979d8",
+ "x": 4483.277648925781,
+ "y": 5948.7498254776,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "6b1cdeed.a4366",
+ "id": "48902170.44222",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4440.812744140625,
- "y": 5945.812271118164,
- "z": "7108e868.a979d8",
+ "x": 4215.778049468994,
+ "y": 5851.500406742096,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "b6b94cea.8a762",
- "ab223540.8967f8",
- "ef5706f3.674e08"
+ "14b7d895.4babb7",
+ "ebe1df71.0820d",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "b73daad5.796e88",
+ "id": "867f45b5.2aa548",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4221.8125,
- "y": 5940.812271118164,
- "z": "7108e868.a979d8",
+ "x": 4029.277862548828,
+ "y": 5857.750407218933,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6b1cdeed.a4366"
+ "48902170.44222"
]
]
},
{
- "id": "2ea51be.93ad1e4",
+ "id": "42884319.8bf8dc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3143.3125915527344,
- "y": 5945.81259727478,
- "z": "7108e868.a979d8",
+ "x": 2940.777862548828,
+ "y": 5902.75009059906,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c73356e6.02bb68",
- "39bf934c.b3043c"
+ "16890fa5.e64db",
+ "aec15b06.02fe68",
+ "e4ce6413.ed6fd8",
+ "8e49b3c8.74b25",
+ "ee5b9b09.ca97c8",
+ "176390ef.cbac9f",
+ "48796b63.39bec4",
+ "3087ba3a.ed4566",
+ "68990179.2bf66",
+ "89e3c3a4.70c62"
]
]
},
{
- "id": "c73356e6.02bb68",
+ "id": "16890fa5.e64db",
"type": "execute",
"name": "Update cellDU for gNBDU in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updategNBDU.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBDU.json\n'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 3606.3125,
- "y": 5953.8125,
- "z": "7108e868.a979d8",
+ "x": 3403.7777709960938,
+ "y": 5910.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a24fd2cf.8b1ec",
- "8419e3c3.46911"
+ "2d8902f3.e33f8e",
+ "7e64488b.4a4c58"
]
]
},
{
- "id": "a24fd2cf.8b1ec",
+ "id": "2d8902f3.e33f8e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3893.3125,
- "y": 5924.812744140625,
- "z": "7108e868.a979d8",
+ "x": 3690.7777709960938,
+ "y": 5881.750237464905,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "89e2bad2.ccb4f8"
+ "a2b007bf.eb5648"
]
]
},
{
- "id": "8419e3c3.46911",
+ "id": "7e64488b.4a4c58",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3842.3125,
- "y": 6025.8125,
- "z": "7108e868.a979d8",
+ "x": 3691.0279846191406,
+ "y": 5920.250407218933,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "64bf915a.e00cf"
+ "31372a2.f90eed6"
]
]
},
{
- "id": "64bf915a.e00cf",
+ "id": "31372a2.f90eed6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3928.312484741211,
- "y": 6106.812561035156,
- "z": "7108e868.a979d8",
+ "x": 3864.5277976989746,
+ "y": 5941.250164985657,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a85db168.b368f"
+ "9c01d7e3.c1cee8"
]
]
},
{
- "id": "89e2bad2.ccb4f8",
+ "id": "a2b007bf.eb5648",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4085.3125,
- "y": 6040.8125,
- "z": "7108e868.a979d8",
+ "x": 3884.027862548828,
+ "y": 5904.000409126282,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "5e5df2c7.c7192c",
- "9592e6f2.09e4f8",
- "ef5706f3.674e08"
+ "2516ca3.9ce6f36",
+ "cf1f0edd.a9376",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "9592e6f2.09e4f8",
+ "id": "cf1f0edd.a9376",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4251.312301635742,
- "y": 6008.812488555908,
- "z": "7108e868.a979d8",
+ "x": 4087.5276832580566,
+ "y": 5907.000285461545,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "a85db168.b368f",
+ "id": "9c01d7e3.c1cee8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 4092.3125,
- "y": 6112.8125,
- "z": "7108e868.a979d8",
+ "x": 4077.278045654297,
+ "y": 5978.500531196594,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "5e5df2c7.c7192c",
+ "id": "2516ca3.9ce6f36",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4256.3121337890625,
- "y": 6101.812561035156,
- "z": "7108e868.a979d8",
+ "x": 4102.527496337891,
+ "y": 5946.250164985657,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "fa7c7018.fe14d",
+ "id": "6de737e8.019fd8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4294.312301635742,
- "y": 6152.812488555908,
- "z": "7108e868.a979d8",
+ "x": 4101.777557373047,
+ "y": 6207.250532150269,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "7184d1ab.d87de",
+ "id": "39b9f4ac.e5765c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4299.31217956543,
- "y": 6247.812549591064,
- "z": "7108e868.a979d8",
+ "x": 4121.777683258057,
+ "y": 6248.500533103943,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "31dba375.14b29c",
+ "id": "351456c3.606afa",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4128.312545776367,
- "y": 6186.812488555908,
- "z": "7108e868.a979d8",
+ "x": 3912.028045654297,
+ "y": 6240.000166893005,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "7184d1ab.d87de",
- "fa7c7018.fe14d",
- "ef5706f3.674e08"
+ "39b9f4ac.e5765c",
+ "6de737e8.019fd8",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "ad921fdb.ed082",
+ "id": "190dc42c.27b26c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3925.312545776367,
- "y": 6189.812488555908,
- "z": "7108e868.a979d8",
+ "x": 3719.0279235839844,
+ "y": 6214.250044822693,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "31dba375.14b29c"
+ "351456c3.606afa"
]
]
},
{
- "id": "39bf934c.b3043c",
+ "id": "aec15b06.02fe68",
"type": "execute",
"name": "Update RRMPolicy for gNBDU in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-DU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 3627.312545776367,
- "y": 6239.812488555908,
- "z": "7108e868.a979d8",
+ "x": 3424.777816772461,
+ "y": 6196.749981880188,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ad921fdb.ed082",
- "9dc33a14.4035f8"
+ "190dc42c.27b26c",
+ "ee3128b4.0da778"
]
]
},
{
- "id": "9dc33a14.4035f8",
+ "id": "ee3128b4.0da778",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3925.312545776367,
- "y": 6299.812244415283,
- "z": "7108e868.a979d8",
+ "x": 3722.777816772461,
+ "y": 6256.749737739563,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "3a10913d.9ec45e"
+ "57dc382f.00fb78"
]
]
},
{
- "id": "3a10913d.9ec45e",
+ "id": "57dc382f.00fb78",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4106.312545776367,
- "y": 6293.812488555908,
- "z": "7108e868.a979d8",
+ "x": 3905.0279846191406,
+ "y": 6300.750289916992,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "acec8e16.d2012"
+ "1f81d34d.b9bc8d"
]
]
},
{
- "id": "acec8e16.d2012",
+ "id": "1f81d34d.b9bc8d",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellDU RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 4272.312545776367,
- "y": 6294.812488555908,
- "z": "7108e868.a979d8",
+ "x": 4069.778045654297,
+ "y": 6305.500045776367,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ef5706f3.674e08",
+ "id": "dd5a532a.31de7",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4765.296875,
- "y": 2845.8125026226044,
- "z": "7108e868.a979d8",
+ "x": 4562.762145996094,
+ "y": 2802.749995946884,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e14a6d46.023e1",
- "f540d7f6.c63608",
- "dcc8b791.a74578"
+ "4993a717.46f8a8",
+ "a189426a.e06f",
+ "407cd551.8c0b3c"
]
]
},
{
- "id": "e14a6d46.023e1",
+ "id": "4993a717.46f8a8",
"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": 5427.2978515625,
- "y": 2637.7121608257294,
- "z": "7108e868.a979d8",
+ "x": 5224.763122558594,
+ "y": 2594.649654150009,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "f540d7f6.c63608",
+ "id": "a189426a.e06f",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
"comments": "",
"outputs": 1,
- "x": 5402.296737670898,
- "y": 2734.8128383159637,
- "z": "7108e868.a979d8",
+ "x": 5199.762008666992,
+ "y": 2691.7503316402435,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "dcc8b791.a74578",
+ "id": "407cd551.8c0b3c",
"type": "execute",
"name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 5317.29674911499,
- "y": 2831.8127162456512,
- "z": "7108e868.a979d8",
+ "x": 5114.762020111084,
+ "y": 2788.750209569931,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "aa777b08.53a7a8",
- "104728ce.e17727"
+ "5c35317c.25782",
+ "406c58b9.0af8e8"
]
]
},
{
- "id": "aa777b08.53a7a8",
+ "id": "5c35317c.25782",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5543.296757698059,
- "y": 2808.812685251236,
- "z": "7108e868.a979d8",
+ "x": 5340.762028694153,
+ "y": 2765.7501785755157,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f4582848.a8f468"
+ "e738ce4d.3ec9a"
]
]
},
{
- "id": "104728ce.e17727",
+ "id": "406c58b9.0af8e8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5533.296611785889,
- "y": 2916.812624692917,
- "z": "7108e868.a979d8",
+ "x": 5330.761882781982,
+ "y": 2873.7501180171967,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "c051cef5.032e7"
+ "81c7f73b.bb5988"
]
]
},
{
- "id": "c051cef5.032e7",
+ "id": "81c7f73b.bb5988",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5683.296398162842,
- "y": 2935.812685728073,
- "z": "7108e868.a979d8",
+ "x": 5480.761669158936,
+ "y": 2892.750179052353,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "afe80856.a1d1c8"
+ "685257c1.dbd598"
]
]
},
{
- "id": "f4582848.a8f468",
+ "id": "e738ce4d.3ec9a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5694.296627044678,
- "y": 2803.8128073215485,
- "z": "7108e868.a979d8",
+ "x": 5491.7618980407715,
+ "y": 2760.7503006458282,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "7098be89.b1eb5"
+ "6fc8ce12.ffbf7"
]
]
},
{
- "id": "7098be89.b1eb5",
+ "id": "6fc8ce12.ffbf7",
"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": 5860.296306610107,
- "y": 2806.812624692917,
- "z": "7108e868.a979d8",
+ "x": 5657.761577606201,
+ "y": 2763.7501180171967,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "afe80856.a1d1c8",
+ "id": "685257c1.dbd598",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 5847.296413421631,
- "y": 2941.812624692917,
- "z": "7108e868.a979d8",
+ "x": 5644.761684417725,
+ "y": 2898.7501180171967,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "134f1599.6c4a8a",
+ "id": "1801c640.1eb6aa",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 847.296875,
- "y": 4527.812502622604,
- "z": "7108e868.a979d8",
+ "x": 644.7621459960938,
+ "y": 4484.749995946884,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "82904319.0efd1",
- "5831ff8f.1496e",
- "1d979743.441219",
- "fa9893c6.512cc"
+ "2c6206d.6de70fa",
+ "1ddffe68.aee752",
+ "2cffaaba.2b0726",
+ "d4ac5731.8f4448"
]
]
},
{
- "id": "1d979743.441219",
+ "id": "2cffaaba.2b0726",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
"comments": "",
- "x": 1127.2980194091797,
- "y": 4377.711987257004,
- "z": "7108e868.a979d8",
+ "x": 924.7632904052734,
+ "y": 4334.649480581284,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "82904319.0efd1",
+ "id": "2c6206d.6de70fa",
"type": "record",
"name": "record SO reply parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
"comments": "",
"outputs": 1,
- "x": 1124.2968521118164,
- "y": 4531.812685728073,
- "z": "7108e868.a979d8",
+ "x": 921.7621231079102,
+ "y": 4488.750179052353,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "5831ff8f.1496e",
+ "id": "1ddffe68.aee752",
"type": "execute",
"name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 993.2969512939453,
- "y": 4648.812390089035,
- "z": "7108e868.a979d8",
+ "x": 790.7622222900391,
+ "y": 4605.749883413315,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a65f78fa.56f2d8",
- "c50ac077.03657"
+ "a55efb74.e8f6e8",
+ "48bc51e1.3154e"
]
]
},
{
- "id": "a65f78fa.56f2d8",
+ "id": "a55efb74.e8f6e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1158.2969512939453,
- "y": 4628.812389135361,
- "z": "7108e868.a979d8",
+ "x": 955.7622222900391,
+ "y": 4585.7498824596405,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a2576d09.489f3"
+ "d66ff12f.16632"
]
]
},
{
- "id": "c50ac077.03657",
+ "id": "48bc51e1.3154e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1150.2968444824219,
- "y": 4701.812339544296,
- "z": "7108e868.a979d8",
+ "x": 947.7621154785156,
+ "y": 4658.749832868576,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "e328c501.176f58"
+ "9a5e9c9.84c586"
]
]
},
{
- "id": "e328c501.176f58",
+ "id": "9a5e9c9.84c586",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1296.296688079834,
- "y": 4706.812448263168,
- "z": "7108e868.a979d8",
+ "x": 1093.7619590759277,
+ "y": 4663.749941587448,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6c9548b2.9d00a8"
+ "229f34c3.38d9cc"
]
]
},
{
- "id": "a2576d09.489f3",
+ "id": "d66ff12f.16632",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1307.2968521118164,
- "y": 4624.812524557114,
- "z": "7108e868.a979d8",
+ "x": 1104.7621231079102,
+ "y": 4581.750017881393,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "97c6f5ad.db3368",
- "7528351d.82c32c"
+ "95dd5894.9881e8",
+ "6e82bdb4.1291d4"
]
]
},
{
- "id": "97c6f5ad.db3368",
+ "id": "95dd5894.9881e8",
"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": 1454.2964706420898,
- "y": 4635.812266111374,
- "z": "7108e868.a979d8",
+ "x": 1251.7617416381836,
+ "y": 4592.749759435654,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "6c9548b2.9d00a8",
+ "id": "229f34c3.38d9cc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 1457.2966079711914,
- "y": 4712.812340497971,
- "z": "7108e868.a979d8",
+ "x": 1254.7618789672852,
+ "y": 4669.74983382225,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "7528351d.82c32c",
+ "id": "6e82bdb4.1291d4",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1441.8070793151855,
- "y": 4539.801757574081,
- "z": "7108e868.a979d8",
+ "x": 1239.2723503112793,
+ "y": 4496.739250898361,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "fa9893c6.512cc",
+ "id": "d4ac5731.8f4448",
"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": 1146.636474609375,
- "y": 4467.79783987999,
- "z": "7108e868.a979d8",
+ "x": 944.1017456054688,
+ "y": 4424.735333204269,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "2db4eb44.da6004",
+ "id": "7f6e77c.a8aac88",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2548.8125,
- "y": 1842.8125,
- "z": "7108e868.a979d8",
+ "x": 2346.2777709960938,
+ "y": 1799.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "6181616d.f9638"
+ "d8f59417.85a648"
]
]
},
{
- "id": "6181616d.f9638",
+ "id": "d8f59417.85a648",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2741.802158355713,
- "y": 1842.8126220703125,
- "z": "7108e868.a979d8",
+ "x": 2539.2674293518066,
+ "y": 1799.7501153945923,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "368a72f6.49333e",
- "255bdee5.7c7202"
+ "d6105a5.b6d1ea8",
+ "222f51f0.5525ce"
]
]
},
{
- "id": "368a72f6.49333e",
+ "id": "d6105a5.b6d1ea8",
"type": "execute",
"name": "generate fetchRRMPolicyRatio.ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3048.802345275879,
- "y": 1809.81272315979,
- "z": "7108e868.a979d8",
+ "x": 2846.2676162719727,
+ "y": 1766.7502164840698,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "255bdee5.7c7202",
+ "id": "222f51f0.5525ce",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 2992.802745819092,
- "y": 1862.8129167556763,
- "z": "7108e868.a979d8",
+ "x": 2790.2680168151855,
+ "y": 1819.750410079956,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "1be9da11.5515e6",
+ "id": "b5b52336.410c8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2976.3125,
- "y": 1226.8125,
- "z": "7108e868.a979d8",
+ "x": 2773.7777709960938,
+ "y": 1183.7499933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "914f0a5c.a3eae8",
- "a4bc1334.77552"
+ "c34315fa.1db498",
+ "6d09e853.849f08"
]
]
},
{
- "id": "a4bc1334.77552",
+ "id": "6d09e853.849f08",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3227.312931060791,
- "y": 1249.81263256073,
- "z": "7108e868.a979d8",
+ "x": 3024.7782020568848,
+ "y": 1206.7501258850098,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "914f0a5c.a3eae8",
+ "id": "c34315fa.1db498",
"type": "execute",
"name": "generate patchPLMNInfoList.ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3283.312530517578,
- "y": 1196.8124389648438,
- "z": "7108e868.a979d8",
+ "x": 3080.777801513672,
+ "y": 1153.7499322891235,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "c7e85be4.6ec848",
+ "id": "af2d8803.1f17e8",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3479.312641143799,
- "y": 2323.8125944137573,
- "z": "7108e868.a979d8",
+ "x": 3262.3337936401367,
+ "y": 2189.638879776001,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "9860039d.f6928",
+ "id": "5834fa69.5c6e14",
"type": "execute",
"name": "generate patchRRMPolicyRatio.ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3535.312240600586,
- "y": 2270.812400817871,
- "z": "7108e868.a979d8",
+ "x": 3320.5557708740234,
+ "y": 2146.6389694213867,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "53ef7019.7a1f9",
+ "id": "2e20d9b3.457fa6",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3228.31205368042,
- "y": 2303.8122997283936,
- "z": "7108e868.a979d8",
+ "x": 3036.8885040283203,
+ "y": 2148.527316093445,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "9860039d.f6928",
- "c7e85be4.6ec848"
+ "5834fa69.5c6e14",
+ "af2d8803.1f17e8"
]
]
},
{
- "id": "4555531e.6f353c",
+ "id": "e3bb4f1.511c9b",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3035.322395324707,
- "y": 2303.812177658081,
- "z": "7108e868.a979d8",
+ "x": 2872.7879180908203,
+ "y": 2148.5279393196106,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "53ef7019.7a1f9"
+ "2e20d9b3.457fa6"
]
]
},
{
- "id": "40ea92ad.608b2c",
+ "id": "7e48e4bd.28eafc",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 2515.8125,
- "y": 2879.8125,
- "z": "7108e868.a979d8",
+ "x": 2313.2777709960938,
+ "y": 2836.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "9ec13137.5f236",
+ "id": "b8c91b91.bc1ed8",
"type": "execute",
"name": "generate patchPLMNInfoList.TogNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2571.812099456787,
- "y": 2826.8123064041138,
- "z": "7108e868.a979d8",
+ "x": 2369.277370452881,
+ "y": 2783.7497997283936,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "cec48822.0fc488",
+ "id": "3e7fc5f2.be339a",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2269.8121643066406,
- "y": 2866.8122453689575,
- "z": "7108e868.a979d8",
+ "x": 2050.6107215881348,
+ "y": 2779.305579185486,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "9ec13137.5f236",
- "40ea92ad.608b2c"
+ "b8c91b91.bc1ed8",
+ "7e48e4bd.28eafc"
]
]
},
{
- "id": "ea9d3f75.46bf6",
+ "id": "ec1ec2d5.64a1",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2295.8125,
- "y": 3223.8125,
- "z": "7108e868.a979d8",
+ "x": 2093.2777709960938,
+ "y": 3180.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "4c5f38d0.c0dbe8",
- "408475cd.4bbdbc"
+ "22c23be2.23e954",
+ "132387bc.eb1048"
]
]
},
{
- "id": "4c5f38d0.c0dbe8",
+ "id": "22c23be2.23e954",
"type": "execute",
"name": "fetch RRMPolicyRatio.TogNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2597.8124351501465,
- "y": 3183.8125610351562,
- "z": "7108e868.a979d8",
+ "x": 2395.2777061462402,
+ "y": 3140.750054359436,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "408475cd.4bbdbc",
+ "id": "132387bc.eb1048",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 2541.8128356933594,
- "y": 3236.8127546310425,
- "z": "7108e868.a979d8",
+ "x": 2339.278106689453,
+ "y": 3193.7502479553223,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "84a6a111.772e4",
+ "id": "daec73d6.40c28",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2068.3125,
- "y": 3232.8125,
- "z": "7108e868.a979d8",
+ "x": 1865.7777709960938,
+ "y": 3189.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "ea9d3f75.46bf6"
+ "ec1ec2d5.64a1"
]
]
},
{
- "id": "96bf52a5.a5094",
+ "id": "70e9bf72.db75d",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2605.3125,
- "y": 3678.8125,
- "z": "7108e868.a979d8",
+ "x": 2410.555721282959,
+ "y": 3613.5277214050293,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "f833b9d4.5c52d8"
+ "8f68384b.4bdba8"
]
]
},
{
- "id": "f833b9d4.5c52d8",
+ "id": "8f68384b.4bdba8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2832.8125,
- "y": 3669.8125,
- "z": "7108e868.a979d8",
+ "x": 2625.8333778381348,
+ "y": 3591.1944494247437,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "56078e71.c09d6",
- "da40eae9.0ed398"
+ "7f8b4700.95f468",
+ "92b538c5.19ca88"
]
]
},
{
- "id": "56078e71.c09d6",
+ "id": "7f8b4700.95f468",
"type": "execute",
"name": "patch RRMPolicyRatio.TogNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3134.8124351501465,
- "y": 3629.8125610351562,
- "z": "7108e868.a979d8",
+ "x": 2932.2777061462402,
+ "y": 3586.750054359436,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "da40eae9.0ed398",
+ "id": "92b538c5.19ca88",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 3078.8128356933594,
- "y": 3682.8127546310425,
- "z": "7108e868.a979d8",
+ "x": 2876.278106689453,
+ "y": 3639.7502479553223,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "e66f84d4.6add28",
+ "id": "21313198.fd408e",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3718.3125,
- "y": 4661.8125,
- "z": "7108e868.a979d8",
+ "x": 3515.7777709960938,
+ "y": 4618.74999332428,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "260b2835.22a518",
- "6e4be15c.f00f2"
+ "b8295417.a1dfa8",
+ "d6d6f49f.c6e468"
]
]
},
{
- "id": "260b2835.22a518",
+ "id": "b8295417.a1dfa8",
"type": "execute",
"name": "generate patchPLMNInfoList.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4025.312530517578,
- "y": 4631.812438964844,
- "z": "7108e868.a979d8",
+ "x": 3822.777801513672,
+ "y": 4588.7499322891235,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "6e4be15c.f00f2",
+ "id": "d6d6f49f.c6e468",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3969.312931060791,
- "y": 4684.81263256073,
- "z": "7108e868.a979d8",
+ "x": 3766.7782020568848,
+ "y": 4641.75012588501,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "5a933026.4d27b",
+ "id": "8c2e0cd.722b2f",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3615.0625,
- "y": 5284.8125,
- "z": "7108e868.a979d8",
+ "x": 3453.9564895629883,
+ "y": 5287.464415550232,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "a8f05d38.a83c1"
+ "5c6cdb05.94d3d4"
]
]
},
{
- "id": "a8f05d38.a83c1",
+ "id": "5c6cdb05.94d3d4",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3782.062732696533,
- "y": 5283.0620975494385,
- "z": "7108e868.a979d8",
+ "x": 3585.2425689697266,
+ "y": 5314.285113334656,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "4c48557d.0a3a9c",
- "73416530.7efcdc"
+ "9b4abfa0.2e116",
+ "50af952f.c2746c"
]
]
},
{
- "id": "4c48557d.0a3a9c",
+ "id": "9b4abfa0.2e116",
"type": "execute",
"name": "generate patchRRMPolicyRatio.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4029.0625495910645,
- "y": 5250.0620975494385,
- "z": "7108e868.a979d8",
+ "x": 3826.527820587158,
+ "y": 5206.999590873718,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "73416530.7efcdc",
+ "id": "50af952f.c2746c",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3972.0630378723145,
- "y": 5311.062463760376,
- "z": "7108e868.a979d8",
+ "x": 3769.528308868408,
+ "y": 5267.999957084656,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "f56b6248.5a011",
+ "id": "f3ac1470.9f0a28",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4115.0625,
- "y": 5759.8125,
- "z": "7108e868.a979d8",
+ "x": 3888.2421875,
+ "y": 5633.893160820007,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "bbf06627.f3ed78"
+ "568823eb.c15dec"
]
]
},
{
- "id": "bbf06627.f3ed78",
+ "id": "568823eb.c15dec",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4282.062732696533,
- "y": 5758.0620975494385,
- "z": "7108e868.a979d8",
+ "x": 4046.671443939209,
+ "y": 5645.0000076293945,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "5f9cb422.af919c",
- "da32c67c.e299e8"
+ "808dce4b.d2c8d",
+ "81b47bd.3567288"
]
]
},
{
- "id": "5f9cb422.af919c",
+ "id": "808dce4b.d2c8d",
"type": "execute",
"name": "generate patchRRMPolicyRatio.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4529.062549591064,
- "y": 5725.0620975494385,
- "z": "7108e868.a979d8",
+ "x": 4296.527542114258,
+ "y": 5607.714659690857,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "da32c67c.e299e8",
+ "id": "81b47bd.3567288",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4472.063037872314,
- "y": 5786.062463760376,
- "z": "7108e868.a979d8",
+ "x": 4235.24259185791,
+ "y": 5657.285738945007,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "e20376cf.788968",
+ "id": "d966e0a4.06f35",
"type": "comment",
"name": "instantiateRANSlice-ModifyAllocate",
"info": "",
"comments": "",
- "x": 1096.5625,
- "y": 154.0625,
- "z": "7108e868.a979d8",
+ "x": 783.0277557373047,
+ "y": 69.99999618530273,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "ed3c9a78.956f38",
+ "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": 293.298583984375,
+ "y": 1486.1041193008423,
+ "z": "ecab9296.c8bb5",
"wires": []
},
{
- "id": "f75f3c8b.be38f",
+ "id": "2fed7838.3e4478",
+ "type": "execute",
+ "name": "set sNSSAI",
+ "xml": "<set>\n<parameter name='tmp.sNSSAI' value='`$tmp.payload.sNSSAI`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 727.0277404785156,
+ "y": 214.0000057220459,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7cf6a0a.7602d8",
+ "type": "set",
+ "name": "Calculate maxNumberOfConnsPercellCU * 100",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n",
+ "comments": "",
+ "x": 2209.7778491973877,
+ "y": 1675.2500095367432,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "1a62fde5.66d4f2",
+ "type": "set",
+ "name": "Calculate RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
+ "comments": "",
+ "x": 2161.7778491973877,
+ "y": 1713.2500095367432,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "286ddbec.57d7c4",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioList_length' value='`$get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
+ "comments": "",
+ "x": 2196.0277576446533,
+ "y": 2002.250135421753,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "cb603df3.12a5a",
+ "type": "execute",
+ "name": "read rrmPolicyDedicatedRatio_cellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatiocellCU_old' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2662.0277576446533,
+ "y": 2075.000078201294,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "51b41b66.216574",
+ "type": "block",
+ "name": "Get Cells List in TA",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 482.27777099609375,
+ "y": 872.0000157356262,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "faf6dcc0.4a777",
+ "d2bb3cf4.20a25",
+ "3b9e8228.6b4d7e"
+ ]
+ ]
+ },
+ {
+ "id": "faf6dcc0.4a777",
+ "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": 758.7778930664062,
+ "y": 1000.4999394416809,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d2bb3cf4.20a25",
+ "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": 758.7779159545898,
+ "y": 1042.2502136230469,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3b9e8228.6b4d7e",
+ "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": 744.2778930664062,
+ "y": 1094.0000925064087,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "822850d6.990ce",
+ "b3f26a14.d5d5c8"
+ ]
+ ]
+ },
+ {
+ "id": "822850d6.990ce",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1074.2776184082031,
+ "y": 927.0001354217529,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "a262f43a.5283d8"
+ ]
+ ]
+ },
+ {
+ "id": "b3f26a14.d5d5c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1068.2775421142578,
+ "y": 973.0001220703125,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "be9b511e.c44ae"
+ ]
+ ]
+ },
+ {
+ "id": "be9b511e.c44ae",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1218.2772674560547,
+ "y": 974.0001683235168,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "73fca4fd.b7362c",
+ "e98da22b.3aff5",
+ "8fe33e85.79785"
+ ]
+ ]
+ },
+ {
+ "id": "73fca4fd.b7362c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained List of Cells from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getListofCells-configdb-response._length`\"/>\n<parameter name=\"field3\" value=\"List of Cells in the Tracking Area Relevant for RAN Slice Instantiation \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1407.277328491211,
+ "y": 887.0001220703125,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8fe33e85.79785",
+ "type": "for",
+ "name": "For list of cells",
+ "xml": "<for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1416.2984313964844,
+ "y": 924.6663513183594,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "2d309897.8f3dc8",
+ "93a840ae.96884"
+ ]
+ ]
+ },
+ {
+ "id": "e98da22b.3aff5",
"type": "execute",
- "name": "read PLMNList size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`\" />",
+ "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": 2322.4656295776367,
- "y": 885.909752368927,
- "z": "7108e868.a979d8",
+ "x": 1387.055648803711,
+ "y": 972.0001373291016,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ab9b5a5f.7edca8",
+ "id": "2d309897.8f3dc8",
+ "type": "execute",
+ "name": "Cells in TrackingArea",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $idx + ']'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1621.2982788085938,
+ "y": 874.3328857421875,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "93a840ae.96884",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.trackingarea.cell`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1574.2982788085938,
+ "y": 917.6662607192993,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a262f43a.5283d8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1235.2774963378906,
+ "y": 897.0000600814819,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "796502a3.c2f65c",
+ "8a99cf77.1c2c8"
+ ]
+ ]
+ },
+ {
+ "id": "8a99cf77.1c2c8",
+ "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": 1494.2777099609375,
+ "y": 793.1111373901367,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "796502a3.c2f65c",
+ "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": 1479.2773742675781,
+ "y": 837.0001373291016,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "3fcfd799.26f778",
"type": "for",
- "name": "foreach PLMNInfo",
- "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
+ "name": "foreach TACell",
+ "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2337.0490646362305,
- "y": 949.6597952842712,
- "z": "7108e868.a979d8",
+ "x": 2084.361152648926,
+ "y": 951.3612060546875,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "327234de.3a864c"
+ "fe79e9a1.bd9268"
]
]
},
{
- "id": "327234de.3a864c",
+ "id": "3adedaf9.ad7a56",
+ "type": "switchNode",
+ "name": "is cellCU applicable for NSSAI",
+ "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2333.2777709960938,
+ "y": 886.4999933242798,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "14792223.bbe25e"
+ ]
+ ]
+ },
+ {
+ "id": "14792223.bbe25e",
+ "type": "outcome",
+ "name": "Applicable",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2274.2777709960938,
+ "y": 959.4999933242798,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "882e7a80.d74e58"
+ ]
+ ]
+ },
+ {
+ "id": "fe79e9a1.bd9268",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2514.9380416870117,
- "y": 872.437584400177,
- "z": "7108e868.a979d8",
+ "x": 2126.2777709960938,
+ "y": 786.4999933242798,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "1a9da553.0446fb",
- "ed323aec.b19e28",
- "81e0ba30.914fd8"
+ "3adedaf9.ad7a56",
+ "4f62074b.7611d8",
+ "bdd0d419.d8f3f8"
]
]
},
{
- "id": "1a9da553.0446fb",
+ "id": "4f62074b.7611d8",
+ "type": "execute",
+ "name": "read Cell from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2452.2777709960938,
+ "y": 729.4999933242798,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bdd0d419.d8f3f8",
+ "type": "execute",
+ "name": "read cellCU from getListofCells-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id-ta + ']'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2462.2777709960938,
+ "y": 794.4999933242798,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c282a260.9d8de",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio_id is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyMember_id - \"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n<parameter name=\"field5\" value=\"RRMPolicyRatio update URL is - \"/>\n<parameter name=\"field6\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2720.827003479004,
- "y": 895.6597666740417,
- "z": "7108e868.a979d8",
+ "x": 2607.472267150879,
+ "y": 2319.6111402511597,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "ed323aec.b19e28",
- "type": "switchNode",
- "name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "id": "b3c3cf99.6f492",
+ "type": "execute",
+ "name": "prepare idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2892.194320678711,
+ "y": 2185.444308280945,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8f54fffc.9c001",
+ "type": "execute",
+ "name": "prepare idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2886.7497787475586,
+ "y": 2215.4445486068726,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "148d5e51.205352",
+ "type": "execute",
+ "name": "read rrmPolicyMemberListLength",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyMembers' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2897.472396850586,
+ "y": 2248.777892112732,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8f418c29.a17f4",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.CUCPName`'/>\n<parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBCUCPList.nFType' value='RRC Connected Users'/>\n ",
+ "comments": "",
+ "x": 1985.0001029968262,
+ "y": 2250.4444789886475,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "ca3912f.d1798f",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"gNBCUName\"/>\n<parameter name=\"field8\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBCUCPList.gNBId`\"/>\n<parameter name=\"field11\" value=\"nFType\"/>\n<parameter name=\"field12\" value=\"`$tmp.gNBCUCPList.nFType`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1971.4999504089355,
+ "y": 2292.6666173934937,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "29ac3d55.731702",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config DB update\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1955.2152709960938,
+ "y": 2207.24999332428,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ecf0eb94.11b9d8",
+ "type": "execute",
+ "name": "get PLMNId URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2759.7158432006836,
- "y": 960.2153334617615,
- "z": "7108e868.a979d8",
+ "x": 761.4652709960938,
+ "y": 393.1874933242798,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "83908c36.67ca7",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 734.9653396606445,
+ "y": 436.1875276565552,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af70e055.a55d3",
+ "type": "execute",
+ "name": "Get PLMN from Sliceprofile id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 802.7152709960938,
+ "y": 479.1874809265137,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "7dcede1.de3672"
+ "16b504ec.cfbb6b",
+ "787f632a.4559bc"
]
]
},
{
- "id": "7dcede1.de3672",
- "type": "outcome",
- "name": "True",
- "xml": "<outcome value='true'>\n",
+ "id": "1b3d2270.9f737e",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 748.2088241577148,
+ "y": 638.6809701919556,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6c2905b1.5d124c",
+ "type": "execute",
+ "name": "find MCC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 743.7152709960938,
+ "y": 559.4376137256622,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3abeea9c.1b2eb6",
+ "type": "execute",
+ "name": "find MNC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 747.4653472900391,
+ "y": 596.6874465942383,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ade269f7.3d78c8",
+ "type": "block",
+ "name": "get PLMNId",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 496.4652786254883,
+ "y": 503.1874990463257,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "ecf0eb94.11b9d8",
+ "83908c36.67ca7",
+ "af70e055.a55d3",
+ "6c2905b1.5d124c",
+ "3abeea9c.1b2eb6",
+ "1b3d2270.9f737e",
+ "cea464b4.22b448"
+ ]
+ ]
+ },
+ {
+ "id": "cea464b4.22b448",
+ "type": "set",
+ "name": "set PLMNId",
+ "xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-configdb-response.plmnId`'/>",
+ "comments": "",
+ "x": 759.9028282165527,
+ "y": 517.875,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "16b504ec.cfbb6b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1040.2152709960938,
+ "y": 484.4374933242798,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "29352de3.1f0e32"
+ ]
+ ]
+ },
+ {
+ "id": "29352de3.1f0e32",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2949.1880416870117,
- "y": 960.437662601471,
- "z": "7108e868.a979d8",
+ "x": 1213.215072631836,
+ "y": 473.43756580352783,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "d5711de.7d20ee"
+ "3bc43a09.4c5556",
+ "d5e7d38e.57b25"
]
]
},
{
- "id": "81e0ba30.914fd8",
+ "id": "3bc43a09.4c5556",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained PLMNId info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getPLMN-configdb-response`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1413.96480178833,
+ "y": 473.18759059906006,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d5e7d38e.57b25",
"type": "execute",
- "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />",
+ "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": 1449.7430152893066,
+ "y": 516.4375991821289,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "295dcd8f.d34882",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfo-configdb-response.rrmPolicyID`'/>\n<parameter name='tmp.resourceID' value='`$tmp.cellCULocalId`'/>",
+ "comments": "",
+ "x": 2020.8404083251953,
+ "y": 2510.0625562667847,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "e67c1235.a668b",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
"comments": "",
"outputs": 1,
- "x": 2849.8268966674805,
- "y": 827.6598153114319,
- "z": "7108e868.a979d8",
+ "x": 1986.0902366638184,
+ "y": 2561.0345702171326,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "9075c0f5.a64f5",
+ "id": "4639f97.7feb608",
"type": "execute",
- "name": "read PLMNList size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`\" />",
+ "name": "generate getRRMPolicyRatio URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getRRMPolicyRatio`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceType}\"/>\n <parameter name=\"replacement\" value=\"RRC Connected Users\"/>",
"comments": "",
"outputs": 1,
- "x": 2445.3125,
- "y": 4357.8125,
- "z": "7108e868.a979d8",
+ "x": 2069.249984741211,
+ "y": 2369.0556211471558,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "db078c99.82cd6",
- "type": "for",
- "name": "foreach PLMNInfo",
- "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+ "id": "30531c3.32959e4",
+ "type": "execute",
+ "name": "Get rrmPolicy by resourceid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfo-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2071.638687133789,
+ "y": 2473.2220945358276,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "41528a78.b36974",
+ "d30b0dd8.157b5"
+ ]
+ ]
+ },
+ {
+ "id": "79add8fe.1d3c58",
+ "type": "execute",
+ "name": "prepare resourceId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2024.8054656982422,
+ "y": 2398.222234725952,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "41528a78.b36974",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2375.3610229492188,
+ "y": 2524.055413246155,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "8c18dc3c.f60c2"
+ ]
+ ]
+ },
+ {
+ "id": "d30b0dd8.157b5",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2379.47208404541,
+ "y": 2569.2777161598206,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "ac147d54.4bfb7"
+ ]
+ ]
+ },
+ {
+ "id": "8c18dc3c.f60c2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2527.3613147735596,
+ "y": 2522.055393218994,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "c1d90c31.c6d7f",
+ "5505e414.d72ebc"
+ ]
+ ]
+ },
+ {
+ "id": "5505e414.d72ebc",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2693.3610706329346,
+ "y": 2488.055393218994,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "c1d90c31.c6d7f",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2721.694534301758,
+ "y": 2520.833411216736,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "71c39fca.ccb7c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2697.250015258789,
+ "y": 2552.055764198303,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "742be788.ee2cd8",
+ "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": 2795.472183227539,
+ "y": 2578.3888597488403,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ac147d54.4bfb7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2534.0276794433594,
+ "y": 2572.944191932678,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "71c39fca.ccb7c",
+ "742be788.ee2cd8"
+ ]
+ ]
+ },
+ {
+ "id": "5b1ca906.eba328",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2009.2499389648438,
+ "y": 2442.38866519928,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "69ec533e.600d9c",
+ "type": "set",
+ "name": "Calculate maxNumberOfDRBsPerNSSAI",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />",
+ "comments": "",
+ "x": 1756.7499542236328,
+ "y": 2992.6668615341187,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "14b3dc4d.71ca44",
+ "type": "set",
+ "name": "Calculate maxNumberOfDRBsPerCUUP",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />",
+ "comments": "",
+ "x": 1765.6388092041016,
+ "y": 3027.1108541488647,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "d4cbbf53.53515",
+ "type": "set",
+ "name": "Calculate RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
+ "comments": "",
+ "x": 1716.7499465942383,
+ "y": 3098.222252845764,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "a36cc0c6.861ae",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1703.1388549804688,
+ "y": 2843.499749183655,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2ff98ab1.8da426",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1712.027847290039,
+ "y": 2879.722228050232,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "46dc7d95.4c06c4",
+ "type": "record",
+ "name": "record API params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch CUUP NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1714.9168548583984,
+ "y": 2915.722222328186,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "323b9ab7.0a7686",
+ "type": "execute",
+ "name": "read existing rrmPolicyDedicatedRatio ",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_CUUP' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2238.9720458984375,
+ "y": 3497.9442110061646,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "91bdd1cb.225b5",
+ "type": "execute",
+ "name": "read rrmPolicyMemberListLength",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyMembers-CUUP' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2239.527847290039,
+ "y": 3697.9441614151,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4c95d3de.dafcac",
+ "type": "execute",
+ "name": "prepare idGNBCUUPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2242.5831909179688,
+ "y": 3627.94432926178,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "304737db.ae6f58",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioList_CUUP_length' value='`$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
+ "comments": "",
+ "x": 1700.0277252197266,
+ "y": 3408.944493293762,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "74f76f8.3409a9",
+ "type": "execute",
+ "name": "read RRMPolicyRatio_id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2221.7499771118164,
+ "y": 3664.610743522644,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e0eae9af.e47b18",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config DB update\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1888.5902709960938,
+ "y": 3744.74999332428,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aaab029a.73315",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.gNBCUUPList.gNBCUUPId' value='`$tmp.idGNBCUUPFunction`'/>\n<parameter name='tmp.gNBCUUPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='payloadJson.input.sliceProfile.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n ",
+ "comments": "",
+ "x": 1918.3751029968262,
+ "y": 3787.9444789886475,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "197ebca7.656673",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI\"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field4\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field5\" value=\"gNBCUUPId\"/>\n<parameter name=\"field6\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n<parameter name=\"field7\" value=\"pLMNId\"/>\n<parameter name=\"field8\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBCUUPList.gNBId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1904.8749504089355,
+ "y": 3830.1666173934937,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0d818c6.4b2608",
+ "type": "execute",
+ "name": "generate getRRMPolicyRatio URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getRRMPolicyRatio`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceType}\"/>\n <parameter name=\"replacement\" value=\"DRB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1984.6666107177734,
+ "y": 3938.9514265060425,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "27aaafdc.f134",
+ "type": "execute",
+ "name": "prepare resourceId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2423.6458740234375,
- "y": 4427.8125,
- "z": "7108e868.a979d8",
+ "x": 1936.8887100219727,
+ "y": 3982.562382698059,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "28f0e3bf.db6d3c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1900.2222518920898,
+ "y": 4020.0623922348022,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7153e6fc.a20688",
+ "type": "execute",
+ "name": "Get rrmPolicy by resourceid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfo-cuup-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1963.7220840454102,
+ "y": 4059.784499168396,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "790d6865.84f598"
+ "5d347054.f7c5a",
+ "f89ac2d4.50c37"
]
]
},
{
- "id": "790d6865.84f598",
+ "id": "3d2034c9.c91a4c",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfo-cuup-configdb-response.rrmPolicyID`'/>\n<parameter name='tmp.resourceID' value='`$tmp.idGNBCUUPFunction`'/>",
+ "comments": "",
+ "x": 1922.9238739013672,
+ "y": 4103.291432380676,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "4a3e020d.51ae0c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1895.9513473510742,
+ "y": 4162.041583061218,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5d347054.f7c5a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2286.8889656066895,
+ "y": 4008.8122987747192,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "2173ce6d.d1fb72"
+ ]
+ ]
+ },
+ {
+ "id": "2173ce6d.d1fb72",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2609.0346603393555,
- "y": 4421.8402099609375,
- "z": "7108e868.a979d8",
+ "x": 2435.1391830444336,
+ "y": 4016.812481880188,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "31b6396b.687da6",
- "d7e5ca37.7359c8",
- "fdf60abf.fb88a8"
+ "47c101.94aa2f",
+ "a17e37ba.d1f118"
]
]
},
{
- "id": "fdf60abf.fb88a8",
+ "id": "a17e37ba.d1f118",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2622.3890018463135,
+ "y": 3996.56254196167,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "47c101.94aa2f",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2640.7224044799805,
+ "y": 4039.340558052063,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "ce6218de.e91bd8",
"type": "execute",
- "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
+ "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": 2975.173667907715,
- "y": 4307.062685012817,
- "z": "7108e868.a979d8",
+ "x": 2704.4999923706055,
+ "y": 4103.145795822144,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "31b6396b.687da6",
+ "id": "d0f0843d.d984f8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2844.923667907715,
- "y": 4375.062562942505,
- "z": "7108e868.a979d8",
+ "x": 2646.277858734131,
+ "y": 4069.3127870559692,
+ "z": "ecab9296.c8bb5",
"wires": [
[]
]
},
{
- "id": "d7e5ca37.7359c8",
+ "id": "424ea0ba.7617a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2450.5554428100586,
+ "y": 4097.701459884644,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "d0f0843d.d984f8",
+ "ce6218de.e91bd8"
+ ]
+ ]
+ },
+ {
+ "id": "f89ac2d4.50c37",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2280.444580078125,
+ "y": 4080.284736633301,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "424ea0ba.7617a"
+ ]
+ ]
+ },
+ {
+ "id": "2e61752a.3c32aa",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2057.027587890625,
+ "y": 4452.9441385269165,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "2cd3b5f5.23ff3a"
+ ]
+ ]
+ },
+ {
+ "id": "2cd3b5f5.23ff3a",
+ "type": "for",
+ "name": "foreach TACell",
+ "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2243.0000228881836,
+ "y": 4452.889126777649,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "c05eb786.188d58"
+ ]
+ ]
+ },
+ {
+ "id": "c05eb786.188d58",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2443.8053283691406,
+ "y": 4454.694352149963,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "91f4eff5.01fd4",
+ "c929fc4b.7fe69",
+ "a294df58.248b4"
+ ]
+ ]
+ },
+ {
+ "id": "c929fc4b.7fe69",
+ "type": "execute",
+ "name": "read Cell from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2725.361053466797,
+ "y": 4281.027560830116,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a294df58.248b4",
+ "type": "execute",
+ "name": "read cellCU from getListofCells-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id-ta + ']'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2728.694381713867,
+ "y": 4322.694230079651,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "91f4eff5.01fd4",
"type": "switchNode",
- "name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+ "name": "is cellCU applicable for NSSAI",
+ "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
"comments": "",
"outputs": 1,
- "x": 2840.06258392334,
- "y": 4448.3682289123535,
- "z": "7108e868.a979d8",
+ "x": 2688.583137512207,
+ "y": 4365.805629566312,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "46572f40.c306d"
+ "375d9009.4414e"
]
]
},
{
- "id": "46572f40.c306d",
+ "id": "375d9009.4414e",
"type": "outcome",
- "name": "True",
+ "name": "Applicable",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3009.5347213745117,
- "y": 4474.840398788452,
- "z": "7108e868.a979d8",
+ "x": 2926.2499084472656,
+ "y": 4369.916241645813,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "8ca9297e.0bb688"
+ ]
+ ]
+ },
+ {
+ "id": "517677f0.6d4018",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated RRMPolicyRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3221.6705932617188,
+ "y": 5150.64305973053,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9f04c1f2.bf256",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
+ "comments": "",
+ "x": 3235.9565811157227,
+ "y": 5494.571227073669,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "16cb87b2.5be1d8",
+ "type": "execute",
+ "name": "Set existing RRMPolicyRatio",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellDU-old' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n\t\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 3743.456588745117,
+ "y": 5519.21413898468,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "52ba99b7.987b88",
+ "type": "execute",
+ "name": "Read RRMPolicyRatioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3706.6710357666016,
+ "y": 5642.785704612732,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4ff78ad7.0a8bd4",
+ "type": "execute",
+ "name": "Read RRMPolicyMembers Length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyMembersDU_Length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3712.384979248047,
+ "y": 5735.285477638245,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8d0864dd.8c8528",
+ "type": "execute",
+ "name": "set gNBDUId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3879.1705932617188,
+ "y": 5674.92870426178,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "63a19143.589a9",
+ "type": "execute",
+ "name": "set NRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3872.0277709960938,
+ "y": 5706.35692691803,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8e869cc0.cfb58",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idNRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3202.7777709960938,
+ "y": 5382.99999332428,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e4ce6413.ed6fd8",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>\n ",
+ "comments": "",
+ "x": 3322.4027709960938,
+ "y": 5816.56249332428,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "8e49b3c8.74b25",
+ "type": "execute",
+ "name": "generate getRRMPolicyRatio URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getRRMPolicyRatio`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceType}\"/>\n <parameter name=\"replacement\" value=\"PRB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3389.9027709960938,
+ "y": 5950.93749332428,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ee5b9b09.ca97c8",
+ "type": "execute",
+ "name": "prepare resourceId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3348.458282470703,
+ "y": 5990.10395526886,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "176390ef.cbac9f",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3329.9027252197266,
+ "y": 6024.270537376404,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "48796b63.39bec4",
+ "type": "execute",
+ "name": "Get rrmPolicy by resourceid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfoDU-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3392.291473388672,
+ "y": 6055.103966712952,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "82eba9bc.600fa8",
+ "e4549693.a57628"
+ ]
+ ]
+ },
+ {
+ "id": "82eba9bc.600fa8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3696.0138092041016,
+ "y": 6105.937285423279,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "4230df12.02c06"
+ ]
+ ]
+ },
+ {
+ "id": "4230df12.02c06",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3848.0141010284424,
+ "y": 6103.937265396118,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "4d5d2a4c.3e1c64",
+ "2aa87dd5.bc2d82"
+ ]
+ ]
+ },
+ {
+ "id": "2aa87dd5.bc2d82",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4014.0138568878174,
+ "y": 6069.937265396118,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "4d5d2a4c.3e1c64",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4042.3473205566406,
+ "y": 6102.71528339386,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "ccd58b56.7508b8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4017.902801513672,
+ "y": 6133.937636375427,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "644df9cc.25e248",
+ "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": 4116.124969482422,
+ "y": 6160.270731925964,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c9dddcc2.c2163",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3854.680465698242,
+ "y": 6154.826064109802,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "ccd58b56.7508b8",
+ "644df9cc.25e248"
+ ]
+ ]
+ },
+ {
+ "id": "e4549693.a57628",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3700.124870300293,
+ "y": 6151.159588336945,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "c9dddcc2.c2163"
+ ]
+ ]
+ },
+ {
+ "id": "3087ba3a.ed4566",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfoDU-configdb-response.rrmPolicyID`'/>\n<parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>",
+ "comments": "",
+ "x": 3341.493194580078,
+ "y": 6091.944428443909,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "68990179.2bf66",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3306.743022918701,
+ "y": 6142.916442394257,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "89e3c3a4.70c62",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"GNBDUId\"/>\n<parameter name=\"field8\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"dLThptPerSlice\"/>\n<parameter name=\"field12\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field13\" value=\"uLThptPerSlice\"/>\n<parameter name=\"field14\" value=\"`$tmp.uLThptPerSlice`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3308.902618408203,
+ "y": 5858.784631729126,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0d24863.8121f8",
+ "type": "block",
+ "name": "get coverageAreaTAList",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 496.27777099609375,
+ "y": 700.7499809265137,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "892d9ba0.af4bf8",
+ "f123c975.195038",
+ "19b64655.2401aa",
+ "70150931.91cfa8",
+ "c28b4d37.26d9",
+ "b4a6eeb6.15b65",
+ "e507ae6f.0ca78"
+ ]
+ ]
+ },
+ {
+ "id": "892d9ba0.af4bf8",
+ "type": "execute",
+ "name": "prepare URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.aai.fetchSliceProfile`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{global-customer-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.globalCustomerId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 764.2777786254883,
+ "y": 686.9999961853027,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c28b4d37.26d9",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get coverageAreaTAList URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 788.77783203125,
+ "y": 842.000165939331,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f123c975.195038",
+ "type": "execute",
+ "name": "prepare serviceType",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{service-type}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.serviceType`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 784.7777709960938,
+ "y": 724.4999942779541,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "19b64655.2401aa",
+ "type": "execute",
+ "name": "prepare service-instance-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.RANNFNSSIId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 782.7777709960938,
+ "y": 763.4999942779541,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "70150931.91cfa8",
+ "type": "execute",
+ "name": "prepare profile-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{profile-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.sliceProfileId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 787.7777709960938,
+ "y": 801.4999942779541,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "efd6d90c.fb6e68",
+ "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": 1444.7779235839844,
+ "y": 585.0000038146973,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "7a9d2dcb.42c724",
+ "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": 1444.7782287597656,
+ "y": 549.1110191345215,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "963cd407.589818",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1199.7778778076172,
+ "y": 511.9999189376831,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "efd6d90c.fb6e68",
+ "7a9d2dcb.42c724"
+ ]
+ ]
+ },
+ {
+ "id": "787f632a.4559bc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1038.7780151367188,
+ "y": 533.9999923706055,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "963cd407.589818"
+ ]
+ ]
+ },
+ {
+ "id": "b4a6eeb6.15b65",
+ "type": "execute",
+ "name": "invoke API",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.org.onap.ccsdk.sli.adaptors.aai.uri + $tmp.aai.fetchSliceProfile.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-coverageAreaTAList-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": 821.0277862548828,
+ "y": 879.9999837875366,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "66ca8354.c0068c",
+ "e508608e.0352f"
+ ]
+ ]
+ },
+ {
+ "id": "66ca8354.c0068c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1058.5278015136719,
+ "y": 673.2500448226929,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "5dfce11f.c3cec"
+ ]
+ ]
+ },
+ {
+ "id": "5dfce11f.c3cec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1226.5275421142578,
+ "y": 665.2502279281616,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "8de7df6e.15597",
+ "3f2fbfdf.2aa34"
+ ]
+ ]
+ },
+ {
+ "id": "8de7df6e.15597",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved coverageAreaTAList\"/>\n<parameter name=\"field2\" value=\"`$get-coverageAreaTAList-response`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1398.2772979736328,
+ "y": 666.0001964569092,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3f2fbfdf.2aa34",
+ "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": 1426.0554809570312,
+ "y": 707.2501668930054,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34fcf10d.3494ae",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from AAI. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1394.0907592773438,
+ "y": 747.9235363006592,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "f822f9e7.eb42a8",
+ "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": 1340.0904235839844,
+ "y": 792.8125143051147,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "5bdee52e.a5383c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1217.0903778076172,
+ "y": 719.8124837875366,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "f822f9e7.eb42a8",
+ "34fcf10d.3494ae"
+ ]
+ ]
+ },
+ {
+ "id": "e508608e.0352f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1068.0905456542969,
+ "y": 718.8125286102295,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "2e0cb657.fa72aa"
+ "5bdee52e.a5383c"
]
]
},
{
- "id": "2d9b1779.25da68",
+ "id": "ea194ca9.b5136",
+ "type": "execute",
+ "name": "set globalCustomerId",
+ "xml": "<set>\n<parameter name='tmp.payload.globalCustomerId' value='`$payloadJson.input.globalCustomerId`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 721.2777786254883,
+ "y": 127.7499930858612,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "38665c6f.b68994",
+ "type": "execute",
+ "name": "set serviceType",
+ "xml": "<set>\n<parameter name='tmp.serviceType' value='`$payloadJson.input.serviceType`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 726.2777709960938,
+ "y": 165.7499942779541,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e507ae6f.0ca78",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 782.2777709960938,
+ "y": 929.4999942779541,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7d0cab41.5d62e4",
+ "type": "execute",
+ "name": "Update RAN Inventory ConfigDB",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRANSliceInventory`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRANSliceInventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-inventory-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 878.5277709960938,
+ "y": 4211.24999332428,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "8dfc5bef.c5fd18",
+ "f2e75191.d32ee"
+ ]
+ ]
+ },
+ {
+ "id": "759313f.9d96dec",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Update inventory in ConfigDB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 847.777759552002,
+ "y": 3992.749984741211,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8dfc5bef.c5fd18",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1114.528429031372,
+ "y": 4165.250351905823,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "bf86086a.86c988"
+ ]
+ ]
+ },
+ {
+ "id": "bf86086a.86c988",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1254.5287475585938,
+ "y": 4173.25022983551,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "7e19d8f9.fe3008",
+ "bd21f51e.fa5d18"
+ ]
+ ]
+ },
+ {
+ "id": "bd21f51e.fa5d18",
+ "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": 1389.5284423828125,
+ "y": 4139.361741065979,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "7e19d8f9.fe3008",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1443.5281677246094,
+ "y": 4176.2502908706665,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "4fdaf51a.7597fc",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated inventory in ConfigDB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1462.528419494629,
+ "y": 4228.250478744507,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "75deb288.c5307c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2230.3125610351562,
- "y": 4495.312624931335,
- "z": "7108e868.a979d8",
+ "x": 1276.5281715393066,
+ "y": 4244.250234603882,
+ "z": "ecab9296.c8bb5",
"wires": [
[
- "9075c0f5.a64f5",
- "db078c99.82cd6"
+ "4fdaf51a.7597fc",
+ "dd5a532a.31de7"
]
]
},
{
- "id": "f0e433f3.dc406",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
+ "id": "f2e75191.d32ee",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1118.5283813476562,
+ "y": 4245.2499895095825,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "75deb288.c5307c"
+ ]
+ ]
+ },
+ {
+ "id": "b2bbe86b.51d5b8",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberOfConns`'/>",
"comments": "",
- "x": 495.83331298828125,
- "y": 1529.1666259765625,
- "z": "7108e868.a979d8",
+ "x": 838.5277709960938,
+ "y": 4080.49999332428,
+ "z": "ecab9296.c8bb5",
"wires": []
+ },
+ {
+ "id": "d815d930.ba6bb8",
+ "type": "execute",
+ "name": "prepare gNBDUList for SO callback",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.DUList.response' />\n\t<parameter name='keyName' value='gNBDUId' />\n\t<parameter name='keyValue' value=\"`$tmp.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3195.2777709960938,
+ "y": 5041.49999332428,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bbd1f9a3.442938",
+ "type": "execute",
+ "name": "prepare gNBCUUPList for SO callback",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUUPList.response' />\n\t<parameter name='keyName' value='gNBCUUPId' />\n\t<parameter name='keyValue' value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1749.5277709960938,
+ "y": 3267.24999332428,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2cf8049f.4b337c",
+ "type": "execute",
+ "name": "prepare gNBCUCPList for SO callback",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUCPList.response' />\n\t<parameter name='keyName' value='gNBCUName' />\n\t<parameter name='keyValue' value=\"`$tmp.CUCPName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2274.5277709960938,
+ "y": 1591.4999933242798,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceReconfigure.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceReconfigure.json
index fe6f89ea..9219cce7 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceReconfigure.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSliceReconfigure.json
@@ -1,36 +1,36 @@
[
{
- "id": "32585b9f.2450c4",
+ "id": "5308c2c7.98350c",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceReconfigure' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 503.75,
- "y": 164.75,
- "z": "41b275ba.2c7b9c",
+ "x": 561.9443969726562,
+ "y": 231.6666965484619,
+ "z": "a4132826.623598",
"wires": [
[
- "6d512b02.f5fb24"
+ "8c2d7a68.272f18"
]
]
},
{
- "id": "3dbd289d.70c158",
+ "id": "1e35add3.3e43a2",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 127.74999618530273,
- "y": 69.74997234344482,
- "z": "41b275ba.2c7b9c",
+ "x": 185.94439315795898,
+ "y": 136.66666889190674,
+ "z": "a4132826.623598",
"wires": [
[
- "f703c5f1.d65e48"
+ "c4fcfd13.be6c3"
]
]
},
{
- "id": "f703c5f1.d65e48",
+ "id": "c4fcfd13.be6c3",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,2072 +38,2072 @@
"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": 260.7499694824219,
- "y": 166.75005340576172,
- "z": "41b275ba.2c7b9c",
+ "x": 318.9443664550781,
+ "y": 233.66674995422363,
+ "z": "a4132826.623598",
"wires": [
[
- "32585b9f.2450c4"
+ "5308c2c7.98350c"
]
]
},
{
- "id": "48d93d05.8690d4",
+ "id": "54c1cf1c.bd234",
"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": 189.2396240234375,
- "y": 1107.7502908706665,
- "z": "41b275ba.2c7b9c",
+ "x": 247.43402099609375,
+ "y": 1174.6669874191284,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "a4b9c637.2208a8",
+ "id": "eb3544f6.254898",
"type": "comment",
"name": "instantiateRANSliceReconfigure",
"info": "",
"comments": "",
- "x": 472.75,
- "y": 106.76037216186523,
- "z": "41b275ba.2c7b9c",
+ "x": 530.9443969726562,
+ "y": 173.67706871032715,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "6d512b02.f5fb24",
+ "id": "8c2d7a68.272f18",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 138.74996948242188,
- "y": 286.7603759765625,
- "z": "41b275ba.2c7b9c",
+ "x": 196.94436645507812,
+ "y": 353.6770725250244,
+ "z": "a4132826.623598",
"wires": [
[
- "48d93d05.8690d4",
- "f4e1247b.bc3698",
- "d1274487.bddf28",
- "6d3f3c64.a47bf4"
+ "54c1cf1c.bd234",
+ "c2abc765.421ae8",
+ "a0d1b936.212298",
+ "d43ab3b7.dd413"
]
]
},
{
- "id": "68609d43.a7c894",
+ "id": "d4657d67.267b3",
"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": 4019.739906311035,
- "y": 7591.770859479904,
- "z": "41b275ba.2c7b9c",
+ "x": 4077.9343032836914,
+ "y": 7658.687556028366,
+ "z": "a4132826.623598",
"wires": [
[
- "9e2fe536.9e73f8"
+ "4089eb9.7d62b14"
]
]
},
{
- "id": "9e2fe536.9e73f8",
+ "id": "4089eb9.7d62b14",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4356.739784240723,
- "y": 7617.760361433029,
- "z": "41b275ba.2c7b9c",
+ "x": 4414.934181213379,
+ "y": 7684.677057981491,
+ "z": "a4132826.623598",
"wires": [
[
- "df2e7f8.6dd618"
+ "f8a7a2.295fe86"
]
]
},
{
- "id": "df2e7f8.6dd618",
+ "id": "f8a7a2.295fe86",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4536.739540100098,
- "y": 7614.760361433029,
- "z": "41b275ba.2c7b9c",
+ "x": 4594.933937072754,
+ "y": 7681.677057981491,
+ "z": "a4132826.623598",
"wires": [
[
- "52c52982.de0028"
+ "f1aae18.c61032"
]
]
},
{
- "id": "52c52982.de0028",
+ "id": "f1aae18.c61032",
"type": "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": 4685.739841461182,
- "y": 7640.760554075241,
- "z": "41b275ba.2c7b9c",
+ "x": 4743.934238433838,
+ "y": 7707.677250623703,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "6d3f3c64.a47bf4",
+ "id": "d43ab3b7.dd413",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 218.5,
- "y": 1058.0146198272705,
- "z": "41b275ba.2c7b9c",
+ "x": 276.69439697265625,
+ "y": 1124.9313163757324,
+ "z": "a4132826.623598",
"wires": [
[
- "6ca212a7.438f2c",
- "c4de5282.42b7b",
- "1c47a5e4.c57bfa",
- "313715a1.8aa98a"
+ "a44cfa3.bf3a708",
+ "b4fdb0c.13b025",
+ "869a42e7.ad168",
+ "f189ead7.d54db8"
]
]
},
{
- "id": "6ca212a7.438f2c",
+ "id": "a44cfa3.bf3a708",
"type": "record",
"name": "record SO reply parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
"comments": "",
"outputs": 1,
- "x": 386.7499771118164,
- "y": 1425.7648248672485,
- "z": "41b275ba.2c7b9c",
+ "x": 444.94437408447266,
+ "y": 1492.6815214157104,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "5fd9ecbd.29ab64",
+ "id": "863c82b0.fee6b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 420.7500762939453,
- "y": 1522.7645282745361,
- "z": "41b275ba.2c7b9c",
+ "x": 478.94447326660156,
+ "y": 1589.681224822998,
+ "z": "a4132826.623598",
"wires": [
[
- "7f661b0f.15e664"
+ "8dff7c51.8074c"
]
]
},
{
- "id": "2189ac26.c30d74",
+ "id": "c7b37697.cf47b8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 412.7499694824219,
- "y": 1595.7644786834717,
- "z": "41b275ba.2c7b9c",
+ "x": 470.9443664550781,
+ "y": 1662.6811752319336,
+ "z": "a4132826.623598",
"wires": [
[
- "d9a56d50.10807"
+ "62cb6247.26a1bc"
]
]
},
{
- "id": "d9a56d50.10807",
+ "id": "62cb6247.26a1bc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 558.749813079834,
- "y": 1600.7645874023438,
- "z": "41b275ba.2c7b9c",
+ "x": 616.9442100524902,
+ "y": 1667.6812839508057,
+ "z": "a4132826.623598",
"wires": [
[
- "9ed33baf.c15f38"
+ "63c5cf27.850e5"
]
]
},
{
- "id": "7f661b0f.15e664",
+ "id": "8dff7c51.8074c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 569.7499771118164,
- "y": 1518.764663696289,
- "z": "41b275ba.2c7b9c",
+ "x": 627.9443740844727,
+ "y": 1585.681360244751,
+ "z": "a4132826.623598",
"wires": [
[
- "36051d22.566b12",
- "a16954ff.5c8568"
+ "7d4ea125.78427",
+ "814141f.22dd5c"
]
]
},
{
- "id": "36051d22.566b12",
+ "id": "7d4ea125.78427",
"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": 716.7495956420898,
- "y": 1529.7644052505493,
- "z": "41b275ba.2c7b9c",
+ "x": 774.9439926147461,
+ "y": 1596.6811017990112,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "9ed33baf.c15f38",
+ "id": "63c5cf27.850e5",
"type": "record",
"name": "record",
"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=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 719.7497329711914,
- "y": 1606.764479637146,
- "z": "41b275ba.2c7b9c",
+ "x": 777.9441299438477,
+ "y": 1673.681176185608,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "ae45840d.79a808",
+ "id": "e78d6df2.248be",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2951.2410202026367,
- "y": 711.7605400085449,
- "z": "41b275ba.2c7b9c",
+ "x": 3009.435417175293,
+ "y": 778.6772365570068,
+ "z": "a4132826.623598",
"wires": [
[
- "383a0812.212598",
- "bd9a5458.0d8c98",
- "f79506e4.729ba8"
+ "4dccd993.baa5d8",
+ "315b9b37.039924",
+ "8fff961f.91e078"
]
]
},
{
- "id": "383a0812.212598",
+ "id": "4dccd993.baa5d8",
"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": 3269.2419967651367,
- "y": 635.6601982116699,
- "z": "41b275ba.2c7b9c",
+ "x": 3327.436393737793,
+ "y": 702.5768947601318,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "bd9a5458.0d8c98",
+ "id": "315b9b37.039924",
"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": 3244.240882873535,
- "y": 732.7608757019043,
- "z": "41b275ba.2c7b9c",
+ "x": 3302.4352798461914,
+ "y": 799.6775722503662,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "f79506e4.729ba8",
+ "id": "8fff961f.91e078",
"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=\"`$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='*/*' />",
"comments": "",
"outputs": 1,
- "x": 3159.240894317627,
- "y": 829.7607536315918,
- "z": "41b275ba.2c7b9c",
+ "x": 3217.435291290283,
+ "y": 896.6774501800537,
+ "z": "a4132826.623598",
"wires": [
[
- "4ca0fe0e.1272",
- "1eeab34c.9f419d"
+ "7e1c2bf9.164ef4",
+ "3ca3479b.4461d8"
]
]
},
{
- "id": "4ca0fe0e.1272",
+ "id": "7e1c2bf9.164ef4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3385.240902900696,
- "y": 806.7607226371765,
- "z": "41b275ba.2c7b9c",
+ "x": 3443.435299873352,
+ "y": 873.6774191856384,
+ "z": "a4132826.623598",
"wires": [
[
- "c32c55a7.fb07f8"
+ "9c99489.850dbb8"
]
]
},
{
- "id": "1eeab34c.9f419d",
+ "id": "3ca3479b.4461d8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3375.2407569885254,
- "y": 914.7606620788574,
- "z": "41b275ba.2c7b9c",
+ "x": 3433.4351539611816,
+ "y": 981.6773586273193,
+ "z": "a4132826.623598",
"wires": [
[
- "e19f4b9.9907bb8"
+ "712d9e67.b479"
]
]
},
{
- "id": "e19f4b9.9907bb8",
+ "id": "712d9e67.b479",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3525.2405433654785,
- "y": 933.7607231140137,
- "z": "41b275ba.2c7b9c",
+ "x": 3583.4349403381348,
+ "y": 1000.6774196624756,
+ "z": "a4132826.623598",
"wires": [
[
- "4cde663b.2a8578"
+ "fd17f41d.93ec88"
]
]
},
{
- "id": "c32c55a7.fb07f8",
+ "id": "9c99489.850dbb8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3536.2407722473145,
- "y": 801.760844707489,
- "z": "41b275ba.2c7b9c",
+ "x": 3594.4351692199707,
+ "y": 868.6775412559509,
+ "z": "a4132826.623598",
"wires": [
[
- "92c9aac0.661068"
+ "fa169b05.eb4498"
]
]
},
{
- "id": "92c9aac0.661068",
+ "id": "fa169b05.eb4498",
"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": 3702.240451812744,
- "y": 804.7606620788574,
- "z": "41b275ba.2c7b9c",
+ "x": 3760.4348487854004,
+ "y": 871.6773586273193,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "4cde663b.2a8578",
+ "id": "fd17f41d.93ec88",
"type": "record",
"name": "record",
"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=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 3689.2405586242676,
- "y": 939.7606620788574,
- "z": "41b275ba.2c7b9c",
+ "x": 3747.434955596924,
+ "y": 1006.6773586273193,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "a16954ff.5c8568",
+ "id": "814141f.22dd5c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
"comments": "",
- "x": 704.2602043151855,
- "y": 1433.7538967132568,
- "z": "41b275ba.2c7b9c",
+ "x": 762.4546012878418,
+ "y": 1500.6705932617188,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "1c47a5e4.c57bfa",
+ "id": "869a42e7.ad168",
"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": 409.089599609375,
- "y": 1361.749979019165,
- "z": "41b275ba.2c7b9c",
+ "x": 467.28399658203125,
+ "y": 1428.666675567627,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "d57e6ed0.cc044",
+ "id": "f6b3def0.84eaf",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 695.7502326965332,
- "y": 224.75006008148193,
- "z": "41b275ba.2c7b9c",
+ "x": 753.9446296691895,
+ "y": 291.66675662994385,
+ "z": "a4132826.623598",
"wires": [
[
- "a9acee36.f83ee"
+ "600b130a.e6aa6c"
]
]
},
{
- "id": "f4e1247b.bc3698",
+ "id": "c2abc765.421ae8",
"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": 455.7500991821289,
- "y": 502.7500252723694,
- "z": "41b275ba.2c7b9c",
+ "x": 513.9444961547852,
+ "y": 569.6667218208313,
+ "z": "a4132826.623598",
"wires": [
[
- "d57e6ed0.cc044",
- "2419e20b.e956be"
+ "f6b3def0.84eaf",
+ "b652bd04.df2a9"
]
]
},
{
- "id": "2419e20b.e956be",
+ "id": "b652bd04.df2a9",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 320.25665283203125,
- "y": 644.75022315979,
- "z": "41b275ba.2c7b9c",
+ "x": 378.4510498046875,
+ "y": 711.666919708252,
+ "z": "a4132826.623598",
"wires": [
[
- "b786c6c5.f36ab8"
+ "10e9abdc.f3b004"
]
]
},
{
- "id": "96e5a08c.a3377",
+ "id": "537a864f.b41268",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 487.75038146972656,
- "y": 1006.7502222061157,
- "z": "41b275ba.2c7b9c",
+ "x": 545.9447784423828,
+ "y": 1073.6669187545776,
+ "z": "a4132826.623598",
"wires": [
[
- "7cff3a87.efd824"
+ "9ee08b5b.832ee8"
]
]
},
{
- "id": "a9acee36.f83ee",
+ "id": "600b130a.e6aa6c",
"type": "block",
"name": "Closed Loop",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 757.7502288818359,
- "y": 85.75003004074097,
- "z": "41b275ba.2c7b9c",
+ "x": 815.9446258544922,
+ "y": 152.66672658920288,
+ "z": "a4132826.623598",
"wires": [
[
- "8b60a680.a71df8",
- "36bd9ffc.fe71"
+ "b53f7876.b70068",
+ "95070b76.1c0098"
]
]
},
{
- "id": "7cff3a87.efd824",
+ "id": "9ee08b5b.832ee8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 654.7502899169922,
- "y": 1005.750207901001,
- "z": "41b275ba.2c7b9c",
+ "x": 712.9446868896484,
+ "y": 1072.666904449463,
+ "z": "a4132826.623598",
"wires": [
[
- "1980284b.b32c88",
- "1b3fa1fa.2ed2de",
- "959e65cd.b44568",
- "5e06d049.40315"
+ "8f0e2656.224048",
+ "f6b65386.cb3fc",
+ "186dbba8.f40024",
+ "d1e08c64.f9b07"
]
]
},
{
- "id": "b786c6c5.f36ab8",
+ "id": "10e9abdc.f3b004",
"type": "execute",
"name": "Intelligent Slicing",
"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": 313.7504577636719,
- "y": 1004.7502689361572,
- "z": "41b275ba.2c7b9c",
+ "x": 371.9448547363281,
+ "y": 1071.6669654846191,
+ "z": "a4132826.623598",
"wires": [
[
- "96e5a08c.a3377"
+ "537a864f.b41268"
]
]
},
{
- "id": "8b60a680.a71df8",
+ "id": "b53f7876.b70068",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PAYLOAD contains dLThptPerSlice...Closed loop \"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 963.7500152587891,
- "y": 70.75002574920654,
- "z": "41b275ba.2c7b9c",
+ "x": 1021.9444122314453,
+ "y": 137.66672229766846,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "1980284b.b32c88",
+ "id": "8f0e2656.224048",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PAYLOAD contains maxNumberofConns...Inntelligent Slicing \"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 811.7503967285156,
- "y": 976.7502517700195,
- "z": "41b275ba.2c7b9c",
+ "x": 869.9447937011719,
+ "y": 1043.6669483184814,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "d1274487.bddf28",
+ "id": "a0d1b936.212298",
"type": "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=\"Reached instantiateRANSliceReconfigure \"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 528.75,
- "y": 237.75,
- "z": "41b275ba.2c7b9c",
+ "x": 586.9443969726562,
+ "y": 304.6666965484619,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "36bd9ffc.fe71",
+ "id": "95070b76.1c0098",
"type": "block",
"name": "NearRTRIC",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 861.7605514526367,
- "y": 199.76043796539307,
- "z": "41b275ba.2c7b9c",
+ "x": 919.954948425293,
+ "y": 266.677134513855,
+ "z": "a4132826.623598",
"wires": [
[
- "9a098154.31cd3",
- "78a62e97.fc3e6"
+ "cfbc1f43.5c09a",
+ "9ae16990.24b758"
]
]
},
{
- "id": "1b3fa1fa.2ed2de",
+ "id": "f6b65386.cb3fc",
"type": "block",
"name": "CUCP",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 788.7607955932617,
- "y": 1120.7605228424072,
- "z": "41b275ba.2c7b9c",
+ "x": 846.955192565918,
+ "y": 1187.6772193908691,
+ "z": "a4132826.623598",
"wires": [
[
- "17465921.32a817",
- "ae576dda.af8e8"
+ "db0afa2f.d8a5d8",
+ "714d1164.e315b"
]
]
},
{
- "id": "d8a7241.032a8d8",
+ "id": "709ede26.eecf8",
"type": "execute",
"name": "Update slice profile for nearRTRIC",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-patch.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=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"nearRTRIC-slice-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
"comments": "",
"outputs": 1,
- "x": 1432.6495742797852,
- "y": 382.7604637145996,
- "z": "41b275ba.2c7b9c",
+ "x": 1490.8439712524414,
+ "y": 449.6771602630615,
+ "z": "a4132826.623598",
"wires": [
[
- "b8083d5d.c3c33",
- "4a9891fe.ea6f8"
+ "37a47363.e1d71c",
+ "db0bbf38.87581"
]
]
},
{
- "id": "b8083d5d.c3c33",
+ "id": "37a47363.e1d71c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1718.6499099731445,
- "y": 323.74999618530273,
- "z": "41b275ba.2c7b9c",
+ "x": 1776.8443069458008,
+ "y": 390.66669273376465,
+ "z": "a4132826.623598",
"wires": [
[
- "f90d5817.420e78"
+ "5da00f62.c1caa"
]
]
},
{
- "id": "4a9891fe.ea6f8",
+ "id": "db0bbf38.87581",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1711.649974822998,
- "y": 383.74990463256836,
- "z": "41b275ba.2c7b9c",
+ "x": 1769.8443717956543,
+ "y": 450.6666011810303,
+ "z": "a4132826.623598",
"wires": [
[
- "7dfa359d.6150cc"
+ "bb94707a.c3725"
]
]
},
{
- "id": "f90d5817.420e78",
+ "id": "5da00f62.c1caa",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1901.6500053405762,
- "y": 366.75000381469727,
- "z": "41b275ba.2c7b9c",
+ "x": 1959.8444023132324,
+ "y": 433.6667003631592,
+ "z": "a4132826.623598",
"wires": [
[
- "ce80374b.206188",
- "523df8ee.f162a8",
- "ae45840d.79a808"
+ "78e5f08b.43c2d",
+ "c53690e.569fd7",
+ "e78d6df2.248be"
]
]
},
{
- "id": "7dfa359d.6150cc",
+ "id": "bb94707a.c3725",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1893.6496391296387,
- "y": 412.7499656677246,
- "z": "41b275ba.2c7b9c",
+ "x": 1951.844036102295,
+ "y": 479.6666622161865,
+ "z": "a4132826.623598",
"wires": [
[
- "61c625fb.9581fc",
- "12fc8842.fb9cd8"
+ "18d514d9.ae98eb",
+ "d4beff80.9c512"
]
]
},
{
- "id": "fce8baf0.424178",
+ "id": "7acabf3a.829b6",
"type": "block",
"name": "Update SiceProfile for NeaeRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1029.7500915527344,
- "y": 367.4947757720947,
- "z": "41b275ba.2c7b9c",
+ "x": 1087.9444885253906,
+ "y": 434.41147232055664,
+ "z": "a4132826.623598",
"wires": [
[
- "d2185b6.e0a24a8",
- "770f9d.e82ae064",
- "dbcf9eb5.ded33",
- "d8a7241.032a8d8"
+ "850543de.8fe82",
+ "982ee349.15cdd",
+ "bce2f4fb.bbd318",
+ "709ede26.eecf8"
]
]
},
{
- "id": "dbcf9eb5.ded33",
+ "id": "bce2f4fb.bbd318",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1381.750394821167,
- "y": 258.1510200202465,
- "z": "41b275ba.2c7b9c",
+ "x": 1439.9447917938232,
+ "y": 325.0677165687084,
+ "z": "a4132826.623598",
"wires": [
[
- "19a3387d.ee7bf8",
- "d7a0002b.c1efa"
+ "ce59e011.1537f",
+ "f221e301.437b2"
]
]
},
{
- "id": "19a3387d.ee7bf8",
+ "id": "ce59e011.1537f",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1544.7503185272217,
- "y": 190.15080973505974,
- "z": "41b275ba.2c7b9c",
+ "x": 1602.944715499878,
+ "y": 257.06750628352165,
+ "z": "a4132826.623598",
"wires": [
[
- "4b4a5d78.937374"
+ "f4c8a31d.8b0e8"
]
]
},
{
- "id": "d7a0002b.c1efa",
+ "id": "f221e301.437b2",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1556.7504386901855,
- "y": 267.1509132385254,
- "z": "41b275ba.2c7b9c",
+ "x": 1614.9448356628418,
+ "y": 334.0676097869873,
+ "z": "a4132826.623598",
"wires": [
[
- "92f66eb2.37642"
+ "66aabfa5.98ccb"
]
]
},
{
- "id": "770f9d.e82ae064",
+ "id": "982ee349.15cdd",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Patch SliceProfile ToNearRTRIC url for closed loop:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 1358.7506523132324,
- "y": 293.4949840269983,
- "z": "41b275ba.2c7b9c",
+ "x": 1416.9450492858887,
+ "y": 360.4116805754602,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "d2185b6.e0a24a8",
+ "id": "850543de.8fe82",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PATCH SliceProfile ToNearRTRIC - closed loop\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field4\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field6\" value=\"`$tmp.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1359.751293182373,
- "y": 338.4843406677246,
- "z": "41b275ba.2c7b9c",
+ "x": 1417.9456901550293,
+ "y": 405.4010372161865,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "bc636d62.af605",
+ "id": "3c7063e.d58929c",
"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": 1973.2853164672852,
- "y": 317.7500343322754,
- "z": "41b275ba.2c7b9c",
+ "x": 2031.4797134399414,
+ "y": 384.6667308807373,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "76704b8e.ef8754",
+ "id": "b7125863.e9ab68",
"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=\"`$tmp.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2043.8199310302734,
- "y": 273.3490562438965,
- "z": "41b275ba.2c7b9c",
+ "x": 2102.0143280029297,
+ "y": 340.2657527923584,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "92f66eb2.37642",
+ "id": "66aabfa5.98ccb",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1739.7400932312012,
- "y": 273.1508979797363,
- "z": "41b275ba.2c7b9c",
+ "x": 1797.9344902038574,
+ "y": 340.06759452819824,
+ "z": "a4132826.623598",
"wires": [
[
- "eb981a1e.510268",
- "76704b8e.ef8754",
- "bc636d62.af605"
+ "52dd7d07.790684",
+ "b7125863.e9ab68",
+ "3c7063e.d58929c"
]
]
},
{
- "id": "eb981a1e.510268",
+ "id": "52dd7d07.790684",
"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": 2035.2847747802734,
- "y": 228.75024461746216,
- "z": "41b275ba.2c7b9c",
+ "x": 2093.4791717529297,
+ "y": 295.6669411659241,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "88f363e3.b1642",
+ "id": "d3815dd0.19892",
"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=\"`$tmp.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2006.285140991211,
- "y": 173.75013732910156,
- "z": "41b275ba.2c7b9c",
+ "x": 2064.479537963867,
+ "y": 240.66683387756348,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "78561837.024a98",
+ "id": "a9f62851.aa99d8",
"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": 2001.7503662109375,
- "y": 124.1511402130127,
- "z": "41b275ba.2c7b9c",
+ "x": 2059.9447631835938,
+ "y": 191.0678367614746,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "4b4a5d78.937374",
+ "id": "f4c8a31d.8b0e8",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1703.9518432617188,
- "y": 196.75000473856926,
- "z": "41b275ba.2c7b9c",
+ "x": 1762.146240234375,
+ "y": 263.6667012870312,
+ "z": "a4132826.623598",
"wires": [
[
- "78561837.024a98",
- "88f363e3.b1642"
+ "a9f62851.aa99d8",
+ "d3815dd0.19892"
]
]
},
{
- "id": "78a62e97.fc3e6",
+ "id": "9ae16990.24b758",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.numberUpdates' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>",
"comments": "",
- "x": 1025.7539825439453,
- "y": 143.75392055511475,
- "z": "41b275ba.2c7b9c",
+ "x": 1083.9483795166016,
+ "y": 210.67061710357666,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "9a098154.31cd3",
+ "id": "cfbc1f43.5c09a",
"type": "for",
"name": "For Number of patches",
"xml": "<for index='id1' start='0' end=\"`$tmp.payload.numberUpdates`\" >",
"comments": "",
"outputs": 1,
- "x": 1006.7539215087891,
- "y": 266.75392055511475,
- "z": "41b275ba.2c7b9c",
+ "x": 1064.9483184814453,
+ "y": 333.67061710357666,
+ "z": "a4132826.623598",
"wires": [
[
- "fce8baf0.424178",
- "eb9c0d48.d1f73",
- "541dc3de.9a8d5c",
- "ae576dda.af8e8"
+ "7acabf3a.829b6",
+ "f207a54e.c3ea88",
+ "7782fbac.8910b4",
+ "714d1164.e315b"
]
]
},
{
- "id": "eb9c0d48.d1f73",
+ "id": "f207a54e.c3ea88",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name=\"tmp.dLThptPerSlice\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].dLThptPerSlice`\"/>\n<parameter name=\"tmp.uLThptPerSlice\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].uLThptPerSlice`\"/>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].nearRTRICId`\"/>",
"comments": "",
- "x": 1205.2049827575684,
- "y": 187.76043224334717,
- "z": "41b275ba.2c7b9c",
+ "x": 1263.3993797302246,
+ "y": 254.67712879180908,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "ce80374b.206188",
+ "id": "78e5f08b.43c2d",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Patching slice profile parms for close loop. Exiting close loop operation'/>",
"comments": "",
- "x": 2087.204933166504,
- "y": 367.76042556762695,
- "z": "41b275ba.2c7b9c",
+ "x": 2145.39933013916,
+ "y": 434.67712211608887,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "523df8ee.f162a8",
+ "id": "c53690e.569fd7",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Patching slice profile parms for close loop. Exiting close loop operation'/>",
"comments": "",
- "x": 2097.204719543457,
- "y": 406.64941024780273,
- "z": "41b275ba.2c7b9c",
+ "x": 2155.3991165161133,
+ "y": 473.56610679626465,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "61c625fb.9581fc",
+ "id": "18d514d9.ae98eb",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully PATCHED NearRTRIC for close loop operation\"/>",
"comments": "",
"outputs": 1,
- "x": 2085.20463180542,
- "y": 443.6493797302246,
- "z": "41b275ba.2c7b9c",
+ "x": 2143.399028778076,
+ "y": 510.5660762786865,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "12fc8842.fb9cd8",
+ "id": "d4beff80.9c512",
"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-closedloop-nearRTRIC-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2103.983039855957,
- "y": 479.64941787719727,
- "z": "41b275ba.2c7b9c",
+ "x": 2162.1774368286133,
+ "y": 546.5661144256592,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "959e65cd.b44568",
+ "id": "186dbba8.f40024",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.dataPoints' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>\n<parameter name=\"tmp.payload.sNSSAI\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.snssai`\"/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
"comments": "",
- "x": 845.8720245361328,
- "y": 1017.649528503418,
- "z": "41b275ba.2c7b9c",
+ "x": 904.0664215087891,
+ "y": 1084.5662250518799,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "17465921.32a817",
+ "id": "db0afa2f.d8a5d8",
"type": "for",
"name": "For Number of data Points",
"xml": "<for index='id-is' start='0' end=\"`$tmp.payload.dataPoints`\" >",
"comments": "",
"outputs": 1,
- "x": 1020.8715896606445,
- "y": 1110.6494541168213,
- "z": "41b275ba.2c7b9c",
+ "x": 1079.0659866333008,
+ "y": 1177.5661506652832,
+ "z": "a4132826.623598",
"wires": [
[
- "9eba8bf5.891798"
+ "997d5a8f.bd5138"
]
]
},
{
- "id": "ae576dda.af8e8",
+ "id": "714d1164.e315b",
"type": "block",
"name": "get PLMNId",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 994.5,
- "y": 533.4999732971191,
- "z": "41b275ba.2c7b9c",
+ "x": 1052.6943969726562,
+ "y": 600.416669845581,
+ "z": "a4132826.623598",
"wires": [
[
- "435a2113.3763c",
- "19f6c5ea.de089a",
- "2845ab1.4ea1d54",
- "b0fa965b.fc2408",
- "906ffb7e.ea7f58",
- "21c42803.80e668",
- "9fa80d0a.1597c"
+ "8c3c684d.6b7008",
+ "6adac12f.ecb27",
+ "ec2e9015.a465a",
+ "f14d513c.ba7bc",
+ "ddd5395f.7eb198",
+ "514838fc.4f4588",
+ "8336120c.00cad"
]
]
},
{
- "id": "435a2113.3763c",
+ "id": "8c3c684d.6b7008",
"type": "execute",
"name": "get PLMNId URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1259.4999923706055,
- "y": 423.49996757507324,
- "z": "41b275ba.2c7b9c",
+ "x": 1317.6943893432617,
+ "y": 490.41666412353516,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "19f6c5ea.de089a",
+ "id": "6adac12f.ecb27",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1233.0001182556152,
- "y": 471.5000057220459,
- "z": "41b275ba.2c7b9c",
+ "x": 1291.1945152282715,
+ "y": 538.4167022705078,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "2845ab1.4ea1d54",
+ "id": "ec2e9015.a465a",
"type": "execute",
"name": "Get PLMN from Sliceprofile id",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-CL-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": 1300.7499923706055,
- "y": 509.49995517730713,
- "z": "41b275ba.2c7b9c",
+ "x": 1358.9443893432617,
+ "y": 576.416651725769,
+ "z": "a4132826.623598",
"wires": [
[
- "ce701174.19d3d",
- "b7a70ed7.29f81"
+ "f8debae8.8f1b68",
+ "419dc3d0.d48c9c"
]
]
},
{
- "id": "9fa80d0a.1597c",
+ "id": "8336120c.00cad",
"type": "set",
"name": "set PLMNId",
"xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/>",
"comments": "",
- "x": 1257.9375228881836,
- "y": 550.1875219345093,
- "z": "41b275ba.2c7b9c",
+ "x": 1316.1319198608398,
+ "y": 617.1042184829712,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "b0fa965b.fc2408",
+ "id": "f14d513c.ba7bc",
"type": "execute",
"name": "find MCC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
"comments": "",
"outputs": 1,
- "x": 1241.7499923706055,
- "y": 589.7500879764557,
- "z": "41b275ba.2c7b9c",
+ "x": 1299.9443893432617,
+ "y": 656.6667845249176,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "906ffb7e.ea7f58",
+ "id": "ddd5395f.7eb198",
"type": "execute",
"name": "find MNC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
"comments": "",
"outputs": 1,
- "x": 1245.5000686645508,
- "y": 626.9999208450317,
- "z": "41b275ba.2c7b9c",
+ "x": 1303.694465637207,
+ "y": 693.9166173934937,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "21c42803.80e668",
+ "id": "514838fc.4f4588",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1246.2435455322266,
- "y": 668.993444442749,
- "z": "41b275ba.2c7b9c",
+ "x": 1304.4379425048828,
+ "y": 735.9101409912109,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "ce701174.19d3d",
+ "id": "f8debae8.8f1b68",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1538.2499923706055,
- "y": 514.7499675750732,
- "z": "41b275ba.2c7b9c",
+ "x": 1596.4443893432617,
+ "y": 581.6666641235352,
+ "z": "a4132826.623598",
"wires": [
[
- "7b8bb405.3da30c"
+ "7c0f178b.1c54e8"
]
]
},
{
- "id": "b7a70ed7.29f81",
+ "id": "419dc3d0.d48c9c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1536.8127365112305,
- "y": 564.3124666213989,
- "z": "41b275ba.2c7b9c",
+ "x": 1595.0071334838867,
+ "y": 631.2291631698608,
+ "z": "a4132826.623598",
"wires": [
[
- "c038c418.67f8b8"
+ "49e6c73.14af838"
]
]
},
{
- "id": "7b8bb405.3da30c",
+ "id": "7c0f178b.1c54e8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1711.2497940063477,
- "y": 503.7500400543213,
- "z": "41b275ba.2c7b9c",
+ "x": 1769.444190979004,
+ "y": 570.6667366027832,
+ "z": "a4132826.623598",
"wires": [
[
- "73158791.da3f38",
- "fd53989c.ffb198"
+ "3919f283.d8506e",
+ "7c4be284.1c798c"
]
]
},
{
- "id": "c038c418.67f8b8",
+ "id": "49e6c73.14af838",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1697.812599182129,
- "y": 542.3123931884766,
- "z": "41b275ba.2c7b9c",
+ "x": 1756.0069961547852,
+ "y": 609.2290897369385,
+ "z": "a4132826.623598",
"wires": [
[
- "f15a8c8f.80b76",
- "4bb0478c.a08ee8",
- "ae45840d.79a808"
+ "78b85648.bb2458",
+ "20ea74cc.4fa27c",
+ "e78d6df2.248be"
]
]
},
{
- "id": "73158791.da3f38",
+ "id": "3919f283.d8506e",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained PLMNId info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getPLMN-CL-configdb-response`\"/>",
"comments": "",
"outputs": 1,
- "x": 1911.9995231628418,
- "y": 503.5000648498535,
- "z": "41b275ba.2c7b9c",
+ "x": 1970.193920135498,
+ "y": 570.4167613983154,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "fd53989c.ffb198",
+ "id": "7c4be284.1c798c",
"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": 1947.7777366638184,
- "y": 546.7500734329224,
- "z": "41b275ba.2c7b9c",
+ "x": 2005.9721336364746,
+ "y": 613.6667699813843,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "4bb0478c.a08ee8",
+ "id": "20ea74cc.4fa27c",
"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": 1942.8129501342773,
- "y": 579.4234933853149,
- "z": "41b275ba.2c7b9c",
+ "x": 2001.0073471069336,
+ "y": 646.3401899337769,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "f15a8c8f.80b76",
+ "id": "78b85648.bb2458",
"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": 1942.812644958496,
- "y": 615.3124780654907,
- "z": "41b275ba.2c7b9c",
+ "x": 2001.0070419311523,
+ "y": 682.2291746139526,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "541dc3de.9a8d5c",
+ "id": "7782fbac.8910b4",
"type": "block",
"name": "Update NearRTRIC Config",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 755.25,
- "y": 730.2499732971191,
- "z": "41b275ba.2c7b9c",
+ "x": 813.4443969726562,
+ "y": 797.166669845581,
+ "z": "a4132826.623598",
"wires": [
[
- "5da441f2.6913e",
- "1188042b.5b07dc",
- "a5c40637.63dca8",
- "df970bea.e18718",
- "25b4c7f7.476548"
+ "56cbc2f3.98600c",
+ "b0f2567.bbb75a8",
+ "cb02fedf.54fae",
+ "898f3f4d.3a21c",
+ "9125173f.757b88"
]
]
},
{
- "id": "5da441f2.6913e",
+ "id": "56cbc2f3.98600c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 994.0000381469727,
- "y": 650.7500114440918,
- "z": "41b275ba.2c7b9c",
+ "x": 1052.194435119629,
+ "y": 717.6667079925537,
+ "z": "a4132826.623598",
"wires": [
[
- "57f5bebd.407af",
- "f50035fe.ae9ed8"
+ "18a7b674.c4977a",
+ "ee798340.3d286"
]
]
},
{
- "id": "57f5bebd.407af",
+ "id": "18a7b674.c4977a",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1214.9999237060547,
- "y": 707.7497630119324,
- "z": "41b275ba.2c7b9c",
+ "x": 1273.194320678711,
+ "y": 774.6664595603943,
+ "z": "a4132826.623598",
"wires": [
[
- "79f08456.9d755c"
+ "b188c1e4.390b4"
]
]
},
{
- "id": "f50035fe.ae9ed8",
+ "id": "ee798340.3d286",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1209.0000038146973,
- "y": 744.7499017715454,
- "z": "41b275ba.2c7b9c",
+ "x": 1267.1944007873535,
+ "y": 811.6665983200073,
+ "z": "a4132826.623598",
"wires": [
[
- "a7fb2a0a.75e4e8"
+ "ae0428b2.06c978"
]
]
},
{
- "id": "a7fb2a0a.75e4e8",
+ "id": "ae0428b2.06c978",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1385.9898414611816,
- "y": 755.7498874664307,
- "z": "41b275ba.2c7b9c",
+ "x": 1444.184238433838,
+ "y": 822.6665840148926,
+ "z": "a4132826.623598",
"wires": [
[
- "ab76ccc8.dde52",
- "afc88d65.49d28"
+ "17ee6d36.c93db3",
+ "af82770a.456508"
]
]
},
{
- "id": "79f08456.9d755c",
+ "id": "b188c1e4.390b4",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1374.2014484405518,
- "y": 714.3489580154419,
- "z": "41b275ba.2c7b9c",
+ "x": 1432.395845413208,
+ "y": 781.2656545639038,
+ "z": "a4132826.623598",
"wires": [
[
- "b6c282d1.dbc4a"
+ "3c967c46.f89f74"
]
]
},
{
- "id": "b6c282d1.dbc4a",
+ "id": "3c967c46.f89f74",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1655.999984741211,
- "y": 704.7500991821289,
- "z": "41b275ba.2c7b9c",
+ "x": 1714.1943817138672,
+ "y": 771.6667957305908,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "ab76ccc8.dde52",
+ "id": "17ee6d36.c93db3",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1705.5343799591064,
- "y": 746.3491978943348,
- "z": "41b275ba.2c7b9c",
+ "x": 1763.7287769317627,
+ "y": 813.2658944427967,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "afc88d65.49d28",
+ "id": "af82770a.456508",
"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.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1648.534896850586,
- "y": 791.3489608764648,
- "z": "41b275ba.2c7b9c",
+ "x": 1706.7292938232422,
+ "y": 858.2656574249268,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "1188042b.5b07dc",
+ "id": "b0f2567.bbb75a8",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 990.2500801086426,
- "y": 693.2500720024109,
- "z": "41b275ba.2c7b9c",
+ "x": 1048.4444770812988,
+ "y": 760.1667685508728,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "a5c40637.63dca8",
+ "id": "cb02fedf.54fae",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 991.7500534057617,
- "y": 733.2500114440918,
- "z": "41b275ba.2c7b9c",
+ "x": 1049.944450378418,
+ "y": 800.1667079925537,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "4e890bf6.3c1eb4",
+ "id": "8a295a94.bf98d8",
"type": "execute",
"name": "prepare sNssai",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 994.7500534057617,
- "y": 773.2499647140503,
- "z": "41b275ba.2c7b9c",
+ "x": 1052.944450378418,
+ "y": 840.1666612625122,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "41670755.139738",
+ "id": "e3530f45.0dc46",
"type": "execute",
"name": "prepare uLThptPerSlice",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{configParameter}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.uLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 997.0000381469727,
- "y": 817.250054359436,
- "z": "41b275ba.2c7b9c",
+ "x": 1055.194435119629,
+ "y": 884.166750907898,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "6b9096c9.91aa78",
+ "id": "ccbdff4b.c27e3",
"type": "execute",
"name": "prepare dLThptPerSlice",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{configParameter}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 990.2500534057617,
- "y": 858.0000238418579,
- "z": "41b275ba.2c7b9c",
+ "x": 1048.444450378418,
+ "y": 924.9167203903198,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "df970bea.e18718",
+ "id": "898f3f4d.3a21c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Closed loop API params\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 943.4999885559082,
- "y": 893.499979019165,
- "z": "41b275ba.2c7b9c",
+ "x": 1001.6943855285645,
+ "y": 960.416675567627,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "a63b17d.be891e8",
+ "id": "288b2cdc.4b1194",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1231.0000495910645,
- "y": 942.0000343322754,
- "z": "41b275ba.2c7b9c",
+ "x": 1289.1944465637207,
+ "y": 1008.9167308807373,
+ "z": "a4132826.623598",
"wires": [
[
- "62804df9.566e44"
+ "654b1e51.ddfcb"
]
]
},
{
- "id": "94bfc483.016a08",
+ "id": "6561b789.668768",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1229.5627937316895,
- "y": 991.5625333786011,
- "z": "41b275ba.2c7b9c",
+ "x": 1287.7571907043457,
+ "y": 1058.479229927063,
+ "z": "a4132826.623598",
"wires": [
[
- "692f073e.b8bb78"
+ "2eb2806.801878"
]
]
},
{
- "id": "62804df9.566e44",
+ "id": "654b1e51.ddfcb",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1399.9998016357422,
- "y": 936.0000581741333,
- "z": "41b275ba.2c7b9c",
+ "x": 1458.1941986083984,
+ "y": 1002.9167547225952,
+ "z": "a4132826.623598",
"wires": [
[
- "941eaf3f.cfa1b"
+ "b5b5a3a4.7596a"
]
]
},
{
- "id": "692f073e.b8bb78",
+ "id": "2eb2806.801878",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1390.562656402588,
- "y": 969.5624599456787,
- "z": "41b275ba.2c7b9c",
+ "x": 1448.7570533752441,
+ "y": 1036.4791564941406,
+ "z": "a4132826.623598",
"wires": [
[
- "a0691c95.99967",
- "7eeb3908.36f438",
- "ae45840d.79a808"
+ "1fe50b77.077eb5",
+ "11434b4d.29f385",
+ "e78d6df2.248be"
]
]
},
{
- "id": "941eaf3f.cfa1b",
+ "id": "b5b5a3a4.7596a",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully patched NearRTRIC configuration\"/>",
"comments": "",
"outputs": 1,
- "x": 1611.7496070861816,
- "y": 858.7501459121704,
- "z": "41b275ba.2c7b9c",
+ "x": 1669.944004058838,
+ "y": 925.6668424606323,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "7eeb3908.36f438",
+ "id": "11434b4d.29f385",
"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": 1616.5632057189941,
- "y": 914.6734857559204,
- "z": "41b275ba.2c7b9c",
+ "x": 1674.7576026916504,
+ "y": 981.5901823043823,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "a0691c95.99967",
+ "id": "1fe50b77.077eb5",
"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": 1577.5627212524414,
- "y": 965.5624780654907,
- "z": "41b275ba.2c7b9c",
+ "x": 1635.7571182250977,
+ "y": 1032.4791746139526,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "25b4c7f7.476548",
+ "id": "9125173f.757b88",
"type": "execute",
"name": "patch NearRTRIC - config",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-nearRTRIC-config-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 998.5000495910645,
- "y": 940.7500219345093,
- "z": "41b275ba.2c7b9c",
+ "x": 1056.6944465637207,
+ "y": 1007.6667184829712,
+ "z": "a4132826.623598",
"wires": [
[
- "a63b17d.be891e8",
- "94bfc483.016a08"
+ "288b2cdc.4b1194",
+ "6561b789.668768"
]
]
},
{
- "id": "c4de5282.42b7b",
+ "id": "b4fdb0c.13b025",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
"comments": "",
- "x": 419.4375,
- "y": 1310.3749732971191,
- "z": "41b275ba.2c7b9c",
+ "x": 477.63189697265625,
+ "y": 1377.291669845581,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "313715a1.8aa98a",
+ "id": "f189ead7.d54db8",
"type": "execute",
"name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 256.9375,
- "y": 1554.1249732971191,
- "z": "41b275ba.2c7b9c",
+ "x": 315.13189697265625,
+ "y": 1621.041669845581,
+ "z": "a4132826.623598",
"wires": [
[
- "5fd9ecbd.29ab64",
- "2189ac26.c30d74"
+ "863c82b0.fee6b",
+ "c7b37697.cf47b8"
]
]
},
{
- "id": "df492683.e9e418",
+ "id": "8cc27aec.7baa58",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1634.5000648498535,
- "y": 1060.7500076293945,
- "z": "41b275ba.2c7b9c",
+ "x": 1692.6944618225098,
+ "y": 1127.6667041778564,
+ "z": "a4132826.623598",
"wires": [
[
- "9607b3d.d3ab35"
+ "3796b847.90c588"
]
]
},
{
- "id": "f20445ef.934978",
+ "id": "f5dc1311.399f4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1628.500144958496,
- "y": 1097.7501463890076,
- "z": "41b275ba.2c7b9c",
+ "x": 1686.6945419311523,
+ "y": 1164.6668429374695,
+ "z": "a4132826.623598",
"wires": [
[
- "650af091.29ffd"
+ "e12e8f30.80866"
]
]
},
{
- "id": "650af091.29ffd",
+ "id": "e12e8f30.80866",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1805.4899826049805,
- "y": 1108.7501320838928,
- "z": "41b275ba.2c7b9c",
+ "x": 1863.6843795776367,
+ "y": 1175.6668286323547,
+ "z": "a4132826.623598",
"wires": [
[
- "cebcb9c5.b643f8",
- "36e20bbb.4a4404"
+ "3c2d36c.67ca5ca",
+ "4501a78f.008508"
]
]
},
{
- "id": "9607b3d.d3ab35",
+ "id": "3796b847.90c588",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1793.7015895843506,
- "y": 1067.349202632904,
- "z": "41b275ba.2c7b9c",
+ "x": 1851.8959865570068,
+ "y": 1134.265899181366,
+ "z": "a4132826.623598",
"wires": [
[
- "251e5493.c4b3bc"
+ "81e1f6af.317318"
]
]
},
{
- "id": "251e5493.c4b3bc",
+ "id": "81e1f6af.317318",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2075.5001258850098,
- "y": 1057.750343799591,
- "z": "41b275ba.2c7b9c",
+ "x": 2133.694522857666,
+ "y": 1124.667040348053,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "cebcb9c5.b643f8",
+ "id": "3c2d36c.67ca5ca",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2125.0345211029053,
- "y": 1099.349442511797,
- "z": "41b275ba.2c7b9c",
+ "x": 2183.2289180755615,
+ "y": 1166.2661390602589,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "36e20bbb.4a4404",
+ "id": "4501a78f.008508",
"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.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2068.0350379943848,
- "y": 1144.349205493927,
- "z": "41b275ba.2c7b9c",
+ "x": 2126.229434967041,
+ "y": 1211.265902042389,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "7f184b0f.0df254",
+ "id": "ad6e03d7.ad3a8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1444.500129699707,
- "y": 1053.750005722046,
- "z": "41b275ba.2c7b9c",
+ "x": 1502.6945266723633,
+ "y": 1120.6667022705078,
+ "z": "a4132826.623598",
"wires": [
[
- "df492683.e9e418",
- "f20445ef.934978"
+ "8cc27aec.7baa58",
+ "f5dc1311.399f4"
]
]
},
{
- "id": "23402ed6.5154d2",
+ "id": "ce7dd64c.558e38",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1439.5000648498535,
- "y": 1125.7500076293945,
- "z": "41b275ba.2c7b9c",
+ "x": 1497.6944618225098,
+ "y": 1192.6667041778564,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "47697e37.1b021",
+ "id": "10ab84e8.6015fb",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1441.0000381469727,
- "y": 1165.7499470710754,
- "z": "41b275ba.2c7b9c",
+ "x": 1499.194435119629,
+ "y": 1232.6666436195374,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "9eba8bf5.891798",
+ "id": "997d5a8f.bd5138",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1245.5000228881836,
- "y": 1104.750039100647,
- "z": "41b275ba.2c7b9c",
+ "x": 1303.6944198608398,
+ "y": 1171.666735649109,
+ "z": "a4132826.623598",
"wires": [
[
- "7f184b0f.0df254",
- "23402ed6.5154d2",
- "47697e37.1b021",
- "d7f4a3c5.d4b32",
- "86761b21.52dd98",
- "51f39f3f.e121a",
- "eb254fd0.29137"
+ "ad6e03d7.ad3a8",
+ "ce7dd64c.558e38",
+ "10ab84e8.6015fb",
+ "13921f35.757901",
+ "fc0ddc3e.f21",
+ "ee4d9f87.53648",
+ "689fb519.ee1dac"
]
]
},
{
- "id": "d7f4a3c5.d4b32",
+ "id": "13921f35.757901",
"type": "for",
"name": "For Number of cells",
"xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
"comments": "",
"outputs": 1,
- "x": 1454.7501907348633,
- "y": 1269.75004196167,
- "z": "41b275ba.2c7b9c",
+ "x": 1512.9445877075195,
+ "y": 1336.6667385101318,
+ "z": "a4132826.623598",
"wires": [
[
- "3e2dcdf0.350682"
+ "140cbec1.778361"
]
]
},
{
- "id": "592dd030.210ee",
+ "id": "67db53db.00cacc",
"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=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1865.5000457763672,
- "y": 1238.7500610351562,
- "z": "41b275ba.2c7b9c",
+ "x": 1923.6944427490234,
+ "y": 1305.6667575836182,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "3e2dcdf0.350682",
+ "id": "140cbec1.778361",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1664.5,
- "y": 1266.75,
- "z": "41b275ba.2c7b9c",
+ "x": 1722.6943969726562,
+ "y": 1333.666696548462,
+ "z": "a4132826.623598",
"wires": [
[
- "592dd030.210ee",
- "563fc063.299c9",
- "94a5d1f9.db2b",
- "52dccd0b.5f68b4"
+ "67db53db.00cacc",
+ "e46c252f.937788",
+ "6720e72f.18e8a8",
+ "a790631.68201a"
]
]
},
{
- "id": "563fc063.299c9",
+ "id": "e46c252f.937788",
"type": "execute",
"name": "predictedMaxNumberofConns",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.predictedMaxNumberofConns' />\n\t<parameter name='source' value=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].configData.predictedMaxNumberofConns'`\" />",
"comments": "",
"outputs": 1,
- "x": 1922.2500457763672,
- "y": 1273.7501058578491,
- "z": "41b275ba.2c7b9c",
+ "x": 1980.4444427490234,
+ "y": 1340.666802406311,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "94a5d1f9.db2b",
+ "id": "6720e72f.18e8a8",
"type": "execute",
"name": "patch NearRTRIC - config",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-nearRTRIC-config-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 1913,
- "y": 1380.75,
- "z": "41b275ba.2c7b9c",
+ "x": 1971.1943969726562,
+ "y": 1447.666696548462,
+ "z": "a4132826.623598",
"wires": [
[
- "e6217049.8fe",
- "103ace8.0d64a32"
+ "68ef85d7.dd1d4c",
+ "9e7160d.46fefa"
]
]
},
{
- "id": "e6217049.8fe",
+ "id": "68ef85d7.dd1d4c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2145.5,
- "y": 1382.000012397766,
- "z": "41b275ba.2c7b9c",
+ "x": 2203.6943969726562,
+ "y": 1448.916708946228,
+ "z": "a4132826.623598",
"wires": [
[
- "649e12ec.2e907c"
+ "a6d7a02e.9cc2e"
]
]
},
{
- "id": "103ace8.0d64a32",
+ "id": "9e7160d.46fefa",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2144.062744140625,
- "y": 1431.5625114440918,
- "z": "41b275ba.2c7b9c",
+ "x": 2202.2571411132812,
+ "y": 1498.4792079925537,
+ "z": "a4132826.623598",
"wires": [
[
- "105421ef.dcc97e"
+ "b81123b2.7af0b"
]
]
},
{
- "id": "105421ef.dcc97e",
+ "id": "b81123b2.7af0b",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2305.0626068115234,
- "y": 1409.5624380111694,
- "z": "41b275ba.2c7b9c",
+ "x": 2363.2570037841797,
+ "y": 1476.4791345596313,
+ "z": "a4132826.623598",
"wires": [
[
- "36e0cf0.449d132",
- "b81dc1c0.23bac",
- "ae45840d.79a808"
+ "720f80da.20089",
+ "d11f1a0b.bd81f8",
+ "e78d6df2.248be"
]
]
},
{
- "id": "649e12ec.2e907c",
+ "id": "a6d7a02e.9cc2e",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2314.4997520446777,
- "y": 1376.000036239624,
- "z": "41b275ba.2c7b9c",
+ "x": 2372.694149017334,
+ "y": 1442.916732788086,
+ "z": "a4132826.623598",
"wires": [
[
- "c25430f2.8cec3"
+ "329a2f23.e32e6"
]
]
},
{
- "id": "36e0cf0.449d132",
+ "id": "720f80da.20089",
"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": 2492.062671661377,
- "y": 1405.5624561309814,
- "z": "41b275ba.2c7b9c",
+ "x": 2550.257068634033,
+ "y": 1472.4791526794434,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "b81dc1c0.23bac",
+ "id": "d11f1a0b.bd81f8",
"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": 2531.0631561279297,
- "y": 1354.6734638214111,
- "z": "41b275ba.2c7b9c",
+ "x": 2589.257553100586,
+ "y": 1421.590160369873,
+ "z": "a4132826.623598",
"wires": []
},
{
- "id": "c25430f2.8cec3",
+ "id": "329a2f23.e32e6",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully patched NearRTRIC configuration\"/>",
"comments": "",
"outputs": 1,
- "x": 2526.249557495117,
- "y": 1298.7501239776611,
- "z": "41b275ba.2c7b9c",
+ "x": 2584.4439544677734,
+ "y": 1365.666820526123,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "5e06d049.40315",
+ "id": "d1e08c64.f9b07",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Data length \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.dataPoints`\"/>\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 814.25,
- "y": 1074.75,
- "z": "41b275ba.2c7b9c",
+ "x": 872.4443969726562,
+ "y": 1141.666696548462,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "86761b21.52dd98",
+ "id": "fc0ddc3e.f21",
"type": "execute",
"name": "CUCellListEntries",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCellListEntries' />\n\t<parameter name='source' value=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList_length'`\" />\n\t",
"comments": "",
"outputs": 1,
- "x": 1455.7500076293945,
- "y": 1200.0000104904175,
- "z": "41b275ba.2c7b9c",
+ "x": 1513.9444046020508,
+ "y": 1266.9167070388794,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "51f39f3f.e121a",
+ "id": "ee4d9f87.53648",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCEll List length \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCellListEntries`\"/>\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1435.75,
- "y": 1233,
- "z": "41b275ba.2c7b9c",
+ "x": 1493.9443969726562,
+ "y": 1299.916696548462,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "52dccd0b.5f68b4",
+ "id": "a790631.68201a",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1861,
- "y": 1327.25,
- "z": "41b275ba.2c7b9c",
+ "x": 1919.1943969726562,
+ "y": 1394.166696548462,
+ "z": "a4132826.623598",
"wires": [
[]
]
},
{
- "id": "eb254fd0.29137",
+ "id": "689fb519.ee1dac",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`\"/>",
"comments": "",
- "x": 1461.25,
- "y": 1009.25,
- "z": "41b275ba.2c7b9c",
+ "x": 1519.4443969726562,
+ "y": 1076.166696548462,
+ "z": "a4132826.623598",
"wires": []
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json
index e09ee428..db2c3c0f 100644
--- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json
+++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json
@@ -1,20 +1,20 @@
[
{
- "id": "c5568a98.8f8718",
+ "id": "13b54916.0b6007",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 92.5,
- "y": 32.49999666213989,
- "z": "da62f736.168268",
+ "x": 256.3888854980469,
+ "y": 149.16665887832642,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "7ce853d8.9c699c"
+ "1c8660a6.4c1f1f"
]
]
},
{
- "id": "7ce853d8.9c699c",
+ "id": "1c8660a6.4c1f1f",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -22,7306 +22,7306 @@
"comments": "",
"xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
"outputs": 1,
- "x": 147.5000228881836,
- "y": 119.49996519088745,
- "z": "da62f736.168268",
+ "x": 311.38890838623047,
+ "y": 236.16662740707397,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "558e29d9.0bca88"
+ "fe73b1e2.82cbe"
]
]
},
{
- "id": "558e29d9.0bca88",
+ "id": "fe73b1e2.82cbe",
"type": "method",
"name": "method",
"xml": "<method rpc='terminateRANSliceInstance' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 81.5,
- "y": 179.49993085861206,
- "z": "da62f736.168268",
+ "x": 245.38888549804688,
+ "y": 296.1665930747986,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "73e286b5.95ed98"
+ "2c945b9d.9762d4"
]
]
},
{
- "id": "73e286b5.95ed98",
+ "id": "2c945b9d.9762d4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 87.49999237060547,
- "y": 274.2499613761902,
- "z": "da62f736.168268",
+ "x": 251.38887786865234,
+ "y": 390.9166235923767,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b2a2f929.e9e7d8",
- "ef29471f.64f038",
- "2e6295f3.2b018a",
- "b01e9ff8.9fdcb"
+ "15a06d8f.7a3ca2",
+ "ca819b40.18b7a8",
+ "4f957f97.ee3ed",
+ "fa5127b8.c6a188"
]
]
},
{
- "id": "b2a2f929.e9e7d8",
+ "id": "15a06d8f.7a3ca2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 301.49999618530273,
- "y": 297.49999380111694,
- "z": "da62f736.168268",
+ "x": 465.3888816833496,
+ "y": 414.16665601730347,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "6336a945.8a35f8",
- "734e7146.41458",
- "fff929df.03fac8",
- "d74945f1.537f58",
- "1a07170f.9b8cb9",
- "8d1aec81.1c96c",
- "a440f467.164788",
- "535f16f4.b6d608",
- "406ee76f.a28dd8",
- "331ef215.bbe70e",
- "2bef0202.a1c14e",
- "7a08dec6.783c6",
- "c50ddf2a.0f482",
- "4a173bea.dab424",
- "418b9d9d.e0f1e4",
- "9a10e123.7e743"
+ "8a4d1167.682ac",
+ "28a2cb6f.774dd4",
+ "c2420cc1.98cd5",
+ "7fa621ae.c91f3",
+ "b7f191d.9954e7",
+ "485b1e79.bbde2",
+ "30294ae6.eaaeb6",
+ "941bdbd9.3f4b08",
+ "7597a7a3.d53198",
+ "9cee919c.bea0b",
+ "ba93432d.8ae6f",
+ "b2d5bb29.9e1f58",
+ "f014e0f.8062b2",
+ "35f03911.133576",
+ "92345751.f84618",
+ "926f95e.bc62b68"
]
]
},
{
- "id": "6336a945.8a35f8",
+ "id": "8a4d1167.682ac",
"type": "execute",
"name": "generate getNearRTRICsFromRANNFNSSI URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICByNSSI`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
"comments": "",
"outputs": 1,
- "x": 685.75,
- "y": 440.75000381469727,
- "z": "da62f736.168268",
+ "x": 849.6388854980469,
+ "y": 557.4166660308838,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "734e7146.41458",
+ "id": "28a2cb6f.774dd4",
"type": "record",
"name": "record configdb RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$ranNFNSSIId`\" />",
"comments": "",
"outputs": 1,
- "x": 625.7500152587891,
- "y": 491.7500228881836,
- "z": "da62f736.168268",
+ "x": 789.6389007568359,
+ "y": 608.4166851043701,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "fff929df.03fac8",
+ "id": "c2420cc1.98cd5",
"type": "execute",
"name": "Get nearRTRIC for TrackingArea",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 615.7500915527344,
- "y": 543.7500534057617,
- "z": "da62f736.168268",
+ "x": 779.6389770507812,
+ "y": 660.4167156219482,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b4943470.91c0d8",
- "c824c7c4.195ea8"
+ "43cb7753.13bff8",
+ "84692e0e.f962a"
]
]
},
{
- "id": "b4943470.91c0d8",
+ "id": "43cb7753.13bff8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 914.5680961608887,
- "y": 561.5680770874023,
- "z": "da62f736.168268",
+ "x": 1078.4569816589355,
+ "y": 678.2347393035889,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "31b1e0f6.87ffa"
+ "bfa2467c.975828"
]
]
},
{
- "id": "31b1e0f6.87ffa",
+ "id": "bfa2467c.975828",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1084.5679931640625,
- "y": 562.5681924819946,
- "z": "da62f736.168268",
+ "x": 1248.4568786621094,
+ "y": 679.2348546981812,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "cb22de9c.436e2",
- "e2f6cc30.e8277"
+ "ebf3b22f.4a068",
+ "68a4387a.832838"
]
]
},
{
- "id": "cb22de9c.436e2",
+ "id": "ebf3b22f.4a068",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 1307.5677909851074,
- "y": 507.56817626953125,
- "z": "da62f736.168268",
+ "x": 1471.4566764831543,
+ "y": 624.2348384857178,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e2f6cc30.e8277",
+ "id": "68a4387a.832838",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1303.345932006836,
- "y": 578.5681838989258,
- "z": "da62f736.168268",
+ "x": 1467.2348175048828,
+ "y": 695.2348461151123,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "c824c7c4.195ea8",
+ "id": "84692e0e.f962a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 920.5680503845215,
- "y": 501.5681610107422,
- "z": "da62f736.168268",
+ "x": 1084.4569358825684,
+ "y": 618.2348232269287,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "48a2a2c5.98d62c"
+ "ee193480.ded158"
]
]
},
{
- "id": "48a2a2c5.98d62c",
+ "id": "ee193480.ded158",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1200.5681266784668,
- "y": 407.56821489334106,
- "z": "da62f736.168268",
+ "x": 1364.4570121765137,
+ "y": 524.2348771095276,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2821d952.27d626",
- "80ea1426.fb74e8"
+ "bb69198d.0fefb8",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "2821d952.27d626",
+ "id": "bb69198d.0fefb8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1378.56791305542,
- "y": 361.6792416572571,
- "z": "da62f736.168268",
+ "x": 1542.4567985534668,
+ "y": 478.3459038734436,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "ef29471f.64f038",
+ "id": "ca819b40.18b7a8",
"type": "for",
"name": "foreach NearRTRIC",
"xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
"comments": "",
"outputs": 1,
- "x": 282.75,
- "y": 884.5681762695312,
- "z": "da62f736.168268",
+ "x": 446.6388854980469,
+ "y": 1001.2348384857178,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "18d219c0.9cf676",
- "85e55937.41fdf8",
- "e30d97bf.620048",
- "c27385b1.743288"
+ "25b3a4a9.908a0c",
+ "a80c0ed6.0f83f",
+ "221fc1b6.a4a77e",
+ "1faf1601.2669fa"
]
]
},
{
- "id": "18d219c0.9cf676",
+ "id": "25b3a4a9.908a0c",
"type": "block",
"name": "Process NearRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 603.1035614013672,
- "y": 1023.143970489502,
- "z": "da62f736.168268",
+ "x": 766.9924468994141,
+ "y": 1139.8106327056885,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "eefa1832.1380b8",
- "f131480e.413408",
- "35178056.84a7e",
- "e0692478.040118",
- "c224bf70.f8698",
- "feae2bb9.c89528",
- "efb82a40.58c198",
- "32462495.24865c",
- "36cfb15f.b2ef8e"
+ "79a53f2d.b5491",
+ "88535fa9.03811",
+ "3b91f995.943196",
+ "d38ca491.690178",
+ "8318ccb3.e2df6",
+ "2c07f0f9.fb597",
+ "8045c217.a14b",
+ "58a66c79.4d6444",
+ "a0ff73b.d53929"
]
]
},
{
- "id": "eefa1832.1380b8",
+ "id": "79a53f2d.b5491",
"type": "execute",
"name": "read nearRTRICId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].nearRTRICId'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 998.295524597168,
- "y": 675.4773025512695,
- "z": "da62f736.168268",
+ "x": 1162.1844100952148,
+ "y": 792.143964767456,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "f131480e.413408",
+ "id": "88535fa9.03811",
"type": "execute",
"name": "read gNBId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`\" />",
"comments": "",
"outputs": 1,
- "x": 968.2954940795898,
- "y": 867.4773654937744,
- "z": "da62f736.168268",
+ "x": 1132.1843795776367,
+ "y": 984.1440277099609,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "35178056.84a7e",
+ "id": "3b91f995.943196",
"type": "execute",
"name": "Update nearRT RIC Details in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removenearRTRIC-PLMNInfo.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-nearRTRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1074.0126266479492,
- "y": 1062.9823503494263,
- "z": "da62f736.168268",
+ "x": 1237.901512145996,
+ "y": 1179.6490125656128,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "dee5a635.a73338",
- "7a0a6ef9.9ecdd"
+ "40b8bfe7.b3c7a",
+ "69fb9607.8ef588"
]
]
},
{
- "id": "dee5a635.a73338",
+ "id": "40b8bfe7.b3c7a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1441.568115234375,
- "y": 1104.0226440429688,
- "z": "da62f736.168268",
+ "x": 1605.4570007324219,
+ "y": 1220.6893062591553,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "6a251f04.44743"
+ "55ac305d.b4eb2"
]
]
},
{
- "id": "6a251f04.44743",
+ "id": "55ac305d.b4eb2",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1573.5682373046875,
- "y": 1066.0226440429688,
- "z": "da62f736.168268",
+ "x": 1737.4571228027344,
+ "y": 1182.6893062591553,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "109652da.35aaad",
- "16105346.8b4fbd"
+ "bd9d9a7e.99b7f8",
+ "d71a4184.466f"
]
]
},
{
- "id": "16105346.8b4fbd",
+ "id": "d71a4184.466f",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1762.5679931640625,
- "y": 1013.1336669921875,
- "z": "da62f736.168268",
+ "x": 1926.4568786621094,
+ "y": 1129.800329208374,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "109652da.35aaad",
+ "id": "bd9d9a7e.99b7f8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1770.5679931640625,
- "y": 1113.022705078125,
- "z": "da62f736.168268",
+ "x": 1934.4568786621094,
+ "y": 1229.6893672943115,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "7a0a6ef9.9ecdd",
+ "id": "69fb9607.8ef588",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1439.38623046875,
- "y": 1203.9317626953125,
- "z": "da62f736.168268",
+ "x": 1603.2751159667969,
+ "y": 1320.598424911499,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "7721543c.03993c"
+ "8c6b92b0.8f7e3"
]
]
},
{
- "id": "7721543c.03993c",
+ "id": "8c6b92b0.8f7e3",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1603.3861083984375,
- "y": 1204.931884765625,
- "z": "da62f736.168268",
+ "x": 1767.2749938964844,
+ "y": 1321.5985469818115,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "99b87529.8cda48"
+ "60c71f0b.4e0b8"
]
]
},
{
- "id": "99b87529.8cda48",
+ "id": "60c71f0b.4e0b8",
"type": "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": 1753.3861083984375,
- "y": 1199.9320068359375,
- "z": "da62f736.168268",
+ "x": 1917.2749938964844,
+ "y": 1316.598669052124,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "873ed2d3.c7ca8",
+ "id": "a210b89d.d67618",
"type": "execute",
"name": "read CUCP list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 956.75,
- "y": 1247.75,
- "z": "da62f736.168268",
+ "x": 1120.6388854980469,
+ "y": 1364.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "85e55937.41fdf8",
+ "id": "a80c0ed6.0f83f",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 583.7500228881836,
- "y": 1160.7500534057617,
- "z": "da62f736.168268",
+ "x": 747.6389083862305,
+ "y": 1277.4167156219482,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "873ed2d3.c7ca8",
- "61417ec7.d4a75",
- "44181142.3471e"
+ "a210b89d.d67618",
+ "77fae2fc.54a83c",
+ "c78a7431.326578"
]
]
},
{
- "id": "61417ec7.d4a75",
+ "id": "77fae2fc.54a83c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 928.75,
- "y": 1312.75,
- "z": "da62f736.168268",
+ "x": 1092.6388854980469,
+ "y": 1429.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "44181142.3471e",
+ "id": "c78a7431.326578",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 956.75,
- "y": 1387.75,
- "z": "da62f736.168268",
+ "x": 1120.6388854980469,
+ "y": 1504.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9873817a.bd85"
+ "f3835687.f3ad28"
]
]
},
{
- "id": "9873817a.bd85",
+ "id": "f3835687.f3ad28",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1177.75,
- "y": 1394.75,
- "z": "da62f736.168268",
+ "x": 1341.6388854980469,
+ "y": 1511.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9bd17c8f.d933c",
- "ec596de0.0aca4",
- "d29c67e5.d6f4f8",
- "5f1d2c5c.decd84"
+ "293ade3b.3e9282",
+ "d33f3a13.3a80b8",
+ "55636713.753228",
+ "ac92bba5.c8a268"
]
]
},
{
- "id": "9bd17c8f.d933c",
+ "id": "293ade3b.3e9282",
"type": "execute",
"name": "read CUCP name",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
"comments": "",
"outputs": 1,
- "x": 1528.75,
- "y": 1247.75,
- "z": "da62f736.168268",
+ "x": 1692.6388854980469,
+ "y": 1364.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "ec596de0.0aca4",
+ "id": "d33f3a13.3a80b8",
"type": "for",
"name": "for cellCUList",
"xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1532.75,
- "y": 1391.75,
- "z": "da62f736.168268",
+ "x": 1696.6388854980469,
+ "y": 1508.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9e9a8829.999268"
+ "80ff59e2.0c6828"
]
]
},
{
- "id": "b0e1bf8f.22488",
+ "id": "9f3dc0ca.d175e",
"type": "execute",
"name": "read cellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 2269.2502670288086,
- "y": 1110.5000038146973,
- "z": "da62f736.168268",
+ "x": 2433.1391525268555,
+ "y": 1227.1666660308838,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e6adc774.43c8d8",
+ "id": "d25fdd3c.e7a3a",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 2248.000114440918,
- "y": 1356.999948501587,
- "z": "da62f736.168268",
+ "x": 2411.888999938965,
+ "y": 1473.6666107177734,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "46c5fc21.cc9984",
+ "id": "4429c413.53d4fc",
"type": "execute",
"name": "terminate sNNSAI ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteSNSSAIListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellCU-sNSSAI-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2215.7501068115234,
- "y": 1544.7499732971191,
- "z": "da62f736.168268",
+ "x": 2379.6389923095703,
+ "y": 1661.4166355133057,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "47288b8d.772554",
- "331e8cd2.198374"
+ "46115720.68ee88",
+ "8c0b5b7f.7bdf08"
]
]
},
{
- "id": "850a1c4b.3fe45",
+ "id": "5d11528.48bd2ac",
"type": "record",
"name": "record API params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field8\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2215.75,
- "y": 1479.2500133514404,
- "z": "da62f736.168268",
+ "x": 2379.638885498047,
+ "y": 1595.916675567627,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "47df190.60624e8",
+ "id": "cc17591c.133a48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2046.75,
- "y": 998.75,
- "z": "da62f736.168268",
+ "x": 2210.638885498047,
+ "y": 1115.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b0e1bf8f.22488",
- "e6adc774.43c8d8",
- "850a1c4b.3fe45",
- "46c5fc21.cc9984",
- "abb0b9c.15d9d48",
- "83d73909.bae128",
- "a39f8656.444118",
- "d3e48ebc.f7231",
- "b5390e62.ee13f",
- "b5ed71f7.1a30d",
- "871e03be.326d",
- "1c8e5c05.e07c04",
- "e8f8f0ea.977c8"
+ "9f3dc0ca.d175e",
+ "d25fdd3c.e7a3a",
+ "5d11528.48bd2ac",
+ "4429c413.53d4fc",
+ "4ff52e11.4c359",
+ "f74d3af1.4779d8",
+ "2b4b7928.bb17c6",
+ "d6873e5f.16b53",
+ "53ee972c.bda038",
+ "f200b6d5.a81168",
+ "24ec030e.cd504c",
+ "1063593f.f773f7",
+ "261c63a2.cfa8fc"
]
]
},
{
- "id": "47288b8d.772554",
+ "id": "46115720.68ee88",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2466.750114440918,
- "y": 1540.7502174377441,
- "z": "da62f736.168268",
+ "x": 2630.638999938965,
+ "y": 1657.4168796539307,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "58993238.4039dc"
+ "3a88b361.e3682c"
]
]
},
{
- "id": "58993238.4039dc",
+ "id": "3a88b361.e3682c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2639.749900817871,
- "y": 1539.7502784729004,
- "z": "da62f736.168268",
+ "x": 2803.638786315918,
+ "y": 1656.416940689087,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "321c23a.1dc6cdc"
+ "90004ec.2abd9b"
]
]
},
{
- "id": "321c23a.1dc6cdc",
+ "id": "90004ec.2abd9b",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 2837.7499618530273,
- "y": 1536.750400543213,
- "z": "da62f736.168268",
+ "x": 3001.638847351074,
+ "y": 1653.4170627593994,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "331e8cd2.198374",
+ "id": "8c0b5b7f.7bdf08",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2431.75008392334,
- "y": 1423.7499732971191,
- "z": "da62f736.168268",
+ "x": 2595.6389694213867,
+ "y": 1540.4166355133057,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "476ddcef.5da644"
+ "edcd118.a0bb6f"
]
]
},
{
- "id": "476ddcef.5da644",
+ "id": "edcd118.a0bb6f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2581.750358581543,
- "y": 1382.750156402588,
- "z": "da62f736.168268",
+ "x": 2745.63924407959,
+ "y": 1499.4168186187744,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "cad84f7d.8b728",
- "df36d01.7f7d83",
- "80ea1426.fb74e8"
+ "879c280b.1029e8",
+ "c0273093.0ef2e",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "cad84f7d.8b728",
+ "id": "879c280b.1029e8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2752.7499923706055,
- "y": 1443.7502174377441,
- "z": "da62f736.168268",
+ "x": 2916.6388778686523,
+ "y": 1560.4168796539307,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "df36d01.7f7d83",
+ "id": "c0273093.0ef2e",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2747.750114440918,
- "y": 1348.750156402588,
- "z": "da62f736.168268",
+ "x": 2911.638999938965,
+ "y": 1465.4168186187744,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "abb0b9c.15d9d48",
+ "id": "4ff52e11.4c359",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2303.750030517578,
- "y": 1210.7500953674316,
- "z": "da62f736.168268",
+ "x": 2467.638916015625,
+ "y": 1327.4167575836182,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "83d73909.bae128",
+ "id": "f74d3af1.4779d8",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2284.7500228881836,
- "y": 1257.4999752044678,
- "z": "da62f736.168268",
+ "x": 2448.6389083862305,
+ "y": 1374.1666374206543,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "a39f8656.444118",
+ "id": "2b4b7928.bb17c6",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 2260.4999923706055,
- "y": 1300.5000085830688,
- "z": "da62f736.168268",
+ "x": 2424.3888778686523,
+ "y": 1417.1666707992554,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d29c67e5.d6f4f8",
+ "id": "55636713.753228",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1501.75,
- "y": 1298.75,
- "z": "da62f736.168268",
+ "x": 1665.6388854980469,
+ "y": 1415.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5f1d2c5c.decd84",
+ "id": "ac92bba5.c8a268",
"type": "execute",
"name": "read cellCU list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1542.75,
- "y": 1347.75,
- "z": "da62f736.168268",
+ "x": 1706.6388854980469,
+ "y": 1464.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d3e48ebc.f7231",
+ "id": "d6873e5f.16b53",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2269.75,
- "y": 1061.75,
- "z": "da62f736.168268",
+ "x": 2433.638885498047,
+ "y": 1178.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "696ba9cb.bb2f18",
- "aebe61da.58076"
+ "34e6ea9e.b1bdc6",
+ "9ce0b9e2.64fd18"
]
]
},
{
- "id": "696ba9cb.bb2f18",
+ "id": "34e6ea9e.b1bdc6",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2477.75,
- "y": 1026.749755859375,
- "z": "da62f736.168268",
+ "x": 2641.638885498047,
+ "y": 1143.4164180755615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2ad68b21.890b84"
+ "59068b77.755684"
]
]
},
{
- "id": "2ad68b21.890b84",
+ "id": "59068b77.755684",
"type": "execute",
"name": "generate terminate sNSSAItEntry ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2797.75,
- "y": 1041.75,
- "z": "da62f736.168268",
+ "x": 2961.638885498047,
+ "y": 1158.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "aebe61da.58076",
+ "id": "9ce0b9e2.64fd18",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2465.75,
- "y": 1128.75,
- "z": "da62f736.168268",
+ "x": 2629.638885498047,
+ "y": 1245.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a0cd471f.d08e88"
+ "f574854d.da65d8"
]
]
},
{
- "id": "b5390e62.ee13f",
+ "id": "53ee972c.bda038",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1824.75,
- "y": 1812.75,
- "z": "da62f736.168268",
+ "x": 1988.6388854980469,
+ "y": 1929.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2cf8126f.d1e85e",
- "6a14fde8.414504",
- "c0f1b70c.7a0618",
- "21256195.ad05de",
- "770cc1c7.5a6fb",
- "9e4d0066.d7a5f",
- "39559a54.4e74d6",
- "292b773e.225808",
- "e28d4409.a0c4b8"
+ "6b056548.ab52bc",
+ "b348ab17.934188",
+ "6d3d4b6b.749524",
+ "754ee45f.12c16c",
+ "f1cfbf18.b2243",
+ "7925f33.dcf840c",
+ "545ce814.c92928",
+ "205d965c.61e96a",
+ "7b4444ec.313bdc"
]
]
},
{
- "id": "2cf8126f.d1e85e",
+ "id": "6b056548.ab52bc",
"type": "set",
"name": "Calculate RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
"comments": "",
- "x": 2006.75,
- "y": 1595.75,
- "z": "da62f736.168268",
+ "x": 2170.638885498047,
+ "y": 1712.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "6a14fde8.414504",
+ "id": "b348ab17.934188",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>",
"comments": "",
"outputs": 1,
- "x": 2005.75,
- "y": 1651.75,
- "z": "da62f736.168268",
+ "x": 2169.638885498047,
+ "y": 1768.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "c0f1b70c.7a0618",
+ "id": "6d3d4b6b.749524",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2046.75,
- "y": 1718.75,
- "z": "da62f736.168268",
+ "x": 2210.638885498047,
+ "y": 1835.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5e0355ea.6e912c",
- "531b3c4c.239274"
+ "52da5d1a.0cca24",
+ "910f0fe5.fe248"
]
]
},
{
- "id": "5e0355ea.6e912c",
+ "id": "52da5d1a.0cca24",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2224.75,
- "y": 1685.749755859375,
- "z": "da62f736.168268",
+ "x": 2388.638885498047,
+ "y": 1802.4164180755615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b5415457.b2b258"
+ "8d09c6f.665b538"
]
]
},
{
- "id": "b5415457.b2b258",
+ "id": "8d09c6f.665b538",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellCU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2502.75,
- "y": 1677.75,
- "z": "da62f736.168268",
+ "x": 2666.638885498047,
+ "y": 1794.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "21256195.ad05de",
+ "id": "754ee45f.12c16c",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2081.75,
- "y": 1790.75,
- "z": "da62f736.168268",
+ "x": 2245.638885498047,
+ "y": 1907.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "770cc1c7.5a6fb",
+ "id": "f1cfbf18.b2243",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2046.75,
- "y": 1842.75,
- "z": "da62f736.168268",
+ "x": 2210.638885498047,
+ "y": 1959.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "af7677e4.5eb1b8",
+ "id": "589411b8.d17cf",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2332.75,
- "y": 1969.75,
- "z": "da62f736.168268",
+ "x": 2496.638885498047,
+ "y": 2086.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9d029223.3b508"
+ "69298f81.7bc1a"
]
]
},
{
- "id": "9d029223.3b508",
+ "id": "69298f81.7bc1a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2496.7498779296875,
- "y": 1970.7501220703125,
- "z": "da62f736.168268",
+ "x": 2660.6387634277344,
+ "y": 2087.416784286499,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "c89265f6.049fe8",
- "8edb7765.0ff4e8"
+ "b3c93505.359eb8",
+ "59c05b13.4d5584"
]
]
},
{
- "id": "c89265f6.049fe8",
+ "id": "b3c93505.359eb8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2646.7498779296875,
- "y": 1965.750244140625,
- "z": "da62f736.168268",
+ "x": 2810.6387634277344,
+ "y": 2082.4169063568115,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "64306a63.dd3e24",
+ "id": "45ec013e.d3c1c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2328.75,
- "y": 1890.75,
- "z": "da62f736.168268",
+ "x": 2492.638885498047,
+ "y": 2007.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "48cd5a.d4e032a8"
+ "d3c9a44c.060d38"
]
]
},
{
- "id": "48cd5a.d4e032a8",
+ "id": "d3c9a44c.060d38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2486.750244140625,
- "y": 1838.75,
- "z": "da62f736.168268",
+ "x": 2650.639129638672,
+ "y": 1955.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "faeaed8.9cc8f1",
- "a2d9015a.dbf14",
- "80ea1426.fb74e8"
+ "49e1b3c0.3eda1c",
+ "d701e69a.7c76e8",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "faeaed8.9cc8f1",
+ "id": "49e1b3c0.3eda1c",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2657.7498779296875,
- "y": 1899.7500610351562,
- "z": "da62f736.168268",
+ "x": 2821.6387634277344,
+ "y": 2016.4167232513428,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "a2d9015a.dbf14",
+ "id": "d701e69a.7c76e8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2652.75,
- "y": 1804.75,
- "z": "da62f736.168268",
+ "x": 2816.638885498047,
+ "y": 1921.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "9e4d0066.d7a5f",
+ "id": "7925f33.dcf840c",
"type": "execute",
"name": "fetch RRMPolicyRatio - NRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 2081.75,
- "y": 1917.75,
- "z": "da62f736.168268",
+ "x": 2245.638885498047,
+ "y": 2034.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "64306a63.dd3e24",
- "af7677e4.5eb1b8"
+ "45ec013e.d3c1c",
+ "589411b8.d17cf"
]
]
},
{
- "id": "8edb7765.0ff4e8",
+ "id": "59c05b13.4d5584",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2661.75,
- "y": 2028.75,
- "z": "da62f736.168268",
+ "x": 2825.638885498047,
+ "y": 2145.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "39559a54.4e74d6",
+ "id": "545ce814.c92928",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2016.75,
- "y": 2075.750228881836,
- "z": "da62f736.168268",
+ "x": 2180.638885498047,
+ "y": 2192.4168910980225,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "cd8bf9bc.1cadc8"
+ "91db87cc.23ab88"
]
]
},
{
- "id": "292b773e.225808",
+ "id": "205d965c.61e96a",
"type": "execute",
"name": "read rrmpolicyratio list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length '`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 2060.75,
- "y": 1971.75,
- "z": "da62f736.168268",
+ "x": 2224.638885498047,
+ "y": 2088.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "cd8bf9bc.1cadc8",
+ "id": "91db87cc.23ab88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2237.75,
- "y": 2095.750228881836,
- "z": "da62f736.168268",
+ "x": 2401.638885498047,
+ "y": 2212.4168910980225,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2bc7679f.a36f88",
- "756aabaa.a810d4",
- "bafc3e6d.cdf73",
- "71c76952.045908",
- "54cca329.31500c",
- "14019172.5d29bf",
- "521d3d11.f4ead4",
- "cd5eaeef.a91e3",
- "eaeb68eb.667d98",
- "7314c963.605c68"
+ "9f49845e.0050c8",
+ "10bed330.9d26bd",
+ "b7aab5d6.a5d488",
+ "cac94f43.7988e",
+ "57aa1331.9d81bc",
+ "e85a3a4.22a94c8",
+ "4c947865.0ffd58",
+ "d93b6f67.8d487",
+ "47c5c1a5.8d72c",
+ "b2ace9e0.9edfb8"
]
]
},
{
- "id": "2bc7679f.a36f88",
+ "id": "9f49845e.0050c8",
"type": "set",
"name": "Calculate updated RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellCU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`\" />",
"comments": "",
- "x": 2562.75,
- "y": 2072.750228881836,
- "z": "da62f736.168268",
+ "x": 2726.638885498047,
+ "y": 2189.4168910980225,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "e28d4409.a0c4b8",
+ "id": "7b4444ec.313bdc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2000.75,
- "y": 2025.75,
- "z": "da62f736.168268",
+ "x": 2164.638885498047,
+ "y": 2142.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "688b9f44.1b24f",
+ "id": "9f6e5cf6.2e6b1",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 2093.8610229492188,
- "y": 806.9722108840942,
- "z": "da62f736.168268",
+ "x": 2257.7499084472656,
+ "y": 923.6388731002808,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9bebaeb1.90386"
+ "5bd57ea8.8bdc"
]
]
},
{
- "id": "9e9a8829.999268",
+ "id": "80ff59e2.0c6828",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1752.75,
- "y": 1300.75,
- "z": "da62f736.168268",
+ "x": 1916.6388854980469,
+ "y": 1417.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "688b9f44.1b24f",
- "63802b92.24eaa4"
+ "9f6e5cf6.2e6b1",
+ "dcc1e616.a66a58"
]
]
},
{
- "id": "fab9e219.5662d",
+ "id": "ddf84184.f49eb",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2516.527801513672,
- "y": 817.5277490615845,
- "z": "da62f736.168268",
+ "x": 2680.4166870117188,
+ "y": 934.194411277771,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b43cbba0.8b8ab8"
+ "4535b231.1fd40c"
]
]
},
{
- "id": "b43cbba0.8b8ab8",
+ "id": "4535b231.1fd40c",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2419.75,
- "y": 902.75,
- "z": "da62f736.168268",
+ "x": 2583.638885498047,
+ "y": 1019.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "47df190.60624e8"
+ "cc17591c.133a48"
]
]
},
{
- "id": "b5ed71f7.1a30d",
+ "id": "f200b6d5.a81168",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"NSSAI exists \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2241.75,
- "y": 993.75,
- "z": "da62f736.168268",
+ "x": 2405.638885498047,
+ "y": 1110.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "7690acef.0c3c44",
+ "id": "fa26149a.2c7198",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2477.638961791992,
- "y": 752.9721822738647,
- "z": "da62f736.168268",
+ "x": 2641.527847290039,
+ "y": 869.6388444900513,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "9bebaeb1.90386",
+ "id": "5bd57ea8.8bdc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2271.75,
- "y": 729.75,
- "z": "da62f736.168268",
+ "x": 2435.638885498047,
+ "y": 846.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "7690acef.0c3c44",
- "fab9e219.5662d",
- "c229445e.e237e8"
+ "fa26149a.2c7198",
+ "ddf84184.f49eb",
+ "f9c032b0.6c509"
]
]
},
{
- "id": "c229445e.e237e8",
+ "id": "f9c032b0.6c509",
"type": "execute",
"name": "read sNSSAI from getNFNSSIRIC-configdb-response",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 2606.6388549804688,
- "y": 684.9722309112549,
- "z": "da62f736.168268",
+ "x": 2770.5277404785156,
+ "y": 801.6388931274414,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "871e03be.326d",
+ "id": "24ec030e.cd504c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1641.7499542236328,
- "y": 2277.750011444092,
- "z": "da62f736.168268",
+ "x": 1805.6388397216797,
+ "y": 2394.4166736602783,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "7389066e.093d58",
- "d793dedd.b3828",
- "affea016.689ae"
+ "a8581b0.49378e8",
+ "cab5cd7b.682a4",
+ "ae40960a.6e1e88"
]
]
},
{
- "id": "7389066e.093d58",
+ "id": "a8581b0.49378e8",
"type": "execute",
"name": "Update cellCU for gNBCUCP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUCP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removegNBCUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"remove-gNBCUCP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1924.7499542236328,
- "y": 2277.750011444092,
- "z": "da62f736.168268",
+ "x": 2088.6388397216797,
+ "y": 2394.4166736602783,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "792eb9e8.3016e8",
- "f973581b.cedbd8"
+ "66689ab6.972234",
+ "3613c031.be978"
]
]
},
{
- "id": "f973581b.cedbd8",
+ "id": "3613c031.be978",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2160.749954223633,
- "y": 2349.750011444092,
- "z": "da62f736.168268",
+ "x": 2324.6388397216797,
+ "y": 2466.4166736602783,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "337d2d70.5e45a2"
+ "f216f679.2b6c58"
]
]
},
{
- "id": "792eb9e8.3016e8",
+ "id": "66689ab6.972234",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2211.749954223633,
- "y": 2248.750255584717,
- "z": "da62f736.168268",
+ "x": 2375.6388397216797,
+ "y": 2365.4169178009033,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "c01c4080.c3a65"
+ "ea9cd975.e4bac8"
]
]
},
{
- "id": "c01c4080.c3a65",
+ "id": "ea9cd975.e4bac8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2405.000068664551,
- "y": 2393.5000705718994,
- "z": "da62f736.168268",
+ "x": 2568.8889541625977,
+ "y": 2510.166732788086,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "75b5b3c7.3a963c",
- "56f19de0.2f7e84",
- "80ea1426.fb74e8"
+ "7e0aa803.b632a8",
+ "950c5034.5b9f1",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "56f19de0.2f7e84",
+ "id": "950c5034.5b9f1",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2574.749885559082,
- "y": 2380.9446816444397,
- "z": "da62f736.168268",
+ "x": 2738.638771057129,
+ "y": 2497.611343860626,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "75b5b3c7.3a963c",
+ "id": "7e0aa803.b632a8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2574.7495880126953,
- "y": 2425.750072479248,
- "z": "da62f736.168268",
+ "x": 2738.638473510742,
+ "y": 2542.4167346954346,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "f1003da4.9703c",
+ "id": "b092f8b7.785738",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 2410.749954223633,
- "y": 2436.750011444092,
- "z": "da62f736.168268",
+ "x": 2574.6388397216797,
+ "y": 2553.4166736602783,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "337d2d70.5e45a2",
+ "id": "f216f679.2b6c58",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2246.7499389648438,
- "y": 2430.750072479248,
- "z": "da62f736.168268",
+ "x": 2410.6388244628906,
+ "y": 2547.4167346954346,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f1003da4.9703c"
+ "b092f8b7.785738"
]
]
},
{
- "id": "7314c963.605c68",
+ "id": "b2ace9e0.9edfb8",
"type": "execute",
"name": "Update RRMPolicy for gNBCUCP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removeRRMPolicyMember-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"remove-gNBCUCP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1945.75,
- "y": 2563.75,
- "z": "da62f736.168268",
+ "x": 2109.638885498047,
+ "y": 2680.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "90150da1.697df",
- "dbce7c71.c3c3a"
+ "cb3f1f17.3f02d",
+ "57784c5e.7f9454"
]
]
},
{
- "id": "90150da1.697df",
+ "id": "cb3f1f17.3f02d",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2243.75,
- "y": 2513.75,
- "z": "da62f736.168268",
+ "x": 2407.638885498047,
+ "y": 2630.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "87555999.94c5c8"
+ "214aed7a.fa9512"
]
]
},
{
- "id": "dbce7c71.c3c3a",
+ "id": "57784c5e.7f9454",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2243.75,
- "y": 2623.749755859375,
- "z": "da62f736.168268",
+ "x": 2407.638885498047,
+ "y": 2740.4164180755615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "67c6fcad.1b3574"
+ "8a3d5438.473688"
]
]
},
{
- "id": "87555999.94c5c8",
+ "id": "214aed7a.fa9512",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2446.75,
- "y": 2510.75,
- "z": "da62f736.168268",
+ "x": 2610.638885498047,
+ "y": 2627.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "eea3df6d.b73c1",
- "df244507.9f78b8",
- "80ea1426.fb74e8"
+ "dade9961.641c08",
+ "4b0b3c7b.284154",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "df244507.9f78b8",
+ "id": "4b0b3c7b.284154",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2612.749755859375,
- "y": 2476.75,
- "z": "da62f736.168268",
+ "x": 2776.638641357422,
+ "y": 2593.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "eea3df6d.b73c1",
+ "id": "dade9961.641c08",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2617.7496337890625,
- "y": 2571.7500610351562,
- "z": "da62f736.168268",
+ "x": 2781.6385192871094,
+ "y": 2688.416723251343,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "67c6fcad.1b3574",
+ "id": "8a3d5438.473688",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2424.75,
- "y": 2617.75,
- "z": "da62f736.168268",
+ "x": 2588.638885498047,
+ "y": 2734.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5b69f3a4.bdbf9c"
+ "72c18a44.d21cf4"
]
]
},
{
- "id": "5b69f3a4.bdbf9c",
+ "id": "72c18a44.d21cf4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 2590.75,
- "y": 2618.75,
- "z": "da62f736.168268",
+ "x": 2754.638885498047,
+ "y": 2735.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e30d97bf.620048",
+ "id": "221fc1b6.a4a77e",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 537.75,
- "y": 1457.75,
- "z": "da62f736.168268",
+ "x": 701.6388854980469,
+ "y": 1574.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e740dcbe.62887",
- "a339374f.45c368",
- "2c0eccd1.c1fb94"
+ "34ae32c9.abf47e",
+ "4d4bc6b8.a73168",
+ "696f3821.ac7238"
]
]
},
{
- "id": "e740dcbe.62887",
+ "id": "34ae32c9.abf47e",
"type": "execute",
"name": "read CUUP list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 868.75,
- "y": 1467.75,
- "z": "da62f736.168268",
+ "x": 1032.6388854980469,
+ "y": 1584.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "a339374f.45c368",
+ "id": "4d4bc6b8.a73168",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 840.75,
- "y": 1532.75,
- "z": "da62f736.168268",
+ "x": 1004.6388854980469,
+ "y": 1649.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "2c0eccd1.c1fb94",
+ "id": "696f3821.ac7238",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 868.75,
- "y": 1607.75,
- "z": "da62f736.168268",
+ "x": 1032.6388854980469,
+ "y": 1724.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2c461d47.b6fc72"
+ "2089220a.3b13fe"
]
]
},
{
- "id": "2c461d47.b6fc72",
+ "id": "2089220a.3b13fe",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1089.75,
- "y": 1614.75,
- "z": "da62f736.168268",
+ "x": 1253.6388854980469,
+ "y": 1731.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "18305831.d8e2b8",
- "14036e41.d65ea2",
- "f20be07.17fc12",
- "3cfc8050.81beb"
+ "7ab19067.34abd",
+ "591e5606.f47478",
+ "55fe52ed.4d0c3c",
+ "84b0e711.1d1a48"
]
]
},
{
- "id": "18305831.d8e2b8",
+ "id": "7ab19067.34abd",
"type": "execute",
"name": "read CUUP id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1323.75,
- "y": 1448.75,
- "z": "da62f736.168268",
+ "x": 1487.6388854980469,
+ "y": 1565.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "14036e41.d65ea2",
+ "id": "591e5606.f47478",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1319.75,
- "y": 1502.75,
- "z": "da62f736.168268",
+ "x": 1483.6388854980469,
+ "y": 1619.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "f20be07.17fc12",
+ "id": "55fe52ed.4d0c3c",
"type": "execute",
"name": "read plmninfolist size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1370.75,
- "y": 1567.75,
- "z": "da62f736.168268",
+ "x": 1534.6388854980469,
+ "y": 1684.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "3cfc8050.81beb",
+ "id": "84b0e711.1d1a48",
"type": "for",
"name": "foreach pLMNInfo",
"xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
"comments": "",
"outputs": 1,
- "x": 1356.75,
- "y": 1622.75,
- "z": "da62f736.168268",
+ "x": 1520.6388854980469,
+ "y": 1739.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d2fce7e.daa3d18"
+ "3c027fdb.5d42c"
]
]
},
{
- "id": "d2fce7e.daa3d18",
+ "id": "3c027fdb.5d42c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1322.75,
- "y": 2698.75,
- "z": "da62f736.168268",
+ "x": 1486.6388854980469,
+ "y": 2815.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "26b37e42.cb62c2",
- "dcce991e.51fb68",
- "8565a8c1.f117b8",
- "3122b254.89dc0e",
- "47f50986.613b18",
- "cc4b3d1c.b7b28",
- "410f131a.e8d5cc",
- "d8d2f80.b434408",
- "3e6164e6.889c1c",
- "9f52b9d7.0cd2f8",
- "26cf8ac7.b0c7f6",
- "ecfda6cb.0dc9f8",
- "ff979e6b.4c16e",
- "45d93df6.d8a744",
- "5537eaa4.099b64",
- "3a0a4656.8f287a",
- "550fad5.d572654"
+ "5892741a.10faec",
+ "4127e412.d5a67c",
+ "30548ec4.6acdb2",
+ "2340eca5.443c94",
+ "133335da.d1bbaa",
+ "a0533e6a.89e61",
+ "9315bfdb.a2f6b",
+ "7bcfae2a.8d80b",
+ "1f2613d5.3c5b6c",
+ "9e05d876.aa5098",
+ "2d906f67.af8d2",
+ "5f217c6b.8aad94",
+ "59cd7c57.9edea4",
+ "2fca4cb4.2738c4",
+ "ce6d719c.49011",
+ "94dbe6eb.647a58",
+ "10895895.6f3bd7"
]
]
},
{
- "id": "1fdc0d32.1eff63",
+ "id": "1f89eb4f.56d5b5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1952.7501525878906,
- "y": 2898.7502393722534,
- "z": "da62f736.168268",
+ "x": 2116.6390380859375,
+ "y": 3015.41690158844,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "3d8b1b51.39d874"
+ "5c88e0fe.aa427"
]
]
},
{
- "id": "3d8b1b51.39d874",
+ "id": "5c88e0fe.aa427",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2129.750274658203,
- "y": 2887.750117301941,
- "z": "da62f736.168268",
+ "x": 2293.63916015625,
+ "y": 3004.4167795181274,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "559fa3a0.b9869c",
- "b8136934.d0c978",
- "80ea1426.fb74e8"
+ "370129e2.e5bde6",
+ "9a87f5b3.733728",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "b8136934.d0c978",
+ "id": "9a87f5b3.733728",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2394.750289916992,
- "y": 2857.750524520874,
- "z": "da62f736.168268",
+ "x": 2558.639175415039,
+ "y": 2974.4171867370605,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "559fa3a0.b9869c",
+ "id": "370129e2.e5bde6",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2388.750289916992,
- "y": 2898.750524520874,
- "z": "da62f736.168268",
+ "x": 2552.639175415039,
+ "y": 3015.4171867370605,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "a873648c.573e28",
+ "id": "838e485c.8df738",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - gNBCUUP PLMNInfo Entry\"/>",
"comments": "",
"outputs": 1,
- "x": 2279.749725341797,
- "y": 2970.7502393722534,
- "z": "da62f736.168268",
+ "x": 2443.6386108398438,
+ "y": 3087.41690158844,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "4dcb6361.01e9bc",
+ "id": "555b59c4.5368d8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2126.750030517578,
- "y": 2970.7499952316284,
- "z": "da62f736.168268",
+ "x": 2290.638916015625,
+ "y": 3087.416657447815,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a873648c.573e28"
+ "838e485c.8df738"
]
]
},
{
- "id": "f316122d.69b8",
+ "id": "5c354916.643298",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1946.7500305175781,
- "y": 2965.750178337097,
- "z": "da62f736.168268",
+ "x": 2110.638916015625,
+ "y": 3082.4168405532837,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "4dcb6361.01e9bc"
+ "555b59c4.5368d8"
]
]
},
{
- "id": "b4bbd615.193438",
+ "id": "99583120.d2f27",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2064.750015258789,
- "y": 2698.750400543213,
- "z": "da62f736.168268",
+ "x": 2228.638900756836,
+ "y": 2815.4170627593994,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f563292.e8546d8",
- "809d4e77.6150b"
+ "7af6a37f.bc7d0c",
+ "8bdc8ed1.58fdf"
]
]
},
{
- "id": "f563292.e8546d8",
+ "id": "7af6a37f.bc7d0c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2335.750015258789,
- "y": 2677.750099182129,
- "z": "da62f736.168268",
+ "x": 2499.638900756836,
+ "y": 2794.4167613983154,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "86d73812.b12f28"
+ "dffa165d.c08c68"
]
]
},
{
- "id": "809d4e77.6150b",
+ "id": "8bdc8ed1.58fdf",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2323.750015258789,
- "y": 2779.750343322754,
- "z": "da62f736.168268",
+ "x": 2487.638900756836,
+ "y": 2896.4170055389404,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f5886e6b.6deba"
+ "2649f371.df5dbc"
]
]
},
{
- "id": "86d73812.b12f28",
+ "id": "dffa165d.c08c68",
"type": "execute",
"name": "generate terminate PLMNInfoListEntry CUUP URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2655.750015258789,
- "y": 2692.750343322754,
- "z": "da62f736.168268",
+ "x": 2819.638900756836,
+ "y": 2809.4170055389404,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "26b37e42.cb62c2",
+ "id": "5892741a.10faec",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1654.749984741211,
- "y": 2721.7500343322754,
- "z": "da62f736.168268",
+ "x": 1818.6388702392578,
+ "y": 2838.416696548462,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "756aabaa.a810d4",
+ "id": "10bed330.9d26bd",
"type": "set",
"name": "RRMPolicyRatio id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />",
"comments": "",
- "x": 2512.5279083251953,
- "y": 2111.749927520752,
- "z": "da62f736.168268",
+ "x": 2676.416793823242,
+ "y": 2228.4165897369385,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "dcce991e.51fb68",
+ "id": "4127e412.d5a67c",
"type": "set",
"name": "Calculate RRMPolicyRatio",
"xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
"comments": "",
- "x": 1623.7502136230469,
- "y": 2968.750494003296,
- "z": "da62f736.168268",
+ "x": 1787.6390991210938,
+ "y": 3085.4171562194824,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "8565a8c1.f117b8",
+ "id": "30548ec4.6acdb2",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio-CUUP`\"/>",
"comments": "",
"outputs": 1,
- "x": 1569.7502059936523,
- "y": 3040.750497817993,
- "z": "da62f736.168268",
+ "x": 1733.6390914916992,
+ "y": 3157.4171600341797,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "3122b254.89dc0e",
+ "id": "2340eca5.443c94",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1580.75,
- "y": 3115.75,
- "z": "da62f736.168268",
+ "x": 1744.6388854980469,
+ "y": 3232.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "80de3869.b21368",
- "dd4e6136.8f68f"
+ "79b460d5.c662",
+ "7575da63.dd4fa4"
]
]
},
{
- "id": "80de3869.b21368",
+ "id": "79b460d5.c662",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1758.75,
- "y": 3082.749755859375,
- "z": "da62f736.168268",
+ "x": 1922.6388854980469,
+ "y": 3199.4164180755615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5ffeb69.0073248"
+ "86755db9.7d83f"
]
]
},
{
- "id": "5ffeb69.0073248",
+ "id": "86755db9.7d83f",
"type": "execute",
"name": "fetch RRMPolicyRatio CUUP - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2053.750030517578,
- "y": 3028.7500562667847,
- "z": "da62f736.168268",
+ "x": 2217.638916015625,
+ "y": 3145.416718482971,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "47f50986.613b18",
+ "id": "133335da.d1bbaa",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1617.7500839233398,
- "y": 3170.7500133514404,
- "z": "da62f736.168268",
+ "x": 1781.6389694213867,
+ "y": 3287.416675567627,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "cc4b3d1c.b7b28",
+ "id": "a0533e6a.89e61",
"type": "execute",
"name": "fetch RRMPolicyRatio - CUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-cuup-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1613.7502517700195,
- "y": 3227.7500143051147,
- "z": "da62f736.168268",
+ "x": 1777.6391372680664,
+ "y": 3344.4166765213013,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "38ac6d66.eb8bb2",
- "f36285fe.091f58"
+ "d29f14c4.2beeb8",
+ "3d6aa90a.1b02e6"
]
]
},
{
- "id": "38ac6d66.eb8bb2",
+ "id": "d29f14c4.2beeb8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1863.7500953674316,
- "y": 3217.750178337097,
- "z": "da62f736.168268",
+ "x": 2027.6389808654785,
+ "y": 3334.4168405532837,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b978449b.8564e8"
+ "8e9195f9.2c7a68"
]
]
},
{
- "id": "b978449b.8564e8",
+ "id": "8e9195f9.2c7a68",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2024.750244140625,
- "y": 3236.75,
- "z": "da62f736.168268",
+ "x": 2188.639129638672,
+ "y": 3353.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d8c014b9.fdde68",
- "3d535d79.d11522",
- "80ea1426.fb74e8"
+ "dbec3cb4.3579f",
+ "f755aa7.e876158",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "3d535d79.d11522",
+ "id": "f755aa7.e876158",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2190.75,
- "y": 3202.75,
- "z": "da62f736.168268",
+ "x": 2354.638885498047,
+ "y": 3319.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "d8c014b9.fdde68",
+ "id": "dbec3cb4.3579f",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in fetching RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2240.749801635742,
- "y": 3257.7499828338623,
- "z": "da62f736.168268",
+ "x": 2404.638687133789,
+ "y": 3374.416645050049,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "5fa9cd75.1642c4",
+ "id": "69a0577b.0915c8",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2238.7500762939453,
- "y": 3343.750470638275,
- "z": "da62f736.168268",
+ "x": 2402.638961791992,
+ "y": 3460.4171328544617,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "32e5c16b.e5d03e",
+ "id": "fa22ec90.e399d",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2219.7498626708984,
- "y": 3300.7502269744873,
- "z": "da62f736.168268",
+ "x": 2383.6387481689453,
+ "y": 3417.416889190674,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "3f7902a5.2af71e",
+ "id": "43e42fa1.89d73",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2022.7499542236328,
- "y": 3282.750409603119,
- "z": "da62f736.168268",
+ "x": 2186.6388397216797,
+ "y": 3399.4170718193054,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "32e5c16b.e5d03e",
- "5fa9cd75.1642c4"
+ "fa22ec90.e399d",
+ "69a0577b.0915c8"
]
]
},
{
- "id": "f36285fe.091f58",
+ "id": "3d6aa90a.1b02e6",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1864.7501678466797,
- "y": 3272.7502875328064,
- "z": "da62f736.168268",
+ "x": 2028.6390533447266,
+ "y": 3389.416949748993,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "3f7902a5.2af71e"
+ "43e42fa1.89d73"
]
]
},
{
- "id": "410f131a.e8d5cc",
+ "id": "9315bfdb.a2f6b",
"type": "execute",
"name": "read rrmpolicyratio list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_CUUP_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length '`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1601.7501068115234,
- "y": 3270.7499828338623,
- "z": "da62f736.168268",
+ "x": 1765.6389923095703,
+ "y": 3387.416645050049,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d8d2f80.b434408",
+ "id": "7bcfae2a.8d80b",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1539.7501983642578,
- "y": 3314.7500438690186,
- "z": "da62f736.168268",
+ "x": 1703.6390838623047,
+ "y": 3431.416706085205,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "3e6164e6.889c1c",
+ "id": "1f2613d5.3c5b6c",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1581.4166412353516,
- "y": 3365.0835399627686,
- "z": "da62f736.168268",
+ "x": 1745.3055267333984,
+ "y": 3481.750202178955,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "4d9b86f.66fa578"
+ "4ed20655.2841a8"
]
]
},
{
- "id": "4d9b86f.66fa578",
+ "id": "4ed20655.2841a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1780.4166793823242,
- "y": 3391.083480834961,
- "z": "da62f736.168268",
+ "x": 1944.305564880371,
+ "y": 3507.7501430511475,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "ce038fe2.e456",
- "519ec736.4a1068",
- "dd39b21f.bbf38",
- "8e54b571.b9af88",
- "5ca1f89e.93f5d8",
- "eda4c4e8.16ea58",
- "a13823ad.65203",
- "5f652628.9468d8"
+ "96d6c20a.f3dc3",
+ "35604442.22acbc",
+ "e0ad1a99.4afc98",
+ "c436bb12.fb3218",
+ "680e2356.45dadc",
+ "a2f2dac8.2bb8b8",
+ "a0d3e29.b99a22",
+ "7545b5bb.fec49c"
]
]
},
{
- "id": "4ab04fee.b55ac",
+ "id": "3c7beedb.e32b72",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2576.4165573120117,
- "y": 3625.083728790283,
- "z": "da62f736.168268",
+ "x": 2740.3054428100586,
+ "y": 3741.7503910064697,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "341834f5.774cfc"
+ "d35a8344.134aa"
]
]
},
{
- "id": "341834f5.774cfc",
+ "id": "d35a8344.134aa",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - CUUP RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 2770.4167098999023,
- "y": 3655.0835456848145,
- "z": "da62f736.168268",
+ "x": 2934.305595397949,
+ "y": 3771.750207901001,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "eb6b252b.9b57a8",
+ "id": "c3e90459.cc53b8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing CUUP RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2836.416528701782,
- "y": 3712.083423137665,
- "z": "da62f736.168268",
+ "x": 3000.305414199829,
+ "y": 3828.7500853538513,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "d2c89e1b.a4f7e",
+ "id": "fcc67fd8.ef1ad",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2851.416648864746,
- "y": 3760.083423137665,
- "z": "da62f736.168268",
+ "x": 3015.305534362793,
+ "y": 3876.7500853538513,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "175e405e.e470d",
+ "id": "8e1e0f62.d4b88",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2573.41707611084,
- "y": 3687.0833625793457,
- "z": "da62f736.168268",
+ "x": 2737.3059616088867,
+ "y": 3803.750024795532,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d2c89e1b.a4f7e",
- "eb6b252b.9b57a8"
+ "fcc67fd8.ef1ad",
+ "c3e90459.cc53b8"
]
]
},
{
- "id": "635ad14e.3580b",
+ "id": "2b3faeb4.a48ed2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2352.41658782959,
- "y": 3664.0833621025085,
- "z": "da62f736.168268",
+ "x": 2516.3054733276367,
+ "y": 3780.750024318695,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "175e405e.e470d"
+ "8e1e0f62.d4b88"
]
]
},
{
- "id": "9f52b9d7.0cd2f8",
+ "id": "9e05d876.aa5098",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1536.0834197998047,
- "y": 3823.4168615341187,
- "z": "da62f736.168268",
+ "x": 1699.9723052978516,
+ "y": 3940.083523750305,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "ac9e50a1.7fede",
- "ab5e7689.f41358",
- "3b93f05.3eb1b1",
- "9a1ff089.a405b"
+ "d25784cf.08f9d8",
+ "a79aaedd.650cb",
+ "7d8bd7ea.d3c8b8",
+ "bc9e3843.b4d938"
]
]
},
{
- "id": "ac9e50a1.7fede",
+ "id": "d25784cf.08f9d8",
"type": "execute",
"name": "Update gNBCUUP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updategNBCUUP.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1869.0833740234375,
- "y": 3824.416748046875,
- "z": "da62f736.168268",
+ "x": 2032.9722595214844,
+ "y": 3941.0834102630615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5d9840dd.4bc88",
- "8d0eecf8.83f93"
+ "3358e0fe.e1dbd",
+ "b415d4aa.816a48"
]
]
},
{
- "id": "5d9840dd.4bc88",
+ "id": "3358e0fe.e1dbd",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2156.0833740234375,
- "y": 3795.4169921875,
- "z": "da62f736.168268",
+ "x": 2319.9722595214844,
+ "y": 3912.0836544036865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "6c01dce1.f97fe4"
+ "8e8b459c.ef1818"
]
]
},
{
- "id": "8d0eecf8.83f93",
+ "id": "b415d4aa.816a48",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2105.0833740234375,
- "y": 3896.416748046875,
- "z": "da62f736.168268",
+ "x": 2268.9722595214844,
+ "y": 4013.0834102630615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "91bdfe82.c4b79"
+ "f4a060e7.e58e1"
]
]
},
{
- "id": "91bdfe82.c4b79",
+ "id": "f4a060e7.e58e1",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2227.0832443237305,
- "y": 3943.416739463806,
- "z": "da62f736.168268",
+ "x": 2390.9721298217773,
+ "y": 4060.0834016799927,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b718f495.923768"
+ "f31d2512.795d88"
]
]
},
{
- "id": "6c01dce1.f97fe4",
+ "id": "8e8b459c.ef1818",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2348.0833740234375,
- "y": 3911.416748046875,
- "z": "da62f736.168268",
+ "x": 2511.9722595214844,
+ "y": 4028.0834102630615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "bb2286c0.bc6398",
- "19e6162c.9ede7a",
- "80ea1426.fb74e8"
+ "5bb3484c.ee7918",
+ "ec6bbc89.9e9f6",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "b718f495.923768",
+ "id": "f31d2512.795d88",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 2367.0834884643555,
- "y": 3947.4168004989624,
- "z": "da62f736.168268",
+ "x": 2530.9723739624023,
+ "y": 4064.083462715149,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "bb2286c0.bc6398",
+ "id": "5bb3484c.ee7918",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2519.0830078125,
- "y": 3972.4168090820312,
- "z": "da62f736.168268",
+ "x": 2682.971893310547,
+ "y": 4089.083471298218,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "19e6162c.9ede7a",
+ "id": "ec6bbc89.9e9f6",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2514.0831756591797,
- "y": 3879.416736602783,
- "z": "da62f736.168268",
+ "x": 2677.9720611572266,
+ "y": 3996.0833988189697,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "5171c1e8.188f1",
+ "id": "76794f83.cd47d",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2557.0831756591797,
- "y": 4023.416736602783,
- "z": "da62f736.168268",
+ "x": 2720.9720611572266,
+ "y": 4140.08339881897,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "e3510d57.aaac7",
+ "id": "2fd9f56c.66bcea",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2562.083053588867,
- "y": 4118.416797637939,
- "z": "da62f736.168268",
+ "x": 2725.971939086914,
+ "y": 4235.083459854126,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "f269ec80.a0884",
+ "id": "8983cfa0.bd2f5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2391.0834197998047,
- "y": 4057.416736602783,
- "z": "da62f736.168268",
+ "x": 2554.9723052978516,
+ "y": 4174.08339881897,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e3510d57.aaac7",
- "5171c1e8.188f1",
- "80ea1426.fb74e8"
+ "2fd9f56c.66bcea",
+ "76794f83.cd47d",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "72f84ec8.0e571",
+ "id": "5dc273f7.d271ec",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - CUUP RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 2535.0834197998047,
- "y": 4165.416736602783,
- "z": "da62f736.168268",
+ "x": 2698.9723052978516,
+ "y": 4282.08339881897,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5a9ef1b4.c3885",
+ "id": "16ac4386.c47f7c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2369.0834197998047,
- "y": 4164.416736602783,
- "z": "da62f736.168268",
+ "x": 2532.9723052978516,
+ "y": 4281.08339881897,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "72f84ec8.0e571"
+ "5dc273f7.d271ec"
]
]
},
{
- "id": "5e2714ed.25585c",
+ "id": "710a2275.57653c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2188.0834197998047,
- "y": 4170.416492462158,
- "z": "da62f736.168268",
+ "x": 2351.9723052978516,
+ "y": 4287.083154678345,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5a9ef1b4.c3885"
+ "16ac4386.c47f7c"
]
]
},
{
- "id": "b1b6ad6a.6cde4",
+ "id": "b816bbbf.a9bc48",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2188.0834197998047,
- "y": 4060.416736602783,
- "z": "da62f736.168268",
+ "x": 2351.9723052978516,
+ "y": 4177.08339881897,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f269ec80.a0884"
+ "8983cfa0.bd2f5"
]
]
},
{
- "id": "ab5e7689.f41358",
+ "id": "a79aaedd.650cb",
"type": "execute",
"name": "Update RRMPolicy for gNBCUUP in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removeRRMPolicy-CUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-gNBCUUP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1887.583511352539,
- "y": 4094.1669845581055,
- "z": "da62f736.168268",
+ "x": 2051.472396850586,
+ "y": 4210.833646774292,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b1b6ad6a.6cde4",
- "5e2714ed.25585c"
+ "b816bbbf.a9bc48",
+ "710a2275.57653c"
]
]
},
{
- "id": "c27385b1.743288",
+ "id": "1faf1601.2669fa",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 900.5001754760742,
- "y": 4095.5007286071777,
- "z": "da62f736.168268",
+ "x": 1064.389060974121,
+ "y": 4212.167390823364,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d44b3b7a.f9ae88",
- "f2a985c9.2fb6c8",
- "20dcee0d.5baaf2"
+ "2ff42930.53a7a6",
+ "a21f2124.e5ed3",
+ "d0a914ba.b40bb8"
]
]
},
{
- "id": "d44b3b7a.f9ae88",
+ "id": "2ff42930.53a7a6",
"type": "execute",
"name": "read DUlist size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1229.5001754760742,
- "y": 4126.500728607178,
- "z": "da62f736.168268",
+ "x": 1393.389060974121,
+ "y": 4243.167390823364,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "f2a985c9.2fb6c8",
+ "id": "a21f2124.e5ed3",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1187.5001602172852,
- "y": 4187.500728607178,
- "z": "da62f736.168268",
+ "x": 1351.389045715332,
+ "y": 4304.167390823364,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "20dcee0d.5baaf2",
+ "id": "d0a914ba.b40bb8",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1199.5002059936523,
- "y": 4257.500728607178,
- "z": "da62f736.168268",
+ "x": 1363.3890914916992,
+ "y": 4374.167390823364,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "58ad1116.577ab"
+ "4558ce70.982c6"
]
]
},
{
- "id": "58ad1116.577ab",
+ "id": "4558ce70.982c6",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1480.5001754760742,
- "y": 4258.5006980896,
- "z": "da62f736.168268",
+ "x": 1644.389060974121,
+ "y": 4375.167360305786,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "1a7dbcc4.fe8223",
- "37b7f8eb.9730a8",
- "d16e57f9.769c18",
- "6fcc7512.bb863c"
+ "8ca51e33.1c76f",
+ "322ebbf8.73f024",
+ "7457cf96.44126",
+ "5d860438.a120dc"
]
]
},
{
- "id": "1a7dbcc4.fe8223",
+ "id": "8ca51e33.1c76f",
"type": "execute",
"name": "read DU id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1759.5,
- "y": 4254.5,
- "z": "da62f736.168268",
+ "x": 1923.3888854980469,
+ "y": 4371.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "37b7f8eb.9730a8",
+ "id": "322ebbf8.73f024",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1732.5,
- "y": 4305.5,
- "z": "da62f736.168268",
+ "x": 1896.3888854980469,
+ "y": 4422.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d16e57f9.769c18",
+ "id": "7457cf96.44126",
"type": "execute",
"name": "read cellDU list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1773.5,
- "y": 4354.5,
- "z": "da62f736.168268",
+ "x": 1937.3888854980469,
+ "y": 4471.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "6fcc7512.bb863c",
+ "id": "5d860438.a120dc",
"type": "for",
"name": "for cellDUList",
"xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1763.5,
- "y": 4398.5,
- "z": "da62f736.168268",
+ "x": 1927.3888854980469,
+ "y": 4515.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "20dcb9bd.e2a956",
- "4acc0f7.2614af"
+ "2bf11eaa.4763e2",
+ "172ed894.1d8ac7"
]
]
},
{
- "id": "72b1fbfe.4fa0d4",
+ "id": "4b99aec5.45498",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2790.25,
- "y": 4452.5,
- "z": "da62f736.168268",
+ "x": 2954.138885498047,
+ "y": 4569.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8f979011.b6e6b",
- "1b1d715f.a2381f",
- "f4a73761.2d9c48",
- "47f75bf6.11a604",
- "eb68c446.256e38",
- "5f2b45e8.09ecfc",
- "62ef4996.4a7668",
- "da885498.297d28",
- "5d56bd5.d8dea44",
- "6ecbc131.24be5",
- "ffa45991.9c2558",
- "4b70a51a.898acc"
+ "4445cd18.9600c4",
+ "872e480f.b465f8",
+ "f5d4c601.354688",
+ "11a0d679.90098a",
+ "f2dcbb4e.8038e8",
+ "726f7922.b45ba8",
+ "a10594b5.5c8fb8",
+ "b0e28d4e.4976b",
+ "b7827b8b.3a1708",
+ "8c35785a.ba3828",
+ "ef4ec23.31a6e4",
+ "f5f4e46a.0c8e38"
]
]
},
{
- "id": "da885498.297d28",
+ "id": "b0e28d4e.4976b",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2985.25,
- "y": 4447.5,
- "z": "da62f736.168268",
+ "x": 3149.138885498047,
+ "y": 4564.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "62ef4996.4a7668",
+ "id": "a10594b5.5c8fb8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3013.25,
- "y": 4515.5,
- "z": "da62f736.168268",
+ "x": 3177.138885498047,
+ "y": 4632.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "69e311a3.9ebdf",
- "b5f8b77e.33dce8"
+ "95d9cd08.e7de8",
+ "a61d5125.dc085"
]
]
},
{
- "id": "69e311a3.9ebdf",
+ "id": "95d9cd08.e7de8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3221.25,
- "y": 4480.499755859375,
- "z": "da62f736.168268",
+ "x": 3385.138885498047,
+ "y": 4597.1664180755615,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "32cc5bde.7c59e4"
+ "69b5d8b5.7904c8"
]
]
},
{
- "id": "b5f8b77e.33dce8",
+ "id": "a61d5125.dc085",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3216.2500495910645,
- "y": 4549.500324249268,
- "z": "da62f736.168268",
+ "x": 3380.1389350891113,
+ "y": 4666.166986465454,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f5bc4d2b.f7391"
+ "92f49b5d.cdaff8"
]
]
},
{
- "id": "32cc5bde.7c59e4",
+ "id": "69b5d8b5.7904c8",
"type": "execute",
"name": "generate terminate PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3541.25,
- "y": 4495.5,
- "z": "da62f736.168268",
+ "x": 3705.138885498047,
+ "y": 4612.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "8f979011.b6e6b",
+ "id": "4445cd18.9600c4",
"type": "execute",
"name": "read cellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 3010.2501525878906,
- "y": 4603.500244140625,
- "z": "da62f736.168268",
+ "x": 3174.1390380859375,
+ "y": 4720.1669063568115,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "47f75bf6.11a604",
+ "id": "11a0d679.90098a",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3065.250213623047,
- "y": 4668.500182151794,
- "z": "da62f736.168268",
+ "x": 3229.1390991210938,
+ "y": 4785.166844367981,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "eb68c446.256e38",
+ "id": "f2dcbb4e.8038e8",
"type": "execute",
"name": "prepare idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3038.2503967285156,
- "y": 4723.500184059143,
- "z": "da62f736.168268",
+ "x": 3202.1392822265625,
+ "y": 4840.16684627533,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5f2b45e8.09ecfc",
+ "id": "726f7922.b45ba8",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 3023.250198364258,
- "y": 4767.750683307648,
- "z": "da62f736.168268",
+ "x": 3187.1390838623047,
+ "y": 4884.417345523834,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "1b1d715f.a2381f",
+ "id": "872e480f.b465f8",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 3024.000442504883,
- "y": 4812.000257492065,
- "z": "da62f736.168268",
+ "x": 3187.8893280029297,
+ "y": 4928.666919708252,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "f4a73761.2d9c48",
+ "id": "f5d4c601.354688",
"type": "record",
"name": "record API params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field8\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3025.249969482422,
- "y": 4912.50061416626,
- "z": "da62f736.168268",
+ "x": 3189.1388549804688,
+ "y": 5029.167276382446,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5d56bd5.d8dea44",
+ "id": "b7827b8b.3a1708",
"type": "execute",
"name": "terminate PLMNInfoListEntry ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3082.25,
- "y": 4987.75,
- "z": "da62f736.168268",
+ "x": 3246.138885498047,
+ "y": 5104.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "de2f338a.d2994",
- "1ea231e0.81896e"
+ "f7556fcd.b1055",
+ "a60331c9.05575"
]
]
},
{
- "id": "1ea231e0.81896e",
+ "id": "a60331c9.05575",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3349.25,
- "y": 4887.75,
- "z": "da62f736.168268",
+ "x": 3513.138885498047,
+ "y": 5004.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "988fbcb0.6d2d6"
+ "885e3fb2.8834"
]
]
},
{
- "id": "de2f338a.d2994",
+ "id": "f7556fcd.b1055",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3348.25,
- "y": 4986.75,
- "z": "da62f736.168268",
+ "x": 3512.138885498047,
+ "y": 5103.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "67267243.a6959c"
+ "48a43a70.160724"
]
]
},
{
- "id": "988fbcb0.6d2d6",
+ "id": "885e3fb2.8834",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3507.250244140625,
- "y": 4835.75,
- "z": "da62f736.168268",
+ "x": 3671.139129638672,
+ "y": 4952.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "36c4ff38.15923",
- "c0468079.cd9c5",
- "80ea1426.fb74e8"
+ "e016f82d.0fc048",
+ "4100e640.65c688",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "67267243.a6959c",
+ "id": "48a43a70.160724",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3516.25,
- "y": 4983.750002622604,
- "z": "da62f736.168268",
+ "x": 3680.138885498047,
+ "y": 5100.416664838791,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "ca44f06c.103db"
+ "bec552fc.bfa94"
]
]
},
{
- "id": "ca44f06c.103db",
+ "id": "bec552fc.bfa94",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully deleted - cellDU PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 3662.2498779296875,
- "y": 4982.750244140625,
- "z": "da62f736.168268",
+ "x": 3826.1387634277344,
+ "y": 5099.4169063568115,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "36c4ff38.15923",
+ "id": "e016f82d.0fc048",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error deleting NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3678.2498779296875,
- "y": 4896.750061035156,
- "z": "da62f736.168268",
+ "x": 3842.1387634277344,
+ "y": 5013.416723251343,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "c0468079.cd9c5",
+ "id": "4100e640.65c688",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error deleting cellDU PLMNInfoList. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3673.25,
- "y": 4801.75,
- "z": "da62f736.168268",
+ "x": 3837.138885498047,
+ "y": 4918.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "6ecbc131.24be5",
+ "id": "8c35785a.ba3828",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2883.5,
- "y": 5260.75,
- "z": "da62f736.168268",
+ "x": 3047.388885498047,
+ "y": 5377.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8c1f5d.018670a",
- "d38412c4.b750b",
- "7ebb67d7.e11a28",
- "319beb3a.17f564",
- "85944896.465108",
- "d39913b1.553fb",
- "d494c905.5edd58",
- "d4e37be0.db9d78"
+ "12e635c0.94b48a",
+ "44ed566.8d86fa8",
+ "b4de1e89.82b6e",
+ "91d81242.ff2b8",
+ "315ed92f.8f67d6",
+ "78564a5d.1a40a4",
+ "b38ec85.557de38",
+ "9ff095d2.ab37b8"
]
]
},
{
- "id": "8c1f5d.018670a",
+ "id": "12e635c0.94b48a",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3105.5,
- "y": 5166.75,
- "z": "da62f736.168268",
+ "x": 3269.388885498047,
+ "y": 5283.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f751f532.34e6f8",
- "bfaa39dc.757718"
+ "428d1db9.79b144",
+ "4bd777f4.13f2a8"
]
]
},
{
- "id": "f751f532.34e6f8",
+ "id": "428d1db9.79b144",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3288.5002365112305,
- "y": 5104.7503299713135,
- "z": "da62f736.168268",
+ "x": 3452.3891220092773,
+ "y": 5221.4169921875,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "4690d563.53f8dc"
+ "f40b7948.cce758"
]
]
},
{
- "id": "4690d563.53f8dc",
+ "id": "f40b7948.cce758",
"type": "execute",
"name": "fetch RRMPolicyRatio NRCellDU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3588.5001068115234,
- "y": 5105.750452041626,
- "z": "da62f736.168268",
+ "x": 3752.3889923095703,
+ "y": 5222.4171142578125,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d38412c4.b750b",
+ "id": "44ed566.8d86fa8",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3140.5,
- "y": 5238.75,
- "z": "da62f736.168268",
+ "x": 3304.388885498047,
+ "y": 5355.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "7ebb67d7.e11a28",
+ "id": "b4de1e89.82b6e",
"type": "execute",
"name": "prepare idNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3105.5,
- "y": 5290.75,
- "z": "da62f736.168268",
+ "x": 3269.388885498047,
+ "y": 5407.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "319beb3a.17f564",
+ "id": "91d81242.ff2b8",
"type": "execute",
"name": "fetch RRMPolicyRatio - NRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-du-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 3140.5,
- "y": 5365.75,
- "z": "da62f736.168268",
+ "x": 3304.388885498047,
+ "y": 5482.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "33a3a8f9.d26368",
- "65e9c8d0.3d2a68"
+ "adf4c60.a7c5138",
+ "ef578ee8.b1e35"
]
]
},
{
- "id": "33a3a8f9.d26368",
+ "id": "adf4c60.a7c5138",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3387.5,
- "y": 5338.75,
- "z": "da62f736.168268",
+ "x": 3551.388885498047,
+ "y": 5455.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "ca92b939.e751a8"
+ "28d06dec.581572"
]
]
},
{
- "id": "65e9c8d0.3d2a68",
+ "id": "ef578ee8.b1e35",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3391.5,
- "y": 5417.75,
- "z": "da62f736.168268",
+ "x": 3555.388885498047,
+ "y": 5534.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "bc0581a1.c009b"
+ "23a1a2a3.4c62ee"
]
]
},
{
- "id": "ca92b939.e751a8",
+ "id": "28d06dec.581572",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3545.500244140625,
- "y": 5286.75,
- "z": "da62f736.168268",
+ "x": 3709.389129638672,
+ "y": 5403.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5e52674c.f49888",
- "32e9d73b.f2f8a8",
- "80ea1426.fb74e8"
+ "de4b3cb4.b5216",
+ "acd2a528.0b0078",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "32e9d73b.f2f8a8",
+ "id": "acd2a528.0b0078",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3711.5,
- "y": 5252.75,
- "z": "da62f736.168268",
+ "x": 3875.388885498047,
+ "y": 5369.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "5e52674c.f49888",
+ "id": "de4b3cb4.b5216",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3716.4998779296875,
- "y": 5347.750061035156,
- "z": "da62f736.168268",
+ "x": 3880.3887634277344,
+ "y": 5464.416723251343,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "bc0581a1.c009b",
+ "id": "23a1a2a3.4c62ee",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3536.750213623047,
- "y": 5352.500155448914,
- "z": "da62f736.168268",
+ "x": 3700.6390991210938,
+ "y": 5469.1668176651,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "41e8ef48.3d086",
- "8e9932e7.59ac9"
+ "c17f1a79.6a7608",
+ "6741f30b.d7331c"
]
]
},
{
- "id": "41e8ef48.3d086",
+ "id": "c17f1a79.6a7608",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 3703.000274658203,
- "y": 5392.500154495239,
- "z": "da62f736.168268",
+ "x": 3866.88916015625,
+ "y": 5509.166816711426,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "8e9932e7.59ac9",
+ "id": "6741f30b.d7331c",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 3705.5005226135254,
- "y": 5428.000034332275,
- "z": "da62f736.168268",
+ "x": 3869.3894081115723,
+ "y": 5544.666696548462,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "85944896.465108",
+ "id": "315ed92f.8f67d6",
"type": "execute",
"name": "read rrmpolicyratio list size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length '`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 3119.5,
- "y": 5419.75,
- "z": "da62f736.168268",
+ "x": 3283.388885498047,
+ "y": 5536.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d39913b1.553fb",
+ "id": "78564a5d.1a40a4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3059.5,
- "y": 5473.75,
- "z": "da62f736.168268",
+ "x": 3223.388885498047,
+ "y": 5590.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d494c905.5edd58",
+ "id": "b38ec85.557de38",
"type": "block",
"name": "rrmPolicyDedicatedRatio",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3664.5000381469727,
- "y": 5050.750089645386,
- "z": "da62f736.168268",
+ "x": 3828.3889236450195,
+ "y": 5167.416751861572,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f79d7ff8.a240b",
- "d3265604.69a8f8",
- "55db54a6.573fec",
- "5a2807b7.758d38",
- "1bfbc1d.981203e",
- "b6f94bdb.26c228",
- "96c4e243.6dd73",
- "5b8d9ef8.04c1",
- "4f528104.e7e38",
- "9cf9a3b.174fc6",
- "d8f7c33c.fcfed"
+ "634bf489.b3040c",
+ "159ece06.ffdd02",
+ "a88709b8.2aa6a8",
+ "498fe9d5.172a38",
+ "51c45b62.47d2c4",
+ "2582027c.6df7ee",
+ "754e9802.9ca7c8",
+ "666ba66d.e7bd28",
+ "a2c01564.2784e8",
+ "24ca79c1.9e86e6",
+ "325e0169.75ff7e"
]
]
},
{
- "id": "55db54a6.573fec",
+ "id": "a88709b8.2aa6a8",
"type": "set",
"name": "Calculate RRM Parms1",
"xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
"comments": "",
- "x": 4108.489807128906,
- "y": 4831.072752952576,
- "z": "da62f736.168268",
+ "x": 4272.378692626953,
+ "y": 4947.739415168762,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "5a2807b7.758d38",
+ "id": "498fe9d5.172a38",
"type": "set",
"name": "Calculate RRM Parms2",
"xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4117.031066894531,
- "y": 4876.092772424221,
- "z": "da62f736.168268",
+ "x": 4280.919952392578,
+ "y": 4992.759434640408,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "1bfbc1d.981203e",
+ "id": "51c45b62.47d2c4",
"type": "set",
"name": "Calculate RRM Parms3",
"xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
"comments": "",
- "x": 4107.031188964844,
- "y": 4931.0926503539085,
- "z": "da62f736.168268",
+ "x": 4270.920074462891,
+ "y": 5047.759312570095,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "b6f94bdb.26c228",
+ "id": "2582027c.6df7ee",
"type": "set",
"name": "Calculate RRM Parms4",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
"comments": "",
- "x": 4107.031066894531,
- "y": 4982.092650413513,
- "z": "da62f736.168268",
+ "x": 4270.919952392578,
+ "y": 5098.7593126297,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "96c4e243.6dd73",
+ "id": "754e9802.9ca7c8",
"type": "set",
"name": "Calculate RRM Parms5",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
"comments": "",
- "x": 4095.0311889648438,
- "y": 5042.092772424221,
- "z": "da62f736.168268",
+ "x": 4258.920074462891,
+ "y": 5158.759434640408,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "5b8d9ef8.04c1",
+ "id": "666ba66d.e7bd28",
"type": "set",
"name": "Calculate RRM Parms6",
"xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
"comments": "",
- "x": 4133.031066894531,
- "y": 5092.092772424221,
- "z": "da62f736.168268",
+ "x": 4296.919952392578,
+ "y": 5208.759434640408,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "4f528104.e7e38",
+ "id": "a2c01564.2784e8",
"type": "set",
"name": "Calculate RRM Parms7",
"xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
"comments": "",
- "x": 4120.031005859375,
- "y": 5162.093138694763,
- "z": "da62f736.168268",
+ "x": 4283.919891357422,
+ "y": 5278.75980091095,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "9cf9a3b.174fc6",
+ "id": "24ca79c1.9e86e6",
"type": "set",
"name": "calculation8",
"xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
"comments": "",
- "x": 4091.031005859375,
- "y": 5226.092162132263,
- "z": "da62f736.168268",
+ "x": 4254.919891357422,
+ "y": 5342.75882434845,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "d8f7c33c.fcfed",
+ "id": "325e0169.75ff7e",
"type": "set",
"name": "calculation9",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
"comments": "",
- "x": 4079.0315551757812,
- "y": 5277.092040061951,
- "z": "da62f736.168268",
+ "x": 4242.920440673828,
+ "y": 5393.758702278137,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "d3265604.69a8f8",
+ "id": "159ece06.ffdd02",
"type": "set",
"name": "calculation10",
"xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
"comments": "",
- "x": 4054.4898681640625,
- "y": 5343.072508811951,
- "z": "da62f736.168268",
+ "x": 4218.378753662109,
+ "y": 5459.739171028137,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "f79d7ff8.a240b",
+ "id": "634bf489.b3040c",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"tmp.nearRTRIC.trafficCapacity1 \"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.trafficCapacity1`\"/>\n<parameter name=\"field5\" value=\"tmp.nearRTRIC.trafficCapacity \"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.trafficCapacity`\"/>\n<parameter name=\"field7\" value=\"tmp.nearRTRIC.trafficCapacityBPS\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.trafficCapacityBPS`\"/>\n<parameter name=\"field9\" value=\"tmp.nrcelldu.totalPRBForSNSSAI \"/>\n<parameter name=\"field10\" value=\"`$tmp.nrcelldu.totalPRBForSNSSAI`\"/>\n<parameter name=\"field11\" value=\"tmp.nrcelldu.PRBPerImpactedCell \"/>\n<parameter name=\"field12\" value=\"`$tmp.nrcelldu.PRBPerImpactedCell`\"/>\n<parameter name=\"field13\" value=\"tmp.rRMPolicyDedicatedRatio.CellDU1 \"/>\n<parameter name=\"field14\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU1`\"/>",
"comments": "",
"outputs": 1,
- "x": 3880.4997940063477,
- "y": 5355.193815231323,
- "z": "da62f736.168268",
+ "x": 4044.3886795043945,
+ "y": 5471.86047744751,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d4e37be0.db9d78",
+ "id": "9ff095d2.ab37b8",
"type": "for",
"name": "for each rrmpolicyratio",
"xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 3100.75,
- "y": 5544.75,
- "z": "da62f736.168268",
+ "x": 3264.638885498047,
+ "y": 5661.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a71eb109.1a2a8"
+ "20d39fe.6a4076"
]
]
},
{
- "id": "a71eb109.1a2a8",
+ "id": "20d39fe.6a4076",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3321.75,
- "y": 5564.75,
- "z": "da62f736.168268",
+ "x": 3485.638885498047,
+ "y": 5681.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f7c7de35.f6dd",
- "478d81fe.50e29",
- "e85c75c9.5a5208",
- "734b37a6.ac7cf8",
- "3c1e8267.b4f8fe",
- "2fdf003a.ff7bd",
- "ee315155.36298",
- "778a736d.50fb1c"
+ "39858349.b73dac",
+ "ab6c8152.d016f",
+ "a3778dfc.3c17b",
+ "1dbf0a7e.210a96",
+ "5daf7f84.24d9d",
+ "f64e2531.bfe9d8",
+ "bb5ea2d5.54a8",
+ "2c3ebac3.2ff846"
]
]
},
{
- "id": "f7c7de35.f6dd",
+ "id": "39858349.b73dac",
"type": "set",
"name": "RRMPolicyRatio id",
"xml": "<set>\n<parameter name='tmp.cellDURRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />",
"comments": "",
- "x": 3598.7501525878906,
- "y": 5468.250279426575,
- "z": "da62f736.168268",
+ "x": 3762.6390380859375,
+ "y": 5584.916941642761,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "78448d12.dce7b4",
+ "id": "e7e90fb8.db687",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3915.750160217285,
- "y": 5767.000280380249,
- "z": "da62f736.168268",
+ "x": 4079.639045715332,
+ "y": 5883.666942596436,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9d9a69ac.9255f8"
+ "825d74b8.e0d108"
]
]
},
{
- "id": "9d9a69ac.9255f8",
+ "id": "825d74b8.e0d108",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4108.000228881836,
- "y": 5780.750280380249,
- "z": "da62f736.168268",
+ "x": 4271.889114379883,
+ "y": 5897.416942596436,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a8a9b00f.39d7"
+ "511b666a.0d43b8"
]
]
},
{
- "id": "a8a9b00f.39d7",
+ "id": "511b666a.0d43b8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully removed - cellDU RRMpolicyRatio\"/>",
"comments": "",
"outputs": 1,
- "x": 4305.500595092773,
- "y": 5771.75004196167,
- "z": "da62f736.168268",
+ "x": 4469.38948059082,
+ "y": 5888.416704177856,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "dd7413d3.b5b8",
+ "id": "a478b6ee.d92258",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing cellDU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4373.75,
- "y": 5799.749771118164,
- "z": "da62f736.168268",
+ "x": 4537.638885498047,
+ "y": 5916.416433334351,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "7c47cc13.b86254",
+ "id": "64d7d924.040e98",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 4378.7498779296875,
- "y": 5894.74983215332,
- "z": "da62f736.168268",
+ "x": 4542.638763427734,
+ "y": 6011.416494369507,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "8017e442.c8be18",
+ "id": "bdfeaafa.e54c48",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4133.750244140625,
- "y": 5848.749771118164,
- "z": "da62f736.168268",
+ "x": 4297.639129638672,
+ "y": 5965.416433334351,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "7c47cc13.b86254",
- "dd7413d3.b5b8",
- "80ea1426.fb74e8"
+ "64d7d924.040e98",
+ "a478b6ee.d92258",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "b77e4296.a4ab5",
+ "id": "a22a04f6.640d18",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3914.75,
- "y": 5843.749771118164,
- "z": "da62f736.168268",
+ "x": 4078.638885498047,
+ "y": 5960.416433334351,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8017e442.c8be18"
+ "bdfeaafa.e54c48"
]
]
},
{
- "id": "ffa45991.9c2558",
+ "id": "ef4ec23.31a6e4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2836.2500915527344,
- "y": 5848.75009727478,
- "z": "da62f736.168268",
+ "x": 3000.1389770507812,
+ "y": 5965.416759490967,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d4b0d139.012c",
- "1321a256.82504e",
- "59b4ea74.9d06d4",
- "6b7c5e5f.28631"
+ "1a309b6e.c21b05",
+ "70d76cd.3265c94",
+ "490de212.f261fc",
+ "2798ec67.4d5e74"
]
]
},
{
- "id": "d4b0d139.012c",
+ "id": "1a309b6e.c21b05",
"type": "execute",
"name": "Update cellDU for gNBDU in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removegNBDU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-gNBDU-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 3221.7505073547363,
- "y": 5950.500043869019,
- "z": "da62f736.168268",
+ "x": 3385.639392852783,
+ "y": 6067.166706085205,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2eaf880c.477aa8",
- "2a7ba3a1.9e937c"
+ "4ee14cb4.fb81e4",
+ "31e628cb.3dc4a8"
]
]
},
{
- "id": "2eaf880c.477aa8",
+ "id": "4ee14cb4.fb81e4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3555.000087738037,
- "y": 5931.501020431519,
- "z": "da62f736.168268",
+ "x": 3718.888973236084,
+ "y": 6048.167682647705,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "1ae15191.d7ec1e"
+ "e1bf2b3d.d3b538"
]
]
},
{
- "id": "2a7ba3a1.9e937c",
+ "id": "31e628cb.3dc4a8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3486.500270843506,
- "y": 6018.750165939331,
- "z": "da62f736.168268",
+ "x": 3650.3891563415527,
+ "y": 6135.416828155518,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f8e3fdf8.76c46"
+ "4e838663.bb3798"
]
]
},
{
- "id": "f8e3fdf8.76c46",
+ "id": "4e838663.bb3798",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3621.249984741211,
- "y": 6009.750061035156,
- "z": "da62f736.168268",
+ "x": 3785.138870239258,
+ "y": 6126.416723251343,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "fafaca02.b0f628"
+ "fa9fe57c.0337a8"
]
]
},
{
- "id": "1ae15191.d7ec1e",
+ "id": "e1bf2b3d.d3b538",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3778.25,
- "y": 5943.75,
- "z": "da62f736.168268",
+ "x": 3942.138885498047,
+ "y": 6060.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "de84c38a.81b01",
- "e14e1e06.b838b",
- "80ea1426.fb74e8"
+ "ec043b60.9fe7e8",
+ "a6de0614.1f1bc8",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "e14e1e06.b838b",
+ "id": "a6de0614.1f1bc8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3944.249801635742,
- "y": 5911.749988555908,
- "z": "da62f736.168268",
+ "x": 4108.138687133789,
+ "y": 6028.416650772095,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "fafaca02.b0f628",
+ "id": "fa9fe57c.0337a8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
"comments": "",
"outputs": 1,
- "x": 3785.25,
- "y": 6015.75,
- "z": "da62f736.168268",
+ "x": 3949.138885498047,
+ "y": 6132.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "de84c38a.81b01",
+ "id": "ec043b60.9fe7e8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3949.2496337890625,
- "y": 6004.750061035156,
- "z": "da62f736.168268",
+ "x": 4113.138519287109,
+ "y": 6121.416723251343,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "d8c801f9.936cf",
+ "id": "48ca54bd.5a394c",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3987.249801635742,
- "y": 6055.749988555908,
- "z": "da62f736.168268",
+ "x": 4151.138687133789,
+ "y": 6172.416650772095,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "ca66d998.89cb18",
+ "id": "f8f5aab8.7e3878",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3992.2496795654297,
- "y": 6150.750049591064,
- "z": "da62f736.168268",
+ "x": 4156.138565063477,
+ "y": 6267.416711807251,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "d169c987.bcc738",
+ "id": "ce49ccfd.1e8be",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3821.250045776367,
- "y": 6089.749988555908,
- "z": "da62f736.168268",
+ "x": 3985.138931274414,
+ "y": 6206.416650772095,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "ca66d998.89cb18",
- "d8c801f9.936cf",
- "80ea1426.fb74e8"
+ "f8f5aab8.7e3878",
+ "48ca54bd.5a394c",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "e882cfe7.3321c",
+ "id": "af583334.1944",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3618.250045776367,
- "y": 6092.749988555908,
- "z": "da62f736.168268",
+ "x": 3782.138931274414,
+ "y": 6209.416650772095,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d169c987.bcc738"
+ "ce49ccfd.1e8be"
]
]
},
{
- "id": "1321a256.82504e",
+ "id": "70d76cd.3265c94",
"type": "execute",
"name": "Update RRMPolicy for gNBDU in ConfigDB",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-removeRRMPolicy-DU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"delete-gNBDU-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 3189.0001525878906,
- "y": 6177.750418186188,
- "z": "da62f736.168268",
+ "x": 3352.8890380859375,
+ "y": 6294.417080402374,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e882cfe7.3321c",
- "4c10d770.1b7d38"
+ "af583334.1944",
+ "64e93d9a.136f54"
]
]
},
{
- "id": "4c10d770.1b7d38",
+ "id": "64e93d9a.136f54",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3618.250045776367,
- "y": 6202.749744415283,
- "z": "da62f736.168268",
+ "x": 3782.138931274414,
+ "y": 6319.41640663147,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a31a93f8.b478"
+ "db60e771.2ddaa8"
]
]
},
{
- "id": "a31a93f8.b478",
+ "id": "db60e771.2ddaa8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3799.250045776367,
- "y": 6196.749988555908,
- "z": "da62f736.168268",
+ "x": 3963.138931274414,
+ "y": 6313.416650772095,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "30cee1c0.58d61e"
+ "c990aeec.68c73"
]
]
},
{
- "id": "30cee1c0.58d61e",
+ "id": "c990aeec.68c73",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellDU RRMPolicyRatio \"/>",
"comments": "",
"outputs": 1,
- "x": 3965.250045776367,
- "y": 6197.749988555908,
- "z": "da62f736.168268",
+ "x": 4129.138931274414,
+ "y": 6314.416650772095,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "80ea1426.fb74e8",
+ "id": "64e216ec.bfca58",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4458.234375,
- "y": 2748.7500026226044,
- "z": "da62f736.168268",
+ "x": 4622.123260498047,
+ "y": 2865.416664838791,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d5cfb8cc.005b08",
- "cc239932.401b58",
- "800fdb34.47dc38"
+ "7e38f9a7.15f508",
+ "bab3223.d7f4fe",
+ "928303ce.8f62"
]
]
},
{
- "id": "d5cfb8cc.005b08",
+ "id": "7e38f9a7.15f508",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$terminateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$terminateRANSlice-input.action`\"/>\n",
"comments": "",
- "x": 5120.2353515625,
- "y": 2540.6496608257294,
- "z": "da62f736.168268",
+ "x": 5284.124237060547,
+ "y": 2657.316323041916,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "cc239932.401b58",
+ "id": "bab3223.d7f4fe",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
"comments": "",
"outputs": 1,
- "x": 5095.234237670898,
- "y": 2637.7503383159637,
- "z": "da62f736.168268",
+ "x": 5259.123123168945,
+ "y": 2754.4170005321503,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "800fdb34.47dc38",
+ "id": "928303ce.8f62",
"type": "execute",
"name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-modify-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 5010.23424911499,
- "y": 2734.7502162456512,
- "z": "da62f736.168268",
+ "x": 5174.123134613037,
+ "y": 2851.4168784618378,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a0207bd8.781f58",
- "862de34c.7e795"
+ "cd9528a9.ad16b8",
+ "e7a3b171.83c7a"
]
]
},
{
- "id": "a0207bd8.781f58",
+ "id": "cd9528a9.ad16b8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 5236.234257698059,
- "y": 2711.750185251236,
- "z": "da62f736.168268",
+ "x": 5400.123143196106,
+ "y": 2828.4168474674225,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "3e04c446.bef78c"
+ "f8e2ec4a.dfccb"
]
]
},
{
- "id": "862de34c.7e795",
+ "id": "e7a3b171.83c7a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 5226.234111785889,
- "y": 2819.750124692917,
- "z": "da62f736.168268",
+ "x": 5390.122997283936,
+ "y": 2936.4167869091034,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9ad7577a.1ae238"
+ "3a2d6420.fda44c"
]
]
},
{
- "id": "9ad7577a.1ae238",
+ "id": "3a2d6420.fda44c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5376.233898162842,
- "y": 2838.750185728073,
- "z": "da62f736.168268",
+ "x": 5540.122783660889,
+ "y": 2955.4168479442596,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "af6c61d2.e5e9e"
+ "fbfe90f9.d6f22"
]
]
},
{
- "id": "3e04c446.bef78c",
+ "id": "f8e2ec4a.dfccb",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 5387.234127044678,
- "y": 2706.7503073215485,
- "z": "da62f736.168268",
+ "x": 5551.123012542725,
+ "y": 2823.416969537735,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "78222dba.6bb794"
+ "7ff5477a.f56748"
]
]
},
{
- "id": "78222dba.6bb794",
+ "id": "7ff5477a.f56748",
"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": 5553.233806610107,
- "y": 2709.750124692917,
- "z": "da62f736.168268",
+ "x": 5717.122692108154,
+ "y": 2826.4167869091034,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "af6c61d2.e5e9e",
+ "id": "fbfe90f9.d6f22",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 5540.233913421631,
- "y": 2844.750124692917,
- "z": "da62f736.168268",
+ "x": 5704.122798919678,
+ "y": 2961.4167869091034,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "2e6295f3.2b018a",
+ "id": "4f957f97.ee3ed",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 540.234375,
- "y": 4430.750002622604,
- "z": "da62f736.168268",
+ "x": 704.1232604980469,
+ "y": 4547.416664838791,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "23072140.00f5de",
- "65b2eda9.1d4d94",
- "92f41428.624cf8",
- "3c620604.a4247a"
+ "25656d42.c8b032",
+ "22d1099c.43c226",
+ "ca075afd.0fd808",
+ "3fe55660.cbf3ea"
]
]
},
{
- "id": "92f41428.624cf8",
+ "id": "ca075afd.0fd808",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
"comments": "",
- "x": 820.2355194091797,
- "y": 4280.649487257004,
- "z": "da62f736.168268",
+ "x": 984.1244049072266,
+ "y": 4397.31614947319,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "23072140.00f5de",
+ "id": "25656d42.c8b032",
"type": "record",
"name": "record SO reply parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
"comments": "",
"outputs": 1,
- "x": 817.2343521118164,
- "y": 4434.750185728073,
- "z": "da62f736.168268",
+ "x": 981.1232376098633,
+ "y": 4551.41684794426,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "65b2eda9.1d4d94",
+ "id": "22d1099c.43c226",
"type": "execute",
"name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 686.2344512939453,
- "y": 4551.749890089035,
- "z": "da62f736.168268",
+ "x": 850.1233367919922,
+ "y": 4668.416552305222,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "936a79ac.2bc278",
- "a4da64a4.603d68"
+ "bc258777.679b68",
+ "e00f36fe.17df48"
]
]
},
{
- "id": "936a79ac.2bc278",
+ "id": "bc258777.679b68",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 851.2344512939453,
- "y": 4531.749889135361,
- "z": "da62f736.168268",
+ "x": 1015.1233367919922,
+ "y": 4648.416551351547,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "86dab673.02efc8"
+ "cff1dd31.41661"
]
]
},
{
- "id": "a4da64a4.603d68",
+ "id": "e00f36fe.17df48",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 843.2343444824219,
- "y": 4604.749839544296,
- "z": "da62f736.168268",
+ "x": 1007.1232299804688,
+ "y": 4721.416501760483,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "1b44685a.cd98d8"
+ "8ec407a6.4e6bf8"
]
]
},
{
- "id": "1b44685a.cd98d8",
+ "id": "8ec407a6.4e6bf8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 989.234188079834,
- "y": 4609.749948263168,
- "z": "da62f736.168268",
+ "x": 1153.1230735778809,
+ "y": 4726.416610479355,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "77500c56.740084"
+ "53cd4c85.4aa104"
]
]
},
{
- "id": "86dab673.02efc8",
+ "id": "cff1dd31.41661",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1000.2343521118164,
- "y": 4527.750024557114,
- "z": "da62f736.168268",
+ "x": 1164.1232376098633,
+ "y": 4644.4166867733,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "db7f3c8d.e7d95",
- "4ac257ce.8f9fd8"
+ "de73ae6a.42914",
+ "5c2df1a3.ca7d1"
]
]
},
{
- "id": "db7f3c8d.e7d95",
+ "id": "de73ae6a.42914",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
"comments": "",
- "x": 1147.2339706420898,
- "y": 4538.749766111374,
- "z": "da62f736.168268",
+ "x": 1311.1228561401367,
+ "y": 4655.41642832756,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "77500c56.740084",
+ "id": "53cd4c85.4aa104",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 1150.2341079711914,
- "y": 4615.749840497971,
- "z": "da62f736.168268",
+ "x": 1314.1229934692383,
+ "y": 4732.416502714157,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "4ac257ce.8f9fd8",
+ "id": "5c2df1a3.ca7d1",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1134.7445793151855,
- "y": 4442.739257574081,
- "z": "da62f736.168268",
+ "x": 1298.6334648132324,
+ "y": 4559.405919790268,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "3c620604.a4247a",
+ "id": "3fe55660.cbf3ea",
"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": 839.573974609375,
- "y": 4370.73533987999,
- "z": "da62f736.168268",
+ "x": 1003.4628601074219,
+ "y": 4487.402002096176,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "531b3c4c.239274",
+ "id": "910f0fe5.fe248",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2241.75,
- "y": 1745.75,
- "z": "da62f736.168268",
+ "x": 2405.638885498047,
+ "y": 1862.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8c76c7c6.931d78"
+ "14202f76.802311"
]
]
},
{
- "id": "8c76c7c6.931d78",
+ "id": "14202f76.802311",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2434.739658355713,
- "y": 1745.7501220703125,
- "z": "da62f736.168268",
+ "x": 2598.6285438537598,
+ "y": 1862.416784286499,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "c6d79633.ad2cb8",
- "e9a26b46.1c9d38"
+ "114a5f29.b92ff1",
+ "42d91e90.23ffa"
]
]
},
{
- "id": "c6d79633.ad2cb8",
+ "id": "114a5f29.b92ff1",
"type": "execute",
"name": "generate fetchRRMPolicyRatio.ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2741.739845275879,
- "y": 1712.75022315979,
- "z": "da62f736.168268",
+ "x": 2905.628730773926,
+ "y": 1829.4168853759766,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e9a26b46.1c9d38",
+ "id": "42d91e90.23ffa",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 2685.740245819092,
- "y": 1765.7504167556763,
- "z": "da62f736.168268",
+ "x": 2849.6291313171387,
+ "y": 1882.4170789718628,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "a0cd471f.d08e88",
+ "id": "f574854d.da65d8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2669.25,
- "y": 1129.75,
- "z": "da62f736.168268",
+ "x": 2833.138885498047,
+ "y": 1246.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "6a92e4ac.3bac4c",
- "9f8ca3ae.27ca3"
+ "f009c4f0.43b2a8",
+ "7d64db96.14d294"
]
]
},
{
- "id": "9f8ca3ae.27ca3",
+ "id": "7d64db96.14d294",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 2920.250431060791,
- "y": 1152.75013256073,
- "z": "da62f736.168268",
+ "x": 3084.139316558838,
+ "y": 1269.4167947769165,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "6a92e4ac.3bac4c",
+ "id": "f009c4f0.43b2a8",
"type": "execute",
"name": "generate TERMINATEPLMNInfoList.ToNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2976.250030517578,
- "y": 1099.7499389648438,
- "z": "da62f736.168268",
+ "x": 3140.138916015625,
+ "y": 1216.4166011810303,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "77ae3105.e86af",
+ "id": "15d65f32.603751",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 2746.750015258789,
- "y": 2794.750343322754,
- "z": "da62f736.168268",
+ "x": 2910.638900756836,
+ "y": 2911.4170055389404,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "b7978555.9f2568",
+ "id": "8b1d30dd.fa96b",
"type": "execute",
"name": "generate terminatePLMNInfoList.TogNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2820.749725341797,
- "y": 2743.7500972747803,
- "z": "da62f736.168268",
+ "x": 2984.6386108398438,
+ "y": 2860.416759490967,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "f5886e6b.6deba",
+ "id": "2649f371.df5dbc",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2500.7496795654297,
- "y": 2781.7500886917114,
- "z": "da62f736.168268",
+ "x": 2664.6385650634766,
+ "y": 2898.416750907898,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b7978555.9f2568",
- "77ae3105.e86af"
+ "8b1d30dd.fa96b",
+ "15d65f32.603751"
]
]
},
{
- "id": "d8c60a0.19c8bf8",
+ "id": "e085629b.c369c",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1988.75,
- "y": 3126.75,
- "z": "da62f736.168268",
+ "x": 2152.638885498047,
+ "y": 3243.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "64569339.416cfc",
- "222e8a98.c66cf6"
+ "ded9797.34dca88",
+ "49310d49.69ecd4"
]
]
},
{
- "id": "64569339.416cfc",
+ "id": "ded9797.34dca88",
"type": "execute",
"name": "fetch RRMPolicyRatio.TogNBCUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2290.7499351501465,
- "y": 3086.7500610351562,
- "z": "da62f736.168268",
+ "x": 2454.6388206481934,
+ "y": 3203.416723251343,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "222e8a98.c66cf6",
+ "id": "49310d49.69ecd4",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 2234.7503356933594,
- "y": 3139.7502546310425,
- "z": "da62f736.168268",
+ "x": 2398.6392211914062,
+ "y": 3256.416916847229,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "dd4e6136.8f68f",
+ "id": "7575da63.dd4fa4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1761.25,
- "y": 3135.75,
- "z": "da62f736.168268",
+ "x": 1925.1388854980469,
+ "y": 3252.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d8c60a0.19c8bf8"
+ "e085629b.c369c"
]
]
},
{
- "id": "f5bc4d2b.f7391",
+ "id": "92f49b5d.cdaff8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3411.25,
- "y": 4564.75,
- "z": "da62f736.168268",
+ "x": 3575.138885498047,
+ "y": 4681.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a516311b.ffaaf",
- "3559c18d.38700e"
+ "399ca7bd.018e18",
+ "8be46c41.8c25c"
]
]
},
{
- "id": "a516311b.ffaaf",
+ "id": "399ca7bd.018e18",
"type": "execute",
"name": "generate patchPLMNInfoList.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.terminateSNSSAIEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3718.250030517578,
- "y": 4534.749938964844,
- "z": "da62f736.168268",
+ "x": 3882.138916015625,
+ "y": 4651.41660118103,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "3559c18d.38700e",
+ "id": "8be46c41.8c25c",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3662.250431060791,
- "y": 4587.75013256073,
- "z": "da62f736.168268",
+ "x": 3826.139316558838,
+ "y": 4704.4167947769165,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "bfaa39dc.757718",
+ "id": "4bd777f4.13f2a8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3308,
- "y": 5187.75,
- "z": "da62f736.168268",
+ "x": 3471.888885498047,
+ "y": 5304.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "7b3e4fe4.20a77"
+ "47171b0f.01aa44"
]
]
},
{
- "id": "7b3e4fe4.20a77",
+ "id": "47171b0f.01aa44",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3475.000232696533,
- "y": 5185.9995975494385,
- "z": "da62f736.168268",
+ "x": 3638.88911819458,
+ "y": 5302.666259765625,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "47dde507.4c04ec",
- "4eb86ae5.690454"
+ "b563af73.92284",
+ "52090741.a98b48"
]
]
},
{
- "id": "47dde507.4c04ec",
+ "id": "b563af73.92284",
"type": "execute",
"name": "generate getRRMPolicyRatio.ToNRCellDU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3722.0000495910645,
- "y": 5152.9995975494385,
- "z": "da62f736.168268",
+ "x": 3885.8889350891113,
+ "y": 5269.666259765625,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "4eb86ae5.690454",
+ "id": "52090741.a98b48",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3665.0005378723145,
- "y": 5213.999963760376,
- "z": "da62f736.168268",
+ "x": 3828.8894233703613,
+ "y": 5330.6666259765625,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "4a14d590.3663ec",
+ "id": "fa8b103b.c90c4",
"type": "comment",
"name": "terminateRANSliceInstance/instantiateRANSliceModifyDeallocate",
"info": "",
"comments": "",
- "x": 764.0000286102295,
- "y": 20,
- "z": "da62f736.168268",
+ "x": 927.8889141082764,
+ "y": 136.66666221618652,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "d74945f1.537f58",
+ "id": "7fa621ae.c91f3",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$terminate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$terminate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$terminate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$terminate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$terminate-r-a-n-slice-input.payload`\"/>",
"comments": "",
"outputs": 1,
- "x": 594.2499923706055,
- "y": 122.24998426437378,
- "z": "da62f736.168268",
+ "x": 758.1388778686523,
+ "y": 238.9166464805603,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "1a07170f.9b8cb9",
+ "id": "b7f191d.9954e7",
"type": "set",
"name": "set default status value",
"xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of terminateRANSice RPC' />",
"comments": "",
- "x": 643.2497482299805,
- "y": 170.25000143051147,
- "z": "da62f736.168268",
+ "x": 807.1386337280273,
+ "y": 286.916663646698,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "8d1aec81.1c96c",
+ "id": "485b1e79.bbde2",
"type": "execute",
"name": "execute jsonStringToCtx",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='terminate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
"comments": "",
"outputs": 1,
- "x": 643.2497482299805,
- "y": 211.24995183944702,
- "z": "da62f736.168268",
+ "x": 807.1386337280273,
+ "y": 327.91661405563354,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5594448d.f5e4ec"
+ "3d0c87b9.c409a8"
]
]
},
{
- "id": "a440f467.164788",
+ "id": "30294ae6.eaaeb6",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 605.2497253417969,
- "y": 255.23954343795776,
- "z": "da62f736.168268",
+ "x": 769.1386108398438,
+ "y": 371.9062056541443,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "535f16f4.b6d608",
+ "id": "941bdbd9.3f4b08",
"type": "execute",
"name": "execute Properties",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 625.2497100830078,
- "y": 296.2499089241028,
- "z": "da62f736.168268",
+ "x": 789.1385955810547,
+ "y": 412.9165711402893,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "406ee76f.a28dd8",
+ "id": "7597a7a3.d53198",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. controller details \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field5\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field6\" value=\"`$prop.ransim-mounted`\"/>\n<parameter name=\"field7\" value=\"config DB deployed (true/false): \"/>\n<parameter name=\"field8\" value=\"`$prop.configdb-deployed`\"/>",
"comments": "",
"outputs": 1,
- "x": 636.2497787475586,
- "y": 365.99999046325684,
- "z": "da62f736.168268",
+ "x": 800.1386642456055,
+ "y": 482.66665267944336,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5594448d.f5e4ec",
+ "id": "3d0c87b9.c409a8",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 928.4997406005859,
- "y": 274.4999785423279,
- "z": "da62f736.168268",
+ "x": 1092.3886260986328,
+ "y": 391.1666407585144,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d7e6a184.602a7"
+ "d21bad35.2f372"
]
]
},
{
- "id": "d7e6a184.602a7",
+ "id": "d21bad35.2f372",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1108.4999084472656,
- "y": 268.4999785423279,
- "z": "da62f736.168268",
+ "x": 1272.3887939453125,
+ "y": 385.1666407585144,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2bb70554.5f8b9a",
- "89346eeb.4233c",
- "d7f994eb.1d62c8"
+ "faedc62b.fa4868",
+ "b34d2337.c36bb",
+ "36a4dafe.d19156"
]
]
},
{
- "id": "2bb70554.5f8b9a",
+ "id": "faedc62b.fa4868",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1320.9999389648438,
- "y": 267.4999835193157,
- "z": "da62f736.168268",
+ "x": 1484.8888244628906,
+ "y": 384.16664573550224,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "89346eeb.4233c",
+ "id": "b34d2337.c36bb",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfileId`\"/>\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1317.749912261963,
- "y": 309.0000104904175,
- "z": "da62f736.168268",
+ "x": 1481.6387977600098,
+ "y": 425.666672706604,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d7f994eb.1d62c8",
+ "id": "36a4dafe.d19156",
"type": "switchNode",
"name": "check action",
"xml": "<switch test='`$instantiate-r-a-n-slice-input.action`==deallocate'>",
"comments": "",
"outputs": 1,
- "x": 1328.5003051757812,
- "y": 202.74999809265137,
- "z": "da62f736.168268",
+ "x": 1492.3891906738281,
+ "y": 319.4166603088379,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "cb26292c.0cd2c8",
- "18173db6.ed0872"
+ "a572b20.72c925",
+ "b0df7991.61e8d8"
]
]
},
{
- "id": "cb26292c.0cd2c8",
+ "id": "a572b20.72c925",
"type": "success",
"name": "terminate",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1518.5000076293945,
- "y": 233.50000524520874,
- "z": "da62f736.168268",
+ "x": 1682.3888931274414,
+ "y": 350.16666746139526,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e26b83fd.85f54"
+ "9a4a274d.d94778"
]
]
},
{
- "id": "e26b83fd.85f54",
+ "id": "9a4a274d.d94778",
"type": "execute",
"name": "read sNSSAI from input",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNSSAI' />\n\t<parameter name='source' value=\"`$payloadJson.input.NSSAI`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1786.7500076293945,
- "y": 231.50001192092896,
- "z": "da62f736.168268",
+ "x": 1950.6388931274414,
+ "y": 348.1666741371155,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "217e5011.465e6",
+ "id": "e21c06e4.206928",
"type": "execute",
"name": "read sNSSAI from sliceProfile",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNSSAI' />\n\t<parameter name='source' value=\"`$payloadJson.input.sliceProfile.NSSAI`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1797.5000381469727,
- "y": 300.50000047683716,
- "z": "da62f736.168268",
+ "x": 1961.3889236450195,
+ "y": 417.1666626930237,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "18173db6.ed0872",
+ "id": "b0df7991.61e8d8",
"type": "failure",
"name": "modify-deallocate",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1545.5000076293945,
- "y": 304.50000047683716,
- "z": "da62f736.168268",
+ "x": 1709.3888931274414,
+ "y": 421.1666626930237,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "217e5011.465e6"
+ "e21c06e4.206928"
]
]
},
{
- "id": "331ef215.bbe70e",
+ "id": "9cee919c.bea0b",
"type": "execute",
"name": "get PLMNId URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 585.7499923706055,
- "y": 617.2500238418579,
- "z": "da62f736.168268",
+ "x": 749.6388778686523,
+ "y": 733.9166860580444,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "2bef0202.a1c14e",
+ "id": "ba93432d.8ae6f",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 556.7500228881836,
- "y": 679.0000486373901,
- "z": "da62f736.168268",
+ "x": 720.6389083862305,
+ "y": 795.6667108535767,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "7a08dec6.783c6",
+ "id": "b2d5bb29.9e1f58",
"type": "execute",
"name": "Get PLMN from Sliceprofile id",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 621.7500076293945,
- "y": 738.750002861023,
- "z": "da62f736.168268",
+ "x": 785.6388931274414,
+ "y": 855.4166650772095,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "c50ddf2a.0f482",
+ "id": "f014e0f.8062b2",
"type": "execute",
"name": "read PLMN Id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`getPLMN-configdb-response.pLMNId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 574.75,
- "y": 796.7500514984131,
- "z": "da62f736.168268",
+ "x": 738.6388854980469,
+ "y": 913.4167137145996,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "4a173bea.dab424",
+ "id": "35f03911.133576",
"type": "execute",
"name": "find MCC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
"comments": "",
"outputs": 1,
- "x": 568.0000076293945,
- "y": 856.000114440918,
- "z": "da62f736.168268",
+ "x": 731.8888931274414,
+ "y": 972.6667766571045,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "418b9d9d.e0f1e4",
+ "id": "92345751.f84618",
"type": "execute",
"name": "find MNC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
"comments": "",
"outputs": 1,
- "x": 568.0000610351562,
- "y": 906.9999923706055,
- "z": "da62f736.168268",
+ "x": 731.8889465332031,
+ "y": 1023.666654586792,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "9a10e123.7e743",
+ "id": "926f95e.bc62b68",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 564.9935302734375,
- "y": 963.9935073852539,
- "z": "da62f736.168268",
+ "x": 728.8824157714844,
+ "y": 1080.6601696014404,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e0692478.040118",
+ "id": "d38ca491.690178",
"type": "execute",
"name": "generate getNearRTRICById URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICById`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICById.url\"/>\n <parameter name=\"target\" value=\"{nearRTRICId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1041.7500762939453,
- "y": 724.5000381469727,
- "z": "da62f736.168268",
+ "x": 1205.6389617919922,
+ "y": 841.1667003631592,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "c224bf70.f8698",
+ "id": "8318ccb3.e2df6",
"type": "record",
"name": "record configdb RestAPI params",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for NearRTRICId\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICById.url`\" />\n<parameter name='field3' value=\"`$nearRTRICId`\" />",
"comments": "",
"outputs": 1,
- "x": 1037.7500305175781,
- "y": 774.500114440918,
- "z": "da62f736.168268",
+ "x": 1201.638916015625,
+ "y": 891.1667766571045,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "feae2bb9.c89528",
+ "id": "2c07f0f9.fb597",
"type": "execute",
"name": "Get nearRTRIC for nearRTRICId",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICById.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNearRTRICById-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 1036.7501373291016,
- "y": 817.5002365112305,
- "z": "da62f736.168268",
+ "x": 1200.6390228271484,
+ "y": 934.166898727417,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e88645a8.3117e8",
- "735acccb.71f914"
+ "ced9eac3.be2828",
+ "e6b6fe08.ea73d"
]
]
},
{
- "id": "e88645a8.3117e8",
+ "id": "ced9eac3.be2828",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1312.5,
- "y": 814.5,
- "z": "da62f736.168268",
+ "x": 1476.3888854980469,
+ "y": 931.1666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "61015ff6.5a356"
+ "35a5fa3c.604ff6"
]
]
},
{
- "id": "735acccb.71f914",
+ "id": "e6b6fe08.ea73d",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1306.5000457763672,
- "y": 874.4999160766602,
- "z": "da62f736.168268",
+ "x": 1470.388931274414,
+ "y": 991.1665782928467,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "44fc6120.e168e"
+ "57c5d9c4.661078"
]
]
},
{
- "id": "61015ff6.5a356",
+ "id": "35a5fa3c.604ff6",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1482.1668853759766,
- "y": 805.8334016799927,
- "z": "da62f736.168268",
+ "x": 1646.0557708740234,
+ "y": 922.5000638961792,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "fa6281d0.77d53",
- "80ea1426.fb74e8"
+ "90069086.9bf3d",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "fa6281d0.77d53",
+ "id": "90069086.9bf3d",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1686.499948501587,
- "y": 766.6110763549805,
- "z": "da62f736.168268",
+ "x": 1850.3888339996338,
+ "y": 883.277738571167,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "5f8f298a.79e518",
+ "id": "6a0bff9f.e783a",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNearRTRICById-configdb-response`\"/>",
"comments": "",
"outputs": 1,
- "x": 1699.499740600586,
- "y": 820.5000152587891,
- "z": "da62f736.168268",
+ "x": 1863.3886260986328,
+ "y": 937.1666774749756,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "8b60105d.9075b",
+ "id": "dc10964c.5ef7f8",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1695.2778816223145,
- "y": 891.5000228881836,
- "z": "da62f736.168268",
+ "x": 1859.1667671203613,
+ "y": 1008.1666851043701,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "44fc6120.e168e",
+ "id": "57c5d9c4.661078",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1476.499942779541,
- "y": 875.5000314712524,
- "z": "da62f736.168268",
+ "x": 1640.388828277588,
+ "y": 992.166693687439,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8b60105d.9075b",
- "5f8f298a.79e518"
+ "dc10964c.5ef7f8",
+ "6a0bff9f.e783a"
]
]
},
{
- "id": "efb82a40.58c198",
+ "id": "8045c217.a14b",
"type": "execute",
"name": "remove sNSSAI from context",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$getNearRTRICById-configdb-response`\" />\n<parameter name=\"value\" value=\"`$getNearRTRICById-configdb-response.pLMNInfoList[0].sNSSAI.sNSSAI`\" />",
"comments": "",
"outputs": 1,
- "x": 1023.3056182861328,
- "y": 956.6945896148682,
- "z": "da62f736.168268",
+ "x": 1187.1945037841797,
+ "y": 1073.3612518310547,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "63802b92.24eaa4",
+ "id": "dcc1e616.a66a58",
"type": "execute",
"name": "read PLMNList size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`\" />",
"comments": "",
"outputs": 1,
- "x": 2079.277587890625,
- "y": 743.22216796875,
- "z": "da62f736.168268",
+ "x": 2243.166473388672,
+ "y": 859.8888301849365,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "bafc3e6d.cdf73",
+ "id": "b7aab5d6.a5d488",
"type": "set",
"name": "Read RRMPolicy Member List Length",
"xml": "<set>\n<parameter name='tmp.NRCellCURRMPolicyMembersLength' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />",
"comments": "",
- "x": 2542.277618408203,
- "y": 2150.0553970336914,
- "z": "da62f736.168268",
+ "x": 2706.16650390625,
+ "y": 2266.722059249878,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "71c76952.045908",
+ "id": "cac94f43.7988e",
"type": "for",
"name": "for each rrmpolicyMember",
"xml": "<for index='idcu-rrm1' start='0' end='`$tmp.NRCellCURRMPolicyMembersLength`' >\n",
"comments": "",
"outputs": 1,
- "x": 2523.249801635742,
- "y": 2192.8332600593567,
- "z": "da62f736.168268",
+ "x": 2687.138687133789,
+ "y": 2309.499922275543,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "60d29958.728538"
+ "17d93ed6.5e1c41"
]
]
},
{
- "id": "60d29958.728538",
+ "id": "17d93ed6.5e1c41",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2739.916603088379,
- "y": 2188.944404602051,
- "z": "da62f736.168268",
+ "x": 2903.805488586426,
+ "y": 2305.6110668182373,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a8757573.18a648",
- "dc93363f.a07058",
- "999de8b3.682778",
- "ca37691e.a8f2f8",
- "73616042.242eb"
+ "80a219a9.cb4fa8",
+ "1c636d7a.76bbd3",
+ "cfe4eb87.f9ce98",
+ "16d7a78b.89b958",
+ "61fb2172.2e08a"
]
]
},
{
- "id": "a8757573.18a648",
+ "id": "80a219a9.cb4fa8",
"type": "switchNode",
"name": "if length > 0 ",
"xml": "<switch test='`$tmp.NRCellCURRMPolicyMembersLeangth`>0'>\n",
"comments": "",
"outputs": 1,
- "x": 2889.083595275879,
- "y": 2154.083083152771,
- "z": "da62f736.168268",
+ "x": 3052.972480773926,
+ "y": 2270.7497453689575,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2ebd17cd.068208",
- "4f120937.7221b8"
+ "90b11368.b8378",
+ "94d76e54.f4b62"
]
]
},
{
- "id": "2ebd17cd.068208",
+ "id": "90b11368.b8378",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3040.750011444092,
- "y": 2129.6384811401367,
- "z": "da62f736.168268",
+ "x": 3204.6388969421387,
+ "y": 2246.3051433563232,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f6e50d.7c92caf"
+ "928e9705.a89d38"
]
]
},
{
- "id": "f6e50d.7c92caf",
+ "id": "928e9705.a89d38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3207.4164695739746,
- "y": 2129.638940811157,
- "z": "da62f736.168268",
+ "x": 3371.3053550720215,
+ "y": 2246.3056030273438,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9a545b68.a528b8"
+ "c8662394.eae76"
]
]
},
{
- "id": "9a545b68.a528b8",
+ "id": "c8662394.eae76",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3055.194351196289,
- "y": 2008.5276763439178,
- "z": "da62f736.168268",
+ "x": 3219.083236694336,
+ "y": 2125.1943385601044,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f87c06c5.c56f98",
- "150946ef.2d4b89"
+ "e677db79.580d78",
+ "dd2ac7e6.9925a8"
]
]
},
{
- "id": "f87c06c5.c56f98",
+ "id": "e677db79.580d78",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3298.528091430664,
- "y": 2024.4163551330566,
- "z": "da62f736.168268",
+ "x": 3462.416976928711,
+ "y": 2141.083017349243,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "92abe500.2af8e8"
+ "5c1ef2cf.2bc89c"
]
]
},
{
- "id": "150946ef.2d4b89",
+ "id": "dd2ac7e6.9925a8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3289.3716011047363,
- "y": 2064.8606386184692,
- "z": "da62f736.168268",
+ "x": 3453.260486602783,
+ "y": 2181.5273008346558,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "bfcddc71.1ead4"
+ "3feb197e.7eee96"
]
]
},
{
- "id": "92abe500.2af8e8",
+ "id": "5c1ef2cf.2bc89c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3479.9165115356445,
- "y": 2025.7499551773071,
- "z": "da62f736.168268",
+ "x": 3643.8053970336914,
+ "y": 2142.4166173934937,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "6cec7e83.a7b4a"
+ "9ad9b7f2.be01a8"
]
]
},
{
- "id": "bfcddc71.1ead4",
+ "id": "3feb197e.7eee96",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3471.027587890625,
- "y": 2067.97199344635,
- "z": "da62f736.168268",
+ "x": 3634.916473388672,
+ "y": 2184.6386556625366,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "7a1f7a9.f8d7a84",
- "d3d30d71.6990e"
+ "71cc87aa.8b2aa8",
+ "cf5f7048.c50b9"
]
]
},
{
- "id": "6cec7e83.a7b4a",
+ "id": "9ad9b7f2.be01a8",
"type": "execute",
"name": "delete RRMPolicyRatio NRCellCU - URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3765.194221496582,
- "y": 2022.9722328186035,
- "z": "da62f736.168268",
+ "x": 3929.083106994629,
+ "y": 2139.63889503479,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "7a1f7a9.f8d7a84",
+ "id": "71cc87aa.8b2aa8",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3776.3054809570312,
- "y": 2066.305594444275,
- "z": "da62f736.168268",
+ "x": 3940.194366455078,
+ "y": 2182.9722566604614,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d3d30d71.6990e",
+ "id": "cf5f7048.c50b9",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 3700.7497024536133,
- "y": 2101.8610763549805,
- "z": "da62f736.168268",
+ "x": 3864.63858795166,
+ "y": 2218.527738571167,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "4f120937.7221b8",
+ "id": "94d76e54.f4b62",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3044.361053466797,
- "y": 2182.9721145629883,
- "z": "da62f736.168268",
+ "x": 3208.2499389648438,
+ "y": 2299.638776779175,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "89f52e2a.ded3"
+ "43619232.8fe1fc"
]
]
},
{
- "id": "89f52e2a.ded3",
+ "id": "43619232.8fe1fc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3230.0281372070312,
- "y": 2171.3054332733154,
- "z": "da62f736.168268",
+ "x": 3393.917022705078,
+ "y": 2287.972095489502,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "52f28f28.d8a43",
- "7deb574e.5b4c58"
+ "7b60a95a.311d38",
+ "4dd7b0ec.5f578"
]
]
},
{
- "id": "52f28f28.d8a43",
+ "id": "7b60a95a.311d38",
"type": "set",
"name": "Read RRMPolicyMember-sNSSA",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].sNSSAI'`\" />",
"comments": "",
- "x": 3522.417106628418,
- "y": 2135.194746017456,
- "z": "da62f736.168268",
+ "x": 3686.305992126465,
+ "y": 2251.8614082336426,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "7deb574e.5b4c58",
+ "id": "4dd7b0ec.5f578",
"type": "switchNode",
"name": "find matching RRMPolicyMember",
"xml": "<switch test='`$tmp.RRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 3521.3055419921875,
- "y": 2175.1942405700684,
- "z": "da62f736.168268",
+ "x": 3685.1944274902344,
+ "y": 2291.860902786255,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "33cc883a.76c308"
+ "aeb12330.5d927"
]
]
},
{
- "id": "33cc883a.76c308",
+ "id": "aeb12330.5d927",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3752.138885498047,
- "y": 2179.6386184692383,
- "z": "da62f736.168268",
+ "x": 3916.0277709960938,
+ "y": 2296.305280685425,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9c142fa4.cb9b6"
+ "b5e8a0ad.669d3"
]
]
},
{
- "id": "9c142fa4.cb9b6",
+ "id": "b5e8a0ad.669d3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3975.749725341797,
- "y": 2176.3053665161133,
- "z": "da62f736.168268",
+ "x": 4139.638610839844,
+ "y": 2292.9720287323,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "c2abc7a3.b36fb8",
- "9babc976.805408",
- "dfa38a67.64c448"
+ "182e3e07.d731f2",
+ "b41b6ede.e30bc",
+ "b0c9ebb0.f7a748"
]
]
},
{
- "id": "c2abc7a3.b36fb8",
+ "id": "182e3e07.d731f2",
"type": "set",
"name": "Read RRMPolicyMember-id",
"xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm1 +'].idx'`\" />",
"comments": "",
- "x": 4241.416458129883,
- "y": 2144.0832529067993,
- "z": "da62f736.168268",
+ "x": 4405.30534362793,
+ "y": 2260.749915122986,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "e20de155.a2c4d",
+ "id": "c37eaedd.ad4e7",
"type": "execute",
"name": "generate deleteRRMPolicyMember.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4770.860374450684,
- "y": 2236.3054523468018,
- "z": "da62f736.168268",
+ "x": 4934.7492599487305,
+ "y": 2352.9721145629883,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "9babc976.805408",
+ "id": "b41b6ede.e30bc",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 4198.638465881348,
- "y": 2239.6389179229736,
- "z": "da62f736.168268",
+ "x": 4362.5273513793945,
+ "y": 2356.30558013916,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "10644ed4.744fb1",
- "7e6e7feb.c50cd"
+ "503f844f.64c01c",
+ "7161c9.ab814e38"
]
]
},
{
- "id": "10644ed4.744fb1",
+ "id": "503f844f.64c01c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4441.972526550293,
- "y": 2238.860941886902,
- "z": "da62f736.168268",
+ "x": 4605.86141204834,
+ "y": 2355.5276041030884,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e20de155.a2c4d"
+ "c37eaedd.ad4e7"
]
]
},
{
- "id": "7e6e7feb.c50cd",
+ "id": "7161c9.ab814e38",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4432.815940856934,
- "y": 2290.4163360595703,
- "z": "da62f736.168268",
+ "x": 4596.7048263549805,
+ "y": 2407.082998275757,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f875f1bd.3b7b3"
+ "88b74872.c635b8"
]
]
},
{
- "id": "1e1626e1.1a2b59",
+ "id": "f6f7cf4d.7b0e",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4900.027503967285,
- "y": 2281.8613777160645,
- "z": "da62f736.168268",
+ "x": 5063.916389465332,
+ "y": 2398.528039932251,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "38fa3cb1.cbb0c4",
+ "id": "4767a964.7b9188",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
"comments": "",
"outputs": 1,
- "x": 4820.0272216796875,
- "y": 2340.7497940063477,
- "z": "da62f736.168268",
+ "x": 4983.916107177734,
+ "y": 2457.416456222534,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "f875f1bd.3b7b3",
+ "id": "88b74872.c635b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4599.749794006348,
- "y": 2287.9721698760986,
- "z": "da62f736.168268",
+ "x": 4763.6386795043945,
+ "y": 2404.638832092285,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "1e1626e1.1a2b59",
- "38fa3cb1.cbb0c4"
+ "f6f7cf4d.7b0e",
+ "4767a964.7b9188"
]
]
},
{
- "id": "54cca329.31500c",
+ "id": "57aa1331.9d81bc",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2469.3609352111816,
- "y": 2297.139139175415,
- "z": "da62f736.168268",
+ "x": 2633.2498207092285,
+ "y": 2413.8058013916016,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "14019172.5d29bf",
+ "id": "e85a3a4.22a94c8",
"type": "execute",
"name": "Terminate NRCellCU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellCU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2564.1387329101562,
- "y": 2339.1389560699463,
- "z": "da62f736.168268",
+ "x": 2728.027618408203,
+ "y": 2455.805618286133,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "fd2b757b.cfa308",
- "c1535c1f.fe413"
+ "dd522b09.1e1be8",
+ "3f291ef9.746d92"
]
]
},
{
- "id": "fd2b757b.cfa308",
+ "id": "dd522b09.1e1be8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2849.8888359069824,
- "y": 2384.888925552368,
- "z": "da62f736.168268",
+ "x": 3013.7777214050293,
+ "y": 2501.5555877685547,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8f4764cd.4ca168"
+ "ff459b9.377d368"
]
]
},
{
- "id": "8f4764cd.4ca168",
+ "id": "ff459b9.377d368",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3053.3888931274414,
- "y": 2387.3889265060425,
- "z": "da62f736.168268",
+ "x": 3217.2777786254883,
+ "y": 2504.055588722229,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a3763fa2.90b7c"
+ "50a7a704.b2d218"
]
]
},
{
- "id": "a3763fa2.90b7c",
+ "id": "50a7a704.b2d218",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Deleted - cellCU RRMpolicyRatio/RRMPolicyMember\"/>",
"comments": "",
"outputs": 1,
- "x": 3280.8886528015137,
- "y": 2294.6391382217407,
- "z": "da62f736.168268",
+ "x": 3444.7775382995605,
+ "y": 2411.3058004379272,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "1d85be64.4c60b2",
+ "id": "8ace21ab.b1133",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Removing cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3294.138641357422,
- "y": 2337.6388626098633,
- "z": "da62f736.168268",
+ "x": 3458.0275268554688,
+ "y": 2454.30552482605,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "e3de62ba.7799a",
+ "id": "14c40d9e.470832",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error removing NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3299.1385192871094,
- "y": 2432.6389236450195,
- "z": "da62f736.168268",
+ "x": 3463.0274047851562,
+ "y": 2549.305585861206,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "2d5293a6.e50e3c",
+ "id": "57b4f994.258048",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3050.389320373535,
- "y": 2439.138957977295,
- "z": "da62f736.168268",
+ "x": 3214.278205871582,
+ "y": 2555.8056201934814,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e3de62ba.7799a",
- "1d85be64.4c60b2",
- "80ea1426.fb74e8"
+ "14c40d9e.470832",
+ "8ace21ab.b1133",
+ "64e216ec.bfca58"
]
]
},
{
- "id": "c1535c1f.fe413",
+ "id": "3f291ef9.746d92",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2845.1388359069824,
- "y": 2424.138957977295,
- "z": "da62f736.168268",
+ "x": 3009.0277214050293,
+ "y": 2540.8056201934814,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "2d5293a6.e50e3c"
+ "57b4f994.258048"
]
]
},
{
- "id": "dfa38a67.64c448",
+ "id": "b0c9ebb0.f7a748",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4193.076385498047,
- "y": 2191.9652786254883,
- "z": "da62f736.168268",
+ "x": 4356.965270996094,
+ "y": 2308.631940841675,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "1c8e5c05.e07c04",
+ "id": "1063593f.f773f7",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteSNSSAIListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteSNSSAIListEntry.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 2244.638885498047,
- "y": 1419.1527786254883,
- "z": "da62f736.168268",
+ "x": 2408.5277709960938,
+ "y": 1535.8194408416748,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "dc93363f.a07058",
+ "id": "1c636d7a.76bbd3",
"type": "execute",
"name": "prepare idGNBCUCPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3006.8265075683594,
- "y": 2233.2153396606445,
- "z": "da62f736.168268",
+ "x": 3170.7153930664062,
+ "y": 2349.882001876831,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "999de8b3.682778",
+ "id": "cfe4eb87.f9ce98",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2979.326446533203,
- "y": 2266.4653100967407,
- "z": "da62f736.168268",
+ "x": 3143.21533203125,
+ "y": 2383.1319723129272,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "ca37691e.a8f2f8",
+ "id": "16d7a78b.89b958",
"type": "execute",
"name": "prepare RRMPolicyRatio id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3002.764389038086,
- "y": 2301.027841567993,
- "z": "da62f736.168268",
+ "x": 3166.653274536133,
+ "y": 2417.6945037841797,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "73616042.242eb",
+ "id": "61fb2172.2e08a",
"type": "execute",
"name": "prepare RRMPolicyMember id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n <parameter name=\"target\" value=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3010.263946533203,
- "y": 2336.777811050415,
- "z": "da62f736.168268",
+ "x": 3174.15283203125,
+ "y": 2453.4444732666016,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "d793dedd.b3828",
+ "id": "cab5cd7b.682a4",
"type": "execute",
"name": "remove sNSSAI from context",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $idcu +'].pLMNInfoList'`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
"comments": "",
"outputs": 1,
- "x": 1894.6390228271484,
- "y": 2159.1528367996216,
- "z": "da62f736.168268",
+ "x": 2058.5279083251953,
+ "y": 2275.819499015808,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "affea016.689ae",
+ "id": "ae40960a.6e1e88",
"type": "execute",
"name": "prepare updated PLMNInfo list",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.pLMNInfoList\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $idcu +'].pLMNInfoList'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1904.0138854980469,
- "y": 2217.5902786254883,
- "z": "da62f736.168268",
+ "x": 2067.9027709960938,
+ "y": 2334.256940841675,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "32462495.24865c",
+ "id": "58a66c79.4d6444",
"type": "execute",
"name": "read gNBIdLength",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBIdLength' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBIdLength'`\" />",
"comments": "",
"outputs": 1,
- "x": 987.7638854980469,
- "y": 908.2152767181396,
- "z": "da62f736.168268",
+ "x": 1151.6527709960938,
+ "y": 1024.8819389343262,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e8f8f0ea.977c8",
+ "id": "261c63a2.cfa8fc",
"type": "execute",
"name": "read NFType",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cucpNFType' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].nFType'`\" />",
"comments": "",
"outputs": 1,
- "x": 2271.513885498047,
- "y": 1163.8402786254883,
- "z": "da62f736.168268",
+ "x": 2435.4027709960938,
+ "y": 1280.5069408416748,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "521d3d11.f4ead4",
+ "id": "4c947865.0ffd58",
"type": "execute",
"name": "read RRMPolicyMembers List",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellCURRMPolicyMembersList' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyMemberList'`\" />",
"comments": "",
"outputs": 1,
- "x": 1933.076675415039,
- "y": 2399.465344429016,
- "z": "da62f736.168268",
+ "x": 2096.965560913086,
+ "y": 2516.1320066452026,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "cd5eaeef.a91e3",
+ "id": "d93b6f67.8d487",
"type": "execute",
"name": "remove sNSSAI from context",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$tmp.NRCellCURRMPolicyMembersList`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
"comments": "",
"outputs": 1,
- "x": 1931.8265228271484,
- "y": 2451.027844429016,
- "z": "da62f736.168268",
+ "x": 2095.7154083251953,
+ "y": 2567.6945066452026,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "eaeb68eb.667d98",
+ "id": "47c5c1a5.8d72c",
"type": "execute",
"name": "prepare updated RRMPolicyMember list",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.CellCURRMMembersList\" value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyMemberList'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1939.9513854980469,
- "y": 2503.5277786254883,
- "z": "da62f736.168268",
+ "x": 2103.8402709960938,
+ "y": 2620.194440841675,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "26cf8ac7.b0c7f6",
+ "id": "2d906f67.af8d2",
"type": "execute",
"name": "read sNSSAI from getNFNSSIRIC-configdb-response",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI1' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 1741.6391143798828,
- "y": 2610.9725074768066,
- "z": "da62f736.168268",
+ "x": 1905.5279998779297,
+ "y": 2727.639169692993,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "ecfda6cb.0dc9f8",
+ "id": "5f217c6b.8aad94",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI1`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1596.6390838623047,
- "y": 2645.9724464416504,
- "z": "da62f736.168268",
+ "x": 1760.5279693603516,
+ "y": 2762.639108657837,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "ff979e6b.4c16e",
+ "id": "59cd7c57.9edea4",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI1 == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 1615.5281219482422,
- "y": 2681.5279273986816,
- "z": "da62f736.168268",
+ "x": 1779.417007446289,
+ "y": 2798.194589614868,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "4141bca5.15d954"
+ "2fac8a53.516586"
]
]
},
{
- "id": "4141bca5.15d954",
+ "id": "2fac8a53.516586",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1819.750015258789,
- "y": 2688.750461578369,
- "z": "da62f736.168268",
+ "x": 1983.638900756836,
+ "y": 2805.4171237945557,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b4bbd615.193438"
+ "99583120.d2f27"
]
]
},
{
- "id": "45d93df6.d8a744",
+ "id": "2fca4cb4.2738c4",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 1605.75,
- "y": 2761.75,
- "z": "da62f736.168268",
+ "x": 1769.6388854980469,
+ "y": 2878.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5537eaa4.099b64",
+ "id": "ce6d719c.49011",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1608.2501068115234,
- "y": 2802.250461578369,
- "z": "da62f736.168268",
+ "x": 1772.1389923095703,
+ "y": 2918.9171237945557,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "3a0a4656.8f287a",
+ "id": "94dbe6eb.647a58",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfo-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfo-CUUP.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1615.8889923095703,
- "y": 2845.4028663635254,
- "z": "da62f736.168268",
+ "x": 1779.7778778076172,
+ "y": 2962.069528579712,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "550fad5.d572654",
+ "id": "10895895.6f3bd7",
"type": "execute",
"name": "terminate sNNSAI - CUUP",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deletePLMNInfo-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-sNSSAI-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 1658.5000762939453,
- "y": 2900.750036239624,
- "z": "da62f736.168268",
+ "x": 1822.3889617919922,
+ "y": 3017.4166984558105,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "1fdc0d32.1eff63",
- "f316122d.69b8"
+ "1f89eb4f.56d5b5",
+ "5c354916.643298"
]
]
},
{
- "id": "4fdeeb7.8dcdb14",
+ "id": "831a8a0f.0dd228",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2362.416488647461,
- "y": 3610.0839614868164,
- "z": "da62f736.168268",
+ "x": 2526.305374145508,
+ "y": 3726.750623703003,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "4ab04fee.b55ac"
+ "3c7beedb.e32b72"
]
]
},
{
- "id": "ce038fe2.e456",
+ "id": "96d6c20a.f3dc3",
"type": "set",
"name": "Read RRMPolicy Member List Length",
"xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMembersLength' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList_length'`\" />",
"comments": "",
- "x": 2060.75,
- "y": 3385.75,
- "z": "da62f736.168268",
+ "x": 2224.638885498047,
+ "y": 3502.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "519ec736.4a1068",
+ "id": "35604442.22acbc",
"type": "for",
"name": "for each rrmpolicyMember",
"xml": "<for index='idcu-rrm2' start='0' end='`$tmp.CUUPRRMPolicyMembersLength`' >\n",
"comments": "",
"outputs": 1,
- "x": 2041.722183227539,
- "y": 3428.5278630256653,
- "z": "da62f736.168268",
+ "x": 2205.611068725586,
+ "y": 3545.194525241852,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "78b5a7ce.d88bd8"
+ "6aa3e792.bfbc28"
]
]
},
{
- "id": "78b5a7ce.d88bd8",
+ "id": "6aa3e792.bfbc28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2258.388984680176,
- "y": 3424.6390075683594,
- "z": "da62f736.168268",
+ "x": 2422.2778701782227,
+ "y": 3541.305669784546,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "cb64ebc4.d3da78",
- "b353e2c5.e3c56",
- "aafda300.bf6c3",
- "9c0d0f0b.aa775"
+ "75f18c54.ee0f64",
+ "8034aed7.3787",
+ "4b872453.4a096c",
+ "6ee0d9b.b4d7928"
]
]
},
{
- "id": "cb64ebc4.d3da78",
+ "id": "75f18c54.ee0f64",
"type": "switchNode",
"name": "if length > 0 ",
"xml": "<switch test='`$tmp.CUUPRRMPolicyMembersLength`>0'>\n",
"comments": "",
"outputs": 1,
- "x": 2407.555976867676,
- "y": 3389.7776861190796,
- "z": "da62f736.168268",
+ "x": 2571.4448623657227,
+ "y": 3506.444348335266,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "4fcc83f8.eb5fcc",
- "7a00e337.23da3c"
+ "9acab90b.96f038",
+ "11fff539.623bab"
]
]
},
{
- "id": "4fcc83f8.eb5fcc",
+ "id": "9acab90b.96f038",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2559.2223930358887,
- "y": 3365.3330841064453,
- "z": "da62f736.168268",
+ "x": 2723.1112785339355,
+ "y": 3481.999746322632,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "20f96d49.8194f2"
+ "7c331d2.e9232e4"
]
]
},
{
- "id": "20f96d49.8194f2",
+ "id": "7c331d2.e9232e4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2725.8888511657715,
- "y": 3365.333543777466,
- "z": "da62f736.168268",
+ "x": 2889.7777366638184,
+ "y": 3482.0002059936523,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "ee546d02.d513d"
+ "73ebd9de.505328"
]
]
},
{
- "id": "ee546d02.d513d",
+ "id": "73ebd9de.505328",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2573.666732788086,
- "y": 3244.2222793102264,
- "z": "da62f736.168268",
+ "x": 2737.555618286133,
+ "y": 3360.888941526413,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "ec7b5045.bff37",
- "ef4f4fda.d1981"
+ "249284a2.501abc",
+ "abc12033.dc74a"
]
]
},
{
- "id": "ec7b5045.bff37",
+ "id": "249284a2.501abc",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2817.000473022461,
- "y": 3260.1109580993652,
- "z": "da62f736.168268",
+ "x": 2980.889358520508,
+ "y": 3376.7776203155518,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5e2abcba.df1a44"
+ "a2511f33.47ad6"
]
]
},
{
- "id": "ef4f4fda.d1981",
+ "id": "abc12033.dc74a",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2807.843982696533,
- "y": 3300.555241584778,
- "z": "da62f736.168268",
+ "x": 2971.73286819458,
+ "y": 3417.2219038009644,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b69bdc10.4653b"
+ "e4eac5db.1111a8"
]
]
},
{
- "id": "5e2abcba.df1a44",
+ "id": "a2511f33.47ad6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2998.3888931274414,
- "y": 3261.4445581436157,
- "z": "da62f736.168268",
+ "x": 3162.2777786254883,
+ "y": 3378.1112203598022,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "f2f64a34.9bc798"
+ "f99d837e.53586"
]
]
},
{
- "id": "b69bdc10.4653b",
+ "id": "e4eac5db.1111a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2989.499969482422,
- "y": 3303.6665964126587,
- "z": "da62f736.168268",
+ "x": 3153.3888549804688,
+ "y": 3420.333258628845,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "420a580d.8dce18",
- "a3442627.cd94b8"
+ "71a434da.3555bc",
+ "fc619ae8.b470f8"
]
]
},
{
- "id": "f2f64a34.9bc798",
+ "id": "f99d837e.53586",
"type": "execute",
"name": "delete RRMPolicyRatio CUUP- URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3283.666603088379,
- "y": 3258.666835784912,
- "z": "da62f736.168268",
+ "x": 3447.555488586426,
+ "y": 3375.3334980010986,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "420a580d.8dce18",
+ "id": "71a434da.3555bc",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3294.777862548828,
- "y": 3302.0001974105835,
- "z": "da62f736.168268",
+ "x": 3458.666748046875,
+ "y": 3418.66685962677,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "a3442627.cd94b8",
+ "id": "fc619ae8.b470f8",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 3219.22208404541,
- "y": 3337.555679321289,
- "z": "da62f736.168268",
+ "x": 3383.110969543457,
+ "y": 3454.2223415374756,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "7a00e337.23da3c",
+ "id": "11fff539.623bab",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2562.8334350585938,
- "y": 3418.666717529297,
- "z": "da62f736.168268",
+ "x": 2726.7223205566406,
+ "y": 3535.3333797454834,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "6a3d5f67.89b03"
+ "89395cb.12860a"
]
]
},
{
- "id": "6a3d5f67.89b03",
+ "id": "89395cb.12860a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2748.500518798828,
- "y": 3407.000036239624,
- "z": "da62f736.168268",
+ "x": 2912.389404296875,
+ "y": 3523.6666984558105,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "e7b911ef.21926",
- "501ba5bb.ef3fec"
+ "2bdede66.398562",
+ "d94a3ff4.3581a"
]
]
},
{
- "id": "e7b911ef.21926",
+ "id": "2bdede66.398562",
"type": "set",
"name": "Read RRMPolicyMember-sNSSAI",
"xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].sNSSAI'`\" />",
"comments": "",
- "x": 3040.889488220215,
- "y": 3370.8893489837646,
- "z": "da62f736.168268",
+ "x": 3204.7783737182617,
+ "y": 3487.556011199951,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "501ba5bb.ef3fec",
+ "id": "d94a3ff4.3581a",
"type": "switchNode",
"name": "find matching RRMPolicyMember",
"xml": "<switch test='`$tmp.CUUPRRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 3039.7779235839844,
- "y": 3410.888843536377,
- "z": "da62f736.168268",
+ "x": 3203.6668090820312,
+ "y": 3527.5555057525635,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "355a7706.bbd6a8"
+ "3fdd739b.53f96c"
]
]
},
{
- "id": "355a7706.bbd6a8",
+ "id": "3fdd739b.53f96c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3270.6112670898438,
- "y": 3415.333221435547,
- "z": "da62f736.168268",
+ "x": 3434.5001525878906,
+ "y": 3531.9998836517334,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "df799f74.91852"
+ "54981564.c9bc7c"
]
]
},
{
- "id": "df799f74.91852",
+ "id": "54981564.c9bc7c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3494.2221069335938,
- "y": 3411.999969482422,
- "z": "da62f736.168268",
+ "x": 3658.1109924316406,
+ "y": 3528.6666316986084,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "bd5b5caf.34289",
- "e69074b7.86c018",
- "7ddec5.bdda613c"
+ "2547429c.dedc5e",
+ "b70b28af.06b758",
+ "c512fb69.d615e8"
]
]
},
{
- "id": "bd5b5caf.34289",
+ "id": "2547429c.dedc5e",
"type": "set",
"name": "Read RRMPolicyMember-id",
"xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].attributes.rRMPolicyMemberList['+ $idcu-rrm2 +'].idx'`\" />",
"comments": "",
- "x": 3759.8888397216797,
- "y": 3379.777855873108,
- "z": "da62f736.168268",
+ "x": 3923.7777252197266,
+ "y": 3496.4445180892944,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "7ddec5.bdda613c",
+ "id": "c512fb69.d615e8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPRRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3711.5487670898438,
- "y": 3427.659881591797,
- "z": "da62f736.168268",
+ "x": 3875.4376525878906,
+ "y": 3544.3265438079834,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e69074b7.86c018",
+ "id": "b70b28af.06b758",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3717.1108474731445,
- "y": 3475.333520889282,
- "z": "da62f736.168268",
+ "x": 3880.9997329711914,
+ "y": 3592.0001831054688,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "97861ce3.40059",
- "64e9402c.99386"
+ "d2220340.a5b14",
+ "5cfd8274.4c38ec"
]
]
},
{
- "id": "97861ce3.40059",
+ "id": "d2220340.a5b14",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3960.44490814209,
- "y": 3474.5555448532104,
- "z": "da62f736.168268",
+ "x": 4124.333793640137,
+ "y": 3591.222207069397,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8ba1fc14.f59bc"
+ "a1b0d65f.3c6f48"
]
]
},
{
- "id": "64e9402c.99386",
+ "id": "5cfd8274.4c38ec",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3951.2883224487305,
- "y": 3526.110939025879,
- "z": "da62f736.168268",
+ "x": 4115.177207946777,
+ "y": 3642.7776012420654,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9014ff5a.a8a83"
+ "2cf453a4.45fdac"
]
]
},
{
- "id": "8ba1fc14.f59bc",
+ "id": "a1b0d65f.3c6f48",
"type": "execute",
"name": "generate deleteRRMPolicyMember.CUUP URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4289.3327560424805,
- "y": 3472.0000553131104,
- "z": "da62f736.168268",
+ "x": 4453.221641540527,
+ "y": 3588.666717529297,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "9014ff5a.a8a83",
+ "id": "2cf453a4.45fdac",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4118.2221755981445,
- "y": 3523.666772842407,
- "z": "da62f736.168268",
+ "x": 4282.111061096191,
+ "y": 3640.3334350585938,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8da33d2c.9ec3f",
- "db3ca58d.3b9558"
+ "996750a.9bd63b",
+ "e2f9738f.5395b"
]
]
},
{
- "id": "8da33d2c.9ec3f",
+ "id": "996750a.9bd63b",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.CUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4418.499885559082,
- "y": 3517.555980682373,
- "z": "da62f736.168268",
+ "x": 4582.388771057129,
+ "y": 3634.2226428985596,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "db3ca58d.3b9558",
+ "id": "e2f9738f.5395b",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 4338.499603271484,
- "y": 3576.4443969726562,
- "z": "da62f736.168268",
+ "x": 4502.388488769531,
+ "y": 3693.111059188843,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "b353e2c5.e3c56",
+ "id": "8034aed7.3787",
"type": "execute",
"name": "prepare idGNBCUUPFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2506.9999923706055,
- "y": 3467.000104904175,
- "z": "da62f736.168268",
+ "x": 2670.8888778686523,
+ "y": 3583.6667671203613,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "aafda300.bf6c3",
+ "id": "4b872453.4a096c",
"type": "execute",
"name": "prepare RRMPolicyRatio id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUUPRRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2503.9379806518555,
- "y": 3506.8127269744873,
- "z": "da62f736.168268",
+ "x": 2667.8268661499023,
+ "y": 3623.479389190674,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "9c0d0f0b.aa775",
+ "id": "6ee0d9b.b4d7928",
"type": "execute",
"name": "prepare RRMPolicyMember id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUUPRRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2512.43758392334,
- "y": 3550.5627269744873,
- "z": "da62f736.168268",
+ "x": 2676.3264694213867,
+ "y": 3667.229389190674,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "8e54b571.b9af88",
+ "id": "c436bb12.fb3218",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.CUUPRRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2013.5344123840332,
- "y": 3498.9240550994873,
- "z": "da62f736.168268",
+ "x": 2177.42329788208,
+ "y": 3615.590717315674,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5ca1f89e.93f5d8",
+ "id": "680e2356.45dadc",
"type": "execute",
"name": "Terminate NRCellCU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio-CUUP.ur`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-CUUP-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 2099.3123664855957,
- "y": 3552.9235668182373,
- "z": "da62f736.168268",
+ "x": 2263.2012519836426,
+ "y": 3669.590229034424,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "4fdeeb7.8dcdb14",
- "635ad14e.3580b"
+ "831a8a0f.0dd228",
+ "2b3faeb4.a48ed2"
]
]
},
{
- "id": "dd39b21f.bbf38",
+ "id": "e0ad1a99.4afc98",
"type": "set",
"name": "RRMPolicyRatio id",
"xml": "<set>\n<parameter name='tmp.CUUPRRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />",
"comments": "",
- "x": 2018.25,
- "y": 3341,
- "z": "da62f736.168268",
+ "x": 2182.138885498047,
+ "y": 3457.6666622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "3b93f05.3eb1b1",
+ "id": "7d8bd7ea.d3c8b8",
"type": "execute",
"name": "remove sNSSAI from context",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUUPList['+$id-cuup+'].pLMNInfoList'`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
"comments": "",
"outputs": 1,
- "x": 1878.25,
- "y": 3698.75,
- "z": "da62f736.168268",
+ "x": 2042.1388854980469,
+ "y": 3815.4166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "9a1ff089.a405b",
+ "id": "bc9e3843.b4d938",
"type": "execute",
"name": "prepare updated PLMNInfo list",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.pLMNInfoList-CUUP\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBCUCPList['+$idz +'].cellCUList['+ $id-cuup +'].pLMNInfoList'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1887.6248626708984,
- "y": 3757.1874418258667,
- "z": "da62f736.168268",
+ "x": 2051.5137481689453,
+ "y": 3873.854104042053,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "eda4c4e8.16ea58",
+ "id": "a2f2dac8.2bb8b8",
"type": "execute",
"name": "read RRMPolicyMembers List",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPRRMPolicyMembersList' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyMemberList'`\" />",
"comments": "",
"outputs": 1,
- "x": 1877.7500457763672,
- "y": 3937.000234603882,
- "z": "da62f736.168268",
+ "x": 2041.638931274414,
+ "y": 4053.6668968200684,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "a13823ad.65203",
+ "id": "a0d3e29.b99a22",
"type": "execute",
"name": "remove sNSSAI from context",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$tmp.CUUPRRMPolicyMembersList`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
"comments": "",
"outputs": 1,
- "x": 1876.5000457763672,
- "y": 3982.5626735687256,
- "z": "da62f736.168268",
+ "x": 2040.388931274414,
+ "y": 4099.229335784912,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5f652628.9468d8",
+ "id": "7545b5bb.fec49c",
"type": "execute",
"name": "prepare updated RRMPolicyMember list",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.CellCURRMMembersList\" value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyMemberList'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1910.6248626708984,
- "y": 4034.0626125335693,
- "z": "da62f736.168268",
+ "x": 2074.5137481689453,
+ "y": 4150.729274749756,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "20dcb9bd.e2a956",
+ "id": "2bf11eaa.4763e2",
"type": "execute",
"name": "read PLMNList size",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`\" />",
"comments": "",
"outputs": 1,
- "x": 2015.9377517700195,
- "y": 4320.6251220703125,
- "z": "da62f736.168268",
+ "x": 2179.8266372680664,
+ "y": 4437.291784286499,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "4acc0f7.2614af",
+ "id": "172ed894.1d8ac7",
"type": "for",
"name": "foreach PLMNInfo",
"xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1994.271125793457,
- "y": 4390.6251220703125,
- "z": "da62f736.168268",
+ "x": 2158.160011291504,
+ "y": 4507.291784286499,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "fa70c58.9f27338"
+ "b8f3e108.9f7ed"
]
]
},
{
- "id": "fa70c58.9f27338",
+ "id": "b8f3e108.9f7ed",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2179.659912109375,
- "y": 4384.65283203125,
- "z": "da62f736.168268",
+ "x": 2343.548797607422,
+ "y": 4501.3194942474365,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5b178a6e.9e1474",
- "e8b239a3.ea6108",
- "624c26d3.2d93b8"
+ "ae6bd32.040153",
+ "3750602f.1207f",
+ "2a92610b.738c3e"
]
]
},
{
- "id": "624c26d3.2d93b8",
+ "id": "2a92610b.738c3e",
"type": "execute",
"name": "read sNSSAI from getNFNSSIRIC-configdb-response",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 2545.7989196777344,
- "y": 4269.87530708313,
- "z": "da62f736.168268",
+ "x": 2709.6878051757812,
+ "y": 4386.541969299316,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5b178a6e.9e1474",
+ "id": "ae6bd32.040153",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2415.5489196777344,
- "y": 4337.875185012817,
- "z": "da62f736.168268",
+ "x": 2579.4378051757812,
+ "y": 4454.541847229004,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "e8b239a3.ea6108",
+ "id": "3750602f.1207f",
"type": "switchNode",
"name": "is NSSAI exists",
"xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2410.6878356933594,
- "y": 4411.180850982666,
- "z": "da62f736.168268",
+ "x": 2574.5767211914062,
+ "y": 4527.8475131988525,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "35abfb0c.e67654"
+ "f7a5a594.2f2708"
]
]
},
{
- "id": "35abfb0c.e67654",
+ "id": "f7a5a594.2f2708",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2580.1599731445312,
- "y": 4437.653020858765,
- "z": "da62f736.168268",
+ "x": 2744.048858642578,
+ "y": 4554.319683074951,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "72b1fbfe.4fa0d4"
+ "4b99aec5.45498"
]
]
},
{
- "id": "4b70a51a.898acc",
+ "id": "f5f4e46a.0c8e38",
"type": "execute",
"name": "prepare sNSSAI",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deletePLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deletePLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 3039.6875,
- "y": 4860.3125,
- "z": "da62f736.168268",
+ "x": 3203.576385498047,
+ "y": 4976.9791622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "478d81fe.50e29",
+ "id": "ab6c8152.d016f",
"type": "set",
"name": "Read RRMPolicy Member List Length",
"xml": "<set>\n<parameter name='tmp.DURRMPolicyMembersLength' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList_length'`\" />",
"comments": "",
- "x": 3650,
- "y": 5518.4375,
- "z": "da62f736.168268",
+ "x": 3813.888885498047,
+ "y": 5635.1041622161865,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "e85c75c9.5a5208",
+ "id": "a3778dfc.3c17b",
"type": "for",
"name": "for each rrmpolicyMember",
"xml": "<for index='iddu-rrm2' start='0' end='`$tmp.DURRMPolicyMembersLength`' >\n",
"comments": "",
"outputs": 1,
- "x": 3630.972183227539,
- "y": 5561.215363025665,
- "z": "da62f736.168268",
+ "x": 3794.861068725586,
+ "y": 5677.882025241852,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "66fd7b92.f2b364"
+ "1c11.362913efca"
]
]
},
{
- "id": "66fd7b92.f2b364",
+ "id": "1c11.362913efca",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3847.638984680176,
- "y": 5557.326507568359,
- "z": "da62f736.168268",
+ "x": 4011.5278701782227,
+ "y": 5673.993169784546,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "65816dd6.dac814",
- "bd35e5d4.1bc928",
- "77f9b6fc.97a688",
- "dc69ba2d.6eaf38",
- "7c2d39af.fe93c8"
+ "d788c4ea.2680a8",
+ "d9589d3.9d1046",
+ "90cbedb9.56af4",
+ "a2f1007f.bb643",
+ "81d17f68.5545a"
]
]
},
{
- "id": "65816dd6.dac814",
+ "id": "d788c4ea.2680a8",
"type": "switchNode",
"name": "if length > 0 ",
"xml": "<switch test='`$tmp.DURRMPolicyMembersLength`>0'>\n",
"comments": "",
"outputs": 1,
- "x": 4005.556137084961,
- "y": 5539.965368270874,
- "z": "da62f736.168268",
+ "x": 4169.445022583008,
+ "y": 5656.632030487061,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "19e9fe36.11e9a2",
- "800d1eb2.1d967"
+ "1c239ad.9353065",
+ "eadfadc4.ac4f5"
]
]
},
{
- "id": "19e9fe36.11e9a2",
+ "id": "1c239ad.9353065",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4148.472393035889,
- "y": 5498.020584106445,
- "z": "da62f736.168268",
+ "x": 4312.361278533936,
+ "y": 5614.687246322632,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "d674ab54.619858"
+ "7837475d.836b28"
]
]
},
{
- "id": "d674ab54.619858",
+ "id": "7837475d.836b28",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4315.1388511657715,
- "y": 5498.021043777466,
- "z": "da62f736.168268",
+ "x": 4479.027736663818,
+ "y": 5614.687705993652,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "dcb12e26.7b884"
+ "5230b458.39bbcc"
]
]
},
{
- "id": "dcb12e26.7b884",
+ "id": "5230b458.39bbcc",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 4162.916732788086,
- "y": 5376.909779310226,
- "z": "da62f736.168268",
+ "x": 4326.805618286133,
+ "y": 5493.576441526413,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "1673f63a.56783a",
- "3b2a37e4.95eaf8"
+ "5f6410eb.6889d",
+ "41dae099.daaa5"
]
]
},
{
- "id": "1673f63a.56783a",
+ "id": "5f6410eb.6889d",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 4406.250473022461,
- "y": 5392.798458099365,
- "z": "da62f736.168268",
+ "x": 4570.139358520508,
+ "y": 5509.465120315552,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "bfd03325.53f88"
+ "2487d875.4dc6b8"
]
]
},
{
- "id": "3b2a37e4.95eaf8",
+ "id": "41dae099.daaa5",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 4397.093982696533,
- "y": 5433.242741584778,
- "z": "da62f736.168268",
+ "x": 4560.98286819458,
+ "y": 5549.909403800964,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "83c86bbb.232de8"
+ "7c49ff75.eeeb6"
]
]
},
{
- "id": "bfd03325.53f88",
+ "id": "2487d875.4dc6b8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4587.638893127441,
- "y": 5394.132058143616,
- "z": "da62f736.168268",
+ "x": 4751.527778625488,
+ "y": 5510.798720359802,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "1cc68b31.5cd4b5"
+ "76804628.441888"
]
]
},
{
- "id": "1cc68b31.5cd4b5",
+ "id": "76804628.441888",
"type": "execute",
"name": "delete RRMPolicyRatio DU- URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4872.916603088379,
- "y": 5391.354335784912,
- "z": "da62f736.168268",
+ "x": 5036.805488586426,
+ "y": 5508.020998001099,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "590f74e.06aca8c",
+ "id": "b221c7c0.9abf48",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyRatio.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4884.027862548828,
- "y": 5434.6876974105835,
- "z": "da62f736.168268",
+ "x": 5047.916748046875,
+ "y": 5551.35435962677,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "5b0bc885.6064d8",
+ "id": "74ddc161.83683",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 4808.47208404541,
- "y": 5470.243179321289,
- "z": "da62f736.168268",
+ "x": 4972.360969543457,
+ "y": 5586.909841537476,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "83c86bbb.232de8",
+ "id": "7c49ff75.eeeb6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4578.749969482422,
- "y": 5436.354096412659,
- "z": "da62f736.168268",
+ "x": 4742.638854980469,
+ "y": 5553.020758628845,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "590f74e.06aca8c",
- "5b0bc885.6064d8"
+ "b221c7c0.9abf48",
+ "74ddc161.83683"
]
]
},
{
- "id": "800d1eb2.1d967",
+ "id": "eadfadc4.ac4f5",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4152.1875,
- "y": 5569.6875,
- "z": "da62f736.168268",
+ "x": 4316.076385498047,
+ "y": 5686.3541622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "cf340f9a.13c29"
+ "3b76515c.851ade"
]
]
},
{
- "id": "cf340f9a.13c29",
+ "id": "3b76515c.851ade",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4337.854583740234,
- "y": 5558.020818710327,
- "z": "da62f736.168268",
+ "x": 4501.743469238281,
+ "y": 5674.687480926514,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "5f6bbc21.45a984",
- "450a1dab.66c234"
+ "c172d021.f515f",
+ "a91c78a6.87ed58"
]
]
},
{
- "id": "5f6bbc21.45a984",
+ "id": "c172d021.f515f",
"type": "set",
"name": "Read RRMPolicyMember-sNSSA",
"xml": "<set>\n<parameter name='tmp.cellDURRMPolicyMember_sNSSAI' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].sNSSAI'`\" />",
"comments": "",
- "x": 4631.493957519531,
- "y": 5516.9105587005615,
- "z": "da62f736.168268",
+ "x": 4795.382843017578,
+ "y": 5633.577220916748,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "450a1dab.66c234",
+ "id": "a91c78a6.87ed58",
"type": "switchNode",
"name": "find matching RRMPolicyMember",
"xml": "<switch test='`$tmp.cellDURRMPolicyMember_sNSSAI==$tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 4629.131988525391,
- "y": 5561.90962600708,
- "z": "da62f736.168268",
+ "x": 4793.0208740234375,
+ "y": 5678.576288223267,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "a064e974.6a26c8"
+ "bbd935a7.b37938"
]
]
},
{
- "id": "a064e974.6a26c8",
+ "id": "bbd935a7.b37938",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4859.96533203125,
- "y": 5566.35400390625,
- "z": "da62f736.168268",
+ "x": 5023.854217529297,
+ "y": 5683.0206661224365,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9795e8e6.5f4758"
+ "26b29c69.c8fda4"
]
]
},
{
- "id": "9795e8e6.5f4758",
+ "id": "26b29c69.c8fda4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5083.576171875,
- "y": 5563.020751953125,
- "z": "da62f736.168268",
+ "x": 5247.465057373047,
+ "y": 5679.6874141693115,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "b0ab9f0f.045ee",
- "58c93fd8.865cc",
- "38d6a4a.628eb5c"
+ "15f75912.238567",
+ "f030a787.47d218",
+ "265be62b.1619fa"
]
]
},
{
- "id": "b0ab9f0f.045ee",
+ "id": "15f75912.238567",
"type": "set",
"name": "Read RRMPolicyMember-id",
"xml": "<set>\n<parameter name='tmp.CellDURRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList['+ $iddu-rrm2 +'].idx'`\" />",
"comments": "",
- "x": 5349.242904663086,
- "y": 5530.798638343811,
- "z": "da62f736.168268",
+ "x": 5513.131790161133,
+ "y": 5647.465300559998,
+ "z": "5d875c6b.4b4c54",
"wires": []
},
{
- "id": "38d6a4a.628eb5c",
+ "id": "265be62b.1619fa",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyMember id - \"/>\n<parameter name=\"field2\" value=\"`$tmp.CellDURRMPolicyMember_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 5300.90283203125,
- "y": 5578.6806640625,
- "z": "da62f736.168268",
+ "x": 5464.791717529297,
+ "y": 5695.3473262786865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "58c93fd8.865cc",
+ "id": "f030a787.47d218",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 5306.464912414551,
- "y": 5626.354303359985,
- "z": "da62f736.168268",
+ "x": 5470.353797912598,
+ "y": 5743.020965576172,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "6ccc086f.a41478",
- "ec0ce7b0.278738"
+ "a4376ce5.14551",
+ "b578a560.c8ff98"
]
]
},
{
- "id": "6ccc086f.a41478",
+ "id": "a4376ce5.14551",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 5549.798973083496,
- "y": 5625.576327323914,
- "z": "da62f736.168268",
+ "x": 5713.687858581543,
+ "y": 5742.2429895401,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "9974a833.ce9ab8"
+ "e46c3cff.35fe7"
]
]
},
{
- "id": "ec0ce7b0.278738",
+ "id": "b578a560.c8ff98",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 5540.642387390137,
- "y": 5677.131721496582,
- "z": "da62f736.168268",
+ "x": 5704.531272888184,
+ "y": 5793.798383712769,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "8a646bfe.add958"
+ "3399b4c5.e6721c"
]
]
},
{
- "id": "9974a833.ce9ab8",
+ "id": "e46c3cff.35fe7",
"type": "execute",
"name": "generate deleteRRMPolicyMember.ToNRCellDU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 5878.686820983887,
- "y": 5623.0208377838135,
- "z": "da62f736.168268",
+ "x": 6042.575706481934,
+ "y": 5739.6875,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "8a646bfe.add958",
+ "id": "3399b4c5.e6721c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 5707.576240539551,
- "y": 5674.68755531311,
- "z": "da62f736.168268",
+ "x": 5871.465126037598,
+ "y": 5791.354217529297,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "75c18765.25f078",
- "ac37608.aa778a"
+ "a5ed56e4.8b7cf8",
+ "412dffaf.717f3"
]
]
},
{
- "id": "75c18765.25f078",
+ "id": "a5ed56e4.8b7cf8",
"type": "execute",
"name": "generate deleteRRMPolicyRatio.ToNRCellCU URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.removeRRMPolicyMember.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 6007.853950500488,
- "y": 5668.576763153076,
- "z": "da62f736.168268",
+ "x": 6171.742835998535,
+ "y": 5785.243425369263,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "ac37608.aa778a",
+ "id": "412dffaf.717f3",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 5927.853668212891,
- "y": 5727.465179443359,
- "z": "da62f736.168268",
+ "x": 6091.7425537109375,
+ "y": 5844.131841659546,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "bd35e5d4.1bc928",
+ "id": "d9589d3.9d1046",
"type": "execute",
"name": "prepare idGNBDUFunction",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4181.250144958496,
- "y": 5612.188266277313,
- "z": "da62f736.168268",
+ "x": 4345.139030456543,
+ "y": 5728.8549284935,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "77f9b6fc.97a688",
+ "id": "90cbedb9.56af4",
"type": "execute",
"name": "prepare idNRCellCU",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4153.75008392334,
- "y": 5645.438236713409,
- "z": "da62f736.168268",
+ "x": 4317.638969421387,
+ "y": 5762.104898929596,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "dc69ba2d.6eaf38",
+ "id": "a2f1007f.bb643",
"type": "execute",
"name": "prepare RRMPolicyRatio id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDURRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4177.188026428223,
- "y": 5680.000768184662,
- "z": "da62f736.168268",
+ "x": 4341.0769119262695,
+ "y": 5796.667430400848,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "7c2d39af.fe93c8",
+ "id": "81d17f68.5545a",
"type": "execute",
"name": "prepare RRMPolicyMember id",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.deleteRRMPolicyRatio-DU.url\"/>\n <parameter name=\"target\" value=\"{idx}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDURRMPolicyMember_sNSSAI`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 4184.68758392334,
- "y": 5715.750737667084,
- "z": "da62f736.168268",
+ "x": 4348.576469421387,
+ "y": 5832.41739988327,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "734b37a6.ac7cf8",
+ "id": "1dbf0a7e.210a96",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/terminateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Delete RRMPolicy URL - \"/>\n<parameter name=\"field2\" value=\"`$tmp.deleteRRMPolicyRatio-DU.url`\"/>\n<parameter name=\"field3\" value=\"RRMPolicyRatio id\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDURRMPolicyRatio_id`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3547.535189628601,
- "y": 5708.612829208374,
- "z": "da62f736.168268",
+ "x": 3711.424075126648,
+ "y": 5825.279491424561,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "3c1e8267.b4f8fe",
+ "id": "5daf7f84.24d9d",
"type": "execute",
"name": "Terminate NRCellDU - RRMPolicyRatio",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.deleteRRMPolicyRatio-DU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"DELETE\"/>\n<parameter name=\"responsePrefix\" value=\"delete-cellDU-RRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3619.812530517578,
- "y": 5781.862342834473,
- "z": "da62f736.168268",
+ "x": 3783.701416015625,
+ "y": 5898.529005050659,
+ "z": "5d875c6b.4b4c54",
"wires": [
[
- "78448d12.dce7b4",
- "b77e4296.a4ab5"
+ "e7e90fb8.db687",
+ "a22a04f6.640d18"
]
]
},
{
- "id": "59b4ea74.9d06d4",
+ "id": "490de212.f261fc",
"type": "execute",
"name": "remove sNSSAI from context",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBDUList['+$id-du +'].cellCUList['+ $id-celldu +'].pLMNInfoList'`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
"comments": "",
"outputs": 1,
- "x": 3199.6875,
- "y": 5817.1875,
- "z": "da62f736.168268",
+ "x": 3363.576385498047,
+ "y": 5933.8541622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "6b7c5e5f.28631",
+ "id": "2798ec67.4d5e74",
"type": "execute",
"name": "prepare updated PLMNInfo list",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.ceLLDUpLMNInfoList\" value=\"`'$getNFNSSIRIC-configdb-response.[' +$idy +'].gNBDUList['+$id-du +'].cellCUList['+ $id-celldu +'].pLMNInfoList'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3209.0623626708984,
- "y": 5875.624941825867,
- "z": "da62f736.168268",
+ "x": 3372.9512481689453,
+ "y": 5992.291604042053,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "2fdf003a.ff7bd",
+ "id": "f64e2531.bfe9d8",
"type": "execute",
"name": "read RRMPolicyMembers List",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellDURRMPolicyMembersList' />\n\t<parameter name='source' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList'`\" />",
"comments": "",
"outputs": 1,
- "x": 3199.6875,
- "y": 6019.6875,
- "z": "da62f736.168268",
+ "x": 3363.576385498047,
+ "y": 6136.3541622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "ee315155.36298",
+ "id": "bb5ea2d5.54a8",
"type": "execute",
"name": "remove sNSSAI from context",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='ctxListRemove' >\n<parameter name=\"list_pfx\" value=\"`$tmp.NRCellDURRMPolicyMembersList`\" />\n<parameter name=\"value\" value=\"`$tmp.sNSSAI`\" />",
"comments": "",
"outputs": 1,
- "x": 3198.4373474121094,
- "y": 6071.25,
- "z": "da62f736.168268",
+ "x": 3362.3262329101562,
+ "y": 6187.9166622161865,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "778a736d.50fb1c",
+ "id": "2c3ebac3.2ff846",
"type": "execute",
"name": "prepare updated RRMPolicyMember list",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.CellDURRMMembersList\" value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].attributes.rRMPolicyMemberList'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 3206.562210083008,
- "y": 6123.749934196472,
- "z": "da62f736.168268",
+ "x": 3370.4510955810547,
+ "y": 6240.416596412659,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "36cfb15f.b2ef8e",
+ "id": "a0ff73b.d53929",
"type": "execute",
"name": "prepare updated PLMNInfo list",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue' >\n<parameter name=\"tmp.pLMNInfoList-RIC\" value=\"`'$getNearRTRICById-configdb-response.pLMNInfoList'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1035.9375305175781,
- "y": 1002.1875247955322,
- "z": "da62f736.168268",
+ "x": 1199.826416015625,
+ "y": 1118.8541870117188,
+ "z": "5d875c6b.4b4c54",
"wires": [
[]
]
},
{
- "id": "b01e9ff8.9fdcb",
+ "id": "fa5127b8.c6a188",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
"comments": "",
- "x": 189.5833339691162,
- "y": 1645.8333644866943,
- "z": "da62f736.168268",
+ "x": 353.4722194671631,
+ "y": 1762.5000267028809,
+ "z": "5d875c6b.4b4c54",
"wires": []
}
] \ No newline at end of file
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml
index c77357cf..e85db3d3 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml
@@ -129,7 +129,7 @@
<parameter name="responsePrefix" value="so-callback-activate-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -392,7 +392,7 @@
<parameter name="responsePrefix" value="so-callback-activate-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -585,7 +585,7 @@
<parameter name="responsePrefix" value="so-callback-activate-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -779,7 +779,7 @@
<parameter name="responsePrefix" value="so-callback-activate-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -868,7 +868,7 @@
<parameter name="responsePrefix" value="so-callback-activate-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
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 956018be..87c9c461 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
@@ -141,17 +141,30 @@
<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>
+ <switch test='`$tmp.payload.pLMNId`'>
+ <outcome value=''>
+ <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="It is allocate-modify flow. PLMNId is null"/>
+ </record>
+ </outcome>
+ <outcome value='Other'>
+ <block atomic="true">
+ <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>
+ </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" />
@@ -189,17 +202,30 @@
<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>
+ <switch test='`$tmp.payload.pLMNId`'>
+ <outcome value=''>
+ <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="It is allocate-modify flow. PLMNId is null"/>
+ </record>
+ </outcome>
+ <outcome value='Other'>
+ <block atomic="true">
+ <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>
+ </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" />
@@ -237,17 +263,30 @@
<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>
+ <switch test='`$tmp.payload.pLMNId`'>
+ <outcome value=''>
+ <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="It is allocate-modify flow. PLMNId is null"/>
+ </record>
+ </outcome>
+ <outcome value='Other'>
+ <block atomic="true">
+ <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>
+ </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" />
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 46228255..3d5f6768 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
@@ -64,7 +64,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
@@ -168,7 +168,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
@@ -422,7 +422,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
@@ -719,7 +719,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
@@ -864,7 +864,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
@@ -948,7 +948,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
@@ -1022,7 +1022,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
@@ -1288,7 +1288,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
@@ -1432,7 +1432,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
@@ -1512,7 +1512,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
@@ -1595,7 +1595,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
@@ -1915,7 +1915,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
@@ -2234,7 +2234,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
@@ -2351,7 +2351,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
@@ -2422,7 +2422,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml
index be9ad2de..21571e92 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceModifyAllocate.xml
@@ -4,6 +4,15 @@
<method rpc='instantiateRANSliceModifyAllocate' mode='sync'>
<block atomic='true'>
<block atomic='true'>
+ <set>
+ <parameter name='tmp.payload.globalCustomerId' value='`$payloadJson.input.globalCustomerId`'/>
+ </set>
+ <set>
+ <parameter name='tmp.serviceType' value='`$payloadJson.input.serviceType`'/>
+ </set>
+ <set>
+ <parameter name='tmp.sNSSAI' value='`$tmp.payload.sNSSAI`'/>
+ </set>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
<parameter name="source" value="`$prop.restapi.configdb.getNearRTRICByNSSI`"/>
<parameter name="outputPath" value="tmp.configdb.getNearRTRICByNSSI.url"/>
@@ -56,7 +65,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -95,6 +104,211 @@
</outcome>
</execute>
</block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.configdb.getplmn`"/>
+ <parameter name="outputPath" value="tmp.configdb.getPLMNId.url"/>
+ <parameter name="target" value="{sliceProfileId}"/>
+ <parameter name="replacement" value="`$tmp.payload.sliceProfileId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Get PLMN from SliceProfileId URL: "/>
+ <parameter name="field2" value="`$tmp.configdb.getPLMNId.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getPLMNId.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getPLMN-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained PLMNId info from ConfigDB"/>
+ <parameter name="field2" value="`$getPLMN-configdb-response`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.pLMNId' value='`$getPLMN-configdb-response.plmnId`'/>
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
+ <parameter name="string" value="`$tmp.pLMNId`" />
+ <parameter name="result" value="tmp.mcc"/>
+ <parameter name="begin-index" value="0" />
+ <parameter name="end-index" value="3" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>
+ <parameter name="string" value="`$tmp.pLMNId`" />
+ <parameter name="result" value="tmp.mnc"/>
+ <parameter name="begin-index" value="4" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="`$tmp.pLMNId`"/>
+ <parameter name="field2" value="`$tmp.mcc`"/>
+ <parameter name="field3" value="`$tmp.mnc`"/>
+ </record>
+ </block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.aai.fetchSliceProfile`"/>
+ <parameter name="outputPath" value="tmp.aai.fetchSliceProfile.url"/>
+ <parameter name="target" value="{global-customer-id}"/>
+ <parameter name="replacement" value="`$tmp.payload.globalCustomerId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.aai.fetchSliceProfile.url`"/>
+ <parameter name="outputPath" value="tmp.aai.fetchSliceProfile.url"/>
+ <parameter name="target" value="{service-type}"/>
+ <parameter name="replacement" value="`$tmp.serviceType`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.aai.fetchSliceProfile.url`"/>
+ <parameter name="outputPath" value="tmp.aai.fetchSliceProfile.url"/>
+ <parameter name="target" value="{service-instance-id}"/>
+ <parameter name="replacement" value="`$tmp.payload.RANNFNSSIId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.aai.fetchSliceProfile.url`"/>
+ <parameter name="outputPath" value="tmp.aai.fetchSliceProfile.url"/>
+ <parameter name="target" value="{profile-id}"/>
+ <parameter name="replacement" value="`$tmp.payload.sliceProfileId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Get coverageAreaTAList URL: "/>
+ <parameter name="field2" value="`$tmp.aai.fetchSliceProfile.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.org.onap.ccsdk.sli.adaptors.aai.uri + $tmp.aai.fetchSliceProfile.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="get-coverageAreaTAList-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 atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved coverageAreaTAList"/>
+ <parameter name="field2" value="`$get-coverageAreaTAList-response`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Getting Info from AAI. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="`$tmp.pLMNId`"/>
+ <parameter name="field2" value="`$tmp.mcc`"/>
+ <parameter name="field3" value="`$tmp.mnc`"/>
+ </record>
+ </block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.configdb.getListOfCells`"/>
+ <parameter name="outputPath" value="tmp.configdb.getListOfCells.url"/>
+ <parameter name="target" value="{trackingArea}"/>
+ <parameter name="replacement" value="`$tmp.payload.trackingArea`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for configDB Get getListOfCells for tracking area"/>
+ <parameter name='field2' value="`$prop.configdb.url + $tmp.configdb.getListOfCells.url`" />
+ <parameter name='field3' value="`$tmp.payload.trackingArea`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getListOfCells.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getListofCells-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained List of Cells from ConfigDB"/>
+ <parameter name="field2" value="`$getListofCells-configdb-response._length`"/>
+ <parameter name="field3" value="List of Cells in the Tracking Area Relevant for RAN Slice Instantiation "/>
+ </record>
+ <for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.trackingarea.cell' />
+ <parameter name='source' value="`'getListofCells-configdb-response.[' + $idx + ']'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="`$tmp.trackingarea.cell`"/>
+ </record>
+ </for>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ </block>
<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
@@ -107,6 +321,7 @@
</execute>
<set>
<parameter name='tmp.ranNFNSSIListEntry' value="`$payloadJson.input.RANNFNSSIId`"/>
+ <parameter name='tmp.payload.pLMNId' value="`$tmp.pLMNId`"/>
</set>
<set>
<parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />
@@ -198,31 +413,24 @@
</execute>
<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >
<block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.pLMNInfoList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`" />
- </execute>
- <for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >
+ <for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.configDBSNSSAI' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`" />
+ <parameter name='outputPath' value='tmp.cellCULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
</execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
- <parameter name="field2" value="`$tmp.configDBSNSSAI`"/>
- <parameter name="field3" value="sNSSAI from request"/>
- <parameter name="field4" value="`$tmp.sNSSAI`"/>
- </record>
- <switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCU2' />
+ <parameter name='source' value="`'getListofCells-configdb-response.[' + $id-ta + ']'`" />
+ </execute>
+ <switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>
<outcome value='true'>
<block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="CellCU is applicable for the NSSAI "/>
+ <parameter name="field1" value="`$tmp.cellCULocalId`"/>
+ <parameter name="field2" value="CellCU is applicable for the NSSAI "/>
</record>
<switch test='`$prop.ransim-mounted`'>
<outcome value='false'>
@@ -250,10 +458,6 @@
</block>
</outcome>
</switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCULocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
- </execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
<parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
<parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
@@ -335,7 +539,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -369,17 +573,30 @@
</block>
</outcome>
</execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
+ <parameter name='prefixKey' value='tmp.CUCPList.response' />
+ <parameter name='keyName' value='gNBCUName' />
+ <parameter name='keyValue' value="`$tmp.CUCPName`"/>
+ </execute>
<block atomic='true'>
<set>
<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />
+ </set>
+ <set>
<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />
+ </set>
+ <set>
<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="RRMPolicyRatio for this profile is - "/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellCU`"/>
+ <parameter name="field1" value="RRMPolicyRatio temp1 - "/>
+ <parameter name="field2" value="`$tmp.maxNumberOfConnsPercellCU`"/>
+ <parameter name="field3" value="RRMPolicyRatio temp2 - "/>
+ <parameter name="field4" value="`$tmp.rRMPolicyDedicatedRatio.CellCU1`"/>
+ <parameter name="field5" value="RRMPolicyRatio for this profile is - "/>
+ <parameter name="field6" value="`$tmp.rRMPolicyDedicatedRatio_SliceProfile`"/>
</record>
<switch test='`$prop.ransim-mounted`'>
<outcome value='false'>
@@ -465,7 +682,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -502,10 +719,9 @@
</block>
</outcome>
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyRatioList_length' />
- <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length '`" />
- </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioList_length' value='`$get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length`'/>
+ </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
@@ -514,10 +730,21 @@
</record>
<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >
<block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatiocellCU_old' />
+ <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
+ </execute>
<set>
- <parameter name='tmp.rrmPolicyDedicatedRatio_cellCU' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
- <parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value="`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`" />
+ <parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_new' value='`$tmp.rrmPolicyDedicatedRatiocellCU_old + $tmp.rRMPolicyDedicatedRatio_SliceProfile`' />
</set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Existing RRMPolicyRatio for CellCU is - "/>
+ <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatiocellCU_old`"/>
+ <parameter name="field3" value="Updated RRMPolicyRatio for CellCU is - "/>
+ <parameter name="field4" value="`$tmp.rrmPolicyDedicatedRatio_CellCU_new`"/>
+ </record>
<switch test='`$prop.ransim-mounted`'>
<outcome value='false'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
@@ -544,17 +771,38 @@
</block>
</outcome>
</switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idGNBCUCPFunction}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio.url"/>
+ <parameter name="target" value="{idNRCellCU}"/>
+ <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyMembers' />
+ <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
+ <parameter name='source' value="`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`" />
+ </execute>
<set>
- <parameter name='tmp.RRMPolicyRatio_id' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`" />
- </set>
- <set>
- <parameter name='tmp.RRMPolicyMember_id' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`" />
+ <parameter name='tmp.RRMPolicyMember_id' value='`$tmp.rrmPolicyMembers+1`'/>
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Updated RRMPolicyRatio for CellCU is - "/>
- <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatio_updated`"/>
+ <parameter name="field1" value="RRMPolicyRatio_id is - "/>
+ <parameter name="field2" value="`$tmp.RRMPolicyRatio_id`"/>
+ <parameter name="field3" value="RRMPolicyMember_id - "/>
+ <parameter name="field4" value="`$tmp.RRMPolicyMember_id`"/>
+ <parameter name="field5" value="RRMPolicyRatio update URL is - "/>
+ <parameter name="field6" value="`$tmp.getRRMPolicyRatio.url`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
@@ -573,6 +821,19 @@
<parameter name="level" value="info" />
<parameter name="field1" value="Successfully Patched - cellCU RRMpolicyRatio"/>
</record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>
+ </return>
<block atomic='true'>
<set>
<parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
@@ -598,7 +859,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -622,24 +883,40 @@
</block>
</block>
</outcome>
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
</execute>
</block>
</for>
</block>
<block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Config DB update"/>
+ </record>
+ <set>
+ <parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>
+ <parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
+ <parameter name='tmp.gNBCUCPList.gNBCUName' value='`$tmp.CUCPName`'/>
+ <parameter name='tmp.gNBCUCPList.gNBId' value='`$tmp.gNBId`'/>
+ <parameter name='tmp.gNBCUCPList.nFType' value='RRC Connected Users'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="cellLocalId"/>
+ <parameter name="field2" value="`$tmp.cellLocalId`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field5" value="maxNumberOfConns"/>
+ <parameter name="field6" value="`$tmp.maxNumberOfConns`"/>
+ <parameter name="field7" value="gNBCUName"/>
+ <parameter name="field8" value="`$tmp.gNBCUCPList.gNBCUName`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBCUCPList.gNBId`"/>
+ <parameter name="field11" value="nFType"/>
+ <parameter name="field12" value="`$tmp.gNBCUCPList.nFType`"/>
+ </record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
<parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updategNBCUCP`"/>
<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUCP.json'`" />
@@ -685,7 +962,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -719,6 +996,78 @@
</block>
</outcome>
</execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.configdb.getRRMPolicyRatio`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceType}"/>
+ <parameter name="replacement" value="RRC Connected Users"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceId}"/>
+ <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="get RRMPolicyby Resource URL"/>
+ <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getrrmpolicyratioinfo-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>
+ <parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>
+ <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>
+ <parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfo-configdb-response.rrmPolicyID`'/>
+ <parameter name='tmp.resourceID' value='`$tmp.cellCULocalId`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellCU`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field5" value="sNSSAI"/>
+ <parameter name="field6" value="`$tmp.sNSSAI`"/>
+ <parameter name="field7" value="rrmPolicyID"/>
+ <parameter name="field8" value="`$prop.configDB.rrmPolicyID`"/>
+ <parameter name="field9" value="resourceID"/>
+ <parameter name="field10" value="`$tmp.resourceID`"/>
+ </record>
<execute plugin='org.onap.ccsdk.sli.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-CUCP.json'`" />
@@ -764,7 +1113,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -817,7 +1166,7 @@
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Number of CUCP List Entries "/>
+ <parameter name="field1" value="Number of CUUP List Entries "/>
<parameter name="field2" value="`$tmp.CUUPList_length`"/>
<parameter name="field3" value="for the NearRTRIC"/>
<parameter name="field4" value="`$tmp.nearRTRICId`"/>
@@ -834,54 +1183,472 @@
<parameter name="field1" value="idGNBCUUPFunction "/>
<parameter name="field2" value="`$tmp.idGNBCUUPFunction`"/>
</record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.pLMNInfoList' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`" />
- </execute>
- <for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>
- <block atomic='true'>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
+ <block atomic='true'>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`"/>
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/>
<parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
<parameter name="target" value="{idNearRTRIC}"/>
<parameter name="replacement" value="`$tmp.nearRTRICId`"/>
</execute>
- </outcome>
- <outcome value='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idGNBCUUPFunction}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mcc}"/>
+ <parameter name="replacement" value="`$tmp.mcc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="patch CUUP NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.idGNBCUUPFunction`"/>
+ <parameter name="field4" value="`$tmp.mcc`"/>
+ <parameter name="field5" value="`$tmp.mnc`"/>
+ <parameter name="field6" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-gNBCUUP-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
<block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />
+ </set>
+ <set>
+ <parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />
+ </set>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RRMPolicyRatio for this profile is - "/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio-CUUP`"/>
+ </record>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idGNBCUUPFunction}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
+ <parameter name='prefixKey' value='tmp.CUUPList.response' />
+ <parameter name='keyName' value='gNBCUUPId' />
+ <parameter name='keyValue' value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="get-rrmpolicyratio-cuup-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in fetching RRMPolicyRatio. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioList_CUUP_length' value='`$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUUP - RRMPolicyRatioList size"/>
+ <parameter name="field2" value="`$tmp.rrmPolicyRatioList_CUUP_length`"/>
+ </record>
+ <for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_CUUP' />
+ <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value="`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`" />
+ </set>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
<parameter name="target" value="{idNearRTRIC}"/>
<parameter name="replacement" value="`$tmp.nearRTRICId`"/>
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idGNBCUUPFunction}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
+ <parameter name="target" value="{idGNBCUUPFunction}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
+ <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyMembers-CUUP' />
+ <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
+ </execute>
+ <set>
+ <parameter name='tmp.RRMPolicyMember_id' value="`$tmp.rrmPolicyMembers-CUUP+1`" />
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Updated RRMPolicyRatio for CUUP is - "/>
+ <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`"/>
+ <parameter name="field3" value="RRMPolicyRatio_id is - "/>
+ <parameter name="field4" value="`$tmp.RRMPolicyRatio_id`"/>
+ <parameter name="field5" value="RRMPolicyMember_id CUUP is - "/>
+ <parameter name="field6" value="`$tmp.RRMPolicyMember_id`"/>
+ <parameter name="field7" value="Existing RRMPolicyMembers Length"/>
+ <parameter name="field8" value="`$tmp.rrmPolicyMembers-CUUP`"/>
+ <parameter name="field9" value="Update RRMPolicyRatio URL - "/>
+ <parameter name="field10" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="patch-CUUP-RRMPolicyRatio-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellCU RRMpolicyRatio"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </for>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Config DB update"/>
+ </record>
+ <set>
+ <parameter name='tmp.gNBCUUPList.gNBCUUPId' value='`$tmp.idGNBCUUPFunction`'/>
+ <parameter name='tmp.gNBCUUPList.gNBId' value='`$tmp.gNBId`'/>
+ <parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>
+ <parameter name='payloadJson.input.sliceProfile.sNSSAI' value='`$tmp.sNSSAI`'/>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI"/>
+ <parameter name="field2" value="`$payloadJson.input.sliceProfile.sNSSAI`"/>
+ <parameter name="field3" value="maxNumberOfConns"/>
+ <parameter name="field4" value="`$tmp.maxNumberOfConns`"/>
+ <parameter name="field5" value="gNBCUUPId"/>
+ <parameter name="field6" value="`$tmp.gNBCUUPList.gNBCUUPId`"/>
+ <parameter name="field7" value="pLMNId"/>
+ <parameter name="field8" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBCUUPList.gNBId`"/>
+ </record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="patch-gNBCUUP-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUUP.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="update-gNBCUUP-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block atomic='true'>
<block atomic='true'>
@@ -909,7 +1676,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -933,75 +1700,102 @@
</block>
<set>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error in updating Config DB - CUUP. Aborting RPC executiopn'/>
</set>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error updating CUUP-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
<outcome value='success'>
- <block atomic='true'>
+ <block>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
+ <parameter name="field1" value="Successfully updated ConfigDB - NRCellCU pLMNinfo "/>
</record>
</block>
</outcome>
</execute>
- <set>
- <parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />
- <parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />
- <parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />
- <parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />
- </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.configdb.getRRMPolicyRatio`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceType}"/>
+ <parameter name="replacement" value="DRB"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceId}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="RRMPolicyRatio for this profile is - "/>
- <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio-CUUP`"/>
+ <parameter name="field1" value="get RRMPolicyby Resource URL"/>
+ <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
</record>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getrrmpolicyratioinfo-cuup-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
+ </return>
+ </block>
</outcome>
- <outcome value='true'>
+ <outcome value='success'>
<block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
</execute>
</block>
</outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{idGNBCUUPFunction}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
</execute>
+ <set>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>
+ <parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>
+ <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>
+ <parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfo-cuup-configdb-response.rrmPolicyID`'/>
+ <parameter name='tmp.resourceID' value='`$tmp.idGNBCUUPFunction`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CUUP`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field5" value="sNSSAI"/>
+ <parameter name="field6" value="`$tmp.sNSSAI`"/>
+ <parameter name="field7" value="rrmPolicyID"/>
+ <parameter name="field8" value="`$prop.configDB.rrmPolicyID`"/>
+ <parameter name="field9" value="resourceID"/>
+ <parameter name="field10" value="`$tmp.resourceID`"/>
+ </record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="GET"/>
- <parameter name="responsePrefix" value="get-rrmpolicyratio-cuup-response"/>
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUUP.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="update-gNBCUUP-rrmpolicy-configdb-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
<parameter name='accept' value='application/json' />
@@ -1033,7 +1827,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1057,326 +1851,27 @@
</block>
<set>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>
</set>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
<parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in fetching RRMPolicyRatio. Aborting RPC executiopn'/>
+ <parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
</return>
</block>
</outcome>
<outcome value='success'>
- <block atomic='true'>
+ <block>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ <parameter name="field1" value="Successfully updated ConfigDB - CUUP RRMPolicyRatio "/>
</record>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
- </execute>
</block>
</outcome>
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyRatioList_CUUP_length' />
- <parameter name='source' value="`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length '`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="CUUP - RRMPolicyRatioList size"/>
- <parameter name="field2" value="`$tmp.tmp.rrmPolicyRatioList_CUUP_length`"/>
- </record>
- <for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >
- <block atomic='true'>
- <set>
- <parameter name='tmp.rrmPolicyDedicatedRatio_CUUP' value="`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
- <parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value="`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`" />
- </set>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.getRRMPolicyRatio-CUUP.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <set>
- <parameter name='tmp.RRMPolicyRatio_id' value="`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`" />
- </set>
- <set>
- <parameter name='tmp.RRMPolicyMember_id' value="`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`" />
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Updated RRMPolicyRatio for CUUP is - "/>
- <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="patch-CUUP-RRMPolicyRatio-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='success'>
- <block atomic='true'>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellCU RRMpolicyRatio"/>
- </record>
- </block>
- </outcome>
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- </execute>
- </block>
- </for>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/restapi.configDB.updategNBCUUP.templatefile'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-gNBCUUP-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully updated ConfigDB - NRCellCU pLMNinfo "/>
- </record>
- </block>
- </outcome>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`"/>
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/restapi.configDB.updateRRMPolicy.CUUP.templatefile'`" />
- <parameter name="httpMethod" value="PUT"/>
- <parameter name="responsePrefix" value="update-gNBCUUP-rrmpolicy-configdb-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block atomic='true'>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-modify-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully updated ConfigDB - CUUP RRMPolicyRatio "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
</block>
- </for>
+ </block>
</block>
</for>
</block>
@@ -1410,26 +1905,18 @@
<parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`" />
</execute>
<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >
- <block>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`" />
- </execute>
- <for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >
+ <block atomic='true'>
+ <for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`" />
+ <parameter name='outputPath' value='tmp.cellCULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" />
</execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
- <parameter name="field2" value="`$tmp.configDBSNSSAI-DU`"/>
- <parameter name="field3" value="sNSSAI from request"/>
- <parameter name="field4" value="`$tmp.sNSSAI`"/>
- </record>
- <switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCU2' />
+ <parameter name='source' value="`'getListofCells-configdb-response.[' + $id-ta + ']'`" />
+ </execute>
+ <switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>
<outcome value='true'>
<block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
@@ -1465,7 +1952,7 @@
</switch>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.cellDULocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`" />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" />
</execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
<parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
@@ -1477,7 +1964,7 @@
<parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
<parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
<parameter name="target" value="{idNRCellDU}"/>
- <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
+ <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
</execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
<parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
@@ -1539,7 +2026,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1582,6 +2069,11 @@
</block>
</outcome>
</execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>
+ <parameter name='prefixKey' value='tmp.DUList.response' />
+ <parameter name='keyName' value='gNBDUId' />
+ <parameter name='keyValue' value="`$tmp.GNBDUId`"/>
+ </execute>
<block atomic='true'>
<block atomic='true'>
<set>
@@ -1633,6 +2125,12 @@
<parameter name="field14" value="`$tmp.rRMPolicyDedicatedRatio.CellDU1`"/>
</record>
</block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Calculated RRMPolicyRatio"/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
+ </record>
<switch test='`$prop.ransim-mounted`'>
<outcome value='false'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
@@ -1671,6 +2169,12 @@
<parameter name="target" value="{idNRCellDU}"/>
<parameter name="replacement" value="`$tmp.cellDULocalId`"/>
</execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="idNRCellDU"/>
+ <parameter name="field2" value="`$tmp.cellDULocalId`"/>
+ </record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
<parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`"/>
<parameter name="restapiUser" value="`$prop.controller.user`" />
@@ -1708,7 +2212,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1754,21 +2258,23 @@
</block>
</outcome>
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />
- <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length '`" />
- </execute>
+ <set>
+ <parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length`'/>
+ </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
<parameter name="field1" value="RRMPolicyRatioList size"/>
- <parameter name="field2" value="`$tmp.rrmPolicyRatioList_length`"/>
+ <parameter name="field2" value="`$tmp.rrmPolicyRatioDUList_length`"/>
</record>
<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >
<block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellDU-old' />
+ <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
+ </execute>
<set>
- <parameter name='tmp.rrmPolicyDedicatedRatio_cellDU' value="`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`" />
- <parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value="`$tmp.rrmPolicyDedicatedRatio_cellDU + $tmp.rRMPolicyDedicatedRatio.CellDU`" />
+ <parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value="`$tmp.rrmPolicyDedicatedRatio_cellDU-old + $tmp.rRMPolicyDedicatedRatio.CellDU`" />
</set>
<switch test='`$prop.ransim-mounted`'>
<outcome value='false'>
@@ -1796,17 +2302,38 @@
</block>
</outcome>
</switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />
+ <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idGNBDUFunction}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.getRRMPolicyRatio-gNBDU.url`"/>
+ <parameter name="outputPath" value="tmp.getRRMPolicyRatio-gNBDU.url"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.RRMPolicyMembersDU_Length' />
+ <parameter name='source' value="`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`" />
+ </execute>
<set>
- <parameter name='tmp.RRMPolicyRatio_id' value="`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`" />
- </set>
- <set>
- <parameter name='tmp.RRMPolicyMember_id' value="`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`" />
+ <parameter name='tmp.RRMPolicyMember_id' value="`$tmp.RRMPolicyMembersDU_Length+1`" />
</set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Updated RRMPolicyRatio for CellCU is - "/>
- <parameter name="field2" value="`$tmp.rrmPolicyDedicatedRatio_updated`"/>
+ <parameter name="field1" value="RRMPolicyRatioid - "/>
+ <parameter name="field2" value="`$tmp.RRMPolicyRatio_id`"/>
+ <parameter name="field3" value="RRMPolicyMemberid- "/>
+ <parameter name="field4" value="`$tmp.RRMPolicyMember_id`"/>
+ <parameter name="field5" value="Updated RRMPolicyRatio for CellDU is - "/>
+ <parameter name="field6" value="`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
<parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`" />
@@ -1854,7 +2381,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1892,9 +2419,37 @@
</for>
</block>
<block atomic='true'>
+ <set>
+ <parameter name='tmp.cellLocalId' value='`$tmp.cellDULocalId`'/>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>
+ <parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>
+ <parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>
+ <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>
+ <parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>
+ <parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="cellLocalId"/>
+ <parameter name="field2" value="`$tmp.cellLocalId`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.pLMNId`"/>
+ <parameter name="field5" value="maxNumberOfConns"/>
+ <parameter name="field6" value="`$tmp.maxNumberOfConns`"/>
+ <parameter name="field7" value="GNBDUId"/>
+ <parameter name="field8" value="`$tmp.gNBDUList.gNBDUId`"/>
+ <parameter name="field9" value="gNBId"/>
+ <parameter name="field10" value="`$tmp.gNBId`"/>
+ <parameter name="field11" value="dLThptPerSlice"/>
+ <parameter name="field12" value="`$tmp.dLThptPerSlice`"/>
+ <parameter name="field13" value="uLThptPerSlice"/>
+ <parameter name="field14" value="`$tmp.uLThptPerSlice`"/>
+ </record>
<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 + '/restapi.configDB.updategNBDU.templatefile'`" />
+ <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' />
@@ -1928,7 +2483,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1971,9 +2526,81 @@
</block>
</outcome>
</execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.configdb.getRRMPolicyRatio`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceType}"/>
+ <parameter name="replacement" value="PRB"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="outputPath" value="tmp.configdb.getRRMPolicyRatio-existing.url"/>
+ <parameter name="target" value="{resourceId}"/>
+ <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="get RRMPolicyby Resource URL"/>
+ <parameter name="field2" value="`$tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getrrmpolicyratioinfoDU-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Retrieved - RRMPolicyRatio"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>
+ <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>
+ <parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfoDU-configdb-response.rrmPolicyID`'/>
+ <parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>
+ <parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="rRMPolicyDedicatedRatio"/>
+ <parameter name="field2" value="`$tmp.rRMPolicyDedicatedRatio.CellDU`"/>
+ <parameter name="field3" value="pLMNId"/>
+ <parameter name="field4" value="`$tmp.payload.pLMNId`"/>
+ <parameter name="field5" value="sNSSAI"/>
+ <parameter name="field6" value="`$tmp.sNSSAI`"/>
+ <parameter name="field7" value="rrmPolicyID"/>
+ <parameter name="field8" value="`$prop.configDB.rrmPolicyID`"/>
+ <parameter name="field9" value="resourceID"/>
+ <parameter name="field10" value="`$tmp.resourceID`"/>
+ </record>
<execute plugin='org.onap.ccsdk.sli.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-CUCP.json'`" />
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-DU.json'`" />
<parameter name="httpMethod" value="PUT"/>
<parameter name="responsePrefix" value="update-gNBDU-rrmpolicy-configdb-response"/>
<parameter name='contentType' value='application/json' />
@@ -2007,7 +2634,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -2061,6 +2688,97 @@
</block>
</for>
</block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Update inventory in ConfigDB"/>
+ </record>
+ <set>
+ <parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>
+ <parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>
+ <parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>
+ <parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>
+ <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberOfConns`'/>
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRANSliceInventory`"/>
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRANSliceInventory.json'`" />
+ <parameter name="httpMethod" value="PUT"/>
+ <parameter name="responsePrefix" value="update-inventory-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <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`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-modify-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Updated inventory in ConfigDB"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
</for>
<return status='success'>
<parameter name="ack-final" value="Y" />
@@ -2097,7 +2815,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml
index 1ae327fe..adb24742 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSliceReconfigure.xml
@@ -136,7 +136,7 @@
<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='accept' value='*/*' />
<outcome value='failure'>
<block>
<return status='failure'>
@@ -246,7 +246,7 @@
<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='accept' value='*/*' />
<outcome value='failure'>
<block>
<return status='failure'>
@@ -393,7 +393,7 @@
<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='accept' value='*/*' />
<outcome value='failure'>
<block>
<return status='failure'>
@@ -527,7 +527,7 @@
<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='accept' value='*/*' />
<outcome value='failure'>
<block>
<return status='failure'>
@@ -693,7 +693,7 @@
<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='accept' value='*/*' />
<outcome value='failure'>
<block>
<return status='failure'>
@@ -769,7 +769,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml
index 9966b6eb..ddf618d6 100644
--- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml
+++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml
@@ -125,7 +125,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -265,7 +265,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -528,7 +528,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -658,7 +658,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -888,7 +888,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -969,7 +969,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1059,7 +1059,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1236,7 +1236,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1360,7 +1360,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1624,7 +1624,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1703,7 +1703,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -1915,7 +1915,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -2084,7 +2084,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -2310,7 +2310,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -2402,7 +2402,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -2481,7 +2481,7 @@
<parameter name="responsePrefix" value="so-callback-modify-response"/>
<parameter name='contentType' value='application/json' />
<parameter name='format' value='json' />
- <parameter name='accept' value='application/json' />
+ <parameter name='accept' value='*/*' />
<parameter name="convertResponse" value="true"/>
<outcome value='failure'>
<block>
@@ -2570,7 +2570,7 @@
<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='accept' value='*/*' />
<parameter name="restapiUser" value="`$prop.restapi.so.user`" />
<parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
<outcome value='failure'>